×
Login Register an account
Top Submissions Explore Upgoat Search Random Subverse Random Post Colorize! Site Rules Donate
4

Should I trust this node version manager?

submitted by x0x7 to programming 5 monthsJan 10, 2025 19:33:11 ago (+4/-0)     (github.com)

https://github.com/Schniz/fnm



8 comments block


[ - ] SithEmpire 1 point 5 monthsJan 10, 2025 23:40:47 ago (+1/-0)

Maybe if the source looks sane and you compile it yourself, but moreover the whole idea is kinda gay.

First reason is that you don't need a whole program to switch a runtime version. A symlink does the job, and surely more robustly than introducing something foreign instead of using the filesystem features as intended.

Moreover, if I have multiple runtimes, I like to deploy them myself in a custom location and make a set of symlinks. That lets me start any version conveniently without running some change-version command first.

[ - ] x0x7 [op] 1 point 5 monthsJan 11, 2025 07:44:08 ago (+1/-0)*

Nobody saw it.

I agree with you in practice because that's what I do. But it is sometimes a pain. I think the real argument for this is people who want a slick way (way to much of that in the node world) to test their code against a lot of node versions if they are doing open source.

It should be a pretty niche tool for very few people, because most of us are just running the newest version.

The question is why wouldn't people who are constantly testing code against multiple sources not already having every version installed on their system and able to handle symlinks?

Voat's jewdar is completely broken.

The other reason stuff like this exists is because people want to install software with a package manager, and Ubuntu chooses to only supply a version that is 6 years old. So they wrote a package manager to install a single software instead of using Arch.

[ - ] Sector2 0 points 5 monthsJan 10, 2025 21:05:48 ago (+0/-0)

Trust but verify.

[ - ] lord_nougat 0 points 5 monthsJan 10, 2025 21:18:24 ago (+0/-0)

Trust it with your life.

What could possibly go wrong?

[ - ] FuckShitJesus 0 points 5 monthsJan 10, 2025 22:03:30 ago (+0/-0)

Trust nothing. Question everything. Read and understand as much as you can. Make your own informed opinion.

[ - ] Trope 0 points 5 monthsJan 10, 2025 23:25:50 ago (+0/-0)

Nothing good comes from GitHub,

[ - ] PotatoWhisperer2 0 points 5 monthsJan 11, 2025 00:55:16 ago (+0/-0)

Github is a mixed bag. Lots of CS students have to dump code there for their classes, so it gets cluttered with random garbage constantly. Lots and lots of jeets, nigs, fags, and women dumping even more useless code as well.

Some stuff is ok. Assuming you can't be assed to write it yourself, it's a one-off thing, and you don't rely on it for anything important.

[ - ] duke_cannon 0 points 5 monthsJan 11, 2025 12:29:10 ago (+0/-0)

No