Sitemap

A list of all the posts and pages found on the site. For you robots out there is an XML version available for digesting as well.

Pages

Posts

Winning a game

1 minute read

What does it mean to win a game? Many people try to win every game. But at what cost, what was the point of winning?

Intelligence

less than 1 minute read

Are we intelligent? Will any intelligent person think themself of intelligent?

Entitlement

less than 1 minute read

Are we entitled to have something for sure? Are we even entitled to think about our entitlement?

Non-resistance

1 minute read

The dictionary meaning “the principles or practice of passive submission to constituted authority even when unjust or oppressive” doesn’t capture the eastern...

Leverage

1 minute read

Leverage is something you can use to get maximum advantage of something. It is a tool. For you to use a tool, first you have to understand the fundamental pr...

Person and perspective

less than 1 minute read

Is someone separate from their perspective? How can we disentangle these two?

Evaluated Experience

less than 1 minute read

It is a standard consensus that experience is the best teacher. How does just the experience can be the best teacher?

Catch up with status quo

1 minute read

What if you could get rid of the idea that you always need to catch-up with your peers status wise? What changes will you make in your life? What stops you f...

Conformist

1 minute read

If everything you believe is something that you are supposed to believe, what are the odds that it is really a coincidence?

Learning vs Education

1 minute read

Education is the industrial process of making people compliant. Command and control is the backbone of it. While learning is unleashing of a curious mind ag...

Pleasure vs happiness

less than 1 minute read

The former is about taking, whereas the latter is all about giving. One is short-lived and the other is long-lived.

First post

less than 1 minute read

Hello world, and everyone.

dsa

Two Sum

27 minute read

The hash table trick that makes O(n²) become O(n) and why this pattern appears everywhere from feature stores to embedding lookups.

Valid Parentheses

24 minute read

Why a simple stack solves bracket matching, expression parsing, and even neural network depth management in one elegant pattern.

Merge Two Sorted Lists

29 minute read

The pointer manipulation pattern that powers merge sort, data pipeline merging, and multi-source stream processing.

Best Time to Buy and Sell Stock

24 minute read

The single-pass pattern that powers streaming analytics, online algorithms, and real-time decision making in production systems.

Maximum Subarray (Kadane’s Algorithm)

23 minute read

Master the pattern behind online algorithms, streaming analytics, and dynamic programming, a single elegant idea powering countless production systems.

Climbing Stairs

25 minute read

The Fibonacci problem in disguise, teaching the fundamental transition from recursion to dynamic programming to space optimization.

Binary Tree Traversal

26 minute read

Master the fundamental patterns of tree traversal: the gateway to solving hundreds of tree problems in interviews.

Validate Binary Search Tree

23 minute read

Master BST validation to understand data integrity in tree structures, critical for indexing and search systems.

Binary Search

28 minute read

Master binary search to understand logarithmic algorithms and efficient searching, foundational for optimization and search systems.

Reverse Linked List

27 minute read

Master linked list manipulation through reversal - a fundamental pattern for understanding pointer logic and in-place algorithms.

LRU Cache

27 minute read

Master LRU cache design: O(1) get/put with hash map + doubly linked list. Critical for interviews and production caching systems.

Add Two Numbers

23 minute read

Master digit-by-digit addition with linked lists: Handle carry propagation elegantly. Classic problem teaching pointer manipulation and edge cases.

ml_system_design

Classification Pipeline Design

16 minute read

From raw data to production predictions: building a classification pipeline that handles millions of requests with 99.9% uptime.

A/B Testing Systems for ML

28 minute read

How to design experimentation platforms that enable rapid iteration while maintaining statistical rigor at scale.

Batch vs Real-Time Inference

23 minute read

How to choose between batch and real-time inference, the architectural decision that shapes your entire ML serving infrastructure.

Model Evaluation Metrics

24 minute read

How to measure if your ML model is actually good, choosing the right metrics is as important as building the model itself.

Feature Engineering at Scale

22 minute read

Feature engineering makes or breaks ML models, learn how to build scalable, production-ready feature pipelines that power real-world systems.

Model Serving Architecture

22 minute read

Design production-grade model serving systems that deliver predictions at scale with low latency and high reliability.

Online Learning Systems

24 minute read

Design systems that learn continuously from streaming data, adapting to changing patterns without full retraining.

Caching Strategies for ML Systems

27 minute read

Design efficient caching layers for ML systems to reduce latency, save compute costs, and improve user experience at scale.

Content Delivery Networks (CDN)

22 minute read

Design a global CDN for ML systems: Edge caching reduces latency from 500ms to 50ms. Critical for real-time predictions worldwide.

Distributed ML Systems

25 minute read

Design distributed ML systems that scale to billions of predictions: Master replication, sharding, consensus, and fault tolerance for production ML.

publications

speech_tech

Streaming ASR Architecture

23 minute read

Why batch ASR won’t work for voice assistants, and how streaming models transcribe speech as you speak in under 200ms.

Speech Command Classification

28 minute read

How voice assistants recognize “turn on the lights” from raw audio in under 100ms without full ASR transcription.

Voice Activity Detection (VAD)

23 minute read

