• 2 Posts
  • 73 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.




  • sudo@programming.devtoProgramming@programming.devWhy is my tmux borked?
    link
    fedilink
    arrow-up
    5
    arrow-down
    2
    ·
    edit-2
    3 months ago

    Unironically try turning your computer off and on again.

    Tmux settings are global and persistent. Just deleting your config files is insufficient. You have to kill the server and restart it. Uninstalling and reinstalling will not kill a running tmux server. tmux kill-server should work too.

    Now if it persists across reboots, then there must be a file still lingering somewhere. If you are sure your home directory is clean you can try searching whatever you installed in /etc.

    This is all assuming you’re trying to go back to a clean slate and failing. If the borked status bar is the result of your current .tmux.conf, then you’ll have to post that.


  • 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.