Recent submissions

Comment · 6 years ago
Comment · 6 years ago
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).
Comment · 6 years ago
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.

Comment · 6 years ago
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.
Comment · 6 years ago
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.

Comment · 6 years ago
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).
Comment · 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?

Comment · 6 years ago
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.

Comment · 6 years ago
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
Comment · 6 years ago
Don't you worry, it'll all be deprecated and removed in a release or two.
Comment · 6 years ago
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.
Comment · 6 years ago
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?
Comment · 6 years ago
Why shouldn't it? Or should it put the United States at the center of the map, as usual?
Comment · 6 years ago
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.
Comment · 6 years ago
Great, thank you very much.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton