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

Programmer Humor

19709 readers
123 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 115 points 1 year ago (1 children)

All the more reason not to

[–] [email protected] 55 points 1 year ago (1 children)

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

[–] [email protected] 9 points 1 year ago

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

[–] [email protected] 56 points 1 year ago (1 children)

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

[–] [email protected] 8 points 1 year ago

They're getting worse, too

(Assuming my experience is anything to go by)

[–] Buttons 40 points 1 year ago

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

[–] [email protected] 35 points 1 year ago (1 children)

I feel like this popup shows up too often

[–] [email protected] 8 points 1 year 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 8 points 1 year 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!

[–] [email protected] 31 points 1 year ago

No, but I'm gonna run his code anyway

[–] [email protected] 27 points 1 year ago (1 children)

Trust nobody, not even yourself

[–] [email protected] 3 points 1 year ago

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

[–] [email protected] 16 points 1 year ago

that's specifically why i don't trust them

[–] [email protected] 11 points 1 year 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.

[–] [email protected] 5 points 1 year ago

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

[–] [email protected] 4 points 1 year 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.

[–] [email protected] 10 points 1 year 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...

[–] [email protected] 27 points 1 year ago (1 children)

Average Neovim user (I use Neovim btw)

[–] Tsubodai 4 points 1 year ago

Neovim extension for vscode. Love it.

[–] [email protected] 11 points 1 year 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 8 points 1 year ago (1 children)

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

[–] [email protected] 3 points 1 year ago (1 children)

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

[–] [email protected] 3 points 1 year ago (1 children)
[–] [email protected] 4 points 1 year ago (1 children)

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

:(

[–] [email protected] 4 points 1 year 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.

[–] [email protected] 5 points 1 year ago* (last edited 1 year 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.

[–] [email protected] 3 points 1 year 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.

[–] [email protected] 9 points 1 year 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.

[–] [email protected] 25 points 1 year ago (1 children)

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

[–] [email protected] 9 points 1 year ago

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

[–] [email protected] 4 points 1 year ago (1 children)
[–] [email protected] 7 points 1 year ago

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