• 8 Posts
  • 1.07K Comments
Joined 6 months ago
cake
Cake day: December 13th, 2024

help-circle





  • hperrintoAsk Lemmy@lemmy.worldHow did you fuck up recently?
    link
    fedilink
    English
    arrow-up
    10
    ·
    edit-2
    22 hours ago

    Oh I got this. Real good fuck up. So, I run a bunch of services for me and family and friends, like Nextcloud, Immich, Mastodon, etc. All of their data is stored on a big RAID array built with mdadm. I built it before I knew about dm-integrity, so I wanted to rebuild it with dm-integrity running on all the disks. So I took out one disk (it’s a RAID6, so it can stand losing a disk just fine), and added dm-integrity on top of it. When I tried to add it back to the array, mdadm was like, “that’s not a big enough device”. Ok, yeah, makes sense, dm-integrity takes up some space. So I took all the services offline and started a resize2fs to reduce from 22TB to 18TB. Well that was taking forever, so I canceled and ran e2fsck, no worries. I started a new resize2fs reducing from 22TB to 21.8TB, which should be good enough. On pass 4, it’s looking like it’s gonna take 8 DAYS. I can’t have my services offline for that long, so I cancel and run e2fsck. Thousands of errors. Oops.

    At least it’s looking like all the errors are just in Mastodon’s cache files.

    So now I’m moving all the files to an external drive in order to migrate the array properly. In its degraded state though, the array is painfully slow. At least my services are online.

    So basically I risked my files (though I have a backup from about three days before all this), and gave myself an extra maybe ten days(?) of work.

    Moral of the story, don’t ever use resize2fs unless you have time to wait.








  • hperrintoProgramming Humor@lemmy.worldAI will replace us all
    link
    fedilink
    English
    arrow-up
    9
    arrow-down
    1
    ·
    edit-2
    3 days ago

    I’d like to see the Atari write a shitty article about the seven best and worst kinds of moviegoers. Or role play with me that they are a 300 year old sparkly vampire and I am an insufferable teenage girl with zero friends or ability to emote proper human emotions.




  • Safe, yeah. Private, no. If you want to verify whether a user is a real person, you need very personally identifiable information. That’s not ever going to be private.

    The best you could do, in theory, is have a government service that takes that PII and gives the user a signed cryptographic certificate they can use to verify their identity. Most people would either lose their private key or have it stolen, so even that system would have problems. You could also have some sort of OAuth like system that the government runs. That would be relatively safe and private, if you trust the government not to get hacked.

    The closest to reality you could do right now is use Apple’s FaceID, and that’s anything but private. Pretty safe though. It’s super illegal and quite hard to steal someone’s face.

    If I were to redesign FaceID to be more private, I would use an infrared camera to take a picture of the veins in their face, then make a sort of “fingerprint” of that. Very similar to how FaceID works now, except much harder to reconstruct a picture of a face from it. Have the device make a cryptographic key set based on that. That would only be good for identity though, not verification. It’s really hard to do human verification. Basically anything can be faked.





  • hperrinto196@lemmy.blahaj.zonebillionaire rule
    link
    fedilink
    English
    arrow-up
    3
    ·
    edit-2
    4 days ago

    They absolutely do not follow laws. They break the laws that don’t get charged, like wage laws. And probably half of them have committed r word against kids. They have the appearance of being lawful, because they have enough money to hide their crimes.