- 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
-O -
and redirecting stdout to /dev/null rather than, oh I dunno,-O /dev/null
. If you don't see that as TRWTF, readman wget
.Admin
This is what I call multilingual programming.
Admin
yes, me very multi-languegial da toveritch nilly non!
Admin
So the real WTF is that Java's typically obtuse interfaces, which don't make typical use cases easy, encourages kludges like this.
Admin
I think this is a grey area in the "encourages"/"doesn't explicitly discourage" continuum. You could say the same thing of a submission that, say, ran Sticky Notes over the network to add a note to the receptionist's monitor with emailing instructions.
Admin
"Well, PHP, an obviously superior language..."
I've always hated how PHP is so superior. It's all like, "I'm the best", and "Lots of people use me for web", and "I'm all over the place". I wish PHP would just lose the attitude, ya know?
Admin
This is what happens when you code wearing boxing gloves.
Admin
This is what happens when you code when punch drunk.
Admin
This is what happens when you just have to make it work... and nobody cares about the rest. Until they have to!
Admin
Sounds to me like using a helicopter to run the 100 meter dash. It works, but taking into account all the spin up of the rotor, the gas involved, and the hiring of a pilot, it is easier to just walk. Either way you will lose!
Admin
Frist draw an "S" for "snake"... or "dragon"...
Admin
+1 for Homestar Runner reference. -1 for not changing "TIS Report" to "TPS Report"
Admin
TRWTF is what happened to StrongBad. :-(
Admin
You're not Ali, you're not even literate!
Admin
they probably only put that in because they didn't want to wait around to see what happened first: HPE to process the request to open port 25 or the heat death of the universe
Admin
Would that be Strongbad the Bad, nemesis of Noggin the Nog?
Admin
As a bad programmer with 12 years of experience programming in PHP I fail to see what is wrong with this solution...
Admin
Perhaps this machine is behind some kind of firewall that blocks outgoing SMTP traffic.
Or maybe the email has to be signed with the private key which is stored deep inside an ancient piece of obfuscated legacy PHP code that no one wants to touch.
Admin
I'm not fluent in Unix, but wouldn't the logging of ";:(){:|:&};:;" spark off a fork bomb?
Admin
I had occasion recently to need to send mail using Java. I looked at javax.mail, quickly closed my eyes before they could suffer any more damage, and decided to roll my own instead.
It took about one screenful of code. Not quite a short as this version, but at least I didn't have to include PHP as a dependency.