|
I was wondering about that one too
|
|
|
|
|
Year end bugs are especially brilliant because they guarantee that someone will have to be pulled out of bed (usually, as midnight rolls over) on a holiday when they really don't want to think about work, because some critical system crashed on either 31/12 (as in this case) or 1/1.
|
|
|
|
|
Problem 2017
—SASergey A Kryukov
|
|
|
|
|
Oh my.
This space intentionally left blank.
|
|
|
|
|
I would argue that it's not nonsense - you can tell by looking at it exactly what it does - it's just not the best way of doing it
|
|
|
|
|
Legible and nonsense are not mutually exclusive.
There are only 10 types of people in the world, those who understand binary and those who don't.
|
|
|
|
|
brillig
"If you don't fail at least 90 percent of the time, you're not aiming high enough."
Alan Kay.
|
|
|
|
|
Slithy tove!
"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer
|
|
|
|
|
My god, they should have used an enum.
|
|
|
|
|
Now that's brilliant.5.
~RaGE();
I think words like 'destiny' are a way of trying to find order where none exists. - Christian Graus
Do not feed the troll ! - Common proverb
|
|
|
|
|
Which year?
while (!working) {
Reboot();
}
|
|
|
|
|
Well...it's readable.
More's the pity.
Those who fail to learn history are doomed to repeat it. --- George Santayana (December 16, 1863 – September 26, 1952)
Those who fail to clear history are doomed to explain it. --- OriginalGriff (February 24, 1959 – ∞)
|
|
|
|
|
I read it ten times, and asked myself - there is a better way?!
I'm not questioning your powers of observation; I'm merely remarking upon the paradox of asking a masked man who he is. (V)
|
|
|
|
|
Always nice to know in advance when you are going to stop supporting your code.
|
|
|
|
|
That is a future proof solution. I mean: you already know now that you will be called to apply a bug fix to it soon and can charge for your professional services.
|
|
|
|
|
For a certain value of professional.
|
|
|
|
|
|
|
Here's my zeroth law of software development, which I now share for your amusement:
NQ/t=c, where:
- N is the number of programmers on the project;
- Q is the quality of the final product;
- t is the time taken to develop the product;
- c is a constant
|
|
|
|
|
I thought 'c' would be the speed of light.
If your actions inspire others to dream more, learn more, do more and become more, you are a leader.-John Q. Adams You must accept one of two basic premises: Either we are alone in the universe, or we are not alone in the universe. And either way, the implications are staggering.-Wernher von Braun Only two things are infinite, the universe and human stupidity, and I'm not sure about the former.-Albert Einstein
|
|
|
|
|
I like it. And since the speed of light is a constant, you're right!
|
|
|
|
|
Dan Sutton wrote: And since the speed of light in a vacuum is a constant
FTFY.
"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer
|
|
|
|
|
Well, it's a constant in any medium. Just a different constant.
If your actions inspire others to dream more, learn more, do more and become more, you are a leader.-John Q. Adams You must accept one of two basic premises: Either we are alone in the universe, or we are not alone in the universe. And either way, the implications are staggering.-Wernher von Braun Only two things are infinite, the universe and human stupidity, and I'm not sure about the former.-Albert Einstein
|
|
|
|
|
I thought about it... but that's not strictly true, anyway, if you consider the relativistic effects of high-density, high-mass objects: in fact, "the speed of light in a vacuum around a given mass is a constant" -- but that's not true, either, because the speed of light is the speed at which one can circumnavigate the universe once in a period of one universe lifetime... and since the universe is expanding, that value is changing constantly (along with the size of a meter, and so forth)... so effectively, the speed of light is a constant only because we want it to be.
|
|
|
|
|
No. In a vacuum the speed of light is constant. No exceptions.
The light can be bent by mass, but not slowed down.
The universe is expanding, yes, so the light is going to need more and more time to travel across it, but the speed is still constant. No implications about it.
In fact, relativity states that the speed of light in a vacuum is the ONLY thing that remains constant in different reference systems. Which can get you down in a very deep rabbit hole: time shrinks and space expands, but whoever are you, wherever are you, you will still get around 300'000 km/s for a ray of light in a vacuum.
|
|
|
|