News for hackers. Stuff that matters.
Re:All AI-generated code should be Open Source by timbritt on Sunday November 15, 2026 @12:08PM (#50508568)
This is why I keep a comprehensive and exhaustive record of infrastructural, architectural, business logic and code-level decisions in the form of tasks/issues for everything I build. It’s literally a real-time record of my personal involvement in the design of the system.
Re:All AI-generated code should be Open Source by bilbo0s on Sunday November 15, 2026 @02:18PM (#50509771)
Everyone should have an engineering notebook. A lot of people will find out the hard way that engineering notebooks are just table stakes in the new era.

Having said that, it's important to point out, at least as far as attorneys have advised me, that notebooks do not protect you from copyright claims if an LLM generates a section of your code that is a verbatim (or near verbatim) copy of already copyrighted code. So if you're using llm's to generate something similar to some open source project somewhere, tread lightly. I assume using llm's to generate something similar to some proprietary software package would be less of an issue since the llm would never have had access to that software's codebase in any case.

Re:All AI-generated code should be Open Source by Buttons840 on Sunday November 15, 2026 @03:29PM (#50510372)
Who broke the copyright though? Me who unknowingly copied some code from a webpage that gave me permission to do so, or the webpage that stole it from somebody else?

I guess both?

In this case, the "webpage" is ChatGTP and a trillion dollars of investor money or whatever, so I'm guess they won't be held responsible, but I might, even though I'm arguably guilty of a far lesser crime.

Re:All AI-generated code should be Open Source by tredre3 on Sunday November 15, 2026 @07:20PM (#50512431)
I suppose part of the issue is that you're knowingly and willingly use/buy code that you know to be stolen. There doesn't seem to be any ambiguity in your mind, you used the word "stole" yourself.

Thus in some sense it's like purchasing stolen goods in real life. Sure it's a lesser crime than stealing it yourself. But doing so knowingly is still a crime almost everywhere.

Re:All AI-generated code should be Open Source by Buttons840 on Sunday November 15, 2026 @09:21PM (#50513258)
I'm talking about using code generated by AI and I don't know it to be stolen. In fact, I see that everyone is using the AI and the AI companies themselves are free of criminal charges, and so I assume what the AI gives me is legal to use.
Re:All AI-generated code should be Open Source by gopher_space on Monday November 16, 2026 @12:38AM (#50514408)
There's no reason for us not to assume my work and writing are part of the whole ball of wax, so I hereby give you permission to go nuts.
Re:All AI-generated code should be Open Source by Joakal on Sunday November 15, 2026 @10:54PM (#50513818)
AI companies have bought data legitimately from companies like Stack Overflow. So its not always stolen.

A pawn shop might be a better analogy. Potential to buy cheap goods that could be stolen.

Re:All AI-generated code should be Open Source by jimbokun on Sunday November 15, 2026 @05:45PM (#50511678)
I suppose generating the same functionality with a different programming language than the original would make it very unlikely to accidentally duplicate existing code.
Re:All AI-generated code should be Open Source by bilbo0s on Sunday November 15, 2026 @06:35PM (#50512060)
Insightful

That might actually be a good idea in the future:

Stay away from popular programming languages.

Re:All AI-generated code should be Open Source by LeFantome on Sunday November 15, 2026 @11:18PM (#50513976)
That has already been established not to be a defence.

Which makes sense. I cannot translate Harry Potter to another language and claim it is an original work.

It would make it harder to prove perhaps.

Re:All AI-generated code should be Open Source by jgalt212 on Sunday November 15, 2026 @04:08PM (#50510781)
I guess, but if your ip enters the training set and then others use these models to generate their own but similar ip then the original ip creator is in a similar but weaker position than the NY Times and other copywrite holders are in.
Re:All AI-generated code should be Open Source by trinsic2 on Monday November 16, 2026 @01:36AM (#50514711)
Same here, but I do it to remind myself where I've been and where i am going.