Today I Learned
Short snippets of knowledge that my future self will find useful. Borrowed from Simon Willison’s TIL concept. Check out the blog for longer form writing.
Keep Github Actions Simple til
—
— A reminder to keep Github Actions simple and as free of logic as possible.
MCP and NumPy til
—
— I spun up a couple of projects to explore two separate topics: how to implement a basic MCP server; how to use NumPy for numerical computations.
Shrinking output from Go WebAssembly til
—
— Cross-compiling Go code to WebAssembly (WASM) is really powerful.
It also produces massive files to download.
So how can we shrink this down?
Git worktrees for local development til
—
— Using git worktrees for the first time in local development requires some new muscle memory.
Audaciously deciding to write a new language til
—
— I really wanted a tiny little version of Jupyter notebooks but for personal calculations that can also
have Markdown in them. So I started chatting with my buddy, Claude, who gave me an inflated sense …
uv and Jupyter Best Friends til
—
In which Claude Makes a Map til
—
— I decided to vibe code, truly putting Anthropic’s Claude CLI in the driver’s seat. It was instructive!
JS Modules and Refactoring Hugo Shortcodes til
—
— In which I finally read some docs on what a JavaScript module is and how it made my Hugo shortcodes self contained.
Moving Ollama Models to a Different Disk til
—
— I’m running Ollama on a Macbook so shifting the default location that Ollama downloads massive models to is a necessity. It’s just one environment setting away.
D2 Diagram Rendering in Hugo til
—
— How I integrated D2 diagram rendering into my Hugo blog with a custom Go script