News for hackers. Stuff that matters.
Re:Johnny Decimal: A System to Organize Projects by baz00 on Thursday September 14, 2023 @06:15AM (#37507046)
I am convinced that absolutely no hierarchical taxonomy actually works in practice because every categorisation is really slightly fuzzy. Even libraries have problems categorising books into genres because some of them overlap considerably. I spent the last 25 years trying to build up useless hierarchies everywhere and none of them ever worked properly.

Tagging/labelling with attributes is the only viable solution that I've found.

This book is fiction/science-fiction/fantasy.

This document is technical-reference/specification/ratified

I believe this was the notion of the now defunct WinFS built on top of a database engine.

Re:Johnny Decimal: A System to Organize Projects by pbmonster on Thursday September 14, 2023 @06:39AM (#37507195)
> Tagging/labelling with attributes is the only viable solution that I've found.

What's your solution for a new tag being introduced late, which could/should be retroactively applied to already tagged media?

Re-tag the entire inventory by hand? Re-tag automatically with some ML/AI tool after you've tagged enough media to train a discriminator? Or just live with old inventory not having that tag?

Re:Johnny Decimal: A System to Organize Projects by baz00 on Thursday September 14, 2023 @06:43AM (#37507235)
Depends very much on the problem domain. It's really easy to do this on macOS.

So for example I have a top level `Documents/docs` directory. In this everything is recorded in format `yyyy-mm-dd Title.ext` format. I have a saved search which says "give me everything untagged". I will select each thing that is untagged and then tag it!

Re:Johnny Decimal: A System to Organize Projects by plagiarist on Thursday September 14, 2023 @07:11AM (#37507421)
I think they're asking something different, what if you think of a brand new tag after you have already tagged things for years? It is potentially a lot of effort to retroactively apply it.
Re:Johnny Decimal: A System to Organize Projects by smallerdemon on Thursday September 14, 2023 @07:18AM (#37507454)
Yeah. All systems like this have to account for ad-hoc additions. Otherwise you will often jam a few squares into some circles just to accommodate your categorization system.
Re:Johnny Decimal: A System to Organize Projects by cma on Thursday September 14, 2023 @10:51AM (#37509801)
AI/LLMs can probably make it easy.
Re:Johnny Decimal: A System to Organize Projects by dvas on Thursday September 14, 2023 @11:57AM (#37510660)
I ran into a similar situation a while back now,

I have my version of a zettelkasten system, where I put a tag/ list of tags at the top of the note file (timestamp being the note name). Combining this with something like ripgrep allows me to search the note file contents by those tags, and keywords.

A tag I used, didn't seem like the right one for the content as it matured and grew over time.

This meant creating a tiny script which would take the name of the tag and the note name, in which it is being used and look at backlinks and forward links and rename the tag based on usage.

Re:Johnny Decimal: A System to Organize Projects by dotancohen on Thursday September 14, 2023 @07:38AM (#37507590)
With hierarchical tags this is less of an issue. Presumably the old tags are still valid for the extant documents? Can the new tag be asub-tag of one of the extant tags?
Re:Johnny Decimal: A System to Organize Projects by giraffe_lady on Thursday September 14, 2023 @09:23AM (#37508681)
More likely to discover a supertag than a subtag in my experience. I think this is why so many people get value out of zettelkasten: focuses on connections rather than categories.
Re:Johnny Decimal: A System to Organize Projects by dotancohen on Thursday September 14, 2023 @02:26PM (#37512789)
Ideally both the supertag and subtag would return the document tagged with the subtag.
Re:Johnny Decimal: A System to Organize Projects by PurpleRamen on Thursday September 14, 2023 @07:54AM (#37507711)
Yes, usually, you must recheck your content regularly and check if old content validates for new tags, or if old tags have shifted in meaning, splitted into new subtags, etc. But this does not necessarily mean you should check everything, and regularly must not mean every week or month. Just review small parts of your library for changes, occasionally as you have time, the improvements will come over time by themselves.

A never changing library, is a dead library.

Re:Johnny Decimal: A System to Organize Projects by alpaca128 on Thursday September 14, 2023 @07:57AM (#37507728)
It can mean a lot of effort, yes, but in a lot of cases you can drastically reduce the number of items to re-tag by defining some simple relations between tags. For example tag A may require tag B to exist but not C, etc.

In the end maintaining order always requires effort, if you have a hierarchical folder structure and you decide to add another category you have the same problem. And realistically folders are "good enough" for most situations, you can choose for each file how fine-grained the categorization should be and the mental overhead for finding a file is often not that bad.

Re:Johnny Decimal: A System to Organize Projects by dredmorbius on Thursday September 14, 2023 @11:37AM (#37510416)
[delayed]
Re:Johnny Decimal: A System to Organize Projects by logdahl on Thursday September 14, 2023 @06:27AM (#37507127)
I'm just wondering when we're gonna get tagged filesystems. Maybe something partially hierarchical. Would love a book/ directory that i can query for 'sci-fi' or 'specification'. I guess one could implement it using sym-links :^)
Re:Johnny Decimal: A System to Organize Projects by timschmidt on Thursday September 14, 2023 @06:41AM (#37507220)
Re:Johnny Decimal: A System to Organize Projects by baz00 on Thursday September 14, 2023 @06:31AM (#37507148)
Don't even go there with the symlinks. My mother made a family tree on windows with folders and shortcuts. It broke OneDrive and robocopy completely. I don't even know how to help her fix it.
Re:Johnny Decimal: A System to Organize Projects by virtue3 on Thursday September 14, 2023 @06:35AM (#37507164)
It's 3 in the morning and I couldn't stop laughing out loud when I read this. Poor OneDrive lol.

I hope she managed to keep all her files and didn't lose anything.

Re:Johnny Decimal: A System to Organize Projects by baz00 on Thursday September 14, 2023 @06:46AM (#37507253)
It still works and she hasn't lost anything but you can't actually move or delete any files any more because windows explorer craps out too!

I literally have no idea what to do with it :(

Re:Johnny Decimal: A System to Organize Projects by hobs on Thursday September 14, 2023 @07:53AM (#37507703)
My assumption is she ran into the max path length limitation, here's how to fix it https://learn.microsoft.com/en-us/windows/win32/fileio/maxim...
Re:Johnny Decimal: A System to Organize Projects by baz00 on Thursday September 14, 2023 @08:44AM (#37508201)
That was one of the problems. Unfortunately after fixing that it's still broken.
Re:Johnny Decimal: A System to Organize Projects by alpaca128 on Thursday September 14, 2023 @08:07AM (#37507824)
On one hand this is an edge case, on the other things like this make me wonder how computers can even work if first-party software built specifically for nothing but managing files fails to gracefully handle a folder structure a user created by hand.
Re:Johnny Decimal: A System to Organize Projects by baz00 on Thursday September 14, 2023 @09:19AM (#37508628)
That was exactly my take home from this. Windows has some very serious flaws in it when it comes to data integrity. I do not trust it and do not use it myself.
Re:Johnny Decimal: A System to Organize Projects by mceachen on Thursday September 14, 2023 @12:04PM (#37510749)
You could write a short PowerShell script that recursively deletes shortcuts and symlinks, but I'd certainly take a full backup and have it offline before I kicked out off.
Re:Johnny Decimal: A System to Organize Projects by Brajeshwar on Thursday September 14, 2023 @06:37AM (#37507183)
Apple tried doing this with "tag" in the file system but most people don't use it.
Re:Johnny Decimal: A System to Organize Projects by baz00 on Thursday September 14, 2023 @06:37AM (#37507184)
I use it! :)
Re:Johnny Decimal: A System to Organize Projects by Brajeshwar on Thursday September 14, 2023 @06:47AM (#37507261)
Don’t Do That. Don’t Give Me Hope.
Re:Johnny Decimal: A System to Organize Projects by smallerdemon on Thursday September 14, 2023 @07:15AM (#37507436)
Same.
Re:Johnny Decimal: A System to Organize Projects by hnbad on Thursday September 14, 2023 @07:14AM (#37507430)
Microsoft allegedly wanted to get rid of the folder hiearchy completely. There were a lot of rumors surrounding "Windows 97" (what later became Windows 98) because of its Internet integration (which eventually just turned into a lot of dead-end MSN widgets and Internet Explorer being shipped with the OS). I don't know how well-founded this speculation was but allegedly Microsoft wanted to fully commit to things like "cloud storage" (before this was a thing, so of course not using this name) and ended up shelving most of this work because the networks just weren't fast enough at the time.

Note: I specifically remember these speculations in the lead-up to the release of Windows 98. They don't seem to be easy to google at this point.

Re:Johnny Decimal: A System to Organize Projects by theshrike79 on Thursday September 14, 2023 @06:35AM (#37507165)
There are some attempts using Fuse on Linux.

At least one I tried ages ago was one you could use to browse your music collection, it automatically generated "directories" based on mp3tags.

Re:Johnny Decimal: A System to Organize Projects by pedrovhb on Thursday September 14, 2023 @06:52AM (#37507295)
I just wish xattrs were more resilient and explicit.
Re:Johnny Decimal: A System to Organize Projects by Cyphase on Thursday September 14, 2023 @08:04AM (#37507805)
The author of TMSU left a sibling comment to yours: https://news.ycombinator.com/item?id=37507343

https://tmsu.org/

> TMSU is a tool for tagging your files. It provides a simple command-line tool for applying tags and a virtual filesystem so that you can get a tag-based view of your files from within any other program.

> TMSU does not alter your files in any way: they remain unchanged on disk, or on the network, wherever you put them. TMSU maintains its own database and you simply gain an additional view, which you can mount, based upon the tags you set up. The only commitment required is your time and there's absolutely no lock-in.

Re:Johnny Decimal: A System to Organize Projects by notfed on Thursday September 14, 2023 @11:32AM (#37510331)
Got me wondering how it tracks file moves. From the FAQ:

> TMSU not automatically detect file moves and renames

I dunno if we can call it a tagged filesystem with this limitation. (Why not store tags, or at least a GUID, in file metadata?)

Re:Johnny Decimal: A System to Organize Projects by istjohn on Thursday September 14, 2023 @01:29PM (#37512032)
It does store file hashes. It has a repair command that will use file hashes to find moved files. I don't know how well it works.
Re:Johnny Decimal: A System to Organize Projects by dotancohen on Thursday September 14, 2023 @02:32PM (#37512867)
This seems a serious limitation. Bash is my file manager - ls and cd. I would not give that up for any tool no matter how convenient.

But presumably there is some API or ABI to monitor, or some signal emitted, when files are moved, added, updated, or deleted. However iwaitnotify works, could that be incorporated (even theoretically) into TMSU?

Re:Johnny Decimal: A System to Organize Projects by Cyphase on Thursday September 14, 2023 @05:00PM (#37514772)
https://github.com/oniony/TMSU/wiki/FAQ#why-does-tmsu-not-au...

There are a couple very barebones wrappers around mv and rm, though they could be better (pass through arguments, etc.).

https://github.com/oniony/TMSU/wiki/Tricks-and-Tips#filesyst...

Re:Johnny Decimal: A System to Organize Projects by dredmorbius on Thursday September 14, 2023 @11:58AM (#37510678)
The approach I've been favouring for a while has been to have a data store, I call it the "stacks", based off physical library nomenclature, and then a virtual filesystem which effectively uses searches along various attributes to surface individual items.

Those searches might be based on title, author/creator/contributor, publication/creation dates, assigned identifiers, full-text search, relations between documents, subjects or topics, document type / format, or other aspects.

How that is specified precisely ... I haven't settled on entirely, though short mnemonics, two- or three-letter where possible (ti -> title, au -> author, date, isbn, oclc, doi, etc.) might work.

If the filesystem lives under /docfs, then, say, /docfs/au:barrie/ti:peter+pan would turn up J.M. Barrie's Peter Pan. Specific document identifiers such as ISBNs, OCLCs, DOIs, or LCCSs could pinpoint specific documents, looser searches such as for Peter Pan might generate a list rather than a unitary response but those individual documents would be further distinguished by other properties.

The filesystem would be virtual rather than static-on-disk. You're effectively exploring the namespace. Creating this as a filesystem rather than, say, as a database query or application-specific data store means that standard filesystem tools would be available to interact with the contents, though modifications of works might require some additional work.

The system could also provide access to works not directly in the stacks, including remote resources (e.g., accessed via URIs and network calls), or applications (through some API). The underlying data store could be in any of several formats, and again the filesystem-based access could abstract between several independent stores.

Now all I need to do is build it ...

Re:Johnny Decimal: A System to Organize Projects by Cyphase on Thursday September 14, 2023 @04:40PM (#37514555)
This sounds at least somewhat like TMSU, which has been mentioned in some other comments here.

https://tmsu.org/

Re:Johnny Decimal: A System to Organize Projects by dredmorbius on Thursday September 14, 2023 @09:33PM (#37517112)
I've seen that, yes.

There are some similarities, and I'm thinking that TMSU might serve as a component of this system.

Re:Johnny Decimal: A System to Organize Projects by ThouYS on Thursday September 14, 2023 @06:21AM (#37507088)
this, tags + dynamic views on those tags
Re:Johnny Decimal: A System to Organize Projects by imrehg on Thursday September 14, 2023 @06:49AM (#37507273)
That's what I took away from reading Everything is Miscellaneous a long while back https://en.wikipedia.org/wiki/Everything_Is_Miscellaneous

Definitely thinking about categorization differently (folders which are similar to this, tags, organic order by linking; bookmarks, notes, all are in the same boat as well).

Re:Johnny Decimal: A System to Organize Projects by lukasgraf on Thursday September 14, 2023 @08:15AM (#37507888)
I saw David Weinberger's talk at Google [1] some 15 years ago, where he presented the ideas from his book (and bought the book afterwards). This is one of those videos I rewatch regularly, because the ideas hold up so well, even today.

His critique of the Dewey Decimal system was the first thing that came to mind when I read Johnny Decimal. And indeed, it is flawed the same way.

[1] https://www.youtube.com/watch?v=x3wOhXsjPYM

Re:Johnny Decimal: A System to Organize Projects by rpastuszak on Thursday September 14, 2023 @06:53AM (#37507307)
This is precisely the reason why smaller cross-linked notes and tags work quite well for me, and JD or almost anything else in the past hasn't.

The ideal for me involves hypertext + (local, private) AI-assisted search.

None of this will replace reviewing/pruning your notes regularly (think: Andy Matuschak's fleeting and evergreen notes), but it minimises the friction.

Re:Johnny Decimal: A System to Organize Projects by oniony on Thursday September 14, 2023 @06:59AM (#37507343)
And what led me to build [TMSU](https://tmsu.org/).
Re:Johnny Decimal: A System to Organize Projects by Cyphase on Thursday September 14, 2023 @08:05AM (#37507809)
Thank you!
Re:Johnny Decimal: A System to Organize Projects by vifon on Thursday September 14, 2023 @08:21AM (#37507944)
TMSU is the only such system I found useful without being cumbersome. After years of trying to use Git Annex, it was refreshing that TMSU doesn't alter the files in any way, merely storing all the (meta)data out-of-band in a separate DB.

These days I use TMSU via my own Emacs-based UI almost every single day, so thank you for that!

Re:Johnny Decimal: A System to Organize Projects by dredmorbius on Thursday September 14, 2023 @10:07AM (#37509270)
Storing metadata out-of-band strikes me as key to any usable content management system within a realistically complex space.

Naming schemes and directory hierarchies have some limited application, but ultimately there will be data which simply won't be shoehorned into any such system, and an externally-managed catalogue tying together disparate elements is required.

(Keeping that catalogue up to date and consistent is a whole 'nother issue.)

I do like the idea of a virtual filesystem in which elements are effectively search dimensions, which leads to an interesting notion that search is identity.

That is, a search will produce one of three possible result sets:

- Null, that is, no matches.

- Plural, that is, a list of matches.

- Unity, that is, one matching item.

In the last case, the search providing a single result is an identity of that result. (It may not be a stable identity over time, but it is at least for the present.)

Where a list is returned, the size of the list determines how usable it is, and how it is usable. Ten items can be quickly scanned to find the relevant item(s), if they exist. 100 or 1,000 items can often still be managed manually, though they'll typically take some time. Somewhere between 100 and a few thousand items, though, you're in the range where automated assessments or filtering becomes necessary.

Large libraries themselves typically have tens of thousands to millions of items. The largest book collections (Library of Congress, British Library) have roughly 150 million books (or equivalents). Other records may exist in greater numbers: periodicals, financial records, databases. Facebook has reported ~5 billion items posted daily for some years now. (I suspect most of those are trivial, but that still leaves a large number of potentially non-trivial items.) Surveillance and other large-scale data collection systems may be larger still.

Re:Johnny Decimal: A System to Organize Projects by vifon on Thursday September 14, 2023 @12:37PM (#37511227)
> Storing metadata out-of-band strikes me as key to any usable content management system within a realistically complex space.

Yes and no. I was specifically comparing it to Git Annex which is hard to categorize in these terms. It forces every file to become a symbolic link to the actual file living in `.git/annex/` and then every query temporarily mutating the hierarchy of directories storing these symbolic links. I found the latter disruptive enough (in particular for the directory mtimes) that I was actively avoiding doing any such queries. See: https://git-annex.branchable.com/tips/metadata_driven_views/

On the other hand my current setup involves TMSU queries which result in virtual Emacs directory editor (dired) views that don't affect anything else. I don't even use the FUSE functionality of TMSU.

Re:Johnny Decimal: A System to Organize Projects by dredmorbius on Friday September 15, 2023 @12:19AM (#37518368)
The situation is one of compromise.

The core problem is that there are formats and storage modes which don't readily allow for the modification of the item itself. Editing PDFs is already a pain, applying metadata to some entry in a database or wiki, or third-party website, isn't possible at all.

The remaining options seem to me analogues of practices with books.

It's possible to "rebind" an item and include biblographic information into the equivalent of fly-leaves of that work, much as a library may rebind a book and apply a label with inventory number(s), call number(s), and/or bibliographic data to that book. Since physical objects are inherently modifiable and enclosable, this makes sense. The digital analogues vary, but are at least theoretically available (e.g., enclosing a work in an archive format which includes metadata. See the WARC (Web ARChive) file format for example: <https://en.wikipedia.org/wiki/WARC_(file_format)>. Epub files and software packaging formats such as RPM and APT are other examples of standardised file structures which encapsulate others.

The other practice of a library is to abstract out the metadata to a catalogue, effectively a metadata index.

In a physical library archive, this involves a cataloguing process, as part of item acquisition workflows. The metadata for many traditionally-published works is already centralised such that it can be obtained from specific organisations such as the US Library of Congress, the British Library, the OCLC (originally the Ohio College Library Center, which has both its own item identifier and manages the Dewey Decimal Classification), the International ISBN Agency or one of its national affiliates (e.g., Bowker, in the US), the International DOI Foundation (for DOI assignments: digital object identifiers, used extensively in academic journals). Circulation of items is managed through a circulation desk, for both external lending and managing, tracking, and reshelving books used within the library itself, but not being borrowed externally.

For digital media, the equivalents would be either some sort of management system, which would require an application-specific interface, or a filesystem which incorporates not only metadata but workflow management. I'm leaning toward the latter concept as more universal, though that also raises the question of how to deal with workflows in which contents leave or enter that filesystem context itself.

But with a filesystem, you have a number of additional possibilities available:

- The pairing of works with metadata is automated.

- Workflows can be integrated into filesystem actions. The act of creating a file would also create the file metadata (to a greater extent than present inode entries do).

- Additionally, introducing the notion of process status means that the filesystem itself could distinguish between works which have no or only default cataloguing data applied, those which have had additional metadata added (say, from an external look-up or automated heuristics based on file contents).

- Renames and deletions are now managed through the filesystem itself rather than third-party tools.

- I'd like to see both versioning (changes to a given file) and relationships (source, derived, referenced, and referencing works) tracked as well.

- Different forms of a work could be tracked together. The markup-language source and generated outputs (PDF, PS, ePub, HTML, plain text, etc.) versions of a text. Translations. Audio formats. Different performances of a work. Optical scans of printed material. Photographs of visual or plastic arts (sculpture), or architecture. See FRBR (Functional Requirements for Biblographic Records), and the Work, Expression, Manifestation, Item distinctions: <https://en.wikipedia.org/wiki/Functional_Requirements_for_Bi...>).

- Ideally, some sort of highly-invariant fingerprinting such that different versions of a work can be identified and matched despite different formats or slight modifications (intentional differences between editions, translations, errors or damage introduced over time). Traditional whole work hashes fail to offer this, though segmented and normalised hashes or vectors might be able to do so.

Again, the largest problem with a filesystem approach is in imports and exports from that filesystem-based archive. That would probably best be achieved through wrapper formats and applications or servers for other organisations or the general public.

Re:Johnny Decimal: A System to Organize Projects by dvas on Thursday September 14, 2023 @12:27PM (#37511073)
Thank you for sharing!

Exactly what I needed for my own note storing system where I can tag and describe various pdf's like books, lecture notes, and papers with tags, then use `rga` for searching inside of the pdf's for content!

Re:Johnny Decimal: A System to Organize Projects by mihaaly on Thursday September 14, 2023 @07:07AM (#37507399)
Also if someone by some miracle is able to come up with a univocal hierarchy for a usecase or organization - that may even work throughout time and evolving situation and conditions - then collaborating with an other field or organization will have collisions or discrepancies in taxonomy and a hopeless confusion of category number mapping.
Re:Johnny Decimal: A System to Organize Projects by dotancohen on Thursday September 14, 2023 @07:36AM (#37507579)
I actually use a hierarchy of tags to organize my notes. The _tags_ are hierarchial, not the storage path.
Re:Johnny Decimal: A System to Organize Projects by somat on Thursday September 14, 2023 @10:36AM (#37509598)
but your storage path is already a hierarchy of tags.*

*If using a unix derived filesystem.

Re:Johnny Decimal: A System to Organize Projects by dotancohen on Thursday September 14, 2023 @02:37PM (#37512927)
I could use symlinks to refer to files, yes, but rather I'm using nonstandard #foo-bar-baz subtag syntax to refer to sections of org mode documents. I do not use real org mode tags because those are restricted to headlines.

In other news, if anyone knows how to restrict a search in an org mode buffer to search only the headings, that would be very helpful! Right now I'm using an external grep wrapper, restricting to lines that begin with an asterisk.

Re:Johnny Decimal: A System to Organize Projects by somat on Thursday September 14, 2023 @08:31PM (#37516656)
ehh... symlinks... perhaps, But I am talking about hardlinks.

Having said that, I will be the first to admit. the reason hardlinks are not often used is that it is a real "here be dragons" part of the map.

10 years ago I spent a couple fun weeks categorizing all my music. my schema was something along the lines of

every file was linked to

  artist/artist_name/song_name
  band/band_name/song_name
  song/song_name/band_name
  date/YYYY-MM-DD/song_name
  genre/genre_name/song_name
  playlist/playlist_name/index
  etc, etc
then I had fun making up a small set of cli utilities to find tags, create and manage playlists etc. then A. it turns out I don't really listen to music. and B. the whole structure wanted to explode every time I would try and move it to a new host. so it probably still sits there on one of my file servers but now as a million duplicated files.
Re:Johnny Decimal: A System to Organize Projects by couchand on Thursday September 14, 2023 @07:37AM (#37507584)
If anything, the history of libraries show you can get really really far by applying a sytematic organizing principle, even if it's WRONG(TM). Librarians may fret that some books are hard to categorize, but library patrons successfully find stacks of books on their own every day all around the world. It's not perfect, but it's better than nothing!
Re:Johnny Decimal: A System to Organize Projects by dredmorbius on Thursday September 14, 2023 @09:58AM (#37509139)
Book classifications ultimately need to assign a book to a location.

So long as that goal is achieved, the rationality or consistency of that assignment is a strongly-secondary consideration. If the book has a place, and can be located, where it happens to be relative to other related works, or unrelated ones, really doesn't matter.

Searching for works based on similarities or relationships is a problem of the indexing system. I should be able to find works on a similar topic, which reference or are referenced by another, by author, by institution, perhaps by publisher, by publication date, etc. That information would be carried within a catalogue, but need not determine the location of the work within a physical archive.

Re:Johnny Decimal: A System to Organize Projects by PurpleRamen on Thursday September 14, 2023 @07:48AM (#37507662)
> I am convinced that absolutely no hierarchical taxonomy actually works in practice because every categorisation is really slightly fuzzy.

Fuzzy is ok, not everything needs to be perfect.

> Tagging/labelling with attributes is the only viable solution that I've found.

Categories and tags have different use cases. Categories are the best solution, when there is only one possible location for an object, like with physical objects, which cannot appear at multiple locations at the same time. Tags make sense, if you can offer multiple entry points to reach the goal, and have the option to manage them all on a reliable level.

And nothing speaks against using them both, with different valuesets. Like with digital files, you can have categories for managing the filetypes (books, videos, etc.), but then use tags to manage the content in each category.

> This book is fiction/science-fiction/fantasy.

Isn't this kinda redundant? science-fiction is already fiction, it's in the name. Reads more like a hierarchy. Which you of course you can also with tags. Any fantasy-tag automatically inherits the fiction-tag too.

Re:Johnny Decimal: A System to Organize Projects by giaour on Thursday September 14, 2023 @09:00AM (#37508400)
> Isn't this kinda redundant? science-fiction is already fiction, it's in the name.

This is nit-picking the specific example rather than engaging with the GP's point. There are definitely genres that span the fiction/non-fiction divide (like romance, horror, politics, judaica, and many more). Interestingly, hierarchical systems used by libraries tend to ignore genre. The Dewey Decimal system doesn't classify literature by genre but instead by language, though some overarching genres (drama vs poetry) are treated as subcategories of language (e.g., German poetry is 831, French poetry is 841), but only for major European languages.

Re:Johnny Decimal: A System to Organize Projects by PurpleRamen on Thursday September 14, 2023 @09:42AM (#37508917)
> This is nit-picking the specific example rather than engaging with the GP's point.

It's showing that tags can be fuzzy too. So the initial complaint is not avoided, just moved.

Re:Johnny Decimal: A System to Organize Projects by giaour on Thursday September 14, 2023 @03:02PM (#37513278)
Tags (as the comment I was responding to and its parent define them) are allowed to be fuzzy. Categories arranged in a hierarchy do not permit any fuzziness, because things must fall into one category or another (but not both).
Re:Johnny Decimal: A System to Organize Projects by eek04_ on Thursday September 14, 2023 @09:25AM (#37508710)
Scientific libraries categorise into *several categories*.

They effectively use hierarchical tags, with the set of tags very carefully curated.

Re:Johnny Decimal: A System to Organize Projects by somat on Thursday September 14, 2023 @10:34AM (#37509570)
tagging is what happens when you allow an artifact to exist under more than one hierarchy at the same time.

The progression usually goes.

"we want to label our things."

"There is a natural hierarchy that we want to be reflected in our labels.

"Some things are not labeling well. instead use multiple labels per thing."

"There is a natural hierarchy that we want to be reflected in our labels."

The unix files system is a good example of the latter. it favors the hierarchy but allows each file to have many names if that is what is required. The main weakness of the unix filesystem is that there is no reverse map, that is, finding a file from its name(s) is simple. finding the names from the file involve searching the whole filesystem.

Re:Johnny Decimal: A System to Organize Projects by jjtheblunt on Thursday September 14, 2023 @11:37AM (#37510414)
I've thought a ton about what you just described, and I think of it this way: not every directed acyclic graph happens to be a tree.
Re:Johnny Decimal: A System to Organize Projects by tuatoru on Thursday September 14, 2023 @11:45PM (#37518083)
> Tagging/labelling with attributes is the only viable solution that I've found.

The only solution I've found is being utterly ruthless about deleting things. YAGNI, YAGNI.

Alongside this, topic-based folders are fine. Not many things are in both "econ" and "sf&f", and when something is relevant to both, such as Krugman's paper on interstellar trade, it's easy to decide where it goes (econ) and where an empty file called "Krugman, Interstellar Trade: see econ" goes.

Empty file with a textual reminder, not a softlink or hardlink. Those are brittle. So are attributes.

Use broad categories, though. "sf&f", not "SF&F - Fantasy - Urban Noir - West Coast - Mermaids". The definition of "broad" depends on your areas of expertise.