Writing
29 posts, mostly about things that broke and what I learned taking them apart.
2026
Pushing a Config Change to a Laptop That's AsleepAn admin flips a switch in a dashboard and expects every laptop in the company to obey. Half of them are shut. This is the design problem underneath fleet control — why command queues are the wrong model, and what to build instead.Aug 23, 2026 · 11 min readWebRTC Deep Dive: From Peer to Peer to Global ScaleA full technical breakdown of WebRTC, the protocol behind Zoom, Discord, and Google Meet. Covers why it runs on UDP, the seven protocol layers, NAT traversal with STUN and TURN, the P2P versus SFU scaling problem, and the production gotchas nobody warns you about.Jun 21, 2026 · 16 min readWhy 'AI Will Replace Coders' Is the Wrong ConversationEveryone's arguing about who's ngmi because of AI. The real question is simpler and a lot less comfortable.Jun 14, 2026 · 6 min readFrom 342MB to 37MB: The Go Image I Was Shipping WrongI'm new to Go. Our backend image was 342 MB and I had no idea what to do about it. This is the story of learning what each line of the production Dockerfile actually does — multi-stage builds, distroless, CGO_ENABLED=0, and stripping symbols — by getting the size down to 37 MB.Jun 4, 2026 · 14 min readHow Nixpacks, buildctl, and BuildKit Actually Fit TogetherThree tools, one deploy pipeline. What Nixpacks plans, what buildctl sends, what buildkitd executes — and why you need two registry hostnames, a Unix socket, and a Dockerfile you never wrote by hand.May 24, 2026 · 14 min readPhase 2: I Rebuilt the Build Pipeline, Hardened Everything, and Broke It AgainAfter the first working preview URL, I threw away the MinIO artifact pipeline, switched to Nixpacks + BuildKit + a local registry, ran a security audit, and spent an evening fixing permission errors that only show up on real projects.May 24, 2026 · 12 min readI Built a Mini Vercel like Clone in Rust in One Day. Here's Every Mistake I Made.57 commits. One day. A working local Vercel clone with GitHub webhooks, a NATS build queue, MinIO artifact storage, and isolated Node containers serving preview URLs — the full story and every bug I fixed.May 17, 2026 · 18 min readTerminal Sharing Over WebRTC: Building Term Bridge with Cloudflare Workers and PTY MultiplexingBuilding a real-time terminal sharing tool that uses WebRTC DataChannels for peer-to-peer PTY streaming, Cloudflare Workers + Durable Objects for signaling, and a 6-digit pairing code to connect two machines in seconds. Line-by-line breakdown of signaling, bidirectional data flow, and the control protocol underneath.May 3, 2026 · 30 min readI Tried Apple's Native Container CLI So You Don't Have To (Yet)Apple shipped a native container CLI with macOS 26 Tahoe. VM-per-container isolation, sub-second starts, no Docker Desktop. I spent a weekend with it and here's what actually works, what doesn't, and whether you should care.May 2, 2026 · 12 min readBuilding a FinTech Platform with Go Microservices as a BeginnerA deep dive into building a local fintech platform with Go, Chi, Kafka, and PostgreSQL — covering the transaction saga pattern, event-driven pipelines, and the subtle bugs that only show up end-to-end.Apr 25, 2026 · 14 min readThird Book. Principles of Building AI Agents by Sam Bhagwat.A complete chapter-by-chapter breakdown of Sam Bhagwat's guide to AI agents, from model selection and prompting to workflows, RAG, multi-agent systems, evals, and deployment.Apr 18, 2026 · 15 min readHow Not to Be a Team in the AI AgeWe gave AI everything. We forgot to keep talking to each other. A reflection on what happens to teams when async and AI replace conversation.Apr 16, 2026 · 7 min readHow Aegis Works: Privacy-First PII Redaction with Go WASM and Chrome ExtensionsBuilding Aegis, a browser extension that redacts sensitive data before it reaches AI chatbots. Covers Go WASM compilation, Chrome offscreen documents, content script interception, and the full architecture of a local-first privacy tool.Apr 12, 2026 · 22 min readHow a Man-in-the-Middle Proxy Actually Works: Building Network Interception from ScratchBuilding a MITM proxy in Go to understand HTTP intercession, TLS certificate spoofing, and how to inspect encrypted traffic. Line-by-line breakdown of the concepts that power debugging proxies like Fiddler and Charles.Apr 5, 2026 · 24 min readSummary of Quantization from the Ground Up by Sam RoseA practical, interactive breakdown of quantization: float formats, symmetric vs asymmetric mapping, quality loss, and throughput gains.Apr 2, 2026 · 12 min readSecond Book. Minimal Modeling by Alexey Makhotkin.A complete breakdown of Alexey Makhotkin's Database Design Book — every chapter, every principle, every pattern, from logical models to physical schemas.Mar 29, 2026 · 25 min readI Started Reading Books. First One Was Clean Architecture by Uncle Bob.A complete breakdown of Robert C. Martin's Clean Architecture — every chapter, every principle, every pattern, with TypeScript and Go code examples throughout.Mar 22, 2026 · 64 min readI Implemented Reed-Solomon Erasure Coding to Understand How S3 Actually WorksEvery explanation I found either hand-waved it as 'basically RAID' or went straight into Galois field theory. So I implemented it from scratch.Mar 21, 2026 · 11 min readI Vibecoded a Mini Kubernetes to Understand the Real OneA stripped-down Kubernetes implementation built in a weekend to preview how the real thing works — reconciliation loops, heartbeats, desired state, and rolling updates explained through code.Mar 19, 2026 · 21 min readUnderstanding Prompt Caching: The KV Cache ExplainedA deep dive into how prompt caching actually works under the hood — from tokenization and attention mechanisms to the KV matrices that make LLMs 10x faster and cheaperMar 16, 2026 · 7 min readHow I Built a Skills Registry to Sync AI Agent CapabilitiesCreating a unified CLI system to manage and synchronize AI skills across 45+ coding agentsMar 8, 2026 · 6 min readHow I Built a Persistent Memory MCP Using Only CloudflareBuilding a production-ready memory system for AI agents without the infrastructure headacheMar 2, 2026 · 10 min read
2025
A Practical Guide to Building Real Projects with v0A practical, opinionated guide to using v0 end-to-end — from prompts and models to design systems, MCPs, and templates — so you can turn vague ideas into real, scalable projects instead of half-baked demos.Dec 16, 2025 · 11 min readMy Journey with DuckDB: Processing 70GB Files in MinutesHow I learned to process massive data files efficiently using DuckDB's streaming architecture, moving from chunking nightmares to elegant single-pass solutions.Dec 13, 2025 · 6 min readFrom PyFlink to Fluvio: Why We Migrated Our CEF Log PipelineAfter months of experimentation with Apache Flink, we migrated our entire CEF log parsing pipeline to Fluvio, a Rust-based streaming platform. Here's why the switch delivered 5× faster throughput and 10–50× less memory usage.Oct 25, 2025 · 4 min readEverything New in Tailwind v4Tailwind released new version, so here are all the details of it.Mar 18, 2025 · 12 min readGetting Started with NestJSGetting started to learn NestJS. So this my Notes for itFeb 12, 2025 · 6 min readLearning Things ResourcesA personal list of the topics and their resources for my ease of finding.Feb 11, 2025 · 3 min readWhy I made this site?A personal reflection on the motivations and challenges behind creating this site.Jan 1, 2025 · 2 min read