I'm betting it's debug code. OC can call those functions to turn off annoying elements while s/he's worring about other stuff. Are the functions called at all?
~Sticky
I'm betting it's debug code. OC can call those functions to turn off annoying elements while s/he's worring about other stuff. Are the functions called at all?
~Sticky
@mikeTheLiar said:
@DumbByAssociation said:From our code base... x is a List...
<font face="Lucida Console" size="2"> if (x == null || x.Count <= 0) </font>What the hell was going through the developer's mind when they wrote that? *head-desk*
Am I missing something here? Here's how I'm reading that:
If x is null OR x is empty (count less than or equal to 0). Yes it's a stupid way of writing it but I've seen much bigger WTFs.
If x is null, it will throw an exception on 'x.Count'. So, you check if it's null first, and if it is not null, you check for x.Count.
~Sticky
@bjolling said:
@rohypnol said:
Easily. The financial institution I'm currently working for closes their system at 8pm and re-opens at 6am. Every instruction that is received between these times is held in a queue until the system opens again.@Pjotr G said:
a nightly batch running transactionsThat takes five hours?
A queue you say? What bank is that, cause I'm interested in opening an account, and writing a script to deposit and withdraw $1 over and over again 2^32 times just to see what happens.
~Sticky
Why does a web application need a release number? Do they happen to have another IEEExplore floating around the internet somewhere?
~Sticky
@DOA said:
I can see the support call...
"Hi, my computer has run out of files"
"I'm sorry?"
"It says it run out of files. Where can I get more?"
"..."
"Well, it turns out that you can buy extra files from Microsoft's ID10T program. The ID10T program is designed for power users like yourself who like to run our products to their edge. Can I get your credit card number?"
"Well SURE!! I didn't know they had programs for people like me!"
"Yessir, ID10T was designed especially for people like you."
~Sticky
@D0R said:
- Hey! No! Stop! STOP! You aren’t allowed to answer the phone! We cannot sell a customer a cell phone with some conversation time used. That wouldn’t be fair!
What, didn't you know that phones are like cars? When the odometer/call-log reaches 100,000, they cancel your warranty!
~Sticky
@The General said:
@pitchingchris said:
How do we know that the author isn't referring to the cologne? Maybe he wanted a variable that smelled good.Or whose contents weren't vulnerable to Brut-force attacks.
There is a special place in hell for those who use bad^h^h^h puns, I think it's right next to the Flatulant Beast of Sauerkraut's bedpan.
May the Flying Spagheti Monster have mercy on your soul.
~Sticky
Just Came across this in an old post.... (Scroll all the way down)
http://thedailywtf.com/Comments/Errord-After-Dark.aspx?pg=2
It's seems the DailyWTF's captcha has been cracked. Looks like spam to me. I wonder how many other old thread have been spam jacked.
~Sticky