• Kissaki@programming.dev
    link
    fedilink
    English
    arrow-up
    6
    arrow-down
    2
    ·
    4 days ago

    If you can compare the code and it matches you probably have a good case if the AI user can’t demonstrate it’s not coming from you.

    There’s different kinds of datasets. Some respect, select and disclose licenses, others do not.

    Some model trainers use any data they can, others are selective on what they train on.

    It can also be a decision on principle rather than current or future enforcability. If you say “don’t copy this” and someone blatantly does, the morality is clearer than if you didn’t specifically say that.

    There’s also a question of how court rulings and law may change the situation of enforcability and usage/ignorance risk.

    MIT requires attribution too. GPL is, at the very least, a stronger statement of intention and demand. It can also be seen as protest or indication of a broader move of corporate AI exploitation leading to damage to the whole FOSS ecosystem, with additional restrictions being applied. Corps that would use AI now can’t use the MIT product anymore like before.

    • anticurrent@sh.itjust.works
      link
      fedilink
      arrow-up
      10
      ·
      4 days ago

      First, you can’t even compare the code if you don’t have access to it, you don’t have access to google’s or facebook’s code.

      Second who can even legally challenge entities with pockets as deep as the ocean.

      Third courts will probably classify AI generated code based of non-permissive licenses as fair use, so It’s a lost cause anyway.

      • Colloidal@programming.dev
        link
        fedilink
        arrow-up
        4
        arrow-down
        1
        ·
        3 days ago

        Nothing is set. Until there’s a challenge in court, all you stated as certainties are just conjectures.

      • Kissaki@programming.dev
        link
        fedilink
        English
        arrow-up
        1
        ·
        3 days ago

        Not being able to compare some proprietary is besides my point. Not all code is or remains hidden. I specifically wrote “if you can match” to remain neutral on that aspect.

    • m532@lemmy.ml
      link
      fedilink
      arrow-up
      2
      ·
      3 days ago

      Why would it match? There’s thousands of ways to program any feature, the chance that it would be the same is tiny.

        • m532@lemmy.ml
          link
          fedilink
          arrow-up
          2
          ·
          2 days ago

          Why would a AI user copy the code though? They can just launder it through intelligence (brain and artificial both work) and the code will look different, but do the same.

          For actual copying they wouldn’t need AI. They would just need “git clone”.

    • GamingChairModel@lemmy.world
      link
      fedilink
      arrow-up
      1
      ·
      3 days ago

      If you can compare the code and it matches you probably have a good case if the AI user can’t demonstrate it’s not coming from you.

      It’s not necessarily that simple.

      Copyright protects creative expression, not underlying ideas or concepts or functionality.

      The famous examples are that a phone book or map get limited copyright protection, because the text or image on the page corresponds to a ground truth that can’t be copyrighted. Recipe books also have to deal with that legal reality.

      In software, functionality, including documented APIs, are not copyrightable in themselves. There was a phenomenon where AT&T asserted copyright over their Unix executable /bin/true, despite that script doing nothing except exit successfully, but there’s really nothing stopping anyone else from doing the same thing with a file with identical non-comment contents. So copyright doesn’t protect bare functionality.

      And the easiest way to prove that you didn’t copy any nonfunctional expression is to have someone take the documentation and reimplement that functionality without ever looking at the original code, aka a “clean room implementation.” Plenty of examples of that happening in the past, surviving challenges in court: Compaq reverse engineering IBM’s BIOS and kicking off the IBM clone PC revolution, Google reimplementing the Java APIs from documentation to free themselves from Oracle’s oppressive contracts in Android, etc.

      And because copyLEFT licenses rely on the force of copyright law to work, these types of areas where code doesn’t get copyright protection are also the areas where FOSS code wouldn’t get copyleft protections, either.