HackerTrans
TopNewTrendsCommentsPastAskShowJobs

haradion

no profile record

comments

haradion
·il y a 5 mois·discuss
It doesn't really hurt in practice because it's only one part of the full backup procedure. Deduplicate to save space; re-duplicate the (smaller) backups to separate media for redundancy; scrub regularly for bit rot and rotate your media. A proper backup system requires all but the first of those anyway.
haradion
·il y a 7 mois·discuss
If you squint hard enough, this is really a pretty similar idea to Polkit [0] but with a much simpler communication layer.

[0]: https://polkit.pages.freedesktop.org/polkit/
haradion
·il y a 8 mois·discuss
> All these named reset types could just be two separate reset commands, both pointing to a commit, one resetting the files on disk, one resetting the index.

It sounds to me like you want `git restore -W` and `git restore -S`.
haradion
·il y a 8 mois·discuss
For the compiler in particular, it's pretty common practice to depend on a recent version. The backward compatibility situation is generally excellent, so the only real challenge is getting the compiler installed. That's generally straightforward with rustup, and Debian/Ubuntu also package several versions (under different package names) that are more recent than the distro's default.
haradion
·il y a 10 mois·discuss
With the right workspace mapping, you can pull in just part of the depot, which makes the repo size a lot more manageable.