• drath@lemmy.drath.ru
    link
    fedilink
    arrow-up
    4
    ·
    15 hours ago

    There is a bit of underlying problem, though. Case in point: I was recently asked to make a js function that converts any string into a hex color, which I promptly just copied off stackoverflow, but noticed they now intercept Ctrl-C to add CC-BY-SA banner. I’d usually include a link whenever I copy something off somewhere anyway, if not for licensing sake then at least for ease of future code navigation. But this got me curious, I asked ChatGPT the same question and it provided the exact same snippet, but without any attribution. And so did gemini and qwen 3.5. You can tell its a copy because the original uses a very specific bit-shift by 5 to mix numbers up a bit, but it doesnt have to be exactly 5, or even shifted at all for that matter. Which got me even more curious, so I went to github and searched for “string to hex” and found the exact same snippet in projects licensed under a variety of licenses, which I’m pretty sure are all just careless copies of that stackoverflow snippet, though it’s not improbable that one of them is actually the one that got copied into that anwser in the first place. Now, for that particular one, I doubt that it reaches threshold of originality to be held in court, but it highlights an issue that makes this double AI conversion trick you described dubious and not-so-bulletproof as second would probably give the same result anyway, just because it almost definitely had to be trained on the copyleft infringing copies… Unless they actually clean-labbed an enormous dataset for it themselves.

    Oh, and just as a final experiment, I did try to actually code it up myself. Despite already seeing an implementation, and without that much room for variety, without even trying, I made something that bears no resemblance to that snippet whatsoever, and most likely would’ve ended with the same code without ever seeing that snippet the first place. And from experience interviewing developers and live-coding with them, no two people write the same code, even for simplest of tasks. So… yeah, nah, I don’t buy the “AI does the same thing humans do” any more than the “forklift does the same thing as humans do”. I hope courts do as well, or, at least, this AI craze finally leads to copyright abolishment, it doesn’t really make any sense for both to exist…

    • SirEDCaLot@lemmy.today
      link
      fedilink
      arrow-up
      1
      ·
      9 hours ago

      I’d like to see the end of software patents, which IMHO are a much bigger problem than copyright.

      You make a good point with the exact text bit though. It would certainly put the AI company on the defensive if the author of that original GPL snippet decided to go after openai etc for copyright infringement and license violation. I’d actually kinda like to see that happen.