5 ms·
C and Unix were invented in the 70's. Yes, things have improved a lot in the meantime, but underneath, it seems like a lot of the really basic paradigms are the
by andrewflnr 13y ago
C and Unix were invented in the 70's. Yes, things have improved a lot in the meantime, but underneath, it seems like a lot of the really basic paradigms are the same. We're mostly typing imperative code into a plain text editor, saved in a disk file in a tree-shaped filesystem, that probably runs on a Unix-like system. Maybe Windows, but in the space of all possible operating systems/environments, they're not that far apart.
- pjmlp 13y agoWhen I got to learn UNIX in the form of Xenix, I was already comfortable with many GUI systems and IDEs. Eventually I used most UNIX systems, commercial and free versions thereof, including the tools most HN folks love. However I am a mouse/keyboard person and love my IDEs. Every time I look at someone using plain vim/emacs with a few text terminals open, I see someone working in a UNIX System V system.
- spin 13y agoI'm starting to think that the reason we keep building tree-like data structures is because that's how our minds work. We can intuitively grasp hierarchies of categories (a tree structure), with the occasional exception (a symlink to another location). Because we intuitively see the world in this way, we are good at building and maintaining systems that work in this way. Anything more sophisticated than that (algebra, relational databases) requires a lot of study and practice to get good at.
- loup-vaillant 13y ago> [Maybe] the reason we keep building tree-like data structures is because that's how our minds work. No. That's how physical space works. When you're a library, and you need your user to be able to find the books, you don't have a choice: any given book must be in one shelf, in one alley, in one room. And bam, you have a tree hierarchy that is three levels deep. But our minds are better at dealing with tags. Just see how popular they are in blogs. I bet that a tag based file system would be vastly better at storing personal data than a hierarchical one.
- spin 13y agoWe could just put all the books in one, big room, just aisles and aisle of shelves, everything numbered sequentially. We could even build a library as one long hallway -- one single line of books. But we choose to divide our buildings up into rooms. We choose to create that hierarchy. Edit: I suppose, though, that our minds evolved to operate in physical space. Go hunt some zebra, go climb a tree... things like that...
- andrewflnr 13y agoEven if you put the books on a single long shelf, chances are you're going to make the numbering system based on the content of the books, like say, the Dewey Decimal system. That's a hierarchy of at least two layers, right there. If you assign random identifiers, you'll probably end up creating that same hierarchy in the index instead, unless you do something more tag-based which is actually likely to be better.
- maxerickson 13y agoBoth is better. There is no reason for the navigation system to ignore groups and hierarchies, it just should also be able to deal with arbitrary tags. Having watched people struggle with what is essentially a configurable search pane (specifically, the excellent thumbnail viewer in Windows Live Photo Viewer), there does need to be a simple default, probably one that looks just like a hierarchical file system. It just shouldn't be the only way to use the system.
- im3w1l 13y agoI spent sometime yesterday thinking about what queries I would like a filesystem (layout) to be able to answer. -installed programs -files installed (except configuration) by a program -files installed (including configuration) by a program -libraries -a users personal files (including configuration). -all files except bare bones install -all files -files on a specific hard drive My conclusion was that my preferred layout would be /os/ - bare bones install /home/ - users files /home/im3w1l/.conf/firefox - my configuration for firefox /programs/ - installed program and libraries /programs/libfuse/.conf - configuration for libfuse /programs/firefox/.conf/im3w1l - my configuration for firefox C:/programs - installed programs on specific hard drive And that if a file is deleted from one place it is deleted from all. So rm /home/im3w1l/.conf/firefox -rf would be the same as rm /programs/firefox/.conf/im3w1l -rf But I think a general tagged system has some problems, most notable filename collisions. Adding a tag to a file could create a collision for instance.