Back to Projects
mastodon.social April 19, 2026 at 07:19 PM
10 years ago, someone wrote a test for servo that included an expiry in 2026
80
Points
45
Comments
luu
Author
Top Comments
vocx2txApr 20
But still a kludge. Better: use something equivalent to Go's testing/synctest[0] package, which lets you write tests that run in a bubble where time is fixed and deterministic.
andaiApr 20
Interesting, from the title I thought it was intentional, as a "forced code review." Apparently not, but now I really like that idea!
AlupisApr 20
Just skimmed the PR, I'm sure the author knows more than I - but why hard code a date at all? Why not do something like `today + 1 year`?
bombcarApr 20
Any time constant will be exceeded someday.
An impossibly short period of time after the heat death of the universe on a system that shouldn’t even exist: ERROR TIME_TEST FAILURE
samlinnferApr 20
i had to plant a 10 year time bomb in our SAML SP certificate because AFAIK there is no other way to do it. It’s been 7 years since then. Dreading contacting all the IDPs and getting them to update the SAML config.
db48xApr 19
Classic!
But before you judge the fix too hashly, I bet it’s just a quick and easy fix that will suffice while a proper fix (to avoid depending on external state) is written.
kristofferRApr 20
[flagged]
Visit the Original Link
Read the full content on mastodon.social
More Top Stories
qwen.ai Apr 20
Qwen3.6-Max-Preview: Smarter, Sharper, Still Evolving
14060 commentsby mfiguiere
Details surfacedby.com Apr 20
I prompted ChatGPT, Claude, Perplexity, and Gemini and watched my Nginx logs
402 commentsby startages
Details letsdatascience.com Apr 20
Atlassian Enables Default Data Collection to Train AI
18345 commentsby kevcampb
Details theolivepress.es Apr 20
All phones sold in the EU to have replaceable batteries from 2027
393206 commentsby ramonga
Details