▲ 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
[–] SnowdenHeroOfOurTime@unilem.org 63 points 2 years ago (17 children) This is a feature, not a bug permalink fedilink source hideshow 17 child comments replies: [–] Potatos_are_not_friends@lemmy.world 31 points 2 years ago (7 children) Right? I rather not have a computer automatically autocorrect. permalink fedilink source parent hideshow 7 child comments replies: [–] shotgun_crab@lemmy.world 6 points 2 years ago Yeah, and I think most shells will correct this case by pressing tab permalink fedilink source parent [–] AffineConnection@lemmy.world 3 points 2 years ago (5 children) Also, I constantly name files in the same directory the same thing except for case. In my ~/tmp directory I have unrelated foo.c (C source) and foo.C (C++ source). permalink fedilink source parent hideshow 5 child comments replies: [–] winky88@startrek.website 4 points 2 years ago Chaotic evil permalink fedilink source parent [–] Zagorath@aussie.zone 2 points 2 years ago (3 children) Why not .cpp for C++? I don’t use C++, but I thought that was the standard. permalink fedilink source parent hideshow 3 child comments replies: [–] AffineConnection@lemmy.world 8 points 2 years ago* (last edited 2 years ago) (2 children) .C came first. I don't usually use it though; I usually use .cc or .cxx, but if I'm making some tiny test source, I often use .C. I'm strongly opposed to the .cpp extension because calling C++ "CPP" leads to confusion with the preexisting (before C++) use of the initialism to refer to the C preprocessor. There's a reason why CPPFLAGS refers to preprocessor flags and CXXFLAGS refers to C++ flags. permalink fedilink source parent hideshow 2 child comments replies: [–] ThatHermanoGuy@midwest.social 1 point 2 years ago (1 child) Just use .C++ permalink fedilink source parent hideshow 1 child comment replies: [–] AffineConnection@lemmy.world 1 point 2 years ago But then the filename wouldn't be /^[[:alnum:]._-]*~*$/. permalink fedilink source parent [–] MJBrune@beehaw.org 13 points 2 years ago (8 children) All folders and files should be in lower case. permalink fedilink source parent hideshow 8 child comments replies: [–] bier@feddit.nl 6 points 2 years ago (6 children) Why did Linux systems go for capitals in the home folder? It's actually kind of annoying and takes extra key presses. ....A while later "XDG Base Directory Specification" permalink fedilink source parent hideshow 6 child comments replies: [–] MJBrune@beehaw.org 8 points 2 years ago (4 children) Why does Linux do anything it does? Because a bunch of shortsighted nerds think it's a good idea. For example, try to install software on another disk. permalink fedilink source parent hideshow 4 child comments replies: [–] ILikeBoobies@lemmy.ca 1 point 2 years ago (3 children) Any help with that? permalink fedilink source parent hideshow 3 child comments replies: [–] MJBrune@beehaw.org 2 points 2 years ago As someone said you solution is to symlink or setup LVM volume groups for different mount points. Essentially, it's all or nothing. You can't just put a single program on a different disk without then taking all those files and manually symlinking them to the right place. It's honestly one of the biggest Linux oversights. permalink fedilink source parent [–] nyan@lemmy.cafe 1 point 2 years ago (1 child) Symlink your desired location on the target disk to the place the system thinks the software should go. (In my case, /usr/local/games is a symlink to a different drive.) permalink fedilink source parent hideshow 1 child comment replies: [–] ILikeBoobies@lemmy.ca 1 point 2 years ago Thanks permalink fedilink source parent [–] zlatko@programming.dev 2 points 2 years ago XDG specifies the capital names, but to be nitpickingly technically precise, linux systems don't do this. It mostly is done by the distribution maintainers, and the XDG specs. A base system does not usually have a notion of anything beyond your $HOME. Try adding a user: sudo adduser basicuser. If you ls -al ~basicuser you will see it's almost empty, just the .bashrc (or in my fedora, there's some .mozilla crap in /etc/skel that also gets bootstrapped). permalink fedilink source parent [–] UFODivebomb@programming.dev 1 point 2 years ago* I like your style permalink fedilink source parent
[–] Potatos_are_not_friends@lemmy.world 31 points 2 years ago (7 children) Right? I rather not have a computer automatically autocorrect. permalink fedilink source parent hideshow 7 child comments replies: [–] shotgun_crab@lemmy.world 6 points 2 years ago Yeah, and I think most shells will correct this case by pressing tab permalink fedilink source parent [–] AffineConnection@lemmy.world 3 points 2 years ago (5 children) Also, I constantly name files in the same directory the same thing except for case. In my ~/tmp directory I have unrelated foo.c (C source) and foo.C (C++ source). permalink fedilink source parent hideshow 5 child comments replies: [–] winky88@startrek.website 4 points 2 years ago Chaotic evil permalink fedilink source parent [–] Zagorath@aussie.zone 2 points 2 years ago (3 children) Why not .cpp for C++? I don’t use C++, but I thought that was the standard. permalink fedilink source parent hideshow 3 child comments replies: [–] AffineConnection@lemmy.world 8 points 2 years ago* (last edited 2 years ago) (2 children) .C came first. I don't usually use it though; I usually use .cc or .cxx, but if I'm making some tiny test source, I often use .C. I'm strongly opposed to the .cpp extension because calling C++ "CPP" leads to confusion with the preexisting (before C++) use of the initialism to refer to the C preprocessor. There's a reason why CPPFLAGS refers to preprocessor flags and CXXFLAGS refers to C++ flags. permalink fedilink source parent hideshow 2 child comments replies: [–] ThatHermanoGuy@midwest.social 1 point 2 years ago (1 child) Just use .C++ permalink fedilink source parent hideshow 1 child comment replies: [–] AffineConnection@lemmy.world 1 point 2 years ago But then the filename wouldn't be /^[[:alnum:]._-]*~*$/. permalink fedilink source parent
[–] shotgun_crab@lemmy.world 6 points 2 years ago Yeah, and I think most shells will correct this case by pressing tab permalink fedilink source parent
[–] AffineConnection@lemmy.world 3 points 2 years ago (5 children) Also, I constantly name files in the same directory the same thing except for case. In my ~/tmp directory I have unrelated foo.c (C source) and foo.C (C++ source). permalink fedilink source parent hideshow 5 child comments replies: [–] winky88@startrek.website 4 points 2 years ago Chaotic evil permalink fedilink source parent [–] Zagorath@aussie.zone 2 points 2 years ago (3 children) Why not .cpp for C++? I don’t use C++, but I thought that was the standard. permalink fedilink source parent hideshow 3 child comments replies: [–] AffineConnection@lemmy.world 8 points 2 years ago* (last edited 2 years ago) (2 children) .C came first. I don't usually use it though; I usually use .cc or .cxx, but if I'm making some tiny test source, I often use .C. I'm strongly opposed to the .cpp extension because calling C++ "CPP" leads to confusion with the preexisting (before C++) use of the initialism to refer to the C preprocessor. There's a reason why CPPFLAGS refers to preprocessor flags and CXXFLAGS refers to C++ flags. permalink fedilink source parent hideshow 2 child comments replies: [–] ThatHermanoGuy@midwest.social 1 point 2 years ago (1 child) Just use .C++ permalink fedilink source parent hideshow 1 child comment replies: [–] AffineConnection@lemmy.world 1 point 2 years ago But then the filename wouldn't be /^[[:alnum:]._-]*~*$/. permalink fedilink source parent
[–] Zagorath@aussie.zone 2 points 2 years ago (3 children) Why not .cpp for C++? I don’t use C++, but I thought that was the standard. permalink fedilink source parent hideshow 3 child comments replies: [–] AffineConnection@lemmy.world 8 points 2 years ago* (last edited 2 years ago) (2 children) .C came first. I don't usually use it though; I usually use .cc or .cxx, but if I'm making some tiny test source, I often use .C. I'm strongly opposed to the .cpp extension because calling C++ "CPP" leads to confusion with the preexisting (before C++) use of the initialism to refer to the C preprocessor. There's a reason why CPPFLAGS refers to preprocessor flags and CXXFLAGS refers to C++ flags. permalink fedilink source parent hideshow 2 child comments replies: [–] ThatHermanoGuy@midwest.social 1 point 2 years ago (1 child) Just use .C++ permalink fedilink source parent hideshow 1 child comment replies: [–] AffineConnection@lemmy.world 1 point 2 years ago But then the filename wouldn't be /^[[:alnum:]._-]*~*$/. permalink fedilink source parent
[–] AffineConnection@lemmy.world 8 points 2 years ago* (last edited 2 years ago) (2 children) .C came first. I don't usually use it though; I usually use .cc or .cxx, but if I'm making some tiny test source, I often use .C. I'm strongly opposed to the .cpp extension because calling C++ "CPP" leads to confusion with the preexisting (before C++) use of the initialism to refer to the C preprocessor. There's a reason why CPPFLAGS refers to preprocessor flags and CXXFLAGS refers to C++ flags. permalink fedilink source parent hideshow 2 child comments replies: [–] ThatHermanoGuy@midwest.social 1 point 2 years ago (1 child) Just use .C++ permalink fedilink source parent hideshow 1 child comment replies: [–] AffineConnection@lemmy.world 1 point 2 years ago But then the filename wouldn't be /^[[:alnum:]._-]*~*$/. permalink fedilink source parent
[–] ThatHermanoGuy@midwest.social 1 point 2 years ago (1 child) Just use .C++ permalink fedilink source parent hideshow 1 child comment replies: [–] AffineConnection@lemmy.world 1 point 2 years ago But then the filename wouldn't be /^[[:alnum:]._-]*~*$/. permalink fedilink source parent
[–] AffineConnection@lemmy.world 1 point 2 years ago But then the filename wouldn't be /^[[:alnum:]._-]*~*$/. permalink fedilink source parent
[–] MJBrune@beehaw.org 13 points 2 years ago (8 children) All folders and files should be in lower case. permalink fedilink source parent hideshow 8 child comments replies: [–] bier@feddit.nl 6 points 2 years ago (6 children) Why did Linux systems go for capitals in the home folder? It's actually kind of annoying and takes extra key presses. ....A while later "XDG Base Directory Specification" permalink fedilink source parent hideshow 6 child comments replies: [–] MJBrune@beehaw.org 8 points 2 years ago (4 children) Why does Linux do anything it does? Because a bunch of shortsighted nerds think it's a good idea. For example, try to install software on another disk. permalink fedilink source parent hideshow 4 child comments replies: [–] ILikeBoobies@lemmy.ca 1 point 2 years ago (3 children) Any help with that? permalink fedilink source parent hideshow 3 child comments replies: [–] MJBrune@beehaw.org 2 points 2 years ago As someone said you solution is to symlink or setup LVM volume groups for different mount points. Essentially, it's all or nothing. You can't just put a single program on a different disk without then taking all those files and manually symlinking them to the right place. It's honestly one of the biggest Linux oversights. permalink fedilink source parent [–] nyan@lemmy.cafe 1 point 2 years ago (1 child) Symlink your desired location on the target disk to the place the system thinks the software should go. (In my case, /usr/local/games is a symlink to a different drive.) permalink fedilink source parent hideshow 1 child comment replies: [–] ILikeBoobies@lemmy.ca 1 point 2 years ago Thanks permalink fedilink source parent [–] zlatko@programming.dev 2 points 2 years ago XDG specifies the capital names, but to be nitpickingly technically precise, linux systems don't do this. It mostly is done by the distribution maintainers, and the XDG specs. A base system does not usually have a notion of anything beyond your $HOME. Try adding a user: sudo adduser basicuser. If you ls -al ~basicuser you will see it's almost empty, just the .bashrc (or in my fedora, there's some .mozilla crap in /etc/skel that also gets bootstrapped). permalink fedilink source parent [–] UFODivebomb@programming.dev 1 point 2 years ago* I like your style permalink fedilink source parent
[–] bier@feddit.nl 6 points 2 years ago (6 children) Why did Linux systems go for capitals in the home folder? It's actually kind of annoying and takes extra key presses. ....A while later "XDG Base Directory Specification" permalink fedilink source parent hideshow 6 child comments replies: [–] MJBrune@beehaw.org 8 points 2 years ago (4 children) Why does Linux do anything it does? Because a bunch of shortsighted nerds think it's a good idea. For example, try to install software on another disk. permalink fedilink source parent hideshow 4 child comments replies: [–] ILikeBoobies@lemmy.ca 1 point 2 years ago (3 children) Any help with that? permalink fedilink source parent hideshow 3 child comments replies: [–] MJBrune@beehaw.org 2 points 2 years ago As someone said you solution is to symlink or setup LVM volume groups for different mount points. Essentially, it's all or nothing. You can't just put a single program on a different disk without then taking all those files and manually symlinking them to the right place. It's honestly one of the biggest Linux oversights. permalink fedilink source parent [–] nyan@lemmy.cafe 1 point 2 years ago (1 child) Symlink your desired location on the target disk to the place the system thinks the software should go. (In my case, /usr/local/games is a symlink to a different drive.) permalink fedilink source parent hideshow 1 child comment replies: [–] ILikeBoobies@lemmy.ca 1 point 2 years ago Thanks permalink fedilink source parent [–] zlatko@programming.dev 2 points 2 years ago XDG specifies the capital names, but to be nitpickingly technically precise, linux systems don't do this. It mostly is done by the distribution maintainers, and the XDG specs. A base system does not usually have a notion of anything beyond your $HOME. Try adding a user: sudo adduser basicuser. If you ls -al ~basicuser you will see it's almost empty, just the .bashrc (or in my fedora, there's some .mozilla crap in /etc/skel that also gets bootstrapped). permalink fedilink source parent
[–] MJBrune@beehaw.org 8 points 2 years ago (4 children) Why does Linux do anything it does? Because a bunch of shortsighted nerds think it's a good idea. For example, try to install software on another disk. permalink fedilink source parent hideshow 4 child comments replies: [–] ILikeBoobies@lemmy.ca 1 point 2 years ago (3 children) Any help with that? permalink fedilink source parent hideshow 3 child comments replies: [–] MJBrune@beehaw.org 2 points 2 years ago As someone said you solution is to symlink or setup LVM volume groups for different mount points. Essentially, it's all or nothing. You can't just put a single program on a different disk without then taking all those files and manually symlinking them to the right place. It's honestly one of the biggest Linux oversights. permalink fedilink source parent [–] nyan@lemmy.cafe 1 point 2 years ago (1 child) Symlink your desired location on the target disk to the place the system thinks the software should go. (In my case, /usr/local/games is a symlink to a different drive.) permalink fedilink source parent hideshow 1 child comment replies: [–] ILikeBoobies@lemmy.ca 1 point 2 years ago Thanks permalink fedilink source parent
[–] ILikeBoobies@lemmy.ca 1 point 2 years ago (3 children) Any help with that? permalink fedilink source parent hideshow 3 child comments replies: [–] MJBrune@beehaw.org 2 points 2 years ago As someone said you solution is to symlink or setup LVM volume groups for different mount points. Essentially, it's all or nothing. You can't just put a single program on a different disk without then taking all those files and manually symlinking them to the right place. It's honestly one of the biggest Linux oversights. permalink fedilink source parent [–] nyan@lemmy.cafe 1 point 2 years ago (1 child) Symlink your desired location on the target disk to the place the system thinks the software should go. (In my case, /usr/local/games is a symlink to a different drive.) permalink fedilink source parent hideshow 1 child comment replies: [–] ILikeBoobies@lemmy.ca 1 point 2 years ago Thanks permalink fedilink source parent
[–] MJBrune@beehaw.org 2 points 2 years ago As someone said you solution is to symlink or setup LVM volume groups for different mount points. Essentially, it's all or nothing. You can't just put a single program on a different disk without then taking all those files and manually symlinking them to the right place. It's honestly one of the biggest Linux oversights. permalink fedilink source parent
[–] nyan@lemmy.cafe 1 point 2 years ago (1 child) Symlink your desired location on the target disk to the place the system thinks the software should go. (In my case, /usr/local/games is a symlink to a different drive.) permalink fedilink source parent hideshow 1 child comment replies: [–] ILikeBoobies@lemmy.ca 1 point 2 years ago Thanks permalink fedilink source parent
[–] zlatko@programming.dev 2 points 2 years ago XDG specifies the capital names, but to be nitpickingly technically precise, linux systems don't do this. It mostly is done by the distribution maintainers, and the XDG specs. A base system does not usually have a notion of anything beyond your $HOME. Try adding a user: sudo adduser basicuser. If you ls -al ~basicuser you will see it's almost empty, just the .bashrc (or in my fedora, there's some .mozilla crap in /etc/skel that also gets bootstrapped). permalink fedilink source parent
[–] UFODivebomb@programming.dev 1 point 2 years ago* I like your style permalink fedilink source parent