worst fricking piece of shit i have ever seen that isn't yaml

worst fricking piece of shit i have ever seen that isn't yaml
absolute clusterfrick of a hierarchy, no good way to browse through them

CRIME Shirt $21.68

Black Rifle Cuck Company, Conservative Humor Shirt $21.68

CRIME Shirt $21.68

  1. 2 months ago
    Anonymous

    >no good way to browse through them
    I enjoy nushell for that purpose

    • 2 months ago
      Anonymous

      nothing good in python, can't graph the fricking pieces of shit worth a damn (unless you make a frick ton of seperate graphs for every root) and IT'S FULL OF FRICKING SHIT I DONT CARE ABOUT

    • 2 months ago
      Anonymous

      >nushell
      >license requires specifying pronouns

      • 2 months ago
        Anonymous

        it's standard MIT license you mong
        https://github.com/nushell/nushell/blob/main/LICENSE

      • 2 months ago
        Anonymous

        the author, JT, is one of those they/them regards

  2. 2 months ago
    Anonymous
  3. 2 months ago
    Anonymous

    It was an improvement over XML, but I would rather use TOML or YAML over JSON when possible

    • 2 months ago
      Anonymous

      TOML and YAML are both garbage

      • 2 months ago
        Anonymous

        TOML configuration file master race. cope and seethe.

        (although i admit their spec is becoming more and more bloated. this goes against their original principles)

        • 2 months ago
          Anonymous

          Apple PCL is really freaking dope. I'm surprised they open sourced it, Apple almost never open sources anything:

          https://github.com/apple/pkl

          • 2 months ago
            Anonymous

            >Apple PCL is really freaking dope
            its really not, you might as well embed lua at that point

        • 2 months ago
          Anonymous

          Becoming? You must be slow. Yaml and TOML have been a hot mess for years now. No self-respecting developer would promote this shit.

    • 2 months ago
      Anonymous

      What's wrong with xml?

      • 2 months ago
        Anonymous

        Have you ever parsed XML? It's horrible and by and large most interpreted programming languages fall back to wrapping around C extensions for it simply because it'd be too slow otherwise.

      • 2 months ago
        Anonymous

        Nothing wrong, just depends on the use case. I don't think xml is very good for encoding configurations.

  4. 2 months ago
    Anonymous

    >wasted 2 hours when jenson does it instantly

  5. 2 months ago
    Anonymous

    JSON!

    • 2 months ago
      Anonymous

      X

  6. 2 months ago
    Anonymous

    why's there not a thing that automatically identifies what the string is then

    • 2 months ago
      Anonymous

      heuristics has always been a liability. the funniest example i could think of to prove a point would be the whole "bush hid the facts!" thing

  7. 2 months ago
    Anonymous

    the alternative is xml/xsd and the developer community collectively gave it the middlefinger.

    in fact, the community is collectively giving the middlefinger to all things that have abstraction-bloat.

    thats why you see people yearning for minimalist shit, trying to move over to golang, prefer json, avoid oop, etc. etc.

    if you are into unmaintanable abstraction hell, get a job where they use java with soap webservices with code gen forbidden due to circumstances.

    hf.

  8. 2 months ago
    Anonymous

    it's moronic that it doesn't support comments
    what's even the point of having a human readable format instead of binary at that point?

    • 2 months ago
      Anonymous

      skill issue. tons of parsers support comments. i would rather b***h about non-deterministic formatting

      • 2 months ago
        Anonymous

        what's the point of standard format if I have to rely on non-standard features?

    • 2 months ago
      Anonymous

      >no comments
      >doesn't allow trailing commas

      Other than that I think it's fine

      No, it's not. XML schema can tell if something is wrong with it and tell what the information is representing. JSON doesn't even allow comments.

      json5 when, see

      json5 is pretty cool
      https://json5.org/

  9. 2 months ago
    Anonymous

    so then don't use it for config files if you don't like it for config files?

  10. 2 months ago
    Anonymous

    >no comments
    >doesn't allow trailing commas

    Other than that I think it's fine

  11. 2 months ago
    Anonymous

    Honestly, YAML is better than json, simply because YAML can do more.

    • 2 months ago
      Anonymous

      https://noyaml.com/

  12. 2 months ago
    Anonymous

    >no good way to browse through them
    Eclipse has visual view for json, yml and xml. Looks like Excel

  13. 2 months ago
    Anonymous

    >absolute clusterfrick of a hierarchy, no good way to browse through them
    It's a fricking tree anon. You're overthinking it.

    • 2 months ago
      Anonymous

      yeah but i just need to know what bits of the tree are useful and which aren't and when it's 10M entries long it's a pita

      >no good way to browse through them
      They aren't for you lmao. It's a data transport format, not your configs.

      it's mine because i'm using it for scraping

  14. 2 months ago
    Anonymous

    firefox parses json natively and lets you collapse/open key value pairs and shit these days

    between firefox and json.dumps(jason, indent=4) it's not so bad

  15. 2 months ago
    Anonymous

    JSON is fine. Much better structured data format than XML.

    • 2 months ago
      Anonymous

      No, it's not. XML schema can tell if something is wrong with it and tell what the information is representing. JSON doesn't even allow comments.

      • 2 months ago
        Anonymous

        It’s so weird that you would say this right after I wrote a json schema.

  16. 2 months ago
    Anonymous

    >no good way to browse through them
    They aren't for you lmao. It's a data transport format, not your configs.

    • 2 months ago
      Anonymous

      >not your configs.
      wrong

  17. 2 months ago
    Anonymous

    as bad as json is at least it's not 1/10000th as bad as fricking html is

  18. 2 months ago
    Anonymous

    But you have seen it

  19. 2 months ago
    Anonymous

    AYO LIL DALONNY I JUST TOOK A HUGE JSON DUMP ON YOUR R20 DICT.

  20. 2 months ago
    Anonymous

    comments should not be in files with config or code or data
    yes i also dont think programming files should have comments, they should be in a seperate file

  21. 2 months ago
    Anonymous

    >no good way to browse through them
    use/make json viewer

  22. 2 months ago
    Anonymous

    >filtered by json
    a new low

    • 2 months ago
      Anonymous

      i never do webshit
      its irrelevant i built a semiuniversal json analyzer so i can just ignore all the useless shit automatically now

  23. 2 months ago
    Anonymous

    json5 is pretty cool
    https://json5.org/

  24. 2 months ago
    Anonymous

    >absolute clusterfrick of a hierarchy, no good way to browse through them
    Use a scroll wheel? What do you mean

    • 2 months ago
      Anonymous

      ever look at a .har file
      the modern web is a fricking abortion
      but the data i need to scrapes in there so

      • 2 months ago
        Anonymous

        The first link tell about har file me there is a tool named har viewer to browse these files
        https://www.keycdn.com/support/what-is-a-har-file

        • 2 months ago
          Anonymous

          yeah i used the python lib
          it's still full of a hundred trillion 128bit keys because everyone is a israelite now

      • 2 months ago
        Anonymous

        learn jq my Black person

        • 2 months ago
          Anonymous

          i'd stil have top fricking jq around 4 levels in and 3 across

          i reiterate
          frick the web

  25. 2 months ago
    Anonymous

    EDN

Your email address will not be published. Required fields are marked *