Laravel 11 allows a per-second limit, and applying one to an endpoint limited to sixty a minute showed what that had actually been permitting. A per-minute limit is…
An endpoint returning 404 for a resource that exists but belongs to somebody else, and 403 for one that exists and is forbidden — which distinguishes the two.…
A deployment script that had grown to six hundred lines of bash with functions, associative arrays and a retry loop. Bash is the right tool for orchestrating commands…
A value object rejecting an invalid input with a message that named the type rather than the problem. One check per condition and a named constructor per failure…
A clock interface written by hand in four projects, each slightly different, replaced by the standard one. One method returning a DateTimeImmutable is a small enough interface that…
Eleven blocks, eleven register_block_type calls, eleven block.json files read from disk on every request. Eleven file reads and eleven JSON parses on every request is not a lot…
Forty-four releases over three years, of which forty-one changed both services in the same window. Counting releases is a five-minute query against the git history and it answers…