- 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
error found: 0
Admin
Ok WTF was wrong with whoever wrote that?
Admin
That looks machine generated to me
Admin
It looks stupidity generated to me
Admin
Well, at lest this comment doesn't say 'first'.
Admin
lest = least
sigh.
I feel like such an abbas now.
Admin
That's what heavy unit testing is for. Make a tiny change, make sure the old unit tests still all work, proceed to next tiny change. Certainly make sure they all run, and maybe even include some tests for the change you just made, before checking it into SCM. Uh, y'all ARE using some kind of SCM system, riiiiight? ;-)
Admin
But, but, none of the tv_nnn variables are ever read after assignment... assuming there's not something after what's shown that uses them, just no-op the whole thing!
Admin
That's the strangest use of the word "uplifting" I've ever seen.
Admin
It's definitely machine generated. Ladies and gentleman, we have a functioning example of artificial stupidity.
Addendum (2009-04-15 09:31):
And a functioning example of what a natural lack of sleep does to my ability to spell. Doh.
Admin
Stupid in, stupid out.
Admin
Looks like machine generated ascii art to me.
Admin
A Jackson Pollock?
Admin
When I saw this I nearly had an @b_M.
Admin
wtf
Admin
I think I've deciphered it. These are screen coordinates and it plots a map of the location of the Ark.
Admin
The "W" in "WTF" is "WHY, for the love of GOD, WHY!??!"
Admin
There's too many constants... 1, 2, 4 etc. Those should probably be stored in a table somewhere and read in at the beginning of the proc.
No, wait, I see it now. No comments! The whole thing should have started with "Do a bunch of math..." to explain the purpose of the module.
Admin
Can anyone even explain what it does?
Admin
So, does this draw a Mandelbrot set or what??
Admin
Admin
Admin
I am tempted to run this stored procedure just to see if it generates any kind of sensible output.
Or are we looking at the SQL implementation of Rijndael?
Admin
I can't stand it anymore! whomever is responsible is as bad as between you and I.
The rules are not that hard. For subjects, use "I" and "whoever". For objects, use "me" and "whomever". The key is to identify the clause of which the pronoun is the subject or object.
We now return you to the usual "Murst!eleventy1" and "The real WTF is" comments.(Hey, my captcha's in Latin!)
Admin
"(of which this is only an exerpt)"
I'm guessing that it's statistical, M=mean, sd=standard deviation, and tv... are all added up at the end to calculate the variance. But then I'm only guessing after looking at a wikipedia article on statistics for 10 seconds until my eyes glazed over.
Admin
This is actually good code. Did you want to be spoonfed with comments? What it does is obvious to anyone versed in the arts of stored procedures.
Admin
Don't you tell me that pink ABS statement doesn't look nice among all that numeric mess. That's what I call ascii-art
Admin
I'm sure you could eventually get SOMETHING sensible out of it...I mean, if you just keep assigning incremental values to the variables, eventually this "algorithm" will spit out the entire works of William Shakespeare.
Admin
Admin
"The key is to identify the clause of which the pronoun is the subject or object."
Thank you, fellow grammar nazi. I've studied English for years and years, but none of my teachers ever taught me that. I'll try to keep this lesson in mind.
Finnish, Swedish, English, German, French, Spanish: jack of all trades, master of none, and all that...
Admin
Grammars pointless
Admin
Grammars pointless --what?!
Just had to be done.
Admin
Your so dumb.
Admin
If I ever come close to anything like this, I'll become a gardener, a carpenter or whatever thing that allows me to carry a blade in case I find the MF who did this.
Admin
The real question will be: Once "TV" goes all digital does this need to be re-written??
Admin
Have you yourself tried the application of goggles? Although I cannot recall a situation where said goggles did something, past results are not an indication of future performance.
Captcha: Odio o di odin day cutting out some coupons
Admin
To be honest, I'd prefer a Paula Bean myself.
Admin
Admin
Admin
Admin
No, he was speaking in Future Semi-conditionally Modified Subinverted Plagal Past Subjunctive Intentional tense. My God, you people don't know anything about grammar.
Admin
This really made me go..
Admin
It looks like a test procudure for someone learning how to write stored procedures (or particularly about parameters, math, and variable assignment within them)
It probably doesn't do anything.
Admin
Now THIS is a WTF. Please keep up the good work -- not that flowery creative writing crap from the previous post.
Admin
I stared at it until I saw three dead Somali pirates.
Admin
Admin
I'm responsible of writing a database view that takes about twenty pages to print out (if you leave out the comments) and whose sole purpose in life is to determine whether a user is allowed to access another user's data. This code is maintained by a group of programmers - in addition to myself - every time new business rules are introduced and even though it does look a lot like the one in the article, we've generally had no trouble with it. So far I've been quite happy with it, but none the less I'm still a bit worried that some day it might become self-aware.
Admin
sorespaces
Admin
Admin