Specifying file paths - eviltoast
  • atx_aquarian@lemmy.world
    link
    fedilink
    arrow-up
    70
    arrow-down
    1
    ·
    edit-2
    5 days ago

    Fun fact, though: Linux is the only case-sensitive one.

    Edit: I feel silly for forgetting that it’s all about the choice of FS. If anyone needs anything from me, I’ll be in the corner, coloring.

    • frezik@midwest.social
      link
      fedilink
      arrow-up
      15
      arrow-down
      1
      ·
      5 days ago

      I once ran into a bug in an Arduino program where it wouldn’t compile. The author blamed my “broken environment”. Turned out, he had included “arduino.h” instead of the correct “Arduino.h”.

      • paperplane@lemmy.world
        link
        fedilink
        arrow-up
        14
        ·
        5 days ago

        When case insensitivity is the default I always wonder how many apps unknowingly rely on that due to typos somewhere. I encountered this once while porting a Windows/macOS app to Linux that someone imported a module with the wrong case and nobody noticed

        • Orygin@sh.itjust.works
          link
          fedilink
          arrow-up
          3
          ·
          3 days ago

          The source engine does not handle case sensitivity when loading assets from disk. On windows it’s not an issue but on Linux it will silently fail to load assets if the case doesn’t match. I lost so many hours trying to fix some weapon animation that had 0 seconds run time when porting a mod dedicated server to Linux.

      • Honytawk@lemmy.zip
        link
        fedilink
        English
        arrow-up
        4
        ·
        3 days ago

        But why? What is the point?

        That you can give 2 different files the same name? Because that would confuse the hell out of every regular user. Especially if you work on a network share and have an entire directory full of same named files because everyone and their grandma throws their files in there.

        It is almost as bad as Case Sensitive Usernames and email.

      • asdfasdfasdf@lemmy.world
        link
        fedilink
        arrow-up
        13
        arrow-down
        3
        ·
        5 days ago

        Hard disagree. I don’t understand why anyone would want case insensitive.

        Am I the only one who doesn’t go around mindlessly capitalizing letters? Do people find it too difficult to capitalize things?

        Do you want case insensitive passwords too?

        If I type X I mean X and only X. Uppercase letters are different letters, just like X and Y are different letters.

      • Trainguyrom@reddthat.com
        link
        fedilink
        English
        arrow-up
        12
        arrow-down
        1
        ·
        5 days ago

        Makes changing the case of a file/folder a lot easier though. Windows you have to rename it to something else then rename it again just to change case but Linux you can just…rename it. It’s a small thing but it’s something

      • optional@sh.itjust.works
        link
        fedilink
        arrow-up
        1
        ·
        4 days ago

        It’s a big difference whether a folder is named PetersHits or PeterShits. So what should I expect when opening a folder called petershits? Pictures of Peter on the potty or some great songs?