this post was submitted on 15 Apr 2026
624 points (98.3% liked)

Programmer Humor

30991 readers
745 users here now

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

founded 2 years ago
MODERATORS
 
top 50 comments
sorted by: hot top controversial new old
[–] otter@lemmy.dbzer0.com 48 points 2 days ago (2 children)

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

[–] AmanitaCaesarea@slrpnk.net 27 points 2 days ago

This is how we vim😏

[–] GreenShimada@lemmy.world 16 points 2 days ago (1 children)

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?

[–] otter@lemmy.dbzer0.com 5 points 2 days ago

I hope it does delete vim with itself inside it. Yesplease.

[–] daychilde@lemmy.world 13 points 2 days ago

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

[–] Feyter@programming.dev 157 points 3 days ago (2 children)

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 70 points 3 days ago (3 children)

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...

[–] wewbull@feddit.uk 31 points 3 days ago (1 children)

The Eagles called it Hotel California.

[–] hakunawazo@lemmy.world 18 points 3 days ago

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

[–] BlackVenom@lemmy.world 10 points 3 days ago

Stockholm Editor

load more comments (1 replies)
[–] Bakkoda@lemmy.world 19 points 3 days ago (2 children)
[–] Hossenfeffer@feddit.uk 16 points 3 days ago (1 children)

"... and that's why I need you to take the power plant offline."

load more comments (1 replies)
load more comments (1 replies)
[–] Cevilia@lemmy.blahaj.zone 91 points 3 days ago (3 children)

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 39 points 3 days ago (5 children)

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

[–] enumerator4829@sh.itjust.works 22 points 3 days ago (4 children)

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 8 points 2 days ago (6 children)

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

load more comments (6 replies)
load more comments (3 replies)
[–] HugeNerd@lemmy.ca 6 points 2 days ago (3 children)
load more comments (3 replies)
load more comments (2 replies)
[–] Jhex@lemmy.world 58 points 3 days ago

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

Ok this proves that AI has reaches human level intelligence.

[–] Malix@sopuli.xyz 82 points 3 days ago (1 children)
[–] heuristic_lemur@lemmy.ml 35 points 3 days ago (1 children)

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

[–] wheezy@lemmy.ml 34 points 3 days ago (2 children)

If it was trained properly on Internet data it would just respond with "you can't"

load more comments (2 replies)
[–] electric_nan@lemmy.ml 28 points 2 days ago

Just like me fr

[–] UnderpantsWeevil@lemmy.world 35 points 3 days ago
[–] seedlord_com@lemmy.zip 5 points 2 days ago (1 children)

Well, it has to earn its stripes just like the rest of us in IT! No shortcuts, even for an LLM. :D

[–] noughtnaut@lemmy.world 1 points 1 day ago* (last edited 1 day ago)

When I first got into BSD (way before Linux) I found man pages useful... but no way to leave them. Not even man man won't tell you how to exit a man page!

So I world tinker, eventually needing a man page, reading what I needed -- and then hard power cycle the machine. -_-

I was pretty good with computers, but that was a humbling experience. You just don't know what you don't know, and if you can't ask... sometimes you just get stuck. Just like in KQ, LSL, SQ, ... The Internet is (was) a blessing.

[–] weimaraner_of_doom@piefed.social 50 points 3 days ago (2 children)

Instructions: "Next, open the .config file in vim..."

Me:

[–] BluescreenOfDeath@lemmy.world 33 points 3 days ago (2 children)

What a weird way to spell nano

[–] weimaraner_of_doom@piefed.social 16 points 3 days ago (3 children)

Nano is the proper tool for this job.

load more comments (3 replies)
load more comments (1 replies)
load more comments (1 replies)
[–] mcv@lemmy.zip 28 points 3 days ago (2 children)

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?

[–] pinball_wizard@lemmy.zip 9 points 2 days ago (3 children)

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.

load more comments (3 replies)
load more comments (1 replies)

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

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

[–] bizza@lemmy.zip 20 points 3 days ago

Blowing through all those tokens failing to exit a vim

[–] 1984@lemmy.today 14 points 3 days ago

First funny thing ive seen Microslop Copilot do...

[–] kSPvhmTOlwvMd7Y7E@programming.dev 21 points 3 days ago (5 children)
[–] panda_abyss@lemmy.ca 49 points 3 days ago (4 children)

If it’s a read only file it won’t work, but it might be in insert mode and can’t escape.

It should have tried :q!

load more comments (4 replies)
load more comments (4 replies)
[–] inari@piefed.zip 18 points 3 days ago
load more comments
view more: next β€Ί