Nishant Gaurav·4d agoModel Context Protocol (MCP) Part 2: How MCP Works, Explained with a HospitalPart 1 covered why MCP exists, what the name means, and what it gives you. This part shows how it works: what a “tool” is, the three…
Nishant Gaurav·Nov 24Model Context Protocol (MCP) Part 1: Why It Exists and What It Really IsIf you have used Claude Code, Cursor, or Codex, you have already used MCP, because these tools rely on it behind the scenes. If you plan to…
Nishant Gaurav·Nov 1Longest Common Subsequence: A New Pattern, the Same ThinkingThis chapter covers the first two steps: recursion and memoization. Tabulation comes next.
Nishant Gaurav·Oct 22GROUP BY In PostgreSQLFor a while, GROUP BY was basically the ceiling of what I knew how to do with aggregation. Total per city, count per venue, that kind of…
Nishant Gaurav·Oct 21Views vs Materialized Views In PostgreSQLThis one’s short compared to some of the earlier topics in this series, but it’s also one of those things that’s easy to get backwards if…
Nishant Gaurav·Oct 20Transactions, ACID, and MVCC In PostgreSQLThis is the chapter that finally connected a bunch of things I’d been treating as separate facts — why UPDATE doesn't it edit rows in…
Nishant Gaurav·Oct 20Indexes in PostgreSQLI added my first index thinking it was basically a free speedup — like flipping a switch. Nobody had told me indexes cost anything, so it…
Nishant Gaurav·Oct 18GROUP BY, HAVING, and Subqueries In PostgreSQLThere’s a point in almost every project where you stop just retrieving rows and start actually asking questions — how many venues per city…
Nishant Gaurav·Oct 17Joins in PostgreSQLJoins are one of those topics where everyone nods along when you explain them, then freezes up the moment they have to write one on the…
Nishant Gaurav·Oct 16The WHERE Clause In PostgreSQLWHERE is one of the first things you learn in SQL, and it's also one of the things people stop paying attention to too early. It feels…