How voice assistants and video conferencing apps detect when you’re speaking vs silence, the critical first step in every speech pipeline.

Speaker Recognition & Verification

21 minute read

How voice assistants recognize who’s speaking, the biometric authentication powering “Hey Alexa” and personalized experiences.

Streaming Speech Processing Pipeline

24 minute read

Build real-time speech processing pipelines that handle audio streams with minimal latency for live transcription and voice interfaces.

Real-time Keyword Spotting

25 minute read

Build lightweight models that detect specific keywords in audio streams with minimal latency and power consumption for voice interfaces.

Voice Enhancement & Noise Reduction

27 minute read

Build systems that enhance voice quality by removing noise, improving intelligibility, and optimizing audio for speech applications.

Speech Separation

22 minute read

Separate overlapping speakers with 99%+ accuracy: Deep learning solves the cocktail party problem for meeting transcription and voice assistants.

Multi-Speaker ASR

25 minute read

Build production multi-speaker ASR systems: Combine speech recognition, speaker diarization, and overlap handling for real-world conversations.

statuses

November 2020

While it’s not a principle, I often think of the parable of the Taoist farmer. The Taoist farmer has one horse, and the horse runs off. The villagers lame...

December 2020

I am so firmly determined, however, to test the constancy of your mind that, drawing from the teachings of great men, I shall give you also a lesson: Set ...

January 2021

“A fit body, a calm mind, a house full of love. These things cannot be bought—they must be earned.”

February 2021

“If you ever want to have peace in your life, you have to move beyond good and evil.” “Nature has no concept of happiness or unhappiness. Nature follow...

March 2021

“Reading is to the mind what exercise is to the body, ”- Richard Steele.

April 2021

Happiness is not a consumable product. It is not something you find by searching for it. It is a naturally arising byproduct of a fulfilling, well-lived l...

May 2021

When you care more about getting things right than being right, you get better outcomes and you save time and energy.

June 2021

The ceramics teacher announced on opening day that he was dividing the class into two groups. All those on the left side of the studio, he said, would be ...

July 2021

The best way to improve your ability to think is to spend time thinking. Most of us are too busy to think. We have too many meetings. Too many calls. Too ...

August 2021

We rarely do or say something intentionally that surprises us. That’s because we are in intimate contact with the noise in our heads–we spend our days loo...

September 2021

Nothing will change your future trajectory like your habits. While goals rely on extrinsic motivation, habits, once formed, are automatic. They literally ...

October 2021

“How we spend our time is how we spend our days. How we spend our days is how our life goes. How our life goes determines whether we thought it was worth ...

November 2021

While we tell ourselves that the next level is enough, it never is. The next zero in your bank account won’t satisfy you any more than you are now. The ne...

December 2021

“Expectation is the grandfather of disappointment. The world can never own a man who wants nothing.” — Aphorisms for Thirsty Fish

January 2022

One simple way to unlock your best self is to shape your environment so that your desired behavior is the path of least resistance.

February 2022

“The nature of illusion is that it’s designed to make you feel good. About yourself, about your country, about where you’re going – in that sense it funct...

March 2022

People are much more honest with their actions than their words.

April 2022

In turning education into a system of mass production we created a superbly democratic system that made the majority of people, and the world as a whole, ...

May 2022

“He who knows only his own side of the case, knows little of that.” — John Stuart Mill

July 2022

To improve your outcomes in life, respond to the world as it is, not as you wish it would be.

August 2022

Sturgeon’s law states that 90% of everything is crap. If you dislike poetry, or fine art, or anything, it’s possible you’ve only ever seen the crap. Go lo...

September 2022

“It’s time you realized that you have something in you more powerful and miraculous than the things that affect you and make you dance like a puppet.” — M...

October 2022

The person who is consistent outperforms the person who is intermittent every time. While inconsistent effort works for some things, for the things that r...

November 2022

“One day, you will wake up and there won’t be any more time to do the things you’ve always wanted. Do it now.” - Paulo Coelho

January 2023

New year, new me? Nah, I’m just going to keep on being fabulous and making mistakes like I always do 😜 Happy New Year everyone!

February 2023

Most people spend the first half of their lives collecting and the second half choosing what to keep. Which lessons learned and pieces of advice do you...

April 2023

A simple and easy approach to decision-making that prevents us from manipulating ourselves. First, understand the forces at play. Then, understand how you...

May 2023

Productivity is often a distraction. Don’t aim for better ways to get through your tasks as quickly as possib`le. Instead aim for better tasks that you ne...

June 2023

Are those things that keep you busy truly important in your life and career?

July 2023

Don’t define your identity by your beliefs. Define your identity by your willingness to learn.

August 2023

No one is thinking about you very much. So don’t worry about looking stupid or embarrassing yourself or whatever. No one cares.

February 2024

Those who cannot live in harmony with the world are fools though they may be highly educated.

March 2024

The work you do while you procrastinate is probably the work you should be doing for the rest of your life.

April 2024

“To travel means, ultimately, nothing more than coming back home a different person from the one who left.” — PICO IYER

May 2024

Try to define yourself by what you love and embrace, rather than what you hate and refuse.

July 2024

The price you pay for doing what everyone else does is getting what everyone else gets.