TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

GitHub Copilot stealing other people's copyright comment blocks

66 点作者 thecupisblue大约 2 年前

5 条评论

teruakohatu大约 2 年前
There is a GZ on Github who tends to write the following in the header [1], which is different to what copilot generated:<p>&#x2F;*<p>* Copyright (C) 2019 GZ<p>*&#x2F;<p>It is unlikely that copilot copy and pasted a comment block verbatim. In my experience copilot might do something that resembles this if the code is very common across many projects and there is probably only one logical way to implement it. eg. a function to calculate the area of a circle.<p>Edit: I replaced the person&#x27;s name with &quot;GZ&quot; because I didn&#x27;t feel they needed be spammed on search engines because a LLM randomly produced their name.<p>[1] <a href="https:&#x2F;&#x2F;github.com&#x2F;gziolle&#x2F;promptastic&#x2F;blob&#x2F;master&#x2F;app&#x2F;src&#x2F;main&#x2F;java&#x2F;com&#x2F;gziolle&#x2F;promptastic&#x2F;ui&#x2F;PlayScriptActivity.java">https:&#x2F;&#x2F;github.com&#x2F;gziolle&#x2F;promptastic&#x2F;blob&#x2F;master&#x2F;app&#x2F;src&#x2F;m...</a>
jeroenhd大约 2 年前
Finally, copilot does attribution!<p>I suppose adding your name to every comment will help prevent Github from copying your code without attribution, maybe it&#x27;s time to start doing that.
评论 #35523570 未加载
评论 #35518701 未加载
b33j0r大约 2 年前
I know this doesn’t apply to <i>now</i> concerns. But hasn’t everyone already pretty much vacuumed up our code…?<p>And in a few years, we’ll kinda be like the guys who optimized assembly code (leading to optimizing compilers), printed BASIC out in printed publications that people had to type in (generations of self-taught hackers), and open-source toolchains (allowed everything else to be built).<p>Our copyright on a `sqlalchemy` monkey-patch in `heythatsmine&#x2F;product_model.py` should be about as protected as something Dijkstra scribbled in the margins… if we are to be consistent in our attitudes about the progress of the field.
JumpCrisscross大约 2 年前
Would be neat if this is the straw that breaks the camel&#x27;s back on copyrighting code.
评论 #35519276 未加载
turtleyacht大约 2 年前
Maybe it weights the beginning of new projects as having a new license or copyright notice.<p>If the model has been updated, it would be interesting to correlate with an uptick in files being created with copyright notices up to that moment.<p>I remember `npm init` defaults to ISC, so it&#x27;s surprising to see a named copyright. Maybe author&#x27;s most-used languages favor repos with proprietary notices.
评论 #35516972 未加载