• 0 Posts
  • 8 Comments
Joined 1 year ago
cake
Cake day: August 28th, 2023

help-circle
  • nybble41@programming.devtoxkcd@lemmy.worldxkcd #2867: DateTime
    link
    fedilink
    English
    arrow-up
    6
    ·
    11 months ago

    Good point. You’d need at least 215 bits to represent all measurably distinct times (in multiples of the Planck time, approximately 10^-43 seconds) out to the projected heat death of the universe at 100 trillion (10^14) years. That should be sufficient for even the most detailed and lengthy simulation.


  • nybble41@programming.devtoxkcd@lemmy.worldxkcd #2867: DateTime
    link
    fedilink
    English
    arrow-up
    13
    ·
    11 months ago

    If you want one-second resolution, sure. If you want nanoseconds a 64-bit signed integer only gets you 292 years. With 128-bit integers you can get a range of over 5 billion years at zeptosecond (10^-21 second) resolution, which should be good enough for anyone. Because who doesn’t need to precisely distinguish times one zeptosecond apart five billion years from now‽


  • nybble41@programming.devtoxkcd@lemmy.worldxkcd #2867: DateTime
    link
    fedilink
    English
    arrow-up
    4
    ·
    11 months ago

    It might be more accurate to say that Unix time is the number of days since Jan 1st, 1970, scaled by 24×60×60. Though it gets a bit odd around the actual leap second since they aren’t spread over the whole day. (In some ways that would be a more reasonable way to handle it; rather than repeating a second at midnight, just make all the seconds slightly longer that day.)





  • Your intake of sugar participation in extreme sports absolutely impacts other people when you end up with chronic health issues that other people have to help pay for.

    It’s not as if there’s some natural law obligating you to pay for anyone else’s health issues. Your government is responsible for externalizing that private cost onto you and others, effectively subsidizing risk-taking and irresponsibility. If you don’t like it, insist that people pay for their own health care and insurance at market rates, without subsidies.