NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.
All the Perl that's Practical to Extract and Report
Stories, comments, journals, and other submissions on use Perl; are Copyright 1998-2006, their respective owners.
Alternative to directory structure (Score:2)
We really need an alternative to complement the directory structure. Something like a light database that indexes files on their type, date and other keywords (I am not even talking about indexing the content here), so you can just select the files you want to list. I am really tired of looking all over the system for files when I know what I want but not where it is.
Of course the problem is to generate as many of the keywords automagically, with the user being able to add more in a simple way... quite a t
Re:Alternative to directory structure (Score:3, Insightful)
Plus I think there are a lot more questions with complex filesystems than there are answers, for instance the problem with sending a file from such a filesystem via email.
Personally I'd rather keep filesystems simple, and work out funkier ways to actually work over the top of those. Maybe DBD::SQLite holds the key
Reply to This
Parent
Re:Alternative to directory structure (Score:2)
I realize this, plus I am not so sure full text indexing is necessary. Not if you can narrow down the list of files to grep by date, type, and maybe header fields for emails.
I guess it's buzzword time ;--) What we need first is probably ontology to tell us how to describe files better than just through a list of names (directories and file name) and a 3 letter extension (or a Mime type, or neither). Then we can start having fun implementing all sorts of funky file systems, or layers
Re:Alternative to directory structure (Score:4, Interesting)
Taking the BFS approach, full-text indexing is within reach, once you intelligently focus on text files. After all, what's the point of indexing executables, PDFs or PNGs? The heuristics to reduce the number of files to be indexed are quite simple. After all how many files do you touch on a daily basis that are text files? And how many of them actually change in any given day?
Also, the speed cost at 2am for running slocate or mklocatedb is partially because it is dumb, and partially because it does everything. Amortizing the cost over the course of the day such that only active files are checked shouldn't impose such a huge penalty.
And, of course, DBD::SQLite is likely part of the solution to the problem. The BFS idea of making the filesystem into a database sounds nice, but I don't think the *NIX world is quite ready for that just yet. :-)
Reply to This
Parent
Re:Alternative to directory structure (Score:1)
Re:Alternative to directory structure (Score:2)
Full-text indexing the rest of the binary data structures in those file formats is not likely to turn up any other hidden messages though. :-)
Re:Alternative to directory structure (Score:2)
I guess it's buzzword time
Man, we have it, we have it!!! I mean throw away those old clunky ideas of a Semantic Web, what we want is a Semantic File System, YAY!!! Lets get a startup rolling, lets become billionaires :-)
Seriously though, I'm not sure what but this strikes me as a good idea. Maybe it's those mushrooms from last night...
-- Robin Berjon [berjon.com]
Re:Alternative to directory structure (Score:1)
alias pscan "scan `pick !:*`"
pscan --from Bob
pscan --subject Perl
...
Were that I say, pancakes?
Re:Alternative to directory structure (Score:1)
intuitive name...?
Were that I say, pancakes?
Re:Alternative to directory structure (Score:1)
Being able to add my own filesystem attributes was one of my favorite things about BeOS, though. With OpenBeos making progress, I might make it a goal to get back into Perl & Ruby on the BeOS platform. Perl 5.6 never was ported properly, thou
Re:Alternative to directory structure (Score:2)
Re:Alternative to directory structure (Score:2)
Not in the demo's I've seen. Back when Be was releasing BeOS 3 or BeOS 4 (the first release for x86), they demoed BFS and Tracker together. First, they created a live query on the filesystem to find some kind of file. Next, they opened it up in Tracker. Next, they added some files to the filesystem and the new files magically appeared (and the old files magically disappeared).
Next, they demon
Re:Alternative to directory structure (Score:1)
By all accounts, BeOS is *still* one of the fastest and best filesystems to ever hit the market. I'll take it over Linux/Solaris any day. I'm actually planning on re-installing it, in lieu of the progress being made with OpenBeos.
From what I've read, the folks working on OpenBeos have already made improvements by as much as 600% in some areas over the original BeOS