this post was submitted on 28 Nov 2023
823 points (98.5% liked)

Programmer Humor

18292 readers
1434 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 1 year ago
MODERATORS
 
all 33 comments
sorted by: hot top controversial new old
[–] odium@programming.dev 113 points 7 months ago (1 children)

All the more reason not to

[–] cmbabul@lemmy.world 54 points 7 months ago (1 children)

I trust me to not steal from me, I do not trust me to write good code

[–] rostby@lemmy.fmhy.net 8 points 7 months ago

My code does exactly what I programmed it to do, not what I want it to do

[–] marcos@lemmy.world 55 points 7 months ago (1 children)

Trust the author? Are you crazy? Do you have any idea how many dumb mistakes I've caught the author doing?

[–] flambonkscious@sh.itjust.works 8 points 7 months ago

They're getting worse, too

(Assuming my experience is anything to go by)

[–] Buttons@programming.dev 39 points 7 months ago

To avoid running code that might steal your data for profit, only run official code that will still your data for profit.

[–] open_world@lemmy.world 34 points 7 months ago (1 children)

I feel like this popup shows up too often

[–] technojamin@lemmy.world 8 points 7 months ago (1 children)

If you have a common folder that you clone projects to (like OP’s ~/coding), then that checkbox lets you trust that whole folder easily when this pop up comes up.

[–] Tsubodai@programming.dev 8 points 7 months ago

I have a coding folder "repos". It's on a remote machine though and I get this every time I connect to my code folder using a new remote host. So annoying!

[–] Doug@midwest.social 31 points 7 months ago

No, but I'm gonna run his code anyway

[–] neurospice@lemmy.dbzer0.com 27 points 7 months ago (1 children)

Trust nobody, not even yourself

[–] at_an_angle@lemmy.one 3 points 7 months ago

I don't trust anybody. Hell, I don't even trust myself. 🧛🏻‍♂️

[–] cupcakezealot@lemmy.blahaj.zone 16 points 7 months ago

that's specifically why i don't trust them

[–] MargotRobbie@lemm.ee 11 points 7 months ago (2 children)

In general, drunk me is the last person I would ever trust with literally anything.

It's like waking up in the morning and reading your own drunk text messages.

[–] psud@aussie.zone 5 points 7 months ago

Hits Balmer point, accidentally makes malware. A modern Jekyll and Hyde

[–] TheFriendlyArtificer@beehaw.org 4 points 7 months ago

My wife got prescribed Ambien a few weeks ago. She took one, completely forgot about it, and 45 minutes later had a glass of wine with me while watching Taskmaster.

She then became convinced that she was actually on the show and went around the house asking me to time her doing random stuff. Th next morning she had zero memory and was floored when I showed her the video.

[–] z3rOR0ne@lemmy.ml 10 points 7 months ago (3 children)

What is this, a VSCode message? I use NeoVim on Linux and can only vaguely recall such a message from a time long ago...in a galaxy far far away...

[–] backhdlp@lemmy.blahaj.zone 27 points 7 months ago (1 children)

Average Neovim user (I use Neovim btw)

[–] Tsubodai@programming.dev 4 points 7 months ago

Neovim extension for vscode. Love it.

[–] agent_flounder@lemmy.world 11 points 7 months ago (3 children)

Yeah vscode.

Today's stupid question: are vim and neovim not the same thing? I just type vi (ancient habit) and use whatever it is that executes. (I can go search but interacting here is more fun lol)

[–] Dhs92@programming.dev 8 points 7 months ago (1 children)

I believe neovim is just a fork of vim that's still updated and has support for more modern features.

[–] 9point6@lemmy.world 3 points 7 months ago (1 children)

FWIW I think vim is also still updated, there was a release this year I believe

[–] emptiestplace@lemmy.ml 3 points 7 months ago (1 children)
[–] 9point6@lemmy.world 4 points 7 months ago (1 children)

oh.... oh shit. That had somehow slipped my mind

:(

[–] emptiestplace@lemmy.ml 4 points 7 months ago

Yeah, it doesn't make a lot of sense. People talk about "when Linus dies", and obviously that will be devastating, but in my mind Bram just was. I wish I'd made a point of meeting him, or at least sending him an email to say thanks. Not for vim specifically, though I will probably use it until my fingers quit working. As with countess others, Bram inspired me to learn about ICCF Holland, and from there I had the privilege of supporting a child in Uganda through school. That's what I'd want to thank him for. And vim.

[–] 1984@lemmy.today 5 points 7 months ago* (last edited 7 months ago)

Neovim is better in many ways, and because it has lua support, it's so much easier to write plugins for it. So there are thousands of plugins right now, and entire neovim distributions that are configured to work like an IDE, like Lazyvim for example.

https://www.lazyvim.org/

I'm a huge fan and I have written plugins myself since it's easy and rewarding.

But on the server, I don't bother installing neovim. Ordinary vim is fine for simple editing tasks. But if you want a customized experience to replace VS Code on your computer, you want neovim and not vim.

[–] z3rOR0ne@lemmy.ml 3 points 7 months ago

Neovim is a fork of Vim. It uses Lua for configuration instead of the original Vim's VimScript, but still has a lot of interoperability with original Vim plugins and configuration options.

[–] xmunk@sh.itjust.works 9 points 7 months ago (1 children)

Random question... RPI, in my jargon, stands for role-play intensive, and it's a category of MUD engines... are you working on such a project? Because I'm probably in the commit history, and that'd tickle me.

[–] Pirasp@lemmy.world 25 points 7 months ago (1 children)

It most likely stands for raspberry Pi, sorry to disappoint you...

[–] xmunk@sh.itjust.works 9 points 7 months ago

Sadness, one can dream... one can dream.

[–] mariusafa@lemmy.sdf.org 4 points 7 months ago (1 children)
[–] Boxman753@lemmy.world 7 points 7 months ago

Something that appears in Visual Studio Code, and i assume that in Visual Studio as well.