taaz
Big stuff
-euo pipefail
now being a posix standard is really awesome, as well as readlink and realpath (didn’t even know these last two were non-standard).
Formating of the configuration content under point 4 seems to have spilled out, you might have to use a triple backtick followed by newline if it’s a multiline code/content.
This.
venv
pip-tools
Specify your primary dependencies in pyproject.toml and use pip-compile to keep stuff locked in requirements.txt to exact versions (or even hashes).
Though after working with cargo a bit, I would love to have all of this in a first-class program, hope uv can get there.
Pretty sure this is directly inspired by C so I would guess Guido van Rossum (the author of Python) just used what was already common back then. As in, =
is assignment operator and ==
is equality/comparison operator.
https://en.cppreference.com/w/c/language/operator_comparison
If you exit KDE is the passwd shell of the root user actually changed to /usr/bin/bash ?
Or is it just $kde_terminal_emulator running bash directly instead of respecting the shell selection (and possibly not opening a login shell) ?
(Jerboa does not seem handle bad data signal too well, ignore the duplicates)
If you exit KDE is the shell of the root user actually changed to /usr/bin/bash ?
Or is it just $kde_terminal_emulator running bash directly instead of respecting the shell selection ?
Numbers from my instance, running for about a 1 year and with average ~2 MAU. According to some quick db queries there is currently 580 actively subscribed communities (it was probably a lot less before I used the subscribe bot to populate the All tab).
SELECT pg_size_pretty( pg_database_size('lemmy') )
: 17 GB
Backblaze B2 (S3) reports average 22.5 GB stored. With everything capped to max 1 USD, I pay cents - no idea how backblaze does it but it’s really super cheap, except for some specific transactions done on the bucket afaik, which pictrs does not seem to do.
According to my zabbix monitoring, two months ago (I don’t keep longer stats) the DB had only about 14G of data, so with this much communities I am getting about 1.5G per month (it’s probably a bit more as I was recently prunning stuff from some dead instances).
Prometheus says whole lemmy service (I use traefik) is getting within about 5 req/s (1m average) though if I go lower it does spike a lot, up to 12 requests within a second then nothing for few.
Attach it to the VM
Is this possible only with the extra, bought storage boxes ? Or is this possible even with the free 100G backup boxes offered with each dedicated machine ? (Or is this just nfs mount?)
We have a dedicated machine in a project from Hetzner with big raided hard disks but the latency is starting creep up on us, moving some of the data off to the faster ssd/san boxes would be rather helpful.