News for hackers. Stuff that matters.
Re:Never write your own date parsing library by ceejayoz on Friday July 25, 2025 @04:03PM (#44687739)
Seconds are now (in SI) defined as calculated from behavior of cesium-133 atoms.

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

Re:Never write your own date parsing library by bunderbunder on Friday July 25, 2025 @04:17PM (#44687916)
9,192,631,770 is clearly a sensible number and not something that's blatantly chosen to match some arbitrary pre-existing geocentric standard like 10,000,000,000 would have been.
Re:Never write your own date parsing library by ceejayoz on Friday July 25, 2025 @04:19PM (#44687940)
It's retrofitted to what we already defined as a second, sure.

But you can tell an alien species our units are expressed in multiples of that, and they can translate it into how theirs works. (Vinge, for example, has space-faring humans talk about "megaseconds" and "gigaseconds" rather than days/years.)

Re:Never write your own date parsing library by db48x on Saturday July 26, 2025 @09:00AM (#44693776)
> "megaseconds" and "gigaseconds" rather than days/years.

More like weeks and decades. Arranging to meet someone in a megasecond is like meeting them on the weekend; a megasecond is ~11.5 Earth days. A kilosecond is short enough to be used for moment–to–moment planning. They’re about a quarter of an hour each so they’re good for scheduling work tasks, scheduling time to meet people for a meal, etc etc.

Gigaseconds are more rarely used, since each one is ~32 Earth years.

Diaspora by Greg Egan has some fun with this too. The main character is a software emulation; called a citizen rather than a flesher. Most emulations live at a subjective rate 800× faster than the flesher normal. The second chapter is three flesher days after the first but 256 megatau, or ~8 years, have passed for the main characters. The fourth chapter is two thirds of a teratau later, over 20k subjective years. For the fleshers of Earth a mere 21 years have passed. The main character has actually forgotten the events of the third chapter; one of his friends brings it up and he has to search his archived memories to figure out what his friend is talking about.

Re:Never write your own date parsing library by BurningFrog on Friday July 25, 2025 @04:14PM (#44687878)
You can also define "days" and "years" in terms of that SI definition.

I don't think that helps with the original concern.

Re:Never write your own date parsing library by ceejayoz on Friday July 25, 2025 @04:18PM (#44687930)
You can, yes. But having it all stem from some fundamental constant value any civilization can handle permits translation between civilizations.

"Our dates start x trillion rotations of pulsar y ago and our unit is defined as z wiggles of cesium" is a starting point.

Re:Never write your own date parsing library by benlivengood on Friday July 25, 2025 @06:47PM (#44689391)
Unfortunately, the Second is measured for purposes of our timekeeping standards at sea-level on Earth which is ~1PPB slower than it would be in free space, as opposed to having a correction factor built into our time standards and so, for example, interplanetary ping times would be slightly shorter (in UTC/TIA nanoseconds) than expected.
Re:Never write your own date parsing library by oneshtein on Saturday July 26, 2025 @02:28AM (#44691870)
A much more precious clock is used by USA to guide nuclear missiles without GPS. (nucleus of Thorium 229 controlled by a high-precision UV laser?)
Re:Never write your own date parsing library by UltraSane on Saturday July 26, 2025 @07:24AM (#44693215)
That clock hasn't actually been built yet and it wouldn't be useful for guiding nuclear missiles.

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

Re:Never write your own date parsing library by oneshtein on Saturday July 26, 2025 @10:20AM (#44694302)
I mean, than nucleus is much heavier and much smaller than electron, so it will be much less affected by external forces. We may see no difference between sea level and space based Thorium-229 clocks, or difference will be much smaller.
Re:Never write your own date parsing library by UltraSane on Sunday July 27, 2025 @12:35PM (#44702499)
ICBMs can be aimed as accurately as they need to be with current inertial navigation technology.