199
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
this post was submitted on 13 Oct 2024
199 points (100.0% liked)
TechTakes
1481 readers
287 users here now
Big brain tech dude got yet another clueless take over at HackerNews etc? Here's the place to vent. Orange site, VC foolishness, all welcome.
This is not debate club. Unless it’s amusing debate.
For actually-good tech, you want our NotAwfulTech community
founded 1 year ago
MODERATORS
Xml also used to be a tech hype for a bit.
And i still remember how media outlets hyped up second life, forgot about it and a few months later discovered it again and more hype started. It was fun.
and then spent the entire Metaverse hype pretending Second Life didn't exist
Lot easier to do hype when you pretend the previous iterations didn't exist. (and still do, and actually have more content).
./^ L E G S ^\.
Oh man, XML is such a funny hype. What if we took S-expressions and made them less human readable, harder to parse programmatically and with multiple ways to do the same thing! Do I encode something an an element with the key as a tag and the value as the content, or do I make it an attribute of a tag? Just look at the schema, which is yet more XML! Include this magic URL at the top of your document. Want to query something from the document? Here you go! No, that's not a base64-encoded private key nor a transcript of someone's editing session in vim, that's an XPath.
JSON has its issues but at least it's only the worst of some worlds. Want to make JSON unparsable anyway, for a laugh? Try YAML, the serialization format recommended by four out of five Nordic countries!
lol
fucking
this take is so dangerously real I’m pretty sure uttering it at work will earn you a PIP and a fistfight in the parking lot with the lead data architect
you know, normal startup shit
yeah there are so many fucking crazy footguns in yaml
another I quite like:
YAML is great if you need to make simple configuration files
... which is why no one uses it for things like Kubernetes /s
To be "fair" kubernetes api only supports strongly validated/typed YAML-ish input..., it won't let you put non-string values in string locations. And in reality at the HTTP api layer—at least for kubectl—json is used. (Which also means you cant' do the more weird occult YAML things that JSON wouldn't let you)
You have to blame the deep-nestedness of k8s resources for unreadability...
this shit happens because FUCKING GO is a piece of shit (cf that post (from iirc fasterthanlime?) about how the go apis infect everything)
which should not be read as me supporting k8s, fwiw. fuck that noise too.
this reminds me of some of the more cursed things I know from that hype era
(see this for some others)
it’s fucking delicious how thick the buzzwords are for an incredibly simple device:
similarly in that age: CORBA
and now of course instead of people handcrafting xml documents by string-cating angle brackets and tags together in bad php files, we have people manually dash-cating yaml together in bad jinja and go template files! progress!
WP:LOL. WP:LMAO even
Wha... What?
I'm trying to imagine a news anchor hyping about XM-fucking-L and I'm drawing a complete blank, is this a zen riddle
It didn't jump out of tech media containment, so it wasn't a mainstream hype thing, more a techworker hype thing. It was the data serialization standard which would save the web! Second life otoh, did massively jump containment.
I’ve always seen XML as much more of a tech executive thing — here’s the language that’ll run your entire business but is also incredibly easy to create proprietary semantics with, ensuring you can’t be ousted without taking the company down with you! it looks like absolute shit and it’s painful to type! buy in now!
I know someone who was hired (around turn of the century) because they knew how to xml with a certain kind of then-important big systems api
the stories I’ve heard from there are hilarious
christ the shit I’ve seen with network vendors…. shibboleth NETCONF/YANG. advance warning; abyss grade 6+
And yet there are some tasks I wish I could do in NETCONF instead of the thing we're actually using, but apparently the documentation for this interface is difficult and expensive for the company to get my hands on, for reasons.
ikwym, that’s part of the set of crimes I was pointing to
XML works fine for what it is, it's just a bit verbose. Not sure it'd be my first choice for a new thing, but it's not a toxic waste dump if you're allowed to do it properly.
Yes! Exactly. Good example.