Let's say I go on vacation with my dog and make pictures. After I am home again I want to sort the pictures but then I have a problem: the pictures in which you can see my dog in belong into the '2019 vacation to Bavaria' collection _and_ also in the 'Best pictures of my dog' collection.
I'd love to have some sort of universal file-database where I can store all my "final" images and then create collections by adding tags.
But what I want is different:
I want a universial "DB for binary files" where I can store binary data and all its metadata.
Then I can use this DB to build a app for picture galleries, music collections and tons of other things.
This DB should also support:
* automatic checksumming so that I can detect data corruption
* Some sort of version history so that I can store multiple versions of a file
* there could be built-in replication which I can use to see the same data (or parts of it) on all my devices
Plenty of applications do just this today by using the file system plus an index in SQLite. Is that method insufficient?
Then you answered your own question: "Plenty of applications do just this today".
So yes, it is a common enough case that it could/should be built into the OS.
Photo albums wants to do face recognition. Music player wants BPM detection. Should those be done by OS? I do not think so.
I think tags have limited scope. They are great for photos. They are OK for music, but strictly in addition to the main hierarchy. You could use them for text docs, but folders + full text search is much better. And file level tags are completely useless for code/programming
Artist sort, year sort, genre sort, etc. Genre is really hard though.
There isn't much reason to use tags as the only way of organizing things though, they work great as views.
For example, my music collection is big and diverse, and both "year sort" and "album sort" are kinda useless now, because there are actually multiple disjoint subsets. There is no point ever in showing me audiobooks for year 2010 and regular music for year 2010. I always only want a subset of it.
This is what I meant "strictly in addition to main hierarchy" -- let me keep my folders, and maybe when I want to go deep enough, I want to browse by tag. But even then it would not be a hashtag-like tags that the original page refers to.
I therefore think it'd be worth separating the concept of a "filesystem" from a "folder system" or "index system". That is: keep the file storage itself flat (e.g. in a relational database table), then have different categorical "views" that could be relational and/or hierarchical pointing to these files. Naturally, those collections will have their own sets of metadata for that file.
So for example, you have a file named "img-8675309.png" in your camera's storage. The operating system presents a view of said camera storage, in the form of a flat list of files and some basic metadata like creation date (plus perhaps camera-specific metadata if, say, the camera driver is the thing generating the view). You could then open up views for your 2019 Bavaria vacation ("Vacations" → "Bavaria 2019" → "Photos") and your dog ("Pets" → "Fido" → "Photos"), set a sorting field for each view (for the vacation, probably chronological; for your dog, by however you define "best"), drag/drop the camera file into those views (in the latter case, maybe even drag it into the spot where you want it to show up ranking-wise), and the operating system would then add references to that file automatically (almost certainly copying it into a local cache) in both your opened views and potentially in some system-maintained views (e.g. "Local Files" → "Photos").
One of the slick things here is that file access could be entirely transparent to how those files are stored. For example, those views will of course include your device's internal storage, but might also include external devices (like the camera in the above example) or even remote services (like, say, your social media account). If you accidentally delete your prized Fido photo on your local machine, the "Pets" → "Fido" → "Photos" view could still have a reference to the copy on the camera, or a copy in your social media posts, or a copy in the system backup that automatically ran last Sunday, and thus retrieve it and re-cache it locally (or prompt you to plug your camera or your external USB drive back in so it can check there).
Tags are more useful for certain types of files than others. E.g. let's say you want to mark certain projects done. Instead of moving them to a done folder you can just add tags to them – without changing any paths you change their status.
Tags are also quite useful for pictures, music and other media content.
I never really got, why even in 2019 there is not good support for tags on most desktops.
That's ~10% of desktops in the world (and 1 of the 3 "mainstream" desktop OS out there, counting linux)
I'm too much of a mess to use them, but they're there.
Here's a reference: https://www.howtogeek.com/344543/how-to-tag-any-windows-file...
You can't tag the plain text notes that you write about the holiday you had or the bitmap that you created from one of the jpegs.
You can't tag the notes that you write about the holiday you had.
A hierarchical structure like folders also maps well to how we locate things in real life.
Suppose I want to get a particular book I have. I enter my home through the front door, pass through the living room, from it enter the corridor which links all the rooms, then enter the office, within it go to the bookcase, open the first door on the left, go to the third row, and it's one of the books which are located in that shelf.
You represent that by using a spatial Finder [1] (with aliases), instead of a browser. Files and folders can be organized spatially on the desktop and within each window. Since a given window is a permanent view into its folder (there was no way to open multiple windows of the same folder nor could a window ever show a different folder) it was extremely easy to remember what you were looking at, visually.
The classic Mac OS also had tags which you could use to flag files and folders by colour and of course you could change folders into small icon or list view in order to handle many files at a time. These view settings permanently applied to a given folder, so every time you opened it you would see the same window, in the same place, right where you left off.
To someone who may never have used this system, it's hard to describe how incredibly productive it was. Humans have extremely powerful spatial memory and the classic Mac OS Finder leveraged that perfectly. Just like the example of someone walking through their house to retrieve a book from their library or a letter from their desk, you could navigate your folder structure visually, without even reading the file names; it was incredibly powerful!
As for wildly different aspect ratios (portrait vs landscape) you're just going to have to compromise. As long as you have a mechanism to make sure windows can't get lost outside the bounds of the screen, you should be fine.
It the problem should only happen once, though. After your files have been synced between the devices for the first time, thereafter each device should maintain its own window positioning.
> After your files have been synced between the devices for the first time, thereafter each device should maintain its own window positioning.
No they shouldn't. That breaks the entire metaphor because now items don't have a single spatial position anymore.
I mean look at this article - great writing, lots of good ideas, but not a single picture until page 9 of 10 and then you just get two lists and a card catalog metaphor. Whoo, dynamic lists. The problem with a spatial finder is that it's all about ordering things, which is a hideously constrictive thing even as a dynamic process because it reduces everything to one dimension and encourages quantitative rather than semantic thinking (let me be clear that I'm blaming Apple for this unhappy state of affairs rather than the author).
We can see another instance of this in the mentioned bookmarks; it's 2019 and the only options I have for exploring my bookmarks in any of the popular browsers are as a 90s style menu tree. Why doesn't my browser pro-actively tag my bookmarks and allow me to apply any of many categorical schemas that people share. Likewise, why can't I configure my browser to be more selective about CSS? It blows my mind that websites and apps offer 'dark themes' as a feature when theming has been a basic part of desktop UI for >20 years. I should be able to view any website through a dark theme whose darkness and basic palette I've chosen for my browser, in the same way that I can put on sunglasses rather than having to wait for artificial things in my physical environment to be painted in less vibrant colors.
I'm well aware that there are any number of CSS modifiers and plugins, I have used many over the years. But they all require either restyling individual website elements via a GUI or writing replacement CSS code. This is like saying that if you have an uncomfortable chair the solution is to take up woodworking rather than throw a cushion on it. I am never going to write code to increase my comfort (as opposed to developing new tools) because the discomfort of having to acquire competence with yet another syntax vastly outweighs the likely aesthetic improvement. It would make perfect sense if I was a working designer but I'm not and don't want to be. Invitations to code something oneself are implicit failures to understand the problem, confusing the cup with its content.
I submit that part of the problem is that designers and developers are hopelessly constricted by their own axiomatic metaphors. Take bookmarks; I still use physical bookmarks occasionally, and they're essentially nodes for a particular marker in a one-dimensional linked list (the sequence of paper pages in the book). The browser allowed us to take a collection of such one-dimensional markers and structure them in a binary tree form. That's nice, but by now we should be up to using quaternions to explore 4-dimensional slices in n-dimensional semantic space.
Frankly, if I were dictator of the internet my first rule would be that you can provide content or rendering but not both at the same time unless you want to be in an art museum. UI paradigms are like vessels into which content is poured; the web is the equivalent of having to buy drinks only in single-serving cans or bottles and then telling people to be happy with the huge variety of packaging options, with no regard to the time and cognitive overhead of trying to find what you want behind 500 layers of branding. Economists refer to this as the paradox of choice: little, no, or even negative value is being delivered to the consumer, while vast resources are being spent on trying to slightly expand market share through product differentiation. In some cases, far more economic resources than required for the manufacture and delivery of the underlying product and with significantly higher negative externalities in terms of energy and anxiety.
Can you elaborate on this a little more? I'm not quite sure what you mean here.
To me, the spatial metaphor Finder was all about semantic thinking. I'd open up my project folder and all of the documents would be spread out visually, within the 2D plane of the window, and their spatial orientations and groupings carried meaning for me. Additionally, I'd tag things with various colours, such as marking a file red (for TODO) or another one green (for Done). This was just about as far from one-dimensional as I could envision a workable UI (3D UIs have been tried in games and they're pretty clunky).
As for bookmarks? I agree with you. Bookmarks suck!
What I am looking for is something in the same ballpark as dynamic graph generation as seen here, but with shareable tagging: https://www.mcnutt.in/forum-explorer/
When you say their spatial orientations and groupings carried meaning for me I wholly agree; What I'm trying to say (poorly uwu) is that managing the finder or other WIMP desktop elements is like laying out a beautiful graph in Visio or some other flowcharting software, vs the sort of dynamic graphs that the computer can render for you on the fly.
Taking the example above and imagining it extended to disks and documents as opposed to topics and comments, suppose you could have nesting nodes, whose size might be a treemap-like function of their content and whose layout might be manged with Apollonian gaskets; and imagine further that I could click on the name of individual contributors (isomorphic to file properties or curated tags) and quickly see a cross-section of their contexts - not the text of the individual comments, but the immediate neighborhood of the graphs in which they appear; and imagine further that as I applied selection criteria of various kinds to refine my graphs, their unique combination would itself form a metagraph which I could save at any time, like the key to a particular collection.
That last sounds a bit handwavey, but I'm imagining a fairly small graph that would map about the same amount of information as a regex string or polynomial expression. You wouldn't read the content of these graphs (unless you really wanted to) any more than you measure the ridges and notches of your most commonly used physical keys. They'll just become shapes you recognize and name to unlock your favorite perspectives, fulfilling much the same function as the extension buttons on your browser toolbar.
I like to think of it in terms of the real world objects the metaphor is meant to mimic. So I think of documents the way I would pieces of paper on my desk and control panels like light switches in my house (to borrow John Siracusa's example).
On the other hand, something like an address book or a filing cabinet full of tax records is not what I'm interested in organizing spatially. Instead, I'd use a purpose-built tool such as an address book application or document-oriented database. Likewise for photos or music, which lend themselves to custom database applications of their own.
I'm not sure what your treemap-like graph database would be optimized for, other than disk space cleanup tools (which I have used).
You can have hierarchical tags even with a flat system, just name them "foo", "foo/bar" and so on. (And if you design a tag system nothing prevents from adding a hierarchy of tags.) But you're right tags need discipline and single source. There's no way to have a community-based tag soup without some sort of tag police.
Another problem is that all tag-based system I saw (not many) looked very much in their infancy. All they had was very basic flat tagging without hierarchy and very basic search. These are not enough to realize their potential.
The only heuristic we really have for tree filesystems to get a feel for a subtree (child folder) is the total disk usage of that folder, or maybe total number of files in the subtree.
I had an idea to use folders as tags, and to make a script that moves folders around according to the usage of the tags. So that way we have hierarchical folder structure, and the folder name is the tag, but it will stay organized according to the usage.
The trick in my case was to come up with a convention for a folder name in order to make it obvious it's a "tag" folder.
A folder structure is a self-contained map that will help guide me to the correct document. Each step has hints about where I can go next (sub-directory names), starting from most broad going to most specific. It takes advantage of both locality (similar topics are usually next to each other) and logical, hierarchical grouping.
A tag is a random thought or property stuck onto a file that I now have to remember every time I want to find that file again. I have no way to specify that tags may have a useful hierarchy of other similar but distinct items without manually coming up with a tagging system to give me that. Folders do it by default.
Basically - Folders are a good enough default. Tags might be better in some cases, but you have to be excruciatingly disciplined about using it and I find most people just end up recreating a structure that looks suspiciously like folders.