this post was submitted on 28 Nov 2023
805 points (98.6% liked)

Programmer Humor

19315 readers
124 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 32 comments
sorted by: hot top controversial new old
[–] [email protected] 107 points 10 months ago (1 children)

All the more reason not to

[–] cmbabul 54 points 10 months ago (1 children)

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

[–] [email protected] 9 points 10 months ago

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

[–] marcos 55 points 10 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?

[–] [email protected] 8 points 10 months ago

They're getting worse, too

(Assuming my experience is anything to go by)

[–] [email protected] 37 points 10 months 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] 30 points 10 months ago

No, but I'm gonna run his code anyway

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

Trust nobody, not even yourself

[–] [email protected] 3 points 10 months ago

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

[–] [email protected] 16 points 10 months ago

that's specifically why i don't trust them

[–] [email protected] 11 points 10 months ago (1 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 10 months ago

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

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

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

Average Neovim user (I use Neovim btw)

[–] [email protected] 3 points 10 months ago

Neovim extension for vscode. Love it.

[–] agent_flounder 11 points 10 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)

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

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

[–] [email protected] 3 points 10 months ago (1 children)
[–] 9point6 4 points 10 months ago (1 children)

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

:(

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

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

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

[–] [email protected] 9 points 10 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 24 points 10 months ago (1 children)

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

[–] [email protected] 9 points 10 months ago

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

[–] [email protected] 4 points 10 months ago (1 children)
[–] Boxman753 7 points 10 months ago

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