• Madrigal@lemmy.world
    link
    fedilink
    English
    arrow-up
    32
    ·
    7 days ago

    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.
    • Dhs92
      link
      fedilink
      arrow-up
      11
      ·
      7 days ago

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

    • tetris11@lemmy.ml
      link
      fedilink
      arrow-up
      10
      ·
      edit-2
      7 days ago

      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.

  • lordnikon@lemmy.world
    link
    fedilink
    English
    arrow-up
    14
    ·
    7 days ago

    There is always the assumption that we will colonize the galaxy in 7000 years. When really we will still be on earth and someone is still running and old FreeBSD machine in prod and just doesn’t want to update cause it still works.

    • Jolteon@lemmy.zip
      link
      fedilink
      arrow-up
      5
      ·
      7 days ago

      While I doubt will be stuck on Earth in 7000 years, there’s absolutely going to be some of those old systems with 7000+ years of uptime. Just throw the nanite repair gel on it every 50 or so years.

  • uservoid1@lemmy.world
    link
    fedilink
    English
    arrow-up
    13
    ·
    7 days ago

    Storing the date as offset in seconds from 1970 in 64bit should last to about the end of the universe, after that it’s not my problem.