this post was submitted on 13 Oct 2024
197 points (100.0% liked)

TechTakes

1491 readers
65 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 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 15 points 2 months ago* (last edited 2 months ago) (5 children)

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.

[–] [email protected] 18 points 2 months ago (2 children)

and then spent the entire Metaverse hype pretending Second Life didn't exist

[–] [email protected] 14 points 2 months ago

Lot easier to do hype when you pretend the previous iterations didn't exist. (and still do, and actually have more content).

[–] [email protected] 11 points 2 months ago

./^ L E G S ^\.

[–] [email protected] 14 points 2 months ago (4 children)

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!

[–] [email protected] 10 points 2 months ago

No, that’s not a base64-encoded private key nor a transcript of someone’s editing session in vim, that’s an XPath.

lol

[–] [email protected] 9 points 2 months ago

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!

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

[–] [email protected] 7 points 2 months ago

Try YAML, the serialization format recommended by four out of five Nordic countries

yeah there are so many fucking crazy footguns in yaml

another I quite like:

❯ ipython -c 'import yaml; d = dict(); d["d"] = d; print(yaml.safe_dump(d))'
&id001
d: *id001
[–] [email protected] 4 points 2 months ago (1 children)

YAML is great if you need to make simple configuration files

... which is why no one uses it for things like Kubernetes /s

[–] [email protected] 4 points 2 months ago (1 children)

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...

[–] [email protected] 3 points 2 months ago

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.

[–] [email protected] 11 points 2 months ago (2 children)

this reminds me of some of the more cursed things I know from that hype era

(see this for some others)

[–] [email protected] 11 points 2 months ago (1 children)

Sarvega, Inc., the leading provider of high-performance XML networking solutions, today announced the Sarvega XML Context™ Router, the first product to enable loosely coupled multi-point XML Web Services across wide area networks (WANs). The Sarvega XML Context Router is the first XML appliance to route XML content at wire speed based on deep content inspection, supporting publish-subscribe (pub-sub) models while simultaneously providing secure and reliable delivery guarantees.

it’s fucking delicious how thick the buzzwords are for an incredibly simple device:

  • it parses XPath quickly (for 2004 (and honestly I never knew XPath and XQuery were a bottleneck… maybe this XML thing isn’t working out))
  • it decides which web app gets what traffic, but only if the web app speaks XML, for some reason
  • it implements an event queue, maybe?
  • it’s probably a thin proprietary layer with a Cisco-esque management CLI built on appropriated open source software, all running on a BSD but in a shiny rackmount case
  • the executive class at the time really had rediscovered cocaine, and that’s why we were all forced to put up with this bullshit
  • this shit still exists but it does the same thing with a semi-proprietary YAML and too much JSON as this thing does with XML, and now it’s in the cloud, cause the executive class never undiscovered cocaine
[–] [email protected] 9 points 2 months ago (1 children)
[–] [email protected] 10 points 2 months ago

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!

[–] [email protected] 8 points 2 months ago

(see this for some others)

This article appears to contain a large number of buzzwords. (July 2011)

WP:LOL. WP:LMAO even

[–] [email protected] 8 points 2 months ago (1 children)

Xml also used to be a tech hype for a bit.

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

[–] [email protected] 8 points 2 months ago* (last edited 2 months ago) (1 children)

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.

[–] [email protected] 8 points 2 months ago (2 children)

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!

[–] [email protected] 9 points 2 months ago (1 children)

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

but is also incredibly ease to create proprietary semantics with

christ the shit I’ve seen with network vendors…. shibboleth NETCONF/YANG. advance warning; abyss grade 6+

[–] [email protected] 6 points 2 months ago (1 children)

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.

[–] [email protected] 5 points 2 months ago (1 children)

ikwym, that’s part of the set of crimes I was pointing to

[–] [email protected] 8 points 2 months ago

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.

[–] [email protected] 8 points 2 months ago

Yes! Exactly. Good example.