Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (Darkly)
  • No Skin
Collapse
Brand Logo
  1. Home
  2. Uncategorized
  3. I've asked Claude to implement a Rust port of JS library given source code in another directory: there's already one such implementation in OSS, mine.

I've asked Claude to implement a Rust port of JS library given source code in another directory: there's already one such implementation in OSS, mine.

Scheduled Pinned Locked Moved Uncategorized
15 Posts 10 Posters 0 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • Dirk HoltwickH This user is from outside of this forum
    Dirk HoltwickH This user is from outside of this forum
    Dirk Holtwick
    wrote last edited by
    #3

    @robertobottoni @horusiath I think the point here is, that AI is a way to bypass license restrictions. As an author of GPL software, the intention is to have it stay open and be the foundation of growing an open community. AI uses this intellectual property without marking it as such. This way the orginal work is violated. This is also the reason, why open source software will become less over time and that will have an impact on everyting!

    Robert BöttnerR 1 Reply Last reply
    0
    • Dirk HoltwickH Dirk Holtwick

      @robertobottoni @horusiath I think the point here is, that AI is a way to bypass license restrictions. As an author of GPL software, the intention is to have it stay open and be the foundation of growing an open community. AI uses this intellectual property without marking it as such. This way the orginal work is violated. This is also the reason, why open source software will become less over time and that will have an impact on everyting!

      Robert BöttnerR This user is from outside of this forum
      Robert BöttnerR This user is from outside of this forum
      Robert Böttner
      wrote last edited by
      #4

      @holtwick 🤦🏼‍♂️ Sorry, should have read that more thoroughly. My answer was absolute incoherent, deleted it. Thank you for pointing it out to me.

      @horusiath is of course absolutely correct in everything he says!

      Dirk HoltwickH 1 Reply Last reply
      0
      • Robert BöttnerR Robert Böttner

        @holtwick 🤦🏼‍♂️ Sorry, should have read that more thoroughly. My answer was absolute incoherent, deleted it. Thank you for pointing it out to me.

        @horusiath is of course absolutely correct in everything he says!

        Dirk HoltwickH This user is from outside of this forum
        Dirk HoltwickH This user is from outside of this forum
        Dirk Holtwick
        wrote last edited by
        #5

        @robertobottoni @horusiath No problem, these are challenging times. AI is certainly an epochal shift in how we use technology. But such breaks come with a lot of ethical questions as well. Hopefully we can put #AI on the right track, the train is unstoppable anyway.

        Robert BöttnerR 1 Reply Last reply
        0
        • Dirk HoltwickH Dirk Holtwick

          @robertobottoni @horusiath No problem, these are challenging times. AI is certainly an epochal shift in how we use technology. But such breaks come with a lot of ethical questions as well. Hopefully we can put #AI on the right track, the train is unstoppable anyway.

          Robert BöttnerR This user is from outside of this forum
          Robert BöttnerR This user is from outside of this forum
          Robert Böttner
          wrote last edited by
          #6

          @holtwick @horusiath so true. In my opinion negative consequences will dominate. As much as the technology can be of use, especially in our field, it will have tremendous impact regarding disinformation and making it more difficult to distinguish right from wrong with an increase of biased sources of information in everyday life.

          The only solution is lying in educated people and maybe platform regulation. Which has to be discussed for FOSS from a different perspective.

          Johannes LinkJ 1 Reply Last reply
          0
          • Bartosz SypytkowskiH Bartosz Sypytkowski

            It's sort of eye-opening experience, as person very familiar with the plagiarised source you can see how LLM is stitching together fragments of code seen somewhere else. It's just that most of the time we don't know the original code that AI reused and cannot notice the stitches, so we consider it to be an original writing.

            gl;hf to all the people using AI to write code in a domain where GPL source was available.

            Hacker :vf:F This user is from outside of this forum
            Hacker :vf:F This user is from outside of this forum
            Hacker :vf:
            wrote last edited by
            #7

            @horusiath Their fundamental algorithm is to reproduce characteristics of the text they're trained on. That means writing words (which can be the same or a synonym) in the same order. In formal languages such as programming languages there are not many synonyms (that's the point: be concise and unambiguous). Dependencies across code blocks quickly constraint the possible word chainings.

            So… basically they can only be a sophisticated code retrieval system.

            Bartosz SypytkowskiH 1 Reply Last reply
            0
            • Robert BöttnerR Robert Böttner

              @holtwick @horusiath so true. In my opinion negative consequences will dominate. As much as the technology can be of use, especially in our field, it will have tremendous impact regarding disinformation and making it more difficult to distinguish right from wrong with an increase of biased sources of information in everyday life.

              The only solution is lying in educated people and maybe platform regulation. Which has to be discussed for FOSS from a different perspective.

              Johannes LinkJ This user is from outside of this forum
              Johannes LinkJ This user is from outside of this forum
              Johannes Link
              wrote last edited by
              #8

              @robertobottoni @holtwick @horusiath If you think that negative consequences will dominate then just stop using it. Every use is a promotion of the technology and will thus aggravate the negative consequences even more.

              Robert BöttnerR 1 Reply Last reply
              0
              • Hacker :vf:F Hacker :vf:

                @horusiath Their fundamental algorithm is to reproduce characteristics of the text they're trained on. That means writing words (which can be the same or a synonym) in the same order. In formal languages such as programming languages there are not many synonyms (that's the point: be concise and unambiguous). Dependencies across code blocks quickly constraint the possible word chainings.

                So… basically they can only be a sophisticated code retrieval system.

                Bartosz SypytkowskiH This user is from outside of this forum
                Bartosz SypytkowskiH This user is from outside of this forum
                Bartosz Sypytkowski
                wrote last edited by
                #9

                @Fedihacker IMO you underestimate on how many ways you could solve the same problem.

                Besides I'm talking about:
                - Porting types that were not present in source, but existed in past versions & my code.
                - Porting names that didn't exist in source, but exist in my implementation.
                - Using highly un-idiomatic design choices, not present in source. Tbh. I haven't found them anywhere outside my lib.

                It's way too specific to be considered "anyone would write it this way".

                1 Reply Last reply
                0
                • Bartosz SypytkowskiH Bartosz Sypytkowski

                  It's sort of eye-opening experience, as person very familiar with the plagiarised source you can see how LLM is stitching together fragments of code seen somewhere else. It's just that most of the time we don't know the original code that AI reused and cannot notice the stitches, so we consider it to be an original writing.

                  gl;hf to all the people using AI to write code in a domain where GPL source was available.

                  A This user is from outside of this forum
                  A This user is from outside of this forum
                  aliengasmask
                  wrote last edited by
                  #10

                  @horusiath ive seen this in specialist domains, giving it nothing to start it gave me back the opensource vendor example near verbatim and couldnt generalise to handle errors correctly or at all.

                  1 Reply Last reply
                  0
                  • Johannes LinkJ Johannes Link

                    @robertobottoni @holtwick @horusiath If you think that negative consequences will dominate then just stop using it. Every use is a promotion of the technology and will thus aggravate the negative consequences even more.

                    Robert BöttnerR This user is from outside of this forum
                    Robert BöttnerR This user is from outside of this forum
                    Robert Böttner
                    wrote last edited by
                    #11

                    @jlink @holtwick @horusiath I wrote that in respect to the technology being almost inevitable in everyday life. Text and images are not labelled AI generated. Today you still can distinguish in most cases but that will get harder.

                    As dev it is even harder to tell just by looking at code today. But still, the technology is a supporter and we will all have to use it to some extend in my opinion especially when it comes to tedious, boring or time consuming tasks like error tracking, doc writing.

                    1 Reply Last reply
                    0
                    • Bartosz SypytkowskiH Bartosz Sypytkowski

                      I've asked Claude to implement a Rust port of JS library given source code in another directory: there's already one such implementation in OSS, mine. Result?

                      AI blatantly plagiarised my OSS code, including parts that were not present in source it was pointed to port.

                      Upon prohibiting it to touch outside implementations and focus on translating local directory... it ignored command and plagiarised my work again. It did the same with C# port and one existing impl.

                      doragasuD This user is from outside of this forum
                      doragasuD This user is from outside of this forum
                      doragasu
                      wrote last edited by
                      #12

                      @horusiath Generative AI should be called Derivative AI. It's a copyright/license washing machine for images, code, books...

                      1 Reply Last reply
                      0
                      • Bartosz SypytkowskiH Bartosz Sypytkowski

                        I've asked Claude to implement a Rust port of JS library given source code in another directory: there's already one such implementation in OSS, mine. Result?

                        AI blatantly plagiarised my OSS code, including parts that were not present in source it was pointed to port.

                        Upon prohibiting it to touch outside implementations and focus on translating local directory... it ignored command and plagiarised my work again. It did the same with C# port and one existing impl.

                        Petrus HilariusP This user is from outside of this forum
                        Petrus HilariusP This user is from outside of this forum
                        Petrus Hilarius
                        wrote last edited by
                        #13

                        @horusiath But you expected differently for ... why? Seems obvious that there's not much else it could do?

                        1 Reply Last reply
                        0
                        • Bartosz SypytkowskiH Bartosz Sypytkowski

                          I've asked Claude to implement a Rust port of JS library given source code in another directory: there's already one such implementation in OSS, mine. Result?

                          AI blatantly plagiarised my OSS code, including parts that were not present in source it was pointed to port.

                          Upon prohibiting it to touch outside implementations and focus on translating local directory... it ignored command and plagiarised my work again. It did the same with C# port and one existing impl.

                          David MankinsL This user is from outside of this forum
                          David MankinsL This user is from outside of this forum
                          David Mankins
                          wrote last edited by
                          #14

                          @horusiath

                          Yours was the only Markoff chain it had available to tug on.

                          1 Reply Last reply
                          0
                          • Bartosz SypytkowskiH Bartosz Sypytkowski

                            It's sort of eye-opening experience, as person very familiar with the plagiarised source you can see how LLM is stitching together fragments of code seen somewhere else. It's just that most of the time we don't know the original code that AI reused and cannot notice the stitches, so we consider it to be an original writing.

                            gl;hf to all the people using AI to write code in a domain where GPL source was available.

                            Daniel GibsonD This user is from outside of this forum
                            Daniel GibsonD This user is from outside of this forum
                            Daniel Gibson
                            wrote last edited by
                            #15

                            @horusiath
                            fun fact: this is not only a problem with GPL, but almost all code licenses (except for public-domain-likes) require you to keep the license/copyright header *at least in the code*, often also in documentation shipped with binaries (e.g. MIT license)

                            1 Reply Last reply
                            0
                            • R ActivityRelay shared this topic
                            Reply
                            • Reply as topic
                            Log in to reply
                            • Oldest to Newest
                            • Newest to Oldest
                            • Most Votes


                            • Login

                            • Don't have an account? Register

                            • Login or register to search.
                            Powered by NodeBB Contributors
                            • First post
                              Last post
                            0
                            • Categories
                            • Recent
                            • Tags
                            • Popular
                            • World
                            • Users
                            • Groups