| ▲ | unkl_ 8 hours ago | ||||||||||||||||
Posted on HN in 2126: 100 years ago, someone wrote a test for servo that included an expiry in 2126 | |||||||||||||||||
| ▲ | jerf 8 hours ago | parent | next [-] | ||||||||||||||||
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. | |||||||||||||||||
| |||||||||||||||||
| ▲ | yetihehe 8 hours ago | parent | prev [-] | ||||||||||||||||
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. | |||||||||||||||||
| |||||||||||||||||