- 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
Java ain't have dll problem since all jars packaging together.
Admin
But the biggest question was never answered (I think): Was Robbie male or female?!
Admin
Are you crazy, lady?!
Admin
Are you crazy, lady?!
Admin
Robbie was a robot. Obviously.
Admin
No snarky comments behind the scenes
Am very disappoint.
Admin
TRWTF: Running a .exe file emailed to you from a stranger on the internet
Admin
Admin
I kept thinking that the system was harvesting passwords or something, and emailing them to the original author. Nope. Then I thought the 'Secret' class was going to do the same thing...
Admin
Admin
So now we know how to phish "Lee S." -- and get her to meet up for "coffee" -- just promise $100 if she'll run this innocent bit of code.
Somehow, based on everything I've read, I thought it would be a lot more difficult to meet girls.
Admin
Or, ask your friendly local Sys Admin who might tell you to simply "snapshot" your VM. You coders have to do everything the hard way, don't ya?
Admin
Usually about a half hour after I consume those quasi-legal mail-order pharmaceuticals, my girlfriend starts to choke.
Admin
It's the totally free ride that they resist with so much vigor.
Admin
Admin
Careful though, it only costs hundreds to get them. It costs tens of thousand to make them go away.
Admin
I think this has to be a new record for WTF's. This monstrosity violates pretty much every rule of sensible design, good programming practice, good security practice, credit card industry rules, very likely the law, and possibly the Constitution.
Admin
And, yes, a few hundred now and then is a much better bargain, financially, than the "tens of thousands" outcome. Plus, you get variety! And you don't have to talk to them all the time.
Admin
I think it was Rodney Dangerfield who said, "If you're thinking of getting married, let me suggest a shortcut that can save you a lot of time and trouble. Just find a woman who hates you, and buy her a house."
Admin
Admin
Admin
And then women wonder why men are reluctant to "make a commitment".
Suppose a local restaurant offerred two pricing plans:
Plan A: Standard plan: Come by whenever you like and for ten or twenty bucks you can get anything on the menu.
Plan B: Lifetime membership: Pay half your salary every month for the rest of your life. There are severe penalties for cancelling the membership. In exchange, you can come by the restaurant whenever you like and if they're not too busy, and they feel like it, they might serve you a meal. You will be required to wash the dishes and help clean the kitchen afterwards. The restaurant can cancel your membership at any time, in which case you will still be required to pay a reduced membership fee for 18 more years but will not be entitled to any meals.
which plan would you choose?
Admin
Admin
Admin
+1
Admin
First post!
Admin
(-85)
This code ain't compile. Please massage it and re-submit.
Grade: 15/100 please see profesor.
Admin
Admin
The difficulty with plan A is sometimes you get to eat all you want and sometimes you go away hungry.
The difficulty with plan B is sometimes you get to eat all you want and sometimes you go away hungry.
Admin
Here in Hyderabad, you are alow to get memberships at many restaurant. Unfortunate, most restarant is fruit stand and others maybe you getting diahrrea food poisining.
Admin
Oh, great, there's the usual forever alone creeps exhibiting their usual misogynistic MRA douchebaggery. What a refreshing change. "Waaah waaah waaah women are all evil scheming horrible bitches why don't they like me?"
Admin
Admin
Admin
Obviously the whole registration process is a WTF, but if you're stuck with legacy code (outside your control) which will send these emails then you do need some equivalent code to deal with them.
Looking at the sample code, I think there are a couple of more subtle flaws (either in the original code or the way it was adapted for the article):
String.Concat will merge strings together, but so does the + operand. So, this will merge 4 strings together and then convert the resulting string ... into a string. It would be better to use commas rather than "+".
Then there's:
That means that the loop will only do 1 iteration. I assume it should start at 1. However, I also assume that this code is set to run at regular intervals (e.g. every 5 minutes) to check for new email. So, as long as Robbie only averages 1 new email per time interval, it will appear to work ok, and just scrape off the most recent message each time.
Admin
Admin
It's the very definition of "cowboy coding." This is not the kind of work product you would see from a highly-functioning Agile team.
Admin
Admin
The casual mysogyny of some of the commenters here is pathetic. The irony that, on a site that exists to make fun of people's broken code, your broken personality is the real WTF.
Admin
+1
Admin
We are NOT equals, we are complimentary, and what is more complimentary then the non-equality of men and women. Give equal opportunity for each to thrive in thier strengths but do not try to make everyone equally the same.
Admin
Admin
The talking isn't the problem, it's the having to listen which is the real pain in the arse.
Admin
Ignore her, it must be the time of the month.
Admin
The word is "complementary". Go away and learn.
Admin
Admin
Wow, all that and you are going to complain about the transposition of an I and an E.
Pendentic asshat.
Admin
Perhaps you're right. Perhaps I misinterpreted all those comments about strippers, prostitutes and all women being money-grabbing shrews controlled by their menstrual cycle as a subtle reminder of the differences between the sexes.
Or perhaps you're just trying to distract attention from the mysogyny above by changing the subject.
This is the point where you start taking about political correctness run amok. Go on.
Admin
Admin
Maybe he's talking about people who are nice to each other a lot. :)
Admin