Writing

Writing to understand how things work

Where Does 'Meaning' Come From in a Transformer?

16 September 2026

Why does a CLS token come to represent an image? What makes a query a query, or a positional embedding positional? This article explores how architecture, objectives, and training give learned Transformer components their roles.

I Thought Dark Mode Would Be Easy

2 May 2026

Dark mode was not the simple toggle I imagined it to be. Adding it broke everything. This article walks through how a simple idea turned into a system-wide rethink.

Microtasks: Why Promises Run First

21 April 2026

Why do Promises always run before setTimeout? This article reveals microtasks as mandatory continuations that must run before JavaScript moves on.

Macrotasks: What a Task Actually Is

15 April 2026

If nothing can interrupt JavaScript, when does anything else run? This article reframes tasks as entry points into execution, not chunks of work.