GTG3000

  • 0 Posts
  • 224 Comments
Joined 1 year ago
cake
Cake day: June 26th, 2023

help-circle









  • Yeah, I remember when I was trying to parse XML into some lua tables and it forever stumped me how to represent something like

    <thing important_param=10 other_param="abracadabra"> stuff </thing>
    

    You just have to have different ways to turn different tags into stuff in your program and that’s a huge amount of overhead to think about when all I want is a hash map and maybe an array.


  • GTG3000toProgrammingWhy YAML sucks?
    link
    fedilink
    arrow-up
    7
    ·
    3 months ago

    It’s inconsistent and annoying. Expressive, yes. Gets it’s job done, yes. Absolute nightmare of a spec, YES.

    The fact that JSON is a subset of YAML should tell you everything about how bloated the spec is. And of course there’s the “no” funny things.

    Personally, my favourite way to write configs was using lua (because it was already part of the project so why not), but JSON does fine.








  • GTG3000toScience Memes@mander.xyzRadioactivity
    link
    fedilink
    English
    arrow-up
    3
    ·
    4 months ago

    Chernobyl isn’t safe safe, it’s just safe enough for wildlife to survive there, possibly with lowered life span and quality of life.

    Also, there’s a decent danger of radioactive dust coming off the book if it’s handled. It may not be that radioactive, but if it clings to you, or you breathe it in, it will do considerably more damage than if it was all one solid rock that made geiger counters click.