• explodicle@local106.com
    link
    fedilink
    English
    arrow-up
    0
    ·
    5 months ago

    Ok here’s a question I should have asked like way sooner.

    In Ubuntu (and similar distros), is there a hotkey to immediately kill the process? Like CTRL-C but harsher.

  • M500@lemmy.ml
    link
    fedilink
    English
    arrow-up
    0
    ·
    5 months ago

    I’m the same way. I think it’s just a matter of being conditioned to manually save for the majority of my computing life.

    • Vlyn@lemmy.zip
      link
      fedilink
      English
      arrow-up
      0
      ·
      5 months ago

      Ctrl + C literally doesn’t work at times, it drives me crazy. It might be due to some shitty applications and websites overriding it or adding complexity (Like copying not only the text but additional information).

      I’m often 100% sure I copied the text, change the window and an old clipboard entry gets pasted.

      • BlanketsWithSmallpox@lemmy.world
        link
        fedilink
        English
        arrow-up
        0
        ·
        5 months ago

        God I hate this so much. It’s especially frustrating on mobile where it takes like thirty seconds to try to get the right part of the text copied and use the fucking magnified blue dots… Ugh.

        • Vlyn@lemmy.zip
          link
          fedilink
          English
          arrow-up
          0
          ·
          5 months ago

          Mobile is an entirely different beast. Like sometimes my keyboard doesn’t show up. Or the text select refuses to work. And so on. It’s a mess. Even on a Galaxy S22.

          No clue how people can exist without a proper computer at home and still do stuff online.

    • WhatAmLemmy@lemmy.world
      link
      fedilink
      arrow-up
      0
      ·
      5 months ago

      It’d be great if there were side kind of feedback, like the cursor quickly flashing a “C” or something… anything to let you know the operation occurred; better yet, was successful.

      • kbotc@lemmy.world
        link
        fedilink
        English
        arrow-up
        0
        ·
        5 months ago

        I actually disagree from a systems engineer perspective: The program doesn’t actually know shit if those bits hit any permanent medium, just that the OS told them “I’ll take care of it” it could be sitting in a write back cache when you save, see the “write complete” and rip the power and that’s all gone now. Basically, I don’t like promising durability when it’s not really there.

  • QuazarOmega@lemy.lol
    link
    fedilink
    arrow-up
    0
    ·
    5 months ago

    We can optimize this further:

    unsatisfied = true
    while(unsatisfied) {
        key.dispatch(
            Keyboard::Ctrl,
            Keyboard::s
        )
    }
    

    …No, there is no instance where unsatisfied changes state

  • Pretty Sure Not a Bot@lemmy.world
    link
    fedilink
    arrow-up
    0
    ·
    5 months ago

    But then, if you’re forced to develop on microsoft 🤬, it’s late, you’re tired, you’re hand slides just a little to the right (win + d), aaaaand everything is gone, and you’re sitting there looking at you’re background wondering what the hell just happened 🙃.

    • knexcar@lemmy.world
      link
      fedilink
      English
      arrow-up
      0
      ·
      edit-2
      5 months ago

      First of all, it’s fine to write code on Windows. In fact, many companies have windows-only development workflows.

      Second of all, many Linux programs also use standard shortcuts like Ctrl+S. Linux is more than Vim.

    • Vlyn@lemmy.zip
      link
      fedilink
      English
      arrow-up
      0
      ·
      5 months ago

      There’s no Visual Studio for Linux, so yeah… especially as a .NET dev.

      Visual Studio Code isn’t the same.