wetdry.world is one of the many independent Mastodon servers you can use to participate in the fediverse.
We are a community focused on gaming, tech, entertainment, and more.

Administered by:

Server stats:

779
active users

Public
@mudkip i cant wait for this
Public
@mudkip i wasnt there for y2k but ill be here for y2k38
Public

@ari @mudkip someone should start an event where people all collectively gather to a single place with random stuff that needs to keep track of time(the older the better)

then everyone just stares at them until the overflow happens to see how many of them break

Public
@lda @mudkip can we make it happen in lithuania so i wouldnt need to pay for tickets
Public
@mudkip wouldn't it be 1901-12-14 rather than 1970-01-01?
Quiet public

@kimapr @mudkip on glibc, time() does not overflow but returns -1. So clock will be forever stuck at 1969-12-31 23:59:59

Quiet public

@cybertailor The Endless Now...

Quiet public

@cybertailor what about bsd libc?

Quiet public

@lackthereof

OpenBSD:

The time() function is always successful, and no return value is reserved to indicate an error.

Public

@mudkip technically because it's signed it'll overflow to -2^32-1, and because all negative unix timestamps are undefined the date will also be undefined (or if you ignore that you'll be somewhere around 1901)

Public

@mudkip Signed? [sighs]

Public

@shanecelis Signed: it’d have been funny to have designed a brand new operating system that couldn’t represent dates in the recent past.

Public

@shanecelis (Though some re-reading reminds me that early Unix was indeed very funny in the date department.)

Public

@smiteri Thank you. That’s a fantastic point.

Public
@mudkip wouldn't this roll back to around 1902, actually?
Quiet public

@mudkip

Does anyone still do this?

Quiet public
Public
@mudkip [wetdry.world] If the integer is signed, wouldn't it be more like 1902?
Public

@mudkip 🤓 If it's signed it would flip around to -INT32_MAX tho, meaning 1902 or something

Public

@mudkip $ date -uIsec --date=\@$((1 - 2 ** 31))
1901-12-13T20:45:53+00:00

Edit: I forgot to mention an unsigned 64-bit count of microseconds comes to more than 500 thousand years.

Public
Public

@mudkip@wetdry.world meme is inaccurate: that calendar wraps after December 2038, but it should say January 2038 on the previous page and only have about 18 squares, with 13.5% of the 19th square. the next page should also say December 1901 and be missing the first 12 squares and also only have 13.5% of the 13th square (but be missing the first parts of that square, instead of the last)

(alternatively it can flip back to January 1970 if the previous page is February 2106, with just 6.27 squares)

literally unenjoyable, please fix.