aimeeandbeatles
watermelon
- Joined
- Apr 5, 2007
- Messages
- 20,112
According to a counter I saw on a website it said "Exhausted." Did they run out? Google isnt helping very much.
if(year < start_date) {
year += 100;
}
I agree with you that it was a threat - but it's not uncommon for me to see people assuming it was just an overblown myth, on the basis that "nothing" happened.I don't think so.... Everyone pretty much acknowledges that Y2K was a serious threat and that a lot of effort went into correcting it.
Of course, this is the equivalent of a brown-out, not the black-out Y2K could have been.
Well, admittedly it wasn't clear to me why say a piece of electronics might fail. But in general, plenty of chaos could be caused by getting the dates wrong - e.g., date of births, banking information.I've never understood why Y2K was an issue in the first place. Why does it matter if a clock thinks it's 1900 or 2000?
Sure, but the not so easy bit is checking every piece of code in millions of systems to see what needs fixing.And if it is, it can easily be worked around:
Code:if(year < start_date) { year += 100; }
Of course this only prolongs the issue, but a century is more than enough time to fix the system.
I've never understood why Y2K was an issue in the first place. Why does it matter if a clock thinks it's 1900 or 2000? And if it is, it can easily be worked around:
Code:if(year < start_date) { year += 100; }
Of course this only prolongs the issue, but a century is more than enough time to fix the system.
Can't they train the system so that everything else rolls over too?
Actually, I read that when Y2K rolled around there were only minor issues (such as websites showing 20100 for example).
Both Y2K and the IP thing seem needlessly complicated issues they should permanently fix.
Embedded systems must be replaced and can't be fixed software wiseDepending on 64-bit adoption this might wind down on its own. But the solution is simpler: either change to a 64-bit program (where the compiler will fix it itself), use an unsigned int, or use a long long int (which is essentially an abstraction of a 64-bit int done by doing math in 32-bit parts).