- Feature Articles
- CodeSOD
- Error'd
- Forums
-
Other Articles
- Random Article
- Other Series
- Alex's Soapbox
- Announcements
- Best of…
- Best of Email
- Best of the Sidebar
- Bring Your Own Code
- Coded Smorgasbord
- Mandatory Fun Day
- Off Topic
- Representative Line
- News Roundup
- Editor's Soapbox
- Software on the Rocks
- Souvenir Potpourri
- Sponsor Post
- Tales from the Interview
- The Daily WTF: Live
- Virtudyne
Admin
Hey, and I have to wonder: If the government is paralyzed into inaction, does this mean that civilization has crumbled and everyone is starving in the streets? I mean here in the U.S. we are repeatedly warned that if the government were to shut down for a few days over some legislative deadlock, that the economy would collapse and everyone would die. For of course, how could anyone possibly run a grocery store or a factory without a horde of helpful government bureaucrats to explain to him how to do every step of his job?
Admin
We don't have to. The present government of China has already taken care of that.
Admin
Umm, I think slavery is pretty much the oppposite of a free market by definition. I don't doubt that slavery was economically beneficial to the slave-owners. I don't doubt that government subsidies are economically beneficial to those who receive them, that laws preventing new companies from entering a market are economically beneficial to the companies who are already in that market, etc. But "somebody makes money from it" != "free market". Under every economic system that's every been implemented, SOMEBODY makes money from it or they wouldn't have set the system up in the first place.
Admin
Admin
Admin
My guess is that the report developer was using the system date as a sort of global variable. Hence the temporary assignment to a user-specified value, after which it was changed back.
Admin
"V" being an indicator of the Version of the date format. Gotta be future-proof, in case the format changes.
--Joe
Admin
People are missing something here. The developer wasn't TRYING to set the system date. Rather, they neglected one of the ironclad rules of programming, which is to avoid using a word such as "Date" as a variable name, and they accidentally reset a system value.
Unfortunately, older versions of VBA don't require you to declare a variable before using it unless you put "Option Explicit" in your code to force declaration. So if you don't force it, the report will compile without the variable being declared.
So yes, the real WTF was the bug in VBA that allowed this to happen, but it's also the fault of a bad programmer who didn't follow protocol.
Admin
Sigh. No, sorry, you don't seem to understand. Go do a bit of reading. Your task: find out how the failure to assemble a government in Belgium affects government services in that country. Explain how that's different from what happens when lazy legislators in the US decide they don't want to do their job after all and go on strike.
(come to think of it, why don't we use the Reagan solution? If the republicans don't want to do their jobs, we just fire them and find replacements)
Admin
Oh, go to hell with that "first" or "frist" already - all of you that are competing to post it. Frist, it's become boring. Sceond, I'm tired of wasting time on comments that don't say anything useful, funny, interesting. This goes for all others that want to post something but don't have anything cooking in their mushy brain. Geez
Admin
...(and everything else)...
Right, like street addresses
Admin
I thought the southern states were over represented since they got to count slaves as 60% of an adult voter. Some people think history is written by the victor but actually everyone gets to rewrite it a little to suit their point of view.
Admin
This clearly means that the old gravestone format "YY dd/mm YY" is the winner :-)
Admin
True. Nice trick, that. Get the slaves counted towards the electoral representation that they didn't actually get to vote in, so their very existence supports their slavery.
Admin
Admin
Admin
The Real WTF is the American-style date pattern (really - month/day/year - what sense does this make? Its even crappier than not using the metric system for distances :-P ).
Admin
It's actually "United States", Mr. Informed.
Admin
Admin
You got any better proof than that? I guess you should know since it is your country but the constitution refers to it as the United States of America.
"We the People of the United States, in Order to form a more perfect Union, establish Justice, insure domestic Tranquility, provide for the common defence, promote the general Welfare, and secure the Blessings of Liberty to ourselves and our Posterity, do ordain and establish this Constitution for the United States of America."
Admin
Usually the real wtf is VBA, but then again some moron at my company managed to do something similar in Java. For some reason they thought it would be a good idea to parse a timestamp out of a filename but didn't think to parse by locale. Apparently no one thought to try it in a different locale, even though we "support" them all. It actually got out the door until the fourth customer was European ... FAIL.
Admin
@Bort: so that's why you write prices like "$1.50": because when you say it out loud, it's "dollar one fifty". Got it.
Admin
You should have told the French this when they came to your rescue when we were kicking your rebellious colonial butts :) If you did you would be speaking proper English and not American !
Any unfortunately yes, I have seen things like this happen when the dev team cannot give a damn and file away strange bugs linked to internationalisation when a few tests and some common sense would have pulled an answer and an easy fix - in an alphabetically ordered list, why did "AA*" come after "ZZ*" in an ordered list only on Danish versions of Windows? => AA = non accented representation of the Danish 'circle A' letter which they consider the last letter of the alphabet... Nailed in 5 minutes by a system support dude when the dev team filed it for no further action as not reproducable...
Admin
Uhm, except the Frechies aren't the only ones in the world that think the Yankees are wrong - in fact, does anyone other than the yankess use MM/DD/[YY]YY ????
Admin
Zigactly. Makes far more sense to start with largest units, then sub units - sorting by date is easy, provided you use Full Year, Month, Day (bit of a pain if we use 2char year, but)
Admin
Uhm, once they're out of order, I'm not sure it matters how much out of order they are - there's still a problem.
Personally (goign against what I just said), I think it makes more sense to have the ddmmyy over mmddyy, because there is still a logical order (ascending to the more general, rather than descending from the most general).
Now let's consider where time should go in the big equation....
Admin
For internal date representation in XML, JSON or other format I stick on ISO 8601 full date format with time zones (YYYY-MM-DDThh:mm:ssZ) as this is the only standardized and painless parseable time format.
Admin
Yeah, right - current time is 555 milliseconds, 15 seconds, 56 minutes, 8 hours, of 11th July, 2011.
There is no PROPER way. All formats are good (they tell correct date/time, ain't they?). The problem is uniformity, and the only solution is to pick one and convince all others to start using it instead of theirs.
Admin
It doesn't matter what a country calls itself. It matters what the rest of the world is calling it. There are numerous countries and places globally not known [at all!] by its native name. International name for this piece of land is "United States", it's global country code is "US", and it doesn't matter what the US will internally call itself.
Admin
Or, the other way around, rather. :)
Admin
I always wonder how and why it is that Americans do not, on a linguistic but also, too often, on an intellectual level, make a distinction between:
a) The State, i.e. the set of institutions to which we the people delegate the organization of basic services necessary to a modern society (the appropriate level of which can of course be debated), and
b) Government, i.e. elected officials in charge of top-level management of the latter.
If the Belgian experience proves positive, it will vindicate the technocratic worldview, certainly not the libertarian one.
Admin
Big endian dates: one of the few things that my country (Hungary) got almost right. ("/" as separator would be a lot better though.)
Admin
I get bugs like this all the time. One of your tests should ALWAYS be to try using the locale of the bug reporter. It should be one of the FIRST steps if you're talking about dates, times, currency markers, decimal place markers, etc. They would have fixed the bug in a day rather than years.
Admin
"Even this american non-developer figured out in the first few lines that the problem lie in the backwards dates in the rest of the world" Fixed that for you... oviously, any non-american standart is the backwards one ;)
Admin
I would propose it is the American dates which are backwards...
Admin
And that is what makes VisualBasic the most awesome language in the world! Completely error-free!
Admin
TRWTF is not using a Time Server. Any date change would be soon reversed away by re-sync to the proper time and date.
It's tedious working on Windows networks where the time is always a few minutes wrong because the admin can't synch to accurate time on the net!
Admin
You're overlooking linguistics. The pattern is not based on the content but the linguistic structure. There is a rhythmic pattern and a social construction at work. For much of the 20th century the year 2000 was presented as a behemoth event by media and culture. "~**The Year TWO THOUSAND!!!! **~" It constructed the idea of 2000 = TWO THOUSAND in people's minds. The rhythmic flow will likely completely take over around 2013 when "twenty thirteen" escapes the lips much easier than the encumbered "two thousand thirteen"
The actual logic of what the words represent is almost irrelevant. Nineteen Ten could mean "Nineteen (hundred) and 10" or it could just mean the number nineteen standing next to the number 10 which together means 1910. When formats become language they abstract themselves from any foundation.
Admin
thanks for info
Addendum 2022-10-23 08:54: I can say that right today, politics and everything else are obviously so intertwined with our agenda that we cannot function without them. For instance, everything began on the day of the independence proclamation. I advise you to go on the website regarding the get the facts and read a number of writings about it. You'll discover a lot about yourself. I believe it will be beneficial.