SpaceCadet

joined 1 year ago
[–] SpaceCadet@feddit.nl 0 points 2 months ago* (last edited 2 months ago) (2 children)

give me one use case where it makes sense having several files with the same name but different cases in the same directory

Imagine a table in a database where the primary key is a case sensitive character field, because you know varchars, just like C char types and string types in other languages are case sensitive.

Imagine a database administrator does the following:

  • Export all data with primary key = 'Abcde' to 'Abcde.csv'

Imagine a second database adminstrator around the same time does the following:

  • Export all data with primary key = 'abcde' to 'abcde.csv'

Now imagine this is the GDPR data of two different users.

If you have a case insensitive file system, you've just overwritten something you shouldn't have and possibly even leaked confidential data.

If you have a case sensitive file system you don't have to account for this scenario. If the PK is unique, the filename will be unique, end of story.

[–] SpaceCadet@feddit.nl 4 points 2 months ago* (last edited 2 months ago) (4 children)

Because it’s designed for average people

It is not. It is designed for all purposes, automated processes and people alike. A filesystem is not just for grandma's Word documents.

And even people's names are case sensitive. My name has the format Aaa Bbb ccc Ddd. It is not the same as the person with the name Aaa Bbb Ccc Ddd, who also exists. So why shouldn't file names be?

[–] SpaceCadet@feddit.nl 11 points 2 months ago (11 children)

I don’t think there’s a need for File.txt and fILE.txt

It's not so much about that need. It's about it being programmatically correct. f and F are not the same ASCII or UTF-8 character, so why would a file system treat them the same?

Having a direct char type to filename mapping, without unnecessary hocus pocus in between, is the simple and elegant solution.

[–] SpaceCadet@feddit.nl 40 points 2 months ago (2 children)

Even more annoying is that it's very cumbersome to change the case of a file once you've created it.

If you accidentally create fIle.txt when you meant File.txt, the rename function does nothing ... and it will keep displaying as fIle.txt. You have to rename it to something else entirely, then rename it back to the original name with the intended case.

[–] SpaceCadet@feddit.nl 33 points 2 months ago* (last edited 2 months ago) (3 children)

This isn't "Windows design"... this is just inherited stone age bullshit from the DOS days when the filesystem was FAT16 and all file names were uppercase 8.3.

NTFS is case sensitive in its underlying design, but was made case insensitive by default, yet case preserving, for reasons of backwards compatibility.

If Microsoft has to design something from scratch, without the need for backwards compatibility, they go for case sensitive themselves. For example: Azure Blob Storage has case sensitive file names.

[–] SpaceCadet@feddit.nl 3 points 2 months ago

Due to the energy crisis in Europe at the beginning of the Russian invasion of Ukraine, as a cost saving measure some cities here in Belgium decided to turn off the street lights at a certain time. I think they went dark at 23:00 or 22:00, so your Cinderella Lighting scenario.

I thought it felt quite peaceful to have some true darkness, and wouldn't mind it back, but at the same time if you had to walk outside at that time, it could feel a bit unsettling even if I live in a very safe neighborhood. I also found that there were some practical issues like, not being able to see obstacles or the state of the pavement, so you had to tread carefully. I'd definitely buy a decent flashlight if they implement that again.

Later, I suppose after complaints from citizens, they reverted to turning only every other streetlight off. I didn't like that at all, it was the worst of both worlds. There were still patches where you couldn't see properly, but none of the peaceful feeling of true darkness. Since a year or so it's back to all streetlights all night.

[–] SpaceCadet@feddit.nl 3 points 2 months ago

Language is simply the intrafrastructure by which we touch another’s mind across space and time

And grammar is the tool we use to structure our thoughts into intelligible phrases, so that our words convey the correct meaning to our audience. Sure everyone makes grammar mistakes occasionally, but if you respect your audience, you should at least attempt to use proper grammar and graciously accept it as a learning opportunity when a mistake is pointed out.

[–] SpaceCadet@feddit.nl 9 points 2 months ago (3 children)

a bash script to reinstall f—ing everything again

Why would you ever want to do that?

First of all, almost any Arch update induced problem can be solved by downgrading the offending package to the previous version, which handily is available in /var/cache/pacman/pkg/. This is an essential Arch troubleshooting skill.

Even an unbootable system (which has only happened once in my 10 years of using Arch because I didn't read important news) can be fixed this way, because you can always boot from the installation usb stick and then use arch-chroot to access your installation and fix problems.

Secondly, if the problem was indeed caused by an Arch update, you will just reinstall the problem if you run a reinstall script.

[–] SpaceCadet@feddit.nl 4 points 2 months ago (1 children)

If your average Windows user calls tech support, they’ll get a simple answer

They'll get a simple answer alright. In fact, they'll be lucky if they get any answer at all that is not reboot, retry, reinstall or some other cargo cult nonsense from some on-paper "MCSA" in a third world country.

And sorry for going on a rant here, but Windows tech support forums are truly the shit tier of all tech support forums, because very few people actually have the skill to properly diagnose problems in Windows when something outside of the realm of expected behavior occurs. It's all learned behaviorisms instead of understanding: reinstall your drivers! defrag your hard drive! run ipconfig /renew! clean your cache folder! delete your cookies! Never: "look in the system eventlog for an error event coming from this source, and tell me what the error code says"

[–] SpaceCadet@feddit.nl 6 points 2 months ago (3 children)

What is the problem with "jargon" anyway? You can't discuss technical things without using technical language.

If you take a bunch of Windows nerds (yes they exist), and get them talking about group policies and registry edits and powershell cmdlets, you get the same thing.

[–] SpaceCadet@feddit.nl 12 points 2 months ago (1 children)

But people whose life or personality doesn’t revolve around their computer should also be protected from user hostile and privacy invading practices.

[–] SpaceCadet@feddit.nl 6 points 2 months ago* (last edited 2 months ago) (1 children)

people not knowing shit about tech is not their fault

I don't agree with much else of what you are saying, but you are quite right here. We should indeed not throw people under the bus because they're not tech savvy and only know how to use Windows. They need to be defended from all those horrible anti-human and privacy invading practices by Microsoft and other Big Tech companies as well, and we should keep fighting and pushing back on those companies pushing their anti-human features, regardless of whether an alternative exists.

BUT, ultimately Linux is the answer, and people are not wrong for pointing that out. It's the only viable alternative that is user respecting by design. It's the only way to free yourself from the abusive relationship between you and Microsoft, because much like an abusive partner, Microsoft will never change. So if you're tech savvy, and you would be able to switch to Linux but for some reason you don't, I have little sympathy for your Windows problems.

view more: ‹ prev next ›