• NaibofTabr@infosec.pub
    link
    fedilink
    English
    arrow-up
    3
    ·
    11 days ago

    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.

    • frongt@lemmy.zip
      link
      fedilink
      English
      arrow-up
      1
      ·
      11 days ago

      It’s nearly impossible to prove a negative. But it would be trivial to ask it for code from a GPL project. If it can provide it, it’s in the model.

      • NaibofTabr@infosec.pub
        link
        fedilink
        English
        arrow-up
        1
        ·
        11 days ago

        It’s nearly impossible to prove a negative.

        In a general, open-ended situation, sure. In this case, the model developer has all of the training data that was input for training the model. It should take all of half an hour to determine if there is any GPL code in the training data set.

        • JohnEdwa@sopuli.xyz
          link
          fedilink
          English
          arrow-up
          1
          ·
          11 days ago

          Hi, I am from OpenAI/Alphabet/Meta, I have checked our training data and it contains no GPL code, or copyrighted or pirated media of any kind, it’s all perfectly totally 100% legit. Thank you for your inquiry, hope this solves the issue and have a good day.

    • abc@suppo.fi
      link
      fedilink
      English
      arrow-up
      0
      ·
      10 days ago

      LLMs obviously don’t copy code. That’s not how they work.

      What you’re suggesting is sort of the same as claiming that if a developer ever read GPL code, all their code is now GPL code.

      • lokozar@feddit.org
        link
        fedilink
        English
        arrow-up
        1
        ·
        10 days ago

        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).

        • jj4211@lemmy.world
          link
          fedilink
          English
          arrow-up
          1
          ·
          10 days ago

          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’.

          • lokozar@feddit.org
            link
            fedilink
            English
            arrow-up
            1
            ·
            10 days ago

            Hm, yeah, I guess the thought of ‘open source = free use’ is the issue that prevents many from entertaining the idea. Makes sense.

            • blaggle42@lemmy.today
              link
              fedilink
              English
              arrow-up
              1
              ·
              10 days ago

              Especially now - let’s say you GPL some code - I have an LLM read it and write equivalent code but, so that each line is different.

              Before you could put it out there, and ask “use this but give back.” Now it’s just “pretty please don’t steal from me. Just kidding, you already did.”

              • lokozar@feddit.org
                link
                fedilink
                English
                arrow-up
                0
                ·
                edit-2
                10 days ago

                Well, I didn’t say anything about you immediately going public before you have something concrete. That’s your decision. Opening up the source should be one of the final goals, though.

                However, I feel like this argument is mood, because if it was that fragile, open source and companies that make money with it would not exist at all. Might be because someone ‘stealing’ code does not necessarily introduce new things, the original authors though might. Which makes users stick to the original, rather than the copycat, because the copycat does not move unless the original does.

                • blaggle42@lemmy.today
                  link
                  fedilink
                  English
                  arrow-up
                  1
                  ·
                  10 days ago

                  Yeah. I’m not arguing with you.

                  I’m just saying the landscape of [L]GPL has changed. Even a MIT license - the implicit gravity of a code-repository where the experts contribute - it has … changed.

                  Whether all of this is for the better or for the worse (I mean, being able to hack your devices is pretty cool, and I personally can’t wait for the iPhones to be completely hacked) – we’ll find out.

        • CanIFishHere@lemmy.ca
          link
          fedilink
          English
          arrow-up
          0
          arrow-down
          2
          ·
          9 days ago

          Or you have code that is so polished, like Word, you don’t even need a support system.

    • Echo Dot@feddit.uk
      link
      fedilink
      English
      arrow-up
      0
      ·
      10 days ago

      Well I understand the justification for human produced code not being open source. It could have taken them, hundreds of hours, depending on the program, to develop. They need to be compensated for that time.

      But AI, it can recreate Photoshop in a day and it’s not even as if anyone had to sit and stare at the screen the entire time. That being said it’s not resourceless, somebody has to pay for the power it took to generate so even AI produced code probably should cost something but not anywhere near as much as human produced code electricity is a lot cheaper than human time.

      • lokozar@feddit.org
        link
        fedilink
        English
        arrow-up
        1
        ·
        10 days ago

        Let me rephrase that. In an ideal world we would open every code. You still can make money with support or feature requests and so on. It just would make everything more resilient and easier to fix. Having said that, we’re not living in an ideal world, so this will remain a philosophical debate forevermore.

        As for the AI part, if I’m playing advocate of the devil here, energy costs are one thing. The other is, forging the prompt and iterating on it still needs humans. There is work in this process that can be worth a compensation.

        So, would you say open up the AI code, but allow for the prompting to be “closed source”?

      • lokozar@feddit.org
        link
        fedilink
        English
        arrow-up
        1
        ·
        9 days ago

        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.

        • CanIFishHere@lemmy.ca
          link
          fedilink
          English
          arrow-up
          0
          arrow-down
          2
          ·
          9 days ago

          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.

          • lokozar@feddit.org
            link
            fedilink
            English
            arrow-up
            1
            ·
            9 days ago

            I don’t understand you. What exactly is easy? What should I do myself and why should I do it myself?

            • CanIFishHere@lemmy.ca
              link
              fedilink
              English
              arrow-up
              0
              arrow-down
              2
              ·
              9 days ago

              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.

              • lokozar@feddit.org
                link
                fedilink
                English
                arrow-up
                1
                ·
                9 days ago

                So … no open source? Just let AI create what you want? Why not lay open the source then?

                • CanIFishHere@lemmy.ca
                  link
                  fedilink
                  English
                  arrow-up
                  0
                  arrow-down
                  2
                  ·
                  9 days ago

                  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.

  • gibmiser@lemmy.world
    link
    fedilink
    English
    arrow-up
    2
    ·
    11 days ago

    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.

    • SynonymousStoat@lemmy.world
      link
      fedilink
      English
      arrow-up
      2
      ·
      11 days ago

      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…

    • FauxLiving@lemmy.world
      link
      fedilink
      English
      arrow-up
      0
      ·
      11 days ago

      Make a movie using AI? Anyone can make copies and distribute them freely.

      I look forward to that day.

      Could you imagine, a worldwide network of people freely sharing movies, music and tv shows for anyone to enjoy.

      • JohnEdwa@sopuli.xyz
        link
        fedilink
        English
        arrow-up
        0
        ·
        11 days ago

        Any time you stick a non-commercial clause to a license, it prohibits a ton of stuff because well, you can’t use any of it if doing so makes you money. Like, want to run a website, or make youtube videos, or stream, and you have ads or donations enabled, or patreon or anything like that? If so, you can’t use NC licensed content.

        That’s why one important part of public domain is that nobody is also prevented from selling them, so that the content is actually free for anyone to use.

          • Blisterexe@lemmy.zip
            link
            fedilink
            English
            arrow-up
            1
            ·
            11 days ago

            I’m of the opinion that IP law is fake and made up, and therefore training AI on stuff isn’t theft, and neither is piracy.

            It’s also why everything I’ve ever made is licensed either permissively or copyleft.

            • frongt@lemmy.zip
              link
              fedilink
              English
              arrow-up
              0
              arrow-down
              1
              ·
              10 days ago

              I’m glad you’re able to buy groceries with other income and do that as a hobby. Some people do it for their primary income.

  • Phoenixz@lemmy.ca
    link
    fedilink
    English
    arrow-up
    2
    ·
    11 days ago

    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.

  • im_fine_sandy@nord.pub
    link
    fedilink
    English
    arrow-up
    1
    ·
    11 days ago

    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.

  • Mulligrubs@lemmy.world
    link
    fedilink
    English
    arrow-up
    1
    ·
    10 days ago

    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)

    • Eximius@lemmy.world
      link
      fedilink
      English
      arrow-up
      1
      ·
      10 days ago

      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…

      • CanIFishHere@lemmy.ca
        link
        fedilink
        English
        arrow-up
        0
        arrow-down
        1
        ·
        10 days ago

        If it’s all free and easy then just go and get your own AI agent to do your programming. Not so easy now.

  • P03 Locke@lemmy.dbzer0.com
    link
    fedilink
    English
    arrow-up
    0
    ·
    11 days ago

    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.

    • EloySg@lemmy.zip
      link
      fedilink
      English
      arrow-up
      0
      arrow-down
      1
      ·
      10 days ago

      Actually i think since digitalization became a thing, everything digital should be Open source.

      There is no such thing as property of an intangible, not-scarce thing that information is.

      • frongt@lemmy.zip
        link
        fedilink
        English
        arrow-up
        0
        ·
        10 days ago

        True, it hardly costs anything to distribute a book digitally, compared to selling them in a store. But the work to write the book is the same, and shouldn’t the author be paid for their work?

        • EloySg@lemmy.zip
          link
          fedilink
          English
          arrow-up
          0
          arrow-down
          1
          ·
          10 days ago

          Commissions are already a thing,plus, there’s a reason why RHEL,SuSe and Canonical win millions over the years, and just doing FOSS.

  • Echo Dot@feddit.uk
    link
    fedilink
    English
    arrow-up
    0
    ·
    10 days ago

    I’m not advocating for AI exactly, but I feel like this is a reactionary take and doesn’t really hold up to the rigors of reality when you actually spend more than 30 seconds thinking about it.

    There’s all sorts of reasons for software not to be open source that have nothing to do with corporations. Perhaps it’s a niche piece of software that is supported via small number of people, they need to be paid in order to keep the important work going.
    Perhaps the AI produced code is a small part of a much larger product that was produced by humans, open sourcing that particular small piece of code would be problematic or impossible it might also introduce safety vulnerabilities.
    What if the code is produced on a locally hosted model, now it’s used up personal resources (electricity costs) if that’s going to be distributed to the world don’t they deserve some compensation, at least to break even.
    Saying AI produced code cannot be sold for a profit only prohibits people who already lack the resources to pay humans, you’re actually harming yourself. To the benefit of the billionaire class.

  • CanIFishHere@lemmy.ca
    link
    fedilink
    English
    arrow-up
    0
    arrow-down
    1
    ·
    10 days ago

    So if a programmer googles which parameters a certain function accepts, that would mean Open Source? Better definition is needed.