HN user

throwaway8941

908 karma
Posts0
Comments216
View on HN
No posts found.

Sure, although the proper way to test it would be to write a lot of data to the drive, issue an fsync, and cut power in the middle of the operation. Rinse and repeat a (few) hundred times for each drive.

There's a guy on btrfs' LKML (also the author of [0]) who is diligent enough to do these tests on much of the hardware he gets, and his experience does not sound good for consumer drives.

[0] https://github.com/Zygo/bees/

It's worthy of note that log-structured and copy-on-write filesystems (which I've seen described as two types of journaling) like btrfs and F2FS log data as part of their normal operation without any performance loss, so you always get a consistent view of the filesystem (barring bugs in the FS code or fsync-is-not-really-an-fsync treachery from your hardware).

This does not answer your question, but wouldn't it be easier to get a cheap UPS with enough battery life to get your machine through additional 5 minutes of uptime?

Although I've had problems with hardware hanging so completely that it does not respond to the reset button, and the only option is to cut power, so UPS does not provide full protection.

Journaling cannot guarantee data or filesystem integrity if your hardware is lying to you. If you send flush to an SSD and it reports "ok, your data is on the persistent storage", while actually keeping it in DRAM buffers (to get higher numbers on benchmarks), and your power goes down, shit ensues. This is surprisingly common behavior.

OpenSSH 8.4 6 years ago

Honest question: is there any reason for using RSA for new keys these days, if you are not working with extremely legacy systems? My ed25519 works fine with at least CentOS 7, and thankfully that's the oldest system I have to touch.

Maybe only if you want to store the key on a separate physical device, and it only supports RSA?

At least Indian authorities seem to be relatively open about the censorship. Here in Kazakhstan they simply block everything they want, taking down many "innocent" sites as collateral damage, and write it off as "temporary networking problems" and "works for me, what are you talking about?".

For the past week I've had numerous problems connecting to TLS directly, without using a VPN. I still update my system directly from a mirror to avoid wasting limited data on a remote VM, that's how I discovered it personally. I worry they're trying to implement something nefarious behind the scenes, again.

From glancing at the source code I believe this uses the same algorithm as df from coreutils. It outputs pretty much useless data for btrfs, which needs to be handled differently. See:

  $ btrfs fi df
  $ btrfs fi us
Debian 10.6 6 years ago

Don't you worry, it'll all be deprecated and removed in a release or two.

As much as I like to crap on nvidia, they have supported a relatively high quality Linux driver when it barely registered as a desktop platform. Hell, they even have a FreeBSD driver.

Why would you have a separate machine just for that? I thought one of the strongest points of PCs (as opposed to phones/game consoles) was their wide applicability to pretty much every task?

I was expecting you to say "I immediately mark it as spam". Do it, treat unsolicited newsletters like the spam they are. If enough people do this, it creates significant problems for the authors of such email.

withdrawing over-the-counter paracetamol while continuing to allow over-the-counter ibuprofen

Paracetamol is not an NSAID (unlike ibuprofen) and has a lot less negative effect on my gastritis. There are not many painkillers available OTC which are not also NSAIDs and so don't destroy your stomach lining. I'd rather not develop stomach ulcers to prevent some random lunatic from gorging himself on paracetamol into the grave.

PostgreSQL 13 6 years ago

Hopefully Chinese (and other non-Western) users will help to counterbalance this lunacy, if it does happen.

Also, I see a lot of container build files not being pinned to a specific version, which automatically implies "latest".

I tried both ZGC and Shenandoah (with plenty of heap space available) and haven't noticed much difference compared to the default CMS. Also, Shenandoah (or maybe both?) does not support compressed pointers, so there was a noticeable increase in memory usage.

If you do decide to get a clion license, cppcast.com has a discount code for personal license which shaves 25% off the first year.

I won't post it here, just fish it out of the podcast, it's very nice.

the additional performance is not always worth the additional price per GB

There are factors besides performance. Samsung is not known for particularly high quality firmware (the 830 Evo performance fuck-up, multiple queued TRIM bugs, etc.), but after reading a disproportionate amount of horror stories of silent data corruption and data loss for most of their competition, I'd rather spend the extra bucks.

And the much higher temperatures (if your M.2 is an NVMe). Could anyone knowledgeable explain why NVMe tend to get much hotter than SATA under similar conditions? I've been testing mine with not more than 400-500 MB/s and it quickly gets to 60°C+, while the old 840 Evo doesn't get above ~45°C (running a very similar synthetic workload). I would've guessed the opposite: the fully enclosed SATA drive should get much hotter.

These numbers are probably very much inflated, they are taken from JetBrains' own survey. One could put a similar survey on eclipse.org and claim that 72% percent of Java developers use Eclipse.

This is a privileged position to take. IT is one of the very few ways to have a relatively decent life in my third world (well, technically second world) country, especially for those of us who can't rely on nepotism to put them in a comfortable place.

Sure, I can go make furniture out of wood for $150 a month (and I did at some point in my life), but I'd rather keep my cushy lifestyle and stare at a screen for 16 hours a day, thank you very much.