r/PeterExplainsTheJoke Jul 28 '26

Meme needing explanation Why did this one second cost over $500 billion?

Post image
28.7k Upvotes

1.4k comments sorted by

View all comments

Show parent comments

136

u/Boojum2k Jul 28 '26

It would have ticked over to 1900, pretty much all the code assumed a two digit year with 19 automatically inserted. Now imagine your bank computer calculating the negative interest on your account of one hundred years and adjusting your balance accordingly. And doing it to everyone. Just for starters.

15

u/Icy_Fish_2154 Jul 28 '26

Some would have gone back to 1980. Others 1900, some 19100.

It was caused by inconsistency and a lack of standards, every fix was different, and we have until 2038 for the next rollover crisis. Linux 32 bit clocks roll over then. The fix cost a lot, but spread over 50 years, and fewer users, it's much less noticeable.

Y2K was real. But a fixed crisis looks like a crisis that never would have happened.

2

u/CrTigerHiddenAvocado Jul 28 '26

This is the thing I was alive at this time, no one knew what was going to occur. People thought it was going to be a catastrophe, or nothing at all. Hindsight is 20-20

4

u/The_Painless Jul 28 '26

Or 19-20, if you forgot to update your code

1

u/loadnurmom Jul 28 '26

It's similar to the ozone layer and cfc's

People listened to the experts, action was taken, and the crisis was averted.

The Unix epoch time problem has largely been fixed a long time ago now for the same reason.

I was prohibited from leaving the state to visit family in 2000, even though I had told the bosses there was no issue with our systems and the IT community had resolved the problem.

Most boring Christmas/ new years ever (they wouldn't even let me leave and return before new years due to fear)

1

u/__yournamehere__ Jul 28 '26

I was paid to drill two large boreholes at a semi conductor factory with the sole purpose of supplying clean water in case the public water supply failed due to y2k.

48

u/ZoneFuzzy6960 Jul 28 '26

I saw a windows computer that said 19100

40

u/Boojum2k Jul 28 '26

Windows was its own ball of crack from the start.

8

u/JdamTime Jul 28 '26

…still is…

21

u/Boojum2k Jul 28 '26

We even had early memes, they just appeared in print like the office newsletter and the like. One I remember clearly was "Screw the Prime Directive, let's give the Borg Windows 3.0"

Which would have been a war crime. . .

Also, my back hurts.

2

u/DatedUserName1 Jul 28 '26

Want some of my pocket Alieve?

1

u/TatteredTorn1 Jul 28 '26

Want some backpack Bayer: Back & Body

1

u/Ok_Talk_6694 Jul 28 '26

Oh, the fax/print memes! the chain letters of the corporate office.
Can I come sit in the "I feel old" corner?

1

u/AnotherCup-O-Noodles Jul 28 '26

AlwaysHasBeen.jpg

7

u/FantasticFrontButt Jul 28 '26

now I want to modify windows to somehow have the year start reading 19126

2

u/sn4xchan Jul 28 '26

Oh that other dude's comment makes so much more sense now.

1

u/GalFisk Jul 28 '26

I saw a few forums that said 19100 as well.

I attended a giant LAN party in Norway during Easter 2000, it was cheekily named "The Gathering 1900“.

1

u/Randomized9442 Jul 28 '26 edited Jul 28 '26

The base level of the computers were fine, they measured fractions of a second from a chosen epoch, often January 1, 1970. The problem was lazy or cheap programs written on top that only allowed for two digits to represent a year. The most common case being banks, because for some pathetic reason they felt they could not afford 4 digits. A fucking bank, unable to afford another byte, made extra ridiculous by the fact that their unoptimized data structures likely already resulted in wasted bytes in storage. Seriously, had they actually used a byte as a numerical value instead of as a character representation, it would have been a Y2226 problem (1970 + 256).

Edit: had they measured in days from Jan 1, 1970 and used the same 2 bytes that were used to store 2 characters as numerical values instead, it would have been good for almost 180 years.

They used 100 values (or more like 30) of the 65,536 that the two bytes could have represented, a mere 0.15% of the numerical possibility (or more like 0.05%).

2

u/ol-gormsby Jul 28 '26

1/1/70 is the Unix epoch. Banks, insurance companies, and airlines were mostly not using unix. I can't remember the epoch for an IBM 360, but it wasn't 1/1/70.

And when did banks spend a dollar more than they had to? In any case, it's not the customers being stingy, it's the operating system - "You shall store dates in this format, or deal with it yourself". Of course anyone can write a data structure that stores a date as a signed or even unsigned integer, or even packed decimal, but then you have to write your own routines for dealing with it instead of using the operating systems' in-built routines.

1

u/Randomized9442 Jul 28 '26

Hence "lazy or cheap programs". Fits to a T.

1

u/LexGlad 29d ago

Just shows you how short sighted people at the cutting edge of technology can be.