renzev

joined 1 year ago
[–] [email protected] 2 points 5 days ago

No all anti-cheat is something that you need to install. Some anticheat solutions run on the game's servers and analyse player movement to detect common cheats. Those are the ones you don't need to be angry about.

[–] [email protected] 1 points 5 days ago* (last edited 5 days ago)

The “best” would be some kind of DC to DC converter

No sense in going dc->ac->dc if it can be helped.

Most laptop chargers can actually run on DC, and with as little as 48 volts. Here is a german guy demonstrating it. So if your battery bank runs on 48 volts, I think you might be able to just connect it directly to the input of a laptop charger and it will work.

[–] [email protected] 2 points 1 week ago

Yes exactly I'm mostly on-board with this flyer, I particularly like that tagline. But the inclusion of the EU flag is just completely bewildering to me, even as an EU resident myself. Are there really people out there who see the EU as some sort of bastion of freedom and justice?! Or is this some noncredibledefense-esque ironic meme that I'm too dumb to understand?

[–] [email protected] 8 points 2 weeks ago (1 children)
[–] [email protected] 2 points 2 weeks ago

No, one directory you need to backup for when things go sideways, and the other can go to /nev/dull.

This is why so many people have a separate git repository for their config files and a scripts that symlinks or copies those files into the actual ~/.config.

[–] [email protected] 14 points 2 weeks ago* (last edited 2 weeks ago)

Archwiki has a huge list of apps that do this with instructions on how to force them to not do this. You might find it useful.

Personally though, I've given up on wrangling stubborn apps and just use flatpak and docker for everything. It can't crap in your ~/ if it doesn't have access to it!

[–] [email protected] 11 points 2 weeks ago

XDG_DIR, Portals, Secrets, D-Bus, the Desktop file spec, Appstream… are there for you to read. 🥰

Standard compliance is a total mess in the world of linux desktop apps. My pet peeve is that $XDG_RUNTIME_DIR should point to a customizeable tmpfs that apps can use to store temporary data. But just TRY setting to anything else besides /run/user/1000 lol. Half your apps will be broken. Even apps that are made by/for the freedesktop people (e.g. Helvum, the pipewire patchbay app) struggle with this lol. This spec came out in 2021 -- three years ago -- and it's already ossified to the point of being barely useful. At this point I don't blame devs who say "fuck it" and just dump their tempfiles into /tmp the way ~~god~~ dennis ritchie intended.

[–] [email protected] 1 points 3 weeks ago

Oh, damn, that was the joke!? Went right over my head lol

[–] [email protected] 1 points 3 weeks ago* (last edited 3 weeks ago)

Does your distro use pipewire by any chance? That would explain the lack of issues.

[–] [email protected] 2 points 3 weeks ago

Ah, yes, the notorious unfuck-audio.sh script. It's like a rite of passage for linux users.

 
 
 

 

Explanation for newbies:

  • Shell is the programming language that you use when you open a terminal on linux or mac os. Well, actually "shell" is a family of languages with many different implementations (bash, dash, ash, zsh, ksh, fish, ....)

  • Writing programs in shell (called "shell scripts") is a harrowing experience because the language is optimized for interactive use at a terminal, not writing extensive applications

  • The two lines in the meme change the shell's behavior to be slightly less headache-inducing for the programmer:

    • set -euo pipefail is the short form of the following three commands:
      • set -e: exit on the first command that fails, rather than plowing through ignoring all errors
      • set -u: treat references to undefined variables as errors
      • set -o pipefail: If a command piped into another command fails, treat that as an error
    • export LC_ALL=C tells other programs to not do weird things depending on locale. For example, it forces seq to output numbers with a period as the decimal separator, even on systems where coma is the default decimal separator (russian, dutch, etc.).
  • The title text references "posix", which is a document that standardizes, among other things, what features a shell must have. Posix does not require a shell to implement pipefail, so if you want your script to run on as many different platforms as possible, then you cannot use that feature.

 
 
 
 
 
 

It's funny when armchair experts insist that the fediverse won't catch on because "federation is too hard to understand" when arguably the most widespread communication system on the internet follows the same model

 
view more: next ›