• call_me_xale@lemmy.zip
    link
    fedilink
    arrow-up
    3
    ·
    1 year ago

    Bold of you to assume no one will come up with a replacement date library rather than just getting rid of JS.

  • EmergMemeHologram@startrek.website
    link
    fedilink
    arrow-up
    1
    ·
    edit-2
    1 year ago

    Partitioning by integer secobds is dumb.

    Just assign 0 to the start of time, 1 to the end of time, and every point between is represented by a double precision floating point number.

    For all those who believe time is infinite please apply a logistic transformation to your dates.

    • rekabis@lemmy.ca
      link
      fedilink
      arrow-up
      0
      ·
      1 year ago

      Fun fact: infinities can be different sizes, such that one infinity can be larger than another.

      They’re still infinities, with no end. Just of different absolute sizes. Fun stuff to rabbithole down into if you want to melt your brain on a lazy afternoon.

      • EmergMemeHologram@startrek.website
        link
        fedilink
        arrow-up
        1
        ·
        1 year ago

        My nephew refuses to talk to me because of this.

        He said I smelled like farts, then I said he did times 10, he replied times a hundred, I pulled out the infinity card, then he replied with times infinity plus one, activating my trap card. I sat him down and for 90 minutes, starting with binary finger counting and Cantor’s diagonalisation argument, I rigorously walked him through infinities and Aleph numbers (only the first 2 in detail, I’m not a monster).

        Now he knows the proper retort (not infinity plus one, use Aleph 1). Unfortunately now he’s not sure if numbers are “real” or not because I taught him that natural numbers are the cardinal numbers.