Stop Hardcoding Your Timeouts
0 comments · a11y, practices
- Comments26
0 comments · a11y, practices
Story details from Lobsters ↗ · linked article on alfy.blog.
Stop Hardcoding Your Timeouts was first seen by Trendoday on Nov 2, 2026. Since then it has appeared in 80 checks on 3 different days. It reached #3 on Lobsters · Hottest on Nov 3, 2026 UTC. It was last seen on Lobsters · Hottest on Nov 4, 11:51 UTC.
Best recorded rank on Lobsters · Hottest per UTC day.
Best rank per day (UTC).
A few top-level comments from Lobsters, shortened. Read the full thread on Lobsters.
If you _actually fucking test timeouts properly_, you'll quickly (ahem) realize why they need to be injected instead of hardcoded!
I do actually appreciate go's new timetravel testing; with some setup you can make time fast forward under the condition that all other threads are blocked, then you can even test multi-minute timeouts in under a second total. Just fast forward time to "just before timeout", check there is none, then forward past the…
https://github.com/vercel-labs/skills/issues/278 (by someone else) quite ridiculous—just skim its first two comments, absurd amounts of unnecessary detail and a preposterous solution, all very obviously slop. All that needed to be said was “cloning repositories can take arbitrarily long, so putting a 60 second…
Archived daily, weekly and monthly lists that include this entry.
Not at the moment. Its last recorded appearance was on Nov 4, 11:51 UTC.
#3 on Nov 3, 2026 UTC.
It was first seen on Nov 2, 2026 and has been on the list on 3 days (80 checks) since.