- 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
FIRST! BRILLANT! BRILLANT FIRST!
Admin
Of course the l33t haxors may have stolen your code, seen this gem, and been scared off... in which case it did its job admirably.
Admin
Writing your code like that is a sure way to make sure it doesn't get stolen.
Admin
Why wouldn't it do anything? Does VB always treat "if someBoolean=true" as "if someBoolean<>false" ? Because I clearly remember warnings about about remembering to pass VARIANT_TRUE instead of TRUE when calling VB functions from C using COM.
Admin
Uhmm, your last link is to the Champions Trophy, not the Confederations Cup. You fail as a spambot
Admin
Come on, man, it's "FRIST". Also, the article says "lead" rather than "led", if that concerns you.
For some reason I have a pressing urge to check out the FIFA Confederations Cup 2017, even though I don't really know what that is. Strange.
Admin
omfg 5p4mb07 4l3r7
Admin
Raymond Chen's blog is like TVTropes for developers.
Admin
Of course boolean can hold some other value than TRUE or FALSE: FILE_NOT_FOUND!
Also, maybe I should watch the Confed Cup after all. I've seen some nice ads for it lately.
Admin
Sorry, REAL football is played with guys in helmets and pads, with a pointy ball. None of this wimpy round ball no touchy stuff.
Admin
No, that's US handball. They call it football, but they are clearly using their hands. :D
Also I think reCaptcha needs to fetch their intern from the cofveve machine and make him fix their stuff.
Admin
Not to mention that another thread (unlikely in VB) could change the value of "var" between the first test (from false to true), so that the third error branch is taken.
Admin
Real football (or footy) is played by real men without pads/helmets (but with real take-em-to-the-ground tackling), who don't get to stop for a breather after every 15-second play.
Admin
As someone pointed out, that's handegg. And it's pretty funny that you mention the form of football that's played with helmets and pads when there are at least 3 variants where the players are not protected like that.
Admin
So unless the spam goes away I will
Admin
I write code that's run in high-radiation environments. It's quite possible for booleans to end up with values that are neither TRUE nor FALSE, and the code does check for this and fall back to the last checkpoint and retry. So it's not always a WTF.
Admin
following you logic Paola should be Ben, not Bean
Admin
isFalse(boolvar) { retun sql_escape_string(Boolean.toString(boolvar)) != sql_escape_string(Boolean.toString(!false)) ; }
I always use this one to protect against hackers:D
Admin
I take your "real" "football" and raise you Rugby football. That's like your American football but without the helmets and pads. (Yeah, some of the guys do wear some padded headgear, and you also see the occasional gum-guard, but none of that mini-tank stuff.
And if you really feel fit, I offer you Aussie Rules football.
Admin
That must be awesome. Code for an untrustable environment, probably heaven for any paranoid nerd.
Admin
Association football (soccer) actually use pads, but the pads are hidden inside their socks
Admin
Hand-egg, actually. Balls are round; that thing they throw around with their hands isn't.
Admin
Mine aren't round, much more closely resembling an egg than anything round.
Admin
I'm not familiar with VB, but doesn't a single equals sign mean 'gets'?