So do you use JSON for your endpoints?
No we use XML
Oh interesting why is that?
Uhhh…no reason
Well SOAP is inherently evil so that just makes sense
What happens is that engineers look at a technology and say, this is too complex, I just need something simple. So they invent and/or adopt something simpler than the popular technology of the day.
But as they build more and more things using the technology, they realize that it needs more features, so those get added on. This happens over and over again to the technology with more and more features being added to it, until a new set of engineers look at it and say this is too complex, I just need something simple…
I work with SOAP for a legacy API
fucking kill me, I beg you
No can do, but I can put you in an envelope, head optional.
This is peak licensing
How does one address the paradox that, as JSON itself is evil, one cannot use it for evil?
(opinions may vary on the above; but it’s mine, so nyah nyah.)
It’s less evil than XML or YAML
XML is ok for complex docs where you have a detailed structure and relationships. JSON is good for simple objects. YAML is good for being something to switch to for the illusion of progress.
Hmm, hard to argue with that :P
Idk, I never used the weird advanced features of YAML, but the basics seems really nice for stuff you want people, especially non programmers, to edit. I generally default to YAML for config files.
Spoilsports. Next they’ll be telling me I can’t use apple software in the development, design, manufacture, or production of nuclear, missile, or chemical or biological weapons.
Me buying my first IBM ThinkPad online:
IBM: are you planning to use this ThinkPad to produce weapons of mass destruction?
Me: I wasn’t before, but now I’m curious
OK but how can json have a license? I understand a particular json parser having a license, but how can a specification, which contains no code, even be considered “software”?
The screenshot clearly is not talking about the json text file format, but a PHP extension called json.
Yes, but the “shall be used for Good, not Evil” part is part of the json license, not the PHP extension? https://json.org/license
Where do I report Twitter?
This gave me a brilliant idea:
- Everyone adds a clause to whatever license they use stating “any part of this software may not be used for war purposes of any kind”
- We wait until software with these licences is spread across the supply chain of everything on Earth
- …
- World peace, as no country would be legally allowed to wage war
“Vladimir Putin, you are under arrest for war crimes.”
“It was a special military operation! It was all the fault of the Nazis!”
“No, not for all that. You’re under arrest for violating the GNU GPL! Prepare to meet your source, licencef*****!!!”
*blam* *blam* *blam*
I’ll be downloading this one
The question on stack overflow: PHP Fatal error: Call to undefined function json_decode()
As a php user, this is hilarious.
The issue shouldn’t effect any php users today, as this is a issue with older versions of PHP 5.5, where the “outdated PHP 5.6” was released in 2014.
Anything on PHP 5.6 has been a security risk for half a decade already. So this is like if you were on Ubuntu 14, or Windows 8. If you have problems, it might be you.
The question is over 11 years old, so idk what is so funny about old question asking about old PHP.
Every Villain Is Lemons
E.V.I.L
can we please pronounce that evil in a British accent: ivil