• schnurrito@discuss.tchncs.de
    link
    fedilink
    arrow-up
    2
    ·
    4 hours ago

    It’s a good analysis, but not really specific to code, the exact same ideas apply to AI-generated text, images, music, etc.

  • ZILtoid1991@lemmy.world
    link
    fedilink
    arrow-up
    1
    ·
    7 hours ago

    Could you just, use the original code that was fed to the LLM, as a dependency? Or is <package manager name> add dependency libdoohickey now too lame, due to hey clanker, generate me code that does things, make no mistakes, you're a great programmer, make sure it has no serious security issues, make sure it is well optimized rolled out and is only “marginally” worse?

  • treadful@lemmy.zip
    link
    fedilink
    English
    arrow-up
    13
    ·
    20 hours ago

    Never knew photographs were once argued to be uncopyrightable due to being a product of a machine. Neat history.

  • Bob Robertson IX @discuss.tchncs.de
    link
    fedilink
    English
    arrow-up
    41
    ·
    1 day ago

    This is a great question, but I feel that the better question is: If a model was trained on open source code, should all code created by that model then be subject to the licensing from the code it was trained on?

    I’m really hoping we can fix the current issues with the Supreme Court before this question comes before it because it’s going to be hilarious when every company that has used AI assisted coding is forced to publish their source code.

    • tatterdemalion@programming.dev
      link
      fedilink
      arrow-up
      7
      ·
      19 hours ago

      when every company that has used AI assisted coding is forced to publish their source code

      I guarantee you that will never happen. In the US? Do you live here? You think tech billionaires would ever suffer that kind of consequence?

    • tabular@lemmy.world
      link
      fedilink
      English
      arrow-up
      5
      ·
      21 hours ago

      I would have looked into generating AI art if it required the same license as the training art.

      Training data is frequently copied and used regardless of license. It appears the outputs of machine generated art not “human creativity”, thus not eligible for copyright.

    • thingsiplay@lemmy.ml
      link
      fedilink
      arrow-up
      11
      ·
      1 day ago

      This is a great question, but I feel that the better question is: If a model was trained on open source code, should all code created by that model then be subject to the licensing from the code it was trained on?

      I don’t think it works like that, because if you use GPL code, then all derivative works of the code must be Open Source too. But you no longer know the original project and maintainers anymore and the original source code is “lost”. So just using GPL code to train wouldn’t solve the issue I think. The source code and license MUST give permission to do so, I feel like. And then all original source codes contributors that has been used to train have to be included in every project that makes use of LLMs output. I have no idea in detail, but its more complicated then just declaring the output to be Open Source automatically.

    • ZeDoTelhado@lemmy.worldOP
      link
      fedilink
      arrow-up
      4
      ·
      1 day ago

      From what I understand from the article, generating code does not grant copyright, although of it is proven that most of the work is human made then you can have a copyright (to what percentage has to be manual work to have a copyright? Afaik, nothing is in the article). So with this in mind, I see that you cannot apply a license what essentially does not have a copyright (if most effort is not manual) but maybe someone can prove me wrong.

              • Solumbran@lemmy.world
                link
                fedilink
                arrow-up
                1
                ·
                10 hours ago

                Ah yes, the reality that consists in giving up on all proper solutions out of being “down to earth”, effectively solving nothing.

                • dontbelievethis@sh.itjust.works
                  link
                  fedilink
                  arrow-up
                  2
                  ·
                  10 hours ago

                  The proper not possible solution… Sure…

                  People like you are the reason I gave up on the things getting better. What you people propose has nothing to do with how the world works we live in. It’s all based on how the world should work.

                  Good luck with banning llms, seems realistic.

              • Senal@programming.dev
                link
                fedilink
                English
                arrow-up
                1
                ·
                19 hours ago

                Why would we want to license vibecoded slop code built with a system that is (in most cases) probably and admittedly actively using data from sources with incompatible licences or no licences at all.

                • thingsiplay@lemmy.ml
                  link
                  fedilink
                  arrow-up
                  3
                  ·
                  19 hours ago

                  probably and admittedly actively using data from sources with incompatible licences or no licences at all

                  You answered your own question. I don’t know what you try to say, but the article and our discussion is explaining if and why licensing code that is vibe coded is possible or makes sense at all. And you point the problem out that this is problematic and probably not possible in good faith. So its not about what we want, but about if and what is possible.

        • theherk@lemmy.world
          link
          fedilink
          arrow-up
          1
          ·
          24 hours ago

          I don’t think the existence of something bad and needing to deal with that are mutually exclusive. Of course one should tackle the root of a problem. But you still need to bail water while the boat has a hole in it.

          • Solumbran@lemmy.world
            link
            fedilink
            arrow-up
            2
            ·
            15 hours ago

            But licensing is trying to remove the water without doing anything about the hole. Or, best case situation, saying “we will fix the hole when the water is unmanageable, but for now we’ll just try to empty it faster than it fills”.

            If you ban LLMs, the problem will disappear. It’s not like you can really hide a datacenter so easily, or the size of the data required. Anything less than that will do nothing

  • thingsiplay@lemmy.ml
    link
    fedilink
    arrow-up
    8
    ·
    1 day ago

    Training requires scraping the data and using it. But there is a license to each code attached, and copyright. If the LLM was trained only on code that gives the permission to do so, then I think the generated code could be licensed under the terms of the code it was licensed too. Because its not the LLM that is responsible, but the user of the program. But that is far from reality and not how LLMs are trained and used on.