- 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
Admin
Admin
I didn't even read the text and knew it was some fag copying the same overused rant. It's not clever. It's not funny. Just the word "colors" was all I needed to know that you were copying the rant without even adapting it to the post you're replying to.
It was funny to read when it came out. It's NOT funny when someone copy-pastes it every f***ing time they see a XKCD link.
You probably still use lmgtfy and think you're so damn clever.
It means in real life, you're an unoriginal hipster doofus.
Got anything to do with sanitizing inputs to a SQL database, etc.? Rant about Bobby Tables. Got a nerd-project slow-ass turing machine? Like a minecraft logic circuit from redstone? Rant about the one where it's some guy alone in the world making a computer out of rocks. Got a story about password security or encryption? Rant about the one where they beat the password out of the guy with a wrench.
Fuck off. You're not clever.
Admin
Admin
Indeed, why even use StringBuilder when + will do the jurb just awesomely?
Admin
Wait... the Runtime.exec() call wasn't the cause of the performance problems? Then given how horrendously expensive forking a JVM tends to be, the real cause must be absolutely epic!
Admin
Admin
Admin
The root cause was Java itself. :D
Admin
So here's the thing. You got a perfectly adequate application. It's got a whole slew of functionality, having evolved over the last 10 years or so. Then someone at e.g. Apache releases a package whose functionality overlaps some of the code in your app which works fine and hasn't caused trouble
Why the fucking fuckety fuck would you replace what's perfectly good code with the new package? Unless it had distinct advantages, an easy migration path and a seamless user experience, you'd have to be a fucking lunatic to do so. And then some cunt comes along and says "You shouldn't be using log4j, you got to use this shittybugger cuntfuck code that's even newer and more fashionable.
Move away from the fucking terminal NOW.
Admin
Please show a little sensitivity. I had a son who was a fop, and let me assure you, it was no laughing matter.
Admin
Um yeah, actually we discussed this very topic in a project kick-off meeting this morning. We were specific about the techniques to be used for error reporting and recovery. Any kick-off meeting which does not address these matters is not a proper kick-off meeting, it's a girly chit-chat about periods.
Admin
Admin
Many Linux distros today are smart enough to catch "rm -rf /" and give an error message rather than actually executing it.
Try this on your system. See if you have one that catches it.
Admin
What in the world are you talking about? There's nothing in the xkcd that he linked to about "colors". The link does not include the word "colors". Is there some meta-joke that I'm missing here? Perhaps I was on vacation and there were a string of jokes about colors in between the Paula beans and the Irish girls?
In any case, saying, "Hey, remember that funny story about ..." isn't necessarily obnoxious. Ranting and swearing about someone else's innocent attempt to amuse his fellows is.
Or maybe this is a troll and I just don't get it.
Admin
"the compiler does it" != "the spec requires it"
Just because the spec doen't require something doesn't mean that it isn't done. This is especially true when the spec that you quote specifically offers it as a possibility.
"Yesterday I had lunch at Burger World."
"That's a lie! There is no law requiring you to eat lunch at Burger World!"
Admin
"Severity One" claimed that his compiler uses StringBuffer but he did not specify which JDK and which version.
The Spec allows "similar technique(s)" and on versions of the JDK which support StringBuilder (@since 1.5) it would be inefficient to use the older StringBuffer.
Addendum (2013-02-14 15:15): EDIT:
Ok tested it with Oracle JDK 1.7.0 and of course it spit out StringBuilder!
Maybe time for "Severity One" to upgrade to a recent JDK!
Admin
Admin
Precisely. It doesn't. It calls, as the title of the OP suggests, fork and exec, not system. Them PHP kiddies.
Admin
TRWTF is using global variable named errlogFacility
Admin
And this is Java, so he has no excuse for concatenating unescaped strings as command-line arguments. (Unlike the PHP counterpart, java.lang.Runtime.exec has several overrides with execv-like injection protection.)
Admin
To everyone who fell for it: this is a meme.