- 4 Posts
- 67 Comments
BB_C@programming.devto
Linux@programming.dev•Two Linux Distributions I'm Watching Closely in 2026
3·1か月前(didn’t read OP, didn’t keep up with chimera recently)
From the top of my head:
The init system. Usable FreeBSD utils instead of busybox overridable by gnu utils (which you will have to do because the former are bare-bones). Everything is built with LLVM (not gcc). Extra hardening (utilizing LLVM). And it doesn’t perform like shit in some multi-threaded allocator-heavy loads because they patch musl directly with mimalloc. It also doesn’t pretend to have a stable/release channel (only rolling).So, the use of
apkis not that relevant. “no GNU” is not really the case with Alpine. They do indeed have “musl” in common, but Chimera “fixes” one of the most relevant practical shortcomings of using it. And finally, I don’t think Chimera really targets fake “lightweight”-ness just for the sake of it.
BB_C@programming.devto
Linux@programming.dev•Chimera Linux Releases New Images With Kernel 6.18
4·2か月前No. This one is actually cool, useful, and innovative. And it tries to do some things differently than everyone else.
BB_C@programming.devto
Linux@programming.dev•Which Desktop Environment Do Arch Linux Users Prefer
2·2か月前Not knowing about opt-in telemetry doesn’t convey lack of experience, or lack of (relevant) knowledgeability. Especially considering the fact that Arch purposefully keeps the existence of it low-key to avoid the possibility of pissing off anyone.
I was already an Arch user when that opt-in telemetry was introduced. And only heard about it because I was relatively active in Arch communities back then (relatively young, relatively new to Arch). If pkgstats were introduced two years later, I would have never heard of them. Because believe it or not, Arch is just a reliable OS, where you don’t have to interact with anything other than reading the odd announcement every other year. It’s not a “community”, or a “way of life”, or anything in that bracket.
BB_C@programming.devto
Linux@programming.dev•Which Desktop Environment Do Arch Linux Users Prefer
64·2か月前The premise of the question is wrong, since it assumes a general preference.
If you’re asking 👉 this 👈 Arch user, the answer is “NONE”.
EDIT: The majority of users, especially experienced ones, don’t enable pkgstats. So such stats always end up in some form of self-selection (biased towards users who would use a DE in this case).
BB_C@programming.devto
Linux@programming.dev•Amber the programming language compiled to Bash, 0.5.1 release
1·2か月前They know you can just do
if ((age < 18))in bash, right?Or rather
if ((10#$age < 18))becauseage=021would not be adult 😉 Hopefully, they protect against that at least.(I had to double-check this stupid default is still a thing, since I moved to zsh many years ago.)
BB_C@programming.devto
Programming@programming.dev•Reversing a string in Rust (for no reason)
171·3か月前I gave this a quick look at 2X speed with a lot fast seeking, and my brain still hurts.
First of all, and concerning Rust, please familiarize yourself with the mem module and its functions at least. You didn’t even get near a situation where using
unsafe{}was actually required.Second of all, and concerning the task at hand itself, for someone who knew to make the distinction between bytes and chars, you should have known about grapheme clusters too. There are a lot of multi-char (not just multi-byte) graphemes out there. You can make a “Fun With Flags” 😉 segment to show that off (no attribution required). Just don’t do anything silly, and make sure to just utilize the unicode-segmentation crate.
BB_C@programming.devto
Linux@programming.dev•sudo-rs Affected By Multiple Security Vulnerabilities - Impacting Ubuntu 25.10
122·3か月前sudois NOT a part ofcoreutils. Anyone with basic *nix knowledge would have known this.sudo-rs, as expected, is also NOT a part ofuutils. And the projects happen to be very different in many aspects.uutilsstarted from scratch as a hobby side-project, and it was developed from the start in idiomatic Rust. It can’t directly take anything from the GNU implementation anyway, as explained in their README.sudo-rshowever is a funded effort to translate some C projects into Rust with as littleunsafe{}as possible. Some of the code was directly translated from the original implementation. And if you look at the code in general, you will see that it’s rather low-level and looks more like C than Rust in many parts. Some of this is arguably necessary given the nature of sudo functionality, but not all of it.Both projects do share the fact that they probably didn’t push for distros, Ubuntu or anyone else, to switch to either of them by default already, and both were probably surprised it happened this soon.
And yes, this exposure, negative as it may seem for now, is an unavoidable “teething” period, and it’s going to be of great benefit to both projects on the long run. Hopefully, Ubuntu users living on the edge wouldn’t face too much trouble meanwhile.
(I don’t use Ubuntu, but have been using
sudo-rsby default for months.)
BB_C@programming.devto
Cool GitHub Projects@programming.dev•Heater: A Rust command-line application that churns your CPU cores at maximum capacity so your laptop isn't cold
2·4か月前At least use a SIMD load, and maybe someone would find it cool-adjacent.
zswapis not better than modernzramin any way. And you can set up the latter with writeback anyway.But that’s not OP’s problem since “swap gets hardly touched” in OP’s case.
The point is compression.
% swapon NAME TYPE SIZE USED PRIO /dev/nvme0n1p2 partition 8G 0B 5 /dev/sda2 partition 32G 0B -2 /dev/zram1 partition 3.5G 1.8G 32767 /dev/zram2 partition 3.5G 1.8G 32767 /dev/zram3 partition 3.5G 1.8G 32767 /dev/zram4 partition 3.5G 1.8G 32767 /dev/zram5 partition 3.5G 1.8G 32767 /dev/zram6 partition 3.5G 1.8G 32767 /dev/zram7 partition 3.5G 1.8G 32767 /dev/zram8 partition 3.5G 1.8G 32767% zramctl NAME ALGORITHM DISKSIZE DATA COMPR TOTAL STREAMS MOUNTPOINT /dev/zram8 zstd 3.5G 293.4M 189.2M 192.5M [SWAP] /dev/zram7 zstd 3.5G 282.1M 187.5M 192M [SWAP] /dev/zram6 zstd 3.5G 284.6M 189.4M 192.9M [SWAP] /dev/zram5 zstd 3.5G 297.8M 197.3M 200.1M [SWAP] /dev/zram4 zstd 3.5G 304.9M 202.9M 206.7M [SWAP] /dev/zram3 zstd 3.5G 300.7M 201.9M 204.6M [SWAP] /dev/zram2 zstd 3.5G 311.3M 207.2M 210.6M [SWAP] /dev/zram1 zstd 3.5G 307.9M 210.5M 213.3M [SWAP] /dev/zram0 zstd <not used for swap>
- Use zram devices equal to the number of threads in your system.
- Use zstd compression.
- Mount zram devices as swap with high priority.
- Mount disk swap partition(s) with low priority.
- Increase swapiness:
sysctl vm.swappiness=<larger number than default> - Use
zramctlto see detailed info about your zram disks. - Check with
iotopto see if something unexpected is using a lot of IO traffic.
Okay. I thought for a moment that you and everyone else were not on the same page.
zram file
what zram file?
Forgot to mention that I wasn’t exactly young at the time. We just didn’t have reliable broadband internet back then in my neck of the woods. So I had to download ISOs and save them in a USB thumb drive in a uni computer lab.
Early Mandriva with KDE 3.4 or 3.5 I think, but I can barely remember anything with clarity. It couldn’t have been bad though, since I haven’t used Windows on my own devices since 😉.
From my foggy memory, I think it was good for my then nocoder self, easy to use, stable, relatively lite, and had good looks.
I missed the Mandrake and pre-Fedora Red Hat era, but not by much.
With all the surface false analogies and general lack of solid knowledge in the comments here, I truly hope that at least half of them are LLM generated.
BB_C@programming.devto
Programming@programming.dev•Jean-Baptiste Kempf - Kyber: a new approach for real-time video and controls streaming based on Quic - YouTube
3·7か月前This is cool and lies within my area of interests.
One thing that is not clear is if there will be a way to do playback outside of custom players. If a stream can’t be trivially grabbed, and/or played directly in mpv (via ffmpeg library support or otherwise), this won’t be very useful for me.
It would also be interesting to see how the video streams are encoded, if the GOP size is forced to 1 and it’s all intra frames or not, and if it’s not, how synchronization after recovery (where FEC is not enough) is done.
Hopefully this gets posted again when the code is released.
BB_C@programming.devOPto
Programming@programming.dev•koto v0.16.0 released (koto is a scripting programming language)
1·7か月前Good thing we can edit titles here.
It’s laughable before you even get to the code. You know, doing “eval bad” when all the build scripts are written in bash 🤣
There is also no protection for VCS sources (assuming no revision hash is specified) in makepkg (no “locking” with content hash stored). So, if an AUR package maintainer is malicious, they can push whatever they want from the source side. They actually can do that in any case obviously. But with VCS sources, they can do it at any moment transparently. In other words, your primary concern should be knowing the sources are coming from a trustable upstream (and hoping no xz-like fiasco is taking place). Checking if the PLGBUILD/install files are not fishy is the easier part (and should be done by a human). And if you’re using AUR packages to the extent where this is somehow a daunting time-consuming task, then there is something wrong with you in any case.
Edit: That is not to say the author of the tool wouldn’t just fit right in with security theater crowd. Hell, some of them even created whole businesses using not too dissimilar theater components.
@kadu@scribe.disroot.org