HNHacker News
TopNewBestAskShowJobs

Klasiaster

1,389 karma · joined September 25, 2014

submissionscomments
Klasiaster··on Flatcar Container Linux
Sounds like something that could be addressed, worth filing an issue/PR in https://github.com/coreos/ignition/
Klasiaster··on Advanced Linux Programming (2001)
The part about /proc contains things such as /proc/pci or /proc/ide that don't exist anymore (it's not a stable interface like /sys).
Klasiaster··on Haraldur Þorleifsson sweeps person of the year awards
January 2, 2023 - it was for being person of the year 2022
Klasiaster··on Make systemd better for Podman with Quadlet
The mentioned auto-update and rollback stuff looks also nice: https://www.redhat.com/sysadmin/podman-auto-updates-rollback...
Klasiaster··on Self hosting in 2023
While UPNP port forwarding works well for IPv4 (once you make sure to allow it in your local router config), I didn't find find it working yet for IPv6 and had to make custom port forwarding rules for the IPv6 address. Also, while I couldn't use port 80 I was happy that Caddy has working Let's Encrypt cert generation for 443-only usage. These "small" issues are the largest hinderence in self hosting at home, from my point of view.
Klasiaster··on The Lapdock Kit
Should work with one of those USB-C to USB-A adapters for keyboard/mouse at least, and one more cable/adapter for the MiniHDMI port.
Klasiaster··on Turning a TV set-top box into a Linux computer (2022)
You can also get a similar board with that CPU here: https://libre.computer/products/aml-s905x-cc/

It's optimized for mainline Linux and since u-boot supports UEFI booting, you can just throw a downloaded Fedora arm64 image on it and it will boot.

Klasiaster··on Ubuntu 22.04 LTS servers and phased apt updates
> Now that I've looked at all of this and read about APT::Machine-ID, we'll probably set it to a single value across all of our fleet

This is not a good idea, the machine ID is supposed to be unique and shouldn't change over the lifetime - a handful of software relies on this property and it's the best identifier for an installation if you can't rely on hostnames.

Klasiaster··on Running KDE Plasma on RISC-V VisionFive-2
With x86 PC compatibles you expect the opposite: You can use old software and the system will still boot and be mostly usable but not with SoC boards :shrug:
Klasiaster··on RISC-V SBC VisionFive 2 Officially Shipped
https://web.archive.org/web/20230111211739/https://rvspace.o...
Klasiaster··on RISC-V SBC VisionFive 2 Officially Shipped
Does is have UEFI boot support? I guess through u-boot?
Klasiaster··on VanillaOS: Immutable Ubuntu-Based Linux
From a quick look: The A/B partitions can be modified but it doesn't look like that is carried forward ("rebased") as with rpm-ostree. For package installations independent from the base OS there is something similar to (Fedora) Toolbox, called apx, where you also manage permantent containers for GUI or CLI apps that aren't available through Flatpak/Snap/AppImage or similar.
Klasiaster··on Meson Build System 1.0
Ok, I wasn't aware of an alternative reimplementation in C: https://git.sr.ht/~lattis/muon/tree/master - bootstrapping without Python shouldn't be a problem then.
Klasiaster··on Meson Build System 1.0
It's really a blessing that this project exists and was so well received and replaced Autotools in many areas already. That said, it has some learning curve for special cases (NB: the fact that it depends on Python may also need some workarounds in bootstrapping environments by e.g. compiling it first to native code or whatever but normally it's not a big deal as Python is around almost everywhere).
Klasiaster··on The $8 Linux Computer
Well, that was the UEFI part of the question: With UEFI you don't need special images built, you can use the generic arm64 image and it will boot as long as things are in the mainline Linux kernel.
Klasiaster··on The $8 Linux Computer
Does it support UEFI with an updateable open source firmware (e.g. u-boot)? With enough kernel mainlining happening this would allow to use any distro image instead of always having to fiddle with custom images.
Klasiaster··on A 100MW solar farm in Texas will mount panels directly on the ground
Dead ground is not so good for biodiversity, with the standard way you have wild grass and flowers beneath.
Klasiaster··on FreeBSD on the Raspberry Pi
The boards from Libre Computer are great because they work with mainline Linux and EFI, meaning you can boot any distro, be it Fedora, Debian etc. and directly use the latest distro kernels. You don't need a special image e.g. with a bootloader setup or some custom kernel that gets outdated quickly and never updated. It's really great to be able to not worry about the OS and kernel updates because you can follow what you would also do on your laptop or x86 server.

https://libre.computer/products/

Klasiaster··on SSHGuard
Would be nice to have this as eBPF cgroup socket filter, attachable to the systemd service (or OpenSSH could load it itself). Then it's not needed to parse the text logs anymore.
Klasiaster··on Git-bug: Distributed, offline-first bug tracker embedded in Git
Git plugins must have binaries that start with "git-" because that's how they become subcommands. If the binary is called "git-something" for that reason, and it's about the project git anyway, it kind of makes sense to use this as project name.
Klasiaster··on The leap second’s time is up: world votes to stop pausing clocks
Most systems rely on network time from a canonical time source. Wouldn't it be enough to do the leap second smearing/adjustment there to free the end systems from dealing with that?
Klasiaster··on Wiring my home with fiber
Meanwhile the wifi router I got from my provider maxes out at ~5 MB/s for local transfer between two devices…
Klasiaster··on Odroid-H3
Sounds better than the other boards, they could have written this stuff as selling point.
Klasiaster··on Odroid-H3
Who cares just about plain HW specs? Nowadays I also expect the info on whether it supports UEFI booting, whether the firmware gets updates (and if fwupd or not), and if mainline Linux can boot and from what version.

Too often these products have a limited lifetime (and are too hard to use) due to lack of the above.

Klasiaster··on Shell script best practices, from a decade of scripting things
Missing: When using "set -o pipefail" you should also catch any non-zero return codes that you want to accept, e.g., "{ grep -o pattern file || true ; } | sed pattern" to let the command continue (if desired) to execute even if pattern isn't found.
Klasiaster··on Wikiversity
Actually a nice idea to make lecturers collaborate and share more: Maybe it would help if the website could be used by university courses, e.g., by allowing to overlay custom course infos or modify sections.
Klasiaster··on Chaos Computer Club saves the German healthcare system 400M Euros
Can car manufacturers sell cars with a sealed tank, and you would have to buy a new car if it runs out of fuel?
Klasiaster··on Prusti: Static Analyzer for Rust
It doesn't mention unsafe in the README but the website says:

  The first versions of our tools are under development, and target a small but interesting fragment of Rust without unsafe features; in the future, we plan to extend our work to tackle a large portion of the language, including certain patterns of unsafe Rust code.
I wonder if this can be used to prove that unsafe code is memory safe.
Klasiaster··on Diving deeper into custom PDF and ePub generation
I can really recommend weasyprint for (markdown→)html→pdf generation: https://github.com/Kozea/WeasyPrint

Things like columns, footers/headers, hyphenation are all easily done with modern CSS.

Klasiaster··on Meli – email client in the terminal, in the spirit of mutt
With (al)pine in contrast to mutt you at least have filtering rules to move a mail to a folder. I hope that this would be added to meli, too - that's the last thing I would consider missing when reading the docs on the website: https://meli.delivery/
← PreviousPage 2 of 11Next →