-
Notifications
You must be signed in to change notification settings - Fork 10
Questions about the intro #16
Comments
I went back & forth on that question and could end up revising later. We think the hyperdrive data structure will eventually allow arbitrary queries on the metadata, and so this would enable you to fetch all "posts" from a dat quickly, etc. The downside of using metadata is that the type doesn't get included in the file, so a copy-paste of a .json would fail to carry the information. I'm open to some discussion on this.
It's mostly important for the root directory, which identifies the entire dat. There will eventually be other types, like "application" and "module," which will drive some advanced behaviors.
See https://twitter.com/pfrazee/status/1136683879950180352
Most of the predefined paths include the namespace in the path:
That's how other schemas will get integrated. The other directories (ie
You're right that they're redundant. I'm not sure yet whether we should take advantage of the redundancy and not include individual file types or not. |
I think it’d be useful, if it were easy to back up the data to different media, create ZIP files, etc.
I‘d reduce the redundancy (but my understanding is limited). The best approach may depend on what the file structure should be optimized for. Some aspects remind me of stream processing. If that’s the best way of thinking about it, then the files are only input for a database. In that case: do individual file names matter? Should they be named so that most recent data can be displayed first? |
(Oh, I forgot to mention: I’m really excited about this project. Lots of possibilities.) |
I'll keep thinking about this, because I generally agree -- I'm looking for the most direct & simple solutions and this has some alarms going off in my head.
The specs originally required you to use the timestamp for the names, but that's a major pain for people who might want to manually add files with an editor. That said, the technical needs might outweigh the UX convenience on this one.
🚀 |
There were a few things I didn’t fully understand. I’m mentioning them here, in case you are interested in feedback (others may have questions similar to mine):
The text was updated successfully, but these errors were encountered: