Daniel Pertu
Author ProfileClaim This Author Profile
Prove ownership by publishing #HashtagPLUS and this profile link on your author page or an article under your byline. A moderator or admin will review the request before it merges into your real HashtagPLUS username.
π dev.toSource
Three plans declare a concurrent login cap of 2, 3 and 3. The middleware falls back to 3 when Redis has no key, and only a Stripe event ever writes the key, so the trial value is reachable only by cancelling a paid plan.
π dev.toSource
Why a job lock should be a renewed lease rather than a timeout on the work, what a cancelled run does to a TTL set to the worst-case runtime, and giving "I did nothing" its own status code.
π dev.toSource
Our root layout loads three font families. Two of them earn their place on every page. The third is 71 KB of monospace that most pages never put a single character into, and it is preloaded at the highest priority anyway.
π dev.toSource
Four lines of @sentry/nextjs build config on a Turbopack project. I checked each one against the installed SDK's types and against the live bundle. One is a string that exists nowhere in the package, two are scoped to a bundler we do not use, and the browser bundle still carries
π dev.toSource
The sitemap for Munchable used to be a program: a chunked index, dynamic child routes, a custom CDN TTL and about 120 lines of XML. Deleting the product pages turned it back into one function that returns an array.
π dev.toSource
A cookie policy is an inventory of your client-side storage, written once and then left behind by every feature that ships. I diffed ours against the code and against a real browser. The hard claims were all true. The list was not.
π dev.toSource
We shipped an eighth condition. The rule set was the easy part. The number was written out in prose in twenty places, one of them a test that was wrong in the same direction as the code.
π dev.toSource
An Electron UI that forgets everything on every open cannot be fed by a stream of changes alone. Our SSE endpoint replays 200 buffered log lines plus three state snapshots before it subscribes a client, and two log lines never make it into the buffer at all.
π dev.toSource
Our installers are 600MB and live in a private R2 bucket. The download page hands out three fixed routes, each of which answers 302 with a presigned URL that expires in a minute, and the object keys carry no version number on purpose.
π dev.toSource
A per-icon-module barrel, sideEffects false and one entry in optimizePackageImports. Rather than trust that tree-shaking works, I pulled the live chunks down and searched them for the path data of all 167 icons this app imports.