- 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
IHBT, but, **headless actually means no monitor, not text-only; headless systems can run X and headed systems can be text-only; these text-only systems can also use mice in BSD.
LOREM IPSUM DOLAR SIT
CAPTCHA: amet
Admin
Admin
Kopf ist ein Nomen, etwas must im Grossebuchstabe schreiben
Admin
My fancy Software Engineering 101 is still here, telling me that you are bringing a highly improbable red herring (overloading general-purpose text-to-date conversion functions with side effects) to make you feel good about presenting a false point. Something to do with fancy concepts such as logic or reasoning.
It is still here telling me that such an improbable thing would make the SOD a bigger WTF, and that such a monstrous combination of simple-to-avoid programming malpractices would almost surely (see def) will never happen. Every time one of such turds come into existence is a crying screaming call for help in the dark fancy clamoring for such fancy stuff.
But then again, we can always build more edge cases that are 1) highly improbable, and 2) when they do occur, they increase the need for fancy soft. eng. Any other improbably WTFery edge cases up your sleeve?
Admin
TRWTF is you just ignored that whole discussion of trolling. Troll Baiting 101.
Admin
Oh no! Maybe it was me who just got troll baited! No I feel stupid.
Admin
Whatever you do, just don't mention the war.
Admin
Hey guys! See lotsa activity here, sorry for only posting now! Was kinda busy getting LAID last night...
Does that make me a troll?
Admin
using for variable names another language than english has as advantage to avoid name collisions with standard function names
Admin
There's a huge amount of duplication in there. Even after wasting a lot of space on nice formatting the simplified version is still less than half as long as the original.
There was a small top level OR condition that was repeated 3 times. Other sub conditions were repeated 6 times but with small changes. Ie. some additional brackets to ensure a simple search replace won't find it. And about every individual calculation in there was performed about a dozen times. Niiiiiiiice!
Admin
Just thought I'd post up this useful reference I used last week:
http://msdn.microsoft.com/en-us/library/aa140066(v=office.10).aspx
I was creating an XML document and using XSLT to generate Excel-compatible XML because I wasn't permitted to install the Office Interop Assemblies.
Butchering XML for "business analysts" makes me sad.
Admin
Admin
tosses a box with the label 'attention' to pjacquit
Now happy, or do you want some more?
Admin
The German variable names make this even more fun to read.
Admin
Admin
23 words plus punctuation:
There are some discrepancies (in some cases they use '>' for comparison, in other cases '>=') and one special case (which is repeated three times), but basically, this is it.
Admin
You hadn't have a look at the austrian taxcode.
Admin
Seit wann ist die tägliche wtf auf Deutsch?
Admin
Less coffee, my friend. Or more. One of the two. =)
Admin
You can call me a troll, I don't mind, but "exceling" at Excel is like "failling" at failing. You're doing it wrong.
But no, seriously, the time it took you to master Excel could have been used to learn something much more productive. Anyway, it's your time of course, you are free to do as you choose. But don't come here bragging about it ... we're not some middle-aged soccer moms easily impressed by your leet Excel skilz.
CAPTCHA: esse Troll feed time I guess.
Admin
Take my Corolla for example. I get 45mpg in the city, and that's with the gasoline being 20% ethanol. I bet if I was using pure gasoline I'd get 60 (which, coincidentally is only 5 more mpg than I get on the highway). I've driven over 200,000 miles and had only 4 oil changes. You read that right: 4. That's literally 1/10th of what American vehicles require. Unlike American vehicles, my Corolla doesn't have to sacrifice performance for efficiency. I've done 10.5 seconds in the quarter mile, easily beating the Mustanges and Chargers who showed up. You should have seen the look on those gear heads' faces! I guess the key is to build your car smarter. And that's what the Germans excel at.
Admin
You think Toyota is German? So much for smarter.
Admin
Admin
I love this place.
Unfortunately I am compelled to use WinBlows at work ;(
Admin
Clearly, you love to insult foreigners? I know exactly what jumping through hoops is. Opening a CSV file also requires jumping through hoops for Excel.
Admin
[quote user="Penguin Parade]Clearly you've never worked on a headless operating system.
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![/quote]
I hate to nitpick, but a headless OS is an OS without any interface. That is to say, no console or GUI. Much like your average server/PBX... Having said that, I do still think that text interfaces are superior to GUIs. (And no, I hate Linux...)
Admin
Is that you Fawlty? :-)
Admin
The one advantage to the original cruft that I can think of - and its a small one, more than outdone by a lack of commenting - would be if it matched up with the actual language in the tax code. Even if that was the case (which its probably not), its still very poorly structured.
When it comes to financial software though, having somewhat redundant code that's obviously traceable to the business requirements is often better than having beautiful code that requires a lot of study to track back.
The original post, as presented, is obviously neither.
Admin
Say it with me now: "Woosh..."
Admin
[quote user="<>"][quote user="Anonymous"]TRWTF is German tax legislation.[/quote] Say what you want about Germans: they build supreme automobiles.
Take my Corolla for example...quote]
Corollas are Japanese you pillock
Admin
What hoops? What's so difficult about opening a CSV in Excel? Maybe you could actually try to open a CSV in Excel real quick, and tell me what hoops you have to jump through?
Admin
Admin
Admin
Admin
Text gets converted to numbers for 1. So "045" becomes 45.
Admin
Admin
OK...So what did you do for the other 23 hours and 58 minutes of your day?
Admin
Congratulations. You win. I am too paralyzed to respond any further on this.
Admin
As someone who has seen obvious trolls before I can assure you that you have just fallen victim to one. I didn't read far into your post as you actually started to explain the differences. That we all already know.
Admin
Also Bobbo must write "Mein Kopf ist kaputt."
CAPTCHA: esse - eat! in (dated) german
Admin
Rechner-Automatisierte-Turingprüfung-zur-Separierung-von-Ariern-und-Rechnern (RATSAR): Populist - was der Vorposter war.
Admin
So many trolls in this forum to adjust your troll detector on and it still is not working?
Obviously german troll-detectors are sub-par!
Admin
And as noone has pointed this out so far: XML is a hierarchical data structure, while CSV is flat like a single table in a relational database.
Admin
Admin
Some quotes to treat Akismet: Only after Jews were identified -- a massive and complex task that Hitler wanted done immediately -- could they be targeted for efficient asset confiscation, ghettoization, deportation, enslaved labor, and, ultimately, annihilation. It was a cross-tabulation and organizational challenge so monumental, it called for a computer. Of course, in the 1930s no computer existed.
But IBM's Hollerith punch card technology did exist. Aided by the company's custom-designed and constantly updated Hollerith systems, Hitler was able to automate his persecution of the Jews. (...) Just as compelling is the human drama of one of our century's greatest minds, IBM founder Thomas Watson, who cooperated with the Nazis for the sake of profit.
Only with IBM's technologic assistance was Hitler able to achieve the staggering numbers of the Holocaust.
Admin
60 meters per gallon? That's not very good at all! Hahahahahahah!
Admin
Sounds like IBM....
Admin
Hi, IBM? Yeah, it's me, Hitler. Soo.. I need to find all of the Jews, you know, from everywhere. I have a big truck filled with .. uh.. ice cream? Yeah, ice cream. So I need to find every Jew. So I can give them some ice cream. Can you do it for a disproportionately massive amount of bloo.. erm.. honest currency? Uh-huh. Uh-huh. Heil to you too. Buh-bye,
Admin
LOL, your IE loads ten minutes? Mine is up and running in 2 seconds.