- 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
Of course, the inevitable happened and a couple of them asked "What do you mean, 'E-mail'? What's that?"
"Well, you know, when you send mail, on the computer."
"Oh, you mean my Hotmail!"
Admin
In which case you might want to duplicate that code three times to verify that the result is the same for at least 2/3rds majority.
Admin
Or if they were using PHP in a non-satirical way:
Admin
I'm slightly ashamed to note that I have a perl script kicking around on my development machine for when I am coding. All I do is write a simple function once:
for ( x = 0; x < passStr.length; x++ ) { x = passStr.indexOf(GITSNIK_ONE, x ); if ( x > -1 ) { pswdAlpha = pswdAlpha + 1; } else { break; } }
And then executing the perl script with a number of iterations and a foreach in loop. I'm actually rather ashamed now, but it has led to some seriously long code that I didn't actually have to write.
Of course I just kick it off and have a few games on the Playstation at this point. That's where my billable hours come from.
Truly shaming now that I think about it.
Captcha: Ingenium. Heh.
Admin
Interesting. Your name appears to be Indian. Am I wrong?
Admin
I might have mis-understood your post, but why should that matter? Using something like Firebug, you could easily change the Javascript to your will and submit the form, thus defeating any 'validation' you had in the form.
Admin
What is really depressing me is the huge lack of knowledge, I mean, loops where invented arround 1940, subroutines in the 1960ies, Regexps in the 1970ies, JavaScript APIs in the 1990ies. How do those poor people get along with a business of programming? Sigh.
Admin
Yes, it is; it's just in a different place. If this is generated code, then the WTF is in using software that generates this quality of code for an application like this.
Admin
Wohaa! Did the Lotus guys invent their very own regular expression syntax? It sure doesn't look too familiar to me:
C: C is any character. Matches any single, nonspecial character C ?: Matches any single character *: Matches any string (any number of characters) {ABC}: Matches any character in set ABC {AFLR}: Matches any character in the sets A...F and L...R +C: Matches any number of occurrences of C
Admin
Hey, no it's not ...
http://wordsmith.org/anagram/anagram.cgi?anagram=Lotus+Notes&t=1000
However, some good anagrams are:
To lose nuts Loosest nut UnSet stool Us lone tots
and, my favorite, "Tootles," sun!
;-)
captcha: Darn, I got the "genitus."
Admin
Not that I think anything about this necessarily has anything to do with "Outsourcing," a convenient bugaboo for personal insecurity, masked racism, and cowardice.
You go ahead, though. Whatever makes the little lights in your fairy tree twinkle.
Admin
BINGO! This got me thinking that the person that wrote this code may actually be quite clever. Hear me out ... ;-)
Imagine, in five minutes, s/he could have written a program whose output is "this disaster." Then s/he'd be free to play nethack for the next 2-3 hours. A non-coder would look at the 700 lines and think "nice" (whereas us visitors to the daily wtf look at the 700 lines and think "NICE").
Admin
Maybe sufficient to check, that the numbers of characters, capitals, numbers, and special characters match ?
:-) Lars
Admin
Or a php programmer
I mean real programmers are lazy right?
Admin
hmm, next time i'll read the comments before posting.
Admin
That's synonym, not anagram.
Admin
Ha ha, no, I wasn't attacking him, nor saying that his being Indian undermined his argument. In fact, an Indian speaking out against outsourcing, by itself, wouldn't actually be in any way an argument against outsourcing - that would be like assuming a woman commenting about woman drivers was strengthening the argument.
It's my fault for having made that comment without providing any context, in a way that seemed to support one side of the argument (I haven't expressed an opinion for, or against outsourcing). My apologies.
It was just that being an Indian myself, I was a bit surprised to see a fellow Indian seemingly against outsourcing. If so, I would have wanted to hear his stand on the subject. That's all.
Admin
Actually, it does. When the passwords don't match, the system will spit out the following Javascript alert:
"The password entered in the New password Confirmation field does match the New Password!"
Ohno! It DOES match! We can't have that, sir.
Admin
I loled for like 20 min.
Admin
Not only that, but by using a for-loop for letters and not for numbers, if there is e.g. more than 0 'a''s in it, it counts as passStr.length 'a''s...