Earlier quoted context omitted.
"On balance I'd rather avoid making a pinky key one of the keys I have to use the most." And you use something else than your pinky finger for the shift key specifically when typing capitalized letters for camelCase?
At least it's where they sit naturally on the keyboard. And the shift key is wider specifically so you don't have to be accurate with your pinky when you're pressing it. The underscore is one of the least ergonomic keys there is. And you need both pinkies to do it
I'm “still afraid to use spaces in file names” years old
521–530 of 817 posts
Re: I'm “still afraid to use spaces in file names” years old
#522I have an overly-aggressive function in my .bashrc to rename all files in the current directory: # Rename all files in a directory rn() { rename "s/ /-/g" * rename "s/_/-/g" * rename "s/–/-/g" * rename "s/://g" * rename "s/\(//g" * rename "s/\)//g" * rename "s/\[//g" * rename "s/\]//g" * rename 's/"//g' * rename "s/'//g" * rename "s/,//g" * rename "y/A-Z/a-z/" * rename "s/---/--/g" * rename "s/---/--/g" * } I use th…
Surely you must run into conflicts now and then?
(Also—that entire function is super inefficient and could be replaced with a single invocation of "rename".)
Re: I'm “still afraid to use spaces in file names” years old
#523Edit: thinking about it again, it might not have even been the space but the exclamation mark in my path. Or both.
Re: I'm “still afraid to use spaces in file names” years old
#524Earlier quoted context omitted.
I wonder if code to this effect has ever been written before for (int i = 1; i
And that, children, is when marginalia_nu unlocked the seventh circle of the inferno. Tomorrow we'll read the story of how our new demon overlords forced us all back to Windows 3.1.
Re: I'm “still afraid to use spaces in file names” years old
#525I work on a complex desktop application, and it's been astounding the number of bugs that have appeared over the years triggered by spaces and other unusual characters in file names. If you do anything with subprocesses or path processing, it's absurdly easy to hit in a thousand different ways, over and over again. Pro tip: rename your development directory (or even better: the workspace path in CI) to put a space an…
> Pro tip: rename your development directory (or even better: the workspace path in CI) to put a space and/or special characters in it. A former co-worker changed his name in our auth system to include an apostrophe, so that whenever we handled names wrong he'd find it.
Re: I'm “still afraid to use spaces in file names” years old
#526Earlier quoted context omitted.
At least it's where they sit naturally on the keyboard. And the shift key is wider specifically so you don't have to be accurate with your pinky when you're pressing it. The underscore is one of the least ergonomic keys there is. And you need both pinkies to do it
I might be misunderstanding. On all layouts I'm familiar with the underscore key is directly next to one of the shift keys, or left of backspace. Neither layout requires the Vulcan death grip. Shift should always be under your pinky fingers to avoid contortions.
Re: I'm “still afraid to use spaces in file names” years old
#527Re: I'm “still afraid to use spaces in file names” years old
#528Earlier quoted context omitted.
There's a tendency away from snake_case and towards kebab-case in things you interact with via CLI. Even moreso towards nocase. Programs like Powershell eschew ease of use in CLI for readability in scripts.
> Even moreso towards nocase. Nocase (did I break a rule by writing it that way?) seems great when you're enmeshed in the domain and you can see the implicit separators, but then someone looks at your naming from the outside and you're guaranteed to have an 'expertsexchange' in there somewhere.
Re: I'm “still afraid to use spaces in file names” years old
#529Earlier quoted context omitted.
There's a tendency away from snake_case and towards kebab-case in things you interact with via CLI. Even moreso towards nocase. Programs like Powershell eschew ease of use in CLI for readability in scripts.
Powershell is case-insensitive, so camelCase is only a writing preference
Re: I'm “still afraid to use spaces in file names” years old
#530Earlier quoted context omitted.
So much of computing is dedicated to solving problems that could be omitted.
I mean, that's precisely my thoughts on copyright and licensing in general but what can you realistically do?