this post was submitted on 04 Nov 2023
658 points (98.0% liked)

Programmer Humor

19145 readers
744 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] EmergMemeHologram@startrek.website 48 points 10 months ago* (last edited 10 months ago) (5 children)

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.

[–] chaorace@lemmy.sdf.org 13 points 10 months ago (2 children)

Um excuse me time actually already ended in 1991

[–] schnurrito@discuss.tchncs.de 2 points 10 months ago

No, that was the world that ended in 2012.

[–] rekabis@lemmy.ca 5 points 10 months ago (2 children)

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 4 points 10 months 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.

[–] CanadaPlus@lemmy.sdf.org 2 points 10 months ago* (last edited 10 months ago)

Even more fun: nobody can agree on how many there are (some people say none!), and mathematics is self-consistent regardless of if you assume certain ones definitely do or definitely don't exist.

[–] CanadaPlus@lemmy.sdf.org 4 points 10 months ago* (last edited 10 months ago) (1 children)

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

In what unit? They're not scale invariant.

Also in case you're serious, I'm sure (by the pigeonhole principle) you'll run out of exponents just about as fast as you would run out of integers.

[–] EmergMemeHologram@startrek.website 2 points 10 months ago* (last edited 10 months ago)

You can derive the date by first taking the largest unit, checking if it makes sense, then moving to a smaller time unit iteratively until the date comes out right.

[–] interolivary@beehaw.org 1 points 10 months ago* (last edited 10 months ago) (1 children)

please apply a logistic transformation to your dates

Which is definitely a totally normal and everyday operation that normal people do with dates

[–] EmergMemeHologram@startrek.website 1 points 10 months ago (1 children)

It’s a little out of the ordinary for now, but for thousands of years dates counted upwards from a negative number, which this new method easily avoids.

[–] interolivary@beehaw.org 1 points 10 months ago

for thousands of years dates counted upwards from a negative number

wat