News for hackers. Stuff that matters.
Re:Dev corrupts NPM libs 'colors' and 'faker', breaking thou... by bastardoperator on Sunday January 09, 2022 @05:45PM (#29868157)
Should I get paid for my multiple contributions to faker (I don't think I should)? I've submitted several PR's for generating data all of which were accepted. Even back then the maintainer was barking about money...

Honestly the project would be better off forked. He did not write this library entirely by himself, at this point I just see him as holding other committers contributions as hostage. It's a bad look, why would anyone want to deal with him after this stunt is beyond me.

Re:Dev corrupts NPM libs 'colors' and 'faker', breaking thou... by hn_throwaway_99 on Sunday January 09, 2022 @08:10PM (#29869352)
> It's a bad look, why would anyone want to deal with him after this stunt is beyond me.

The maintainer appears to be unwell:

https://abc7ny.com/suspicious-package-queens-astoria-fire/64...

Re:Dev corrupts NPM libs 'colors' and 'faker', breaking thou... by morpheuskafka on Sunday January 09, 2022 @08:39PM (#29869547)
That article is from 2020 (okay, I realize that doesn't mean much--from September specifically). It says he was charged with reckless endangerment at the time, but nothing shows for his name in the NY eCourt system now which seems to mean it was either resolved already (would seem to be quite fast, and indicate no further charges) or was dismissed. No record of him at the DOC either.

Lately he seems to have come to the belief that Aaron Swartz was intentionally targeted because he discovered evidence of child abuse at MIT, which is a pretty far fetched claim that seems to just be riding on the Epstein media attention.

Re:Dev corrupts NPM libs 'colors' and 'faker', breaking thou... by noah_buddy on Sunday January 09, 2022 @08:21PM (#29869422)
The maintainer seems a few steps beyond unwell. Seems like he was planning a terrorist act of some sort. Even if one is mentally unwell, I would not first describe them that way should they choose to premeditate harm against others. If you're building bombs, you're almost certainly at that point. At the very least, the maintainer is unstable if not actively malicious and seeking to cause harm however he can.
Re:Dev corrupts NPM libs 'colors' and 'faker', breaking thou... by burtonator on Monday January 10, 2022 @01:06AM (#29871215)
> I would not first describe them that way should they choose to premeditate harm against others.

That's why a judge often has to determine if the person is mentally ill or just a criminal.

There are plenty of situations where someone has hurt other people and they've been literally insane.

If your insanity causes you to believe that someone is doing horrible things like murdering children you might decide to do them harm, thinking you're the good guy.

In reality you have paranoid schizophrenia or a litany of other mental health issues.

It's not cut and dry :-/

Re:Dev corrupts NPM libs 'colors' and 'faker', breaking thou... by noah_buddy on Monday January 10, 2022 @11:18AM (#29877085)
I think it's very nearly a difference without meaning here. If you commit mass violence out of insanity, you're probably going to be in a mental hospital for the rest of your life. Functionally akin to a lifetime prison sentence in that in both cases the perpetrator is removed from society forever. It's not that I have no empathy for the mentally unwell, it's just that when your illness begins to cause actions that will harm the world around you, you're defined in terms of those acts as well as your illness. A mentally unwell person who kills someone is still a killer (I purposely stay away from murder as I do not know law or that murder can be applied to those who are not convicted for reasons of insanity).
Re:Dev corrupts NPM libs 'colors' and 'faker', breaking thou... by pverghese on Sunday January 09, 2022 @10:51PM (#29870389)
Let's not start claiming people are planning terrorist acts without any proof. Those claims are extremely hard to get rid of, especially on the internet.
Re:Dev corrupts NPM libs 'colors' and 'faker', breaking thou... by josephcsible on Sunday January 09, 2022 @11:00PM (#29870461)
Re:Dev corrupts NPM libs 'colors' and 'faker', breaking thou... by barsonme on Monday January 10, 2022 @06:09AM (#29873073)
All that proves is he’s got an interest in explosives. Believe it or not, explosives are a legitimate hobby for some folks.

Unless there is other evidence, you’re just blindly speculating as to his intent.

Re:Dev corrupts NPM libs 'colors' and 'faker', breaking thou... by qaq on Monday January 10, 2022 @07:49AM (#29873987)
It's fine to speculate given a certain pattern of behavior
Re:Dev corrupts NPM libs 'colors' and 'faker', breaking thou... by a3w on Monday January 10, 2022 @12:30PM (#29878285)
No, it is not. Our brains process speculation as facts.

This thread and press coverage is just reputation damage. Most newspaper articles are not even 90 % true, so rampant theories go floating until innocent some people are burned for life.

Re:Dev corrupts NPM libs 'colors' and 'faker', breaking thou... by qaq on Monday January 10, 2022 @03:11PM (#29881403)
you do realize that by doing what he did he didn't just burn greedy F500 companies that didn't have ci/cd setup properly, but non-profits and other entities that are not really resourced to deal with type of stuff.
Re:Dev corrupts NPM libs 'colors' and 'faker', breaking thou... by asddubs on Monday January 10, 2022 @03:53AM (#29872075)
is this actually the same guy or some other person named marak who happens to be a software dev? The article appears to be from september 2020
Re:Dev corrupts NPM libs 'colors' and 'faker', breaking thou... by notwedtm on Monday January 10, 2022 @04:01PM (#29882387)
The article names Marak Squires, and the colors.js repo has 'Marak Squires' as the author.

The author's twitter also commented about loosing their possessions in a house fire in October 2020.

Re:Dev corrupts NPM libs 'colors' and 'faker', breaking thou... by mizzao on Sunday January 09, 2022 @09:57PM (#29870071)
> Squires is a software developer and early Bitcoin investor

Or maybe his crypto bet went in a poor direction...?

Re:Dev corrupts NPM libs 'colors' and 'faker', breaking thou... by xvector on Monday January 10, 2022 @09:06PM (#29886311)
IIUC he lost all of his Bitcoin (wallet seed) + precious metals in a fire or something, and was nearly homeless for a period of time.
Re:Dev corrupts NPM libs 'colors' and 'faker', breaking thou... by bdcravens on Sunday January 09, 2022 @06:52PM (#29868755)
Not to mention the fact that this is just a port of faker from Ruby and Perl (from last version's README, "faker.js was inspired by and has used data definitions from ...")
Re:Dev corrupts NPM libs 'colors' and 'faker', breaking thou... by bmn__ on Sunday January 09, 2022 @08:27PM (#29869466)
"inspired" my ass. It's a fork, not keeping the licence terms.

https://news.ycombinator.com/item?id=27254092

Re:Dev corrupts NPM libs 'colors' and 'faker', breaking thou... by fault1 on Monday January 10, 2022 @12:13AM (#29870914)
seems like he has a history of this (HN 2010): https://news.ycombinator.com/item?id=1448309
Re:Dev corrupts NPM libs 'colors' and 'faker', breaking thou... by andai on Monday January 10, 2022 @12:52AM (#29871143)
You may also enjoy "Jim deletes the tenth grade":

https://web.archive.org/web/20081020082418/http://www.jimbas...

Re:Dev corrupts NPM libs 'colors' and 'faker', breaking thou... by glenneroo on Monday January 10, 2022 @12:46AM (#29871097)
and he seems quite proud of getting banned from Github in 2013: https://youtu.be/varf6oWaFtU?t=202
Re:Dev corrupts NPM libs 'colors' and 'faker', breaking thou... by cercatrova on Monday January 10, 2022 @03:54AM (#29872083)
Well, he just got banned again from GitHub today.
Re:Dev corrupts NPM libs 'colors' and 'faker', breaking thou... by marcus_holmes on Monday January 10, 2022 @05:49AM (#29872906)
How many other maintainers are getting increasingly annoyed at the users of their code? Entitled users demanding changes to fit their use cases, megacorps using the code for free, other megacorps forking the code and launching it as a commercial service, we've been hearing for years about the problems of being an OSS maintainer.

Focusing on the troubles of this one person is a mistake. Of course the more "unbalanced" individuals will crack first. But we should expect more and more to go the same way (not necessarily by sabotaging their code though).

This model of software development is unsustainable.

Re:Dev corrupts NPM libs 'colors' and 'faker', breaking thou... by prepend on Monday January 10, 2022 @06:07AM (#29873055)
> This model of software development is unsustainable.

I don’t think this is right. It seems very sustainable as evidenced by 30+ years of sustained OSS development.

It seems very sustainable as we live in a time of the best OSS software ever produced with more high quality software than ever produced by ideological volunteers.

I’ve seen statements similar to yours and they just seem so at odds with reality.

Re:Dev corrupts NPM libs 'colors' and 'faker', breaking thou... by marcus_holmes on Monday January 10, 2022 @06:18AM (#29873128)
I don't think the OSS work around GNU, etc, can be directly compared to the "new" model around npm/gems/pip/etc, which has really only been going for a bit over 10 years. I can't put my finger on why they're different, but they definitely feel different.

The big question is what happens when a maintainer wants to retire and a successor can't be found? Or (as in this case), when a maintainer gets so annoyed by their users that they refuse to continue co-operating with their user base.

We don't really have an answer for either of these questions yet, and we won't bump into them until maintainers get old or angry. But we have been predicting that this problem will happen.

Now we're bumping into this problem, it's our new reality. What's the solution?

Re:Dev corrupts NPM libs 'colors' and 'faker', breaking thou... by prepend on Monday January 10, 2022 @08:33AM (#29874500)
The package ecosystem is growing and there’s more good packages each year. 10 years isn’t 30, but it’s still a long time to show success.

That’s there’s only been a few problems like this despite millions of users is a sign of strength.

I hedge by pinning yo specific versions and keeping my own package manager (RStudio) to keep mirrors if the packages I scan. That the packages are open source means they are easier to scan or fork.

If a maintainer stops then the project can be forked. If nobody wants to fork then that probably means no one cares enough. And that’s ok.

Mostly it forces us to be flexible. I don’t think software is a thing but a process or cycle.

Re:Dev corrupts NPM libs 'colors' and 'faker', breaking thou... by marcus_holmes on Monday January 10, 2022 @09:03AM (#29874927)
Success != sustainability.

If a thing has an expiry date that is >10 years, then you're not going to see any problems for 10 years. That doesn't mean the expiry date doesn't exist, or that the thing won't hit it. It can be wildly successful for all those years and then hit the expiry date and stop immediately.

Re:Dev corrupts NPM libs 'colors' and 'faker', breaking thou... by prepend on Tuesday January 11, 2022 @06:13PM (#29899794)
It’s not necessarily the same, but it’s a good co-signal. And definitely useful for refuting emotional, data less calls that the sky is falling.

I’ll take a decade of success as a sign of sustainability over a package maintainer losing their shit as a sign of h sustainability.

Re:Dev corrupts NPM libs 'colors' and 'faker', breaking thou... by herbst on Monday January 10, 2022 @07:32AM (#29873798)
Every single cent earned in my career depends on OS software in one way or another. Maintaining a public repo or two can very well be considered part of your job, or purely for giving back something.

I for one enjoy if anyone makes money with help of my code. I very well know I wouldn't have made it so far without many many others having chosen this way before.

Re:Dev corrupts NPM libs 'colors' and 'faker', breaking thou... by marcus_holmes on Monday January 10, 2022 @09:06AM (#29874962)
I agree, but the number of people I know who could maintain a popular OSS lib for years is tiny. I certainly couldn't do it, nor would I want to; I don't have the right kind of personality for that job.

I'm happy to contribute code, or documentation, but that's not the same thing.

Re:Dev corrupts NPM libs 'colors' and 'faker', breaking thou... by starkd on Sunday January 09, 2022 @06:04PM (#29868331)
I couldn't help but think the same thing. Seems like an incredibly immature way to handle it. He could have easily set an end date and state nothing will be maintained beyond that date. It's not a good look.
Re:Dev corrupts NPM libs 'colors' and 'faker', breaking thou... by andrew_ on Sunday January 09, 2022 @07:03PM (#29868858)
marak has a documented history of mental illness and downright odd behavior. Talented dev and troubled individual. There's a pretty concise video covering what went down with some history here: https://www.youtube.com/watch?v=R6S-b_k-ZKY
Re:Dev corrupts NPM libs 'colors' and 'faker', breaking thou... by rackjack on Sunday January 09, 2022 @07:21PM (#29869008)
That video doesn't discuss marak's "history of mental illness". Do you have some information on this?
Re:Dev corrupts NPM libs 'colors' and 'faker', breaking thou... by dimgl on Sunday January 09, 2022 @07:41PM (#29869146)
Re:Dev corrupts NPM libs 'colors' and 'faker', breaking thou... by flemhans on Sunday January 09, 2022 @10:55PM (#29870419)
That escalated quickly.
Re:Dev corrupts NPM libs 'colors' and 'faker', breaking thou... by IceDane on Sunday January 09, 2022 @06:12PM (#29868424)
I don't think he cares at this point.

I think this is a person that has been driven to the absolute end of their patience. If he's really barely been getting by, then I can only imagine the sheer frustration he must be feeling. Not only are there swathes of fortune 500 companies which depend on his package but don't contribute a dime, but he also had a company with millions of dollars in funding look at his idea and then weaponize his own project to beat him to market.

Re:Dev corrupts NPM libs 'colors' and 'faker', breaking thou... by mulmen on Sunday January 09, 2022 @06:49PM (#29868734)
It seems completely insane to me to give away work and then expect compensation for it.
Re:Dev corrupts NPM libs 'colors' and 'faker', breaking thou... by godDLL on Sunday January 09, 2022 @09:53PM (#29870039)
But completely sane to base your project on a package of code you don't control?

Or to lock up his Github account for exercising his prerogative onto his own code?

His behaviour is unusual, but that, you know, could change easily. It could become the normal just like that. Puff.

Re:Dev corrupts NPM libs 'colors' and 'faker', breaking thou... by prepend on Monday January 10, 2022 @06:10AM (#29873076)
> But completely sane to base your project on a package of code you don't control?

Yes, certainly. I think this is sane because with OSS you can control it if you need to. Until then use what exists. It’s sane to use Linux in my project even though I don’t control that. I suppose it’s also sane to use Windows even though I don’t control that.

Re:Dev corrupts NPM libs 'colors' and 'faker', breaking thou... by godDLL on Monday January 10, 2022 @02:55PM (#29881016)
So you just leave Windows update on in production?

Brave man.

Re:Dev corrupts NPM libs 'colors' and 'faker', breaking thou... by prepend on Tuesday January 11, 2022 @06:12PM (#29899776)
Depending on something doesn’t mean crazy. I depend on lots of OSS projects (and windows), but I have a management system where I control what gets updated and when.
Re:Dev corrupts NPM libs 'colors' and 'faker', breaking thou... by godDLL on Wednesday January 12, 2022 @11:07PM (#29916746)
You control what gets updated and when.

There we are.

Re:Dev corrupts NPM libs 'colors' and 'faker', breaking thou... by A4ET8a8uTh0 on Sunday January 09, 2022 @08:12PM (#29869367)
His twitter page complaining that his github got locked-up suggests he cares. I am not unsympathetic, but only because, I am starting to see this more as an effort to undermine open source as a movement/cause.
Re:Dev corrupts NPM libs 'colors' and 'faker', breaking thou... by glenneroo on Monday January 10, 2022 @12:49AM (#29871121)
Then again he seems quite proud of getting banned from Github in 2013 for "creating a script that forced people to watch a library that [he] created": https://youtu.be/varf6oWaFtU?t=202
Re:Dev corrupts NPM libs 'colors' and 'faker', breaking thou... by bdcravens on Sunday January 09, 2022 @06:57PM (#29868797)
Of course he acknowledged his reality:

"they can legally copy your Intellectual Property"

But let's be honest - if they hadn't copied his, they could have easily used the Ruby or Perl version. All he did was port a previous library.

Re:Dev corrupts NPM libs 'colors' and 'faker', breaking thou... by qaq on Sunday January 09, 2022 @06:25PM (#29868535)
what idea?
Re:Dev corrupts NPM libs 'colors' and 'faker', breaking thou... by IceDane on Sunday January 09, 2022 @06:45PM (#29868695)
Re:Dev corrupts NPM libs 'colors' and 'faker', breaking thou... by dceddia on Sunday January 09, 2022 @06:57PM (#29868796)
Re:Dev corrupts NPM libs 'colors' and 'faker', breaking thou... by qaq on Sunday January 09, 2022 @06:53PM (#29868763)
still confused faker.js is in no way an original project, ruby faker is 4 years older than faker.js and I doubt it's the oldest.
Re:Dev corrupts NPM libs 'colors' and 'faker', breaking thou... by bdcravens on Sunday January 09, 2022 @06:59PM (#29868809)
Ruby version was based on the Perl version, and this author acknowledged his was based on those 2 versions (from the previous version's README):

    faker.js was inspired by and has used data definitions from:

    https://github.com/stympy/faker/ - Copyright (c) 2007-2010 Benjamin Curtis
    http://search.cpan.org/~jasonk/Data-Faker-0.07/ - Copyright 2004-2005 by Jason Kohles
Re:Dev corrupts NPM libs 'colors' and 'faker', breaking thou... by qaq on Sunday January 09, 2022 @08:43PM (#29869575)
so what was stolen exactly?
Re:Dev corrupts NPM libs 'colors' and 'faker', breaking thou... by Macha on Sunday January 09, 2022 @11:29PM (#29870643)
The Perl package is GPL. He took definitions from it, ported them to JS, and licensed them as MIT. "Is license violation theft?" is one of those questions like "Is piracy theft?", but it does undermine his insistence that he should be allowed commercialise the result.
Re:Dev corrupts NPM libs 'colors' and 'faker', breaking thou... by hnfong on Monday January 10, 2022 @04:16AM (#29872230)
It depends on whether you think copying a list of constants from what is essentially an “API” is copyright infringement.

It’s a contentious topic, but last I heard people here tend to believe it isn’t (as long as it’s Google copying Oracle’s stuff)

Re:Dev corrupts NPM libs 'colors' and 'faker', breaking thou... by Liquid_Fire on Monday January 10, 2022 @07:59AM (#29874094)
Those sound like two distinct things to me:

- Copying an interface for the purpose of providing a compatible implementation (what Google allegedly did - although of course part of the debate is whether they also copied any of the implementation)

- Copying parts of the implementation, not for the purpose of compatibility (what faker.js did - in this case, copying constants)

Re:Dev corrupts NPM libs 'colors' and 'faker', breaking thou... by hnfong on Monday January 10, 2022 @01:12PM (#29878951)
IIRC US copyright law gives very little protection to compilation of non-copyrightable data (look up copyright status of telephone directories). The argument is that it's just public domain factual information bundled together.

The faker libraries are all that -- compilations of mostly non-copyrightable facts.

I'm not saying faker.js did no wrong, just saying if hypothetically a purported copyright owner sued him, they would have a really hard time proving substantial infringement happened given the available precedents.

Re:Dev corrupts NPM libs 'colors' and 'faker', breaking thou... by kodemager on Monday January 10, 2022 @01:48AM (#29871405)
I think it’s a bad stunt that outlines an issue with mega corps using oss and blindly updating their packages. Or anyone blindly updating their packages really.

But I don’t see how GitHub has the right to suspend him and rewind his work. I mean, that has to be a copyright infringement if there ever was one.

Re:Dev corrupts NPM libs 'colors' and 'faker', breaking thou... by Too on Monday January 10, 2022 @01:57AM (#29871459)
A stall owner who deliberately injects poison into their apples should rightfully be thrown out of the Bazaar. Regardless if the apples are given for free or not.
Re:Dev corrupts NPM libs 'colors' and 'faker', breaking thou... by kodemager on Monday January 10, 2022 @05:54AM (#29872950)
But the ownership of the apples doesn’t automatically change hands just because their owner decides to poison them.
Re:Dev corrupts NPM libs 'colors' and 'faker', breaking thou... by krona on Monday January 10, 2022 @05:54PM (#29884121)
Forfeiture is the loss of any property without compensation as a result of defaulting on contractual obligations, or as a penalty for illegal conduct.
Re:Dev corrupts NPM libs 'colors' and 'faker', breaking thou... by emteycz on Tuesday January 11, 2022 @05:49AM (#29889862)
Where is the court judgement for that?
Re:Dev corrupts NPM libs 'colors' and 'faker', breaking thou... by amyjess on Monday January 10, 2022 @02:16AM (#29871558)
GitHub is private property, and they have the right to eject anyone from their property for any reason or even no reason at all.

And the code is open-source under the MIT license, so GitHub can do with it as they see fit.

Re:Dev corrupts NPM libs 'colors' and 'faker', breaking thou... by kodemager on Monday January 10, 2022 @05:53AM (#29872938)
The MIT license doesn’t give you the right to claim ownership over someone else’s code.

You can copy it and claim ownership over that, but it doesn’t allow you to remove the author from their work and then keep the work as your own.

The author has a right to delete it if they want to.

Re:Dev corrupts NPM libs 'colors' and 'faker', breaking thou... by amyjess on Monday January 10, 2022 @04:16PM (#29882652)
Are you saying that it's a violation of the MIT license to distribute MIT-licensed code if the author asks that you take it down? Because I can assure you, that's not how the MIT license works.
Re:Dev corrupts NPM libs 'colors' and 'faker', breaking thou... by james_burden on Monday January 10, 2022 @10:35AM (#29876409)
It makes sense if you replace GitHub with Microsoft in your sentence ; )
Re:Dev corrupts NPM libs 'colors' and 'faker', breaking thou... by DarkWiiPlayer on Monday January 10, 2022 @02:42AM (#29871691)
> at this point I just see him as holding other committers contributions as hostage

No he's not, and you're just trying to be outraged. Just fork the code if you don't trust him. Oh, but you don't want to take his place as the maintainer? Maybe deep down you know that there's still a difference between being in charge and submitting the occasional pull request?

Your actions contradict your words here.

Re:Dev corrupts NPM libs 'colors' and 'faker', breaking thou... by Madeindjs on Monday January 10, 2022 @05:41PM (#29883936)
I thought that author of Faker don't ask a new maintainer, he just ask for money. So I think this point is valid.

A maintainer role could be to just accept some occasional pull request if he don't want to make it a bigger project.

Re:Dev corrupts NPM libs 'colors' and 'faker', breaking thou... by bastardoperator on Monday January 10, 2022 @08:17PM (#29885789)
There is no more code. Even if someone wanted to fork or maintain a fork, they can't. Try to understand what's actually going on before making silly comments.
Re:Dev corrupts NPM libs 'colors' and 'faker', breaking thou... by ydlr on Monday January 10, 2022 @09:41AM (#29875463)
> Honestly the project would be better off forked.

I agree. It was an irresponsible prank. But Microsoft didn't fork the projects. They hijacked his digital identity on two of their platforms, instead. I find that much disconcerting than what this one maintainer did.

Re:Dev corrupts NPM libs 'colors' and 'faker', breaking thou... by newaccount74 on Monday January 10, 2022 @09:47AM (#29875586)
How did they hijack his identity? They just reverted to an older version instead of the the malicious update, and suspended his account.

For them it must look like a malicious hacker took over the devs account, and reverting the malicious actors changes is exactly what I'd expect of a responsible custodian.

If you want to trick people into downloading malicious software, don't do it on someone else's platform.

Re:Dev corrupts NPM libs 'colors' and 'faker', breaking thou... by maze-le on Monday January 10, 2022 @05:53AM (#29872941)
> why would anyone want to deal with him after this stunt is beyond me

_faker_ is already gone from our project. The parts of faker that we were using were almost trivial to implement ourselves... probably should have done that from the start.

Re:Dev corrupts NPM libs 'colors' and 'faker', breaking thou... by azangru on Monday January 10, 2022 @08:22AM (#29874360)
Re:Dev corrupts NPM libs 'colors' and 'faker', breaking thou... by joshspankit on Sunday January 09, 2022 @10:26PM (#29870242)
> Should I get paid for my multiple contributions to faker (I don't think I should)?

The biggest thing that excites me about the possibilities for the future of smart contracts is that creators of all kinds could automatically benefit from any work they do.

This scenario, for example: Any company that used faker.js to make a profit would have X% of that revenue feed back to the smart contracts. The creator would probably get the most, followed by the maintainer, then anyone who had a PR approved, then maybe people who submitted good bug reports. All automatically, and all directly in to everyone’s wallet.

Not only would this be an easy way for creators to get paid, it would also incentivize the maintenance of those creations.

And if you didn’t want to get paid, you could simply have funds directed to charity or opt out of your share entirely.

Re:Dev corrupts NPM libs 'colors' and 'faker', breaking thou... by max49 on Sunday January 09, 2022 @11:32PM (#29870663)
>The biggest thing that excites me about the possibilities for the future of smart contracts is that creators of all kinds could automatically benefit from any work they do.

>Any company that used faker.js to make a profit would have X% of that revenue feed back to the smart contracts.

Doesn't work in the real world. If you rely on them to tell you what their profit are for a project, they'll just give you a value of 0$ and continue to not pay you the same way they did before. The blockchain/smart-contracts adds no value compared to changing the licence on your code because either way you have to beg/sue them to get paid.

Even with a client who is well intentioned and wants to pay you, they will never want to link their profit to a smart contract and expose their financial data. Measuring profit btw is very complicated and there is a lot of human interpretation to it, you can have a company worth bilions of dollars with top employees making millions per years even if it technically has never made a profit.

And also, the risk of a bug in the smart contract emptying their account would be enough to stop any serious companies.

Re:Dev corrupts NPM libs 'colors' and 'faker', breaking thou... by joshspankit on Monday January 10, 2022 @11:07AM (#29876915)
I totally agree that it does not work in the current version of the real world. We just don't have enough insight in to all the moving parts so there's no way we could properly compensate a long chain of people even if we wanted to.

If we were in a different version of the world (which we might end up in), it will be a no-brainer for someone to create a company that openly builds on the work of others and shares profit with those others. It democratizes the "I only need a small piece of a big pie" business model.

Re:Dev corrupts NPM libs 'colors' and 'faker', breaking thou... by burtonator on Monday January 10, 2022 @01:08AM (#29871227)
The biggest challenge here is measuring the quality of someone's contributions and adjusting compensation accordingly.

Not every commit is worth the same level of compensation.

Companies like Google/Amazon have to go through and adjust compensation based on talent and contribution levels, but how would that be done in Open Source?

Re:Dev corrupts NPM libs 'colors' and 'faker', breaking thou... by joshspankit on Monday January 10, 2022 @11:12AM (#29876991)
Agreed. Even in my ideal scenario that's still a part that is difficult. My only thought is that that compensation amount is determined before the PR is accepted (or maybe even before it's asked for, like a bounty).

In [my] ideal scenario it's not the people that are vetted and compensated, but the work itself. A student who comes up with a particularly genius contribution could be compensated as equally as someone who worked in the field for decades and proposed the same contribution.

Note: it also requires an environment where work is recorded publicly so that plagiarism is essentially impossible, though that brings it's own challenges.

Re:Dev corrupts NPM libs 'colors' and 'faker', breaking thou... by staticassertion on Sunday January 09, 2022 @11:41PM (#29870741)
The second someone puts out a 'faker.js' that does this companies will drop it, just as they ban AGPL software.
Re:Dev corrupts NPM libs 'colors' and 'faker', breaking thou... by joshspankit on Monday January 10, 2022 @11:12AM (#29876997)
As I mention in a different reply:

> I totally agree that it does not work in the current version of the real world.

Re:Dev corrupts NPM libs 'colors' and 'faker', breaking thou... by joshspankit on Monday January 10, 2022 @10:56AM (#29876739)
-3 points. Wow that's a strong response!

Quick notes:

- I'm talking about a hypothetical ideal future as I see it, and why that's exciting to me

- I don't think we're anywhere close to where we need to be for this to be realistic. More like 50+ years when we figure out patents, copyright, delivery, and fine-detail privacy-friendly monetization (person X purchased Y because of seeing a billboard and having conversations with sales rep Z.)

- I like moonshots. I think that setting big ideals as goals is a great way to get to where we can be as a society and as a planet. No one else is obligated to share that mindset or those goals (or even agree that those ideals will get those goals)

Re:Dev corrupts NPM libs 'colors' and 'faker', breaking thou... by sbt567 on Sunday January 09, 2022 @11:34PM (#29870672)
This sounds like a dream to me. How can it happen with open source software (where anyone can build and modify the software freely)?
Re:Dev corrupts NPM libs 'colors' and 'faker', breaking thou... by joshspankit on Monday January 10, 2022 @11:18AM (#29877091)
In [my] ideal version of this, any monies made "down the line" from that open source software would feed back to anyone that helped build it. If 9 people contributed to a feature that a company used in their sales workflow, then each of them would get a percentage determined by the smart contract they reviewed when contributing.

If a founder came along and saw that a specific open source project could be the foundation for a business, then they could use it to build that business and feed back a portion of all profit as an operating expense. Then everyone involved would be benefited by contributing.