| « Prev | Page 1 | Page 2 | Next » |
|
looks an awful (pun intended) lot like http://thedailywtf.com/Articles/XML_vs_CSV__0x3a__The_Choice_is_Obvious.aspx
How many times will history repeat itself ? |
|
About time too! It's been far too long since we've had someone doing something unspeakable with XML.
|
|
Should we do something simple, or do something complicated?
Let's do both! CAPTCHA: Facilisis. Sounds like an infection caused by apps like this. |
|
Nice one guys, I had to laugh at this (all too familiar) misuse of XML. Still, I think you need to work on some new article names - this one sounds awfully familar...
http://thedailywtf.com/Articles/Keeping-It-Stupid-Simple.aspx |
|
I was attracted to your site because I was looking for a good sample of XJSON. This definitively helps! Thanks.
|
|
|
Very funny!!!
|
|
TRWTF is "save-date-yyyy":"Oct 27"
|
|
Encapsulating JSON in XML? This one should definitely be taken a photo of on a wooden table. On a truck. On a freight train.
|
Re: Keep it Simple and Stupid
2008-11-17 09:37
•
by
Dougal
(unregistered)
|
|
You call that HTML? lol
|
Re: Keep it Simple and Stupid
2008-11-17 09:38
•
by
J.R. "Bob" Dobbs
(unregistered)
|
|
As an aside, I just love their very clever JSON date field names. On seeing a name like ".*mmdd", you would be tempted to fill it with something like "1027", without even looking at the documentation, huh? Well, you won't pull that one with these guys (I'm not counting the "yyyy" also being "Oct 27", as it's obviously a typo).
|
|
Reminds me of the days at uni when one person had the genius idea of storing his MySQL queries in an XML database.
|
Re: Keep it Simple and Stupid
2008-11-17 09:48
•
by
008
(unregistered)
|
No, I'm pretty sure we call it (a horrible use of) XML. CAPTCHA: jugis (If you remove the i, then hell yes, please) |
They should probably write a prototype for this and name it XMLJSONHTTPRequest which would unpack the XML and create an object hierarchy in JavaScript populating the end-objects with information from JSON strings, all of which is received over a HTTP connection. The library would make things so much simpler when it comes to doing all this... And if it the server-side only works with the database, they could write the queries on the client and then the library which should keep things As Simple As Possible would be called MySQLXMLJSONHTTPASAPRequestHandler. It would be a very complex thingy that keeps lots of other thingies simple. |
|
That's what they get asking.
Remeber, people, the next time you face an unsolluble (there is no "better" option, just options) technical choice and think about asking management, don't! |
|
the real wtf is why are they trying to write an actual application using PHP
|
Oh yeah, I was so wasted during the year of Oct 27. So wasted, I thought we were still using numbers... |
Re: Keep it Simple and Stupid
2008-11-17 10:15
•
by
Vollhorst
(unregistered)
|
Oct 27 == Dec 23 Don't see a problem here. |
Re: Keep it Simple and Stupid
2008-11-17 10:16
•
by
Anonymous Cow-Herd
(unregistered)
|
I see what you did there. CAPTCHA dupe: facilisis |
Re: Keep it Simple and Stupid
2008-11-17 10:22
•
by
SchizoDuckie
(unregistered)
|
Actually, according to my calc.exe Oct 27 == 33 |
|
Notice how the vendor is Johann Sebastian Bach. Now I know what inspired Toccata and Fugue in D minor.
|
Re: Keep it Simple and Stupid
2008-11-17 10:28
•
by
Vollhorst
(unregistered)
|
Nope. Oct 33 = Dec 27 |
|
> XML or JSON
Therein lies the problem. Should have been "XML xor JSON". |
Re: Keep it Simple and Stupid
2008-11-17 10:28
•
by
ricecake
(unregistered)
|
Umm, Oct 27 == 2*8 + 7 == 16 + 7 == 23 |
Re: Keep it Simple and Stupid
2008-11-17 10:30
•
by
Brian LaPierre
(unregistered)
|
Pray tell how the octal representation is less then the decimal representation when you can't use 8 or 9? |
Re: Keep it Simple and Stupid
2008-11-17 10:32
•
by
John
(unregistered)
|
|
Some trolling that's so clever it's gone over my head?
How can a number represented in a higher base look bigger? Ah, of course you're using calc.exe penandpaper.exe is a lot less buggy, but only slightly less buggy than brain.exe |
Re: Keep it Simple and Stupid
2008-11-17 10:35
•
by
Pablo
(unregistered)
|
|
Then it's no surprise that the correct result is 23:
Oct 27 = 2*8 + 7 = 23 At least gcalctool gets it right |
don't blame it on calc.exe. it returns 23 for me. It was operator error, he did it backwards. dec 27 = oct 33 |
Re: Keep it Simple and Stupid
2008-11-17 10:47
•
by
Pendi
(unregistered)
|
That's why real programmers get confused by Halloween and X-Mas, cause OCT 31 = DEC 25 ... |
|
*ouch*
I neer saw THAT coming... |
Re: Keep it Simple and Stupid
2008-11-17 10:54
•
by
mopp
(unregistered)
|
Thanks -- you just teached me what xor is for :) |
|
I got a JSON array of strings of JSON once. I was speechless.
|
Re: Keep it Simple and Stupid
2008-11-17 11:12
•
by
John
(unregistered)
|
To be completely honest, I did it in my head, and then used calc.exe to double check. |
|
JSB is written 'Sebastian' with a single n, which is the real wtf here.
J-Dad Bach = Johann Ambrosius Bach, J-Son Bach = Johann Sebastian Bach. |
Re: Keep it Simple and Stupid
2008-11-17 11:22
•
by
Calculator
(unregistered)
|
|
Confirmation bias FTW (which is a WTF, but backwards)
|
Re: Keep it Simple and Stupid
2008-11-17 11:36
•
by
jimlangrunner
|
Shoot. Pity the poor bastage born on halloween, getting presents, and getting teased. Any wonder he doesn't do either anymore? |
Re: Keep it Simple and Stupid
2008-11-17 11:40
•
by
Code Dependent
|
I was inspired by "Air on a G String". |
Re: Keep it Simple and Stupid
2008-11-17 11:42
•
by
ambrosen
(unregistered)
|
What? "save-date" minus "yyyy"? Looks like a date minus a "yyyy" to me. |
|
JSB? Move up to the greatest, although least known, member of the family, Philip David Quentin Bach.
(yeah, I know his parents only gave him initials, but he probably gave himself real names later on) |
Re: Keep it Simple and Stupid
2008-11-17 13:01
•
by
Edward Royce
(unregistered)
|
Is that eXtreme-JSON? And is it eXtreme enough? |
Re: Keep it Simple and Stupid
2008-11-17 13:03
•
by
Alistair Wall
|
It's a Diskworld allusion: JSB is BSJ backwards. |
Re: Keep it Simple and Stupid
2008-11-17 13:05
•
by
Edward Royce
(unregistered)
|
I try but I always get a bluescreen. |
|
I'd say TRWTF is the »Sebastiann«, as far as I know the guy was named Johann Sebastian Bach, but after the »creative« definition of the yyyy (which was already noticed), I'll guess that's just a »minor glitch«, which »will be addressed« in one of the upcoming bugfix releases.
Drizzt |
Re: Keep it Simple and Stupid
2008-11-17 13:07
•
by
Edward Royce
(unregistered)
|
Oh yeah? I'll see your Bach and raise you a Barbara Bach! |
|
It's all too common to encapsulate one format into XML and then wonder why it not always works as expected.
I have a system where a fixed-record data is encapsulated in XML - and the fixed record contains spaces too, which means that there can be horrible problems if one isn't careful with formatting... |
|
Waiter! There's a JSON in my tagsoup!
|
Re: Keep it Simple and Stupid
2008-11-17 13:28
•
by
Duke of New York
(unregistered)
|
|
Obviously the yank is right and the furener is wrong.
|
|
It's not even Friday the 13th, but JSON has gone to hell.
|
|
TRWTF is not enclosing the JSON in a CDATA seection.
|
thedailywtf.com/lame |
| « Prev | Page 1 | Page 2 | Next » |