I mostly work on the web, static sites, and the tools around them. I write here to organize what I learn and keep it around.
Recent posts
What a single `pip install` actually does
Behind the few seconds of scrolling logs, pip reads an index, resolves versions, builds, and places files. Here is that one line in slow motion.
I stopped writing margin-left
CSS logical properties describe flow, not sides. They make a layout work in any writing direction for free.
Three ways async errors slip past you
try/catch does not catch everything. A tour of the gaps in JavaScript async error handling, with the fixes.
From Markdown to typed pages: the build pipeline
How a folder of Markdown becomes type-checked, statically rendered pages — and where a Mermaid diagram fits in.
Syntax highlighting already ships with Astro
No plugin needed. Astro bundles Shiki, so one line of config colors your code blocks.