News for hackers. Stuff that matters.
Re:Universe expected to decay in 10⁷⁸ years, much sooner tha... by thih9 on Monday May 12, 2025 @12:15PM (#43964669)
> in 10k years (…) the average length of a solar day will be 1⁄30 of an SI second longer than it is today.

Looks like a new test case scenario for libraries that handle time/date.

Re:Universe expected to decay in 10⁷⁸ years, much sooner tha... by Timon3 on Monday May 12, 2025 @12:32PM (#43964861)
Am I misreading something, or isn't that already in 1,000 years?
Re:Universe expected to decay in 10⁷⁸ years, much sooner tha... by thih9 on Monday May 12, 2025 @02:31PM (#43966143)
You are correct, I made a typo in the grandparent comment - it should have been 1k years. Unfortunately I can no longer edit.
Re:Universe expected to decay in 10⁷⁸ years, much sooner tha... by timewizard on Monday May 12, 2025 @03:54PM (#43966860)
Insertion of a leap second every month.
Re:Universe expected to decay in 10⁷⁸ years, much sooner tha... by AnotherGoodName on Monday May 12, 2025 @09:01PM (#43968833)
Well at least the datetime library would be a perfectly reasonable place to handle leap seconds. The place that outputs the timestamp to a human readable format wouldn’t at all be that hard pressed to add a second when printing out the local time with timezone considered. It really wouldn’t add that much complexity.

Could you imagine if anyone was stupid enough to think the right place to handle such a thing was the internal counter of seconds rather than the datetime library though? Ha! That’d be ridiculous right! Imagine all the bugs if someone put something that’s only relevant to local timezone time printing there! It’d cause so many unexpected bugs!

Re:Universe expected to decay in 10⁷⁸ years, much sooner tha... by Gibbon1 on Tuesday May 13, 2025 @03:48AM (#43970533)
At 10^78 years we could use 512 bit time stamps and be safe from overflow and measure all the way down to Planck time.
Re:Universe expected to decay in 10⁷⁸ years, much sooner tha... by joquarky on Tuesday May 13, 2025 @04:34PM (#43977411)
Time is so /weird/ that I don't know how computers will ever wrangle it comprehensively.

Just consider the weird but valid scenario in relativity where A can occur before B, B before C, and C before A. I'm not sure how you would wrangle something like that in a data format.

Re:Universe expected to decay in 10⁷⁸ years, much sooner tha... by jfoster on Wednesday May 14, 2025 @06:30AM (#43982887)
Can that happen in relativity? How?
Re:Universe expected to decay in 10⁷⁸ years, much sooner tha... by moi2388 on Thursday May 15, 2025 @01:52AM (#43992219)
I’m guessing for different observers. No idea how for a single observer all those could possibly be true