I have always been a terminal enthusiast ever since I quit windows and this article is for those like me or people who want to fall in love with Terminal. The power to control almost anything on your computer just by typing commands on a black screen at a sheer typing speed.

Over a period of years, I kept looking for ways to make my experience with the terminal even more fun and time spent on it even more productive, the need for speed, and of course the need to make it more intuitive and good looking (The feeling to…


Every design pattern is the outcome of engineers devising globally applicable solutions to frequently common problems faced by them.

Singleton pattern solves two such problems:

  • Ensures that a class has just one instance.
  • Provides a global access point to that instance.

Singleton is a creational design pattern that makes sure that a class has only one instance while providing a global access point to it.

Real-World Analogy


Photo by Alex Meier on Unsplash

Whether we are starting to learn a new language or preparing for our first college placement or interview, we all have learned and implemented Binary Search in our lives.

Before moving forward let us go over the basics of Binary Search.
In Binary Search, we divide the array from the middle and compare the element to be searched against the middle element. If the element is less than the middle we narrow the search interval to the first-half otherwise narrow the interval to the second half. …


Today we are going to discuss what is binary search, how to implement it recursively, and benefits of using binary search to lookup element in a given set of data.

Binary search is a search algorithm where we divide the given set of elements from the middle and compare the element to be searched with the element in the middle. If the element is smaller than the middle, we repeat the process in the first half of the dataset otherwise in the second half until the element to be searched is equal to the middle element.


Today we are going to discuss what is binary search, how to implement it iteratively, and benefits of using binary search to lookup element in a given set of data.

Binary search is a search algorithm where we divide the given set of elements from the middle and compare the element to be searched with the element in the middle. If the element is smaller than the middle, we repeat the process in the first half of the dataset otherwise in the second half until the element to be searched is equal to the middle element.

Algorithm

Let us go over…


Today we are in a state of emergency! The world has come to a standstill with locked-down economies, businesses losing money every day, and as a result of it, many people losing their jobs.

Although something like this happens once in decades, it teaches us a lesson to remember. The lesson to divide our income among needs, wants, savings, and repayment of loans i.e. debts. In short the importance of budgeting.

Budgeting is a process of creating a plan to spend your money. Individuals, companies, even governments budget before they start spending. …


In my last post, I spoke about how I got introduced to investing accidentally. But the journey from there is more of a learning path. I have curated a list of 10 saving schemes that every investor should know and diversify their portfolio with the help of these low risk, good returns schemes.

Saving schemes are not only a way to achieve your long-term material goals, but can also provide an extra income.

Some of the various schemes available are:

Public Provident Fund (PPF)

The Public Provident Fund (PPF) is a low-risk investment option with tax benefits under section 80C of the Income Tax…


Like every other 21 years old, I believed in living in the moment, no worries about the future, no pressure to earn money, and no need to save. I got a monthly allowance and every now and then a bonus payout from my parents to fulfill my monthly needs.

The first time I got introduced to the concept of savings was more like an accident when somehow I did not spend my entire monthly allowance and I had more to spend the next month. The second time I considered saving some amount when I needed a guitar. These two events…


“Sometimes debugging is more art than debugging”.

Being said that, I think it will be much easier for all of us to understand what to expect out of this article.

From my experience of joining a new organizations, working on existing applications, creating new features on top of that application and every now and then fixing numerous amount of bugs in the existing code, I have realised that it is very important to understand how an application works, inside-out, to do your job in a much better way and also without stress.

Let’s face the truth, most teams expect you…


What are Microservices?

Microservice architecture is an approach to developing a single application by building a suite of small, independent services which can be written in any framework and language, can have their own data store and communicates using a lightweight mechanism, like HTTP or RPC.

fig 1.1. Basic Microservice Architecture

example: In an E-commerce application designed with such architecture style, a user visiting his/her order history page, the client will call User microservice to fetch user detail and then call Order microservice to fetch the history and consolidate them to show order history page on the client’s device.

The problem with the above approach is that Microservices…

Akshay Saxena

Founder @Fundbakery. The fun on the journey is more interesting than the excitement of arrival.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store