News for hackers. Stuff that matters.
Re:The rise of few-maintainer projects by pdonis on Saturday May 25, 2019 @03:38PM (#20010852)
> It is like giving up volunteer work to another volunteer

But without making it clear to anyone else in the volunteer community that that's what you've done. In other words, using your garden analogy, a weary volunteer potato farmer whose potatoes feed a lot of people is approached by another volunteer who wants to take over maintenance of the potatoes. The weary volunteer gives it to him, but doesn't tell any of the people who rely on his potatoes for food. The new volunteer puts a harmful substance in the potatoes and lots of people get very sick, because they thought the potatoes were still being maintained by the first volunteer, who they knew and trusted; they had no idea that the potatoes were now being maintained by a newcomer who they didn't know and whose trustworthiness they had no way to evaluate.

Re:The rise of few-maintainer projects by josteink on Saturday May 25, 2019 @04:15PM (#20011096)
> But without making it clear to anyone else in the volunteer community that that's what you've done.

You mean like pretty much 100% of everything else going on in a typical open source community?

I’d wager at least 99.99% of the users don’t even knows who or how many maintains a piece of software, nor if updates are based on external patches or (core) internal development.

They just sit there entitled and expect free (gratis) software which works for them without providing anything in return.

I’m not saying that because I’m a bitter maintainer, but it’s just a fact of life.

You couldn't inform these users about any changes at all even if you wanted to, because they’re simply not involved and they never will be.

Anyway, if they cared, if they were somewhat involved, they would know. As it stands, it’s their own fault for blindly trusting random code from the internet.

And really: mostly changing maintainer for a new, more motivated one usually works out better, even for these users, so why should the burnt out previous maintainer feel bad about this?

Re:The rise of few-maintainer projects by pdonis on Saturday May 25, 2019 @08:50PM (#20012442)
> I’d wager at least 99.99% of the users don’t even knows who or how many maintains a piece of software

I'm not talking about users. I'm talking about other developers who are using the package, and who deserve to know when the package's maintainer changes.

> it’s their own fault for blindly trusting random code from the internet

Developers aren't trusting random code from the internet; they're trusting a particular package maintained by a particular person who, from past experience, they have reason to trust. But if that maintainer hands the project over to someone else without telling all those other developers, that's betraying the trust those other developers put in that maintainer.

> mostly changing maintainer for a new, more motivated one usually works out better, even for these users, so why should the burnt out previous maintainer feel bad about this?

Because it's the previous maintainer's job to tell other developers when he turns over the job to someone else. Failing to do that means the previous maintainer is basically saying what you said above: it's those other developers' own fault for blindly trusting my code, hahaha, sucks to be you. Is that the ethos you want other open source developers to follow?

Re:The rise of few-maintainer projects by x0x0 on Saturday May 25, 2019 @08:57PM (#20012469)
The majority of developers are freeloaders who deserve exactly what they gave Dominic, ie nothing. If the act of posting code on github creates rights or an obligation to others, it rapidly becomes untenable to do that thing.

It wasn't Dominic's job, because you (and everyone else!) wasn't paying him.

Re:The rise of few-maintainer projects by pdonis on Saturday May 25, 2019 @09:11PM (#20012528)
> If the act of posting code on github creates rights or an obligation to others, it rapidly becomes untenable to do that thing.

He didn't just post the code on github; he had publish rights on npm, which is where node developers are supposed to publish code they want other node developers to use. Lots of other node developers used it. Then he gave the publish rights on npm to someone else and didn't tell anyone.

If you're entirely ok with that, you're basically telling any node developer not to trust npm. Which basically breaks all of node development. Is that your intent?

> It wasn't Dominic's job, because you (and everyone else!) wasn't paying him.

I see you are not clear on the concept of a volunteer job. If lots of people use your code and you don't give them any indication that (a) you're no longer actively maintaining it (as someone noted in the github comment thread, he could have archived the repo long before this happened since he was no longer actively maintaining it and hadn't been for years), and (b) that you gave the npm publish rights to someone else, then, whether you like it or not, it was your job and you failed to do it. You made a promise to all those other developers and then you broke it.

If your argument is that nobody will do open source development for free under those conditions, then there is a lot of evidence over the past few decades to prove you wrong. But nobody is forcing you to do open source development for free under those conditions. It's everyone's free choice whether they're willing to put their code out there and whether they're willing to actively maintain it for free once it's out there. What you can't do is change your mind and not tell anyone. If Dominic realized that he didn't want to commit to maintenance for lots of developers for free, he should have archived the repo to make that clear.

Re:The rise of few-maintainer projects by x0x0 on Saturday May 25, 2019 @11:46PM (#20012963)
> It's everyone's free choice whether they're willing to put their code out there and whether they're willing to actively maintain it for free once it's out there.

Literally not according to you. One 'git push origin master' and our contributor has signed up to your requirements.

Dominic made no promises to anyone -- he offered the world something and said they could use it if they wanted. Full stop.

Re:The rise of few-maintainer projects by pdonis on Saturday May 25, 2019 @11:55PM (#20013011)
> One 'git push origin master' and our contributor has signed up to your requirements.

I made no such claim. Did you read what I actually wrote?

> Dominic made no promises to anyone

Not by putting his code up on github, no. But that's not all he did.

Re:The rise of few-maintainer projects by josteink on Sunday May 26, 2019 @01:59AM (#20013366)
> > Dominic made no promises to anyone

> Not by putting his code up on github, no. But that's not all he did.

I don’t see how putting your code on npm is fundamentally any different.

No one is entitled to free maintenance of gratis software forever, just because someone once said “npm publish”.

That’s not how open source works. It works by people contributing and getting involved, as opposed to entitled freeloading.

Re:The rise of few-maintainer projects by pdonis on Sunday May 26, 2019 @02:17AM (#20013428)
> No one is entitled to free maintenance of gratis software forever, just because someone once said “npm publish”.

I have made no such claim. If he didn't want to maintain it any more, he could have said "npm deprecate" and that would have been fine.

What's not fine is to say "npm publish", then actively maintain the software for years, then decide you don't want to any more (which, in itself, is fine, it's your choice how much effort you want to put in), but not tell anyone, not deprecate, not send any signal that you have changed your commitment to the package--and then hand over publish rights to some random person who emails you, also without telling anyone.

If you think that is fine, then, as I said several posts upthread in response to another poster, you've basically said no developers should ever trust npm, because people who say "npm publish" are making no commitment whatever, not even to say "npm deprecate" if they don't want to maintain the package any more, or to tell anyone if they decide to hand maintenance over to some other random person. That is not how open source works.

Re:The rise of few-maintainer projects by josteink on Sunday May 26, 2019 @04:19AM (#20013770)
> you've basically said no developers should ever trust npm

Nobody should. At least not blindly. You should check what updates are and who made them. On every update.

Anything else is irresponsible and your own god damn fault when things go wrong.

> That is not how open source works.

npm is a proprietary package-repo and has nothing to do with how open source works. You can also easily publish proprietary packages using npm.

Re:The rise of few-maintainer projects by pdonis on Sunday May 26, 2019 @02:00PM (#20016357)
> Nobody should.

Ok, thanks for putting everyone on notice.

> npm is a proprietary package-repo and has nothing to do with how open source works.

So event-stream is not open source?

Re:The rise of few-maintainer projects by thrower123 on Saturday May 25, 2019 @09:01PM (#20012488)
I sorta trust my direct dependencies in node-world and have some idea who is responsible and if they are reputable. But there's approximately 1187 other subpackages nested ad nauseum under those dependencies, and there could be anything at all hidden deep in the bowels of that mess, with some malicious party potentially injecting who knows what.

I hate it, but this is what we have made it. I hope that we aren't getting riddled with backdoors and keyloggers and miners, but I wouldn't want to lay money against it.

Re:The rise of few-maintainer projects by josteink on Sunday May 26, 2019 @02:03AM (#20013380)
My comment applies in general, but yeah node/npm is particularly shit in this regard.

I wonder if the node community will ever revert on the terrible idea that single functions should be separate packages.

I bet moving away from that model would make node dependencies much more sustainable.

Re:The rise of few-maintainer projects by josteink on Sunday May 26, 2019 @01:50AM (#20013354)
> I'm not talking about users. I'm talking about other developers

False dichotomy. Developers are users too.

And trusting random code from the internet is still irresponsible as a developer, maybe even particularly as a developer.

> Developers aren't trusting random code from the internet; they're trusting a particular package

Let’s be honest. They did an act of “npm install gratis shit”, and they don’t give a shit where that code comes from. I.e. blindly trusting code from the internet.

If they expect more without getting involved, they are by definition acting entitled.

Re:The rise of few-maintainer projects by pdonis on Sunday May 26, 2019 @02:03PM (#20016379)
> Developers are users too.

But most users are not developers, and "developer" is the relevant category here, not "user". So saying "user" is inaccurate.

> They did an act of “npm install gratis shit”, and they don’t give a shit where that code comes from. I.e. blindly trusting code from the internet.

I'm not unsympathetic to this. However, even if other developers were at fault, that doesn't mean Dominic wasn't. Not deprecating the package, and not telling anyone when he handed over the publish rights to a random person who emailed him, is still wrong even if the developers who used his package were wrong as well.