Remix.run Logo
1vuio0pswjnm7 8 hours ago

I use a different prefix character, e.g. "[", but I have been doing this for years

I started using a prefix because I like very short script names that are easy to type

I prefer giving scripts numbers instead of names

Something like "[number"

I use prefixes and suffixes to group related scripts together, e.g., scripts that run other scripts

I have an executable directory like ~/bin but it's not called bin. It contains 100s of short scripts

1vuio0pswjnm7 an hour ago | parent | next [-]

I have zero problems with the terseness of the k language, the names of the source files nor the source code they contain

I find brevity easier to work with. I wish all software was like that

I like the shell (ash not bash). I like assembly language

I have to "adjust" to verbosity, and sometimes I honestly can't, it's paralyzing to the brain, terseness feels more natural

Why not name scripts in natural language like an LLM prompt perhaps (I don't use LLMs so pardon the ignorance), with spaces and punctuation

Bash allows it

   echo echo hello > "dear computer, please output the word \"hello\". thank you" 
   chmod +x "dear computer, please output the word \"hello\". thank you"
   "dear computer, please output the word \"hello\". thank you"
That might make sense if I was using the scripts to communicaate with a another person, or if I intended other persons besides me to use the scripts

But I'm doing neither of those things. The scripts are for communicating with a computer and are intended to be used only by me

UNIX allows anyone to rename any file to whatever they want. The UNIX user is free to pursue their own preferences in naming, whatever those may be

mathfailure 4 hours ago | parent | prev | next [-]

> I prefer giving scripts numbers instead of names

> Something like "[number"

> It contains 100s of short scripts

So you call scripts like [1 [2 [3 [4 ... and remember what each one of them does? If yes - that's nuts, I'd visit a doctor.

feelamee 7 hours ago | parent | prev | next [-]

do you publish dotfiles and scripts anywhere? I'm interested to see them

renewiltord 3 hours ago | parent | prev [-]

This is utterly unhinged. I freaking love it. It reminds me of the old joke about prisoners and numbers for jokes (Stanislaw Lem has a similar concept in a book):

A prisoner, new to a particular cell block, was surprised to discover that his fellow inmates passed much of their day by calling out numbers, after which they would laugh heartily for a few moments. Every few minutes an inmate would call out a number and everyone would laugh, and then, after a few moments of silence, someone else would call out a number, and once again laughter. The inmate asked one of the other inmates whom he'd come to know to explain this strange behavior to him.

"It's simple", came the reply. "We know all of our jokes by heart, and there's really no reason to tell them at lenght. Instead, we simply call them out by number."

Though this was strange to him, the new inmate thought he'd join in on the fun. After a few weeks listening to the jokes, he took some initiative and called out "number 27!". But nobody laughed. This seemed very strange to him, since he'd heard others call out that same number, with everyone laughing afterwards. After waiting and waiting, with still no laughter, he finally asked: "why is it that when others call out that joke you laugh, and when I called it, nobody laughed?".

The reply promptly came: "You told it wrong".