- 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
Is it really baiting if the person trying to do the baiting is a moron? And if a flawless imitation of a moron is the height of someone's conversational skills, what sort of person are we talking about, exactly?
(and no, trolling is not like jazz. Have you noticed that the phrase "X is like jazz" usually makes more sense if you assume the silent "...in that I don't really understand what either of them are, but I hope the comparison makes me look a little clever"?)
Admin
FTFY
captcha refoveo: refoveo, refoveo, send wtf oveo.
Admin
Form37.Form37_txt_BorderStyle=...
Admin
"Vorsteuerabzug" is a concept of deduction of already paid taxes (e.g. VAT) from your debt to the tax office.
If you buy something for 1000€+19%VAT (thus, 1190€), then sell it to someone else for 2000€+19%VAT you only have a tax debt of 190€ (although you charged your customer 2280€), because you already paid 190€ VAT in your purchase. This first 190€ is (as i grasp it) the "Vorsteuer" (trans: "pre-tax") already paid by you.
Admin
Just say "troll"; it sums up your sentiments in one elegant word. :)
Admin
Nah, you got trolled. Most people saw that coming down 5th Avenue. Continued discussion will only encourage him.
Admin
Is it that time of year again? I thought that the troll parade didn't happen until the end of February.
captcha enim: when you go for an enima, but realize half-way through what an enima is, and leave.
Admin
Look, let's just get taxes up to 100% and be done with it already. Then everything can be free and we can all get million dollar checks in the mail. Cancer will be cured, people can return to the moon to stay this time, and I'll finally get my flying car dammit!
Admin
In reality, that CodeSOD is cyphertext churned out by an Enigma machine and piped to a Radix64 encoding process... with Hitler's tormented soul crawling in between the streamed characters.
Admin
"excel" at Excel?
WhoTF would say such a thing?
Admin
I never did understand that new math; if 40% of our income equals working Monday through Friday for free, then a) I'd hate to have your work schedule (how many days are in a week again?), and 2) what would constitute 100%?
captcha refoveo: refoveo, refoveo... err, deja vu all over again!
Admin
I had a VorsteuerKorrekturErfolgt44 and I sold it for a Prius.
Admin
I bet you saw that right about the time you hit "submit", right?
Admin
What I thought. It also fits the theme of the software.
Admin
Dude, come-on, I'm trollin' here; I ain't got time to be reading stuff...
Admin
Admin
Admin
No, VAT isn't income tax. We get income tax as well (and other things called by other names to try to fool people that it's not just more income tax). Then, VAT is 20% tax on things you buy with the money you've got left after you've already paid your income tax (and friends)
Admin
Ale, man? Yes please, a pint of Old Peculier, if I may ...
Admin
I edited one in Notepad++ just today.
Admin
Sweden has some prisons that are extremely comfortable. When I'm tired of having to fend for myself I'm tempted to go to Sweden or order to jaywalk while drinking alcohol in public.
Admin
Conjunctive normal form, you pansies. If there's a WTF here, it's that the business logic is convoluted. The implementation is as clear as it can be.
A better choice of language would have made the syntax clearer, but they even used indentation to bring out the normal form (as opposed to hiding it, like so many C-style-language programmers do)
Admin
Admin
I don't see what all the fuss is about. The person who wrote it probably hated it also. The irony of 'business logic' is that it's anything but logical, and that is hardly ever the fault of the developer.
That said, what a maintenance nightmare.
Admin
Oh yes, because it makes SO much sense to have programmers translate technical terms from the German tax code which they don't understand and which have no established English tanslation anyway...
Admin
Admin
So, dipshit, how do you think tabular Excel would import a deeply-nested XML node tree without jumping through hoops? Oh wait, you don't think, do you?
You are playing with the big boys here, and you are not up to the challenge. Go home and cry to your momma; she told me she'd be waiting for you after she gave me sweet nooner a few hours ago.
Admin
TRWTF is all these people posting in daytime.
Admin
If the file was saved from Excel, yes. I know this. Do not doubt me. I have used excel libraries in VC++ application to do this.
Admin
(10 Points for anyone who can tell me what language that is.)
Admin
You don't see what the fuss is all about (even though you actually realize it is a maintenance nightmare)?
The WTFery here has nothing to do with convoluted business rules, and everything to do with lack of the most basic of logical skills. This ain't rocket science, but simple software eng 101.
Look, the SOD sample below contains repetitive statements and computations (in color for ease of identification):
In particular, the following evaluation occurs multiple times in every clause separated by an OR operator:
(DateTime.Parse(Convert.ToString(table17["T017_txt_addChangeDate"])) >= DateTime.Parse("01.01.2005"))
Why would someone compute, re-compute, and uber-re-compute the exact same string date parsing operation and comparison (both of which are invariant)?
Ignoring the expense of such a ridiculous thing, why do it? Why not refactor it? Why not normalizing that damned gigantic OR clause?
Not only does this become a run-time expensive maintenance nightmare, it also fails at giving a reasonable (and maintainable) representation of business logic.
There is madness (some of) in business logic. It is a given. It is our job to represent that madness (which many times it isn't even there to complain to begin with) with reasonable software constructs.
Regardless of what many people would like to think, bad software (specially utterly hideous bad software) is ultimately our responsibility, our fault, not a fault generated by faults in underlying business logic.
Blaming almost everything in supposedly faulty business logic is a cliche long worn out.
Admin
TRWTF is using Chrome...
CAPTCHA: genitus - someone who uses Chrome, opposite of genius.
Admin
For the uninformed, a "headless" operating system is one that operates without the convenience of fancy windows and multiple colors. That's right: a real man's OS. It's just you and the keyboard, and you can put that mouse behind the tyre of your neighbors minivan because you won't be using it. How are you going to browse the web, use wget to pull the file and then ftp it to your backup headed OS? No way! A real man doesn't have a headed OS. Us real men use Chrome and view our web pages IN TEXT. No, I'm not talking about reading HTML tags: I'm talking about viewing web content as God intended it: pure text. In fact: I'm filling out this form on Chrome on my headless operating system right now.
Now: sudo go get me a beer!
Admin
No, I don't use a text-only OS because it's stupid to make your life more difficult. But for those rare cases when I have to telnet to one and have to browse the web from there, I use Lynx.
Admin
I have project similar like this. Could you pleez send me teh codez?
Admin
Admin
Admin
I was going to make a comment here, but then I realized that I'm not a troll.
Admin
Now wait just a minute. You, Sir, have insulted my manhood! removes glove SLAP! I demand satisfaction!
Admin
Admin
I wrote that in 2003. I don't carry code with me.
Are you teasing me?
CAPTCHA: Nulla - means nothing in Hyderabad.
Admin
If they came from Excel, then they wouldn't be deeply nested you dumb fuck.
Admin
In case you can’t tell, this is a grown-up place. The fact that you insist on using your ridiculous curse words clearly shows that you’re too young and too stupid to be using thedailywtf.com.
Go away and grow up.
Sincerely, Bert Glanstron
Admin
Admin
Though you all may be gurus on xls, csv and xml file formats, you fail misreably at spotting trolls.
Admin
as opposed to the hardwar?
Admin
Admin
I can explain everything with a few simple words! It's not business logic, it's German taxation law logic. That was easy.
Admin
In an attempt to learn from other people's mistakes, I've taken a shot at fixing this mess. I have a question though. Would it be smart to assign begin/end to the same value as the addChangeDate when they are null, in order to simplify the if statement that uses them to a simple >= and <=, like this:
Or does the comparison already handle null values in a way that totally eliminates the need to worry about it? Or is there a better way?
Admin