lemmy.dudeami.win
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
sag@lemm.ee to Programmer Humor@programming.dev · 2 years ago

I don't believe Auto Save feature in any software

lemm.ee

message-square
93
link
fedilink
16

I don't believe Auto Save feature in any software

lemm.ee

sag@lemm.ee to Programmer Humor@programming.dev · 2 years ago
message-square
93
link
fedilink
alert-triangle
You must log in or # to comment.
  • CronyAkatsuki@lemmy.cronyakatsuki.xyz
    link
    fedilink
    arrow-up
    1
    ·
    2 years ago

    :w

    :w

    :w

    :w

    :w

    i

    esc

    :w

    :w

    :w

    :w

    Average day in (neo)vim

    • fylkenny@feddit.de
      link
      fedilink
      arrow-up
      0
      ·
      2 years ago

      You can use :wq only once

      • Victor@lemmy.world
        link
        fedilink
        arrow-up
        0
        ·
        2 years ago

        So choose wisely. All other editor instances must remain open forever.

      • calzone_gigante@lemmy.eco.br
        link
        fedilink
        arrow-up
        0
        ·
        2 years ago

        I use quake style terminals, and often start writing a file and completely forget about it and turn off the computer, and only remember what i left behind when i find the random recovery files around, so :w a lot is quite useful for me.

        • kender242@lemmy.world
          link
          fedilink
          English
          arrow-up
          1
          ·
          2 years ago

          Quake? The FPS? I’m confused, though I knew a little about Linux

          • calzone_gigante@lemmy.eco.br
            link
            fedilink
            arrow-up
            1
            ·
            2 years ago

            Yes, on classic fps you could spaw a console that will drop down from the top os the screen, some terminal emulators allow you to do that.

            I like it because then i have the terminal always open that i just draw from the top of the screen with a keypress

            On KDE i do that with Yakuake, and on gnome with tilix

            • Dehydrated@lemmy.world
              link
              fedilink
              arrow-up
              1
              ·
              2 years ago

              You can also use Guake on GNOME or basically on any desktop. I’ve also use it on Cinnamon and it’s really nice.

      • Vash63@lemmy.world
        link
        fedilink
        arrow-up
        0
        ·
        2 years ago

        *per open file

      • dukatos@lemm.ee
        link
        fedilink
        arrow-up
        0
        ·
        2 years ago

        :x

        • noeontheend@beehaw.org
          link
          fedilink
          arrow-up
          0
          ·
          2 years ago

          My biggest (mostly) irrational internet pet peeve is the proliferation of people suggesting “:wq” when “:x” is strictly better.

    • marswarrior@lemmy.world
      link
      fedilink
      arrow-up
      0
      ·
      2 years ago


      This will allow you to ctrl+s to save. I tried to add this in a backtick code line/block but it removes part of the syntax.

      • CronyAkatsuki@lemmy.cronyakatsuki.xyz
        link
        fedilink
        arrow-up
        2
        ·
        2 years ago

        Sorry but I’m already used to :w stoo much and a lot faster with it than ctrl+s

    • anti-idpol action@programming.dev
      link
      fedilink
      arrow-up
      0
      ·
      2 years ago

      not mapping semicolon to colon

      lel

    • AwkwardLookMonkeyPuppet@lemmy.world
      link
      fedilink
      English
      arrow-up
      0
      ·
      2 years ago

      Make all changes

      :wq!

      Force that bitch!

    • Commiunism@lemmy.wtf
      link
      fedilink
      arrow-up
      0
      ·
      2 years ago

      :w before ZZ just to make sure

    • SorryQuick@lemmy.ca
      link
      fedilink
      arrow-up
      0
      ·
      2 years ago

      Is there any reason to use :w other than it being the default? I have mine mapped to CTRL-S and it makes sure to keep me in insert mode if I was in insert mode. Feels way faster and easier to spam than the 4 key presses it takes to execute “:w”.

      • CronyAkatsuki@lemmy.cronyakatsuki.xyz
        link
        fedilink
        arrow-up
        0
        ·
        2 years ago

        I’m just used to it and I’m keeping ny time in instert mode at minimum.

  • QuazarOmega@lemy.lol
    link
    fedilink
    arrow-up
    1
    ·
    2 years 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

    • Lunya \ she/it@iusearchlinux.fyi
      link
      fedilink
      arrow-up
      0
      ·
      2 years ago

      You should just be able to while(true)

      • Octopus1348@lemy.lol
        link
        fedilink
        arrow-up
        0
        ·
        2 years ago

        It’s a joke.

        • Tja@programming.dev
          link
          fedilink
          arrow-up
          0
          ·
          2 years ago

          That sounds like an excuse.

      • halfway_neko@lemmy.dbzer0.com
        link
        fedilink
        arrow-up
        0
        ·
        2 years ago

        Don’t worry, most modern brains have a builtin jit compiler, so when a habit starts to form, the check will be optimised out. (It saves excess neurons from being generated.)

  • darklamer@lemmy.dbzer0.com
    link
    fedilink
    arrow-up
    0
    ·
    edit-2
    22 days ago

    deleted by creator

    • Beanie@programming.dev
      link
      fedilink
      arrow-up
      0
      ·
      2 years ago

      Actually vim has swap files which it saves to when you make any edit, whether you save the change or not, meaning you shouldn’t lose any work even if you kill -9 vim on unsaved work.

      • darklamer@lemmy.dbzer0.com
        link
        fedilink
        arrow-up
        0
        ·
        edit-2
        22 days ago

        deleted by creator

        • Beanie@programming.dev
          link
          fedilink
          arrow-up
          0
          ·
          2 years ago

          Oh I get you. No idea tbh.

  • DirkMcCallahan@lemmy.world
    link
    fedilink
    arrow-up
    0
    ·
    2 years ago

    It’s because the first time doesn’t always work. I swear, sometimes it doesn’t!

    • Vlyn@lemmy.zip
      link
      fedilink
      English
      arrow-up
      0
      ·
      2 years 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
        ·
        2 years 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
          ·
          2 years 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.

  • CookieOfFortune@lemmy.world
    link
    fedilink
    arrow-up
    0
    ·
    2 years ago

    Some of us have PTSD from losing work back in the day. Now it’s just habit.

    • WhatAmLemmy@lemmy.world
      link
      fedilink
      arrow-up
      0
      ·
      2 years 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
        ·
        2 years 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.

      • DrDeadCrash@programming.dev
        link
        fedilink
        arrow-up
        0
        ·
        2 years ago

        Check for an asterisk after the file name (in the tab/title bar), it means “unsaved changes”.

  • Johanno@feddit.de
    link
    fedilink
    arrow-up
    0
    ·
    2 years ago

    This is me in eclipse.

    Because I used to do the single save and it failed

    • normalexit@lemmy.world
      link
      fedilink
      arrow-up
      0
      ·
      2 years ago

      Oh, eclipse. I’m still happy I don’t have to save in intellij .

      • Johanno@feddit.de
        link
        fedilink
        arrow-up
        0
        ·
        2 years ago

        I tried intellij years ago and never left it.

  • M500@lemmy.ml
    link
    fedilink
    English
    arrow-up
    0
    ·
    2 years 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.

  • JoYo@lemmy.ml
    link
    fedilink
    English
    arrow-up
    0
    ·
    edit-2
    2 years ago

    MFRs are saving each keystroke they have access to.

    • UNWILLING_PARTICIPANT@sh.itjust.works
      link
      fedilink
      arrow-up
      0
      ·
      2 years ago

      Hell sometimes I’ll save just after having thought about writing something

  • alphacyberranger@lemmy.world
    link
    fedilink
    English
    arrow-up
    0
    ·
    2 years ago

    The same can be applied for editors as well

  • devfuuu@lemmy.world
    link
    fedilink
    arrow-up
    0
    ·
    2 years ago

    Intellij being a good guy amd autosaving every few seconds. No more worrying about crtl+s.

  • UNWILLING_PARTICIPANT@sh.itjust.works
    link
    fedilink
    arrow-up
    0
    ·
    2 years ago

    Meanwhile I, a gentleman

    nmap <CR> :w<CR>

    Binding the Enter key to save the current buffer. 🧐

  • const_void@lemmy.ml
    link
    fedilink
    arrow-up
    0
    ·
    2 years ago

    Ctrl-S? Are you writing code on Windows? 🤮

    • Vlyn@lemmy.zip
      link
      fedilink
      English
      arrow-up
      0
      ·
      2 years ago

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

      Visual Studio Code isn’t the same.

    • knexcar@lemmy.world
      link
      fedilink
      English
      arrow-up
      0
      ·
      2 years 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.

      • wewbull@feddit.uk
        link
        fedilink
        English
        arrow-up
        0
        ·
        2 years ago

        Yeah! It’s also Emacs

  • palarith@aussie.zone
    link
    fedilink
    English
    arrow-up
    0
    ·
    2 years ago

    sync

    sync

    sync

    • Victor@lemmy.world
      link
      fedilink
      arrow-up
      0
      ·
      2 years ago

      lol, me when I transfer shit to my USB thumb drive.

    • gazby@lemmy.dbzer0.com
      link
      fedilink
      arrow-up
      0
      ·
      2 years ago

      sync

      ⬆️↩️

      ⬆️↩️

      😂

  • hemko@lemmy.dbzer0.com
    link
    fedilink
    English
    arrow-up
    0
    ·
    2 years ago

    Closing tabs and one of them asks if you want to save changes

  • summerof69@lemm.ee
    link
    fedilink
    arrow-up
    0
    ·
    2 years ago

    I’ve never had to think about that with Intellij IDEA. It just works!

    • lud@lemm.ee
      link
      fedilink
      arrow-up
      0
      ·
      edit-2
      9 months ago

      deleted by creator

Programmer Humor@programming.dev

programmer_humor@programming.dev

Subscribe from Remote Instance

Create a post
You are not logged in. However you can subscribe from another Fediverse account, for example Lemmy or Mastodon. To do this, paste the following into the search field of your instance: !programmer_humor@programming.dev

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

  • Keep content in english
  • No advertisements
  • Posts must be related to programming or programmer topics
Visibility: Public
globe

This community can be federated to other instances and be posted/commented in by their users.

  • 2.94K users / day
  • 4.62K users / week
  • 8.5K users / month
  • 17.6K users / 6 months
  • 1 local subscriber
  • 30.3K subscribers
  • 2.02K Posts
  • 69.6K Comments
  • Modlog
  • mods:
  • Feyter@programming.dev
  • adr1an@programming.dev
  • BurningTurtle@programming.dev
  • Pierre-Yves Lapersonne@programming.dev
  • BE: 0.19.13
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org