Hey, I’m Justin 👋

Welcome to my blog — Its some random thoughts from a foolish developer!

A Funny Weekend Experiment: Packaging My Terminal Setup

How This Started This started as one of those harmless weekend ideas. I was looking at my Ubuntu machine and thinking: “Can I make this feel a bit more like the setup I enjoy on my Mac?” Not a giant desktop transformation. Not a serious productivity manifesto. Just small things: a nicer terminal, a smarter prompt, better cd, better ls, a few Kubernetes shortcuts, and maybe a terminal that did not look like it was angry at me....

May 17, 2026

CAS Deep Dive — What Actually Happens at the CPU Level

The Problem So I was reading about concurrent programming and stumbled into this thing called CAS — Compare-And-Swap. And once you understand it, you start seeing it everywhere in the Java ecosystem. Let me walk through it the way it clicked for me. The classic race condition looks like this: Thread A reads x = 5 Thread B reads x = 5 Thread A writes x = 6 Thread B writes x = 6 ← A's update is lost Both threads read the same value, both compute a new value, both write back....

April 4, 2026

A whole new operator for PostgreSQL monitoring

Introduction As I mentioned in my previous blogs, I have started learning Go and Kubernetes operators. What I realized about my software engineering journey is that I love building tools and utilities and tinkering with systems. It’s so fun to just change something, tweak things a little bit, and maybe build something interesting in the process. This is far better than learning DSA or watching stupid system design videos on youtube....

January 25, 2026

Postgres Internals: Columnar and Row Store, choosing the right storage not DB

Introduction Got a chance to read this post from percona last night, it’s very basic thing if you worked on postgres for long [https://www.percona.com/blog/postgresql-internals-for-newbies-a-guide-to-data-storage-part-one/] it sparked some curiosity. The idea of how Postgres stores data in row store and some other dbs stores in columnar store is really interesting. This makes me think that we should always think in the perspective of choosing the right data storage rather than choosing the right database for a particular use case....

January 20, 2026

Go Lang Notes

Go Lang Notes I’ve started learning Go lang very recently. For a long time java develoeper, introduction to various tricky concepts of Go lang is fun. When ever I learn something new, I will try to dig into some philosophical aspects of the language and write them down here. For example, why go lang doesnt have inheritance, why its somehow forces you to choose composition over inheritance. Why go lang has interfaces but no classes....

January 6, 2026

Hacking TLS

Introduction When you deep dive into how tls works and the underline algorithms, we will understand how much of a security issue it has from a security point of view. When I was studing of OLD Tls flow it became very obvious to me that how much of a security issue it has. In this blog post I will try to explain how tls works and what are the security issues with it....

December 15, 2025

Solid Principles

Solid Principles “Complexity is the enemy of execution.” — Tony Robbins(From a youtube short) Most of the times complexity in code, or complex explanation of a simple problem leads to failure in the longterm. If you can't keep things simple, or explain things simply, either you have not understood it fully or you are trying to make an impression of being smart. At times I used to act like I know something which I dont have a clue about....

November 6, 2025

B-Tree a data structures - Postgres Internals rabbit hole..

Introduction B-Trees are a facinating inventions in computing. They are some special kind of binary tree. But with very concrete rules. I have watched small video and now i am in the b-tree rabbit hole. I’ts nice last time i’ve been in a rabbit hole like this was when i was learning about prime numbers and how they used in cryptography, well thats a blog post for another day. So The btree data structure in simple terms is a tree which has multiple values in single node, and children nodes can be more than 2....

June 29, 2025

Designing a Stock Ticker Service

The Stock Ticker Service Design I got pissed off by seeing system design interview videos on this. So I thought why not write a blog post about it. Why i got pissed off? I have watched a video on youtube about this. This dude introduces a time series database infront of a stock ticker service. I mean come on, this is not a time series database, this is a stock ticker service....

June 15, 2025

Grouping anagrams

Problem Given an array of strings strs, group the anagrams together. You can return the answer in any order. Example 1: Input: strs = [“eat”,“tea”,“tan”,“ate”,“nat”,“bat”] Output: [[“bat”],[“nat”,“tan”],[“ate”,“eat”,“tea”]] Explanation: There is no string in strs that can be rearranged to form “bat”. The strings “nat” and “tan” are anagrams as they can be rearranged to form each other. The strings “ate”, “eat”, and “tea” are anagrams as they can be rearranged to form each other....

June 11, 2025