Published Work
7 articles on JavaScript, React, Node.js, and the infrastructure decisions that matter at production scale.
Why AI Coding Agents Cost So Much (And How to Cut the Bill)
Claude Code and Codex can burn $50–$100 in an afternoon. Here's where the tokens actually go, why the math is the way it is, and the levers that cut bills by 80%.
Read article→Bézier Curves in JavaScript — From the Math to the Canvas
Every smooth curve in Figma, SVG, or CSS easing is a Bézier curve. Here is how they actually work — built from scratch with interactive demos.
Read article→How Diffie–Hellman Became the Backbone of Modern Encryption
How two strangers agree on a secret key over a public network without ever sending it — the math behind every HTTPS connection and Signal message.
Read article→Understanding JavaScript's Execution Context
You can't debug what you don't understand. This is how the JS engine actually runs your code.
Read article→HTTP Caching in Node.js with Undici
Most Node.js apps skip HTTP caching entirely. Here's how to do it properly with Undici v7.
Read article→React useMemo Hook
Memoization isn't magic. Here's when it actually helps and when it's just noise.
Read article→Building React Custom Hooks from Scratch
Extracting reusable stateful logic into custom hooks — the pattern that changed how I write React.
Read article→