bijectivehomomorphism

joined 2 weeks ago

I hate to be that guy but (neo)vim has served me well for too long. I don't even use any crazy maps or plugins; it's just comfy.

[โ€“] bijectivehomomorphism@programming.dev 1 points 4 days ago* (last edited 4 days ago)

Have you set up your /etc/crypttab to unlock your partitions after unlocking the root partition? I haven't had a setup where I needed to use multiple passphrases for unlocking so I'll leave that part for someone else (if it's even possible, you might have to use a custom encrypt hook?). But otherwise, see this for your keyfile partitions: https://wiki.archlinux.org/title/Dm-crypt/System_configuration#crypttab

Maybe also take a look at the LUKS on LVM section on the Arch wiki for potentially a little more guidance. Just ignore all the LVM instructions of course, they might as well be separate partitions

EDIT: I just noticed you're wanting to encrypt swap, which could be a headache depending on your needs (e.g. do you need hibernation?). See more here: https://wiki.archlinux.org/title/Dm-crypt/Swap_encryption

NOTE: I've provided links to the Arch wiki, but should be largely applicable to your set up

Remember kids, end all your scripts with

while True:
    pass

I think it will also depend on where you're at in your programming maturity. As a student, I had a fair grasp of programming concepts, so at my co-op, I had a mentor who would review my PRs, suggest his changes, and critique both his code and my code, which really felt like a game changer at the time even though it's such a small gesture. If I wasn't as comfortable with development then as I was, I don't think a mentor would've suited me at all.

Of course, this rides on you having the (RARE) opportunity of learning under a decent mentor

[โ€“] bijectivehomomorphism@programming.dev -1 points 4 days ago (1 children)

v4???? At that point I'm just gonna guess the data

[โ€“] bijectivehomomorphism@programming.dev 35 points 4 days ago (11 children)

I remember my engineer being such a hardass on using v2 of our API and when I went to implement a feature, v2 didn't even have ANY of the endpoints I needed

Finally, an excuse to put a DE on my server

 

Coming back to this after having taken graduate algebra makes me realize: programming type semantics is all magic

You know, you have me a little hyped then, I've been using pyre but have been looking for a change lol

Hey thanks, this is the sort of perspective I was looking for. As far as you've revealed, I'm pretty sure we have nearly the same setup.

I wanted to see if flake-parts would be any enhancement, but it seems not since I'm also managing servers with along with my personal huge flake. I'm working on moving git-crypt out of my config so I can rebuild it straight from git, but I can't find a way to declare my email in secrets (sops-nix you're good at everything but...not trivial secrets)

[โ€“] bijectivehomomorphism@programming.dev 9 points 1 week ago (4 children)

https://xkcd.com/927/ We have PEP for guidance so this doesn't totally apply but...

 

I've been working on my configuration for a while now using flakes. I can already understand the appeal of flake-parts, and my configuration has always been spread out across multiple files according to specific features. ATM I don't really have any good modules to share, but what's your opinion?

I never thought there'd come a day where I'd read this statement

[โ€“] bijectivehomomorphism@programming.dev 5 points 2 weeks ago* (last edited 2 weeks ago)
  1. Click on article
  2. Realize article is all white so I highlight it to read
  3. I accidentally click on a Rust article in Spanish and still think it's the same article because the damn text is white
  4. Unfortunately, I'm stubborn and I can speak Spanish, and the text is still white
  5. I realize I read the wrong article
view more: next โ€บ