10 years ago, someone wrote a test for servo that included an expiry in 2026
43 points by luu 20 hours ago | 12 comments

bombcar 42 minutes ago
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

reply
unkl_ 28 minutes ago
Posted on HN in 2126: 100 years ago, someone wrote a test for servo that included an expiry in 2126
reply
jerf 21 minutes ago
I've got some tests in active code bases that are using the end of 32-bit Unix time as "we'll never get there". That's not because the devs were lazy, these tests date from when that was the best they could possibly do. They're on track to be cycled out well before then (hopefully this year), so, hopefully, they'll be right that their code "won't get there"... but then there's the testing and code that assumes this that I don't know about that may still be a problem.

"End of Unix time" is under 12 years now, so, a bit longer than the time frame of this test, but we're coming up on it.

reply
yetihehe 24 minutes ago
Now I feel bad for using (system foundation timestamp)+100 years as end of "forever" ownership relations in one of my systems. Looking now, it's only 89 years left. I think I should use nulls instead.
reply
fny 25 minutes ago
Who here remembers the fud of Y2K?
reply
philipallstar 14 minutes ago
I remember the reality of all the work needed to avoid issues.
reply
acuozzo 8 minutes ago
Don't mistake a defused bomb for a dud.

https://en.wikipedia.org/wiki/Preparedness_paradox

reply
LocalPCGuy 13 minutes ago
While there was a lot of FUD in the media, there were also a lot of scenarios that were actually possible but were averted due to a LOT of work and attention ahead of time. It should be looked at, IMO, as a success of communication, warnings, and a lot of effort that nothing of major significance happened.
reply
tejohnso 4 minutes ago
Yes, Y2K is a success story, similar to the alert and response related to ozone layer and CFCs.

Dissimilar to the global climate catastrophe, unfortunately.

reply
NetOpWibby 19 minutes ago
Exciting times with an anticlimactic end; I was in middle school, relishing the chaos of the adult world.
reply
myself248 9 minutes ago
Another victim of the preparedness paradox.
reply
db48x 18 hours ago
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.

reply