▲ 1416 ▼ D or d come on (i.imgur.com) submitted 2 years ago by genfood@feddit.de to c/programmer_humor@programming.dev 221 comments fedilink hide all child comments
[–] sysadmin420@lemmy.world 28 points 2 years ago* (12 children) Is a 40 year old it guy who love linux, wat Macos is case insensitive?! permalink fedilink source parent hideshow 12 child comments replies: [–] sudo@lemmy.today 15 points 2 years ago (11 children) OSX offers both case sensitive and case insensitive filesystems permalink fedilink source parent hideshow 11 child comments replies: [–] naught@sh.itjust.works 10 points 2 years ago (9 children) Defaults to insensitive and if you want to change it you have to reformat 🥲 permalink fedilink source parent hideshow 9 child comments replies: [–] example@reddthat.com 11 points 2 years ago (6 children) I've been using case insensitive fs on macOS for years and the only software having issues with this is onedrive. can't say i'm surprised. permalink fedilink source parent hideshow 6 child comments replies: [–] naught@sh.itjust.works 4 points 2 years ago* (last edited 2 years ago) (5 children) I have issues with Docker a lot. Example: Rename a file from "File.js" to "file.js" in a dependency and it's like something caches the old name so even when I redownload or install that dep it tries the old name and fails to find the file. Might just be me and my tomfoolery permalink fedilink source parent hideshow 5 child comments replies: [–] example@reddthat.com 3 points 2 years ago (1 child) if you're renaming from File.js to file.ts, which is also changing suffixes instead of just capitalization, then that couldn't be explained by case sensitivity, unless it was a typo and you meant File.js to file.js permalink fedilink source parent hideshow 1 child comment replies: [–] naught@sh.itjust.works 1 point 2 years ago Yep typo thanks permalink fedilink source parent [–] kattfisk@lemmy.dbzer0.com 1 point 2 years ago (2 children) This is likely because docker runs Linux in a VM on MacOS right? We've had similar problems with stuff that works on the developers Mac but not the server which is case sensitive. It can be quite insidious if it does not cause an immediate "file not found"-error but say falls back to a default config because the provided one has the wrong casing. permalink fedilink source parent hideshow 2 child comments replies: [–] naught@sh.itjust.works 1 point 2 years ago Yeah exactly. And I mount the volume to the local directory so they try to sync both ways. It's a real mess. The solution is currently to: not fuck up the file name casing in the first place. lol permalink fedilink source parent [–] joyjoy@lemm.ee 1 point 2 years ago* The same issue happens with git (on windows). The file system says they're the same file and they haven't changed, so you have to manually tell the program the file changed. With git, you'd run git rm --cached && git add . On docker, you could just do a non-cached build via docker build . --no-cache permalink fedilink source parent [–] steakmeout@aussie.zone -2 points 2 years ago (1 child) That isn't true. permalink fedilink source parent hideshow 1 child comment replies: [–] naught@sh.itjust.works 1 point 2 years ago Which part? I'd love to switch if there's no reformatting, and if your exception is with the first part, I'd ask for some evidence. All of my mac machines arrived brand new, case insensitive. Granted that's only 3 so far, but it's a smattering from 2019 onward. All the literature online points to this being the default too permalink fedilink source parent [–] sysadmin420@lemmy.world 3 points 2 years ago Wow, I figured it'd be case sensitive, crazy, gotta make it more windows like I guess. permalink fedilink source parent
[–] sudo@lemmy.today 15 points 2 years ago (11 children) OSX offers both case sensitive and case insensitive filesystems permalink fedilink source parent hideshow 11 child comments replies: [–] naught@sh.itjust.works 10 points 2 years ago (9 children) Defaults to insensitive and if you want to change it you have to reformat 🥲 permalink fedilink source parent hideshow 9 child comments replies: [–] example@reddthat.com 11 points 2 years ago (6 children) I've been using case insensitive fs on macOS for years and the only software having issues with this is onedrive. can't say i'm surprised. permalink fedilink source parent hideshow 6 child comments replies: [–] naught@sh.itjust.works 4 points 2 years ago* (last edited 2 years ago) (5 children) I have issues with Docker a lot. Example: Rename a file from "File.js" to "file.js" in a dependency and it's like something caches the old name so even when I redownload or install that dep it tries the old name and fails to find the file. Might just be me and my tomfoolery permalink fedilink source parent hideshow 5 child comments replies: [–] example@reddthat.com 3 points 2 years ago (1 child) if you're renaming from File.js to file.ts, which is also changing suffixes instead of just capitalization, then that couldn't be explained by case sensitivity, unless it was a typo and you meant File.js to file.js permalink fedilink source parent hideshow 1 child comment replies: [–] naught@sh.itjust.works 1 point 2 years ago Yep typo thanks permalink fedilink source parent [–] kattfisk@lemmy.dbzer0.com 1 point 2 years ago (2 children) This is likely because docker runs Linux in a VM on MacOS right? We've had similar problems with stuff that works on the developers Mac but not the server which is case sensitive. It can be quite insidious if it does not cause an immediate "file not found"-error but say falls back to a default config because the provided one has the wrong casing. permalink fedilink source parent hideshow 2 child comments replies: [–] naught@sh.itjust.works 1 point 2 years ago Yeah exactly. And I mount the volume to the local directory so they try to sync both ways. It's a real mess. The solution is currently to: not fuck up the file name casing in the first place. lol permalink fedilink source parent [–] joyjoy@lemm.ee 1 point 2 years ago* The same issue happens with git (on windows). The file system says they're the same file and they haven't changed, so you have to manually tell the program the file changed. With git, you'd run git rm --cached && git add . On docker, you could just do a non-cached build via docker build . --no-cache permalink fedilink source parent [–] steakmeout@aussie.zone -2 points 2 years ago (1 child) That isn't true. permalink fedilink source parent hideshow 1 child comment replies: [–] naught@sh.itjust.works 1 point 2 years ago Which part? I'd love to switch if there's no reformatting, and if your exception is with the first part, I'd ask for some evidence. All of my mac machines arrived brand new, case insensitive. Granted that's only 3 so far, but it's a smattering from 2019 onward. All the literature online points to this being the default too permalink fedilink source parent [–] sysadmin420@lemmy.world 3 points 2 years ago Wow, I figured it'd be case sensitive, crazy, gotta make it more windows like I guess. permalink fedilink source parent
[–] naught@sh.itjust.works 10 points 2 years ago (9 children) Defaults to insensitive and if you want to change it you have to reformat 🥲 permalink fedilink source parent hideshow 9 child comments replies: [–] example@reddthat.com 11 points 2 years ago (6 children) I've been using case insensitive fs on macOS for years and the only software having issues with this is onedrive. can't say i'm surprised. permalink fedilink source parent hideshow 6 child comments replies: [–] naught@sh.itjust.works 4 points 2 years ago* (last edited 2 years ago) (5 children) I have issues with Docker a lot. Example: Rename a file from "File.js" to "file.js" in a dependency and it's like something caches the old name so even when I redownload or install that dep it tries the old name and fails to find the file. Might just be me and my tomfoolery permalink fedilink source parent hideshow 5 child comments replies: [–] example@reddthat.com 3 points 2 years ago (1 child) if you're renaming from File.js to file.ts, which is also changing suffixes instead of just capitalization, then that couldn't be explained by case sensitivity, unless it was a typo and you meant File.js to file.js permalink fedilink source parent hideshow 1 child comment replies: [–] naught@sh.itjust.works 1 point 2 years ago Yep typo thanks permalink fedilink source parent [–] kattfisk@lemmy.dbzer0.com 1 point 2 years ago (2 children) This is likely because docker runs Linux in a VM on MacOS right? We've had similar problems with stuff that works on the developers Mac but not the server which is case sensitive. It can be quite insidious if it does not cause an immediate "file not found"-error but say falls back to a default config because the provided one has the wrong casing. permalink fedilink source parent hideshow 2 child comments replies: [–] naught@sh.itjust.works 1 point 2 years ago Yeah exactly. And I mount the volume to the local directory so they try to sync both ways. It's a real mess. The solution is currently to: not fuck up the file name casing in the first place. lol permalink fedilink source parent [–] joyjoy@lemm.ee 1 point 2 years ago* The same issue happens with git (on windows). The file system says they're the same file and they haven't changed, so you have to manually tell the program the file changed. With git, you'd run git rm --cached && git add . On docker, you could just do a non-cached build via docker build . --no-cache permalink fedilink source parent [–] steakmeout@aussie.zone -2 points 2 years ago (1 child) That isn't true. permalink fedilink source parent hideshow 1 child comment replies: [–] naught@sh.itjust.works 1 point 2 years ago Which part? I'd love to switch if there's no reformatting, and if your exception is with the first part, I'd ask for some evidence. All of my mac machines arrived brand new, case insensitive. Granted that's only 3 so far, but it's a smattering from 2019 onward. All the literature online points to this being the default too permalink fedilink source parent
[–] example@reddthat.com 11 points 2 years ago (6 children) I've been using case insensitive fs on macOS for years and the only software having issues with this is onedrive. can't say i'm surprised. permalink fedilink source parent hideshow 6 child comments replies: [–] naught@sh.itjust.works 4 points 2 years ago* (last edited 2 years ago) (5 children) I have issues with Docker a lot. Example: Rename a file from "File.js" to "file.js" in a dependency and it's like something caches the old name so even when I redownload or install that dep it tries the old name and fails to find the file. Might just be me and my tomfoolery permalink fedilink source parent hideshow 5 child comments replies: [–] example@reddthat.com 3 points 2 years ago (1 child) if you're renaming from File.js to file.ts, which is also changing suffixes instead of just capitalization, then that couldn't be explained by case sensitivity, unless it was a typo and you meant File.js to file.js permalink fedilink source parent hideshow 1 child comment replies: [–] naught@sh.itjust.works 1 point 2 years ago Yep typo thanks permalink fedilink source parent [–] kattfisk@lemmy.dbzer0.com 1 point 2 years ago (2 children) This is likely because docker runs Linux in a VM on MacOS right? We've had similar problems with stuff that works on the developers Mac but not the server which is case sensitive. It can be quite insidious if it does not cause an immediate "file not found"-error but say falls back to a default config because the provided one has the wrong casing. permalink fedilink source parent hideshow 2 child comments replies: [–] naught@sh.itjust.works 1 point 2 years ago Yeah exactly. And I mount the volume to the local directory so they try to sync both ways. It's a real mess. The solution is currently to: not fuck up the file name casing in the first place. lol permalink fedilink source parent [–] joyjoy@lemm.ee 1 point 2 years ago* The same issue happens with git (on windows). The file system says they're the same file and they haven't changed, so you have to manually tell the program the file changed. With git, you'd run git rm --cached && git add . On docker, you could just do a non-cached build via docker build . --no-cache permalink fedilink source parent
[–] naught@sh.itjust.works 4 points 2 years ago* (last edited 2 years ago) (5 children) I have issues with Docker a lot. Example: Rename a file from "File.js" to "file.js" in a dependency and it's like something caches the old name so even when I redownload or install that dep it tries the old name and fails to find the file. Might just be me and my tomfoolery permalink fedilink source parent hideshow 5 child comments replies: [–] example@reddthat.com 3 points 2 years ago (1 child) if you're renaming from File.js to file.ts, which is also changing suffixes instead of just capitalization, then that couldn't be explained by case sensitivity, unless it was a typo and you meant File.js to file.js permalink fedilink source parent hideshow 1 child comment replies: [–] naught@sh.itjust.works 1 point 2 years ago Yep typo thanks permalink fedilink source parent [–] kattfisk@lemmy.dbzer0.com 1 point 2 years ago (2 children) This is likely because docker runs Linux in a VM on MacOS right? We've had similar problems with stuff that works on the developers Mac but not the server which is case sensitive. It can be quite insidious if it does not cause an immediate "file not found"-error but say falls back to a default config because the provided one has the wrong casing. permalink fedilink source parent hideshow 2 child comments replies: [–] naught@sh.itjust.works 1 point 2 years ago Yeah exactly. And I mount the volume to the local directory so they try to sync both ways. It's a real mess. The solution is currently to: not fuck up the file name casing in the first place. lol permalink fedilink source parent [–] joyjoy@lemm.ee 1 point 2 years ago* The same issue happens with git (on windows). The file system says they're the same file and they haven't changed, so you have to manually tell the program the file changed. With git, you'd run git rm --cached && git add . On docker, you could just do a non-cached build via docker build . --no-cache permalink fedilink source parent
[–] example@reddthat.com 3 points 2 years ago (1 child) if you're renaming from File.js to file.ts, which is also changing suffixes instead of just capitalization, then that couldn't be explained by case sensitivity, unless it was a typo and you meant File.js to file.js permalink fedilink source parent hideshow 1 child comment replies: [–] naught@sh.itjust.works 1 point 2 years ago Yep typo thanks permalink fedilink source parent
[–] kattfisk@lemmy.dbzer0.com 1 point 2 years ago (2 children) This is likely because docker runs Linux in a VM on MacOS right? We've had similar problems with stuff that works on the developers Mac but not the server which is case sensitive. It can be quite insidious if it does not cause an immediate "file not found"-error but say falls back to a default config because the provided one has the wrong casing. permalink fedilink source parent hideshow 2 child comments replies: [–] naught@sh.itjust.works 1 point 2 years ago Yeah exactly. And I mount the volume to the local directory so they try to sync both ways. It's a real mess. The solution is currently to: not fuck up the file name casing in the first place. lol permalink fedilink source parent [–] joyjoy@lemm.ee 1 point 2 years ago* The same issue happens with git (on windows). The file system says they're the same file and they haven't changed, so you have to manually tell the program the file changed. With git, you'd run git rm --cached && git add . On docker, you could just do a non-cached build via docker build . --no-cache permalink fedilink source parent
[–] naught@sh.itjust.works 1 point 2 years ago Yeah exactly. And I mount the volume to the local directory so they try to sync both ways. It's a real mess. The solution is currently to: not fuck up the file name casing in the first place. lol permalink fedilink source parent
[–] joyjoy@lemm.ee 1 point 2 years ago* The same issue happens with git (on windows). The file system says they're the same file and they haven't changed, so you have to manually tell the program the file changed. With git, you'd run git rm --cached && git add . On docker, you could just do a non-cached build via docker build . --no-cache permalink fedilink source parent
[–] steakmeout@aussie.zone -2 points 2 years ago (1 child) That isn't true. permalink fedilink source parent hideshow 1 child comment replies: [–] naught@sh.itjust.works 1 point 2 years ago Which part? I'd love to switch if there's no reformatting, and if your exception is with the first part, I'd ask for some evidence. All of my mac machines arrived brand new, case insensitive. Granted that's only 3 so far, but it's a smattering from 2019 onward. All the literature online points to this being the default too permalink fedilink source parent
[–] naught@sh.itjust.works 1 point 2 years ago Which part? I'd love to switch if there's no reformatting, and if your exception is with the first part, I'd ask for some evidence. All of my mac machines arrived brand new, case insensitive. Granted that's only 3 so far, but it's a smattering from 2019 onward. All the literature online points to this being the default too permalink fedilink source parent
[–] sysadmin420@lemmy.world 3 points 2 years ago Wow, I figured it'd be case sensitive, crazy, gotta make it more windows like I guess. permalink fedilink source parent