I may make a big post somewhere about the beauty of `zpaq` and how painfully overlooked it is. It encrypts, handles network incremental updates, and I'll talk more about it soon.
I found out about #debsums. It popped in my head that "I can use this to see which files I changed on my server and back them up!"
sudo debsums -ca | xargs -I {} zpaq a server-debsums-ca-.zpaq {}
The above uses my favorite archiver--#zpaq (please check it out!), to create incremental, highly compressed backups of such files debsum indicates to us.
This isn't flawless, though. It skips my sshd_config and not every Debian package has an md5 checksum list of every file.
@someodd I don't do #Haskell development so I cannot speak from experience, but this might help you set it up with #NixShell:
https://github.com/aveltras/setting-up-a-haskell-development-environment-with-nix
I'm personally using nix-shell for occasional Python development
@someodd
Quoting @totoroot 's link:
> The nixpkgs haskell infrastructure provides a shellFor utility which is essentially a mkShell that understands that it's actually used in a haskell context.
That's generally what's used.
Note also that haskell-nix (another infrastructure different from Nixpkgs', generally more useful for more involved projects) provides a similar utility:
https://input-output-hk.github.io/haskell.nix/tutorials/development.html
I wish instead of dealing with trying to figure out how to build `weechat-discord` I wish I could `nix-build`. #nix
@someodd I highly, highly recommend this book: https://www.linuxcommand.org/tlcl.php
It is free and licensed under a creative Commons license.
I need to finally get good at #bash.
Suggestions?
@someodd indeed, and that’s not even considering more subtle risks like supply chain attacks. If your software gets built on the fly using code downloaded fresh every time from npm (say), and an attacker can plant a bug in one of the npm packages you use, guess what it’s in your software now too https://en.wikipedia.org/wiki/Supply_chain_attack
I made a PR to libjwt-typed in order to work with nixpkgs better and GHC 9.0.2 in general.
I already made a temporary fix to nixpkgs through a PR which jailbroke libjwt-typed.
你好! Haskell.