Back to Home

Core Engineering Posts

Core Engineering

Tracing Byte-Exact Json Bugs With A Deterministic Diff Harness

I got bitten by a bug that looked “nondeterministic” at first: sometimes my API returned the exact same data but the downstream system rejected it any...

Jun 16, 2026Read more
Core Engineering

Two-Phase Bfs For “Exactly K Edges” Shortest-Path Counting

I tripped over a surprisingly nasty bug while building a little “route planner” for a grid. The UI asked for: “minimum travel time” and also showed ho...

Jun 9, 2026Read more
Core Engineering

Canonicalizing Ndjson For Stable Api Cache Keys

The weird bug I hit: the “same” response produced different cache keys I ran into a maddening issue while building a small API service that cached r...

May 18, 2026Read more
Core Engineering

Lease-Aware In-Process Job Router With Expiring Locks And Exactly-Once-Ish Scheduling

The weekend problem I kept running into I was building a small system that scheduled short background jobs. Nothing fancy—just a single service, mul...

Apr 30, 2026Read more
Core Engineering

Deterministic Canonical Json For Signed Webhooks With Jcs-Like Ordering

I ran into a maddening problem while wiring up signed webhooks: the signature verification would randomly fail even though the “same” payload was bein...

Apr 23, 2026Read more
Core Engineering

Designing A Deterministic Outbox For Crdt Event Streams In Go

I hit a fun (and annoying) problem while building a service that stores user edits as a stream of CRDT (Conflict-free Replicated Data Types) operation...

Apr 16, 2026Read more
Core Engineering

Split Brain Avoidance For Subdomain Cookie Auth In Edge-Rendered Next.Js

The bug I chased: “login works on one subdomain, breaks on the other” I ran into a weird authentication failure while building a setup like this: - ...

Apr 3, 2026Read more