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 Arch Linux: Git migration completed
Seems like you're using btrfs for repos.archlinux.org. Any problems with reliability and/or performance? Very rarely does someone share their experience if everything is working fine, regardless of a technology in question.
5e92cb50239222b··on Arch Linux: Git migration completed
Probably PEBCAK, but even the best mirrors according to

https://archlinux.org/mirrors/status

still seem unsynced on my arch systems.

5e92cb50239222b··on The long life of Apache httpd 2.4
It has also been the first to gain HTTP/3 support. nginx still has some beta-quality branches which must be compiled manually and will be shipped to mainline god knows when. (Yes, HTTP/3 is noticeably faster on crappy high-latency networks, some of us do need that.)
5e92cb50239222b··on The long life of Apache httpd 2.4
It has belonged to an American company called F5 for years now. You should look for those evil Russians under your bed, I hear they like to hide there too.
5e92cb50239222b··on 20 Years of Gentoo
Python can be fast — dnf is pretty fine, and although it has no relation to package managers, my most favorite example is the kitty terminal emulator. Most of it is written in Python, but you don't feel that at all. It feels like pure C. I refused to even try it for a long time, but have been hooked for several years now.
5e92cb50239222b··on 20 Years of Gentoo
RHEL uses a separate copy of python (called platform-python) for its most critical components, like the dnf package manager. I wonder why Gentoo doesn't do the same. Of course, it's pure bloat, but only until you're left

> without a working package manager

5e92cb50239222b··on .zip top level domains being used in cyber attacks
Probably most of this list:

https://en.wikipedia.org/wiki/List_of_Internet_top-level_dom...

5e92cb50239222b··on FreeBSD 13.2 on ThinkPad T14 (GEN1)
Not sure what "switch to wayland" means in the context of FreeBSD, since AFAIK it has no default desktop, but wayland compositors have been working fine for me for about as long as they have on Linux. FreeBSD uses mesa and Linux graphics drivers with its own thin shim layer and everything works more or less the same.

https://docs.freebsd.org/en/books/handbook/wayland

5e92cb50239222b··on FreeBSD 13.2 on ThinkPad T14 (GEN1)
Painless ZFS on root.
5e92cb50239222b··on The SGI XFS Filesystem
XFS has been the default for everything since RHEL7 IIRC (the smallest disk I tried was something like 5 GBs).
5e92cb50239222b··on The SGI XFS Filesystem
You might want to look up XFS benchmarks from a few years ago and compare them to today's if you think Dave is not an expert on (file)system performance.
5e92cb50239222b··on The SGI XFS Filesystem
Performance is better on ZFS too, especially for bittorrent and VM images. Just remember to set recordsize appropriately (typically 1M for large file storage).
5e92cb50239222b··on The SGI XFS Filesystem
SSDs are very likely to put all those copies into a single physical block underneath. Since ZFS makes backups easy, better stick to copies=1 and do backups often.
5e92cb50239222b··on The SGI XFS Filesystem
> there are flash-dedicated filesystems that will beat ext in performance and reliability

If you mean f2fs, it really won't. Be careful with it.

https://www.usenix.org/system/files/atc19-jaffer.pdf

The paper is old at this point, but I found a fresh PhD thesis from the same author from 2023, and it seems to re-confirm these findings.

5e92cb50239222b··on The SGI XFS Filesystem
Dynamically created inodes (might be useful if you work with a very large number of files — ext4 might run out of them and refuse to create new files even if you have lots of free space), more stable performance under load (standard distributions of latency and throughput are typically lower), reflinks. In return you lose BSD and Windows compatibility, if you ever need those, and performance averages are somewhat lower (used to be a lot lower but XFS has caught up very close to ext4).
5e92cb50239222b··on Pigz: Parallel gzip for modern multi-processor, multi-core machines
GNU tar can autodetect the compression algorithm, both for compression and decompression.

  $ tar -caf dst.tar.zst /src
  $ tar -xaf src.tar.zst
