- 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
Managers should seldom be writing code. The fact that his manager was the moron who wrote that piece of crap in the first place is just further evidence of that. Managers should stick to what they are being paid to do: manage people. Let the developers code.
Admin
Semantics aside, and as said before, it's more like 1/3.
Admin
On a project long time ago we programmed, in the long nightly hours, a few screens with choices "Yes", "No" and "Maybe", where Maybe had a 50/50% for Yes or No.
Next time I will add "Save the Presidents Daughter" as a choice.
Admin
Dirty, dirty errors :)
Admin
Admin
Admin
Admin
Addendum (2013-04-25 12:19): And now we know her name is katy.
Admin
I believe there is nothing wrong with having developers manage people so long as said manager is both a competent manager and developer.
That being said the code this man wrote proves that he was not in fact a competent developer.
Admin
Least Common Denominator: 2/4 = 1/2
A two-headed coin has a 100% chance of heads.
Admin
Admin
The real WTF is writing this in a JSP scriptlet. See the %-less-than tags.
Admin
Jhonen Vasquez, the genius behind Invader Zim, also wrote comics such as Johnny the Homocidal Maniac, Squee, Happy Noodle Boy, and Fillerbunny. Oh, and Everything Can Be Beaten. Check those out to see what type of mind he has.
He did incorporate that dark side into Invader Zim. Which is why the plug was pulled on the show so quickly.
Admin
The correct spelling is "fiends".
Admin
This sounds like a great way to have fun with the testers, though. Tell them that before they submit a bug report, they must be able to reproduce the problem. Then throw in some code like this, but make one branch of the IF actually work. So 2/3 of the time the program works, but give the exact same inputs and 1/3 of the time it doesn't work! Way cool!
Admin
They had to promote him to management so he wouldn't be coding any more.
Admin
That project is garbage! There is no Source.THE_DAILY_WTF
Until then, I'm not using it!
Admin
Admin
Closer to 99.9% repeating, of course. Infinitesimally small and easily/practically ignorable.
Admin
If it's half the time, why did the OP just start seeing this error now? The article makes it sound like this was not a fresh commit.
Admin
What's up? More than one page of comments and no obligatory xkcd reference?
Admin
So, now we have a definition of insanity?
We always try the same thing and expect different results?
Now this is a computer program that guarantees the person is insane!
What a country!
Admin
This is so obviously for A/B testing purpose...
Admin
Why hasn't anyone said that Java is the TRWTF yet?
Admin
Admin
You mean "coincidentally." It would only be ironic if the manager had implemented the code for the express purpose of preventing erroneous redirects and exceptions.
Admin
Definitely @ObligatoryQuote(quote="maybe I needing later", source=Source.THEDAILYWTF) for that whole module…
Admin
That's not ironic at all. 90% of all software issues are the direct result of management decisions.
(CAPTCHA: "damnum" -- those managers, damnum all to hell!)
Admin
I see one of two possibilities here:
(1) This is an actual 13-year-old who somehow wandered into this thread where the word "random" is of genuine significance.
(2) This is the next level of impersonation, putting all past Nageshi to shame.
Admin
Admin
As our famous director Mr Karan Johar says, originality is dead.
Admin
"im 13 years old (im mature 4 my age tho!!)"
If this is true, then I can only suppose that teenagers nowadays are rarely out of diapers. I am seriously depressed for the world.
Admin
More elegantly stated as, "Simpsons did it."
Admin
No, the original text, "Brian could reproduce both results at will," most certainly implies that Brian could choose which error he got.
Admin
My first guess was that it's satire base on the popular misuse of the word "random" (among other things), but... why?
Admin
He went to Will -- met him at his house -- and reproduced the results.
Admin
You must have missed that year of calculus. :(
Admin
heh
Admin
Admin
Cuz they also rolled their own "random" function?
Admin
I love it when you show me dirty errors.
Admin
Admin
Nonsense.
Schopenhauers said you can will, but you can not will to will.
You will all die.
Die.
Admin
So "... some students either begin to disbelieve the first equation or simply become frustrated."
Admin
Aaarrggghhh, I want to smack people like you. Just because I've come to learn what prompt to expect doesn't mean I'm not giving the answer any thought. I should be able to provide my intended (and thoughtful) answer in a consistent way every time. The keys on my keyboard don't change positions randomly, yet I still manage to type out what I intend to type out without looking at the printed letters on the keys.
Rule 17 of UI design: if you think you're clever enough to outsmart the user by interpreting what they really want based on what they say they want, you're not.
Admin
Forgot to quote the guy who said he likes to randomize the order of Y/N prompts to users.
Admin
If you're frustrated, that's not my problem. Maybe consult your doctor.
Admin
If he's reproducing with Will, I take it "Will" is short for "Wilhemina".
Admin
Everything about this entire thing makes my insides sad.