16 ms·
FSF-calls for white papers on philosophical and legal questions around Copilot
- thomzane 5y agoI am excited to see where these questions lead.
- grepfru_it 5y agoSomething like this? [GitHub Copilot License Config Menu] Show suggestions with the following tags: - [ ] GPLv3 - [x] GPLv2 - [ ] AGPL - [x] CC-BY-SA - [x] Apache License - [x] MIT License - [ ] No License Attribution
- dunham 5y agoWould that require generating 2^n models or can models be combined?
- blooalien 5y agoI would think that to combine the models, the software would need some internal method to differentiate between the licenses used by the various code sources it's pulling it's suggestion "ideas" from, and the compatibility between the licenses of those sources and your own choice of licensing for the project you're creating.
- tyingq 5y agoOther picklists might be handy too, especially something that would narrow to higher quality sources. And they need a report button with a picklist of reasons.
- imoverclocked 5y agoeg, cleanliness described by different linters/static-analysis tools? Can we actually make better code suggestions by choosing examples which are known to have less super-obvious flaws?
- tyingq 5y agoLinters would be nice, though the bar is pretty low. A lot of the examples won't even compile :)
- remram 5y agoThose licenses require attributions. You can't just say "Copyright (c) all the projects indexed in Copilot".
- grepfru_it 5y agoThere's certain information I cannot share, but you can see the general idea of what I'm throwing out here
- judge2020 5y agoI would imagine saying "Copyright (c) appropriate rights holders on planet Earth" wouldn't satisfy most license attribution claims if they were ever tested in court.
- slownews45 5y agoAnyone feel like FSF moved from maybe engineering idealists to a very lawyer driven type org? The big GPLv3 push and development - plenty of attacks on folks actually shipping product on GPLv2 and building communities around that model (which keeps software free but allows users of the software to do what they want with it pretty much including putting in devices that are locked down - cars / tivo's etc). Here's an opportunity to really advance in an interesting area with ML -> something that may open up programming to more people -> may advance computers ability to program and modify their own programs in the long run. And regardless of the FSF attorney stuff, places like china, tiny little LLC's with no assets will very likely use the wonderful amount of code on the web to develop solutions in this space, even if FSF claims everything is a violation. Where is the vision anymore from FSF. One thing that's been sad about the FSF -> it's gone from what I would consider a forward looking idealism sort of thing -> here's how we could do / make cool stuff that let communities work together -> to now sort of a legal compliance type org that really is focused on "actionable claims" " protected against violations" etc. Question - does the Linux community and other successful larger open source communities welcome the FSF and their attorney's into the discussion? I can hardly imagine the BSD's, the Linux folks really connecting anymore with them. Is there space for a different group, maybe a collection of actual develops shipping code in larger communities to get together, no FSF / SFC lawyers present, to think creatively about the future? What should we be working for, what is fair to everyone, what helps society, what works around pro-social community building? A tool that helps with cross language building blocks for common functions etc (stackoverflow on steroids) - just how bad is this?
- e40 5y agoNo. The FSF had lawyers from the beginning and always thought (I talked with RMS in the early 80's some) that enforcement was part of the plan.
- slownews45 5y agoSure, but the GPLv2 was very freedom oriented. Enforcement practically was relatively sparse and more educational I thought. Ie, release the TiVo source code, but we don't care that Tivo's are locked down. Is anyone building strong communities on AGPLv3 / GPLv3? I feel the momentum shifted towards Apache / MIT style licenses unfortunately.
- senko 5y ago> We already know that Copilot as it stands is unacceptable and unjust [...]. Activists wonder if there isn't something fundamentally unfair about a proprietary software company building a service off their work. > We will read the submitted white papers, and we will publish ones that we think help elucidate the problem. Doesn't give me hope they're aiming for unbiased opinion. I would be very surprised if any of the published papers don't closely align with FSFs apriori position.
- nescioquid 5y agoIt sounds like they have a legal premise and they want to work out the implications, not to open up discussion to every quibble about the FSF's values. Having an opinion on the legal issues around their licenses and values seems sort of essential to what the organization does. The word "unbiased" seems to be doing a lot of heavy work in your comment. The FSF is inherently biased towards its project -- how is that a problem?
- senko 5y ago> The word "unbiased" seems to be doing a lot of heavy work in your comment. The FSF is inherently biased towards its project -- how is that a problem? That's straw-man, I never said (nor do I think) FSF should not be biased towards its project. However, I would be more willing to trust the results of this call if I had confidence that all solid arguments are presented, even if they're not aligned with FSF's agenda. Hiding them won't make them disappear - you might as well get as informed as possible about the issue, especially if you care deeply about the issue and agree with the FSF.
- deleted 5y ago[deleted]
- deleted 5y ago[deleted]
- user-the-name 5y agoThe part you removed is the crucial part that explains that paragraph.
- pkrefta 5y agoI'm using Github to publish my code and seriously I don't care whenever Copilot was trained using it. I published it and in the end somebody can do anything with it without giving a damn about license, copyright etc - that's the truth of open-source.
- grepfru_it 5y agoThis was the same mentality that brought copyleft to the masses in 1984. While you may not care, there are others who do care about the sanctity of license agreements. This is an argument where staying silent means you accept this approach. Of the millions of open source projects, a large portion of the contributors ARE speaking up because they don't find this to be acceptable. I personally think copilot is the future and all this discussion is doing is going to bring a license usage feature to copilot (e.g. i want only or i do not want GPL code in my copilot suggestions) Please continue using GitHub as you were, but maybe consider acting on your words and either removing or changing licenses within your code that does not represent your ideals. Nothing is preventing you from releasing code into the public domain, so do that!
- Permit 5y ago> Of the millions of open source projects, a large portion of the contributors ARE speaking up because they don't find this to be acceptable. Is this true? Is there really a large portion of contributors speaking up against this? I got the opposite sense, that it was a very small portion of contributors speaking up against this but I don't have any evidence one way or the other.
- colechristensen 5y agoWell then you're a BSD-license kind of person. Not everybody is and that's ok too.
- nitrogen 5y agoThe BSD license still requires attribution and copyright notices visible to the end user.
- belorn 5y agoAn interesting initiative from FSF, through I suspect the answer the most of the question will be answered when someone attempts a similar projects in a more traditional copyright-restrictive area. As an example I would like to see is a Cosinger, where the AI is trained using songs on youtube and streaming services. With the final product, a user start to sing and the algorithm attempt to sing along and give the singer suggestions for how the song should continue. I could see how a lot of musicians would be willing to pay good money for such program, and removing obligations to pay any money for the training set would make it much more feasible to create. There are already AI's that create music (through unlikely from proprietary training sets). A Cosinger shouldn't be too far from that.
- antocv 5y agoA Cosinger would be illegal unethical, profit killing, anti democracy and ultimately anti our very own freedom to own intellectual property. /s The same difference as allowing Google to prosper while beating down ThePirateBay, another search engine.
- belorn 5y agoI predict it is very likely we will see a court case where a smaller actor will take public available information as training data and get sued for copyright information. It will be interesting to see if, just like in the pirate bay case, the courts will be creative. In the TPB case, the accused was found guilty of an Swedish anti-biker gang law that was written with the intention to shut down biker bars. When copilot came out, one thing it reminded me of was the ethical considerations of face generators in animation. The output naturally has some similarities with the training data, and it is trivial to use a limited set of actors in order to create faces with canny similarities of the actors. A question that people asked (here on HN if I recall) was if you needed permission from those actors to use in the training set, or if this would allow anyone to "steal" the face of public faces and create semi-look alike that can then be used in anything from porn to advertisement. The law is undoubtedly going to catch up.
- davisr 5y agoThe ignorance in this comment section is already giving me an aneurysm. Software licenses matter. Copyright matters. If megacorps like Microsoft can sue people into oblivion for violating their copyright terms, people can sue Microsoft into oblivion for violating theirs. I don't use MS Github, I have no skin in the game, but I hope there is at-least a $1000 award to every instance of AGPL and GPL license violation because it's unfair and illegal what they're doing. This isn't ML, it is a ripoff and is violating clear software licensing terms. https://news.ycombinator.com/item?id=27710287 https://news.ycombinator.com/item?id=27710287 Software freedom matters, but I wouldn't expect the typical HN type to understand, since their money is made on exploiting freely-available software, putting it into proprietary little SaaS boxes, then re-selling it.
- xxpor 5y agoSoftware licenses have barely been tested in court, let alone how they apply to code injected and combined with other code via machine learning. You're extremely overconfident about how this will actually play out. For one, just because your code is covered by the GPL, it doesn't mean every single line in isolation is copyrightable. It has to demonstrate creativity. That's why you don't have to worry about writing for (int i = 0; i < idx; i++) {.
- bluGill 5y agoWhile they are not tested, anything other than accepting the idea kills the idea of software completely. There is lots of room to change details, but somehow copyright and the fact that the code is copied into computer memory needs to be reconciled.
- xxpor 5y agoI don't see how. It might kill specific ideological licensing of software code, but the idea it'd kill software as a whole is pretty unbelievable. Software is too valuable to society. As we're seeing, there's VERY little software where the specific algorithms or ideas in the software are what's valuable. The value comes from the ability to sell a service based on the software and operate it at scale. Like you said, how much SaaS is mostly open source stuff packaged up? Android is (sort of) open source, companies pay lots of people a lot of money to contribute to the Linux kernel where they give away the code they developed with that money, etc etc.
- zekrioca 5y agoInteresting: In HN, a same link submitted at a different time get different # of upvotes. Same link, just 13h ago, but with 5x less upvotes than the one in here: https://news.ycombinator.com/item?id=27992894 https://news.ycombinator.com/item?id=27992894
- ghoward 5y agoBecause the US programmers were going to bed?
- zekrioca 5y agoI'd expect HN to not let duplicates to be submitted.
- ghoward 5y agoI see. Well, it actually happens all the time.
- IvyMike 5y agoFrom the FAQ https://news.ycombinator.com/newsfaq.html https://news.ycombinator.com/newsfaq.html > Are reposts ok? > If a story has not had significant attention in the last year or so, a small number of reposts is ok. Otherwise we bury reposts as duplicates. > Please don't delete and repost the same story. Deletion is for things that shouldn't have been submitted in the first place.
- zekrioca 5y agoAttention to "in the last year or so". The same link was posted 13-14h ago, not "1 year or so ago".
- IvyMike 5y agoThey have explicitly stated that are ok with retrying recent overlooked stories just in case a story got missed or buried for whatever reason. They are also ok with reposting year+ old stories that did get significant attention at the time, since the new respost may find a new audience.
- hartator 5y ago> We already know that Copilot as it stands is unacceptable and unjust, from our perspective. So, why call for white papers? I don’t believe they will publish any papers that go against their views.
- meepmorp 5y agoThey have a position and they now want to support it with arguments, and they'd like it if people would help them do that. I think that's a backwards because it's putting the conclusion first then seeking to justify it, but to each their own.
- user-the-name 5y agoNo, they have a position and arguments to support it, but those have nothing to do with the machine learning aspects, just with the fact that the software is proprietary. They are asking for views on the machine learning, which they do not have arguments or a position on.
- kelnos 5y ago> I think that's a backwards because it's putting the conclusion first then seeking to justify it Isn't that literally a lawyer's job?
- deleted 5y ago[deleted]
- meepmorp 5y ago>Isn't that literally a lawyer's job? I guess, but then they should have their story straight before they start the astroturfing campaign.
- humanistbot 5y agoYou seem to be unfamiliar with (edit: or object to) the very idea of lawyers.
- 5y ago
- lamontcg 5y agoGiven how the racist twitterbot AI turned out, along with L4 autonomous driving by 2017, I suspect that Copilot is going to suffer most from an incredibly high velocity of churned out security bugs and bad code. SWEs are probably going to get fired for using it and companies will need to ban it, even if the legal problems don't take it down.
- c7DJTLrn 5y agoIt's useless. It is a problem looking for a solution much like most "AI" tools these days. I am frankly frustrated at everyone buying into this stunt.
- phillipcarter 5y agoI don't think Copilot is useless at all. Today it's actually been very helpful for me with interactive, notebooks-based programming. And it's also just an early beta right now; as the model improves and the tooling around it matures a little more, I suspect I'll be using it a lot for interactive stuff. Notebooks programming has a flow of "execute a small bit of code, check the results, and iterate", and this fits perfectly with Copilot since you still need to check if the suggestions work. Maybe this kind of programming is where Copilot finds a niche, maybe not. I don't know. I'm skeptical of its use in larger applications where you can't trivially check if the code you wrote (with its help) did what you want. I think there needs to be a lot more tooling built around that to really make it compelling for larger applications like that, likely in the form of more editor tooling integrations. But I think it's promising. I wrote about that a little more here: https://phillipcarter.dev/posts/four-dev-tools-areas-future/#2-probabalistic-developer-tooling https://phillipcarter.dev/posts/four-dev-tools-areas-future/...
- GuB-42 5y agoI think copilot is the wrong application of AI. It spits out what most coders would write for a specific problem. First, if many people have the same problem, than libraries are the solution, not copy-pasting. Also, just because many people do one thing doesn't mean it is the right thing to do, and you sometimes get code with security vulnerabilities. Instead, I would like a system telling me about obscure things, traps, vulnerabilities, performance issues, etc... like the machine learning linter. The way I could see it work is by matching my code with bugfix commits. For example if several commits replaces "printf(buffer)" with "printf("%s", buffer)" and I write "printf(buffer)", I want an AI to tell me "code like yours is often replaced in commits, it may be wrong", bonus points if it can extract the reason from commit messages ("format string vulnerability") and suggest a replacement ("printf("%s", buffer)"), mega-bonus if it can point me to good explanation of the problem. Pissing lines of code is easy, I can do it, anyone with a couple weeks of training can do it, I don't need a bot to help me with that. Thinking about everything while I am pissing my lines is hard, and I will welcome a little help. A nice thing about that approach is that it is unlikely to result in worse code than what I would have written by myself, because it will be designed to trigger only on bad code.
- lights0123 5y ago> It requires running software that is not free/libre (Visual Studio, or parts of Visual Studio Code) A little nitpicky, but the only proprietary part it requires is the plugin itself, not the IDE—Copilot runs just fine with the Free build of VS Code compiled from source from GitHub, after flipping a switch to enable WIP APIs.
- r283492 5y agoI think you are wrong: https://vscodium.com/ https://vscodium.com/
- lights0123 5y agoVSCodium provides Free pre-compiled binaries of VS Code from GitHub, like I was describing. What about it makes me wrong? I did it two days ago, installing the Copilot plugin in a Free build of VS Code provided by my distro.
- ghoward 5y agoI honestly wish I was in a position to write a whitepaper for this. However, I should not for several reasons: * I have already made my position clear in public, [1] so I could probably be identified. * I am not a lawyer, just some bloke who attempted to write FOSS licenses to combat ML on copyrighted code. [2] [1]: https://gavinhoward.com/2021/07/poisoning-github-copilot-and-machine-learning/ https://gavinhoward.com/2021/07/poisoning-github-copilot-and... [2]: https://yzena.com/licenses/ https://yzena.com/licenses/
- ralph84 5y agoTheir link to why you shouldn't use GitHub[0] takes you to a page where they criticize GitHub for complying with US export controls. The FSF is a US corporation, why do they think that US export controls don't equally apply to savannah.gnu.org? And unlike FSF, GitHub has actually done the work of applying for export licenses so that developers in US-sanctioned countries can access GitHub[1]. [0] https://www.gnu.org/software/repo-criteria-evaluation.html#GitHub https://www.gnu.org/software/repo-criteria-evaluation.html#G... [1] https://github.blog/2021-01-05-advancing-developer-freedom-github-is-fully-available-in-iran/ https://github.blog/2021-01-05-advancing-developer-freedom-g...
- fadjacent 5y agothere is a different and more important criticism listed too, githus is nonfree. But, github could easily establish a non-us entity to host export restricted code. And for savannah, if anyone had any code they were worried about export control for their code, savannah would quickly and easily have an independent person host that repo outside the US.
- judge2020 5y agoTo be more specific: https://stackoverflow.com/legal/terms-of-service/public#:~:text=property%20rights%20therein.-,Subscriber%20Content,-You%20agree%20that https://stackoverflow.com/legal/terms-of-service/public#:~:t... > You agree that any and all content.. that you provide to the public Network... is perpetually and irrevocably licensed to Stack Overflow on a worldwide, royalty-free, non-exclusive basis pursuant to Creative Commons licensing terms (CC BY-SA 4.0) Technically a lot of people who copy from Stack Overflow are breaking CC BY-SA 4.0 since it requires attribution AND requires distributing code that uses it under the same license ( I think - I am not your lawyer) : https://creativecommons.org/licenses/by-sa/4.0/ https://creativecommons.org/licenses/by-sa/4.0/
- NelsonMinar 5y agoThis is the FSF that put Richard Stallman back on the board? No thanks.
- whazor 5y agoI am curious about the results. Having tested copilot, most suggestions are based on existing code in your opened file. Furthermore, most snippets tend to be relatively short, where it feels more like a Stack Overflow answer than existing code. Of course it is possible to make the model generate longer pieces of code that are potentially GPL. But you would have to do certain effort for it. It also tends to adopt your coding style. But maybe the fact that there are no guarantees makes it unfair.
- dcow 5y agoThe difference is that Stack Overflow has taken the legal responsibility of making sure any contributions to the site are licensed in a way that allows users to copy-paste them into their own works, and has the authority to do as much. GH does not have the authority to, without authors' permission, launder their code through an AI "tumbler" and spit out shiny suggestions stripped of all license concerns.
- unnah 5y agoI just checked Stackoverflow terms, and it still says that all user contributions are licensed under Creative Commons CC BY-SA 4.0, which means that copying them to your own codebase is likely to be a copyright violation. Lots of people do it, but it's a well-known legal problem.
- 6510 5y agoMy opinion: Copilot is a derived work.
- kmeisthax 5y ago>Is Copilot's training on public repositories infringing copyright? Is it fair use? My money's on yes, but this isn't settled until SCOTUS says so. >How likely is the output of Copilot to generate actionable claims of violations on GPL-licensed works? This depends on how likely Copilot is to regurgitate it's training input instead of generate new code. If it only does so IF you specifically ask it to (e.g. by adding Quake source comments to deliberately get Quake input), then the likelihood of innocent users - i.e. people trying to write new programs and not just launder source code - infringing copyright is also low. However, if Copilot tends to spit out substantially similar output for unrelated inputs, then this goes up by a lot. This will require an actual investigation into the statistical properties of Copilot output, something you won't really be able to do without unrestricted access to both the Copilot model and it's training corpus. >How can developers ensure that any code to which they hold the copyright is protected against violations generated by Copilot? I'm going to remove the phrase "against violations generated by Copilot" as it's immaterial to the question. Copilot infringement isn't any different from, say, a developer copypasting a function or two from a GPL library. The answer to that, is that unless the infringement is obvious, it's likely to go unpunished. Content ID systems (which, AFAIK, don't really exist for software) only do "striking similarity" analysis; but the standard for copyright infringement in the US is actually lower: if you can prove access, then you only have to prove "substantial similarity". This standard is intended to deal with people who copy things and then change them up a bit so the judge doesn't notice. There is no way to automate such a check, especially not on proprietary software with only DRM-laden binaries available. If you have source code, then perhaps you can find some similar parts. Indeed, this is what SCO tried to do to the Linux kernel and IBM AIX; and it turned out that the "copied" code was from far older sources that were liberally licensed. (Also, SCO didn't actually own UNIX.) Oracle also tried doing this to the Java classpath in Android and got smacked down by the Supreme Court. Having the source open makes it easier to investigate; but generally speaking, you need some level of suspicion in order to make it economic to investigate copyright infringement in software. Occasionally, however, someone's copying will be so hilariously blatant that you'll actually find it. This usually happens with emulators, because it's difficult to actually hire for reverse engineering talent and most platform documentation is confidential. Maui X-Stream plagiarized and infringed PearPC (a PowerPC Macintosh emulator) to produce "CherryOS"; Atari ported old Humongous Entertainment titles to the Wii by copying ScummVM; and several Hyperkin clone consoles feature improperly licensed SNES emulation code. In every case, the copying was obvious to anyone with five minutes and a strings binary, simply because the scope of copied code was so massive. >Is there a way for developers using Copilot to comply with free software licenses like the GPL? Yes - don't use it. I know I just said you can probably get away with stealing small snippets of code. However, if your actual intent is to comply with the GPL, you should just copy, modify, and/or fork a GPL library and be honest about it. To add onto the FSF's usual complaints about software-as-a-service and GitHub following US export laws (which, BTW, the FSF also has to do, unless Stallman plans to literally martyr himself for--- oh god he'd actually do that); I'd argue that Copilot is unethical to use regardless of concerns over plagiarism or copyright infringement. You have no guarantee that the code you're actually writing actually works as intended, and several people have already been able to get Copilot to hilariously fail on even basic security-relevant tasks. Copilot is an autocomplete system, it doesn't have the context of what your codebase looks like. There are way better autocomplete systems that already exist in both Free and non-Free code that don't require a constant Internet connection to a Microsoft server. >Should ethical advocacy organizations like the FSF argue for change in copyright law relevant to these questions? I'm going to say no, because copyright law is already insane as-is and we don't need to make it worse just so that the copyleft hack still works a little better. Please, for the love of god, we do not need stronger copyrights. We need to chain this leviathan.
- MichaelMoser123 5y agoi actually like it that copilot is better than me at solving interview questions. https://www.youtube.com/watch?v=FHwnrYm0mNc https://www.youtube.com/watch?v=FHwnrYm0mNc I for one welcome our robot overlords. i wonder if they could retrain the model on BSD or MIT licensed code only; How much of the open source code is licensed as GPL vs more permissive licenses, does anyone know? Interesting that they want to charge for the use of co-pilot, I guess that we will see this business model more in the future.
- Trollmann 5y agoHaven’t watched the video but this makes a lot of sense. I assume there are quite a lot of Leetcode solution repositories containing exact problem descriptions and LeetCode naming on GitHub. So essentially it‘s copy and pasting from these solutions.
- uCantCauseUCant 5y agoDoes the GPL infect directly derivative works? Aka, is Copilot a GPL licensed work, of which i can demand the source?