News for hackers. Stuff that matters.
Re:GitHub scraped your code. And they plan to charge you by iliekcomputers on Saturday July 03, 2021 @03:41PM (#27724194)
If you open-sourced code and allowed it to be used for commercial purposes, I don't see the point of being pissy about Github using it, I'm saying this as someone who's written quite a lot of MIT code.

(And charging for a product which adds value to your developer experience and needs money to be run is not a bad thing)

Re:GitHub scraped your code. And they plan to charge you by hmfrh on Saturday July 03, 2021 @03:51PM (#27724298)
> If you open-sourced code and allowed it to be used for commercial purposes

Uploading it to Github does not transfer ownership or imply allowances for any use. If you upload it without a license it is a copyright violation to copy the code. Even with an MIT license it is a copyright violation to copy the code without attribution.

> I don't see the point of being pissy about Github using it, I'm saying this as someone who's written quite a lot of MIT code.

People are probably angry because this is yet another case of a big multinational corporation abusing unclear or difficult to enforce legislation for profit.

Re:GitHub scraped your code. And they plan to charge you by blibble on Saturday July 03, 2021 @04:43PM (#27724748)
> People are probably angry because this is yet another case of a big multinational corporation abusing unclear or difficult to enforce legislation for profit.

it's worse than that: it's Microsoft trying to completely undermine the concept of open source

meanwhile: they're unaffected as their high-value proprietary code remains private and doesn't train the model

Re:GitHub scraped your code. And they plan to charge you by Engineering-MD on Saturday July 03, 2021 @05:23PM (#27725038)
Finally the angle for Microsoft buying GitHub becomes clear.
Re:GitHub scraped your code. And they plan to charge you by oaiey on Saturday July 03, 2021 @05:28PM (#27725066)
There is zero rationale why Microsoft could not do it without buying GitHub. Hell, they could have trained the model from GitLab or Bitbucket public repos.

They need developer mindshare and they lost a lot of developers in the 2000s. Buying GitHub (and being involved in 100s of projects) brings this mindset of Microsoft as a developer company back to developers. Like as an advertisement platform/branding for some novel technology like this CoPilot.

Re:GitHub scraped your code. And they plan to charge you by Engineering-MD on Saturday July 03, 2021 @05:46PM (#27725189)
It was a bit of a tongue in cheek comment. It’s very unlikely they were even planning this when they bought GitHub. While you’re completely right about their rationale, a lot of people were at the time concerned about the acquisition, and it feels now a bit short sighted to burn all the good will they have generated by an act like this which undermines open source.
Re:GitHub scraped your code. And they plan to charge you by tekknik on Sunday July 04, 2021 @10:31AM (#27729883)
I don’t even think most people care about open source code. What if they’re reading private repos as well? The only option to escape this is to leave github. Which I’m kinda considering even with all the work involved.
Re:GitHub scraped your code. And they plan to charge you by greyhair on Wednesday July 07, 2021 @05:10PM (#27765768)
I think the rational for buying it was they were the single largest user of it, and were concerned about funding stability.

Does anyone have the numbers before they bought github, I saw them once, don't remember the values, just remember being shocked at what percentage of the total github code base was Microsoft. I had no idea they were using it at all.

Re:GitHub scraped your code. And they plan to charge you by thinkingemote on Saturday July 03, 2021 @07:08PM (#27725758)
And once again RMS was proven right.
Re:GitHub scraped your code. And they plan to charge you by krapp on Saturday July 03, 2021 @07:19PM (#27725822)
How would the GPL have prevented this, exactly?

More explicitly, how would a license that gives everyone the right to copy, modify and redistribute source code for any purpose without compensation or attribution have prevented Github from building a tool that copies, modifies and redistributes source code without compensation or attribution?

Re:GitHub scraped your code. And they plan to charge you by IAmLiterallyAB on Saturday July 03, 2021 @08:06PM (#27726087)
Because if you use GPL code, you must release your use/changes under the GPL. That's why the GPL is often called infectious. If copilot spits out GPL code verbatim, the user of the code must respect the license.
Re:GitHub scraped your code. And they plan to charge you by lal on Sunday July 04, 2021 @07:01PM (#27733307)
You don't know how the GPL works. The GPL explicitly requires attribution. I don't understand what you thought you were saying. The GPL places strict requirements on the licensing of derivative works. You don't know how the GPL works.
Re:GitHub scraped your code. And they plan to charge you by greyhair on Wednesday July 07, 2021 @05:11PM (#27765772)
And if they provide attribution?
Re:GitHub scraped your code. And they plan to charge you by spixy on Sunday July 04, 2021 @04:17AM (#27728086)
afaik GitHub Inc is still independent company and independent from Microsoft
Re:GitHub scraped your code. And they plan to charge you by kuschku on Saturday July 03, 2021 @05:25PM (#27725050)
> you grant each User of GitHub a nonexclusive, worldwide license to […] reproduce Your Content […] as permitted through GitHub' functionality

If you upload code to GitHub, you grant them (and every GitHub user) a license to do exactly what Copilot does.

This ToS change happened 2017, and I actually had to get approval from all contributors of my projects to accept to the changed ToS: https://github.com/justjanne/QuasselDroid-ng/issues/5

What GitHub’s doing is shady, but it’s been obvious it was going to happen for years.

Re:GitHub scraped your code. And they plan to charge you by randallsquared on Saturday July 03, 2021 @05:49PM (#27725210)
Yeah, and https://docs.github.com/en/github/site-policy/github-terms-o... has this language:

This license includes the right to do things like copy it to our database and make backups; show it to you and other users; parse it into a search index or otherwise analyze it on our servers; share it with other users; and perform it, in case Your Content is something like music or video.

This license does not grant GitHub the right to sell Your Content. [...]

So, it's not clear if they could charge for Copilot, given that last line, but indexing, analysis, and sharing with other users are all included.

Re:GitHub scraped your code. And they plan to charge you by hvis on Saturday July 03, 2021 @06:19PM (#27725411)
Reproducing copylefted code is neither indexing nor analysis.

To be clear, a piece of code that creates a copy of some GPL code is not a problem by itself. However, it's misrepresented as something the tool "generated" rather than code belonging to an existing human actor, without appropriate attribution and licensing info.

Re:GitHub scraped your code. And they plan to charge you by randallsquared on Saturday July 03, 2021 @07:17PM (#27725813)
I think we're assuming that they used GPT3 (or whatever) on code that was stored on github.com in accordance with their TOS, which means (if I understand correctly as a non-lawyer) that they didn't share it under the terms of the GPL, since they can't, but if whatever licenses the code already had attached were not sufficient, that code was also licensed to github for the purposes of indexing, analysis, and sharing with other github service users.

Does this mean that if you picked up GPL code from gnu.org and put it in your public repo, you're in violation of the GPL for illegitimately licensing that code to gihub under a non-GPL-compatible license? Maybe!

Re:GitHub scraped your code. And they plan to charge you by hvis on Saturday July 03, 2021 @07:38PM (#27725937)
> that code was also licensed to github for the purposes of indexing, analysis, and sharing with other github service users

Even if said code was licensed to Github for sharing with other users (e.g. displaying it when another user browses the page), that doesn't mean that the same permission is given to all other users under the same conditions. Or allows them extra liberties, like using said code for purposes other than "sharing with other github service users".

Re:GitHub scraped your code. And they plan to charge you by randallsquared on Saturday July 03, 2021 @07:52PM (#27726010)
No argument, there! I'm pretty concerned about the consequences of using Copilot, legally. It all seems to turn on whether a judge or judges believe that a long sequence can be produced by "learning" rather than "copying". ¯\_(ツ)_/¯
Re:GitHub scraped your code. And they plan to charge you by anothernewdude on Saturday July 03, 2021 @07:29PM (#27725888)
It's irrelevant. There is no guarantee that the people uploading code even have the ability to grant github such a licence if they aren't the copyright holders.
Re:GitHub scraped your code. And they plan to charge you by anothernewdude on Saturday July 03, 2021 @07:27PM (#27725875)
> If you upload code to GitHub, you grant them (and every GitHub user) a license to do exactly what Copilot does.

You can upload code to GitHub without the ability to grant such a license, or is github now only for primary copyright holders?

Re:GitHub scraped your code. And they plan to charge you by kuschku on Monday July 05, 2021 @04:04AM (#27735606)
> or is github now only for primary copyright holders?

That is how I interpreted the 2017 ToS change: You can only upload code to GitHub if you’re the primary copyright holder, or the code was already on GitHub to begin with (which is only an issue if the primary repository of some project is another git host, e.g. gitlab).

Re:GitHub scraped your code. And they plan to charge you by oaiey on Saturday July 03, 2021 @05:30PM (#27725078)
Well a public repo can be cloned. And needs to be replicated in CDNs etc.

Is not that reproduction?

Re:GitHub scraped your code. And they plan to charge you by ineedasername on Saturday July 03, 2021 @04:04PM (#27724437)
Good point; if the code does not have a specified license then standard copyright terms apply and inclusion for commercial use should be verboten. It it's actually open source without commercial restrictions though, I don't see an ethical difference in using the code directly or for an meta analysis driving ML for enhanced code completion.
Re:GitHub scraped your code. And they plan to charge you by TeMPOraL on Saturday July 03, 2021 @05:28PM (#27725065)
> It it's actually open source without commercial restrictions though, I don't see an ethical difference in using the code directly or for an meta analysis driving ML for enhanced code completion.

Most Open Source code comes with a requirement to carry over license note, which Copilot does not do. Additionally, ethics dictate you attribute the source when copying directly, something the Copilot also doesn't do.

Re:GitHub scraped your code. And they plan to charge you by ineedasername on Saturday July 03, 2021 @05:37PM (#27725126)
Are they actually using the source to make a derivative/fork though? If reusing the code in another codebase then definitely attribution would be required. But using it as a dataset seems a bit different-- a grey area. Though I would still agree that the right thing to do would be to have an attribution area, even if it was thousands of entries long. Whether technically required by the license or not, the spirit of these licenses I think would come down on pushing for attribution regardless of the nature of the re-use.
Re:GitHub scraped your code. And they plan to charge you by TeMPOraL on Saturday July 03, 2021 @06:22PM (#27725431)
> If reusing the code in another codebase then definitely attribution would be required. But using it as a dataset seems a bit different-- a grey area.

It's already been demonstrated that Copilot - like all tools in the GPT family - frequently output large chunks of their training dataset verbatim. It's not hard to trigger this behavior, even unintentionally. To me, this is much closer to "reusing". But I'm not a lawyer.

It's also worth remembering that there are two parties potentially open to liability here - GitHub, with the way the code was used with the Copilot, and the user, who may be unwittingly including licensed code in their codebase. Given the well-known behavior of the GPT family I mentioned above, it might be hard to argue that Copilot "just chanced" into generating code that's identical to existing, non-public-domain code.

Re:GitHub scraped your code. And they plan to charge you by ineedasername on Saturday July 03, 2021 @07:45PM (#27725974)
frequently output large chunks of their training dataset verbatim

Ah, that then is extremely problematic.

I really like the idea of Copilot to speed development-- basically code completion taken to an extreme-- but this seems like a very bad way to go about it.

Re:GitHub scraped your code. And they plan to charge you by hvis on Saturday July 03, 2021 @06:21PM (#27725420)
Don't forget the usage restrictions, as specified in each individual license.
Re:GitHub scraped your code. And they plan to charge you by Taniwha on Saturday July 03, 2021 @06:04PM (#27725309)
And if course GPL would attach where applicable .....
Re:GitHub scraped your code. And they plan to charge you by messe on Saturday July 03, 2021 @05:59PM (#27725278)
> Even with an MIT license it is a copyright violation to copy the code without attribution

Probably a copyright violation. There are surely circumstances in which copying a small portion would either fall under fair use, or for other reasons not constitute a violation. The question then is whether or not codepilot is causing a violation. I don't think it's as clear cut as most commenters are making out.

All in all though, it's probably going to take a few court cases to figure out. In the mean time, I'd expect most companies to steer clear of codepilot.

Re:GitHub scraped your code. And they plan to charge you by dogma1138 on Saturday July 03, 2021 @04:17PM (#27724551)
Snyk did the same with Snyk code to build their “ML driven SAST” offering.

Pretty much anyone can scrape GitHub and train their model.

What exactly is the legal implications of this has yet to be tested.

Pretty much every model is susceptible to some sort of model inversion or set inclusion attack.

By their own admissions Co-Pilot sometimes outputs PII that part of the code and code snippets verbatim, even if it’s rare iirc around 0.1% it’s still a huge legal liability for anyone who uses the tool, especially since it’s unclear how these inclusions are spread out and what triggers them. For example it could be that a particular coding / usage of Co-Pilot style or working on a specific subset of problems increases the likelihood of this occurring.

ML is too new to have been tested in court this has more ramifications beyond just licensing, for example if you use PII to train a dataset and receive a GDPR deletion request do you need to throw away and retrain your model?

I don’t think people should be angry however I also think that this needs to be test in court and multiple times before this can be “safe to use”.

But I also don’t think that the ML model is necessarily a derivative work.

For example if you use copyleft material to construct a CS course someone would be hard pressed to argue that the course now needs to be released freely yet alone that anything that the students would write after attending the course would fall under derivative work too.

Re:GitHub scraped your code. And they plan to charge you by blibble on Saturday July 03, 2021 @07:03PM (#27725712)
if I feed the entirety of github (sans licenses) into a java HashMap and provided an interface to query that I very much doubt that its output would qualify as "fair use"

why is it different if a slightly more complicated data structure is used?

Re:GitHub scraped your code. And they plan to charge you by dogma1138 on Saturday July 03, 2021 @09:24PM (#27726582)
I’m not saying it is, the courts should really decide on what exactly counts as fair use in this case.

All I’m saying that you don’t need to be a huge corporation to do it, and that others are doing similar things as well.

I passed on Snyk code due to similar concerns especially since they pull out examples from FOSS projects directly and even had a “fix me” option where they push pull requests into your repo with fixes.

On ML in general the current policy I’m working on for my org is that we do not use any pre-trained models trained on public data and pushed the legal team to actually start figuring out how we should deal with these issues properly in the future.

ML currently is a Wild West it’s too new to have been tested and defended in court regardless of how to chips would or should fall.

As far as your specific example it would really depend on what data is actually preserved.

Since they do parrot whole code snippets comments and all it seems that they don’t have a generalized model at least for every problem.

However it’s also my personal legal opinion (ANAL) that if you can prove that the model holds nothing but a generalized solution for a given problem the code it outputs isn’t a derivative work anymore than a the code of a person learning from copyleft code.

However then there is the whole issue of “allowed use” none of the existing licenses specify if the code can be used to train a model, this also means that we probably need to update all existing licenses to include a clause that explicitly states the limitations for this use case.

For code under existing licenses the fair use needs a proper judgement.

My gut feeling would be that it would count as fair use just as using code in a course or a book would be. GitHub definitely needs to make a page with attributions tho for that to happen and make sure their model doesn’t output anything but a generalized solution.

Re:GitHub scraped your code. And they plan to charge you by kenniskrag on Saturday July 03, 2021 @04:45PM (#27724767)
is copy not allowed by theirs terms of service? I read something about that it is needed for e.g. forking feature. But it was years ago, when I created the account.
Re:GitHub scraped your code. And they plan to charge you by jwalton on Saturday July 03, 2021 @03:56PM (#27724360)
> Even with an MIT license it is a copyright violation to copy the code without attribution.

That was my take originally, but apparently this is not as cut and dry as you may think:

https://www.technollama.co.uk/is-githubs-copilot-potentially...

Re:GitHub scraped your code. And they plan to charge you by neolog on Saturday July 03, 2021 @04:24PM (#27724595)
> People share code for the betterment of society, and while copyleft used to be popular early on, the software industry has been moving towards less problematic and more permissive licences. The spirit of open source is to share code, and make it possible to use it to train machine learning.

It sounds like this writer doesn't understand the point of the GPL or the distinction between free software and open source. Also quite a crude historical perspective given the increasing number of major projects licensed virally. Claiming that MITL's popularity justifies pirating GPL code makes no sense.

Re:GitHub scraped your code. And they plan to charge you by insulanus on Saturday July 03, 2021 @06:05PM (#27725318)
> the software industry has been moving towards less problematic and more permissive licences [sic]

... less "problematic" for who, exactly?

That is conveniently left out.

Re:GitHub scraped your code. And they plan to charge you by fsckboy on Saturday July 03, 2021 @07:15PM (#27725796)
not only is "problematic" problematic, so is "permissive".

more permissive for whom? because the GPL is the most permissive license for users of the code: GPL guarantees, they're permitted to see the source.

Re:GitHub scraped your code. And they plan to charge you by a1369209993 on Monday July 05, 2021 @09:49PM (#27743489)
Re:GitHub scraped your code. And they plan to charge you by ghoward on Saturday July 03, 2021 @04:22PM (#27724580)
All of my open source licenses require attribution, but Copilot does not give that attribution. So while my code is open source, Copilot is still violating the open source license. Just because it's open source doesn't mean there are not any terms that must be abided by.

I believe that gives me the right to be mad and to demand they fix their violations, one way or another.

Re:GitHub scraped your code. And they plan to charge you by SamWhited on Saturday July 03, 2021 @03:46PM (#27724253)
If you write MIT code you expect them not to strip your license out in derivative works. This is exactly what license are for and GitHub is blatantly violating it while people applaud.
Re:GitHub scraped your code. And they plan to charge you by dopaminefasting on Saturday July 03, 2021 @03:54PM (#27724328)
Maybe read the MIT license before you grab the pitchforks:

"The above copyright notice and this permission notice shall be included in all COPIES OR SUBSTANTIAL PORTIONS of the Software."

Reusing a snippet doesn't require reproducing the MIT license. People who publish MIT software know they're basically giving their code out with basically no strings attached.

However, GitHub should be careful with the GPL variety.

Re:GitHub scraped your code. And they plan to charge you by pdonis on Saturday July 03, 2021 @04:39PM (#27724708)
The problem here is that a person using this automated tool is not being given the required information in order to decide whether the code they are re-using is a "substantial portion" of the software it's taken from; in fact, they aren't even being told they're re-using existing code at all.

This does not relieve the person using the code of the responsibility to make that determination, so anyone who is re-using code shown to them by this automated tool is doing it without having fulfilled their responsibility under the license. The fact that they don't know they are doing this, because the tool is not telling them, doesn't change that.

> People who publish MIT software know they're basically giving their code out with basically no strings attached.

No, they aren't. The license has terms. Using an automated tool that doesn't tell you when you are re-using existing licensed code, or whether your re-use is within the terms of the license, doesn't mean you can just ignore the license. It means you're re-using code without knowing whether or not you're violating a license.

Re:GitHub scraped your code. And they plan to charge you by chx on Saturday July 03, 2021 @04:42PM (#27724741)
> Reusing a snippet doesn't require reproducing the MIT license.

In light of Google v. Oracle going as far as the Supreme Court I find your confidence in this quite astonishing.

Re:GitHub scraped your code. And they plan to charge you by JBorrow on Saturday July 03, 2021 @04:00PM (#27724396)
SUBSTANTIAL PORTIONS can mean the core five lines of some key algorithm buried deep in a 1000 line wrapper library with a bunch of language wrappers.
Re:GitHub scraped your code. And they plan to charge you by eesmith on Sunday July 04, 2021 @01:07AM (#27727361)
I don't interpret "substantial" here as affecting the 'de minimis' requirement for infringement, as that would require other language.

I'm pretty sure every court will instead interpret the word "substantial" in the MIT license as referring to the concept of "substantial similarity", which must be demonstrated in any copyright infringement case - https://en.wikipedia.org/wiki/Substantial_similarity

I distribute software under the MIT. "Basically no strings" != "no strings". I expect attribution for any derived program which has substantial similarity to my software.

I regard the presence of the word 'substantial' to indicate that the license applies to even modified forms of the software. As that Wikipedia link points out:

> Under the doctrine of substantial similarity, a work can be found to infringe copyright even if the wording of text has been changed or visual or audible elements are altered

Re:GitHub scraped your code. And they plan to charge you by arp242 on Saturday July 03, 2021 @04:24PM (#27724597)
What counts as a "substantial portion"? Personally I'd say that a function is substantial, whereas one or two lines would not be.
Re:GitHub scraped your code. And they plan to charge you by ClumsyPilot on Saturday July 03, 2021 @04:38PM (#27724705)
We can argue that point, but it seems githib in no way is even aware of how substantial their copying is
Re:GitHub scraped your code. And they plan to charge you by jacobsenscott on Saturday July 03, 2021 @05:15PM (#27724988)
I write a lot of one or two line functions though.
Re:GitHub scraped your code. And they plan to charge you by chartreusek on Saturday July 03, 2021 @03:49PM (#27724275)
Sure, but there's still the license at play here. It's not like they trained it only on public domain/CC0 code. What happens when it verbatim outputs a significant amount of code that was originally MIT, or BSD, or GPL licensed without the appropriate attribution. It can create unintended copyright violations and potentially open people using it up to liability.
Re:GitHub scraped your code. And they plan to charge you by bryanrasmussen on Saturday July 03, 2021 @03:59PM (#27724386)
>What happens when it verbatim outputs a significant amount of code that was originally MIT, or BSD, or GPL licensed without the appropriate attribution

You would sue.

And then Github would argue that their algorithms did not spit out verbatim the code by copying but rather it generated code that looked exactly like the other code based on learning from millions of codebases. ¨

And then there would be lots of lawyers.

And then a judge would have to decide.

Re:GitHub scraped your code. And they plan to charge you by t0mas88 on Saturday July 03, 2021 @04:14PM (#27724527)
And the judge would really not care about the "we did not copy it, we made an algorithm that created the exact code" technicality. It's their job to see through such things and consider the case at a higher level.

So the judge would look at two pages of exactly the same code and then decide whether the "not really copied" part is big enough to be considered an original work or not. If it is big enough it is a copyright violation. Nobody cares that you used an algorithm in between, you took the original as an input and ended up with exactly the same thing as an output, copyright violation, case closed...

Re:GitHub scraped your code. And they plan to charge you by ineedasername on Saturday July 03, 2021 @04:06PM (#27724456)
But it would still potentially have used code not licensed for commercial use as a data set for a commercial product, which is problematic.

GitHub really needs to clarify which code was allowed for inclusion here. Until then we're can only speculate And enumerate potential scenarios.

Re:GitHub scraped your code. And they plan to charge you by dheera on Saturday July 03, 2021 @03:56PM (#27724354)
I suppose it really depends on if they spit out verbatim reproductions of code or whether it is the equivalent of a 10-year experienced programmer who has just seen a lot of code but isn't reproducing anything verbatim.

We shall see, by Googling some of the code it spits out.

FWIW GPT-3 doesn't really tend to spit out verbatim reproductions of copyrighted books.

Re:GitHub scraped your code. And they plan to charge you by Gaelan on Saturday July 03, 2021 @03:58PM (#27724377)
Copilot spitting out fast inverse square root, verbatim: https://twitter.com/mitsuhiko/status/1410886329924194309

HN discussion: https://news.ycombinator.com/item?id=27710287

Re:GitHub scraped your code. And they plan to charge you by toxik on Saturday July 03, 2021 @05:12PM (#27724969)
I have worked a bit with transformers, the model underlying GPT. They absolutely learn to copy training data, and that’s perfectly normal.

What is happening here is we’re running into exactly what modern ML is NOT capable of: deductive reasoning. It does not think “I need to query the Twitter API for some posts, then filter them. Right, the API works like this…” No. It doesn’t think at all. It is a regression machine. “This sequence begins/looks like something I have seen before, here’s the corresponding output modulo adaptations.”

ML does not self-reflect, question motives and analyse causes. It’s just a complete lie to suggest otherwise, and to call this “pair programming”? What an absolute joke. It’s a lot like Tesla calling its glorified lane keeping an autopilot.

Re:GitHub scraped your code. And they plan to charge you by TeMPOraL on Saturday July 03, 2021 @06:31PM (#27725487)
> FWIW GPT-3 doesn't really tend to spit out verbatim reproductions of copyrighted books.

But it does spit out whole paragraphs at a time. This is easy to test by going to any of the GPT-2/3 playgrounds on-line (e.g. AI Dungeon), and playing with prompts. Very specific prompts work best, but sometimes even with a generic prompt, if you let the model continue on its own past the first output, it might just shunt itself into a path where following the most probable continuations happens to reproduce a substantial portion of some work verbatim.

Re:GitHub scraped your code. And they plan to charge you by JBorrow on Saturday July 03, 2021 @03:57PM (#27724369)
Re:GitHub scraped your code. And they plan to charge you by dylan604 on Saturday July 03, 2021 @06:15PM (#27725383)
Maybe they should train the ML to read the license? If the ML can undertand the license, then we'll have to bow down to their superiority. However, if it did understand the license, then it would do the right thing.
Re:GitHub scraped your code. And they plan to charge you by toomuchtodo on Saturday July 03, 2021 @03:51PM (#27724292)
So sue them and a court opinion can demonstrate where the line is and how much code can be replicated before attribution is required (and the product can be refined to ensure compliance).

Innovation should push boundaries.

Re:GitHub scraped your code. And they plan to charge you by detaro on Saturday July 03, 2021 @03:52PM (#27724314)
They could push boundaries and publish one trained on all of Microsofts internal source code. Would for me be a great demonstration that they believe the "it's fair use and not violating copyright on the training data" argument.
Re:GitHub scraped your code. And they plan to charge you by fartcannon on Saturday July 03, 2021 @04:25PM (#27724605)
It's more likely they'd sue someone who used it to develop something that ate into their lunch by saying it infringed on one of their 'secret' Linux patents they sabre rattle about every now and then.
Re:GitHub scraped your code. And they plan to charge you by lc9er on Saturday July 03, 2021 @03:54PM (#27724338)
Are you equipped to fight a protracted legal battle with Microsoft? Neither is anyone else.
Re:GitHub scraped your code. And they plan to charge you by joe_the_user on Saturday July 03, 2021 @04:01PM (#27724415)
The product is already dead. It's not just Microsoft that would be violating the license but any company using the application and Microsoft can't shield them.
Re:GitHub scraped your code. And they plan to charge you by jeroenhd on Saturday July 03, 2021 @04:37PM (#27724697)
Open source code still has a license. That license may or may not require distributing the license along with the code. MIT may allow distribution without a license unless the code share is significant, but reusing GPL3 is a no-go for commercial companies.

The Apache 2 license allows for commercial use, but has implications for the way you can enforce your software patents. It also requires distributing the license file along with your application.

Complaining that companies use the software you told the world was free to use without restriction is dumb. However, not everyone gives away their software for free without restrictions. The fact that Github isn't respecting those licenses is a much bigger problem.

The tool autocompleting some random guy's personal information because he uploaded his blog to Github is highly problematic. The idea of using permissively licensed code to train an AI is not bad, but some human with knowledge of software licenses would need to pre-select those projects.

If all code came from one of those "do whatever the fuck you want" licenses, then there wouldn't be a problem. I'd consider it to be a great product and have no issue paying a fee. There's a huge market for a Copilot product, but this iteration just.. isn't it.

Re:GitHub scraped your code. And they plan to charge you by jefftk on Saturday July 03, 2021 @05:48PM (#27725203)
> reusing GPL3 is a no-go for commercial companies

The GPL is completely compatible with commercial use. You just need to share modifications to the source with anyone you share the binary with. Many tech companies make extensive use of GPL software, and since they are not providing binaries to their end users they don't even have to share their changes to the source.

Even the AGPL, which does require you to share the source with users, still completely allows commercial use (though not compatible with as many business models).

Re:GitHub scraped your code. And they plan to charge you by jeroenhd on Saturday July 03, 2021 @07:11PM (#27725773)
If you include GPL3 code, your code also effectively also becomes GPL3 licensed. This isn't a problem for companies producing GPL3 software, of course, but most companies keep their source code to themselves.

True, the web loophole is a way around this, assuming the GPL'd code isn't part of the compiled/minified/integrated frontend Javascript libraries that gets sent to the client (because then you have the exact same problem).

It's not that commercial use is prohibited by GPL3, it's more that most businesses do not want to risk accidentally releasing a version of their software that requires them to share all source code to that version. And even if you're producing open source software, GPL3 might still be a problem because of incompatible licenses (see ZFS for an example) if you don't own _all_ the copyright so you can dual-license your software.

Re:GitHub scraped your code. And they plan to charge you by bphogan on Saturday July 03, 2021 @04:27PM (#27724617)
I think you're missing my point. I have tons of MIT code out there, including a node.js project used by lots of companies. I don't care about people using my code for money because I open sourced it under a permissive license. So I'm not really objecting to that.

But what's bothering me about this is that it's not a small company doing this. It's a company that's got crazy amounts of cash, who has been trying to trade on a "we're nice now and we love open source" image in the last few years, now taking all the open source code and balling it up in a closed-source app they will charge us for.

I'd be fine if I got to use it for free, extend it to whatever editing platform I like through its open API, and it was a part of an open project.

But right now it looks like they'll charge, and that bugs me.

Re:GitHub scraped your code. And they plan to charge you by hbz65 on Saturday July 03, 2021 @03:47PM (#27724255)
“Free and open source, assuming I approve of the usage” is a common sentiment among people who paste Apache or MIT and don’t think about the ramifications. It’s increasingly common.

I think this situation is slightly more complex but that sentiment is at the heart of a lot of pushback against things like this.

Re:GitHub scraped your code. And they plan to charge you by iotku on Saturday July 03, 2021 @03:59PM (#27724385)
Dev: "Anyone can use my code for any purpose including commercial purposes."

$BigCorp: "I want to use to use Dev's code for commercial purposes as he has explicitly granted me the right to do so."

Dev: "Wait, no not like that."

As much as I am a proponent of permissive licenses (my favorite is the wtfpl), you have to pick your license wisely especially if you're going to be picky about usage (Be it by $BigCorp, government agencies, or other companies that you might not be fond of).

If you really want "full control" over your code you have to make it proprietary.

Re:GitHub scraped your code. And they plan to charge you by mcbits on Saturday July 03, 2021 @04:31PM (#27724650)
This is why I think AGPL is a reasonable default for personal projects where the dev doesn't want to fuss over licenses or sue anyone, but would be uncomfortable with $BigCorp exploiting their work. Even though it doesn't explicity prohibit them from using it, it tends (or tended) to have that effect.
Re:GitHub scraped your code. And they plan to charge you by dopaminefasting on Saturday July 03, 2021 @03:57PM (#27724362)
All the people in this thread angry that GitHub is using MIT software in a way permitted by its license... depressing.

The MIT license doesn't require attribution for small snippets, only for full copies or substantial portions.

Re:GitHub scraped your code. And they plan to charge you by fartcannon on Saturday July 03, 2021 @04:28PM (#27724624)
As others have already told you in this thread, substantial portions can mean the few lines of significant algorithm wrapped in boiler plate. So either way, Microsoft would have to prove the MIT code was not substantial.
Re:GitHub scraped your code. And they plan to charge you by Retr0id on Saturday July 03, 2021 @03:47PM (#27724259)
MIT licensed code must still be distributed with a copy of the license.
Re:GitHub scraped your code. And they plan to charge you by jrm4 on Saturday July 03, 2021 @05:34PM (#27725099)
Once again, Stallman (will have been) right.

Github/Microsoft is going to take your code, and then cut off your access to it. This is what the GPL was designed to fight, so they're going to try it this way instead.

Those who do not learn history yadda yadda.

Re:GitHub scraped your code. And they plan to charge you by jefftk on Saturday July 03, 2021 @05:44PM (#27725176)
How does this cut off our access to the code?
Re:GitHub scraped your code. And they plan to charge you by jrm4 on Sunday July 04, 2021 @11:35PM (#27734429)
Someone's GPL'd code will "strongly inspire" someone elses proprietary (or otherwise "controlled") code down the line, and there won't be much recourse.

Remember, the GPL isn't fundamentally about "enforcing licenses," it's a tool that reverses the usual power of copyright for a higher goal of "software freedom."

Re:GitHub scraped your code. And they plan to charge you by brutal_chaos_ on Saturday July 03, 2021 @04:44PM (#27724759)
Let's say your code on GitHub is not opensourced. Do we know it wasn't used for training?
Re:GitHub scraped your code. And they plan to charge you by Abishek_Muthian on Sunday July 04, 2021 @01:58PM (#27731432)
Has GitHub agreed that it scraps based on license of the repository?

If so then what about private repositories with a permissible license but not been made public for what ever reason.

What about those projects whose dependencies has permissible license but main repo doesn't? Can GitHub just go oops!

I think the point that so much confusion exists regarding their product & possible violation of user's trust is a valid reason to be pissy about.

Re:GitHub scraped your code. And they plan to charge you by matsemann on Saturday July 03, 2021 @03:53PM (#27724323)
> If you..

But we didn't.

Re:GitHub scraped your code. And they plan to charge you by licenseauth on Sunday July 04, 2021 @01:15PM (#27731141)
> quite a lot of MIT code

Where is this MIT licensed codes of yours, because it definitely is not on your github.

Re:GitHub scraped your code. And they plan to charge you by seph-reed on Saturday July 03, 2021 @03:50PM (#27724286)
Frankly, I think the reason people are upset is because a tool that once revolved around sharing work with others has been bought by a super giant corporation and then all of that sharing is being turned into a means of putting the people who shared out of work. Or in the very least, cutting their salaries dramatically.
Re:GitHub scraped your code. And they plan to charge you by richardfey on Saturday July 03, 2021 @05:05PM (#27724909)
How do you see this technology putting people out of work or having their salaries cut dramatically? I do not write any code that could be found and copy/pasted from somewhere online.
Re:GitHub scraped your code. And they plan to charge you by firebaze on Saturday July 03, 2021 @04:10PM (#27724485)
Downvoted. There's a difference between "commercial purpose" and "global player", and Microsoft crossed another line. One of many.