this post was submitted on 01 Dec 2025
1282 points (99.0% liked)

Programmer Humor

27690 readers
289 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
 
you are viewing a single comment's thread
view the rest of the comments
[–] onlinepersona@programming.dev 33 points 6 days ago (2 children)

Development should really happen more in containers but I hate devcontainers. It's very VScode specific and any customizations I made to my shell and environment are wiped away. It has trouble accessing my ssh keys in the agent, and additional tools I installed...

I just wish nix/nixos had a safer solution for it. Maybe even firejail or bwrap or landlock or something.

We laugh about AI deleting all the shit, but every day there's a new npm package ready to exfiltrate all your data, upload it to a server and encrypt your home. How do you protect yourself against that?

[–] grue@lemmy.world 13 points 6 days ago (1 children)

We laugh about AI deleting all the shit, but every day there's a new npm package ready to exfiltrate all your data, upload it to a server and encrypt your home. How do you protect yourself against that?

Yes, by not using npm either.

[–] onlinepersona@programming.dev 12 points 6 days ago (1 children)

That's a meme response. I can snicker, but it really doesn't solve anything.

[–] grue@lemmy.world 1 points 5 days ago* (last edited 5 days ago) (2 children)

I'm absolutely serious, though: JavaScript should be considered harmful and abolished in its entirety. This is only one reason among many.

(Granted, libraries for other programming languages could have the same issue, in theory; however, programmers of most other languages don't have a culture of adding dependencies willy-nilly to the same extent JavaScript devs seem to.)

[–] onlinepersona@programming.dev 2 points 5 days ago

Javascript just made it very easy to add libraries. I bet you if it C++ had an ecosystem as easy to use as Javascript, it would be the wildest mess you could imagine. Someone would create a package chock full of generics that sends your credentials to a foreign server during compilation but output a completely fine binary. But making dependency management easy in C++ would kill the elitist allure to the language and we can't have that now, can we?

[–] Miaou@jlai.lu 1 points 5 days ago* (last edited 5 days ago)

Every fucking language besides C++ has a proper package manager people use constantly. And conan exists for c++ if you want to push the definition of "proper"

Replace JS with ocaml Haskell anything dotnet java go rust python ruby etc. if you prefer.

[–] Corngood@lemmy.ml 3 points 5 days ago* (last edited 5 days ago)

I try to use firejail on nixos when I can't do something in the build sandbox.

It's painful, and I'm always on the lookout for something better. I'd at least like a portal-ish system where I can easily add things to a sandbox while it's running.

Edit: if anyone has any issues or discussions about this I'd like to contribute.