- 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
I had the same problem until I Adblock-ed the gif.
Admin
Admin
Oooh, fun :D I once worked on a database pulled from scanned paper survey forms. Most questions were multiple selection boxes, and (being paper) had no limit on how many boxes you could check. So more than half the fields in the DB were long varchars which could have any combination of letters, each letter indicating a different box was ticked. It kind of made sense, but was the mother of all dbs to write efficient queries on.
Amusingly, when I interviewed for that job part of the test was to construct a query to count survey responses with a particular combination of answers, and my reply involved a lot of LIKE comparisons and complex character sets. So you can imagine my delight when I started the job 5 weeks later, to find an exact copy of my interview test answer in the live database ;)
And I'm afraid no-one quite wins the cookie, as the correct answer was 'Y' for true, 'N' for false, and there are no nulls, blank strings, or any other value, in the entire dataset. And that's what you get when you boneheadedly shift data around several different storage formats without thinking about what you're doing...
Admin
What's wrong with functions that return functions that return functions?
Wah it makes my head hurt!
Let me tell you: I think the same dang thing when I see the "standard" object oriented patterns. Why would somebody use 4 complex "language interfaces" (classes, objects, and their respective methods) instead of the single unifying interface that are functions? Oh, because some people in the 90s were limited by their tools. And because functions are hard! :(
Of course, this complex interfacing is the cause of a whole lot of language complexity, too. Code is not "conceptually portable", because one language's class semantics are different from anothers'. One language's method calling semantics are different from anothers'. So we end up writing adapters and such to interface between the languages. Interfaces for interfaces, so you can interface while you interface.
Admin
I always wonder why developers who know better either 1) don't fix those systems immediately, or 2) find a job at a company that produces better code. I couldn't work in an environment where I was forced to maintain a system like that.
But that makes me think of another point: if good developers won't work at companies that produce bad code, does that mean that only bad developers will work there, thus ensuring that the bad code lives on?
Admin
This seems to work:
Admin
Also works in FireFox with NoScript.
Admin
So, my old company had a total hard-on for AWK.
But some of the younger coders thought that was nonsense. Just to prove the awk guys sane by comparison, one wrote a loader that parsed JSON. I take that back, each line in the file was a separate JSON object.
Of course, some fields in the object were "complex" and those were loaded from a pipe-delimited array, or sometimes a caret and pipe delimited array of arrays.
In short, I want to fucking kill whoever invented String.split.
Admin
TRWTF is the animation to the right of the article. The readers eyes are drawn straight to the thing that moves, where they remain as it remains on loop. If you consider that your site serves two purposes (to promote products, and to provide stories), this makes no sense. Draw attention towards your ads or your articles, rather than away from them.
Admin
Admin
Admin
Admin
Admin
This anonymous has reinvented the way all articles should be presented!
Admin
Admin
Admin
Values interpreted as true: * '1' 'T' 'true' 'True' 'TRUE' 'y' 'Y' 'Yes' '0' 'SUCCESS'
Values interpreted as false: * '0' 'F' 'false' 'FALSE' 'n' 'N' 'no' 'No' 'NO' '-1' '' NULL ' ' :wq!
Admin
Well, that takes me back! :)
Link: http://www.youtube.com/watch?v=WjeptaI2T8E
Captcha: secundum