Blog
Notes on systems, infrastructure, and software that keeps working.
-
A notebook CLI that breaks cell magics
Cell magics like %%writefile and %%bash only work on the first line of a cell. A tool that adds lines before your code breaks them, and plain Python is the fix.
-
Making test gates honest under machine load
Why a test gate can pass or fail for the wrong reason when the machine is busy, and the rules I use to make a green result mean something.
-
Make a missing registry entry a type error
A table keyed by every registered type, typed so that adding a new type without an entry fails the typecheck, and why two pull requests that each pass CI can still break main together.
-
Keeping a laptop usable with memory caps for background jobs
How to cap the memory, CPU and disk priority of a background job on Linux with systemd-run, so a runaway process gets killed instead of freezing your machine.
-
Running parallel coding-agent lanes on a server
What one small server needs so that several coding agents can work at once: worktrees, a memory guard, a lock for heavy jobs and a time limit on every command.
-
Reading Cloudflare Worker logs from the CLI
How to watch a Worker's logs from a terminal with wrangler tail, filter the stream with its flags and with jq, and what the limits are.
-
Delta backups with restic to Google Drive
A daily restic backup of a server to Google Drive through rclone: only changed chunks upload, old snapshots expire on a schedule, and the job yields to everything else.
-
Retargeting a stacked PR does not run its CI
Why changing the base branch of a pull request leaves its checks missing, what makes GitHub run them again, and how to change the base through the API and check that it worked.
-
What a minimal personal site needs
The few files a personal site actually needs, what I left out on purpose, and the one place where I spent weight on purpose.
-
A blog with one Bun script
How this site gets a blog without a framework: markdown in, static HTML out, build-time highlighting, RSS, and one decision about where the output lives.
-
A rule-based safety layer around a learned drone policy
Shadow mode, a small mode machine with hysteresis, and collision-driven probing: wrapping a PPO obstacle-avoidance policy without retraining it, in simulation.
-
A voice loop for a coding agent
Speaking to a coding agent from a desktop orb or a phone: speech-to-text, a text-to-speech fallback chain, and keeping the brain on one machine.
-
A watchdog that nudges instead of nagging
A silence ladder, batched delivery to busy panes, a host guard and a kill switch: the duty loop that keeps parallel coding-agent sessions moving.
-
Calibrating four ESCs from a microcontroller
What ESC firmware expects during throttle calibration, the ways it fails silently, and why the idle floor matters more than the calibration.
-
A merge gate that does not trust the agent
How a lead session, per-task lanes and an evidence-carrying ready command keep a multi-agent coding harness honest.
-
Offline sync without a clock
Per-object sequence numbers, revision preconditions and field-level conflicts: how a workspace app lets you edit offline without last-write-wins.
-
One Durable Object per object
Single-writer ordering, an op log with a bounded tail, and idempotent action calls: how a workspace product gets its consistency on Cloudflare.