Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (Cyborg)
  • No Skin
Collapse
Brand Logo

CIRCLE WITH A DOT

  1. Home
  2. Uncategorized
  3. Confession: I mostly hate command lines and I think the obsession with them in the tech world is basically a cultural signifier and little else.

Confession: I mostly hate command lines and I think the obsession with them in the tech world is basically a cultural signifier and little else.

Scheduled Pinned Locked Moved Uncategorized
36 Posts 9 Posters 0 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • hipsterelectron@circumstances.runH hipsterelectron@circumstances.run

    @kevin i'm doing a C implementation not rust for complicated ideological reasons (spent a decade on rust, i need this to work in many build environments, rust is not portable) and i'm not using zstd because the format is weird and possibly enables certain backdoors but i'm using the compression techniques it employs

    kevin@fedi.kbg.shK This user is from outside of this forum
    kevin@fedi.kbg.shK This user is from outside of this forum
    kevin@fedi.kbg.sh
    wrote last edited by
    #26

    @hipsterelectron I’m sure you have looked at it, but I’d be very curious to see comparisons with SCSU and BOCU. By the way, as a fun fact, Symbian stored all strings as SCSU

    hipsterelectron@circumstances.runH 1 Reply Last reply
    0
    • kevin@fedi.kbg.shK kevin@fedi.kbg.sh

      @hipsterelectron I’m sure you have looked at it, but I’d be very curious to see comparisons with SCSU and BOCU. By the way, as a fun fact, Symbian stored all strings as SCSU

      hipsterelectron@circumstances.runH This user is from outside of this forum
      hipsterelectron@circumstances.runH This user is from outside of this forum
      hipsterelectron@circumstances.run
      wrote last edited by
      #27

      @kevin not at all, looking those up now

      kevin@fedi.kbg.shK 1 Reply Last reply
      0
      • hipsterelectron@circumstances.runH hipsterelectron@circumstances.run

        @kevin not at all, looking those up now

        kevin@fedi.kbg.shK This user is from outside of this forum
        kevin@fedi.kbg.shK This user is from outside of this forum
        kevin@fedi.kbg.sh
        wrote last edited by
        #28

        @hipsterelectron let me know what you think!

        1 Reply Last reply
        0
        • hipsterelectron@circumstances.runH hipsterelectron@circumstances.run

          @kevin GUIs are harder to write and that's its own problem. i was really into electron back when it was called atom-shell for this reason. we do not need to accept the externalities of electron to improve the situation

          navi@social.vlhl.devN This user is from outside of this forum
          navi@social.vlhl.devN This user is from outside of this forum
          navi@social.vlhl.dev
          wrote last edited by
          #29
          @hipsterelectron @kevin guis and clis fit two different spaces and i don't think saying "cli bad gui good", nor the opposite, is any productive tbh

          they function differently, present information differently, guis are reactive, have more options to express complex information, but are very limited in non-interactive, or learnt, usage (as usage is often reactive too, clicking buttons isn't exactly great for power usage)

          clis are predictable, scriptable, once you know their interface you can very easily use them with your eyes closed -- but they're often static and one dimensional, great for scripting, not as good for displaying live/changing or complex info

          imo a good system has to have both good guis and good clis -- note that tui programs fall into guis mostly and don't share much with clis except by being ran in a terminal, i don't like tuis as a concept very much
          hipsterelectron@circumstances.runH wyatt@soc.megatokyo.moeW tibi2@mstdn.socialT 3 Replies Last reply
          0
          • navi@social.vlhl.devN navi@social.vlhl.dev
            @hipsterelectron @kevin guis and clis fit two different spaces and i don't think saying "cli bad gui good", nor the opposite, is any productive tbh

            they function differently, present information differently, guis are reactive, have more options to express complex information, but are very limited in non-interactive, or learnt, usage (as usage is often reactive too, clicking buttons isn't exactly great for power usage)

            clis are predictable, scriptable, once you know their interface you can very easily use them with your eyes closed -- but they're often static and one dimensional, great for scripting, not as good for displaying live/changing or complex info

            imo a good system has to have both good guis and good clis -- note that tui programs fall into guis mostly and don't share much with clis except by being ran in a terminal, i don't like tuis as a concept very much
            hipsterelectron@circumstances.runH This user is from outside of this forum
            hipsterelectron@circumstances.runH This user is from outside of this forum
            hipsterelectron@circumstances.run
            wrote last edited by
            #30

            @navi @kevin clis being scriptable is important too as that can (and generally should) serve the purpose of a versioned API. this allows emacs to build interfaces out of text and in the absence of electron emacs is what i have reverted to. more on text as an interface in my emacsconf 2024 talk https://emacsconf.org/2024/talks/regex/

            1 Reply Last reply
            0
            • navi@social.vlhl.devN navi@social.vlhl.dev
              @hipsterelectron @kevin guis and clis fit two different spaces and i don't think saying "cli bad gui good", nor the opposite, is any productive tbh

              they function differently, present information differently, guis are reactive, have more options to express complex information, but are very limited in non-interactive, or learnt, usage (as usage is often reactive too, clicking buttons isn't exactly great for power usage)

              clis are predictable, scriptable, once you know their interface you can very easily use them with your eyes closed -- but they're often static and one dimensional, great for scripting, not as good for displaying live/changing or complex info

              imo a good system has to have both good guis and good clis -- note that tui programs fall into guis mostly and don't share much with clis except by being ran in a terminal, i don't like tuis as a concept very much
              wyatt@soc.megatokyo.moeW This user is from outside of this forum
              wyatt@soc.megatokyo.moeW This user is from outside of this forum
              wyatt@soc.megatokyo.moe
              wrote last edited by
              #31
              @navi @hipsterelectron @kevin i dont mind tui's except from an accessibility standpoint. prompt-based would be better
              1 Reply Last reply
              0
              • navi@social.vlhl.devN navi@social.vlhl.dev
                @hipsterelectron @kevin guis and clis fit two different spaces and i don't think saying "cli bad gui good", nor the opposite, is any productive tbh

                they function differently, present information differently, guis are reactive, have more options to express complex information, but are very limited in non-interactive, or learnt, usage (as usage is often reactive too, clicking buttons isn't exactly great for power usage)

                clis are predictable, scriptable, once you know their interface you can very easily use them with your eyes closed -- but they're often static and one dimensional, great for scripting, not as good for displaying live/changing or complex info

                imo a good system has to have both good guis and good clis -- note that tui programs fall into guis mostly and don't share much with clis except by being ran in a terminal, i don't like tuis as a concept very much
                tibi2@mstdn.socialT This user is from outside of this forum
                tibi2@mstdn.socialT This user is from outside of this forum
                tibi2@mstdn.social
                wrote last edited by
                #32

                @navi @hipsterelectron @kevin I largely agree but guis are also keyboard driven. hitting key combos or sequences can easily be as fast or faster than typing for a power user. the sequences can then themselves be scripted, although quality of tools for this varies a lot more than good command lines

                osma@mas.toO 1 Reply Last reply
                0
                • kevin@fedi.kbg.shK kevin@fedi.kbg.sh

                  Confession: I mostly hate command lines and I think the obsession with them in the tech world is basically a cultural signifier and little else. I constantly see obtuse command line interfaces that are worse in every way than simple GUI would be, but are preferred, I guess, on the grounds that that’s what the epic bigshot “coders” use.

                  tibi2@mstdn.socialT This user is from outside of this forum
                  tibi2@mstdn.socialT This user is from outside of this forum
                  tibi2@mstdn.social
                  wrote last edited by
                  #33

                  @kevin thank you, hanging out on fedi was making me think I'm the only one on the planet lol. CLIs stink for beginners but also for occasional use tools where I can't be bothered to learn the syntax for something I use once in 3 months. I only use it when there's nothing else or when the investment of time will look worth it in the long run

                  barubary@infosec.exchangeB 1 Reply Last reply
                  0
                  • kevin@fedi.kbg.shK kevin@fedi.kbg.sh

                    @atsuzaki this is a really important point. I do think I know of something which addresses this. You might check out the form driven interfaces of IBM OS/400. Basically, the entire UI is form/menu driven *but* forms always have an isomorphism between a CL (its shell language) and a form. So you can send someone a CL command but this is basically a sort of descriptor for a sort of GUI. I also think a lot of work here has unwittingly conflated text based and command line based UIs.

                    osma@mas.toO This user is from outside of this forum
                    osma@mas.toO This user is from outside of this forum
                    osma@mas.to
                    wrote last edited by
                    #34

                    The unique property of a mature command line is that it enables conveniently stringing (pun intended) a series of commands to each other by way of | and &&. Many command lines do not, but those are irredeemably bad. This capability is very difficult to reproduce in a GUI. That said, I've never experienced OS/400.
                    @kevin @atsuzaki

                    1 Reply Last reply
                    0
                    • tibi2@mstdn.socialT tibi2@mstdn.social

                      @navi @hipsterelectron @kevin I largely agree but guis are also keyboard driven. hitting key combos or sequences can easily be as fast or faster than typing for a power user. the sequences can then themselves be scripted, although quality of tools for this varies a lot more than good command lines

                      osma@mas.toO This user is from outside of this forum
                      osma@mas.toO This user is from outside of this forum
                      osma@mas.to
                      wrote last edited by
                      #35

                      GUIs used to be keyboard drivable. Increasingly that's impossible - shortcuts don't exist, menu activations are forgotten, and tab-navigation is broken. Today's PMs have never done anything but mouse or touch navigation.
                      @tibi2 @navi @hipsterelectron @kevin

                      1 Reply Last reply
                      0
                      • tibi2@mstdn.socialT tibi2@mstdn.social

                        @kevin thank you, hanging out on fedi was making me think I'm the only one on the planet lol. CLIs stink for beginners but also for occasional use tools where I can't be bothered to learn the syntax for something I use once in 3 months. I only use it when there's nothing else or when the investment of time will look worth it in the long run

                        barubary@infosec.exchangeB This user is from outside of this forum
                        barubary@infosec.exchangeB This user is from outside of this forum
                        barubary@infosec.exchange
                        wrote last edited by
                        #36

                        @tibi2 @kevin

                        CLIs stink for beginners

                        That, too, depends. Once I understood the fundamentals (word splitting, quoting) of the shell, I knew how to run any command with any argument(s). When I didn't know a command or its options, the man page was right there. When I didn't know which command to use for a task, man -k KEYWORD gave me useful hints.

                        But in the GUI environment there was no simple search. I had to rummage through nested application menus to find (sometimes misleadingly named) programs and hope they did something useful. Something similar would repeat inside the application: Some functions are hidden behind toolbar buttons, some are in the menu at the top, others in a context menu, etc. Even if the buttons have tooltips, you can't easily see them unless you manually mouse over them one by one. There usually are certain conventions that most applications follow, but they're not intuitive: A beginner still has to learn them.

                        (Of course the issue of obscure commands and inconsistent interfaces also exists in command line tools, but the difference is that I can easily automate that one weird set of options or sequence of tool invocations with a shell script. That was true even when I was just learning how to use Linux: If you know how to do a thing manually on the command line, you can automate it by putting the some command in a script file. What could be easier? Whereas with an obscure GUI tool I have to remember what to click where and in which order every couple of weeks when I need to Do The Thing.)

                        In short: This (former) beginner rather liked the command line.

                        1 Reply Last reply
                        1
                        0
                        • R relay@relay.infosec.exchange shared this topic
                        Reply
                        • Reply as topic
                        Log in to reply
                        • Oldest to Newest
                        • Newest to Oldest
                        • Most Votes


                        • Login

                        • Login or register to search.
                        • First post
                          Last post
                        0
                        • Categories
                        • Recent
                        • Tags
                        • Popular
                        • World
                        • Users
                        • Groups