• 1 Post
  • 26 Comments
Joined 1 year ago
cake
Cake day: August 23rd, 2023

help-circle










  • sudo@programming.devtoLinux@lemmy.mlEncrypt whole system?
    link
    fedilink
    arrow-up
    2
    arrow-down
    1
    ·
    2 months ago

    I think PopOS can safely assume that its being installed on a laptop with only one drive. If there’s multiple drives involved then the setup gets far more complicated as you then must go to something like an LUKS on LVM setup. Basically, for a desktop there’s no safe defaults for FDE.


  • sudo@programming.devtoLinux@lemmy.mlEncrypt whole system?
    link
    fedilink
    arrow-up
    1
    arrow-down
    1
    ·
    2 months ago

    I’m pretty sure all the major distros have FDE as an option in the installer its just never on by default. Fedora does the same but with BTRFS on LUKS. I’m sure Debian does. Someone else says OpenSuse does. Maybe some derivative distros don’t but I suspect the ones with an graphical installer do.




  • I spent like a week on this last month. Usually you use enumeration, but I wanted to allow client code to define their own strategies. I tried the Box<dyn MyTrait> pattern because some of my strategies were composed of other strategies, and I wanted to clamp down on generic types. But I kept running into weirder and weirder compiler errors. Always asking for an additional restriction on the base trait. X, must be Copy, must be Send, must be Sized, must be 'static. On and on. My experience is if I’m getting a bunch of those then I’m off the Golden Path. So I just embraced the verbosity of using generics and its easy. Yes its more code but its better code.





  • We let almost all manufacturing jobs go overseas just to cut labor costs and now we’re suffering the consequences and our government completely incapable of doing what’s necessary to bring that manufacturing capability back to the US. At this point basic Keynesians economic policy is tantamount to heresy for anyone but the far left. Its like we’ve adopted the economic policies we forced on third world nations, and found ourselves with a third world economy.

    Being able to produce cheap drones as good as DJIs is far more important for national security than whatever espionage risk they pose. Cheap, easy to use, drones like the dji phantom are omnipresent in current wars. Banning them prevents us from learning via competition or basic reverse engineering.