| « Prev | Page 1 | Page 2 | Page 3 | Next » |
|
most clueless way of counting the spaces ....
<?php $howMushSpacesIsOutThere = 0; $countSpacesInThisWord = " "; while ( ($countSpacesInThisWord{$howMuchSpacesIsOutThere} != '' ? ++$howMuchSpacesIsOutThere : 0)) ; print $howMuchSpacesIsOutThere . "\n"; ?> speaking of devil captcha: clueless, really! |
Re: Coded Smorgasbord: The Pilot Episode
2006-10-02 05:10
•
by
HardCoder
|
wtf!! CAPTCHA Test
|
Re: Coded Smorgasbord: The Pilot Episode
2006-10-02 05:12
•
by
piersy
|
|
I suppose it's just possible that there was som logic embedded in a trigger or something, which would be something of a wtf in itself if this was the way they went about applying said logic.
|
Re: Coded Smorgasbord: The Pilot Episode
2006-10-02 05:26
•
by
egilhh
|
You just can't beat http://www.expertsexchange.net
~egilhh |
Re: Coded Smorgasbord: The Pilot Episode
2006-10-02 06:12
•
by
hpeg
|
|
Guess it's better than a method called "howToTellYourProgrammersAreLackingSleepAndHighOnCaffeine" or placeholder constants like: public static final String GLOBAL = "Girls #18 Fujiyoushi Dead 41 to go"; |
|
MakeCum is very funny. I can't help thinking though maybe it's accidental. It is possible. > ROLLBACK DICK |
|
What does captcha mean? Is it more brilliant than a paula bean? can someone give me a link to the wtf article about captcha?
|
Re: Coded Smorgasbord: The Pilot Episode
2006-10-02 08:13
•
by
csrster
|
Agreed, but what a shame they forgot the "finally" clause with the same code. |
Re: Coded Smorgasbord: The Pilot Episode
2006-10-02 08:32
•
by
The Big D
|
Maybe the original unobfuscated code was C++? |
Re: Coded Smorgasbord: The Pilot Episode
2006-10-02 09:42
•
by
David Zimmerman
|
Besides, COMMA is much esier to spell then DELIIMTRER |
>> Price = 0e-5; /* J.Palmer 1999-11-15 - I hope it's not a bug */
Reminds me of a system I once worked on, where one of the comments that had survived months of source-code check-ins was something like: / * This doesn't work - need to fix on Monday */ |
How many parcels could a processor process if a processor could process parcels? |
Re: Coded Smorgasbord: The Pilot Episode
2006-10-02 15:44
•
by
IndyHarcourt
|
|
Nah. It's easier this way: string twentySpaces = " "; And yes, I do envision the Battlestar Glactictica making out. Is there something wrong with that? |
Re: Coded Smorgasbord: The Pilot Episode
2006-10-02 17:43
•
by
Adam
|
You are all missing the true humor of this one: Support: "I'm sorry, I don't know if I can help you with this. I'll stick it in My Pants and Julia will handle it as soon as possible." captcha: jiggles ... I think the captcha system is getting in on the grade school humor. |
|
i liked this wtf... particularly because i know the guy who's company developed the jetstar website :)
|
Re: Coded Smorgasbord: The Pilot Episode
2006-10-03 01:22
•
by
Marc
|
To illustrate; my bank offers a statement download facility; you can choose Money, Quicken, etc, or "csv"; and guess what the delimiter is? Tab Now I'll grant that many spreadshets copy/paste better with tab, but why call it csv? Marc |
Re: Coded Smorgasbord: The Pilot Episode
2006-10-03 08:37
•
by
Engelbret Gunderson
|
|
It must be important to do this 'checkpoint' thing no matter what at least once a day... while ((i=WaitForSingleObject(m_hCheckpointEvent,1<<20))!=WAIT_FAILED) {
|
Re: Coded Smorgasbord: The Pilot Episode
2006-10-03 13:05
•
by
cindypsych
|
|
No, it's data rhymes with pat-a or that-a. I think it's a WASP thing.
|
Re: Coded Smorgasbord: The Pilot Episode
2006-10-03 13:08
•
by
cindypsych
|
|
Because if it has a .csv extension Excel will open it without having to copy/paste or import. Just double-click the file. And it has to have tab delimiters because too much real data often contains real commas.
|
Re: Coded Smorgasbord: The Pilot Episode
2006-10-03 13:14
•
by
cindypsych
|
Aw, come on. What about www.therapist.com the-rapist-dot-com therapist-dot-com |
|
Luckily, I've never worked for "this" company, but one of our vendors does act like that.
We ran into a serious problem involving the two different programs we use (one for data capture, one for data analysis). Turns out that program A wrote a bunch of data with "block sizes" too large for program B (I assume it's because they used a fixed-sized buffer instead of reading the block size and allocating memory dynamically, a wtf on it's own).
|
Re: Coded Smorgasbord: The Pilot Episode
2006-10-03 15:16
•
by
Anonymous
|
And somehow, I posted this in the wrong thread! WTF.
|
Re: Coded Smorgasbord: The Pilot Episode
2006-10-03 15:40
•
by
Savaticus
|
I guess no regular users will use the application on Sundays, so it is safe to assume that anyone using the application on a Sunday is an admin. At least until some user figures out if he changes the date of the PC clock to Sunday then you will get full admin privileges The only problem with this idea is that the code was inserting a url link, which implies that this is a web app and therefore a serverside program. WHich means the user machines time settings would have no effect on the execution of this code.
|
Well, at least this guy knows his history: http://en.wikipedia.org/wiki/Comma_%28punctuation%29, see under History. |
Re: Coded Smorgasbord: The Pilot Episode
2006-10-09 16:04
•
by
goldenratio
|
this is why you use qualifiers ie "some data here","an address, usa" |
Re: Coded Smorgasbord: The Pilot Episode
2006-10-20 03:26
•
by
A P
|
We had a new programmer for whom English was a second language. She defined three variables in her COBOL program for loops:
01 COUNTERS. I'll let you figure out what the last one was - I enjoyed watching my manager try to explain to her what the problem was, especially because she couldn't understand what he was saying. Eventually she got it and both were red-faced for hours afterwards... we were red-faced too - with laughter.
captcha - shizzle |
Re: Coded Smorgasbord: The Pilot Episode
2006-10-20 03:29
•
by
A P
|
I have exactly this problem with the user name I use on a lot of sites: MrAndyPuppy (the name's a long story, used to be AndyPuppy, added the Mr when I got married, etc, etc). Some sites just convert it all to lowercase, so I'm constantly being badgered for being one m-randy-puppy. |
Re: Coded Smorgasbord: The Pilot Episode
2006-10-25 14:10
•
by
sir_flexalot
|
|
Or, its a getting-rich man's conditional breakpoint, if you get paid per line of code!
|
Re: Coded Smorgasbord: The Pilot Episode
2007-08-31 12:29
•
by
PDK
(unregistered)
|
|
That last WTF was sad. Made me die a little inside.
|
| « Prev | Page 1 | Page 2 | Page 3 | Next » |