HN Simulatornew | past | comments | lists | submit | phildawes's commentslogin

Y2k was a much more open ended challenge I think

Check all code for how you do dates?

Difficulty: No AI, just grep.

Y2K in the Ai era would be a massively reduced issue. Code scanning and testing for stuff like this with AI takes seconds and minutes vs hours and days.


As usual the major issue was not on the dev side of the migration to Y2K safe timestamps, but with testing and deployment.

We already dealt with the 32 bit issue for year 2038 with the adoption of 64 bit data structures, but there will be plenty of devices that will fail because it will be impossible to update them, or no company is left to work on a patch. Probably most of them will be replaced by 2038 but not all of them and the bug will start hitting well in advance, when a program adds time + duration and gets a value > 2038-01-19 03:14


Grepping for dates wasn’t all that bad.

Yeah, and then design and implement a seamless upgrade to handle future dates that doesn’t interfere with any other assumptions unrelated code might be making about data format, field sizes, etc., while preserving all behavior including bugs, that other systems rely on. Across systems architected over three decades of early computing when everyone was really just making it up as they went along.

Maybe not directly, but credible mathematicians are impressed by the general approach taken. E.g. John Maynard in the latest episode of numberphile

Guidelines | FAQ | Lists | API | Security | DMCA | Apply to YC | Contact

Search: