You would love Merkel trees, now my favourite data structure.
-
-
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
content hashes are also much easier to remember ;)
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
What do you recommend for hashing?
-
Don't mean to be testy, it's just looking at methods there are a lot of options and I wonder what the best way is
-
Blake2b is what I chose for this (modeling a persistent tree over a content-addressed storage). It's a fast secure hash with nice security properties.
End of conversation
New conversation -
-
-
A true genius would write their files in such a way that it hashes to an appropriate name.
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
Interesting idea. Though you’d have to know all the hashes of all the files
-
You'd need a content-addressable store with patterns, e.g. "match this, don't care about that" for example, "give me the configuration for machine X" the actual configuration may vary, but it must be for machine X. https://en.m.wikipedia.org/wiki/Content_centric_networking …
End of conversation
New conversation -
-
-
I don’t know, seems like there could be some corner cases…https://twitter.com/whitequark/status/986210234669588481 …
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
So, how do you locate the object with that hash?
-
Like filenames, you usually know where to look based on context (e.g. if not in cache, query source of hash). When you don't know where to look, hash is provider independent and easily validated, better than a filename (except for human memory).
-
But you have to compute it on every write and index it. Could be neat, though, if you just had a filesystem like filesystem:eb0ee296204254428c4e0f573ad7b0d8ae7dca71. Bittorrent magnet links are somewhat like that, it seems
End of conversation
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.