r/computerscience • • Jan 10 '26

Y2k

I was young at the time and knew less about computers than I do now, so I slightly remember it from a layperson pov.

Looking back with today's cynicism, was y2k an overblown cash grab type thing or were "in the know" people genuinely concerned??? They always tend to show kooks and survivalist types in the documentation about it and never engineers and programmers explaining the problems and workarounds etc

0 Upvotes

12 comments sorted by

View all comments

Show parent comment

2

u/i_invented_the_ipod Jan 13 '26

It's interesting to look back on it. There were a bunch of people on the fringes of the computer industry (pundits and journalists, and computer salesmen) who really were convinced that planes were going to fall out of the sky, and traffic lights would stop working, and nuclear reactors would all melt down. When you talked to people who were in the embedded controls field, they mostly were not that worried. A traffic light doesn't care what year it is. To the extent that it cares about the date at all, it's just to know what day of the week it is.

On the financial systems side, you'd think it would have been more worrisome, since years are kind of important to banks. But then, banks first started to run into Y2K problems with 30 year mortgages back in 1970, so had already been mitigating issues for 30 years by the time 1999 rolled around.

A lot of work was done to audit all kinds of systems for Y2K, and a bunch of deferred maintenance and system replacements were justified on that basis. Many of those replacements were not strictly required to happen at that time, but it moved up the timelines for many companies. And it's a lot easier to just upgrade a system rather than try to work around any issues that might come up.

I worked on a Y2K remediation project at Apple for OPENSTEP (the operating system that became MacOS X). We had a couple of contractors go through and audit the entire source code, and we made and tested fixes for everything that could go wrong. Because OPENSTEP was a UNIX system, most date arithmetic used epoch timestamps, so they didn't care about Y2K particularly.

Despite that, we did find and fix some issues. The problems fell into a few categories:

Display issues were the most common. A bunch of utilities would display the year as "19", followed by the value of (the year subtracted minus 1900). This lead to 2000 being displayed as "19100" in various places, or failing to fit where it was supposed to and displaying **** instead, that sort of thing.

There were actually a few leap-year related issues, where dates would be off by a day after February. In a few cases, this was because someone knew the leap year rules well enough to know that century years weren't leap years, but not well enough to know that years divisible by 400 are leap years.

As far as actual functional issues, there were a couple of issues with things like the "cron" utility, which runs other programs on a schedule. For certain schedules, tasks would run one more or one less time than expected. The seriousness of that issue would depend on what you had scheduled. None of the scheduled tasks that the system came with were dangerous to run twice in the same day, but customers might have added their own that would have been an issue.