Nice! Thanks!
Just a basic programmer living in California
Nice! Thanks!
It looks like there is a playlist here: https://youtube.com/playlist?list=PL-cwa6ZvflaDvviwm8JqO6hZ9W-fhG48c&si=SLCAv2EqJ_jRC9fj
When I researched this previously I concluded that there are two very good options for regular backups: Borg and Restic. These are especially efficient at backing up a diff of what has changed since the last backup. So you get snapshots of your filesystem state at each backup point without using a huge amount of space. You can mount any snapshot as a virtual directory. After the initial backup, incremental backups take a minute or two.
I use Borg, and I back up to cloud storage on Borgbase. I use Vorta as a GUI for Borg. I have Vorta start automatically when I start my window manager, and I have it set up for daily backups. I set up the same thing on my kid’s computer.
I back up my home directory. I have some excluded directories like ~/.cache
, and Steam’s data directory. I use Baobab to find large directories that I don’t want backed up.
I use the “exclude caches” option in the Borg “create archive” settings. That automatically excludes Rust target/
directories because they follow the Cache Directory Tagging Specification. Not all programming languages’ tooling follows that spec so I also use directory name pattern excludes. For example I have an exclude pattern for .*/node_modules/.*
I use NixOS, and I keep my system config in a git repo so I don’t need backups for anything outside my home directory.
According to the theory of quantum immortality, everyone gets their own main-character timeline.
In the episode where he wore that outfit he held the Enterprise hostage, froze two crew members, and threatened to wipe out humanity.
I thought so too, but my wife said, “Nope nope nope”
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.
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
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.
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.
No one is saying mountains aren’t real - that’s an example to show the absurdity of denying facts. The person referenced is a “creationist”, and probably doesn’t reference one specific person. The biggest thing with creationists is denying evolution.