|
My software is written so well that people (or our lizard overlords...) will still be using it ~8000 years from now.
Freedom is the freedom to say that two plus two make four. If that is granted, all else follows.
-- 6079 Smith W.
|
|
|
|
|
"The future's uncertain and the end is always near." -- Jim Morrison (December 8, 1943 – July 3, 1971)
|
|
|
|
|
In 1998, a programmer who had been working on Y2K fixes started to get anxious because he couldn't believe how pervasive the problem was. He switched from company to company trying to get away from it, but everywhere he went he became regarded as the Y2K expert and immediately became the team lead for that company's Y2K contingencies. He finally had a nervous breakdown, quit his job, and decided he wanted to be knocked unconscious when the Y2K actually came about.
A month before Y2K he was put into an artificial coma and cooled down to a near cryogenic easily sustained long term life support.
Unfortunately the life support notification system had a Y2K bug, and no one revived him for 8000 years.
Finally he was found and revived. He woke up, and saw himself surrounded by lots of glass, light, stainless steel, and tall beautiful people in white robes. He asked if he was in Heaven.
They replied, "No, this is Chicago. Actually but it's a lot like Heaven to someone like you."
"Someone like me?"
"You are from the 20th century. Many of the problems that existed in your lifetime have been solved for thousands of years. There is no hunger and no disease. There is no scarcity, or strife between races and creeds."
"What year is it now?"
"Yeah, about that - it's the year 9,998. You see, the year 10,000 is coming up, and we understand you know something called COBOL?"
|
|
|
|
|
You just redeemed yourself!
|
|
|
|
|
Awesome!
Software Zen: delete this;
|
|
|
|
|
|
Sander Rossel wrote: "Yeah, about that - it's the year 9,998. You see, the year 10,000 is coming up, and we understand you know something called COBOL?" You woke the wrong one, idjits! I do VB6!
Bastard Programmer from Hell
"If you just follow the bacon Eddy, wherever it leads you, then you won't have to think about politics." -- Some Bell.
|
|
|
|
|
|
Only on earth; everyone else will be using the Julian Day.
It was only in wine that he laid down no limit for himself, but he did not allow himself to be confused by it.
― Confucian Analects: Rules of Confucius about his food
|
|
|
|
|
"It is by will alone I set my mind in motion. It is by the juice of Sapho that thoughts acquire speed, the lips acquire stains, the stains become a warning. It is by will alone I set my mind in motion - Oi who wrote this code?"
“That which can be asserted without evidence, can be dismissed without evidence.”
― Christopher Hitchens
|
|
|
|
|
|
|
I'm surprised nobody pointed out the double-negative:
Quote: it was unlikely that his programs ... were unlikely to be around in the year 9999
"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer
|
|
|
|
|
Looking a bit into the past, a number of us old guys remember the "1970 problem". Prior to 1970, the year in most systems was stored as a single digit. This led to the same problem as Y2K ... but with a lot less publicity.
|
|
|
|
|
The Y2k problem arised from us using 2 digits to store the year.
A Y10k problem is imaginary.
Bastard Programmer from Hell
"If you just follow the bacon Eddy, wherever it leads you, then you won't have to think about politics." -- Some Bell.
|
|
|
|
|
I'd think that a Yi10k problem would be imaginary.
|
|
|
|
|
I'm afraid it won't. In that era, makind is served by obscure COBOL and VB6.
Bastard Programmer from Hell
"If you just follow the bacon Eddy, wherever it leads you, then you won't have to think about politics." -- Some Bell.
|
|
|
|
|
I can't remember it turning out to be a problem, that is I can't remember any stories of any businesses suffering from the issue other than one vague story regarding baked beans going out of date.
“That which can be asserted without evidence, can be dismissed without evidence.”
― Christopher Hitchens
|
|
|
|
|
I would have really liked to be a fly on the wall when that last revision by neil was posted
As an aside I'm spelunking through this code because despite being every bit as messy and nasty as the revision history would suggest it's fast. It was written to run on an old pentium, so it does what it does with no muss, and little overhead.
Real programmers use butterflies
|
|
|
|
|
Well, the timestamps are in order, even if the version numbers are not. This showcases the problems of relying on a programmer-assigned value for versioning.
(This actually looks like someone took code from an existing project and merged it into a new project while keeping the old version numbers.)
Freedom is the freedom to say that two plus two make four. If that is granted, all else follows.
-- 6079 Smith W.
|
|
|
|
|
I was looking at the revision comments.
Real programmers use butterflies
|
|
|
|
|
At least neil did not say 'Wheeee' when he hopped off the landing pad.
I have lived with several Zen masters - all of them were cats.
His last invention was an evil Lasagna. It didn't kill anyone, and it actually tasted pretty good.
|
|
|
|
|
So no one else is going to sniff haughtily at the observation that only one of the revision notes ('removed fds "system") is even vaguely useful? The rest are either stupid, cute, or stupidly cute.
I farking hate that sort of crap.
Software Zen: delete this;
|
|
|
|
|
That is what happens when the source control system requires comments but no one actually reviews code.
|
|
|
|
|
File this one under Weird.
I just built a new project in .NET Core 6 using the command:
c:\> dotnet new console -o SuperConsole
This produced a basic console app that outputs "Hello, World!"
Then I took a look at Program.cs and noticed that the entirety of the code is:
Console.WriteLine("Hello, World!");
No Main Function!?!
Yep, that's right. There is no main function!!
Here's the link that explains it.
C# template changes in .NET 6 - .NET | Microsoft Docs[^]
Here's a bit of explanation from the site:
Explanation at link: You can look at the code for the new application and imagine that it contains the statements inside the Main method generated by earlier templates. You can add more statements to the program, just like you can add more statements to your Main method in the traditional style. You can even add functions. They're created as local functions nested inside the generated Main method.
I'ma no on that. Functions nested in Main?
And it tells you that you can still add in the Main method the old way yourself and use it that way.
Is C# trying to be JavaScript?
|
|
|
|