1818
Don't be that guy. (lemmy.world)
submitted 1 year ago* (last edited 1 year ago) by hperrin@lemmy.world to c/opensource@lemmy.ml

When you're talking to an open source dev, just remember that they are literally giving you their time for free, and they are people who don't like to be treated poorly.

Edit: Just to be clear, I don’t mean any ill will toward the guy. He’s frustrated and he’s just taking it out in the wrong venue at the wrong people, but that doesn’t mean he’s a bad person.

Edit 2: The reinstalling he’s talking about is NPM. So just running npm install. It’s because he tried removing the node_modules directory, which is a reasonable thing to do, but it means you need to reinstall the modules with that command.

you are viewing a single comment's thread
view the rest of the comments
[-] demesisx@infosec.pub 14 points 1 year ago* (last edited 1 year ago)

Don’t be that second guy, use Nix.

I agree with OP, but the whole confrontation could’ve been avoided in the first place if all dependencies were spelled out to the letter in the form of a flake.nix with the latest accompanying flake.lock file.

[-] Ashiette 154 points 1 year ago

I swear Nix users are the mormons of the Linux world.

[-] AlmightySnoo@lemmy.world 47 points 1 year ago

They're worse than us Arch users (btw)

[-] fl42v@lemmy.ml 9 points 1 year ago

As a former arch user, I advocate for both XD

[-] natecox@programming.dev 25 points 1 year ago

I’m a nix user and I’m disappointed by how apt this comparison is.

[-] noodlejetski@lemm.ee 23 points 1 year ago
[-] Trail@lemmy.world 6 points 1 year ago
[-] noodlejetski@lemm.ee 3 points 1 year ago

I SEE WHAT YOU DID THERE KIND SIR I DID GET YOUR SUBTLE REFERENCE

[-] ParetoOptimalDev@lemmy.today 14 points 1 year ago

Yes, but one of our promises is real... Just a real pain in the ass sometimes.

[-] Abnorc@lemm.ee 5 points 1 year ago

Are you saying that I will get my own planet if I use Nix?

[-] demesisx@infosec.pub 8 points 1 year ago

Guilty. But substitute Mormonism with the proper way to do things.

[-] Froyn@kbin.social 21 points 1 year ago

That just sounds like Amish with more tech.

[-] demesisx@infosec.pub 6 points 1 year ago
[-] hperrin@lemmy.world 53 points 1 year ago

It’s a frontend JavaScript UI library. I can’t control what other dependencies people install alongside my library, or even whether they follow my library’s dependency list.

[-] ParetoOptimalDev@lemmy.today 8 points 1 year ago

Isn't package.json for controlling what dependency versions people install with?

I think I'm missing something.

[-] hperrin@lemmy.world 15 points 1 year ago* (last edited 1 year ago)

Yes, and I have a package.json that lists dependencies and the versions I test with. You can force a different version though. I don’t think that’s what happened here. I’m guessing it’s a version of some dependency that should work, because it was released as a minor version within the range I specified, but doesn’t actually work.

It could also be an issue with the build system/bundler, which I can’t really control either.

[-] jjjalljs@ttrpg.network 8 points 1 year ago

Yeah JavaScript is a horrible language and ecosystem in a lot of ways, but package.json and friends don't really give me much trouble.

And even if you hose something, you should be able to clear it out and reinstall easily.

I'm assuming the maintainer didn't (knowingly) make a breaking change in a minor/patch release. That's a high crime.

[-] DarkenLM@kbin.social 8 points 1 year ago

It's way worse on C and it's family. I still have nightmares with undocumented embedded dependencies that are so intertwined with the codebase that make JS look like a godsend.

[-] demesisx@infosec.pub 8 points 1 year ago

Are you sure about that?

[-] taladar@sh.itjust.works 10 points 1 year ago

Don't be the guy who ignores reports that your software doesn't work with new dependency versions just because you can't be arsed to test with anything else even if the report looks like a legitimate problem.

[-] TimeSquirrel@kbin.social 43 points 1 year ago

If you're not paying somebody, don't expect anything. You want shit done on your time, then cough up some compensation.

[-] hperrin@lemmy.world 20 points 1 year ago

I have been testing with the original reporter of the problem. This guy came in, said he had the same problem, then cursed at me.

[-] taladar@sh.itjust.works 7 points 1 year ago

That was less directed at you and more at the idea that just pinning versions solves the issue which is unfortunately very frequent among proponents of things like vendoring, nix, Docker containers and similar tools that allow a project to stay on an old version for potentially years. Sorry if that came across that way.

[-] null@slrpnk.net 7 points 1 year ago

Upvoted in Nix solidarity. One day they'll understand.

[-] demesisx@infosec.pub 10 points 1 year ago

I think it’s funny. We are the new “I use Arch, BTW” and I’m happy to embrace it.

[-] null@slrpnk.net 4 points 1 year ago

I just hate having to re-configure all my stuff whenever I set up a new box 🤷

[-] demesisx@infosec.pub 4 points 1 year ago

Agreed. That and I hate Docker with a burning passion.

[-] jadedwench@lemmy.world 2 points 1 year ago

As someone who is out of the loop a lot, what is it about Docker that you hate? What do you use instead?

It took me weeks to wrap my head around it, but now I enjoy being able to spin something up without too much work. At work we have the whole CICD thing with Docker and K8, but I am pretty far removed from what they have to do in the run files.

What other kinds of workflows do people use these days?

[-] demesisx@infosec.pub 2 points 1 year ago

Nix flakes are all I need to completely replace Docker.

this post was submitted on 11 Jan 2024
1818 points (100.0% liked)

Open Source

35384 readers
82 users here now

All about open source! Feel free to ask questions, and share news, and interesting stuff!

Useful Links

Rules

Related Communities

Community icon from opensource.org, but we are not affiliated with them.

founded 5 years ago
MODERATORS