4 ms·
Archival Identifiers for Digital Files
- sanqui 6y agoInteresting article, but I expected it to deal with preserving information like file source, location, and metadata, which is IMO still an unsolved problem in digital archival. Specifically avoiding the use of multihash in favor of a new scheme doesn't sound very forward thinking, it's not so much more complex than the author thinks (to begin with, you can just abort for every prefix but the one you recognize).
- adamretter 6y ago> preserving information like file source, location, and metadata Sorry about that. It's definitely something we have been working on. Without going into too much detail here, we have the 1. The physical Digital File itself (i.e. the bitstream) which we might name with the ACID, and then 2. we have one or more Digital File metadata objects for each file that reference the physical file. The metadata object has an instance specific identifier (a unique id) and links to the physical file via its ACID. The metadata object holds all of the properties about that instance of the physical file, e.g. name.
- zvr 6y agoPeople interested in such topics should check the SoftWare Heritage persistent IDentifiers (SWHIDs) https://docs.softwareheritage.org/devel/swh-model/persistent-identifiers.html https://docs.softwareheritage.org/devel/swh-model/persistent... They provide references to files and directories (and even specific releases or commits) and they are now an official IANA URI scheme.
- adamretter 6y agoI think SWHID are very interesting and pretty well thought out. Whilst they can be used for individual digital files, they look like they are designed for hierarchical file-systems. We are actually trying to move away from the concept of a hierarchical model for our digital files. Instead we want a more flexible and abstract model, where one or more hierarchies might describe an arrangement of files.
- nayuki 6y agoI generally agree with the ideas he wrote, such as: > a clean and mutually-beneficial separation between cataloguing and (digital) preservation activities can be established > the file's path and/or name are not suitable for use as an identifier; in no small part due to both their transient nature, and inability to be combined with files from other systems which may cause rise to naming conflicts > UUIDs as identifiers; hashes as identifiers In my article https://www.nayuki.io/page/designing-better-file-organization-around-tags-not-hierarchies https://www.nayuki.io/page/designing-better-file-organizatio... , I start from the same basis and explore deeper structures and issues. I argue that file paths and URLs are indeed bad identifiers, and that the content of a file should determine its name. I propose that a tag consists of some descriptive info like a string, plus a hash reference to the target file being described. The unique feature of my proposition is that the tag is itself a first-class file, which can in turn be tagged or referenced by more metadata.
- j-pb 6y agoThat feels like RDF with extra steps ^^' Wouldn't that be the simpler approach? Decomplect the blobs from the metadata? Have a simple triple based graph format, and blobs as simple hash-blob pairs? I mean you even had tuple spaces in there, make them triple spaces and you're halfway there. Bolt on a distributed KV store like BitTorrent and you're finished.
- adamretter 6y agoThanks for your link to your article, I am a bit short of time this week, but I have had a quick skim and then bookmarked it for reading next week :-)
- mceachen 6y agoIn designing PhotoStructure, I've wrestled with many of the issues you outline in your article. * I pretty quickly switched from flat tags to hierarchical tags, though, for expressiveness, presentation, and organization. * I also found it necessary to create a "Asset" that has 1 or more "AssetFile" instances, each with a stable URI and SHA. This scheme supports variant grouping (which is quite common due to backups and jpeg+raw pairs). * The "stable" bit of the URI includes the physical volume UUID, so changing mountpoints don't perturb the underlying AssetFile URI. * I originally used a prefix on the SHA to support multiple algorithms, but found it to be too expensive for subsequent lookups to need to calculate n different SHAs. Instead, there's now a "version" for both Assets and AssetFiles and individual libraries are migrated to new versions automatically (which supports changing SHA algorithms, for example, when that's indicated).
- j-pb 6y agoI expected another abomination like DOI. I've seen librarians proudly announce that they've made software archivable by giving git commit hashes a DOI shudder. Replacing a for all intents and purposes unforgable id with a short number wrapped in a URL that can be man in the middled is NOT a bright idea. Finding blake-256 was a pleasant surprise, content aware hashing is the only good way to do it.
- adamretter 6y agoHi I'm the author I actually already posted this article earlier - https://news.ycombinator.com/item?id=23611403 https://news.ycombinator.com/item?id=23611403 Should I respond here or in the earlier post?
- cpach 6y agoIMHO: It’s best to respond here, since this post is on the front page now, has comments already and the other one is off the front page and has no comments.
- adamretter 6y agoThanks cpach. I have posted my replies here. Is it normal to post something to HN, then have someone else repost the same just a few minutes later?
- deleted 6y ago[deleted]
- cpach 6y agoI don’t think it happens too often. Having a canonical URL for an article helps, since otherwise the HN dupe-checker will not catch the dupe.
- lcrz 6y ago> Whilst we could adopt Multihash here, it's much more complex than we need (famous last words?!?). So OP has the option of adopting an existing (and clear) spec, with existing libraries (and and existing governance structure) and because of what feels like a not-invented-here mentality (yeah well, I can't imagine needing this complexity), OP has decided to develop a new standard, without an existing spec, without existing libraries and without existing governance structure. All these ideas in online data sharing, semantics and interoperability are great, but I think people underestimate how much effort it actually is to create a good standard, a good spec, and how exponentially more effort it takes to keep such a standard in a shape that's working for more people. The extensibility for OP's identifier is extremely narrow. Just look at how many hash functions and properties are currently already supported by the IPFS content id: https://ipfs.io/ipfs/QmXec1jjwzxWJoNbxQF5KffL8q6hFXm9QwUGaa3wKGk6dT/#title=Multicodecs&src=https://raw.githubusercontent.com/multiformats/multicodec/master/table.csv https://ipfs.io/ipfs/QmXec1jjwzxWJoNbxQF5KffL8q6hFXm9QwUGaa3... OP's choice of hash function is even in there. There is a reason why IPFS is already at a second version of the spec. It is because they were using the first version and found them lacking in their use cases. Every new standard is doomed to make similar mistakes unless they explicitly account for them in their design.
- adamretter 6y ago> So OP has the option of adopting an existing (and clear) spec, with existing libraries (and and existing governance structure) and because of what feels like a not-invented-here mentality (yeah well, I can't imagine needing this complexity), OP has decided to develop a new standard, without an existing spec, without existing libraries and without existing governance structure. I think perhaps my article was too light on the requirements that we face as a National Archive, or perhaps the Digital Preservation and Access domains are just quite specialised. The article was designed as a thought experiment to solicit feedback on one possible idea. The project is currently in a Proof-of-Concept phase and so such experiments are quite valid. We certainly have not yet decided on this scheme. That being said, Archives have very different requirements in their identifier schemes and standards to other organisations. It is not so much a "not-invented-here" as "must-work-here" mentality. We always look around at existing standards and specifications before developing anything ourselves, we have to have good reasons not to use something that already exists, i.e. it won't work in an archival preservation context. > All these ideas in online data sharing, semantics and interoperability are great, but I think people underestimate how much effort it actually is to create a good standard, a good spec, and how exponentially more effort it takes to keep such a standard in a shape that's working for more people. I hope I have a fairly good idea what it takes to establish a standard. I was an invited expert to three W3C Working Groups, and I have also participated in a number of Community standards groups ;-) > The extensibility for OP's identifier is extremely narrow. Just look at how many hash functions and properties are currently already supported by the IPFS I think that missed the point of the what is required. For use in an archival context we don't need to support every hash-scheme out there. Quite the opposite, we want to support as few as possible. In 100 or 1000 years we don't want digital archaeologists to have to work hard to access the data. Ideally we will support just 1 hash scheme right now... something robust that will likely have no intentionally crafted collisions for many years (e.g. Blake256). If and when a collision is developed for that hash, then we will support a second hash algorithm, and so on ;-) I actually really like IPFS and Multihash, but are they suitable for use as archival identifiers within a National Archive?
- chaz6 6y agoIt is nice that the author recognizes the possibility of a hash collision. Time and time again I see UUID's or other hashes used in systems with the assumption that a collision is impossible.