• 3 Posts
  • 81 Comments
Joined 1 year ago
cake
Cake day: June 22nd, 2023

help-circle




  • When you think about it in pure money terms, fixing things becomes a lot more attractive. You can’t get a better deal than $150 for a Steam Deck (the cost to replace the screen on the one you already own).

    It’s always tempting to replace old stuff with new stuff, but it also always feels like a big victory when I repair something I already own. There is so much satisfaction in it, especially if you learn a new skill in the process e.g. soldering.
















  • LyDtoProgramming@programming.devWhy YAML sucks?
    link
    fedilink
    arrow-up
    19
    ·
    3 months ago

    YAML works great for small config files, or situations where your configuration is fully declarative. Go look at the Kubernetes API with its resources.

    People think YAML sucks because everyone loves creating spaghetti config/templates with it.

    One reason it tends to become an absolute unholy mess is because people work around the declarative nature of those APIs by shoving imperative code into it. Think complicated Helm charts with little snippets of logic and code all over the place. It just isn’t really made for doing that.

    It also forces your brain to switch back and forth between the two different paradigms. It doesn’t just become hard to read, it becomes hard to reason about.