All code period.
Technology
This is a most excellent place for technology news and articles.
Our Rules
- Follow the lemmy.world rules.
- Only tech related news or articles.
- Be excellent to each other!
- Mod approved content bots can post up to 10 articles per day.
- Threads asking for personal tech support may be deleted.
- Politics threads may be removed.
- No memes allowed as posts, OK to post as comments.
- Only approved bots from the list below, this includes using AI responses and summaries. To ask if your bot can be added please contact a mod.
- Check for duplicates before posting, duplicates may be removed
- Accounts 7 days and younger will have their posts automatically removed.
Approved Bots
So if a programmer googles which parameters a certain function accepts, that would mean Open Source? Better definition is needed.
Its trained on GPL'd code, that code legally must be redistributed under the GPL.
That should be enough.
All code should be open source, period.
Everything should be free. amirite?
Open source doesn’t mean free. Please think before you write. You could’ve also just read my other posts in this thread, where I already said this several times.
It shouldn't be open source at all if a human is using AI. Again, if it's so easy then just do it yourself.
I don’t understand you. What exactly is easy? What should I do myself and why should I do it myself?
Anything is easy with AI. If an app or utility isn't available to you, just use AI and write it yourself. So easy now.
So … no open source? Just let AI create what you want? Why not lay open the source then?
The concept is moot. If software is proprietary, just feed the requirements into AI and build your own version. (slightly tongue in cheek as I don't really think it's this easy, even with AI)
Or, a crazy idea. Have AI examine code to determine if it used enough open source code it cannot be considered proprietary.
What do you do for a living? What ever it is you produce, I want it for free.
The people I’m providing my service to do indeed get this service for free. But what has that to do with open source?
I already wrote you don’t have to make money with code. You can offer support and be payed for that, or you offer to fulfill feature requests.
Or you can bind a license to your code if you absolutely want to squeeze something out of it. Just because a code is open doesn’t mean that you have to publish it under a license that allows for free use. You know the funniest part of this? If every code was open, it would also be very easy to proof that someone used your code or parts of it illegally (according to your license).
Or you have code that is so polished, like Word, you don't even need a support system.
I guess the key is that 'open source' generally means 'free use' versus 'source available' which at least in the old days used to be a supremely common arrangement for commercial software.
I will also agree that every other IP pretty much is effectively 'source available', you see a book, there's no hidden secret form you need to construct that work. Nothing inherently stops you from reproducing a modified copy. Sure there are more convenient assets (having distinct tracks that are used to compose a song versus only the post-mix recording), but generally other IP has to decide how to deal with remix, sampling, etc, without some fundamental barrier like 'it got compiled into machine code which is hard to modify'.
I agree with this.
I'm not a programmer or anything, but it seems to me that AI may help in this regard (for example, the PS5 hacks allowing people to play old titles that Sony can't be bothered with)
The mystery LLM machine has been trained on all open source code (also known as stealing in the era of the past), and also on corporate code (also known as fine-print-legalised incidental training). Essentially, if you have freeish access to big llms, it is all free (ish) and open source now, especially code from companies that went gun-ho into AI, smth smth creative suite...
If it's all free and easy then just go and get your own AI agent to do your programming. Not so easy now.
I think this is fantastic and I fully support it. Anything made by AI should be free and open source. AI should benefit humanity, not be used to make the rich richer.
Imagine if any work made by AI was free use, public domain, uncopyrightable. Bet that would change the equation for corporations a bit.
Make a movie using AI? Anyone can make copies and distribute them freely.
I'm pretty sure, at least in the USA, there have been rulings that there must be human authorship for something to have copyright protection. This has happened both in the courts and the US Copyright Office has spoken on the matter as well. If you're interested in one of the court cases I'd suggest looking up Thaler v. Perlmutter.
There was a stipulation though, any human made parts of a work is copyrightable, so in your scenario of copying a movie would probably still be illegal unless the entire movie was created by gen ai, but it would seem that you could probably cut the gen ai bits and release and reuse them without violating any copyright, but I'm also not a lawyer so...
And if it's AI-generated, it should have metadata attached that states that fact.
There are actually two paths leading to this conclusion: The first is the legal assumption that slop is not copyrightable. But that can be changed if pressure on lawmakers rises. The other part is that those LLMs have most likely also been trained by code under the GPL, making them essentially derived works.
This is exactly how it should work. Any code copied from GNU GPL code should legally also be GNU GPL, no ifs, ands or buts.
Oh, your training data set contains GPL code? Guess what, all the output from that model is now GPL. It's your burden to prove that your training data does not contain any GPL code.
All ~~AI-generated~~ code should be Open Source.
And, as people are starting to find out, all code is "open source", in that it is incredibly easy to decompile anything. How does that t-shirt go? "Everything is open source if you know assembly."
Well, existing decompiling tools already knew how to reconstitute assembly into higher-level languages, and LLMs can spend the effort to figure out proper variable/function names to make it more readable.
This stops short of the logical conclusion if you continue this way of thinking, because it only focuses on code. Every single public comment ever made on the internet (and through the wonders of digitalization also a lot of stuff from before that point in time) by anyone is in there.
These models were trained by the combined cultural output of humanity, which makes them cultural artifacts. A snapshot of humanity which should belong to noone/everyone. Putting them under UNESCO stewardship and licensing them - free personal license, paid corporate usage, reduced prices for NGOs and the like - while using the proceeds to fund the arts should be a given. The licensing should also declare everything generated as being part of creative commons.
Licensing costs could also be used to reduce the amount of corporate slop. Licenses that are aimed at producing material to be disseminated in the public space could be pay-per-view on an exponential scale, making sloppifying the internet an expensive mistake.
Won't stop spammers/scammers, but that is an problem that already started back when your hosts file was still manually maintained by the Network Information Center at Stanford and had to be sent out by snail mail.
Not a hot take at all
All AI code has been indirectly stolen from open source projects, it only makes sense that the output should be open source as well, see GPL for that.
This will probably be an unpopular opinion but, all AI generated code is already effectively open source.
If person A can generate code that solves a problem merely by explaining the problem to a bot, then what is the point of licensing the code if person B can do the same to generate their own code?
If a zillion people can generate that code, then anyone trying to license the code dooms their project to irrelevance.
The unpopular part: if you imagine for a moment that LLMs can generate useful code and build useful projects, then that dramatically changes the software landscape as we know it. For example, there are software products millions of people are paying a subscription for, which are effectively just CRUD applications behind a nice brand. There's already some vibe coded bookkeeping / accounting products appearing - its a marketplace land grab.