HNHacker News
TopNewBestAskShowJobs

Klasiaster

1,389 karma · joined September 25, 2014

submissionscomments
Klasiaster··on Modernizing the Tor ecosystem for the future (MCH2022 talk video)
I'm excited about the UDP support and official support for virtual network interfaces as known from VPNs. The library usage of the new Rust implementation is also great for integration and spinning off Onion Services for your servers or applications.
Klasiaster··on Uacme: ACMEv2 client written in plain C with minimal dependencies
You can directly redirect the service's output to a file: https://www.freedesktop.org/software/systemd/man/systemd.exe...
Klasiaster··on Why I left Pine64
Many Android phones are also open like this as shown by pmOS: someone somewhere has to work on mainline Linux support and normally mainline doesn't really work and there are still some downstream patches left, meaning you can't run what you want unless you have a patched kernel (the same it true for the PinePhone and PinePhone Pro).
Klasiaster··on SSH tips and tricks
In general it's not a good idea to forward the keyring just for the purpose of jumping to a next machine. If the first machine is compromised someone may get access to your private key. For mere jumping, you should use "ssh -J jumpuser@jumpbox targetuser@targetbox".
Klasiaster··on Gnome Turns 25
I think the proposal process works very well to modernize the distro and drive forward the improvements of the default installation, while in Debian the teams seem to do their own thing and innovation is very slow and even controversial (e.g., the systemd or merged /usr/ migration are sad examples but even small things like a good zram setup, systemd-oomd, and btrfs by default make a large difference).
Klasiaster··on Xz format considered inadequate for long-term archiving (2016)
ZPAQ is the name of the tool but ZPAQ is also the name of the container format that gets used. ZPAQ embeds the decompression algorithm in the archive. One could store zstd-compressed blocks in ZPAQ archives as soon as a zpaql decompressor exists (e.g., for brotli there is a slow one implemented in a python subset and compiled to zpaql https://github.com/pothos/zpaqlpy).

I don't know exactly whether other formats are better for seeking and streaming, but since the baseline is tar, ZPAQ (in the 2.0 spec) is already better as it supports deduplication and files can even be updated append-only, and the compression is not an afterthought wrapped around it but well integrated.

Klasiaster··on Gnome Turns 25
For a polished GNOME experience I recommend Fedora (once you know how to install the missing media codecs). Even Firefox there runs natively under Wayland and you also benefit from the latest advancements such as the Thunderbolt or performance managers.
Klasiaster··on Google Kubernetes Engine adds support for Arm nodes
With garm (https://github.com/cloudbase/garm) you can spawn ephemeral runner VMs, be it as Azure/GCE ARM instances or as lxc VMs (or lxc containers).
Klasiaster··on Google Kubernetes Engine adds support for Arm nodes
Thanks, yes, makes sense to look at the GCE announcement instead of the GKE announcement for this info.
Klasiaster··on Google Kubernetes Engine adds support for Arm nodes
They could have named Ampere and give credit to them, I think it's common in cloud instance offerings to have AMD or Intel also being named as underlying physical CPUs, even with the generation.
Klasiaster··on Google Kubernetes Engine adds support for Arm nodes
It's quite light on details: What properties does the (virtualized) ARM CPU that one gets have? Can it do KVM itself (meaning the underlying real CPU has support for nested KVM)? Can it do ARMv8.3 pointer authentication?
Klasiaster··on Oxide builds servers as they should be [audio]
Yes, automation with IPMI can be done (for a particular hardware due to quirks), and I recommend doing it (and I have done it) with a separate DHCP environment for the BMC NICs to be at least agnostic about the OS NIC's network environment.

So, I share your excitement when it works but I'm not happy with the out-of-the box experience of IPMI. I wish there was something better but unfortunately this is just one case of a split/mismatch of what HW people provide and what software people need.

Klasiaster··on Oxide builds servers as they should be [audio]
What is missing is a middle ground: an improvement over the IPMI broken-state-of-things that is aimed for automated deployments, without demanding a certain network environment for PXE booting and configuration of IP addresses for management.

I haven't used RedFish but it seems it does not address the problems of IPMI in this regard: To be fully automatable there shouldn't be an assumption about the network environment - rather I would like that to have an L2-based protocol (one has to use the MAC address as identifier anyway) or if IPv4/v6 is used then at least demand mandatory link-local auto-addressing by default. However, RedFish seems to support emulating a CD-ROM drive for booting an installation media, this is a nice idea but what I really would like to see is directly writing an image to the hard disk. Then of coure the hardware manufacturers would need to write high-quality firmware and not the regular quirk- and bug-ridden stuff that we know from IPMI implementations.

Klasiaster··on Show HN: Get rid of Git submodules and never look back (now for GitHub users)
Some aspects of git submodules are bad, especially for beginners. When I used them the first time had the strange experience that checking out or pulling left the submodule out of sync and I had to go to the directory and check out the right reference. Now I've learned to throw --recurse-submodules after "git checkout", "git pull", and "git clone" and you can mostly forget submodules then unless you start to interact with it explicitly.
Klasiaster··on SMS phishing is way too easy
Can't agree more! For 2FA there are much better options, like TOTPs which are more secure against phishing and account takeover (because they don't allow outside parties to trigger a verification request on your device). Let's see how the Bluetooth-based web auth proposal turns out to be implemented by big tech.
Klasiaster··on Lenovo ThinkPad X13s with Snapdragon ARM-CPUs Available
It really looks promising with a fanless design, 2 USB 3.2 Gen 2 ports and both large fast storage and RAM. No idea if or how well it runs Linux, though.
Klasiaster··on Best Practices for Inclusive CLIs
For good processing of the output it makes sense to add a flag like "--json", otherwise people have to come up with their own parsing that makes assumptions of the output and breaks as soon as the output is changed slightly, e.g., by adding a new field.
Klasiaster··on DNS Toys
I think it would work to use "time" etc as subdomains instead of TLD to be able to use any DNS server for the query.
Klasiaster··on Data Race Patterns in Go
My favorite example is the IP address type which is an alias for a slice of bytes (type IP []byte). Thus, it gets passed by reference instead of by value and you easily end up working on the same data even if you didn't plan to. This will just be a logical bug but there are data structures in Go which result in memory corruption and introduce the risk of (remote) code execution vulnerabilities.
Klasiaster··on Ask HN: Favourite open source game?
marsshooter and bloodfrontier weren't mentioned yet
Klasiaster··on How fast are Linux pipes anyway?
Netmap offers zero-copy pipes (included in FreeBSD, on Linux it's a third party module): https://www.freebsd.org/cgi/man.cgi?query=netmap&sektion=4
Klasiaster··on The Life of a Backpacker in Asia in the 1970s (2018)
Here's a good book about that: https://en.wikipedia.org/wiki/Ancient_Futures
Klasiaster··on Intel's New Chimera: Alder Lake
So true, my experience with the BIG.little ARM platform and a regular Linux kernel is that you always end up with the wrong scheduling and the system underperforms because it uses the little CPU for a compute-intensive single-thread task… I'll just avoid these kind of systems.
Klasiaster··on Bzip3 – A better and stronger spiritual successor to bzip2
Can't agree more, lbzip2 is the go-to tool for dealing with bzip2 compression and decompression, it's a whole lot of faster than bzip2 which is single-threaded!
Klasiaster··on Bzip3 – A better and stronger spiritual successor to bzip2
Here some other BWT compressors in the large text compression benchmark (look for "BWT" in "Alg" column): http://mattmahoney.net/dc/text.html

And here a BWT library with benchmarks: https://github.com/IlyaGrebnov/libsais#benchmarks

Klasiaster··on Xilem: An Architecture for UI in Rust
Would be great to eventually have different backends for this, like Java had where the app looked native in Windows, Gtk, etc. One could even think of having a TUI backend besides an HTML or Canvas backend.

That would be restricting of course when one needs features available in only one backend and developers could opt-in for more control and require a certain backend like Gtk or not require but detect the backend and get extra features.

Klasiaster··on Show HN: Weron – A Peer-to-Peer VPN Based on WebRTC Written in Go
There is work for using libp2p instead of a fixed third-party server:

https://pkg.go.dev/github.com/libp2p/go-libp2p-webrtc-direct...

Klasiaster··on Your phone may soon replace many of your passwords
Thanks, if that's the case it's at least an improvement.
Klasiaster··on Your phone may soon replace many of your passwords
The main problem I see (based on the screenshot in the article) is that it still allows the attacker to initiate the auth flow from the outside, and the clueless user would in doubt just unlock for them. I don't see how the proposed scheme would prevent this phishing attack. It seems to be worse than the SMS 2FA part where one would at least have to enter the SMS code into some suspicious website.

My method of choice would rather have been what is established now for 2FA with time-based one-time passwords (TOTP). Here the attacker can't initiate the auth flow from the outside.

Klasiaster··on Podman Desktop Companion GUI – Parity on All Major Operating Systems
correction: podman-restart.service
← PreviousPage 3 of 11Next →