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
Archives for May 2020
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