Scratchpad
A space where I share what I'm learning, technical or otherwise.
Structured Logging: The Boring Upgrade That Saves You at 3am
Print statements work fine until they don't. A from-scratch look at why production systems need structured, searchable logs, and how request IDs turn a wall of text into a single, findable answer.
Estimated Reading Time: 4 minutes
Published On: Thu Aug 27 2026
Zombie Queries: Your Database Doesn't Know the User Left
A user closes the tab, but the query keeps running. A from-scratch look at zombie queries, why they happen, and how context.Context and AbortController were built to stop them.
Estimated Reading Time: 4 minutes
Published On: Thu Aug 20 2026
screenX, clientX, pageX: Same Click, Three Different Numbers
A practical, from-scratch look at screenX/Y, clientX/Y, pageX/Y, and offsetX/Y. What each one actually measures, why they disagree, and which one you actually need.
Estimated Reading Time: 6 minutes
Published On: Thu Aug 06 2026