News for hackers. Stuff that matters.
Re:License to Use JSLint for Evil by ascagnel_ on Thursday April 14, 2022 @12:42PM (#31029424)
Don't put clauses that rely on subjective concepts (like "good" and "evil") in your software licenses, because they can render the license impossible to enforce.
Re:License to Use JSLint for Evil by tbranyen on Thursday April 14, 2022 @01:12PM (#31029949)
Do you think Douglass Crockford didn't know that? He was being cheeky and doesn't care. This was also a huge pain point for JSHint and a lot of work went into undoing that by finding a single commit that didn't have the clause iirc.
Re:License to Use JSLint for Evil by msdrigg on Thursday April 14, 2022 @01:22PM (#31030099)
I looked it up and found this interesting read: https://jshint.com/relicensing-2020/
Re:License to Use JSLint for Evil by gabagool on Thursday April 14, 2022 @07:56PM (#31035035)
I read this and it is interesting. I get why asking JS Hint contributors to re-submit/approve their changes is clear of the Do No Evil clause.

But, I don't understand why all changes before that (from JS Lint Day 1 until it was forked into JS Hint) aren't subject to that same clause. Why is the Eclipse Foundation not subject to it?

Re:License to Use JSLint for Evil by azornathogron on Thursday April 14, 2022 @08:09PM (#31035127)
The Eclipse Foundation received their copy of JSLint under the MIT Expat license, not the default no-evil license.

> Meanwhile, the author of JSLint permitted the Eclipse Foundation to relicense a version of JSLint using the MIT Expat license so that it could be included in their project named Orion

Re:License to Use JSLint for Evil by Uehreka on Thursday April 14, 2022 @03:45PM (#31032327)
I guess some people might find it cheeky or funny to build an entire software product that does something people want, and then make it impossible for most people to use by adding a silly licensing clause. I’d consider it a huge waste of time, but hey, it’s not my project.
Re:License to Use JSLint for Evil by dspillett on Thursday April 14, 2022 @07:11PM (#31034651)
> but hey, it’s not my project.

The correct attitude to have.

If the licence is not compatible with our desired use we have the choice to move on our try negotiate different terms (or both: try for different terms and move on if compromise cannot be achieved).

No creator is under any obligation to make their stuff useful to us.

Re:License to Use JSLint for Evil by MaxBarraclough on Thursday April 14, 2022 @04:36PM (#31032937)
Right. It's probably the second worse place to put jokes, next to an employment contract.
Re:License to Use JSLint for Evil by zarzavat on Thursday April 14, 2022 @11:09PM (#31036283)
Not really. Nobody actually pays attention to open source software licences whatever you write in them. They're just window dressing. Who isn't violating the attribution requirements of 1000-odd npm dependencies?
Re:License to Use JSLint for Evil by MaxBarraclough on Friday April 15, 2022 @04:26PM (#31045395)
> Nobody actually pays attention to open source software licences whatever you write in them. They're just window dressing.

Plainly untrue. Various companies (including Google and Apple) have strong opinions on the GPL licences, especially the GPLv3.

Many of us see it as a red flag when a seemingly Free and Open Source project turns out to use a licence approved by neither the FSF nor the OSI.

> Who isn't violating the attribution requirements of 1000-odd npm dependencies?

You may be right that much web frontend development is a sloppy free-for-all with no regard for compliance and no contact with the legal department, but not all software is developed on this basis.

Re:License to Use JSLint for Evil by skissane on Friday April 15, 2022 @12:59AM (#31036723)
That’s why attribution requirements are stupid. Of course, as a matter of politeness and ethics, one ought to acknowledge the work of others you build upon. But elevating it from an informal principle to a formal legal requirement puts people in the unpleasant position of having either to deal with endless and ever-changing attribution bureaucracy, or just ignore it all and hope nobody ever complains (or sues). Zero attribution licenses don’t do that to people.
Re:License to Use JSLint for Evil by the_pwner224 on Thursday April 14, 2022 @06:10PM (#31033953)
It makes it impossible for most organizations to use, not for most people to use.
Re:License to Use JSLint for Evil by JoshTriplett on Thursday April 14, 2022 @06:33PM (#31034242)
It also makes it impossible for Open Source projects to use and depend on. This isn't a companies-vs-people thing; people and projects who care about their users should not go "meh, whatever" about software licensing.
Re:License to Use JSLint for Evil by pessimizer on Thursday April 14, 2022 @06:52PM (#31034430)
Does Crockford care about Open Source?

People who aren't doing evil can use it. It's not compatible with FOSS. It's a linter, it doesn't require being incorporated into people's projects.

Making it proprietary would be more limiting, making it Free would also be limiting (in a good way imo.) He chose to make it his way.

Re:License to Use JSLint for Evil by JoshTriplett on Friday April 15, 2022 @01:44AM (#31036922)
And many people chose not to use it as a result, despite having no desire to do "evil". People can certainly license software however they like, and other people can complain about that and build replacements, as JSHint did.

> It's a linter, it doesn't require being incorporated into people's projects.

Many things do want to depend on tools that process source code, such as bundlers, IDEs, transpilers, and similar.

Re:License to Use JSLint for Evil by jdmichal on Thursday April 14, 2022 @08:10PM (#31035134)
You're free to contact the owner(s) to negotiate a different license.
Re:License to Use JSLint for Evil by michaelt on Thursday April 14, 2022 @03:42PM (#31032282)
Who are all these people going to court and getting their software licenses enforced?
Re:License to Use JSLint for Evil by pabs3 on Friday April 15, 2022 @05:23AM (#31038096)
If the Software Freedom Conservancy vs Vizio lawsuit is won, then anyone who is the recipient of copylefted software (GPL etc) will be able to go to court for compliance.

https://sfconservancy.org/copyleft-compliance/vizio.html

Re:License to Use JSLint for Evil by smegger001 on Thursday April 14, 2022 @10:44PM (#31036147)
oracle, but i am fairly sure they are the sort of evil the licensor is thinking of
Re:License to Use JSLint for Evil by Thiez on Thursday April 14, 2022 @03:43PM (#31032292)
The default for copyright is 'all rights reserved' though, so it would seem to me that it's in the software users best interest to hope it's enforceable, otherwise they can't use the software at all.
Re:License to Use JSLint for Evil by amp108 on Thursday April 14, 2022 @01:11PM (#31029932)
Pretty sure most licenses have a clause stating that, if one clause is deemed invalid, that fact doesn't render the entire thing null and void. Check with your lawyer when in doubt.
Re:License to Use JSLint for Evil by TheDong on Thursday April 14, 2022 @01:40PM (#31030387)
If you're curious about the specific license being referenced, it didn't have any clause like that:

https://github.com/kaizhu256/jslint/blob/e188c37059ec66aedf9...

Re:License to Use JSLint for Evil by bromuro on Thursday April 14, 2022 @10:21PM (#31036038)
Thanks for sharing! It’s always nice listening to Douglas Crockford! What an interesting story about XML too :)
Re:License to Use JSLint for Evil by user3939382 on Thursday April 14, 2022 @02:40PM (#31031399)
It's called a severability clause https://en.wikipedia.org/wiki/Severability
Re:License to Use JSLint for Evil by oh_sigh on Thursday April 14, 2022 @02:49PM (#31031512)
What effect do purely normative statements have on licenses? Because the original only says you should use it for Good, not that you must use it for Good.
Re:License to Use JSLint for Evil by colechristensen on Thursday April 14, 2022 @05:19PM (#31033441)
Legal teams evaluate licenses and then ban the usage of your software because your attempts to be cute with license clauses pose an unacceptable business risk compared to the value you provide.

If you want your software to be usable, choose standard licenses and don’t modify them. Unless you find value entirely in creating something and not in being useful to others, be extremely careful with creative licensing.

Re:License to Use JSLint for Evil by zarzavat on Thursday April 14, 2022 @11:14PM (#31036302)
It's useful to others. It's just not useful to enterprises. This may be a positive or a negative depending on your intentions. You can read such a license as a kind of non-commercial use license.

In fact this is exactly the business model of the SQLite project. They have a "cute" public domain declaration and then they sell actual licenses for a fee to enterprises that want to distribute SQLite worldwide.

Re:License to Use JSLint for Evil by oh_sigh on Thursday April 14, 2022 @05:44PM (#31033695)
What is the business risk about disregarding a clause that says you merely should do something, with no carrot or stick if you do or don't?
Re:License to Use JSLint for Evil by colechristensen on Thursday April 14, 2022 @06:04PM (#31033895)
Copyright holders suing the licensee for a breach. Regardless of if the suit has merit there will be significant legal costs in defending against it and significant engineering costs in replacing the software, often quickly. Likewise there could be image issues for the company violating license terms.
Re:License to Use JSLint for Evil by im3w1l on Thursday April 14, 2022 @05:39PM (#31033652)
It will not deter everyone from using it. Who will it deter and who will it not? Maybe that split is intentional.
Re:License to Use JSLint for Evil by pessimizer on Thursday April 14, 2022 @06:59PM (#31034516)
It will deter people who are accidentally telling on themselves.
Re:License to Use JSLint for Evil by im3w1l on Friday April 15, 2022 @06:42AM (#31038613)
It will deter orgs large enough to be worth suing. It will not deter individuals who click ok on everything without reading nor startups that play fast and loose.
Re:License to Use JSLint for Evil by doliveira on Thursday April 14, 2022 @01:46PM (#31030475)
Pretty sure it is human judges that enforce the licenses, not computers.
Re:License to Use JSLint for Evil by munk-a on Thursday April 14, 2022 @02:59PM (#31031679)
This is a pretty moot point - judges do go by license intent rather than literal license text whenever possible but putting abstract statements in licenses without severability clauses is a great way to make those licenses unenforceable. A license that includes the statement "This may not be used to further the end of mankind in any way" for instance - is completely null and void, the intent is clear but the set of actions that can be argued to fit that are... everything.

Also, that original intent can be lost to time (in three hundred years a judge might rule that they can't properly evaluated what we today consider good and evil since this was before we acknowledged residents of Alpha Centauri as intelligent beings and thus our moral code is incomprehensible) and in that case judges will take a literal reading of the text which can lead to issues like ambiguous comma styling[1].

1. https://www.nbcnews.com/news/us-news/think-commas-don-t-matt...