Spyke

Replies

linux

Comment on

Forgot to create an fstab. How did it still boot?

To be clear, grub itself doesn’t mount your root partition. Grub provides the root partition device path or id to the kernel via kernel command line. Then kernel mounts the root partition early in its boot sequence with a limited set of options (typically read only).

Logically, the root partition should be mountable without fstab because otherwise it would be a chicken and egg problem :)

Usually once the userspace starts, an init script will remount the root partition with its normal options from fstab.

(It’s a bit more complicated if initramfs is involved, but the principle is the same).

dnd

Comment on

Fairer (but Crunchier) Random Attribute Generation

It sounds all right, and I’m glad it works for you, but I personally wouldn’t want to use this system as a player. You’re eliminating all the fun of rolling the stats.

The way your system works is basically a variant of point buy where you get more points, but the point allocation is random. I would rather give more points, or a different stat arrays if I wanted more powerful PCs.

Also, why do your players even know each other’s stats, and why do they care? Sounds like munchkinism to me, tbh.

Of course, there is no right way to play d&d, as long as everyone is having fun :)

Comment on

Copilot is now injecting ads into GitHub pull requests. It's a disaster.

Reply in thread

You can start by moving your development workflows (pull requests, issue tracking, etc.) to something like codeberg. You can continue publishing your PyPI package from Github by just pushing your code from codeberg to Github.

Eventually you can also move the publishing pipeline over as well. I don’t know how complicated your library is, of course, but in simplest cases it’s a matter of rewriting a config file in a slightly different way.

linux

Comment on

Confession: I don't know what passwords in Linux are for

I think the basic premise of this question, that Windows and Linux somehow have a different foundational security model that is or isn't based on passwords, is not really true. Passwords play more or less the same role for any modern operating system -- be it Linux, MacOS, Android, iOS, etc.

The only major difference is that instead of UAC, Linux has a variety of options (sudo, policykit, run0), which are implemented differently across different distributions. If your privileged user doesn't have a password, in some cases this could lead to any program being able to elevate their privilege quietly, unlike UAC.

However, in many distributions you can set up a user with a password and enable passwordless local login, which would be almost equivalent to windows with no password.

Answering your question directly, the major threat to most consumer users is physical compromise or theft of device. Your statement that "physical access is game over" is not entirely accurate: disk encryption with a password is a very strong protection against unauthorized data access, but you need to use a password (doesn't matter if it's Linux or Windows).

linux

Comment on

Is there an application that stabilizes the volume level of downloaded mp3 files?

Go to Preferences -> Audio -> Replay Gain mode and set it to "Album" (if you're listening to whole albums) or "Track" (if you're mixing it up). This will let VLC read the ReplayGain[1] tags in your files and adjust playback volume accordingly. Chances are high that a lot of your collection already has these tags, and you won't have to do anything else. If some of your files don't have these tags, just run a tool (https://github.com/complexlogic/rsgain for example) to generate them.