• juipeltje@lemmy.world
    link
    fedilink
    arrow-up
    1
    ·
    edit-2
    15 minutes ago

    Me when i fork dwl just to add a few patches that i did not create myself, just so i can make my own package for it.

    “You know, i’m something of a developer myself.”

  • jaybone@lemmy.zip
    link
    fedilink
    English
    arrow-up
    23
    ·
    9 hours ago

    Until your shit got all fucked up because you added a third party repository. And then you have to manually remove lock files and fix the pkg database and mess with .conf files and manually uninstall specific versions of dependent packages, and then manually re-enable some remote repo.

    Then you actually kind of do feel like a hacker.

    Until you’ve done it like 10 different times, then you are just annoyed. Still a better love story than Twilight.

    • conartistpanda@lemmy.world
      link
      fedilink
      arrow-up
      2
      ·
      edit-2
      8 hours ago

      This fucking idiot here changed their debian branch to sid then wondered why the software store didnt work. Luckly I always backup config files. I mean, it’s not that complicated to change some lines back, but still.

      Also it’s a vbox vm so I could always restore a snapshot. And it exists to tweak so it was meant to be.

    • corsicanguppy@lemmy.ca
      link
      fedilink
      English
      arrow-up
      2
      ·
      8 hours ago

      shit got all fucked up because you added a third party repository

      Dependency hell is always, always, self-inflicted.

      apt is only SLSA1 or 2 anyway, so there’s a lot more wiggle room.

    • tal@lemmy.today
      link
      fedilink
      English
      arrow-up
      2
      ·
      edit-2
      9 hours ago

      You copy paste the command.

      $ sudo apt update
      -bash: sudo: command not found
      $
      

      Your distro doesn’t set up/install sudo by default, so your first task is installing sudo, then understanding /etc/sudoers syntax and understanding why the command to atomically replace /etc/sudoers is visudo and why on a multiuser system there’s value to atomic replacement. In the meantime, you probably learn about su and maybe, if your distro has disabled them, how to enable switching to the kernel virtual consoles on tty1 through tty7 so that in the meantime, you can do things as root while staying logged in. Also, you’re going to learn about environment variables, so as to set EDITOR, and where your shell config files live, what a login shell is, and in what shells ~/.bash_profile, ~/.profile, and ~/.bashrc run. Also, you first try running visudo as a regular user, but your distro places visudo in /usr/sbin instead of /usr/bin, so you can’t figure out why it’s not installed and are going to learn about the FHS and mlocate and updatedb so that you can find /usr/sbin/visudo and dpkg -S so that you can figure out which package it’s in and confirm that it’s actually installed and learn about PATH.

          • queerlilhayseed@piefed.blahaj.zone
            link
            fedilink
            English
            arrow-up
            31
            ·
            12 hours ago

            My hot take: cross-application or system-wide shortcuts like copy/paste should all be controlled with the Super/Meta key. Looking hard at you, alt-F4.

            App developers, you get your pick of Shift, Ctrl, and Alt modifiers. Super/Meta is for the OS only.

            • brisk@aussie.zone
              link
              fedilink
              arrow-up
              11
              ·
              edit-2
              10 hours ago

              Super is for my window manager.

              Which I guess is kind of where copy paste live so I’m on board, barring semantic nitpicks

          • SpaceNoodle@lemmy.world
            link
            fedilink
            arrow-up
            13
            ·
            edit-2
            6 hours ago

            Personally, I think it was quite rude of all of those applications to make the standard “break” command mean “copy.”

          • NotSteve_@lemmy.ca
            link
            fedilink
            arrow-up
            8
            ·
            12 hours ago

            I guess I’m so used to it at this point that I just add the shift automatically and don’t really consider it annoying

            Such an annoying kludge to make a common operation work.

            That describes nearly everything in software, doesn’t it😅

        • DreamButt@lemmy.world
          link
          fedilink
          English
          arrow-up
          2
          ·
          9 hours ago

          One of the things I always setup is a pbpaste & pbcopy function to mirror Marcos’s. I know that’s not what the meme is about but pbpaste > /tmp/filename.json is too handy

  • thebestaquaman@lemmy.world
    link
    fedilink
    arrow-up
    26
    ·
    12 hours ago

    Let’s be reasonable: We were all at some point at the stage where doing anything at all in the terminal made us feel like a god.

    • bryndos@fedia.io
      link
      fedilink
      arrow-up
      14
      ·
      10 hours ago

      It’s weird to have grown up with things like bbc micro and MS-DOS and see how alien the terminal is to people who didn’t.

      Back then CLIs were all over, even like library catalog terminals, were CLI. TBF some still had card indexes though.

      At university everyone had to ssh in to the email server from whatever tty client even on windows (nt4/nt5/98/2k/mackintosh PCs).

      You definitely didn’t feel like any hacker. The hacker level thing was to successfully connect via GUI mail client and actually have your emails update and sync properly - very few bothered.

        • bryndos@fedia.io
          link
          fedilink
          arrow-up
          4
          ·
          9 hours ago

          Very possibly.

          I vaguely remember using putty on port 22 which i thought was ssh, but maybe it was telnet. we were leaving the 90s by then, so I think ssh was around. Might also have been different protocol on the uni LAN vs WAN connections.

          The libraries I remember might have been direct terminals to local server. Few catalogs were available even on the uni-wide LAN. No big deal really since you’re going to have to go there to find the book anyway.

          The catalog room was an acceptable place to have a chat or lament the size of the reading list.

    • tal@lemmy.today
      link
      fedilink
      English
      arrow-up
      2
      ·
      9 hours ago

      We were all at some point at the stage where doing anything at all in the terminal made us feel like a god.

      Some of us were at the point where GUIs weren’t a thing and the terminal was the only option.

      • thebestaquaman@lemmy.world
        link
        fedilink
        arrow-up
        1
        ·
        1 hour ago

        Fair enough, I guess my overall point was more that we’ve all at some point taken that first step of doing something that now feels mundane, but at the time felt like we were doing something very advanced.

    • tal@lemmy.today
      link
      fedilink
      English
      arrow-up
      3
      ·
      edit-2
      8 hours ago
      $ sudo apt install cool-retro-term hollywood
      $ TMUX='' cool-retro-term --fullscreen -e hollywood
      

      You don’t need to unset TMUX if you aren’t already using and inside tmux, but including in case someone is.

      • DreamButt@lemmy.world
        link
        fedilink
        English
        arrow-up
        3
        ·
        9 hours ago

        sudo !! Is nice but I mostly use the up arrow to repeat something long and complicated I did 10 minutes ago. The joke there is sometimes that takes too long too. So that’s where history | grep 'keyword' is nice

        • tal@lemmy.today
          link
          fedilink
          English
          arrow-up
          3
          ·
          edit-2
          7 hours ago

          history | grep 'keyword'

          If it’s bash, it’s using readline, which is in emacs-like mode by default, and so you can probably use Control-R to do a reverse i-search (incremental search). Enter to invoke the command. Control-C to abort i-search.

          If a search matches multiple candidates, tap Control-R multiple times to cycle back through results.

          EDIT: Also, ! has a built-in search, so if you are sure of the starting string, you can just do that. I generally prefer to use the interactive search to confirm that I’m not invoking something wonky.

          $ touch a
          $ rm a
          $ touch a
          $ !rm
          rm a
          $ 
          
        • pinball_wizard@lemmy.zip
          link
          fedilink
          arrow-up
          1
          ·
          edit-2
          7 hours ago

          sudo !!

          Never again, lol.

          Last time I did that, it was not what I remembered. I didn’t break anything, but it was close enough that I scared the shit out of myself.