News for hackers. Stuff that matters.
Re:Things you wish you didn't need to know about S3 by CamperBob2 on Friday May 31, 2024 @12:03PM (#40536819)
What are some of the advantages of case sensitivity? Are you saying you actually want to save "Book draft 1.docx" and "Book Draft 1.docx" as two separate files? That just sounds like asking for trouble.
Re:Things you wish you didn't need to know about S3 by JohnFen on Friday May 31, 2024 @12:14PM (#40536944)
The advantages that I value are that case sensitivity means I can use shorter filenames, it makes it easier to generate programmatic filenames, and I can use case to help in organizing my files.

> Are you saying you actually want to save "Book draft 1.docx" and "Book Draft 1.docx" as two separate files?

That's a situation where sensitivity can cause difficulty, yes, but for me personally, that's a minor confusion that is easy to avoid or correct. Everything is a tradeoff, and for me, putting up with that annoyance is well worth the benefits of case sensitivity.

I do totally understand that others will have different tradeoffs that fit them better. I'm not taking away from that at all. But saying "case sensitivity is undesirable" in a broad sense is no more accurate than saying "case sensitivity is desirable" in a broad sense.

Personally, I think the ideal tradeoff is for the filesystem to be case sensitive, but have the user interfaces to that file system be able to make everything behave as case-insensitive if that's what the user prefers.

Re:Things you wish you didn't need to know about S3 by Dylan16807 on Friday May 31, 2024 @09:22PM (#40542040)
Even with only one case, just four characters is enough for a million files. How much benefit are you really getting from case sensitivity?
Re:Things you wish you didn't need to know about S3 by marssaxman on Friday May 31, 2024 @11:33PM (#40542662)
Unicode case folding is a complicated algorithm, and its definition is subject to change with updated Unicode versions. It's nice not to have to worry about that.
Re:Things you wish you didn't need to know about S3 by Dylan16807 on Saturday June 01, 2024 @12:48AM (#40542965)
Okay, but I don't think this has anything to do with the use case JohnFen mentioned or my questions about it.

If your goal is super easy filename generation then you're probably not going to leave ASCII.

And if you do go beyond ASCII for filename packing/generating, then you should instead use many thousands of CJK characters that don't have any concept of case at all. Bypass the question of case sensitivity entirely.

Re:Things you wish you didn't need to know about S3 by JohnFen on Saturday June 01, 2024 @08:35AM (#40545217)
Enough that I prefer it. If that were the only advantage, I'd only slightly prefer it. But being able to use case as a differentiator in filenames intended for me to read is something I find even more valuable.

A filesystem not being case sensitive isn't a dealbreaker or anything. I just prefer case sensitivity because it increases flexibility and readability for me, and has no downsides that I consider significant.