- 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
Now you're just beating a dead horse.
CAPTCHA: appellatio , don't even ask what my first thought was
Admin
Please don't reference that dumb movie. It should be left for pseudo-intellectual yuppies to revere.
Admin
Admin
Second page!
Admin
Oh come on. He could have at least put them in order so it's easy to tell if he's already covered the next possibility that needs to be added. en, eN, En, ...
Admin
Yeah, I know about that justification. Unfortunately, backward compatibility between legacy VB and VB.net is severely limited. I have actually never seen a direct port from VB 6 to VB.Net. It's much more common, in my experience, to see a rewrite of a VB 6 app in C#.
Admin
"Look, kid, it's dead horses all the way down!"
Admin
Please keep your nouns and verbs straight. This is a family web site.
Admin
I'm going to need some clarification. Perhaps there's some sort of snobbery I'm not picking up on?
Admin
This would have been a good place for some XML. Somehow. Right?
Admin
This reminds me of one time with Irish Girl. I thought I could probably get the job done in one short expression, but she kept wanting me to go again, again, again, again, again, changing my technique a little bit each time, again, again, again, bigger letters, bigger, bigger, what about something Greek...
Admin
Admin
so easy.
//untested.
Admin
OK, I stand corrected. There is a use for the legacy VB stuff. Out of curiousity, what was the application?
Admin
A quite common mistake... leads to infinite recursion. You have to beat the guy beating the dead horse, with a (dead horse - 1)
Admin
Verbing your nouns annoyings readery people.
Admin
Admin
Yo dawg, I heard you like dead horses, so I beat a dead horse with a dead horse while commenting about a dead horse!
Admin
TRWTF is that people seriously think that "applying some substring finesse" or regexes are a solution to this problem, as opposed to using URI parsing functionality built into the framework. URI parsing is hard if you care at all about getting it right, read the URI RFC - it's a nightmare
Admin
nowhere. not one verb in the original sentence was originally a noun. no idea what these morons are talking about, but I really hope it's not "revere".
Admin
I think he's refering to "reference". Which was a noun but is now definitely a verb in American speech as well as in computer science circles. I am certainly not going de-refer-to my pointers.
Admin
Admin
Reference is what is achieved when you refer. It's a common mistake, but so are drunk driving and voting Republican, that doesn't make either of them right.
"Dereference" is a domain-specific coinage with no counterpart in ordinary English, and it doesn't seem to like back-formation. I have a pointer and I'm going to use it to reference a variable? No, I'm going to point to the variable.
Admin
well, people have only been using reference as a verb for about 150 years, so I can see how one would get confused by these newfangled usages. I mean, my car gets 5 rods to the hogs head and that's the way I likes it.
Admin
The irony of it all is that I was originally poking fun at pseudo-intellectuals, which obviously butt-hurted you.
Admin
Awesome, this guy didn't know about the HttpUtility.ParseQueryString method that's been around for five years.
http://msdn.microsoft.com/en-us/library/ms150046.aspx
Admin
I love how elitist liberals have become!
http://www.youtube.com/watch?v=ZPQtjJ55SMA
Admin
According to dictionary.com, "The verb first is attested 1884."
Methinks someone fell victim to Muphry's Law.
Admin
Muphry's Law: if it's possible to commit a typo, you will. Muphry's Law, Daily WFT corollary: if it's possible for a website to contain a typo, it will occur at www.dailywtf.com frist.
Admin
Strawman. The language has nothing to do with it, other than VB makes non programmers think they can program.
Dim MyPage As String = Replace(Replace(Request.Url.ToString, "lang=gr", "", vbCompareText), "lang=en", "", vbCompareText)
THAT is perfectly acceptable VB. The original code is what happens when you throw a baby into the deep end of the pool
Admin
No, it was the language fail that gave me pain. Couldn't give a rip about Metropolis, except for historical interest.
Admin
I literally LOL'd.
Admin
Pointing out perceived errors in grammar on the internet is the height of pseudo-intellectual snobbery. Therein lies the irony. Keep up.
Bonus points for being wrong.
Admin
Dead wrong, even, dare I say.
Admin
Admin
fixed
Admin
LANG=XX
Just 2^4 * 1 /* the =-sign / * 52 / upper/lower case */ ^2
which gives us 43264 combinations. Some less because we do not need all 52^2 letter combinations.
Admin
YouTube's <embed>ded video URLs never have a ? in them. They work whether the first query-string parameter begins with a "?" or with a "&".
CAPTCHA: distineo (sounds like a Harry Potter curse, amirite?)
Admin
I can't wait to see his code for adding two numbers
Admin
Wrong? Try a little elementary morphology. "Reference" is a derived noun, derived from a perfectly good verb, "refer". Are you going to tell me that "difference" is a verb? I prefer to speak English, my friend. Or should that be "I preference to speak English"?
Admin
Convert back to the original Klingon. Klingon is predominately spoken in capitals.
Admin
Admin
When you say that it is perfectly acceptable VB, I believe you.
Admin
Admin
I'm on a horse.
Admin
Oh, why make it so easy and pad the numbers with zeroes? Would be much more, uh, interesting if you made it something like this...
MyPage = Replace(MyPage, "0", "0") ... MyPage = Replace(MyPage, "10","A") ... MyPage = Replace(MyPage, "16","10")
and even better if it ran from 999999 backwards... I'm almost tempted to write this just to see how it would come out...
Admin
Welcome to the world of MS case-insensetive coding that should not have been a problem with LaNg in the first place. I wonder if the handled the case where the parameter isn't actually the first because the it would have had a & and not a ? - but they can probably fix that too ;)
Admin
Very clean code that works, he-he.
Admin
Come on guys. Dead is an absolute. We mock the WTFs that make abolutely, positively sure that "something==True". The horse is just dead. Or NOT_FOUND.
Admin
Yo dawg, I herd yo like replacing Strings. So I replaced your String with a String replacement so that you can replace your String while your String is replaced, dawg.