• Soyweiser@awful.systems
    link
    fedilink
    English
    arrow-up
    15
    ·
    edit-2
    23 days ago

    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.

    • bitofhope@awful.systems
      link
      fedilink
      English
      arrow-up
      14
      ·
      22 days ago

      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!

      • Soyweiser@awful.systems
        link
        fedilink
        English
        arrow-up
        10
        ·
        22 days 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

      • self@awful.systems
        link
        fedilink
        English
        arrow-up
        9
        ·
        22 days 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

      • froztbyte@awful.systems
        link
        fedilink
        English
        arrow-up
        7
        ·
        22 days 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
        
      • JFranek@awful.systems
        link
        fedilink
        English
        arrow-up
        4
        ·
        21 days ago

        YAML is great if you need to make simple configuration files

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

        • zogwarg@awful.systems
          link
          fedilink
          English
          arrow-up
          4
          ·
          21 days ago

          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…

          • froztbyte@awful.systems
            link
            fedilink
            English
            arrow-up
            3
            ·
            21 days 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.

      • self@awful.systems
        link
        fedilink
        English
        arrow-up
        11
        ·
        23 days ago

        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
          • froztbyte@awful.systems
            link
            fedilink
            English
            arrow-up
            10
            ·
            23 days 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!

      • V0ldek@awful.systems
        link
        fedilink
        English
        arrow-up
        8
        ·
        22 days ago

        (see this for some others)

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

        WP:LOL. WP:LMAO even

    • V0ldek@awful.systems
      link
      fedilink
      English
      arrow-up
      8
      ·
      22 days ago

      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

      • Soyweiser@awful.systems
        link
        fedilink
        English
        arrow-up
        8
        ·
        edit-2
        22 days ago

        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.

        • self@awful.systems
          link
          fedilink
          English
          arrow-up
          8
          ·
          22 days ago

          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!

          • froztbyte@awful.systems
            link
            fedilink
            English
            arrow-up
            9
            ·
            22 days ago

            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+

          • David Gerard@awful.systemsOPM
            link
            fedilink
            English
            arrow-up
            8
            ·
            22 days 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.