News for hackers. Stuff that matters.
Re:All AI-generated code should be Open Source by glitchc on Sunday November 15, 2026 @10:37AM (#50507718)
The article contradicts itself. CC licenses exist because code is copyrightable in the first place, with the license governing the use of said copyright. If AI code is not copyrightable, then no license can govern it.
Re:All AI-generated code should be Open Source by wiremine on Sunday November 15, 2026 @10:49AM (#50507827)
> If AI code is not copyrightable, then no license can govern it.

This is the crux of the issue. A license controls usage of copyrighted intellectual property. Until the underlying copyright/ip issues are resolved, it seems a moot point to discuss licensing.

That said, if AI code is _not_ copyrightable, does it automatically go into the public domain? Or is there a third category?

Re:All AI-generated code should be Open Source by TheOtherHobbes on Sunday November 15, 2026 @11:09AM (#50508019)
The distinction is between creation and distribution.

Even if you accept that AI code isn't protected by copyright, code isn't public domain unless it's released. The legal issue would likely revolve around what 'released' means.

Code that runs on private servers isn't technically released. Code in web pages technically is.

But ultimately legal decisions decide to a large extent on who has the most money.

The frontier labs may eventually try to argue that they own the IP of all code, content, and inventions generated using their technology. That argument may or may not stand, but there's a fair chance they'll try it once AI is unavoidably embedded in everyone's workflow.

Re:All AI-generated code should be Open Source by redwall_hp on Sunday November 15, 2026 @03:05PM (#50510177)
Copyright applies (or doesn't) from the moment of creation, as per international treaty in all Berne Convention signatory countries. Distribution is irrelevant. Otherwise the law wouldn't serve the original intent of preventing authors from being ripped off by publishers.

"Public domain" is a synonym for "copyright does not apply or no longer applies." There's nothing special about it beyond that.

Re:All AI-generated code should be Open Source by hxugufjfjf on Sunday November 15, 2026 @11:17AM (#50508088)
Maybe the Do What The F*ck You Want To Public License (WTFPL). Its a super-permissive open-source license that acts almost like a public domain dedication.
Re:All AI-generated code should be Open Source by glitchc on Sunday November 15, 2026 @11:25AM (#50508153)
> That said, if AI code is _not_ copyrightable, does it automatically go into the public domain? Or is there a third category?

It means that AI-generated code, including proprietary code, is not covered by the existing license mechanisms, including EULAs. Companies will of course handwave over this, but it would not surprise me if this is challenged in court at some point.

Re:All AI-generated code should be Open Source by simoncion on Sunday November 15, 2026 @10:54AM (#50507859)
> It's important to remember that the purpose of the license is to allow the copyright owner to exercise their rights in a manner they deem fit.

Just as it's important to remember that the purpose of regulations like copyright and patents are to promote the progress of science and the useful arts.

We're not locked in to a suicide pact with what the Founding Fathers decided back in the late 1700s. Congress can decide that all LLM-generated code is automatically covered by -say- the GPLv3, even if no one company or person owns it.

Re:All AI-generated code should be Open Source by wiremine on Sunday November 15, 2026 @10:56AM (#50507888)
> even if no one company or person owns it.

Maybe, but I don't think there's any legal president for that, is there? Much of existing law is based on centuries of private property rights. I don't see any government undoing that... or at least, not quickly.

Re:All AI-generated code should be Open Source by simoncion on Sunday November 15, 2026 @10:59AM (#50507914)
> Maybe, but I don't think there's any legal president for that, is there?

  We're not locked in to a suicide pact with what the Founding Fathers decided back in the late 1700s. Congress can decide that all LLM-generated code is automatically covered by -say- the GPLv3, even if no one holds the copyright to it.
Article I, Section 8 of the Constitution and its various subsections pretty clearly gives Congress this power.
Re:All AI-generated code should be Open Source by Joker_vD on Sunday November 15, 2026 @11:04AM (#50507978)
The IP laws are a) not really modelled after material property rights; b) are quite much more recent than "centuries"; c) there is legal precedent for that, see e.g. the airplane-related patents being pooled in 1917 by the demand from the US government.
Re:All AI-generated code should be Open Source by Joker_vD on Sunday November 15, 2026 @11:02AM (#50507952)
> you could go a bit further and -say- decide that the people of the United States collectively hold the copyright

Was going to comment something similar; we do have concepts of "dominium eminens", and "escheated property", and "public domain", and many other similar ideas. If the people (through their representatives) decide on a certain property regime, it absolutely can be implemented even if it's different from the status quo.

Re:All AI-generated code should be Open Source by glitchc on Sunday November 15, 2026 @11:22AM (#50508133)
> We're not locked in to a suicide pact with what the Founding Fathers decided back in the late 1700s. Congress can decide that all LLM-generated code is automatically covered by -say- the GPLv3, even if no one holds the copyright to it.

I have no issue with changing the law. My comment is about the article and the author's misapplication of the law.

Re:All AI-generated code should be Open Source by simoncion on Sunday November 15, 2026 @12:12PM (#50508613)
> My comment is about the article and the author's misapplication of the law.

What parts of the six-paragraph Fine Article misapply the law? Be sure to quote and include the context surrounding the quoted section(s).

Re:All AI-generated code should be Open Source by stale2002 on Sunday November 15, 2026 @01:07PM (#50509158)
I think it would be the part about how courts have a fairly strong status quo bias and aren't going to remake the entire economy overnight with completely unenforceable provisions.

What are they going to do confiscate the world's gamer GPUs that can run this stuff all locally?

It's completely ridiculous.

Re:All AI-generated code should be Open Source by simoncion on Monday November 16, 2026 @04:24AM (#50515640)
> What are they going to do confiscate the world's gamer GPUs that can run this stuff all locally?

What? We're talking about compulsory software licensing. What are you on about?

Re:All AI-generated code should be Open Source by stale2002 on Sunday November 15, 2026 @01:04PM (#50509119)
Nobody is going to interpret the laws that way. That's completely stupid.

Everyone is using AI generated code in all sorts of ways, and the idea that the courts are just going to say "nuh-uh. All existing use of AI code is illegal" is completely ridiculous.

Courts don't upend entire economies like that. This would be the remaking of the entire software industry overnight and it would be completely unenforceable.

I'm certainly not going to listen to any such ruling and will continue making code locally. As will basically every other software engineer in the industry.

Re:All AI-generated code should be Open Source by simoncion on Sunday November 15, 2026 @01:28PM (#50509350)
> Nobody is going to interpret the laws that way. That's completely stupid.

You're absolutely right! And a little more than two hours before you posted this comment, I posted this [0] one! Make sure to read the parent comment for the context... it's pretty important.

[0] <https://news.ycombinator.com/item?id=50507914>

Re:All AI-generated code should be Open Source by stale2002 on Sunday November 15, 2026 @01:39PM (#50509442)
Gotcha, not really related to my point that the courts aren't going to completely remake the entire software industry over night and neither is congress.

That's absurd. It is a fantasy.

Re:All AI-generated code should be Open Source by simoncion on Sunday November 15, 2026 @03:01PM (#50510144)
> Gotcha, not really related to my point that...

Your point was entirely off topic, and the retcon of your intention is weaksauce.

> It is a fantasy.

Reread the title of TFA.

> Neither lawmakers or anyone else is going to remake the software economy.

LLM-generated code is -when measured in regulatory timescales- brand new and is -according to boosters- "remak[ing] the software economy". The time to make new law and regulation to make it prosocial, rather than profoundly antisocial is _now_.

Re:All AI-generated code should be Open Source by stale2002 on Sunday November 15, 2026 @03:32PM (#50510398)
So then no there isn't going to be a massive change in society?

> The time to make new law and regulation to make it prosocial, rather than profoundly antisocial is _now_.

Way too late for that dude. The entire industry has changed already. Nobody in any part of the government, pick whichever you want, is going to upend the economy.

The entire AI bubble that has been keeping the economy going is dependent on "let's just upend everything" not happening.

Nobody is going to have that economy destroying act on their record.

Re:All AI-generated code should be Open Source by simoncion on Monday November 16, 2026 @04:10AM (#50515561)
> What are you going to do, pry these local gaming GPUs from everyone's homes?

I suppose you're a bot run amok or a human paid far too little to care. [0] The topic is:

  We're not locked in to a suicide pact with what the Founding Fathers decided back in the late 1700s. Congress can decide that all LLM-generated code is automatically covered by -say- the GPLv3, even if no one holds the copyright to it.
[0] Nearly your entire comment is -as the lawyers might say- nonresponsive, but the bit I quote makes this fact especially obvious.
Re:All AI-generated code should be Open Source by mbgerring on Sunday November 15, 2026 @02:48PM (#50510028)
This is the way
Re:All AI-generated code should be Open Source by g-b-r on Sunday November 15, 2026 @11:27AM (#50508171)
It sure can be distributed and put in the public domain, and I wouldn't bet that the few existing court decisions won't be reversed.

But, the license reflects the rights that a copyright owner granted you; I don't see why laundering copyrighted material with training a model should remove the limitations on the material's usage that the author established.

So, while it makes sense to not be able to attach whatever copyright you want to LLM output, if it's the result of training on copyrighted code, the extent to which you're allowed to use it should be the intersection of the rights granted to you by that code's copyright owners.

It should thus carry a license that reflects the intersection of those rights.

What makes it much worse is that the model trainers don't tell you what specific sources determined the output, so you should probably just assume that it's the result of its whole training, and the only rights you have are those granted you by all the authors of the training material; and, this in all likelihood means no rights, for most LLM models in use now.

Re:All AI-generated code should be Open Source by mr_toad on Sunday November 15, 2026 @12:47PM (#50508971)
LLMs are mostly trained on works that are not open source, by your own argument any LLM generated work couldn’t be open sourced.
Re:All AI-generated code should be Open Source by g-b-r on Sunday November 15, 2026 @12:53PM (#50509021)
Couldn't be used at all, rather