- 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
"Count your semicolons" -original, with apologies
♬When the lines of code you write prevent job loss...♬ ♬And you're getting nervous what to show your boss...♬ ♬Count some semicolons, they'll increase your lines...♬ ♬And then your performance will review just fine!♬ (chorus) ♬Count your semicolons, name them one by one...♬ ♬Count your semicolons, then commit and run...♬ ♬Count your semicolons, name them one by one...♬ ♬Count your semicolons, and then call it done!...♬
♬If you're staying past the time you should clock off...♬ ♬And you're so exhausted and the code is rough...♬ ♬Add some semicolons, no one else will know...♬ ♬Then you can commit and get yourself right home!♬
(chorus)
♬Semicolons are your friend, for thus you see...♬ ♬When it's simply lines of code that you do need...♬ ♬Add them by the pages, they don't cost at all...♬ ♬Add them 'till your code's a white and dotted wall!♬
(chorus)
Admin
or, some sort of horrible line-based source transformation.
Admin
Yes, I believe the technique is known as security-by-OMG-I-can't-scroll-anymore.
Admin
Oh well, there goes the neighborhood. Somebody can defeat the new reCAPTCHA.
To Remy: this cornifcation is worse than no cornification at all. How the hell am I supposed to find the two semicolons in a line of thirty thousand that I can click on?
To the one who asked about cornification: view source of the article and search for "cornify.js"
Admin
If you're serving web pages from MS-IE, this code is not the first of your problems.
Admin
Hey all... so... I can't present proof, but I am THE Chris from this article.
Upon further investigation, I determined that this and other magical shit in the codebase are probably the result of undergraduate students using Microsoft Word 2003 to write and "Save as HTML" a big portion of our codebase.
This particular snip is just one function in a huge, huge, huge PHP file. The entire repository (of just code, not static content) is around 1 GB. It's absolute insanity, and I have put in my resignation.
Admin
I know JavaScript has Automatic Semicolon Insertion but this is ridiculous!
Admin
I am not a robot. But someone else clearly is. What a pity :(
Admin
I'm a bit lazy. Can someone please translate the Whitespace parts into Brainfuck?
Admin
+1 for the song.
I didn't pick up on the tune until the chorus. For those still wondering, it's an old hymn called "Count Your Many Blessings."