许可证与小代码片段相关吗?

发布于 2024-08-26 02:59:08 字数 1455 浏览 5 评论 0原文

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(4

胡渣熟男 2024-09-02 02:59:08

我不是律师 - 但我最近参与了此类问题的研究。从博客复制和粘贴代码当然可以被视为侵犯版权,除非博客说明该代码所遵循的许可证以及如何重用该代码。

我建议仅使用这样的示例代码来为您提供解决方案的一般流程/想法 - 然后从您自己的头脑中以您自己的风格重新实现该想法。

正如所建议的,邮寄许可是另一种选择。大多数写博客代码的人都愿意重用它。

I am not a lawyer - but i've recently been involved in looking at issues like this. Copying and pasting code from blogs can certainly be considered copyright infringement unless the blog states the license that the code is under and how it can be reused.

I'd recommend using sample code like this only to give you the general process/idea for a solution - then reimplement the idea from your own head and in your own style.

As also suggested, mailing for permission is another alternative. Most people blogging code are open to having it reused.

末蓝 2024-09-02 02:59:08

关于第一个问题:尽管该法律可能很愚蠢,但从技术上讲,版权适用于任何表达方式,并且无需表达方式的作者明确声明即可适用;如果没有许可证,理论上您可能要为侵犯版权承担责任,即使是小片段。可能的防御基于合理使用,但是(同样,理论上)您可能最终会陷入困境法庭为自己辩护(你的合理使用主张并不能阻止版权所有者起诉——除了常识之外,没有什么可以阻止——但如果法官认为使用确实是公平的,他或她可能会做出对你有利的决定)。

你的第二个问题取决于你的代码是否是代码段的衍生作品,这是另一个棘手的概念与“合理使用”问题交织在一起。同样,唯一确定的答案是法官在具体案件中给出的答案(实际上是“确定的”,除非被上诉法院推翻;-)。

请记住,大多数立法者都是受过培训的律师:有时人们可能会想,他们是否只是为了确保律师总是有足够的工作而使法律变得微妙和困难;-)。

On the first problem: silly as that law may be, technically copyright applies to any expression, and applies without requiring the author of the expression to assert it explicitly; if there is no license, you might in theory be liable for copyright violation even for small snippets. Possible defenses are based on fair use, but (again, in theory) you might end up in court to defend yourself with that (your fair use claim does not stop the copyright holder from suing -- nothing does, except common sense -- but the judge might decide in your favor if he or she decides the use is indeed fair).

Your second problem hinges on whether your code is a derivative work of the snippet, another thorny concept which mingles with the "fair use" issue. Again, the only definitive answer is the one a judge gives in the specific case ("definitive" unless overruled by an appeals court, actually;-).

Remember, most lawmakers are lawyers by training: sometimes one may wonder if they make the laws subtle and difficult just in order to ensure lawyers will always have plenty of jobs;-).

萌逼全场 2024-09-02 02:59:08

这在很大程度上取决于国家。在一些国家,节目被视为文学图片,因此允许少量“引用”作为合理使用。

不幸的是,您必须说明您居住在哪个国家并检查当地的版权法。在大多数情况下,更便宜的解决方案是向作者发送邮件以获得许可(特别是如果它是开源项目)。

It largly depends on country. In some countries programs are threated as pices of literature so small amount of 'quote' is allowed as a fair use.

Unfortunatly you have to state which country you live in and check what's the local copyright law. In most cases cheaper solution is mailing author for permission (especially if it is open source project).

我不吻晚风 2024-09-02 02:59:08

版权法(如《伯尔尼公约》)在某种程度上保护甚至很小的文字,因此您必须咨询熟悉您居住地法律的人。当地图书馆可能有一些资料,或者您可以咨询律师。

至于当你在瑞典做了一些合法的事情并将其发送给在美国可能是非法的我时会发生什么,我真的不知道。我认为我会遇到法律麻烦,尽管有 Dmitri Sklyarov 案值得担心关于(他在俄罗斯做了一些合法的事情,来到美国,并在我不太了解的法律情况下被捕)。再次咨询律师。

Copyright law (as in the Berne Convention) protects even small pieces of writing to some extent, so you'd have to consult somebody knowledgeable in the law where you live. There may be something available locally in a library, or you could consult a lawyer.

As far as what happens when you do something legal in Sweden and send it to me in the US where it might be illegal, I don't really know. I think I'd be the one in legal trouble, although there's the Dmitri Sklyarov case to worry about (he did something legal in Russia, came to the US, and was arrested under legal circumstances I don't really understand). Again, consult a lawyer.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文