- 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
Why do I feel like a bounty hunter is after me?
Admin
You must be getting paranoid. Nobody's after you. Now just relax and go about your daily routine as normal.
Admin
For me, this 0!=0 snippet very much looks like a desperate implementation of debugging code, disabled for the final runtime version. Not clean, not standard (like #ifdef debug or something like that), but working, kind of.
Admin
Maybe the Jerky Boys do web site development now? http://www.ebaumsworld.com/audio/play/80777044/
Admin
Well, only math types are that desperate to proof obvious statements. Engineers just assume their interlocutor can sort it out.
But you have a point. The possibility that the program may somehow start functioning after you remove a statement is non-trivial.
Admin
Admin
shouldn't the stories be anonymised ?
Admin
Also, the 0!=0 is obviously server side generated from a template which supports placeholders, like {MAGIC}!=0
Admin
I detest the auto-timeouts that are rampant on financial sites like that; any time I need to get up to use the bathroom, answer the phone, or get coffee, or even spend more than a momentary length scrutinizing my statement on the screen before clicking something to move on to something else, I get unceremoniously dumped from the site and have to log in again and re-navigate to the thing I want.
Admin
So, are we going to have another day without a wtf? WTF?
Admin
That's great, soon he will be able to feel those kicks. Right now he's like a walking heavy bag...
Admin
Yo dog, imma let you finish, but javascript is the best language evar.
Admin
TDWTF is TRWTF
Admin
Bank security is no joke. Security makes everyone's life more difficult/annoying, but that's part of living in a world where others will take advantage of you if you don't secure things of value.
Admin
I wonder if the government has a field in citizen records called "WasBucketKicked"?
Admin
Admin
he must be a lolcode programmer forced into javascript to pay the bills.. that could explain it all.
Admin
The original post left out the fact that this JS excerpt was taken from another file named michael_vick.js
Admin
Admin
Admin
Admin
Admin
Or is kicking this dog an adage such as kicking the bucket?
Admin
Admin
shouldn't the script reference Michael Vick somewhere?
Admin
In EverQuest 2 there was an instance where you had to kick a cat to pop a mob, but loads of people complained so they changed it to a bucket. It's a freekin' video game ffs!
Admin
Admin
sniffsniff* Obvious Troll is obvious.
Why you kick my dog?! Now my dog need operation!
Admin
Shouldn't this code be reported to the RSPCA? Animal cruelty is no laughing matter...
Admin
FTFY
Admin
One WTF in the last nine days. What happened to the "daily?"
Admin
So, the last real wtf that we had was on the 16th or the 17th of this month (some say that the photoshopped and recycled Error'ds may be amusing but not really a wtf)
December 21th: Boss reads employee email--not a wtf, happens everywhere. December 22nd: A comment is old/inaccurate--not a wtf if you've ever maintained any code. December 27th: Someone wrote a timeout that used the "watchdog" terminology found in any freshman-level networking class--is the wtf that Alex never took a networking class?
Normally I don't complain, and I realize that some people are off of work, but for those of us without vacation, we are enduring the boredom of desk duty and a little TDWTF is what I need after I've read all of CNN, NYT, NYPost, Google News, Digg, ...
Admin
Seriously, who wouldn't kick one of these? [image]
Admin
Admin
Admin
Admin
Well not really WTFesque. Not the best variable name (but then it's local and not too confusing) and using something like if(false) to escape code isn't that rare either (e.g. the language doesn't allow nested multi level comments and you for whatever reason haven't found the shortcut by your IDE to comment out multiple single lines [ctrl-7 how I love thee]).
Not the best coding practice but I don't see why that'd make maintaining the code especially hard.
Admin
If you find bog-standard computer terminology funny, you must be the kind of person who still laughs at man-page jokes.
Admin
Similarly, I begin every program by cat'ing a hundred meg of /dev/random into a file, and then removing the bytes that are wrong.
Admin
Admin
Admin
I have: Trained big cats. Pretty scary, actually; they don't bark, they just attack.
Dogs work better: Easier to train, and they scare tresspassers off BEFORE they enter.
Admin
I have: Trained big cats. Pretty scary, actually; they don't bark, they just attack.
Dogs work better: Easier to train, and they scare tresspassers off BEFORE they enter.
Admin
Have you stopped kicking you dog yet?
And, silly boys; you SKIN a cat.
Admin
Und zey are zupah zafe, ya?
Admin
Yes, the author was talking about a watchdog. Duh. If you feel the need to explain it, you're taking this site way too seriously.
Admin
When I'm at home by myself accessing a bank site, who am I being protected from when the session times out?
Admin
How's that working out?
Admin
Evolution (the process not any particular branch) always wins.
Admin
TRWTF is that
in his code.