Lachlan Cox

Blog

11 posts

Things that actually made it out of the backlog. Against all odds, these got done. Or at least documented.

2026

Smuggling NumPy Into Go Calling NumPy from Go turns out to mean smuggling a whole CPython interpreter into your binary. So I did, and then made it earn its keep. Bring Your Own Shell I deleted the shell out of a production container, then spent a few days figuring out how to debug one that no longer has it. Codesigning My Way Into a Hypervisor I tried to deploy my tiny bootable image on Apple's Virtualization Framework. It was annoyingly easy, right up until codesigning and a power button that refused to work. Wasting Time with Docker Save Docker save, OCI tarball surgery, and hand-recomputed digests. gzipping the tar was faster. Playing with Grype and Docker Vulnerability scanning, VEX files, and Docker Hardened Images. CVE count is a bad metric. Booting Go on Bare Metal Docker scratch containers are small, but what if I just booted a Go binary directly on bare metal? Building a Brainfuck Compiler University had me 'build' a compiler by adding features to someone else's code. This time I wanted the segfaults to be my own. How ECC Memory Works I always thought ECC was just error correction. Turns out the detection part is the whole point. UDP Hole Punching Making two computers behind NATs talking directly to each other. What could possibly go wrong. Headscale LAN Party Running my own Tailscale so my mates can't blame the network when they lose Running Plex in an LXC on Proxmox Got Plex running in an LXC with iGPU passthrough. Now I maintain media infrastructure for family members. This is fine.