• r1veRRR@feddit.de
    link
    fedilink
    arrow-up
    30
    arrow-down
    1
    ·
    1 year ago

    To get annoyingly serious on a funny post, the one huge danger of GUIs that I’ve personally witnessed in many of my juniors is that they abstract away the need to understand the tool you’re using.

    I regularly use a Git GUI, and I might have to google the rebase command for more complex tasks, but I know how Git works. I know what I can do with rebase, even if I don’t exactly know how to. If you only live in the GUI, you can get far never understanding the system. Until one day, when you fuck up a commit or a push, and you’re totally hosed because there isn’t a pretty button with the exact feature you want in your GUI.

    • hellishharlot@lemmy.world
      link
      fedilink
      arrow-up
      8
      arrow-down
      1
      ·
      1 year ago

      Somehow I’ve made it 7 years without messing up a git command that I couldn’t fix in like 2 seconds. I primarily use vscode’s source controller more featured source controllers like sourcetree feel overly complex and typing out git commands is fine but you spend more time doing that than you would with vscode’s approach. I’m really curious about what you mean by fuck up a commit or push

      • BuiltWithStolenParts@lemmy.world
        link
        fedilink
        arrow-up
        7
        ·
        1 year ago

        Try reverting a reverted commit (revert of revert, yes) while other team members are working on a branch which has the first revert. It’s super fun merging after that.

        (Or something of that effect, can’t remember the exact details of that fuckup)

        • hellishharlot@lemmy.world
          link
          fedilink
          arrow-up
          4
          arrow-down
          1
          ·
          1 year ago

          I don’t think I will, mostly cause I work on a team of 1 right now which makes my branches wonderfully simple.

    • DrM@feddit.de
      link
      fedilink
      arrow-up
      5
      ·
      1 year ago

      Yeah, fuck that. It’s perfectly fine to build a GUI that makes things a bit easier, but make the GUI so that it resembles the fucking workflow. I hate that when I want to automate something thats super easy in the GUI and it takes AGES because there is no equivalent to what I’m doing in the GUI

      • computertoucher5000@programming.dev
        link
        fedilink
        arrow-up
        4
        ·
        1 year ago

        I hate that when I want to automate something thats super easy in the GUI and it takes AGES because there is no equivalent to what I’m doing in the GUI

        glares angrily at Azure CLI

  • jet@hackertalks.com
    link
    fedilink
    English
    arrow-up
    24
    arrow-down
    2
    ·
    1 year ago

    If you’re using a GUI, that means whatever you’re doing you’re not doing a lot of it, since you don’t need to automate it. I would expect a world-class enterprise engineer to be able to automate most tasks, and from that they would be very comfortable with the command line.

    Can you do everything with a GUI that you can on a command line? Yeah probably, if the developer is at all the features properly. Can you automate it easily? No not at all. So the more you do something the more you tend to want to deal with the vocabulary of the command line because it’s more expressive and allows for automation.

    I will die on this hill!

    • nottheengineer@feddit.de
      link
      fedilink
      arrow-up
      11
      ·
      1 year ago

      Documentation too. Frontends change all the time, but CLI tools usually don’t, so you can usually rely on old documentation. But have you ever tried googling how to do something in MS office, found and article from half a year ago and found that none of the things it mentions exist anymore? It’s ridiculous how much time people waste trying to figure out stuff multiple times because it changes so much.

      • rist097@lemmy.world
        link
        fedilink
        arrow-up
        4
        arrow-down
        1
        ·
        1 year ago

        After long periods of not using GUIs, I found myself very confused every time I want to do something. I was trying to insert a code block into Power Point yesterday, took me half an hour of googling and didn’t manage to do it. With Latex, I googled and in 2 minutes I had a code block.

        • nottheengineer@feddit.de
          link
          fedilink
          arrow-up
          8
          ·
          1 year ago

          Given that Latex is a clusterfuck of legacy, it speaks volumes that it’s still so much easier to do things there rather than in powerpoint.

          With MS office I’ve also adopted a “fuck it, I’ll just take a screenshot” approach.

    • Newusername4oldfart@lemm.ee
      link
      fedilink
      English
      arrow-up
      4
      ·
      1 year ago

      Depends on what system you’re running, and especially what task you’re doing. Trying to operate firewall rules via CLI is an exercise in self-inflicted pain, as is trying to set a complex cron schedule without a handy calculator.

      • Rakn@discuss.tchncs.de
        link
        fedilink
        English
        arrow-up
        2
        arrow-down
        1
        ·
        1 year ago

        TIL there are people configuring firewalls via GUIs. Okay … I‘m do that too on my private equipment because I’m lazy. But it feels wrong doing so in an enterprise context.

      • Finn@lemm.ee
        link
        fedilink
        arrow-up
        1
        ·
        1 year ago

        Junos CLI is a real treat. I work with the SRX line regularly, particularly the SRX4600 and the SRX300 series.

    • tatterdemalion@programming.dev
      link
      fedilink
      arrow-up
      3
      ·
      edit-2
      1 year ago

      CLI debuggers can’t hold a candle to the Visual Studio debugger. This is generally not something you automate, and I haven’t met many engineers that know gdb well. But pretty much anyone can use VS debugger.

    • R0cket_M00se@lemmy.worldOP
      link
      fedilink
      English
      arrow-up
      14
      ·
      1 year ago

      So far I don’t think anyone has interpreted the meme correctly, the wikiHow guy is supposed to be an obvious shortcoming expressed as a guy trying to convince himself it’s not a problem.

  • Venomnik0@lemmy.world
    link
    fedilink
    arrow-up
    14
    ·
    1 year ago

    Honestly, some things can be done faster/as fast on GUI. So really just use whatever increases your productivity.

    • MangoPenguin@lemmy.blahaj.zone
      link
      fedilink
      arrow-up
      15
      ·
      1 year ago

      IMO GUIs are always faster when it’s something you’ve never used before, or use very infrequently.

      CLI is better if you’re used to the task you’re doing, or automating things. But for infrequent tasks looking up the commands (or looking at old notes to find it) is very slow and rather annoying.

      • I Cast Fist@programming.dev
        link
        fedilink
        English
        arrow-up
        9
        ·
        1 year ago

        Moving files across several subfolder levels tends to be much faster on a GUI. Finding files is usually much faster via CLI, even when you have to look up again how to use the find command of your choice

        • MangoPenguin@lemmy.blahaj.zone
          link
          fedilink
          English
          arrow-up
          3
          ·
          1 year ago

          Is there an instant GUI find tool on linux? find is very slow compared to using Everything on windows, and sorting results is really hard via CLI.

          • KubeRoot@discuss.tchncs.de
            link
            fedilink
            arrow-up
            1
            ·
            1 year ago

            I don’t know about GUI tools, but:

            Everything is so fast because it uses the index built into NTFS to find files by filename quickly, and NTFS is the definitive file system on Windows so it works everywhere.

            On Linux, there isn’t really an index built into the filesystem - some might have that, but I don’t know about it. That said, plocate is a common tool that uses its own index. You have to update the database when files change (you’ll probably have a job doing that daily), but searching the index is very fast.

        • Semi-Hemi-Demigod@kbin.social
          link
          fedilink
          arrow-up
          2
          ·
          1 year ago

          The more you use the commands the more you remember them. I got good at the CLI by forcing myself to use it for things I would normally do in a GUI. Now everyone thinks I’m a wizard which I won’t discourage

        • Pommel_Knight@lemmy.dbzer0.com
          link
          fedilink
          arrow-up
          1
          ·
          1 year ago

          I usually just make a bat or py script to move and create specific files to specific folders.

          I only do this because I’m lazy and numbering, renaming and creating folders is a drag and can be easily automated, but just copy/paste or cut/paste is faster in GUI, especially with alt tab and the new tab file system on windows.

        • CanadaPlus@lemmy.sdf.org
          link
          fedilink
          English
          arrow-up
          0
          arrow-down
          2
          ·
          1 year ago

          A GUI with a search function is always the best way to deal with filesystems, in my experience.

    • amphetaminisiert@feddit.nl
      link
      fedilink
      arrow-up
      4
      ·
      1 year ago

      But you look way cooler when using the terminal for most of your stuff 💁‍♂️ also using a riced out window manager and riced out Vim config for which you spent hundreds of hours on customizing every aspect of it :p normal people don’t know what the fuck is going on on your pc so you can feel instantly feel superior to those normies! Ah also btw i use arch ;)

    • beneeney@lemm.ee
      link
      fedilink
      arrow-up
      4
      ·
      1 year ago

      I use both. I use the CLI for a lot of stuff but I also use the GitHub Desktop fork for Linux lol. I don’t care how powerful git is in CLI, that gui is just so nice imo

      • nexussapphire@lemm.ee
        link
        fedilink
        arrow-up
        4
        ·
        1 year ago

        It took me forever to realize I could edit config files in a graphical text editor. When you have a really long file it’s just nicer to have properly formated text wrapping and a scrollbar with a preview box.

      • coloredgrayscale@programming.dev
        link
        fedilink
        arrow-up
        3
        ·
        1 year ago

        Exactly. Use the tools you have the way they fit you best. If it aids your work flow learn the CLI commands you use the most. If it’s something obscure or rarely used, use the gui.

        Another not mentioned benefit of becoming comfortable with using the cli is that you then can more easily script stuff.

  • So… my only requirement for my tools is that they have a well-supported CLI, and can be installed headless without graphical dependencies. Tools must be scriptable.

    That said, it’s nice to have a UI. My ideal configuration is a scriptable tool with a good API, and a separate GUI tool that can drive it.

    • Aux@lemmy.world
      link
      fedilink
      arrow-up
      4
      ·
      1 year ago

      One of the best tools I’ve used is SuperSlicer. It’s a slicer for 3D printers. It has GUI, it has CLI and it has a DLL/SO so you can add its features to your own application. And it’s open source if linking against an existing library is too hard for you, lol.

  • Marxism-Fennekinism@lemmy.ml
    link
    fedilink
    English
    arrow-up
    9
    ·
    edit-2
    1 year ago

    Use a computer in whatever way you want and/or need to best get the job done. It’s a tool for accomplishing tasks. The amount of random gatekeeping for no goddamn reason in tech/programming/FLOSS is ridiculous.

  • jemikwa@lemmy.blahaj.zone
    link
    fedilink
    English
    arrow-up
    9
    ·
    edit-2
    1 year ago

    See: Cisco. At least when I last used it, the web server configuration utility added a lot of garbage to your running config that made it unreadable if you swapped back to the cli.

    Systems that built the GUI first aren’t too bad. Palo Alto UI is pretty decent.

  • donut4ever@lemm.ee
    link
    fedilink
    arrow-up
    8
    ·
    1 year ago

    What if you use both based on the situation. I ssh into my server from the terminal and also use termius when I want use FSTP because it’s quicker than dropping into a shell

    • lorkano@lemmy.world
      link
      fedilink
      arrow-up
      12
      ·
      1 year ago

      Using the best tool for a job makes way more sense than sticking to one because of a principle

      • donut4ever@lemm.ee
        link
        fedilink
        arrow-up
        1
        ·
        1 year ago

        True that. I’ve done the shell side of SFTP, but it was honestly way slower than just dragging a file from this side to the other. I need to get shit done ASAP sometimes.

        • oshu@kbin.social
          link
          fedilink
          arrow-up
          2
          ·
          1 year ago

          That’s why I use lftp for cli sftp. For most operations it is much faster. Especially when you want to use regex to select files.

      • _stranger_@lemmy.world
        link
        fedilink
        arrow-up
        5
        arrow-down
        1
        ·
        edit-2
        1 year ago

        It’s what you put on bad software to make it palatable.

        Like a sugar coating. It’s why no one codes in Java anymore without 80 terabytes of ram for their IDE.

        • Rinox@feddit.it
          link
          fedilink
          arrow-up
          3
          ·
          1 year ago

          I wonder what’s this “good software” (you meant language?) that doesn’t require an IDE to code efficiently.

          • Tamo@programming.dev
            link
            fedilink
            arrow-up
            3
            ·
            1 year ago

            Good luck ever doing anything embedded if you always need a clunky IDE. Best thing I ever did was get comfortable in a solely vim/cmake/gcc environment. Even if the majority of work doesn’t require it, it’ll teach you a lot.

            • r1veRRR@feddit.de
              link
              fedilink
              arrow-up
              1
              ·
              1 year ago

              I mean, we’re rewriting everything in Rust, so there’s no need to learn cmake anymore /s

              To conter your comment a little bit, I think anyone doing coding for a living should absolutely use an editor that supports LSPs. They’re an insanely helpful tool with zero downsides.

              • 257m@lemmy.world
                link
                fedilink
                arrow-up
                2
                ·
                1 year ago

                I installed an LSP in neovim and it mostly just annoys me and clutters my screen while i’m typing.

          • r1veRRR@feddit.de
            link
            fedilink
            arrow-up
            1
            ·
            1 year ago

            I disagree somewhat with their take, but there’s definitely languages that cmoe with features built-in that reduce the need for a fancy IDE. For example, instead of null checks via annotations that the IDE has to parse and warn about, just have nullable types. Or instead of IDE features to generate a bunch of boilerplate, just don’t require that boilerplate.

            That being said, on the other side of the spectrum, anyone writing code without using an LSP is just throwing away productivity by the handfull.

        • HR_Pufnstuf@lemmy.world
          link
          fedilink
          English
          arrow-up
          1
          ·
          1 year ago

          So that’s my point. Don’t write or use bad software. Then the GUI (bad or good) isn’t necessary.

    • droans@lemmy.world
      link
      fedilink
      arrow-up
      1
      ·
      1 year ago

      Mine is Ubuntu. What it says is “I installed it years ago because it was the one I knew most about but now very much regret doing so.”

      At some point I’ll have time and switch. Maybe go with Mint or Debian. There’s way too many things that randomly break and it’s become rather laggy over time.

  • Sparrow_1029@programming.dev
    link
    fedilink
    arrow-up
    5
    ·
    1 year ago

    “graphical user interfaces make easy tasks easy, while command line interfaces make difficult tasks possible”

    • William E. Shotts Jr., The Linux Command Line: A Complete Introduction

    It has taken me a long time to get comfortable using a Linux CLI (definitely not as familiar with windows cmd prompt/powershell), and I know that if I log into a box anywhere, If it has sh or bash or some variant of those shells, I’ll be able to get by.

    Now, on my home server, moving & renaming a bunch of media files has me really wishing I had a DE installed there to Ctrl + click/Drag-n-drop…

    Also, I love using VScodium/Code as an IDE bc of its configurability & rich plugin ecosystem – but recently I had some performance hiccups with extensions not playing nice together and started (again) down the masochistic path of configuring neovim to use as an “IDE”…

    • Doc Avid Mornington@midwest.social
      link
      fedilink
      English
      arrow-up
      2
      arrow-down
      1
      ·
      1 year ago

      I always feel that graphical interfaces make easy things difficult, in most cases. A bunch of figity clicking around, instead of a few keystrokes I could press with my eyes closed. They are more discoverable, though.

      If you use emacs, dired and wdired together are fantastic for managing files like that. You can even run dired over tramp, so you can manage files on a remote server that doesn’t have emacs installed, using the emacs on your desktop. But there are also good cli options, you might want to look at the rename command, as one that’s probably installed by default on any given distro. That’s outside my expertise, though, as I just use emacs.