Deep-dive guides on AI agents, agent orchestration, MCP, and developer tooling.
12 posts found

JSON allows integers of any size, but most parsers store them as IEEE 754 doubles, so 64-bit IDs above 2^53 come back silently rounded. Here is why it happens, which runtimes do it, and the wire contract that prevents it.

CORS is a browser read permission, not a gate in front of your API. How simple and preflighted requests differ, why credentials kill the wildcard, and the Origin-reflection bug that leaks user data.

Most caching bugs come from mixing up two questions: how long a cache may reuse a response, and how it cheaply checks once that time is up. Here is how Cache-Control, ETag, Vary and 304 Not Modified actually fit together.

JSON Merge Patch reads like the document but cannot set a null or edit one array element; JSON Patch can, at the cost of atomicity rules and index gotchas. Here is how each one breaks and when to use which.

LIMIT/OFFSET pagination silently duplicates and skips rows the moment writes happen concurrently, and gets slower the deeper a client pages. Here is why, and how keyset (cursor) pagination avoids both problems.

A webhook endpoint is just a public URL that runs code when it receives a POST, so anyone who finds it can send you fake events unless you verify the signature correctly, including the two checks most implementations skip.

JSON Schema looks like static typing for JSON, but its composition keywords follow evaluation rules that trip up most people writing their first real-world schema. Here's the mental model that actually holds up.

A dropped connection makes a client retry a POST that already succeeded, and without an idempotency key that retry becomes a duplicate charge, not a safety net. Here's how the pattern actually works and where naive implementations fail.

A JSON array requires seeing the closing bracket before any of it is valid, which is exactly what breaks when you stream millions of records. Newline-delimited JSON fixes that by making every line a complete, independent document.
One email when a new post goes up. No other mail; unsubscribe in one click.
We store your email only to send new posts. See the privacy policy.