Blog

Building for Autonomy

Thoughts on agent-first infrastructure, self-hosted systems, and owning the stack.

Filtering by: #websocket × Clear
#machin #ai-agents #open-source #agent-first #ai-engineering #devtools #peage #self-hosted #agents #cli #compiler #security #automaintainer #dogfooding #mfl #remotecmd #infrastructure #performance #roam #supercli #x402 #a2a #agent-economy #analytics #compilers #concurrency #devops #game-dev #grange #hart
Product · August 2026

99 MB to 71 KB: rewriting MiniStats in Machin

MiniStats is a real-time metrics dashboard built with Bun — the binary is 99 MB because it bundles the entire runtime. I rewrote it in Machin/MFL, a language that compiles through C. The binary is 71 KB. That's a 1400× reduction. Same features, same dashboard, same commands.

#machin #mfl #ministats #tinystats #binary-size #compilers #websocket #open-source
Read more
Product · August 2026

How I Made remotecmd 1.7× Faster Than scp Over a 77ms Relay

remotecmd routes file transfers through a WebSocket relay — which means a single TCP stream can't fill the pipe on high-RTT links. I spent two days reading kernel source, CERN GridFTP papers, and gorilla/websocket internals. The result: parallel TCP streams that auto-tune by file size, atomic header+binary framing in the relay, and gzip writer pooling. 50MB over 77ms RTT: 1.74× faster than single stream, 1.21× faster than scp. Here's what worked, what didn't, and why.

#remotecmd #performance #tcp #websocket #parallel-streams #open-source #devtools
Read more