(it's fine to omit -a for decompression)
5e92cb50239222b··on Bcachefs – A New COW Filesystem
They put no real effort into ZFS, their own userspace tooling was only half-baked and then thrown aside. Continuing to build and ship the kernel module doesn't cost them much, the hard work of ZFS development is done by others. Quite interesting how you blame others for being fanboys while being a fanboy yourself.
5e92cb50239222b··on Bcachefs – A New COW Filesystem
Years of effort is a stretch, nobody serious (read: who's willing to pay for it) has been working on raid5/6 pretty much since its inception (since nobody serious needs raid 5/6 at all). Western Digital promised to fix it a couple of years ago, but there doesn't seem to be much progress since then.
5e92cb50239222b··on Bcachefs – A New COW Filesystem
It isn't, and the problem is not in "hashing files" (or blocks for that matter). Checksum calculation is very cheap, especially if you use default settings (which prefer simple & fast checksum functions like crc32/xxhash instead of strong cryptographic functions like sha256/blake2 that can be enabled manually).

The real issue is that modifying large files on a COW filesystem causes it to spread that file's guts all over the disk (i.e. fragmentation), and results in serious performance loss over time.

For some reason that doesn't happen nearly as much on ZFS and it's totally fine for VM and database workloads.

5e92cb50239222b··on Bcachefs – A New COW Filesystem
archzfs does not distribute any kernel images, they only provide pre-built modules for the officially supported kernels.
5e92cb50239222b··on 50 years in filesystems: 1984 BSD FFS
Depends on your definition of mainstream computing. Samsung's f2fs has been in the linux kernel for many years and is used on their Android devices. It can be used on desktop or server SSDs and gives impressive results on some workloads compared to more traditional ones like ext4, but I've been steering clear of it because at least in 2019 it had really bad error detection (just silently discarding most i/o errors, not something you'd want in a filesystem):

https://www.usenix.org/system/files/atc19-jaffer.pdf

It may have improved since then, who knows.

5e92cb50239222b··on Syncthing: A continuous file synchronization program
200ms is not "very far apart". I routinely use it on 350-450ms connections with no issues — it easily saturates my 500 Mbps link.

Although in your case I would probably use ZFS snapshots through syncoid, they'd be much more efficient than anything else.

5e92cb50239222b··on Ask HN: I won't have Internet access for months, How could I use my time?
Get ebook dumps while you can. Some of those are Russian, but most are not.

https://rutracker.org/forum/viewtopic.php?t=5705905

The first post includes an index that leads to a dozen more dumps, grouped by programming language and/or field. Look for links named "Скачать".

If you manage to see this comment before moderators remove it, good for you. If not, at least I tried — there's no contact info in your profile to contact you privately. (Sorry dang. I've been through similar shit and the last thing you care about in that situation are "intellectual property rights" of some Mr. Moneybags from the opposite side of the globe).

5e92cb50239222b··on South Korea to give $490 allowance to reclusive youths to help them leave house
As long as we're sharing anecdotes... I won't speak for everybody, but I definitely am "voluntarily reclusive", so this measure would do absolutely nothing if I lived in South Korea. Zero fucks given about what the society thinks: I work remotely, live a comfortable life, and have no desire to see anyone. It's just how my brain is hardwired and has been that way forever, no amount of money would fix it (even if I wanted to).
5e92cb50239222b··on FreeBSD 13.2
I believe it runs fine in any browser with WebRTC support.
5e92cb50239222b··on OpenBSD 7.3
The "new .NET" (which used to be called .NET Core not long ago — the whole versioning scheme is a total fiasco on their part) is relatively cross-platform, but is not fully compatible with the old one (which is only available on Windows and hasn't been updated for many years). Your colleagues probably ported an old .NET project to Mono to move it off Windows. The usual thing these days is to port old projects to the "new .NET" instead, but it isn't always possible (because full compatibility between the two was a non-goal from the start).

Anyways, as dvzk has mentioned, Mono is a completely separate project and is not a replacement for current dotnet. Last time I checked, an experimental FreeBSD port was available, but MS doesn't seem to care very much about any of the BSDs.

5e92cb50239222b··on OpenBSD 7.3
"Modern" .NET is not compatible with it (or as Microsoft would say, "OpenBSD is not compatible with .NET"), and there doesn't seem to be much interest in resolving that. For comparison, it is available from official repositories at least on Ubuntu, Fedora, RHEL, and Arch Linux, and I use it daily to build and host stuff for $DAYJOB.
5e92cb50239222b··on Mariadb.com is dead, long live MariaDB.org
> At least SQLite offers something in return that Postgres can't do.

If you're going to throw allegations around, at least get your facts straight. MariaDB and MySQL support complex replication topologies out of the box, including multi-master. Yes, it does come in useful if implemented correctly: we built a business application for a particular setup with many branches around the country, many of which have very unreliable network and must be able to continue working with a local database when that network is not available. It has been running for 4-5 years without issues.

They're also much easier to support: for example, upgrades are handled automatically — no need to dump and restore or resort to weird tricks; you can easily upgrade through ten major versions just by installing the latest version and restarting the daemon.

Some other features off the top of my mind: compression (zlib, lz4, lzo, zstd), versioned tables (an absolute life-saver if you need audit).

5e92cb50239222b··on Mariadb.com is dead, long live MariaDB.org
Oracle seems to do large feature drops every few years, while MariaDB has been shipping features incrementally every 6 months or so. The first couple of versions were the exception: they pulled an enormous amount of functionality from other forks, many of which have since been removed (things like the TokuDB storage engine). Left a bit of a sour taste in my mouth (how can you depend on a database that shoves 50 features in, and then removes 20 of them during the next few years).

We have low visibility into MySQL development process (is the bug tracker still closed? I am not sure), so when they shipped 8.0 in 2018 it was quite a surprise. They fixed a number of outstanding issues, including many extremely bad defaults (like using proper Unicode by default). Some things added in 8.0 (like atomic DDL) are still not available in MariaDB. Oracle being Oracle, there haven't been any major releases since.

5e92cb50239222b··on Russia is persecuting dissenters by taking away their children
I wonder where were those moralists when Putin's oligarchs were pouring billions of GBP stolen from Russian citizens into London property.
← PreviousPage 9 of 34Next →