

have been eyeing elixir for a while, should give it another try. the whole beam/otp/erlang is a bit scary though


have been eyeing elixir for a while, should give it another try. the whole beam/otp/erlang is a bit scary though


Had to solve the same problem few months ago, user provided content and so, user provided translations.
We use postgres everywhere and we had to support 3 languages initially with one more eventually, so we decied to use json fields for anything that could be translated (which wasn’t too much).
Mind you, this was basically a (temporarily permanent) prototype project but (fresh) postgres has a good support and operators for json so it worked alright.
EDIT: I remembered that hstore might be a good alternative too, I think it was slightly less “heavy” and had better operators for the kind of access we needed


The day revanced dies is the day I leave youtube.


it’s not just Let’s Encrypt, it’s because of https://certificate.transparency.dev/
have it on dietpi (pi 4) + tailscale at home to monitor my dedics
Best bet would be that something reloaded/changed the underlying ip/nftables bypassing ufw (ufw is just a frontend, I do not know if it periodically verifies the current rules are correct and it would feel extraneous to me if it did). Or it didn’t apply it correctly.
You can get the actual rules with iptables-save (dunno about nftables command)
If your primary usecase is going to be music (so a need for realtime capabilities for stuff like recording, VSTs and DAWs) then I do not reccomend immutable distros for a simple reason: you will probably/eventually need to hack something up to get it to work and at that moment, the immutability is just extra work.
As far as I have tried fiddling with the music stack on Linux (which is not that much), the whole pipewire/JACK/carla stack is a bit messy and I can’t imagine it working with flatpacks due to the sandboxing/permissions.
in that case you can grab any of the other distros that are Arch-based, EndeavourOS/Garuda/CachyOS and so on. You will get the benefits of rolling-release like fresh-er software without the need to setup & configure it yourself.
One is trying Bazzite the other one is just classic fedora
Two of my friends switched recently.
They had none to very little experience with anything Linux before, their previous win11 installs just over bloated and the copilot bullshit pushed them over. Both (indie/non-pop shooters) gamers btw.
This is the year of linux.
Friend just hopped to Bazzite from Windows.
I was hoping the atomocity would be a great boon - you kind of can’t break it right.
Well, he wanted to configure RGB lighting on his mouse but the flatpak openrgb did not work, supposedly the udev rules included in bazzite by default, are not up to date or there was some other problem.
As such we had to install openrgb the usual system-wide way, with rpm-ostree in terminal - something I was hoping he would never had to do.
Unless the vendor is rolling something super custom, for the communication TO the keyboard, it should use USB HID.
Start Wireshark, filter for hid, connect the KB and the first message should be a HID descriptor of the KB, look for Output Reports (it’s meant from the POV of the usb master) or Feature Reports.
Though, this will probably not yield much insight - vendors love to do the easy thing, reserve opaque 32x8 bytes as a “downlink” Output communication in the Vendor Usage Page and stuff their own protocol/encoding in there.
On linux I can recommend hid-tools for working with this, in windows I believe your only solution is Wireshark.
https://www.marcusfolkesson.se/blog/hid-report-descriptors/
Happy Hacking!
E: About the already reversed software, for logitech (and more) stuff, there is piper but you will want to look into the underlying daemon libratbag, there is also solaar
There is also https://github.com/jokob-sk/NetAlertX


Not a frontend dev but whenever I need to make something web, I just use Bootstrap. I believe that was the way to do web UIs after jQuery and before all the big frameworks.
So, maybe look into bootstrap guides? It’s basically html+css+js with premade goodies (at least it was last time I had to do web stuff).


My instance is close to two years old now, and on average has had about 2 MAU, with no (local) communities.
Currently we have about 700 active federated communities (that had any federated activity within last month), out of 900.[1]
The on-disk size of both lemmy and pict-rs database[2]
postgres@postgres:~$ pwd
/var/lib/postgresql
postgres@postgres:~$ du -sh data/
31G data/
I use pict-rs with S3 provider and the bucket size is currently at 22.82 GB (read: external network storage, this is probably mostly just thumbnails[3]).
So in total there is almost 54GBs spent just for lemmy.
So assuming you have 100G remaining after system stuff and dedicate that box only to lemmy (and pict-rs media files) and use it mostly for yourself [4], you should be alright for about 3-4 years (assuming that I am gaining about 27GBs total per year and that you will federate with a similar amount of a similarly active communities).
If you offload media storage to a hosted S3 bucket[5] then you should be good for a lot longer as you will only need space for the postgres databases.
The rest is either dead (instance gone) or no one is subscribed to them anymore (as such my instance is not getting any new content from there: neither posts nor comments or votes) ↩︎
Postgres itself reports about 2G less, don’t really know why but I am guessing it has something to do with the filesystem being btrfs ↩︎
Edit: I currently do not use the “privacy” mode of pict-rs where it proxies all content (so that a bad guy can’t post an image link to his server and unmask users IPs), this would increase the S3 size and slightly postgres size. ↩︎
You should use Lemmy Subscriber Bot to automatically federate little bit of random communities so that public All feed is not exact copy (minus NSFW comms) of whatever you as the only user subscribe to. ↩︎
Though keep in mind that S3 buckets eventually cost some money too, for example Cloudflare R2 charges $0.015 per 1GB, above the first 10GBs. ↩︎


How did you open this? Maybe something overrode your default text editor application (look in settings for Default Applications).
Also maybe check your EDITOR env variable (echo $EDITOR), though that is only used when a different CLI program wants to open an editor for you (in CLI)


Linus: Are you going to say the AI word?
I’m not going to say the AI word, unless you want me to.
No, no, no.
Hahah


You are replacing partitions with subvolumes, as such you have to make these operations on the btrfs filesystem (so as others have already written, deleting the subvolume instead of re-formatting the partition).


Usually, when games and programs natively support 3rd party mods/plugins its done so through a defined API - a modding API - just a bunch of functions made by the devs that allow you to register new stuff, change/override what already exists, react to events, … Example https://lua-api.factorio.com/latest/
Lua is often used as the language for the mods because it’s really easy to embed into a program (most games are done in compiled languages) and so creates a “sandbox” - you can only really call what the devs make available for the lua scripts.
I mean I might have a laughing pikachu tattooed, from my side you are good