Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Suppose you wanted to do what some code does, then you see this LGPL code. What can you do? Adjust variable names and play with line spacing and comments until it feels different?


First off, that's a library of pedagogical implementations, so I wouldn't even want to copy it -- I'd prefer a library focused on performance. Second, it's linear algebra, there are alternative implementations and libraries out there. Third, it's covered by the LGPL, so I'd be perfectly happy to link to the library. Fourth, I'd look up a pseudocode description and go from there. In no case would I sit down with another person's implementation and give it the undergrad treatment to pretend that I'm not copying.


"In computer programs, concerns for efficiency may limit the possible ways to achieve a particular function, making a particular expression necessary to achieving the idea. In this case, the expression is not protected by copyright."

https://en.wikipedia.org/wiki/Abstraction-Filtration-Compari...


So if it's fine to copy the pseudocode implementation of a non public use codebase, then you couldn't possibly object to recreating a codebase into a different language then, right?


> Suppose you wanted to do what some code does, then you see this LGPL code.

Suppose you want to express what some other writing does, and then you see that writing? What can you do?

(You write your ideas in your own words, and quote and cite your sources)


But I don't care about the expression of the idea. I just want the idea to work. And I don't know how to do the idea myself. And I've seen how you've done it.

If I want to describe life with a nature metaphor, and then see you do it with a waterfall, I can probably get away with using a waterfall to the same metaphorical effect in my story.

Can I do that in code?


Many open source project don't allow contributions from people that have worked with similar projects with incompatible licenses. I remember https://github.com/cisco/ChezScheme/pull/376#issuecomment-45... and https://wiki.winehq.org/Developer_FAQ#Copyright_Issues


Write it yourself


I wrote it myself and it came out looking very similar. What do I do?


So, then, there's no way to know whether someone wrote it themself or "copied" it verbatim.


There is legal basis for determining if software is copied.

https://en.wikipedia.org/wiki/Structure,_sequence_and_organi...


I would love to see how that applies to Copilot!




Consider applying for YC's Winter 2026 batch! Applications are open till Nov 10

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: