News for hackers. Stuff that matters.
Re:Things you wish you didn't need to know about S3 by ooterness on Friday May 31, 2024 @11:28AM (#40536423)
You have to draw the line somewhere, but I do appreciate when the UI sorts "Book draft 2" before "Book draft 11". That requires nontrivial tokenization logic and inference, but simple heuristics can be right often enough to be useful.

On that note, ASCIIbetical sort is never the right answer. There is a special place in hell for any human-facing UI that sorts "Zook draft 1" between "Book draft 1" and "book draft 1".

Re:Things you wish you didn't need to know about S3 by saghm on Friday May 31, 2024 @12:52PM (#40537408)
I think there's a pretty big difference between how the UI orders things and how the filesystem treats things as equivalent. A filesystem treating names case sensitively doesn't prevent the UI from tokenizing the names in any other arbitrary way
Re:Things you wish you didn't need to know about S3 by yencabulator on Friday May 31, 2024 @05:22PM (#40540406)
And that line, at least for sorting, belongs firmly outside the filesystem.

Sorting is locale-dependent. Whether a letter-with-dots sorts next to letter-without-dots or somewhere completely different has no correct global answer.