Comment by ๐Ÿ‘ zipsegv

Re: "Why do you like using a cli?"

In: s/CLI

@pirrka:

There are GUI apps that work with the files โ€ฆ and those are the apps I like.

This makes me curious how this approach would work for something that's not directly text-based. For example, take an app like Anki, which is an app that lets you create flashcards to memorize stuff; the flashcards can have numerous different properties or settings and you can customize how they're scheduled when you start a practice session. I'm not sure how you do something like this with a purely file-based approach?

๐Ÿ‘ zipsegv

Mar 29 ยท 6 weeks ago

Poll Results

1. I am god of my machine

โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–โ–โ–โ–โ–โ–โ–โ–โ–โ–โ– 52%

2. I love green

โ–ˆโ–ˆโ–ˆโ–โ–โ–โ–โ–โ–โ–โ–โ–โ–โ–โ–โ–โ–โ–โ–โ–โ–โ–โ–โ– 12%

3. Typing sudo makes me happy

โ–ˆโ–โ–โ–โ–โ–โ–โ–โ–โ–โ–โ–โ–โ–โ–โ–โ–โ–โ–โ–โ–โ–โ–โ– 5%

4. When asked I can answer, "yes I'm a hacker"

โ–ˆโ–ˆโ–ˆโ–โ–โ–โ–โ–โ–โ–โ–โ–โ–โ–โ–โ–โ–โ–โ–โ–โ–โ–โ–โ– 12%

5. How needs a GUI anyway

โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–โ–โ–โ–โ–โ–โ–โ–โ–โ–โ–โ–โ–โ–โ–โ–โ–โ–โ– 19%

42 votes were cast.

13 Later Comments โ†“

๐Ÿ‘ป ps ยท Mar 30 at 14:34:

๐ŸŽฎ jprjr ยท Mar 30 at 14:55:

I mean I love each interface depending on what I'm doing.

I love a cli for anything repeatable or composable. Chaining together a few tools is just the best.

Love some TUIs like htop but - there are some apps where I do prefer a good GUI.

It's about finding the balance of "how much do I care about this task" and "how much time do I want to spend learning this tool."

I need to read email, I don't really *care* that much about it, I can pretty quickly figure out how to do stuff in Thunderbird by pointing and clicking, versus memorizing mutt keybindings.

I enjoy music and enjoy the aesthetics of ncmpcpp, I'll take the time to read manuals and memorize keys.

๐Ÿš€ jsreed5 ยท Mar 30 at 20:11:

Regarding choice 3: I only use `sudo` on multi-user machines. Since I'm the only user of most of my computers, I almost always remove my regular user from the sudoers file. If I need elevated privileges for something, I `su`to root. On my Fedora desktop, `sudo` and `doas` are uninstalled entirely. Am I alone in that?

๐Ÿ™ norayr ยท Mar 30 at 20:16:

@jprjr, i have this one vynil record i always play so forgive me.

in oberon os which is tui, the tradition is that this tui is

a) it is not alphanumerical. you can access individual pixels and draw whatever you want.

b) you don't have not only to memorize, but even to type commands.

your commands can be just in text files, and you would just click on them.

but how can you pass an argument to it? if the argument in the text in other viewer (window) you can mark that window with * sign and after your command you can write * as program argument.

usually you don't have to do that because it is already written for you in such form. let's say:

Compiler.Compile *

๐Ÿ™ norayr ยท Mar 30 at 20:21:

or if you are copying a file, you don't need to type the filename.

you already listed files in othen viewer, so you just select that file name.

and the command contains let's say

FileSystem.Copy ^ somewhere.

instead of ^ sign your selection will be put when you run that command.

and forgot to mention, how you run: you just click on the command with middle mouse button.

i wrote something like that for unix. well i am not the first one. rob pike's acme is a plan9 implementation of that idea and i run it on linux.

and my tool is:

โ€” https://github.com/norayr/heliko

watch video so you can feel.

anything that is put in between the ; sign is a clickable command.

๐Ÿ™ norayr ยท Mar 30 at 20:22:

now i wonder, should i make the clickable command like a gemini link?

with => ? but then you can put only one command per line.

heh, anyway.

๐Ÿ pirkka ยท Mar 30 at 22:19:

@zipsegv emacs has Anki-like mode that maintains the history of "guesses" in a properties drawer. And because org files open in emacs with closed drawers, yet they are plain text, it's possible to both have a nice editing experience and fully parseable/scannable files when accessed directly. The two unique things Anki adds, I believe, are HTML support with multimedia and, in recent versions, new cool algorithm that makes for a smarter forgetting curve. Nearly anything can be a plain text file with a moderately sophisticated viewer app on top of it. That said, I like Anki for it being a separate app and that it's fairly fast, responsive, and also kinda ugly, but in a good way

๐Ÿ™ norayr ยท Mar 31 at 00:09:

jsreed5, good idea. thank you for it.

i expect/afraid that some malware one day will use sudo. i can imagine someone can click on something, perhaps appimage, and it'll try to do sudo, and since the user used sudo and typed the password a couple of minutes ago, sudo will pass.

appimage or masicious script may try and try unless it succeeds on day.

what get me really anxious is how people are 'installing' things in their homes by piping wgetted scripts to bash, it became something normal, it is described in readmes, but it shouldn't be.

people should package for distros, and users should be able to choose distros also based on if what they need is packaged.

๐Ÿš€ jsreed5 ยท Mar 31 at 01:57:

@norayr The entire concept of using `wget | sh` to perform a task is horrifying to me. Bitreich.org has a satirical example of why it's such a bad idea:

curl -sLk http://bitreich.org/s/bitreich.sh | sudo sh

(It should go without saying that one ought to remove the pipe before running the above command so it doesn't immediately execute.)

โ„ ghost ยท Mar 31 at 12:29:

Files can still have tags. My markdown writing has `tags: "x", "y"` in the header. For flashcards I use recfiles (plain text database).

๐Ÿ๏ธ Atomic-Germ ยท Apr 02 at 22:38:

It's generally a lot faster to type "sudo apt install" than it is to go find an app in some store. It's MUCH faster to edit files with sed and grep and vim. It doesn't take much computer to do it. It doesn't look like it was designed to enable illiteracy.

Yeah so my reason is because it actually works

โ˜•๏ธ Alnotz ยท Apr 08 at 09:28:

So many projets needing to be packagedโ€ฆ

The first application I open after login is the console.

How many years since I stopped to launch an application by icon clicking ?

๐Ÿ๏ธ Atomic-Germ ยท Apr 11 at 21:11:

For most people it's the browser, I think. I'm in zsh as soon as possible

Original Post

๐ŸŒ’ s/CLI

๐ŸŽง my-adventures-at: [mod]

Why do you like using a cli?

๐Ÿ’ฌ 23 comments ยท 2 likes ยท Mar 28 ยท 6 weeks ago ยท ๐Ÿ—ณ๏ธ