04 · A GALAXY OF NOTES
Articles.
Field notes from the bench — on code, AI, ComfyUI and whatever else is being built this week.
-
Every drop, every three metres
Skybrudd floods a Norwegian town with a cloudburst or a river in flood, in your browser, on your own graphics card. How the water is calculated, from laser terrain and Horton soil to the catchments above town, the sea, NVE's flood zones and today's river discharge, the equations, the bugs that looked like floods, every data source it calls, and the WGSL that runs it all in seconds.
-
What the search agent searches with
Our legal assistant has no embeddings and no vector database. A model searches with words, in Postgres, and a small classifier makes the quick calls around it. This is the search engine underneath, from how a passage is stemmed to how a statistics table becomes something it can quote.
-
BeastWars, an arena shooter in four and a half days
Low-poly animals, Quake 3 movement and all nine Quake 3 weapons in the browser. How I built BeastWars in 243 commits, and the optimization day that took it from 140 to 700 frames per second.
-
A wake word that lives in the browser
How we trained "Hei Alpha", a 415 KB wake-word model that listens in five languages, without recording a single human voice. It took synthetic speech, an hour of GPU time and about five dollars.
-
Teaching a 144M model to decide like a big one
How we took CHEF, a large decision model, and trained a custom 144M-parameter model that makes the same calls in a fraction of the time, on one GPU, in under half an hour per run.