It is always good to sharpen your blade from time to time. Data structures and algorithms is my sword. Recently, I visited all the elementary sorting algorithms. And it is always fun to understand the complexity and mindset behind it. This time I thought of writing a small program to run all the algorithms against a variable set of inputs to generate the time complexity … [Read more...] about Time Complexity Comparison Sheet Of Elementary Sorting Algorithms
Programming
Gitlab CI – SSH Into Virtual Private Server (VPS) Using Private Key From Gitlab CI Pipeline Job
Gitlab CI is a pain in the ass sometimes. It was a pain in my ass too. I was stuck for more than 2 hours trying to figure out how to SSH into my own server with my own private key. I tried so many things. And the shit becomes even more frustrating when the same piece of code works on your local but not on Gitlab CI. In my case, it went a step further to test my sanity. … [Read more...] about Gitlab CI – SSH Into Virtual Private Server (VPS) Using Private Key From Gitlab CI Pipeline Job
Long Polling Implementation With Java and Spring Boot
Long polling is a concept that was being used aggressively in the past. It was the technique that made web feel like real-time. I think a little history would help you to understand better. The Brief History Of Internet If you are old enough then you would know that web in its early days was very boring. And by boring I mean static, no moving parts. It simply … [Read more...] about Long Polling Implementation With Java and Spring Boot
Principles Of Microservices: How To Architect A Solution
Every enterprise has its own principles. Principles that takes it towards the goals. Principles that give birth to practices which are the underlying foundation for all the implementation. Similarly, Microservices has its own set of principles that helps its implementer to make the correct decision when given multiple options to choose from. Principles are like … [Read more...] about Principles Of Microservices: How To Architect A Solution
Why Would You Use Microservices (Advantages and Disadvantages)?
Microservice is a new hot trend in the Application Architecture Landscape. Everyone in the IT world is talking about microservices. Every enterprise is either working on a microservice or porting their existing monolith to Microservices. This term has become really popular that people outside of the organization are also using it to explain something or the other. In any … [Read more...] about Why Would You Use Microservices (Advantages and Disadvantages)?
Spring Web MVC (3.x) Configuration From Scratch (Using XML)
It feels like travelling back in time like 6-7 years when we had to configure the Spring Web MVC using XML. It was so dreadful for me back then. It is dreadful for me now as well. I know many of you might be struggling to set up the Spring Web MVC older versions (versions from 3.x) and so on. I know this because I'm struggling with it myself. Mostly because I'm … [Read more...] about Spring Web MVC (3.x) Configuration From Scratch (Using XML)
Login To Any Server Without Using Password
This is the most basic stuff that every college grad student must know. Public key authentication is the most secure way of logging into any server. And it doesn't require you to remember your password or type it every time you want to login to the server, which actually saves valuable seconds of your time. This article is going to be all about Logging into your servers … [Read more...] about Login To Any Server Without Using Password
How To Setup Your MacOS Machine For Any Development
Hey folks, I've been wanting to write an article on this topic for a long time but always find myself stuck with something or the other. Mostly because a lot of things have changed lately and it takes time to find the lost balance. So finally, I got some time out to craft this article for you. It is good that you are putting some time aside to actually read about setting … [Read more...] about How To Setup Your MacOS Machine For Any Development
Spring MVC – Build Project In Java With Gradle From Scratch (No XML)
Hi folks, after a long time I revisited Spring MVC because of some project requirement and in the next moment, I was dealing with all sorts of configurations. If you have worked on Spring MVC before (not SpringBoot), you will know what am I referring to. All sorts of XML files (web.xml and spring-context etc). And to be clear I hate all that clutter. So, instead of dealing … [Read more...] about Spring MVC – Build Project In Java With Gradle From Scratch (No XML)
Getting Started With Redux And React Hooks
Before you proceed reading the article, please make sure that you are aware of the Redux Hooks. This article is going to be very short. You will be creating a 'hello world' application with the help of Redux and React Hooks. I would recommend you to develop an understanding of the React Hooks first and then proceed with the article. Following video explains about the React … [Read more...] about Getting Started With Redux And React Hooks