News for hackers. Stuff that matters.
Re:React Native is now open source by burke on Thursday March 26, 2015 @01:28PM (#9271463)
> The license… will terminate… for anyone that [claims] infringement of any patent… by Facebook… whether or not such claim is related to the Software.

> The license… will terminate… for anyone that [claims] infringement of any patent… by any party if such claim arises… from any software, product or service of Facebook.

> The license… will terminate… for anyone that [claims] infringement of any patent… by any party relating to the Software.

> The license… will terminate… for anyone that [claims] that any right in any patent claim of Facebook is invalid or unenforceable.

Wow.

Re:React Native is now open source by geofft on Thursday March 26, 2015 @04:08PM (#9272704)
(Someone had a post asking a good question about what this means. It got downvoted and deleted, which I think is unfortunate for a community that cares about learning about the world around it, so I'm replying here.)

There are two separate kinds of legal protection at issue here, copyright and patent. The only thing that's close to covering ideas is patent law, not copyright law. (I'm assuming US law here, since that's where Facebook and I both are, but most of this is generally true I think.)

Copyright covers a creative expression, and is automatic. If I write a story, paint a picture, compose a song, or code a program, copyright secures my ability to commercialize that creative work as I see fit. If someone else writes a similar story, paints a similar picture, etc. but does not use my words or notes or lines of code, they aren't infringing my "copy right", because they're not copying my work.

Patents cover inventions, and are very non-automatic and best acquired with lawyers. Their term is also much shorter (about a decade, instead of about a century). US law currently lets you patent an algorithm or an arrangement of computer systems, under the artifice that you're actually patenting the implementation of that algorithm on any physical computers. Patents are issued for the invention, not for a specific implementation, and any implementation that works the same way infringes the patent.

(Trademarks, for reference, cover names used in advertising, i.e., "trade marks". They're somewhat automatic, they only cover names, and they're not very often relevant to F/OSS licenses.)

Traditionally, F/OSS licenses have been primarily concerned with copyright, partly because several of them were written when software copyrights were well-acknowledged and enforced, but when software patents were rare or nonexistent. This leaves you in the unfortunate situation where e.g. Facebook can write some code (automatically gaining a copyright), get a patent on the idea, open-source the code, and then sue you for patent infringement despite your copyright license. To avoid that, Facebook has an explicit patent grant in addition to the copyright license. (Although, as other commenters have pointed out, F/OSS licenses that don't specifically restrict themselves to copyright can potentially be read as a implicit patent grant if you stare at it hard enough.)

At no point in this does Facebook claim ownership of your work. Certainly your idea isn't legally owned by anyone, either you or by Facebook, if you haven't gotten a patent on it. Facebook's patents remain Facebook's patents, with or without this clause.

Because patents cover any implementation of an invention (whether or not the implementor knew about the patent), and because patents are in stupidly dense legalese, it's super common for people to be inadvertently infringing a bunch of patents. The traditional solution for this is that large companies have defensive patent portfolios in a sort of mutually-assured-destruction scenario: if Facebook sues Google over a patent, Google will countersue over all the patents they have. So there's an armistice, at least among big companies. The explicit patent grant weakens that, because now Google can just incorporate parts of React into their React-competitor, and Facebook loses a patent from their defensive portfolio.

So a few clauses like these are normal: you get a patent grant from Facebook, as long as you don't sue Facebook over (different) patent infringement. This maintains the armistice between big companies, and it's also great for the little guy, who wasn't going to sue anyway because they don't have any/many patents (but also doesn't have a defensive portfolio because they don't have any/many patents). These clauses only cover claims of patent infringement, which are the thing that everyone is unintentionally doing en masse, not copyright infringement, which is much harder to do unintentionally, so they're pretty fair.

But the fourth clause is super weird. It means that you can't dismantle any of Facebook's patents by e.g. providing prior art, without losing your patent license. It might even mean you can't lobby for software patent reform. It solely holds up Facebook's patent portfolio and the armistice between big companies. Usually dismantling patents is a good thing for everyone, because it's disarmament, and it's unfortunate this license doesn't extend to people who do that.

(IANAL, TINLA, corrections graciously appreciated.)

Re:React Native is now open source by loceng on Thursday March 26, 2015 @10:30PM (#9274438)
If you use any of their work then it opens you up to Facebook leveraging this against you. If they feel you violate a patent of theirs and they ask for a royalty or licensing fee - you can't even say it's not a valid patent or you void the right to use React Native, and anything else that has the PATENTS file in it (which is all of their stuff AFAIK) - that's why Google doesn't use it.
Re:React Native is now open source by bradleyjg on Friday March 27, 2015 @12:28AM (#9274765)
I'm not sure that is the case. The linked document says: "The license granted hereunder will terminate ..." that could be read to mean both licenses, the copyright one and the patent one, but the most natural reading, particularly as they are in separate files, is that it is referring solely to the patent license.

If that reading is correct, you can still use React Native to the extent that doing so doesn't violate any of Facebook's patents. They could argue it does and you could argue it doesn't. Until and unless a judge ruled that it did, you could continue using the software.

Edit: Geofft that's a good point. I suppose this really is a poison pill for a sufficiently large company.

Re:React Native is now open source by geofft on Friday March 27, 2015 @12:42AM (#9274792)
Yes, but it also affects you in the case that you argue that some other, unrelated Facebook patent is invalid, even if you're happy to concede that the patents covering React Native are valid.

For Google's use case, it means that if they ever find themselves in court claiming to have prior art on any of Facebook's patents (let's say Facebook sues them over something G+ does, and Google says it was described in the literature well before either of them), they automatically lose the (patent) rights to all of Facebook's OSS, even if they're legally in the right. So they can't build anything they care about on React.

Re:React Native is now open source by hysan on Thursday March 26, 2015 @07:40PM (#9273894)
Minor correction, the term of a patent is 20 years from the date of filing in most countries. The amount of time you can exercise your rights during this term is dependent on how quickly the patent office approves your application (if you get stuck on a backlog, the term length may change). Still not a century, but it is quite long.
Re:React Native is now open source by MollyR on Thursday March 26, 2015 @02:23PM (#9271985)
That is a big excitement killer
Re:React Native is now open source by iheart2code on Thursday March 26, 2015 @02:29PM (#9272022)
So, basically, if you sue Facebook on grounds of patent/copyright infringement for any reason, you don't get to use their software?
Re:React Native is now open source by jsprogrammer on Thursday March 26, 2015 @05:53PM (#9273396)
No, the license terminates when you make a claim (of which a lawsuit is a subset of) that any 'right' of any patent claim that Facebook makes is invalid or unenforceable. This would include statements to the effect:

"That Facebook patent is invalid." or "Software patents are invalid."

Re:React Native is now open source by krschultz on Thursday March 26, 2015 @02:42PM (#9272135)
That plus you accept that all of Facebook's patents are valid.
Re:React Native is now open source by matthewmacleod on Thursday March 26, 2015 @02:46PM (#9272176)
No, it doesn't mean that.

It means that you lose the additional license to use any of Facebook's patents that may cover React. These may or may not exist.

Re:React Native is now open source by loceng on Thursday March 26, 2015 @10:38PM (#9274458)
You keep making definitive statements. Are you saying that you can keep using React Native if your patent rights are waived? That'd only be the case of those patents don't exist - but even then Facebook is stockpiling patents related to everything connected with social networks.

Also, they'll likely be patenting whatever they can out of this technology, whether it's valid or not, you'd have to fight any action that Facebook holds against you - in the meantime invalidating everything, allowing Facebook to sue you for violating potentially dozens of patents; most everyone can't afford a lawsuit.

Facebook open sourcing all of these things is purely a power play, and not trying to contribute to the developer community. The power that this is going to allow Facebook to leverage in the future could get really nasty - it's why Google isn't using any of it.

Re:React Native is now open source by emodendroket on Thursday March 26, 2015 @03:18PM (#9272371)
Then why say "whether or not such claim is related to the Software?" That would imply just the opposite to me.
Re:React Native is now open source by geofft on Friday March 27, 2015 @12:54AM (#9274821)
That clause relates to the patents you own that you're suing Facebook over, not the patents Facebook owns that they're (no longer) granting you a license to.

As an example, say Facebook owns patent 1234567 "Method and system for reacting natively". Google owns 7654321 "High-density computers in a data center". Google builds the new Maps app using React Native. This would infringe 1234567, except that React Native comes with a patent grant, so the Maps app is properly licensed.

Then Google sues Facebook over Open Compute Project, claiming infringement of patent 7654321. This has nothing to do with React Native, but Google has just lost its license to 1234567. So Facebook now gets to sue Google over the Maps app. (More likely, Facebook will threaten to sue in order to force a settlement for the other lawsuit.)

Re:React Native is now open source by emodendroket on Friday March 27, 2015 @09:22AM (#9276057)
Well, OK, fair, but for practical purposes it seems like the same thing.
Re:React Native is now open source by burke on Thursday March 26, 2015 @02:36PM (#9272082)
Yes, and the license could easily be construed to imply that your license is immediately revoked if you tweet "Facebook infringes on patents".
Re:React Native is now open source by angersock on Thursday March 26, 2015 @04:05PM (#9272681)
but without patents nobody would ever make progress in software and innovation would be stifled
Re:React Native is now open source by geofft on Thursday March 26, 2015 @10:44PM (#9274479)
Even if we assume that to be true, the fourth of those statements still sucks. No free software license denies use to people who have the wrong political views. If you manage to get software patents outlawed in one jurisdiction, your patent license expires in all other jurisdictions. Imagine how much the FSF would love to have a clause saying, if you weaken the GPL in court, your license to use any GPL software expires... but they don't.

And even if we assume that to be true and assume that both parties believe in patents want a robust, well-functioning software patent system, that clause still sucks. If Facebook and I both invent something at roughly the same time and apply for patents, and the Patent Office misreads our applications and grants them both, and I point this out to them and I had priority (thereby invalidating some of Facebook's claims), Facebook gets to terminate all my patent licenses.

[deleted]
Re:React Native is now open source by matthewmacleod on Thursday March 26, 2015 @02:45PM (#9272163)
No, in no way does it mean that.
Re:React Native is now open source by UUMMUU on Thursday March 26, 2015 @03:43PM (#9272531)
Well thanks for the clarification.
Re:React Native is now open source by geofft on Thursday March 26, 2015 @10:45PM (#9274483)
Hope you saw my comment above, which tried to be a bit more clear.
Re:React Native is now open source by astrange on Thursday March 26, 2015 @03:21PM (#9272390)
No, but it does say "you agree any kind of claim we make is true".