News for hackers. Stuff that matters.
Re:Things I Regret About Node.js [video] by staticassertion on Wednesday June 06, 2018 @05:06PM (#17251129)
This stuff isn't relevant at all to the talk - he never talks about npm or anything to do with package managers but instead how node does imports etc.

But anyways, [2] is at least a problem in many other package repositories. [1] would probably be a problem for many - given legal pressure (vendor your shit, that's the solution). [3] was a bug, not a design issue - no package management system is immune to bugs.

The one thing Java has is that it uses namespaces, which may help with [2] (but barely). [2] certainly has been a problem in PyPI.

Certainly all of this could happen to PyPI. We see it happen with js more, I think, because js happens to be extremely popular so there's a ton of packages for it and it's also much younger (especially node) than others.

Re:Things I Regret About Node.js [video] by tcheard on Wednesday June 06, 2018 @07:20PM (#17251967)
> This stuff isn't relevant at all to the talk - he never talks about npm or anything to do with package managers but instead how node does imports etc.

He does have it in his slides.

Slide titled: "Regret: package.json", last 2 points:

> Ultimately I included NPM in the Node distribution, which much made it the defacto standard.

> It's unfortunate that there is a centralized (privately controlled even) repository for modules.

Re:Things I Regret About Node.js [video] by staticassertion on Wednesday June 06, 2018 @07:23PM (#17251991)
Yeah, I remembered the package.json bit, but that part still had nothing related to the issues/ mistakes mentioned.
Re:Things I Regret About Node.js [video] by tcheard on Wednesday June 06, 2018 @07:26PM (#17252004)
Understood, sorry I wasn't trying to dispute any of your points about said issues/mistakes.

Just trying to clarify that he does actually talk about NPM and his regret about it.

Re:Things I Regret About Node.js [video] by staticassertion on Wednesday June 06, 2018 @07:36PM (#17252057)
Yeah, I actually only remembered the bit about 'package.json' and not the other quotes as well lol