27 karma · joined May 12, 2021 (5y ago) · 17 submissions
comment 2y ago · link · parent
I have the same with Nix (from NixOS).
It’s a really nice idea to have a functional language that compiles to a working linux installation, but those abstract functions can get really complicated, especially when I return to something I wrote six months ago.
It makes me really miss Rust’s type system…
comment 2y ago · link · parent
You might enjoy the talk Adam Conover had with Ed Zitron[2]; I found it quite cathartic.
1: https://ifdesign.com/en/winner-ranking/project/ai-rice-cooke...
comment 2y ago · link · parent
In the Netherlands for example, lots of people go by car to Work, because that’s relatively far away; but then they’ll use their bike or transport for everything else. Stuff like groceries, dentist visits, meeting friends, going to the gym, etc. because all those things are within (their district of) the city.
comment 3y ago · link · parent
1: https://web.archive.org/web/20230122044853/https://www.altch...
comment 3y ago · link · parent
1: https://en.wikipedia.org/wiki/Machine_Identification_Code
comment 3y ago · link · parent
Those backups are also pushed to an offsite location (with a hosting provider).
Laptop and NAS run on a single disk rootfs, Desktop and Server run on mirrored nvme drives.
comment 3y ago · link · parent
I also wipe my entire rootfs every boot with a zfs snapshot rollback[2] using the impermanence module[3] to keep specific stateful data one one of two datasets with regular snapshots: one is backed up with zfs send, the other is just for cache between reboots.
It took a little puzzling to get started, because I didn’t know about the impermanence module at first, so I built my own hacky solution. But I really love this setup. And the way I don’t have cruft to clean.
Also my backups are so much smaller now :’-)
comment 3y ago · link · parent
You could also try for a templating framework (like jinja2) but then you have 3 syntaxes colliding: the programming language you call the templating engine with (e.g. Python for jinja2) the templating language itself (e.g. jinja2) and then JSON as well.
comment 3y ago · link · parent
All other responsibilities have to be legally enforced; stuff like worker safety, food safety, minimum wage, 8-hour workday, no child labour etcetera.
These are all things companies will gladly ignore if it profits them. Minimum wage in this case, through a loophole of payback.
comment 3y ago · link · parent
That’s not true, Wants=/Requires= do not specify any order between units, only that without them the unit cannot be marked as succesful. This way they can still be started in parallel.
If you really want it to happen after network is up, you should add a dependency of After= under the Requires=.
Also network-online.target might be a better choice but YMMV.
comment 4y ago · link · parent
The configuration of the keyboard is highly flexible and super easy, and no software on the pc is needed (only to flash the updated config).
I’ve also used a Kinesis Advantage in the past, which was amazing. But that was my boss’s, so I had to leave it.
Apart from that I’m using the Dvorak layout, which gives me a much better typing experience than querty; way less fingerstreching.
comment 5y ago · link · parent
The main difference I see is that meesee workers are always setup as python programs, whereas RQ workers are separate programs. (calling a `rq` program insead of `python3 my_worker.py`) Though looking at the docs tells me that RQ can do the latter as well.
comment 5y ago · link · parent
Meesee is an elegantly simple worker system (written in python) using redis as a backend, and it works really well if you don't need all those extra features that stuff like Celery give you.
You just need a redis instance and then you're good to go :)