<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"><channel><title>Stanley Lau — Backend &amp; AI systems engineer</title><description>Engineering deep dives from systems in production: architecture, protocols, postmortems.</description><link>https://stanleylau.dev/</link><item><title>How traceroute Works, and How I Used It to Catch the GFW</title><link>https://stanleylau.dev/blog/how-traceroute-works-debug-gfw/</link><guid isPermaLink="true">https://stanleylau.dev/blog/how-traceroute-works-debug-gfw/</guid><description>A site on Google Cloud was unreachable from China without a VPN. Here&apos;s traceroute from first principles -- packets, hops, gateways, the TTL trick -- and how to read its output to find exactly where a connection dies.</description><pubDate>Tue, 30 Jun 2026 00:00:00 GMT</pubDate></item><item><title>TanStack Start vs Next.js: Opposite Bets on the Boundary</title><link>https://stanleylau.dev/blog/tanstack-start-vs-nextjs/</link><guid isPermaLink="true">https://stanleylau.dev/blog/tanstack-start-vs-nextjs/</guid><description>Choosing between TanStack Start and Next.js? They make opposite bets on the client-server boundary -- everything else follows.</description><pubDate>Tue, 30 Jun 2026 00:00:00 GMT</pubDate></item><item><title>Mining a Sitcom for Slang with a Resumable LLM Pipeline</title><link>https://stanleylau.dev/blog/llm-extraction-pipeline/</link><guid isPermaLink="true">https://stanleylau.dev/blog/llm-extraction-pipeline/</guid><description>Anki cards in, a curated bilingual deck out — schema-validated LLM calls, MD5 checkpoints, and three passes that each do one job.</description><pubDate>Mon, 29 Jun 2026 00:00:00 GMT</pubDate></item><item><title>Another Level of Indirection: The Oldest Trick in CS</title><link>https://stanleylau.dev/blog/another-level-of-indirection/</link><guid isPermaLink="true">https://stanleylau.dev/blog/another-level-of-indirection/</guid><description>Pointers, DNS, the AI SDK&apos;s intermediate representation, MCP -- one principle underneath. What an extra layer buys, and what it costs.</description><pubDate>Fri, 12 Jun 2026 00:00:00 GMT</pubDate></item><item><title>Hand-Rolling a WordPress MCP: One Prompt to Published Post</title><link>https://stanleylau.dev/blog/mcp-wordpress-build/</link><guid isPermaLink="true">https://stanleylau.dev/blog/mcp-wordpress-build/</guid><description>No SDKs. A hand-written MCP server (all three primitives) and a hand-written client wired to DeepSeek, driving WordPress for real -- with actual wire messages and screenshots.</description><pubDate>Fri, 12 Jun 2026 00:00:00 GMT</pubDate></item><item><title>The M x N Problem: One Pattern Behind USB, LSP, and MCP</title><link>https://stanleylau.dev/blog/m-x-n-problem/</link><guid isPermaLink="true">https://stanleylau.dev/blog/m-x-n-problem/</guid><description>Every &apos;USB-C for X&apos; pitch is the same old trick: insert a standard interface and turn M x N integrations into M + N.</description><pubDate>Fri, 12 Jun 2026 00:00:00 GMT</pubDate></item><item><title>Why tmux Became the Control Room for AI Agent Teams</title><link>https://stanleylau.dev/blog/tmux-agent-teams/</link><guid isPermaLink="true">https://stanleylau.dev/blog/tmux-agent-teams/</guid><description>What tmux actually does, built up from terminals, shells, and PTYs — and why agent harnesses all settled on it.</description><pubDate>Fri, 12 Jun 2026 00:00:00 GMT</pubDate></item><item><title>AI Streaming Froze for 50 Seconds: A Production Postmortem</title><link>https://stanleylau.dev/blog/ai-streaming-freeze-postmortem/</link><guid isPermaLink="true">https://stanleylau.dev/blog/ai-streaming-freeze-postmortem/</guid><description>A streaming endpoint sat dead for tens of seconds after hitting save. A first-token probe, controlled experiments, and raw SSE frames traced it to thinking mode.</description><pubDate>Thu, 11 Jun 2026 00:00:00 GMT</pubDate></item><item><title>Build Your Own Mini Vercel AI SDK</title><link>https://stanleylau.dev/blog/build-your-own-ai-sdk/</link><guid isPermaLink="true">https://stanleylau.dev/blog/build-your-own-ai-sdk/</guid><description>Calling two providers&apos; raw protocols hurts. Feel the pain first, then open the real SDK&apos;s layered design, then build a mini version with the same interface.</description><pubDate>Thu, 11 Jun 2026 00:00:00 GMT</pubDate></item><item><title>Why MCP Exists: From Hardwired Tools to a Standard Protocol</title><link>https://stanleylau.dev/blog/mcp-why-and-what/</link><guid isPermaLink="true">https://stanleylau.dev/blog/mcp-why-and-what/</guid><description>Skip the definitions. Starting from &quot;let AI run my WordPress&quot;, we derive what MCP actually solves, what it doesn&apos;t, and how it really relates to LLMs and Claude Code.</description><pubDate>Thu, 11 Jun 2026 00:00:00 GMT</pubDate></item><item><title>streamObject Deep Dive: Half-Finished JSON and the json_schema Trap</title><link>https://stanleylau.dev/blog/stream-object-partial-json/</link><guid isPermaLink="true">https://stanleylau.dev/blog/stream-object-partial-json/</guid><description>Streamed JSON is invalid until the last byte arrives — so how does the SDK parse it? Plus a full postmortem of response_format blowing up on DeepSeek&apos;s official endpoint.</description><pubDate>Thu, 11 Jun 2026 00:00:00 GMT</pubDate></item><item><title>Build a Mini Agent: Three Truths About Tools, Loops, and Context</title><link>https://stanleylau.dev/blog/mini-agent-three-truths/</link><guid isPermaLink="true">https://stanleylau.dev/blog/mini-agent-three-truths/</guid><description>Build a working agent in under 50 lines, then discover the real complexity isn&apos;t in the loop -- it&apos;s in tool boundaries and context management.</description><pubDate>Wed, 15 Apr 2026 00:00:00 GMT</pubDate></item><item><title>Reverse-Proxying Vercel: Five Pitfalls, Fully Explained</title><link>https://stanleylau.dev/blog/reverse-proxy-vercel-china/</link><guid isPermaLink="true">https://stanleylau.dev/blog/reverse-proxy-vercel-china/</guid><description>Vercel is slow from mainland China? Put an Nginx reverse proxy in Hong Kong in front of it. This guide breaks down the five traps along the way -- 522 handshake timeouts, Server Actions CSRF errors, broken static caching, intermittent Code 99 challenges, __resolve-check 404s -- and the mechanics behind each one.</description><pubDate>Tue, 14 Apr 2026 00:00:00 GMT</pubDate></item></channel></rss>