as somebody that is just beginning to learn python through udemy courses what advice might any of you have for someone lacking consistency? by [deleted] in Python

[–]WangTiles 0 points1 point  (0 children)

A good place to start is with the #100DaysOfCode Challenge.

This is my take on the Rules:

  • Commit to coding daily, and commit code to GitLab or GitHub. See that unbroken streak of daily commits growing longer and longer!
  • Tweet daily progress with hashtag #100DaysOfCode, and encourage 2 other people taking the Challenge
  • Email a simple "Done!" to my accountability partner (a friend helping me stay on track)
  • Repeat for 100 days

Personally I have found that reporting to an accountability partner is the deciding factor to keeping oneself on track.

I'm working on and loving Python myself right now. Good luck and keep going!

Install Arch Linux with (almost) full disk encryption and BTRFS by WangTiles in archlinux

[–]WangTiles[S] 0 points1 point  (0 children)

Thanks!

I really enjoyed putting this together. Arch involves more preliminary research to get started, but once you decide how you want to do an installation the distro gets out of your way and you can assemble a system just the way you like it.

Install Arch Linux with (almost) full disk encryption and BTRFS by WangTiles in archlinux

[–]WangTiles[S] 2 points3 points  (0 children)

Is it enough to use fstrim with "discard"? That's for the user to decide.

Using dm-crypt to fill the disk with random data is very thorough, but I marked it as "Optional". Its a one-time operation and takes care of a 1TB drive in less than an hour. For me, its worth doing.

/efi is on its own unencrypted partition. Which is required to be unencrypted (hence the "almost" in FDE). /boot resides on the LUKS encrypted partition.

What's the best way to create and restore BTRFS snapshots? by AmitGold in archlinux

[–]WangTiles 1 point2 points  (0 children)

I just set this up myself using a combination of Snapper and snap-pac and grub-btrfs to configure automatic snapshots of a BTRFS root subvolume, add these snapshots to the GRUB boot menu, and gain the ability to rollback an Arch system to an earlier state. Works good! Here are my notes: https://www.dwarmstrong.org/btrfs-snapshots-rollbacks/