HNHacker News
TopNewBestAskShowJobs

throwaway8941

908 karma · joined August 6, 2019

submissionscomments
throwaway8941··on Durability: NVMe Disks
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/

throwaway8941··on Durability: NVMe Disks
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).
throwaway8941··on Durability: NVMe Disks
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.

throwaway8941··on Durability: NVMe Disks
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.
throwaway8941··on Default window manager switched to CTWM in NetBSD-current
vimium works okay-ish, or maybe I simply got used to it.

https://addons.mozilla.org/en-GB/firefox/addon/vimium-ff/

The main problem I have with it is it does not keep key combinations stable — if you press F → Esc → F → … (or Alt+F), it assigns different combinations for each link each time.

throwaway8941··on Default window manager switched to CTWM in NetBSD-current
Don't forget a keyboard-driven navigation plugin for your browser, like vimium. I have a desktop PC and use my mouse maybe once or twice a day, mostly for JS-heavy crap (which also probably presents enormous problems for the blind folk).
throwaway8941··on OpenSSH 8.4
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?

throwaway8941··on Investigating TLS Blocking in India
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.

throwaway8941··on Duf: Disk Usage/Free Utility
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
throwaway8941··on Debian 10.6
Don't you worry, it'll all be deprecated and removed in a release or two.
throwaway8941··on WSL Getting GUI Support
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.
throwaway8941··on WSL Getting GUI Support
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?
throwaway8941··on Hotels of Pyongyang
Why shouldn't it? Or should it put the United States at the center of the map, as usual?
throwaway8941··on Toward a “modern” Emacs
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.
throwaway8941··on 179 Arrested in Global Dark Web Takedown
Great, thank you very much.
throwaway8941··on People expect technology to suck because it sucks
I didn't even know this "feature" was available on Firefox (despite using it since version 2). Turns out, it is only enabled on Windows:

http://kb.mozillazine.org/Browser.backspace_action

Maybe it was copied from IE to keep "closer to the platform"?

throwaway8941··on 179 Arrested in Global Dark Web Takedown
>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.

throwaway8941··on 179 Arrested in Global Dark Web Takedown
If you don't mind, at what time of day do you take it?
throwaway8941··on PostgreSQL 13
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".

throwaway8941··on Studio Ghibli releases 400 free-to-use images
Or just put it on a tracker, like we've been doing for 20 years.
throwaway8941··on The Era of Visual Studio Code
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.
throwaway8941··on The Era of Visual Studio Code
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.

throwaway8941··on Next-Level SSD Performance – Samsung 980 Pro 1TB Review
Mostly out of curiosity. Higher temperatures also put additional stress on flash memory, and I tend to run my hardware into the ground (I'm still using a 50GB Intel SSD from 2010), so there's that.
throwaway8941··on Next-Level SSD Performance – Samsung 980 Pro 1TB Review
>980 Pro is TLC

Any news on 980 Evo? Considering this downgrade, I'd assume Evo will run on QLC.

throwaway8941··on Next-Level SSD Performance – Samsung 980 Pro 1TB Review
>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.

throwaway8941··on Next-Level SSD Performance – Samsung 980 Pro 1TB Review
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.
throwaway8941··on A Picture of Java in 2020
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.
throwaway8941··on I no longer build software
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.

throwaway8941··on Java Turns 25 – Whats Next? [pdf]
GP said "write", not "deploy".

I write C# on Linux and I am basically the only person I know who does that.

throwaway8941··on Rust: The Error Handling Project Group
That's not what safety means. panic! is perfectly safe Rust.

https://doc.rust-lang.org/nomicon/meet-safe-and-unsafe.html

Page 1 of 8Next →