News for hackers. Stuff that matters.
Re:Ask HN: Adding non-commercial clause to open source license? by pinephoneguy on Thursday February 24, 2022 @09:30AM (#30455122)
IME the GPL is extremely effective against commercial abuse of FOSS. I don't know what advantage this license would have since you'd need to prevent the people you're granting the license to from changing it in derivative works (otherwise they could just re license it as MIT again.)
Re:Ask HN: Adding non-commercial clause to open source license? by tedivm on Thursday February 24, 2022 @09:51AM (#30455355)
You're getting downvoted but this really is a great point. People tend to avoid GPL in commercial settings. What blocks other people from using GPL on the commercial side is the "share alike" aspects of it, but it's still open source because commercial use is still allowed.
Re:Ask HN: Adding non-commercial clause to open source license? by jaster on Thursday February 24, 2022 @11:21AM (#30456514)
> you'd need to prevent the people you're granting the license to from changing it in derivative works

No you don't need to. People cannot change the license of code they don't own nilly-willy, only the owner(s) of code can (which can get hairy when a codebase has multiple owners).

However a license can allow sublicensing, aka sharing the code or software under a different license, but this right must be explicitly granted by the license (or by the code owner directly), and they may be conditions attached (such as attribution)

MIT:

"[...] Permission is hereby granted,[...] to use, copy, modify, merge, publish, distribute, sublicense, [...] subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software."

GPL:

"[...] You may not copy, modify, sublicense, or distribute the Program except as expressly provided under this License."

So the MIT license grants you the right to redistribute the code under GPL (under attribution condition), but GPL does not grant you the right to redistribute the code under MIT.

(Note that all of this applies to redistributing the code or the software, not about your own internal use of the code or the software)

Re:Ask HN: Adding non-commercial clause to open source license? by q-big on Thursday February 24, 2022 @09:58AM (#30455450)
> IME the GPL is extremely effective against commercial abuse of FOSS.

There do exist people who consider the usage of open source software for cloud services without providing the derived source code also to be commercial abuse. To prevent this usage scenario is what the AGPL license was made for.

Re:Ask HN: Adding non-commercial clause to open source license? by PragmaticPulp on Thursday February 24, 2022 @09:49AM (#30455343)
The GPL doesn’t prevent anyone from using software for commercial purposes.

The OP is trying to prohibit commercial use, which isn’t a feature nor even a goal of the GPL.

Re:Ask HN: Adding non-commercial clause to open source license? by mindcrime on Thursday February 24, 2022 @10:00AM (#30455479)
The GPL doesn't explicitly forbid commercial use, but as /u/tedivm points out, it often has the effect of at least strongly discouraging commercial use. That may actually be enough for what the parent poster wants. Or not... but it's worth talking about.
Re:Ask HN: Adding non-commercial clause to open source license? by smw on Thursday February 24, 2022 @10:11AM (#30455611)
I don't think that's remotely true anymore, especially in a SaaS world. Some fairly big companies use a lot of Linux, for instance...
Re:Ask HN: Adding non-commercial clause to open source license? by marginalia_nu on Thursday February 24, 2022 @10:36AM (#30455871)
Yeah, AGPL is the thing you want now to dissuade commercial use in SaaS.
Re:Ask HN: Adding non-commercial clause to open source license? by webmaven on Friday February 25, 2022 @10:10AM (#30468043)
> Yeah, AGPL is the thing you want now to dissuade commercial use in SaaS.

The thing is, AGPL allows commercial use just fine, it only disallows proprietary use.

The fact that companies are dissuaded from making commercial use by being prevented from putting a proprietary moat around the software is really an indictment of those companies.

Heck, you can even make AGPL software a bit more friendly for commercial enhancements if you want by granting an exception for plugins the way some GPL software does, but those same companies would probably still be dissuaded.

Re:Ask HN: Adding non-commercial clause to open source license? by mindcrime on Thursday February 24, 2022 @11:19AM (#30456477)
Linux was sort of always the one big exception to that though. But you have a fair point that the SaaS world has changed the dynamic somewhat. That said, I don't think it's changed it that much.
Re:Ask HN: Adding non-commercial clause to open source license? by freeloaderz on Thursday February 24, 2022 @09:38AM (#30455209)
> otherwise they could just re license it as MIT again

Doesn't the first clause of the MIT license prevent this?

Re:Ask HN: Adding non-commercial clause to open source license? by jaster on Thursday February 24, 2022 @11:23AM (#30456542)
The GPL prevents it actually (I made a sibling comment with some details)