Just a basic programmer living in California

  • 0 Posts
  • 36 Comments
Joined 9 months ago
cake
Cake day: February 23rd, 2024

help-circle

  • From the paper,

    Launching a dart via an atlatl ‘normally’ requires that force is applied by hand to the short arm of a lever, moving the dart at the long arm of the lever […] a downward launch of an atlatl dart may partially hinder or entirely deactivate the biomechanics required for the atlatl to work optimally. […] [Additionally] the atlatl dart’s light weight may result in it more easily rotating in mid-air such that it is no longer perpendicular to the ground.

    My guess is that the dart falls out of the launcher fast enough to miss some of the push from the launcher.




  • Probably not very similar, but Git Butler is very interesting. It adds its own layer of management so that you can have multiple branches “applied” to your working tree simultaneously. It’s helpful when you have multiple changes that should go into different branches, and some that shouldn’t be committed - it has a system of lanes that help keep track of all that. Or you can test how changes from two branches interact.

    Last time I used it, maybe 6 months ago, it was rough around the edges so I didn’t stick with it. But they’ve done lots of work since then so I’m thinking of giving it another go. It is (last I checked) an all-in tool. When you’re using Butler on a project you probably won’t be able to use other git tools.


  • I think it depends. Lua is great for scripting - like when X happens do Y. I agree that makes sense for a case like Home Assistant. Sometimes you really want the result to be a data structure, not an interactive program, in which case I think more sophisticated configuration (as opposed to scripting) languages might be better.




  • hallettj@leminal.spacetoProgramming@programming.devWhy YAML sucks?
    link
    fedilink
    English
    arrow-up
    13
    ·
    edit-2
    2 months ago

    I agree - YAML is not suitable for complex cases that people use it in, like Terraform and Home Assistant. My pet peeve is a YAML config in a situation that really calls for more abstraction, like functions and variables. I’d like to see more use of the class of configuration languages that support that stuff, like Dhall, Cue, and Nickel.

    There is another gotcha which is that YAML has more room for ambiguity than, say, JSON. YAML has a lot of ways to say true and false, and it’s implicit quoting is a bit complex. So some values that you expect to be strings might be interpreted as something els.