Aditya Chatterjee's Blog, page 42
April 2, 2023
Python Script to Like Recent Tweets with a Particular Hashtag
In this article, we have developed a Python Script to Like Recent Tweets with a Particular Hashtag. We have developed 2 approaches: one using tweepy library and other using requests library to make direct API calls to Twitter API.
Table of ContentsIntroductionCodeComplexityApplicationsQuestionsConclusionIntroductionTwitter is one of the most popular social media platforms in the world. It has over 330 million active users who send over 500 million tweets per day. With so much content...
System Design of Car Rental System

Car rental systems have become increasingly popular over the years, providing a convenient and cost-effective mode of transportation for individuals and businesses alike. In this article, we will take a look at the key features a car rental system needs to offer, its high-level, low-level design, database design, and some of the already existing car rental software.
Table of contents:
IntroductionKey Features and System RequirementsFunctional RequirementsNon-Functional RequirementsSystem Sc...Trie in C++ using OOP concepts
Trie is a data structure that resembles a tree and is used to store a collection of strings; it is typically found in dictionaries or search engines. It is also referred to as a digital tree or a prefix tree. In this article, we'll look at how the Trie data structure is implemented in C++ using principles of object-oriented programming (OOP).
Table of contents:
OOP conceptsWhat is Trie ?Real-life applications of TrieTrie Implementation in C++Advantages of TrieConclusionComple...3 Types of Logistic Regression
In this article, we have explained the basic concept of Logistic Regression and presented the 3 different types of Logistic Regression.
Table of contents:
Introduction to Logistic Regression3 Types of Logistic RegressionBinary logistic regressionMultinomial logistic regressionOrdinal logistic regressionUse cases of logistic regressionIntroduction to Logistic RegressionStatistically, the connection between a dependent variable and one or more independent factors can be examined and mo...
April 1, 2023
6 Different Network Topology in Computer Network
In this article, we will discuss about the 6 different types of topologies that exist in a computer network.
IntroductionTopology means the way different devices are arranged to create a network for telecommunication. The topologies are named from the way the devices are connected to each other. These devices are called 'nodes' and they are connected through cables which are called 'links'.
Bus TopologyStar TopologyRing TopologyMesh TopologyTree TopologyHybrid TopologyTopologies are use...
Infinite scrolling in HTML, CSS and JavaScript
Infinite scrolling is a popular UI pattern used on many websites and apps. It allows content to be loaded continuously as the user scrolls down the page, eliminating the need for pagination or clicking "next" buttons. Infinite scrolling can be implemented using CSS and HTML, with the help of JavaScript to handle the scrolling events and fetch new data.
In this article, we'll explore how to implement infinite scrolling in CSS and HTML, and provide some code examples.
How Infinite Scrolling Works...Guide on Multithreading in Python
In this article, we have explained Multithreading in Python Programming Language in depth along code examples.
Table of ContentsIntroductionCodeComplexityApplicationsQuestionsConclusionIntroductionMultithreading is a technique that allows a program to perform multiple tasks concurrently within a single process. In Python, the threading module provides a way to create and manage threads.
A thread is a separate flow of execution within a process. Each thread has its own stack and pro...
Error handling by exception in Java
In this article, we will talk about what error handling by exception is in Java, how to do it, and what it is used for.
Table of contents:
Exceptions reviewWhat is error handling by exceptionHow to handle errors by exception in JavaWhat handling errors by exceptions is used forExceptions ReviewExceptions in Java are an event that occur while a program is happening. This event disrupts the Java program, and when occurs, is handed to the runtime system.
What is error handling by exceptionT...
March 31, 2023
Animated button using HTML and CSS
In the competitive world of web design, creating a user-friendly and engaging user interface (UI) is critical to the success of any website. A well-designed UI not only captures the attention of the user but also makes it easy for them to navigate and interact with the website. One crucial element of any UI is the use of buttons, which serve as the primary means of interaction between the user and the website.
However, with so many websites vying for the user's attention, it can be challenging t...
March 30, 2023
What is tRPC and why should you use it?
In this article, we are going to dive into the world of tRPC, discussing what is tRPC, why should you use and when should you use.
What is tRPC?In summary, tRPC is an alternative to REST, GraphQL, gRPC and others remote procedure call. It’s a way of creating type safe API without the need of using a codegen tool, and as it is not a full language-agnostic as GraphQL it uses the full potential of typescript or JavaScript frameworks.
Why do I need tRPC?It is a easier choice for when you are creat...