News for hackers. Stuff that matters.
Re:Show HN: VectorVFS, your filesystem as a vector database by jonhohle on Monday May 05, 2025 @12:29PM (#43896826)
BeOS got it right with BeFS. An Email client was just a folder. MP3s could be sorted and filtered in the file system. https://news.ycombinator.com/item?id=12309686
Re:Show HN: VectorVFS, your filesystem as a vector database by foobiekr on Monday May 05, 2025 @03:05PM (#43898325)
BeFS wasn't a database. It had indexed queries on EAs and they had the habit of asking application files to add their indexable content to the EAs. Internally it was just a mostly-not-transactional collection of btrees.

There was no query language for updating files, or even inspecting anything about a file that was not published in the EAs (or implicitly do as with adapters), there were no multi-file transactions, no joins, nothing. Just rich metadata support in the FS.

Re:Show HN: VectorVFS, your filesystem as a vector database by Ericson2314 on Monday May 05, 2025 @05:17PM (#43899535)
Yeah I am talking more deep architecture, and BeOS is more notable here mostly on just the user-interface level.

However, I think it is reasonable to think that with way more time and money, these things would meet up. Think about it as digging a tunnel from both sides of the mountain.

Re:Show HN: VectorVFS, your filesystem as a vector database by foobiekr on Monday May 05, 2025 @07:01PM (#43900245)
Microsoft poured at least $100M into this hole with nothing to show for it.
Re:Show HN: VectorVFS, your filesystem as a vector database by Ericson2314 on Monday May 05, 2025 @08:58PM (#43900881)
That doesn't disprove anything for me. It just says POSIX DOS lowest common denominator network effects are a hell of a drug.

Whenever we're talking about interfaces, coordination success or failure is the name of the game.

Re:Show HN: VectorVFS, your filesystem as a vector database by foobiekr on Monday May 05, 2025 @10:14PM (#43901220)
What problem do you think a DB-as-filesystem solves? The only obvious one that makes any sense at all is cross-file transactions.
Re:Show HN: VectorVFS, your filesystem as a vector database by Ericson2314 on Tuesday May 06, 2025 @10:34AM (#43905617)
The filesystem is a bad database

Directories are a shitty underpowered way to organize data?

No good transactions

Conflation of different needs such as atomic replace vs log-structured

I would like to use a better database instead.

Re:Show HN: VectorVFS, your filesystem as a vector database by foobiekr on Tuesday May 06, 2025 @11:08AM (#43905994)
Would you pay 50x performance decrease?
Re:Show HN: VectorVFS, your filesystem as a vector database by Ericson2314 on Tuesday May 06, 2025 @12:00PM (#43906638)
No, and I would also not need to.
Re:Show HN: VectorVFS, your filesystem as a vector database by int_19h on Monday May 05, 2025 @01:01PM (#43897144)
Windows does something similar with Explorer today when you open a folder that has mostly music files in it.