- 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
Admin
We have a winner!!
I've worked in organizations that have thousands of files stored in a single directory, with dates as their file names, formatted dd-mm-yyyy. WTF???
Admin
Admin
Admin
Wow, my softs never do that? Do you have a 3D printer or something?
Admin
Admin
Admin
Ah of course, because otherwise you'd need a separate table to configure whether (x / 0) was NaN or Infinity.
Admin
Reminds me of the TDWTF-contest. There was a calculator which used the Google search engine to do the math.
Admin
Actually, ceil() would be appropriate in this case, since the goal is to find out how many pages it takes to print all the rows (apparently). Using floor(...) + 1 would result in a useless blank page if the number of rows is evenly divisible by 56, but ceil(...) would not waste any pages!
Admin
CYA
Admin
No, it's too hard! VB.Net can do integer division:
Admin
Wow, if this is for real it's a beauty. Haven't seen a WTF as egregious as that in a long time.
Admin
The whole MM/DD/YY thing is crazy because there's no nice linear progression there. Year > Month > Day works (and is good for sorting), as does Day < Month < Year.
So there. Of course, some people couldn't care less about whether things actually make sense or not...
Admin
I know someone who uses Excel to make blueprints for furniture.
Admin
You're a genius!
But does one pronounce it W-T-F-uary or Whathefuckuary?
Or maybe Worsthanfailuary?
Admin
No wonder it was his last day.
Admin
Precisely my point. Since some groups find the numeric form "retarded", I figured they may find that written form equally "slow", so I thought I would save time by providing a likely origin for it as well.
And, as I posted shortly after, there is significant inertia in moving to a, so-called, "intelligent" numeric date format because children are taught that that is "just the way it is". By the time they have the insight to be able to realize it is odd, they're used to it. Never underestimate the human ability to accept the perceived status quo, no matter how stupid or annoying.
Admin
And that was in response to this. Forgot the quote.
Admin
Just shocking.
I've seen examples where someone coded a RNG in a Java plug-in (or bean or whatever they call them) because he was too lazy to make up a big enough seed in the native RNG.
It took all of two lines to get the date in seconds plus milliseconds of running time mod 1000 for 30+ billion seeds in a year (fairly uniform, too - global site active 24/7).
Despise Java with a passion...
Admin
The real WTF is that 'Month - Day - Year' is considered a standard! it makes no sense at all!
Admin
Which indicates that not only did someone write that and put it into production, but at least one other person looked at the code to determine what it did in order to add that comment, and didn't see anything wrong with the SQL call.
Admin
Admin
Best comment ever!
Admin
I might be missing something here, because the answer to this is too obvious.
The last time I checked, Visual Studio 2010 was still a beta product.
Admin
I work in a place where powerpoint is the program that management uses to write documentation. I've tried to explain to them a number of times just how retarded they are. And I still didnt get fired the last round of layoffs. Instead they seem to appreciate my honesty. >.< they even told me so on my last IPM, and gave me a 1000 bucks raise.
Argh!
I have to get out of here.
Admin
Now it wasn't really HP's fault, because they hired Solectrum to provide repair to Pavillion notebooks and that was their way to do it. The interesting part: I was just an undergrad, in a student company (sorry, but I don't know what are they actually named in english). We did a job so good that this project saved HP a couple millions per month and shortened the time a notebook stayed in repair. It didn't take long to have it spread to every other HP repair center; at least that's what I heard later (because I had to leave before the project was over due to my graduation).
Admin
Yeah right.
"How do you disarm the alarm?"
"..."
"Well?"
"There was a little man ... in his hair."
Name the show and you win five pounds.
Admin
hmm using SQL and a database to divide a pair of integers... Yeah that's a Real WTF.
I mean that one got me. I was reading along with the function declaration, everything was in order (except that it was totally ridiculous that it existed) and then the SQL hits wham!.
That's insanity.
-- Furry cows moo and decompress.
Admin
In Humor's name, I LoL at thee! :-D
-- Furry cows moo and decompress.
Admin
Yes, and the instructions are written such that if any exception on fly swatting should occur, the account is to send the box back empty, and you then proceed to send that empty box along to whomever called you, again with no explanation. Well, I guess that way the beta testers have more of a challenge, eh?
-- Furry cows moo and decompress.
Admin
For those who doubt whether this sort of thing happens in real programming, I've seen similar things. I once had a colleague whose code for removing duplicate items in a list (in Java) opened a socket to a database, created a database table, dumped the list into the table, and then did a SELECT DISTINCT on it. This person had previously bragged about getting an A in a graduate-level Algorithms course at university.
Admin
Admin
So then why don't you write 'June 10 (2009)'? Or you could make '2009' a footnote - footnotes are used when reading of the text in a footnote is optional.
Admin
I can always count on thedailywtf to make me feel like a good programmer