Madrigal
link
fedilink
English
601M

Imagine thinking that’ll be the biggest date-related computing problem for a galactic society.

If you really want to make programmers despair, point out:

  • massive variations in day, month and year lengths on different worlds.
  • some worlds may not have “months” (no moons, or many moons).
  • ambiguous definition of “year” for multi-star systems.
  • days may be longer than years (hello Venus).
  • communication latency across interstellar distances.
  • tine dilation.

We’re all just going to use tz_database and turn the maintainer into a ghost trapped in the machine for all of eternity.

Dhs92
link
fedilink
191M

Don’t we technically already have to account for time dilation for things like GPS satellites

@tetris11@lemmy.ml
link
fedilink
20
edit-2
1M

That’s easy. We’d just use Greg time.

Greg’s age and mood is highly deterministic, and he has atoms in his body present from the big bang. His sense of time varies, and seems to accelerate as he gets older, and he will tell you about it with extreme detail down to either 2 decimal places or 3 beers. If you call him up and ask him what time it is, the degree of the obscenities used in his reply is usually a good enough correction coefficient when calling over long distances.

Also two of his kids hate him, and his current wife is thinking of leaving him; all countable metrics that one can use to ascertain what stage in his life Greg is at, and thus what the local date/time in your area is, based on all the above Greg stats.

Relief point: we will still be using unix timestamp.

Anxious point: we will still be using unix timestamp.

tine dilation

Holds up fork and squints at it

Madrigal
link
fedilink
English
225d

It’s what happens when James uses the good dining forks to unjam the cupboard door again.

WasPentalive
link
fedilink
English
424d

Nah, all this is solved with star-dates. One of the Federation’s crowning achievements - Warp Drive is small potatoes compared to getting hundreds of delegates from as many different worlds to all agree on one calendar system that is not based on their own world’s orbit around its primary… Diplomatic impossibility, but they managed it.

Fonzie!
link
fedilink
525d

days may be longer than years (hello Venus).

Hello back

Madrigal
link
fedilink
English
225d

Well, that was certainly the peak of human artistic achievement.

Also, interplanetary timezones and leaps.

I will just rely on ISO 8602 to introduce a universal time format

Madrigal
link
fedilink
English
225d

Then your only challenge will be converting to and from human-friendly formats and cleansing user input. Easy.

Create a post

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

  • Posts must be relevant to programming, programmers, or computer science.
  • No NSFW content.
  • Jokes must be in good taste. No hate speech, bigotry, etc.
  • 1 user online
  • 86 users / day
  • 361 users / week
  • 612 users / month
  • 2.32K users / 6 months
  • 1 subscriber
  • 1.65K Posts
  • 36.5K Comments
  • Modlog