- 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
Looks like that code is a POS.
Admin
Please let's not fill the comments section with sad emoticons. :c
Admin
':-D'
Admin
Is it just me or is the grammar all over the place in this one?
Admin
*grammer
Admin
Admin
Wow. The "AS x" part consistently wrapped to the wrong line, for no good reason at all. If that was the influence of the Dark Emperor, then it fits; if it was the works of young SQLwalker, then he wouldn't be better than his father.
Morals: The only sure bet about rebellion is that manners get worse. Otherwise, it's usually just figurehead shuffling.
Admin
I have a sudden urge to create a role id of :( unfortunately all mine are ints but some day, some how this needs to be the code for a manager role.
Admin
"commanded a dearth of Darth's that" If there weren't any Darths how did any of them own a "that"?
Admin
Admin
Admin
Admin
I think that was supposed to be the joke...
Admin
Dearth is the collective noun for dark Jedi.
You can have a murder of crows, a squad of squid, or a dearth of darths.
Also, darths are rarely found in groups larger than two (because they advance in rank via fratricide) so dearth is entirely appropriate.
Admin
". . .unfortunately all mine are ints . . ." 0x3A28 == 14888. Well within the range of an int.
Admin
▌─────────────────────────▐█─────▐ ▌────▄──────────────────▄█▓█▌────▐ ▌───▐██▄───────────────▄▓░░▓▓────▐ ▌───▐█░██▓────────────▓▓░░░▓▌────▐ ▌───▐█▌░▓██──────────█▓░░░░▓─────▐ ▌────▓█▌░░▓█▄███████▄███▓░▓█─────▐ ▌────▓██▌░▓██░░░░░░░░░░▓█░▓▌─────▐ ▌─────▓█████░░░░░░░░░░░░▓██──────▐ ▌─────▓██▓░░░░░░░░░░░░░░░▓█──────▐ ▌─────▐█▓░░░░░░█▓░░▓█░░░░▓█▌─────▐ ▌─────▓█▌░▓█▓▓██▓░█▓▓▓▓▓░▓█▌─────▐ ▌─────▓▓░▓██████▓░▓███▓▓▌░█▓─────▐ ▌────▐▓▓░█▄▐▓▌█▓░░▓█▐▓▌▄▓░██─────▐ ▌────▓█▓░▓█▄▄▄█▓░░▓█▄▄▄█▓░██▌────▐ ▌────▓█▌░▓█████▓░░░▓███▓▀░▓█▓────▐ ▌───▐▓█░░░▀▓██▀░░░░░─▀▓▀░░▓█▓────▐ ▌───▓██░░░░░░░░▀▄▄▄▄▀░░░░░░▓▓────▐ ▌───▓█▌░░░░░░░░░░▐▌░░░░░░░░▓▓▌───▐ ▌───▓█░░░░░░░░░▄▀▀▀▀▄░░░░░░░█▓───▐ ▌──▐█▌░░░░░░░░▀░░░░░░▀░░░░░░█▓▌──▐ ▌──▓█░░░░░░░░░░░░░░░░░░░░░░░██▓──▐ ▌──▓█░░░░░░░░░░░░░░░░░░░░░░░▓█▓──▐ ▌──██░░░░░░░░░░░░░░░░░░░░░░░░█▓──▐ ▌──█▌░░░░░░░░░░░░░░░░░░░░░░░░▐▓▌─▐ ▌─▐▓░░░░░░░░░░░░░░░░░░░░░░░░░░█▓─▐ ▌─█▓░░░░░░░░░░░░░░░░░░░░░░░░░░▓▓─▐ ▌─█▓░░░░░░░░░░░░░░░░░░░░░░░░░░▓▓▌▐ ▌▐█▓░░░░░░░░░░░░░░░░░░░░░░░░░░░██▐ ▌█▓▌░░░░░░░░░░░░░░░░░░░░░░░░░░░▓█▐
Admin
It was a time a great sadness. You can tell because the WHERE clause tells you by referencing a particular emoticon primary key and the FROM clause has totally messed up whitespace. If you are going to break the FROM clause into multiple lines you could break it at the JOINs or even the ON, but never at the AS!
Admin
Fratricide is for removing the competition. (By origin, "fratricide" refers to the slaying of a brother, just as patricide is slaying of the killer's father, filicide is the slaying of one's own child, and infanticide is more generally the slaying of any child. So fratricide would involve eliminating those at the same level as yourself, so that they don't compete with you anymore. To take your superior's job (implied in "advance in rank"), you have to kill him. Fratricide only helps if you need to eliminate a colleague who is ahead of you in the race.
Admin
I'm not usually a grammar nazi (for instance, firefox's spell check just helpfully reminded me how to spell "grammar"), but that was horrible. Figuring out wtf the article was trying to say wasn't nearly worth the payoff.
Hurry up and edit dat shiat before any more people read it >_>
Admin
I like it! Using emoticons to denote access levels.... brillant (sic), I tell you, brillant (sic)!!
So the tri-state boolean operator becomes:
true = :-) null or FILE_NOT_FOUND = :-| false = :-(
Admin
But how do you distinguish null from FILE_NOT_FOUND?
Admin
WTF has this gotta do with star wars?
And, did you think dearth mean something else, because its a really weird (e.g. bad) choice of word in that sentence?
Admin
No. There wasn't enough "that" of a guy named "Darth", but the little of "Darth's that" that was there was commanded by the evil CEO. Simple.
Captcha: praesent - this post was being written in the praesent tense.
Admin
He was making a funny, I believe. It wasn't me, I haven't been assed to register "toot".
Admin
Horrible code, horribler article.
Snoofle, your editors are letting you down. (I assume you have editors, and aren't churning this tripe out yourself.)
Admin
Admin
Admin
ASSERT(null == FILE_NOT_FOUND)
Admin
Way to be the butt of your own joke.
Admin
Their database security is actually based on sophisticated facial recognition software that only works if the user is frowning.
Admin
If the user's frown is not pronounced enough a large squirt of pepper spray is delivered to the face followed by swift groin kicks from menaceBot4000
Admin
Fascinating, but how am I supposed to use that information in any practical way ever?
Admin
By killing your boss?
Admin
But anyway, there are several hints on how to get ahead in an organization that requires you to commit some sort of assassination in order to advance.
I could also speak of not bothering to waste time with weaklings, and of concentrating your attention on (1) the current owner of the job you want, (2) those who stand in the way, and (3) those close behind who put you into category (1) or (2). If you have a distaste for fratricide, then you have to concentrate on group (1), with the proviso that you must dispose of each member of group (2) as he becomes a member of group (1), seeing as how assassinating the member or members of group (1) is dominicide rather than fratricide.
And now you are on your own.
Admin
Times are tough on Tattoine, as Luke is forced to take up the old family trade of Squirrel Walking.
Admin
Kelsey?
Admin
Admin
Admin
Nothing to see here, please go away.
Admin
Seriously though... why the Star Wars?
Does that SQL contain something that obviously suggests Star Wars as the memetic theme for this article?
Or have the site editors cunningly identified Star Wars as popular with this sites demographic, and so just shoved it into the article apropos of nothing?
Admin
Reminds me of the horrible output from cdparanoia
Admin
Upon reading the summary, I was a little confused and rather annoyed. I felt it was mostly pointless filler text.
Then I read the code.
My opinion of the summary was changed.
Admin
Admin
Admin
Dearth: Lack, scarcity, shortage
Admin
I am become Dearth, destroyer of humor.
Admin
I need to know what values permId can have, given that permission is the real id used for joins. Is permId a string? Also, since permId is shorter than perm_id by one letter, can I safely assume that emoticons have no noses? :)
Admin
also, am I the only one who is more puzzled by constants 123, 456, 789 and P, O, S, than by :, -, ) ?
Could someone draw me a diagram of this database?
Admin
anti-true = (-: anti-false = )-: anti-FILE_NOT_FOUND = |-:
In fact, there's no limit to what you can do!
very-true = (-) very-false = )-( imperial-tie-fighter = ]-*-[ oh-fuck-it = (╯°□°)╯︵ ┻━┻
Admin
Me: "Can we update the character set of this table from latin1 to utf-8?"
DBA: "That has potentially serious consequences and we'd have to look at the data currently there. Why do you want to?"
Me: "Um, we're adding some new user, uh roles."