Better HN
topnewbestaskshowjobs
Log inSign up

TacticalCoder

10,594 karma · joined Dec 4, 2013 (12y ago) · 4,861 submissions

email: I'll add a suitable email one of these days
Submissions

comment 1y ago · link · parent

So basically if you like to put SSDs on shelves (for offline backups), you should read them from scratch once in a while?

I rotate religiously my offline SSDs and HDDs (I store backups on both SSDs and HDDs): something like four at home (offline onsite) and two (one SSD, one HDD) in a safe at the bank (offline offsite).

Every week or so I rsync (a bit more advanced than rsync in that I wrap rsync in a script that detects potential bitrot using a combination of an rsync "dry-run" and known good cryptographic checksums before doing the actual rsync [1]) to the offline disks at home and then every month or so I rotate by swapping the SSD and HDD at the bank with those at home.

Maybe I should add to the process, for SSDs, once every six months:

    ... $  dd if=/dev/sda | xxhsum
I could easily automate that in my backup'ing script by adding a file lastknowddtoxxhash.txt containing the date of the last full dd to xxhsum, verifying that, and then asking, if a SSD is detected (I take it on a HDD it doesn't matter), if a full read to hash should be done.

Note that I'm already using random sampling on files containing checksums in their name, so I'm already verifying x% of the files anyway. So I'd probably be detecting a fading SSD quite easily.

Additionally I've also got a server with ZFS in mirroring so this, too, helps keep a good copy of the data.

FWIW I still have most of the personal files from my MS-DOS days so I must be doing something correctly when it comes to backing up data.

But yeah: adding a "dd to xxhsum" of the entire disks once every six months in my backup'ing script seems like a nice little addition. Heck, I may go hack that feature now.

[1] otherwise rsync shall happily trash good files with bitrotten ones

comment 1y ago · link · parent

> It’s the cheapest way to build effective drama, but if you don’t fully dissolve yourself in the movie logic, the whole time you want to scream, “can’t anyone just talk about what’s happening directly?!”

Yup it's insane. At the end of a very long series of three movies I told my father: "OK so this all basically happened because the person who sent the letter considered the (snail) mail service to be flawless and didn't bother to make sure the recipient got the letter in the first place".

Doesn't matter which (french) movies: some dumb plot where relatives don't know they're relatives because the only person who knew didn't bother to make sure the letter explaining they were relatives arrived.

Not naming the movies otherwise we'll get nitpicking.

TFA is right: it happens all the time in movie plots and really doesn't help with the suspension of disbelief.

comment 1y ago · link · parent

And a poster of Lenna is on the wall of the Richard Hendricks character in the Silicon Valley series. Which makes sense as he's working on a compression algorithm.

comment 1y ago · link · parent

Refusing to pay a ransom and instead giving the money to the "ennemies" of the attackers isn't "virtue signaling" (as someone already commented: it's a "fuck you" to the attackers).

In french we call that a "pied de nez". "Turning the table" / "Poetic justice" / "Adding insult to injury" would all be more correct than "virtue signalling".

If there was no attacker and the company gave half a mil out of nowhere to a security company (or a charity) and boasted publicly about it, that would be virtue signalling.

But refusing to pay the ransom and giving the exact same amount to security researchers is just a big, giant, middle finger.

And a middle finger ain't no virtue signalling.

comment 1y ago · link · parent

$5 electric anti-mosquito "tennis" rackets.

I'd install a device if there existed one: say something 2 meters high from the ground that can throw lasers but only on the vertical part of the wall (so above human eye level). A high res camera. Detect mosquito: fire laser.

These little fuckers shall, invariably, fly and land on the upper part of the various walls.

Maybe just a wide (say 2 feet / 60 cm) dual-sided tape: I'd tape happily that to the upper part of the walls in my room. Mosquitoes are bound to land there.

I agree it's insane we're in 2025 and this hasn't been solved yet. The company to solve the mosquito issue is going to be richer than NVidia.

Just invent these things: I'll buy them all. Just as I bought several of these anti-mosquito electric rackets and they're honestly a godsend compared to the "roll a magazine and try to squish the mosquito" from my youth.

1
495051
163