universeodon.com is part of the decentralized social network powered by Mastodon.
Be one with the #fediverse. Join millions of humans building, creating, and collaborating on Mastodon Social Network. Supports 1000 character posts.

Administered by:

Server stats:

3.3K
active users

Learn more

#linux

1.6K posts1.2K participants34 posts today

Quick update on the Linux Change I was talking about a week ago, moving from Garuda to CachyOS.

It has stalled while I reconsider. My Garuda install has received a lot of little tweaks while I've been setting up the partition stuff and it's now set up in a way that feels so tailor-made for me that I'm actually starting to dread putting myself backwards in that sense. I think i need the stability of having somewhere that isn't in need ot work to get it where I need it. This is Self-Care: while so much of my life is in the air I need an environment that is concrete and familiar. When things are more stable elsewhere I'll revisit.

Note here: Krohnkite is
fantastic. When windows just arrange themselves to be useful...I get a real sense of glee. I don't think I can go back now. Tiling Windows Managers are my future.

I'm also considering re-jigging my partition set up to have my /Home directory on a partition by itself. A concept I've known about for yonks but have never applied. In theory this would make distro-hopping a lot less painful.

#Linux #DistroHop #Prudence #Partitions #SelfCare

Next #swad improvement: Make sure to #wipe #passwords from RAM directly after used. That's more of a #security precaution, because there *should* be no way how an attacker can access a running process' memory, but you never know which bugs surface 🙈.

Unexpectedly, that posed #portability issues. #C11 has #memset_s ... a pretty weird function, but suitable for wiping. It's there on #FreeBSD and on #OpenBSD. Not on #NetBSD though. But NetBSD offers the much saner #C23 function #memset_explicit. Looking at #Linux, there's neither. But there is the (non-standard!) #explicit_bzero 🤯 .. and with glibc, it requires _DEFAULT_SOURCE to be defined as soon as you compile with a C standard version given to the compiler. This function exists on some other systems as well, but there's confusion whether it should be declared in string.h or strings.h. 🤪

Here's the full set of compile-tests I'm now doing, only to find the best way to really erase memory:
github.com/Zirias/swad/blob/ma

And if none of these functions is found, swad uses the "hacky" way that most likely works as well: Access the normal memset function via a volatile pointer.

Simple Web Authentication Daemon. Contribute to Zirias/swad development by creating an account on GitHub.
GitHubswad/src/bin/swad/swad.mk at master · Zirias/swadSimple Web Authentication Daemon. Contribute to Zirias/swad development by creating an account on GitHub.

Does anyone know how to fix double input when pressing the arrow keys in #freedos 1.4 on #Linux #qemu ? I've tried the command line option "fix" -global i8042.kbd_throttle=on but some programs (lynx, nethack) still read my arrow keys as pressing exactly twice instead of once. I'm using Gentoo.

I really want to give FreeDOS a serious try and give some dev on it a shot but this is a bit of a dealbreaker. I'm open to trying other virtual machines that don't require KVM/hardware virtualization.

`blkdiscard` should have an option to discard only sectors on a drive that are not inside a partition.

This would be a bad idea on bootable MBR drives (the boot loader is usually stored there) but good on GPT drives (which waste a whole megabyte at the start for some reason).

I don’t like #Immutable #Linux. The idea of having a read only system is useless unless there’s a reason (e.g. SteamOS for gaming or distros focussed on enterprise).

I want to be able to break my system and then fix it myself. It’s why I run Gentoo. If I fuck it up I fix it.

I don’t want it to hold me back. I want to remove what I want even if it breaks things. That’s why I don’t use Ubuntu, I need to mess with dpkg to do that. (It’s also buggy and bloated too… ew snap…)

802.3ad/ax network bonding (Linux bonding mode 4) is pretty cool. It involves configuring server interfaces as well as the switch, to join multiple network interfaces together as one for load balancing and fault tolerance. LACP ("Link Aggregation Control Protocol") makes things relatively easy, too. I love learning how to use this stuff. My infra is now upgraded!