Hacker News new | ask | show | jobs
by ragall 49 days ago
I'm not convinced that Merkle DAGs are useful or worth the bother. Piper's system of linear indices has a few nice properties:

1) when a defect is identified in a library, the extent of the defect becomes an interval [CL that introduced it, CL that removed it] and it makes it trivial to test whether a compiled artifact is affected by that defect; more generally the UX is a lot better

and 2) it makes whole-repository rewrites trivial, so that existing commit sequence IDs are preserved while retroactively removing sensitive files that shouldn't have been added to the repo. Git and Mercurial make such rewrite a huge pain in the arse, while this is an essential feature to have in an enterprise VCS.

1 comments

These were both solved as part of the data model via globalrevs and obliteration respectively. But that is besides the point here? The next time you're designing a source control system you're welcome to pick your favorite points in the design space.
> These were both solved as part of the data model via globalrevs and obliteration respectively

Is there some paper or other technical publication regarding these concepts ?

I'm not aware of anything published, but the code is open source, and if you're so inclined you can probably point a clanker at it. The second one is called "redaction" in Mononoke, I believe (obliteration is a different term for it, as is censorship).

You are correct that integer sequence numbers and redaction are both reasonable things to want -- we just believed (for a variety of reasons) that the core should be Merkle and that these things should be built on top.

> if you're so inclined you can probably point a clanker at it

I'm not. Too bad there's nothing meant for humans.