Just a basic programmer living in California
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.
Yes; he said that the real clothes itched, and Garak said that’s the wool, you’ll get used to it.
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.
Yes, there’s a good example. Ansible would make more sense if its configuration language was Nix…
Oh, thanks for calling that out. I think I may have mixed up some of the frustrations I experienced at an old job.
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.
The equation for force of gravity is F = GMm / r² where
The equation shows that gravity scales linearly with mass, and scales inversely with the square of distance. The article says K2-18 b is 8.6 times Earth’s mass, and 2.6 times Earth’s radius. So the weight of a 100 kg mass would be:
F = 100 × 8.6 / (2.6)²
which works out to a weight of about 127 kg, or 1.27 times heavier.
NixOS and Home Manager config both ways to get rid of the same thing
I use metric temperature when I talk to my kids. Now they give me a hard time when I give them a Fahrenheit value! Keeps me honest I guess. I’ve also got my oldest using a 24 hour clock.
Stardate, 2024-08-30T06:34:17.993Z
Oh dear… the other day I was encouraging my 12-year-old to join the cross country team. He said the only sport he’s interested in is badminton.
It seems that “fully” 3D printed is an overstatement. The article says, “there’s 3D printing whenever possible”. That includes printing the frame as a single piece, and the hubs. Some pieces are specified to not be 3D printed like the crank and saddle. The article doesn’t mention bearings.
Zed invented tree-sitter which is a great feature. But since tree-sitter is open source it’s also available in neovim and helix.
When you get stuck you explain your problem to the turkey, and that helps to understand the problem better.
Inefficient compared to batteries? I found another article saying this company hopes that the energy dome will cost ⅔ the cost of a lithium-ion battery installation with the same energy capacity. https://www.popularmechanics.com/science/energy/a61572150/carbon-dioxide-energy-dome-plant/
After seeing this comment I had to check how Disney is involved if they don’t own the restaurant. The restaurant is in Disney World (specifically Disney Springs). https://www.bbc.com/news/articles/c8jl0ekjr0go
IIUC that does put the restaurant in the special tax district that gives Disney the authority of a county government. But my very cursory search seems to indicate that restaurant safety oversight is managed at the state level.
It seems like only one side of the ancient rivalry is represented in the comments here. No worries, I’m right there with you.
Yeah the performance differences don’t matter in most cases. Rust makes it tempting to optimize everything because the language is explicit about runtime representations. But that doesn’t mean that optimizing is the best use of your time.
I thought so too, but my wife said, “Nope nope nope”