lemmyland
  • Communities
  • Create Post
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
heuristic_lemur@lemmy.ml to Programmer Humor@programming.dev · 1 day ago

Copilot can't exit vim

lemmy.ml

message-square
135
link
fedilink
812

Copilot can't exit vim

lemmy.ml

heuristic_lemur@lemmy.ml to Programmer Humor@programming.dev · 1 day ago
message-square
135
link
fedilink
alert-triangle
You must log in or # to comment.
  • 🌞 Alexander Daychilde 🌞@lemmy.world
    link
    fedilink
    English
    arrow-up
    2
    ·
    8 minutes ago

    I’m sorry, Dave. I’m afraid I can’t exit vim.

  • otter@lemmy.dbzer0.com
    link
    fedilink
    English
    arrow-up
    27
    ·
    7 hours ago

    This is how we trap it. This is how we win.

    • AmanitaCaesarea@slrpnk.net
      link
      fedilink
      arrow-up
      11
      ·
      6 hours ago

      This is how we vim😏

    • GreenShimada@lemmy.world
      link
      fedilink
      arrow-up
      11
      ·
      6 hours ago

      Are you sure? It looks like this is going “Hey, I can’t get the front door open to the house, so I called the cops and told them I was being held hostage so they would break down the door with a battering ram.”

      How long is it before CoPilot can’t exit vim and just deletes vim as the solution?

  • BlushedPotatoPlayers@sopuli.xyz
    link
    fedilink
    arrow-up
    9
    ·
    10 hours ago

    If you use nvim you don’t exit you open a float terminal. Why would you exit?

  • Captain Aggravated@sh.itjust.works
    link
    fedilink
    English
    arrow-up
    13
    ·
    11 hours ago

    It has achieved the same level of awareness as the average emacs user.

  • khánh@lemmy.zip
    link
    fedilink
    arrow-up
    2
    ·
    8 hours ago

    deleted by creator

  • electric_nan@lemmy.ml
    link
    fedilink
    arrow-up
    28
    ·
    16 hours ago

    Just like me fr

  • Jhex@lemmy.world
    link
    fedilink
    arrow-up
    78
    ·
    20 hours ago

    This is the closest I have seen Copilot doing something like a human Programmer would

  • herseycokguzelolacak@lemmy.ml
    link
    fedilink
    arrow-up
    91
    ·
    22 hours ago

    Ok this proves that AI has reaches human level intelligence.

  • UnderpantsWeevil@lemmy.world
    link
    fedilink
    English
    arrow-up
    36
    ·
    20 hours ago

  • mcv@lemmy.zip
    link
    fedilink
    arrow-up
    31
    ·
    20 hours ago

    I often see Copilot get stuck in a nonresponsive shell after it used cat > file. It’s hilarious to watch the first time, but I’m a bit tired of it by now. Why doesn’t it just edit files like it normally does?

    • Evotech@lemmy.world
      link
      fedilink
      arrow-up
      1
      ·
      6 hours ago

      Claus Weill often write a python script to update a file. It’s pretty funny.

    • pinball_wizard@lemmy.zip
      link
      fedilink
      arrow-up
      8
      ·
      15 hours ago

      Why doesn’t it just edit files like it normally does?

      Haha. Yes.

      But it does everything the most probable way, according to all the stack overflow it has swallowed.

      Sometimes that way makes sense. Sometimes not.

      • raman_klogius@ani.social
        link
        fedilink
        English
        arrow-up
        1
        ·
        13 hours ago

        Because efficiency is never the point. All gimmicks of “artificial intelligence” throughout history is how automatons do things the way humans do it, with human interface. The mechanical turk, the robot maids of the 70s, etc.

        • pinball_wizard@lemmy.zip
          link
          fedilink
          arrow-up
          5
          ·
          12 hours ago

          The mechanical turk, the robot maids of the 70s, etc.

          Yes.

          But I’m a little sad that I still can’t buy a robot maid or butler.

          I figured they would exist by now, for about the price of a vacuum.

          I’m not demanding that they actually be any good. We could just program them to quote “The Jetsons” and do some simple vacuum pathing, or deliver a tray full of drinks.

          • 🌞 Alexander Daychilde 🌞@lemmy.world
            link
            fedilink
            English
            arrow-up
            1
            ·
            10 minutes ago

            Failures are making occasional news, but bots are getting better at walking. Doing useful tasks will be a few more years, but I think it’s coming.

  • Cevilia (they/she/…)@lemmy.blahaj.zone
    link
    fedilink
    English
    arrow-up
    121
    arrow-down
    1
    ·
    1 day ago

    Every computer has a built-in “exit vim” button, conveniently located on the chassis, usually next to the power cord. Flick it to 0, then back to 1, and you’ll find vim has been successfully exited. :)

    • four@lemmy.zip
      link
      fedilink
      English
      arrow-up
      46
      ·
      22 hours ago

      What if my PC boots straight into Vim? It’s not like I need anything else, can do everything in Vim

      • HugeNerd@lemmy.ca
        link
        fedilink
        arrow-up
        3
        ·
        11 hours ago

        Oh it’s like Zombo?

        • JackbyDev@programming.dev
          link
          fedilink
          English
          arrow-up
          1
          ·
          6 hours ago

          Zombo.com

        • plyth@feddit.org
          link
          fedilink
          English
          arrow-up
          1
          ·
          10 hours ago

          Not anymore.

      • enumerator4829@sh.itjust.works
        link
        fedilink
        English
        arrow-up
        21
        ·
        20 hours ago

        Jokes aside, vim as PID 1 is just a bad idea.

        Emacs on the other hand: https://github.com/emacs-os/el-init

        • GenosseFlosse@feddit.org
          link
          fedilink
          arrow-up
          7
          ·
          16 hours ago

          That’s a great idea from GitHub user el-sloppo and Claude.

          • A7thStone@lemmy.world
            link
            fedilink
            arrow-up
            1
            ·
            13 hours ago

            Did you read the retrospective.md

            • Cevilia (they/she/…)@lemmy.blahaj.zone
              link
              fedilink
              English
              arrow-up
              7
              ·
              11 hours ago

              AI;DR

        • Goodlucksil@lemmy.dbzer0.com
          link
          fedilink
          arrow-up
          6
          ·
          19 hours ago

          That settles it. Emacs is better than Vim

          • 🌞 Alexander Daychilde 🌞@lemmy.world
            link
            fedilink
            English
            arrow-up
            1
            ·
            9 minutes ago

            I bet this comment actually pissed off some people. Lol

        • the rizzler@lemmygrad.ml
          link
          fedilink
          arrow-up
          1
          ·
          16 hours ago

          https://raymii.org/s/blog/Vim_as_PID_1_Boot_to_Vim.html

      • mghackerlady@leminal.space
        link
        fedilink
        arrow-up
        3
        ·
        20 hours ago

        Can vim be pid-1? No? emacs can B)

        • the rizzler@lemmygrad.ml
          link
          fedilink
          arrow-up
          3
          ·
          16 hours ago

          https://raymii.org/s/blog/Vim_as_PID_1_Boot_to_Vim.html

      • Cevilia (they/she/…)@lemmy.blahaj.zone
        link
        fedilink
        English
        arrow-up
        3
        arrow-down
        1
        ·
        22 hours ago

        mmmkay.

    • SavinDWhales@lemmy.world
      link
      fedilink
      arrow-up
      3
      ·
      21 hours ago

      You simply need to set up a MCP server which controls the smart plug and give the AI access to it.

      • Cevilia (they/she/…)@lemmy.blahaj.zone
        link
        fedilink
        English
        arrow-up
        1
        ·
        10 hours ago

        I don’t even know what a MCP server is and I feel like I’ve somewhat dodged a bullet there. Ignorance is bliss. :)

  • 1984@lemmy.today
    link
    fedilink
    arrow-up
    21
    ·
    19 hours ago

    First funny thing ive seen Microslop Copilot do…

  • Feyter@programming.devM
    link
    fedilink
    arrow-up
    214
    arrow-down
    2
    ·
    1 day ago

    No one can exit vim. It’s simply not possible.

    There are even legends that the devil himself was onced tricked into opening vim and is stuck there since.

    • affenlehrer@feddit.org
      link
      fedilink
      arrow-up
      97
      ·
      1 day ago

      That explains the many vim enthusiasts that don’t want any other editor. They simply can’t exit the vim instance they once accidentally opened…

      • cloudy1999@sh.itjust.works
        link
        fedilink
        arrow-up
        5
        ·
        17 hours ago

        Vimmer here, this one’s right: I’ve been stuck since 2003.

      • BlackVenom@lemmy.world
        link
        fedilink
        English
        arrow-up
        9
        ·
        19 hours ago

        Stockholm Editor

      • wewbull@feddit.uk
        link
        fedilink
        English
        arrow-up
        37
        ·
        1 day ago

        The Eagles called it Hotel California.

        • hakunawazo@lemmy.world
          link
          fedilink
          arrow-up
          22
          ·
          23 hours ago

          “We are all just prisoners here of our own device”
          So true, so true.

    • Bakkoda@lemmy.world
      link
      fedilink
      arrow-up
      21
      arrow-down
      1
      ·
      1 day ago

      You just reboot. Right?

      • debil@lemmy.world
        link
        fedilink
        arrow-up
        3
        ·
        10 hours ago
        :!sudo reboot
        
      • Hossenfeffer@feddit.uk
        link
        fedilink
        English
        arrow-up
        19
        arrow-down
        1
        ·
        24 hours ago

        “… and that’s why I need you to take the power plant offline.”

        • plyth@feddit.org
          link
          fedilink
          English
          arrow-up
          1
          ·
          10 hours ago

          “… and that’s why I need you to take the power plants offline.”

          For those who don’t live in the US and have an electical grid with more than one power plant.

  • Malix@sopuli.xyz
    link
    fedilink
    arrow-up
    105
    arrow-down
    1
    ·
    1 day ago

    so human of it!

    • heuristic_lemur@lemmy.mlOP
      link
      fedilink
      arrow-up
      51
      arrow-down
      1
      ·
      1 day ago

      Isn’t it? I can’t decide whether I believe this is an easter egg

      • wheezy@lemmy.ml
        link
        fedilink
        English
        arrow-up
        46
        ·
        1 day ago

        If it was trained properly on Internet data it would just respond with “you can’t”

        • Barbecue Cowboy@lemmy.dbzer0.com
          link
          fedilink
          English
          arrow-up
          17
          ·
          1 day ago

          If you need to exit vim, just open a new terminal and reboot the machine.

          • Chakravanti@monero.town
            link
            fedilink
            English
            arrow-up
            1
            ·
            1 day ago

            I don’t often see folks with such well earned nicks. Usually for dinner not to be, but that’s rather why I’m here.

  • weimaraner_of_doom@piefed.social
    link
    fedilink
    English
    arrow-up
    74
    arrow-down
    1
    ·
    1 day ago

    Instructions: “Next, open the .config file in vim…”

    Me:

    • BluescreenOfDeath@lemmy.world
      link
      fedilink
      English
      arrow-up
      57
      arrow-down
      4
      ·
      1 day ago

      What a weird way to spell nano

      • littlewonder@lemmy.world
        link
        fedilink
        arrow-up
        1
        ·
        14 hours ago

        Move over, my friends are here.

      • weimaraner_of_doom@piefed.social
        link
        fedilink
        English
        arrow-up
        28
        arrow-down
        7
        ·
        1 day ago

        Nano is the proper tool for this job.

        • null@piefed.nullspace.lol
          link
          fedilink
          English
          arrow-up
          8
          arrow-down
          1
          ·
          20 hours ago

          I prefer micro, but I never use it because my brain just autotypes nano and then it’s too late I’m already in

          • p4rzivalrp2@piefed.social
            link
            fedilink
            English
            arrow-up
            1
            ·
            9 hours ago

            You could alias nano to micro

        • thethunderwolf@lemmy.dbzer0.com
          link
          fedilink
          English
          arrow-up
          10
          ·
          24 hours ago

          neovim

          but

          use whatever you like

    • SpaceNoodle@lemmy.world
      link
      fedilink
      arrow-up
      1
      arrow-down
      1
      ·
      1 day ago

      *Vim

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.26K users / day
  • 3.62K users / week
  • 7.89K users / month
  • 18.1K users / 6 months
  • 1 local subscriber
  • 31K subscribers
  • 2.24K Posts
  • 85.3K Comments
  • Modlog
  • mods:
  • Feyter@programming.dev
  • adr1an@programming.dev
  • BurningTurtle@programming.dev
  • Pierre-Yves Lapersonne@programming.dev
  • BE: 0.19.15
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org