HackerTrans
TopNewTrendsCommentsPastAskShowJobs

haradion

no profile record

comments

haradion
·5 tháng trước·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
·7 tháng trước·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
·8 tháng trước·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
·8 tháng trước·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
·10 tháng trước·discuss
With the right workspace mapping, you can pull in just part of the depot, which makes the repo size a lot more manageable.