HNHacker News
TopNewBestAskShowJobs

5e92cb50239222b

3,964 karma · joined June 7, 2021

Former "friend of the West" from the other side of the Iron Curtain. Left most English-speaking resources in 2024 after belatedly retaliating that our friendship is not welcome over there, and never really has been.

HN was one of the better places.

submissionscomments
5e92cb50239222b··on Security Advisory: Update encrypted USB drives and replace short passphrases
Daily reminder that your LUKS volumes can be configured to be unlocked with a single tap using any FIDO2 hardware key (with an optional passphrase fallback for which you can use a long diceware).

http://0pointer.net/blog/unlocking-luks2-volumes-with-tpm2-f...

systemd is not required, it just simplifies enrollment.

5e92cb50239222b··on Red Hat cutting back RHEL source availability
It was more about the second part of your comment. Even if they're forced into providing source for the few essential system libraries (plus the kernel), I don't see what it gives you without the rest of the system (most of which is under pushover licenses because we can't learn from our mistakes).
5e92cb50239222b··on Red Hat cutting back RHEL source availability
Yet they're still way older than most tech companies. I'd wager they will outlive 99.99% of those unicorn startups yet.
5e92cb50239222b··on Red Hat cutting back RHEL source availability
I doubt most RHEL packages use the GPL. They were publishing full source out of goodness of their hearts (or maybe to conquer more market share and then potentially convert some of that into sales if you're more cynical).
5e92cb50239222b··on NASA secures contract with Rocky Enterprise Linux
I wonder why they didn't follow Fermilab and CERN and choose AlmaLinux.

https://news.ycombinator.com/item?id=33904336

5e92cb50239222b··on Having non-x86 machines makes your life harder
Having never built it myself, I wonder why the hell is it so slow to compile? I've built Firefox many times, including multi-stage builds with PGO, and it takes maybe 30 minutes tops on my 2015 era desktop. Is it because they use a lot of vendored code?
5e92cb50239222b··on I give up on free software phones (2019)
It's still less user-hostile than ads in your start menu and asking the overlord for the privilege of having rights to use your own computer. That's good enough for me.
5e92cb50239222b··on OpenBSD: Shutdown/reboot now require membership of group _shutdown
Oh, the irony of linking to GitHub.

https://github.com/openbsd/ports/commit/bf33ea5f3ff390d8cde3...

https://github.com/openbsd/ports/commit/469b0a4b0a1152576d93...

5e92cb50239222b··on OpenBSD: Shutdown/reboot now require membership of group _shutdown
Prefix code blocks by two spaces.

Now I wonder why my FreeBSD systems use underscores for some groups, but only a few of them.

  $ grep ^_ /etc/group
  _pflogd:*:64:
  _dhcp:*:65:
  _ypldap:*:160:
5e92cb50239222b··on KDE Plasma 6 Has Reached the Point of Being “Fairly Livable”
ChatGPT is pretty ok at converting data between representations, even very different ones. This is the only thing I ended up using it for — aggregating text data into JSON structures, converting iptables rules into nftables (or even pf/ipfw), translating an XML tree into YAML, etc etc.
5e92cb50239222b··on KDE Plasma 6 Has Reached the Point of Being “Fairly Livable”
You're shadow-banned for some reason. Maybe reach out to HN?
5e92cb50239222b··on KDE Plasma 6 Has Reached the Point of Being “Fairly Livable”
Probably never. I think KDE is just too complicated at this point, with too many components and moving parts. I too very much enjoyed KDE 3: it was really performant on low-end hardware which I was using at the time, boring, and stable. But then KDE 4 happened — truly the Windows Vista moment of the Linux/FreeBSD desktop, and I ended up on a clunky setup built from separate smaller components which has been the most stable experience across all OSes (pretty much no issues or changes in my workflow in ~10 years).

AFAIK they really had to rewrite it — ­Qt4 was just too different from the old version, and you couldn't simply port older applications without almost doing a full rewrite anyway. Still sad it had to go, and we haven't seen anything similar since.

I am still yet to try the fork, though.

https://wiki.archlinux.org/title/Trinity

5e92cb50239222b··on Keycloak – Open-source identity and access management interview
AFAIK it has a bus factor of one, keep that in mind if you are going to build anything "serious" on top of it. I found it easier to configure than Keycloak, it lets you write short Python snippets for custom authorization logic, but it's about as heavy on resources as Keycloak. I hope he develops the project into a successful business, for users' sake if nothing else.
5e92cb50239222b··on Keycloak – Open-source identity and access management interview
Keep in mind that this site is filled with snake oil salesmen that will try to push anything to you. (Among many honest commenters, obviously.) I've never used third-party authentication and do not plan to. Web frameworks usually handle most of that stuff anyway.
5e92cb50239222b··on Keycloak – Open-source identity and access management interview
Every newer Java application I've seen is just as dog slow as those older ones. Keycloak itself being a prime example — it was rewritten on top of Quarkus recently, and it didn't help much. You're still expected to build a second image (and maintain it — it wouldn't be a problem if you only had to it once), and it still takes 2-3 minutes to become responsive.

You may have have seen those magical Java applications that both implement a decent amount of functionality (so not just a toy), and start in a couple of seconds, but the rest of us will believe it when we see it.

I wonder how they're developed, it feels like a throwback to the punch-card era.

While I don't have much love for Microsoft, you should take a look at dotnet. Applications written on top of dotnet (even using massive frameworks like ASP.NET + EF) actually do start in a few seconds, which is at least an order of magnitude faster than anything similar in Java.

5e92cb50239222b··on Merging bcachefs
Dave Chinner somehow managed to put reflinks on top of XFS, although it's not nearly the same as full filesystem snapshots. I believe there was discussion about implementing proper snapshots, but XFS is very conservatively developed, so that may be many years in the future, if it ever happens.
5e92cb50239222b··on I booted Linux 293k times in 21 hours
Unless you're on solar, does wasting electricity not bother you? I used to seed a lot of stuff for years (with typical uptime measured in months), but the CO2 impact, however tiny it is in the grand scheme of things, does not seem to worth it anymore.
5e92cb50239222b··on Edge sends images you view online to Microsoft
And yet under Nadella Windows is way more developer-centric than it ever was under previous leadership.
5e92cb50239222b··on Desktop Linux Hardening (2022)
I'd need to get a TPM first, which was worse by every metric compared to external keys last time I compared them.

FIDO keys are already here and can also be used for web authentication (which is their main use case. this is just a nice add-on).

They can also be used to conveniently unlock LUKS volumes which I completely forgot about since I'm not using LUKS:

http://0pointer.net/blog/unlocking-luks2-volumes-with-tpm2-f...

5e92cb50239222b··on Desktop Linux Hardening (2022)
I would throw hardware security keys in there. I use for two things (in the context of UNIX security): local PAM authentication through pam-u2f, and the SSH *-sk key types.

The first one allows me to almost never type in my local password (and use a 7-word diceware that is impractical to bruteforce). This should prevent many local privilege escalation scenarios by things like shitty npm packages. I used a trivial password for years because it was tiresome to type in dozens of times a day. Now I just type `sudo -i` and tap the hardware key. (I already use containers and firejail to prevent them from accessing my personal files, so this only leaves zero days).

https://wiki.archlinux.org/title/Universal_2nd_Factor

The second one provides a second factor for my SSH keys that makes them completely useless without a corresponding hardware key. You need OpenSSH 8.2 or later on both sides. `ssh 1.2.3.4` and tap the key (or `ssh-add` it to the key agent — but it's less secure).

https://gist.github.com/Kranzes/be4fffba5da3799ee93134dc68a4...

https://developers.yubico.com/SSH/Securing_SSH_with_FIDO2.ht...

5e92cb50239222b··on Desktop Linux Hardening (2022)
It is useful, unless you have an absolute crapton of memory, several times what you actually need. The swap is trivial to encrypt if you're paranoid (the key doesn't need to be persisted and can be generated from /dev/urandom on each boot).

https://chrisdown.name/2019/07/18/linux-memory-management-at...

https://haydenjames.io/linux-performance-almost-always-add-s...

https://wiki.archlinux.org/title/Dm-crypt/Swap_encryption

5e92cb50239222b··on Desktop Linux Hardening (2022)
JFYI, firejail can do all of that. It can start each application in a separate xserver (giving you a choice from several implementations), deny access to everything with whitelisting (or do the reverse — your choice). The profiles are really easy to read and write, and it already covers a lot of popular stuff.
5e92cb50239222b··on Desktop Linux Hardening (2022)
You either get a mess like iOS/Android that take everything away from user in the name of "safety", or yet another complicated beast like Qubes that has its own tradeoffs.
5e92cb50239222b··on A peek into Japan's convenience stores
Enable showdead in your profile.
5e92cb50239222b··on A peek into Japan's convenience stores
You were hellbanned years ago, so sadly a lot of your comments about life in the Philippines have been in vain. You might want to reach out to HN, maybe some sort of automation fucked up.
5e92cb50239222b··on Debian 12 “Bookworm”
Let's not conflate hardware with software. The first one is practically impossible to modify for a completely different reason than the second one (physical limitations and the need for specialized hardware that costs serious money vs artificial limitations imposed by developers). You can at least repair it (unless you bought into the Apple ecosystem — you knew what you were getting into then), and a relative of mine makes good living doing just that.
5e92cb50239222b··on Debian 12 “Bookworm”
It's also close to impossible to choose fully Linux-compatible hardware for some of us. Whatever decent Thinkpads there are left are practically unavailable in my country, unless you're willing to buy from foreign sellers without any warranty and pay hundreds of dollars for shipping. Things like Framework are completely unavailable and probably will be for the foreseeable future. I use desktops exclusively so I can pick and choose, but I am in the minority of a minority.
5e92cb50239222b··on uBlock Origin 1.50.0
Don't forget blocklist maintainers. Their work is just as valuable as the actual adblocker — without them, it would be mostly useless. I checked mine and none of them seem to be accepting donations, but yours might.

edit: actually, several massive lists are maintained by AdGuard, who do have a way to throw money at them.

5e92cb50239222b··on Spotify lays off 200 employees, or about 2% of its workforce
Sure, if it were a real desktop application, but it's just the same web UI repackaged into a separate copy of Chromium.
5e92cb50239222b··on Spotify lays off 200 employees, or about 2% of its workforce
Can I ask why? Last time I used it, I didn't see any difference compared to the web version. Modern browsers can be controlled through MPRIS (playerctl or the bult-in client if you're using a full DE) and don't waste an additional couple of gigabytes of RAM to play a single audio stream.
← PreviousPage 7 of 34Next →