Engineering Notes

Case studies from 18+ years of chip design and infrastructure engineering — the debugging process, not just the result. Unlock individual articles for $5, or subscribe for $9/month unlimited — see Pricing.

One Disguise Domain Worked, an Identical One Didn't — Same Keys, Same Everything · 中文版

A VLESS+REALITY handshake failed against one cover domain and succeeded against another, with identical keys and config on both — the difference turned out to be measured in bytes, not cryptography.

0% Success, Zero Exceptions — a Score Too Clean to Trust · 中文版

Weeks of 'the model just isn't very good' numbers from an AI-agent benchmark turned out to be measuring nothing at all — the grading script itself was silently crashing on every single run, including the ones that actually succeeded.

The Scan Result That Looked Like Proof and Wasn't · 中文版

A wireless controller kept disconnecting on the same in-game trigger, and a live network scan seemed to hand over the smoking gun — until the identical channel numbers and suspiciously sequential MAC addresses gave away that the scan data itself was fabricated.

The Code That Looked Right in Every Way Except the One That Mattered · 中文版

A ported CLI authenticator produced a plausible-looking code for every account — right length, right character set — for one specific account type it would never actually have worked, because it silently skipped that type's own non-standard algorithm entirely.

The Same Error Message, Three Completely Different Times · 中文版

A dashcam-to-YouTube upload pipeline failed with the exact same quota error on three separate debugging passes — and each time it was a genuinely different bug wearing the same symptom, including one caused by the previous fix itself.

Three Chatbots, Completely Silent, Three Unrelated Reasons Why · 中文版

Standing up three chatbot personas on a self-hosted multi-agent gateway, all three went silent after their first message with no visible error — and each one turned out to be broken for a completely different reason, at a different layer of the same system.

"Bad Permissions" Was Never About the Permissions · 中文版

OpenSSH kept rejecting a private key as insecure no matter how the file's Windows ACLs were rewritten — because the check it was actually running had nothing to do with the ACL at all.

The Scope Was Right. The Account Type Was the Actual Problem. · 中文版

A Photos API call kept returning 'insufficient authentication scopes' with the exact right scope confirmed present — because no scope could have ever worked, for a reason that had nothing to do with the request itself.

Closing a Chip-Blocking Equivalence Problem to 0 NEQ

How I root-caused a hierarchical LEC failure everyone else had given up on, and shipped a FULL-EQ verdict with zero manual pin-constraints.

Directing an AI Agent Through Production RTL, Not Just Autocomplete

What changes when you point an autonomous coding agent at real chip sign-off work instead of boilerplate — and what 20+ iterations on a production ISP module actually looked like.

The Kernel Bug Hiding Inside My Own Routing Table · 中文版

Selectively routing one console's streaming-app traffic through a Japan exit node, without touching its own login/matchmaking traffic — and the two independent kernel-level bugs that made it look impossible.

Why VLESS+REALITY, Not Just Another VPN Protocol · 中文版

The actual engineering reasoning behind picking a specific proxy protocol stack for personal infrastructure — and why the choice was about detection resistance, not encryption strength.

Running a Proxy Node on Fly.io: What the Platform Gets You and Where It Bites · 中文版

Deploying a VLESS+REALITY node on Fly.io's global anycast platform — the free-tier tradeoffs, the IPv6-only gotcha, and why the deployment model actually matters more than the region you pick.

The Stream That Was 'Running' But Completely Dead · 中文版

A 24/7 home camera → YouTube Live pipeline that looked healthy in every way that mattered, except it never actually produced a single frame — and the YouTube API lifecycle bugs waiting on the other side once it did.

One Restreaming Hub, Many Cameras, One Silent Rejection · 中文版

Centralizing several different cameras' RTSP feeds behind one restreaming layer solved the fan-out problem cleanly — until one camera with no audio track at all ran into a YouTube health check nobody expects to fail on video grounds.

The Packet Capture That Looked Perfect and Was Lying to Me · 中文版

A remote-desktop client's 'cannot create tunnel' error came with genuinely compelling MTU/MSS evidence pointing at a network black hole — evidence that was real, reproducible, and completely unrelated to the actual failure.

Reading a Vendor's Own Binary to Prove Their Firmware Was Wrong · 中文版

A router firmware commit that failed identically every single time, with an error message giving no useful detail — until running `strings` on the vendor's own closed-source binary turned up the exact internal state machine causing it.

The One-Line Firewall Rule That Broke DNS for Everything · 中文版

A single, textbook NAT rule silently rewrote loopback DNS queries' source address, and every application on the machine lost name resolution at once — including the tool being used to push the fix.

The IPv6 Tunnel That Made the Whole Network Feel Slower · 中文版

Restoring IPv6 reachability behind a NAT'd home connection via a tunnel broker was the easy part. The mistake that made every device on the network feel sluggish was one boolean flag, and understanding why required being honest about what the tunnel was actually for.

The API That Doesn't Wait: A Race Condition in Plain Sight · 中文版

An automation's two-factor login kept failing with 'input is empty' even when the correct code was submitted a second later — because a second later was already too late, and the actual fix was in the order of two API calls, not their content.