The GNOME.org Extensions hosting for GNOME Shell extensions will no longer accept new contributions with AI-generated code. A new rule has been added to their review guidelines to forbid AI-generated code.

Due to the growing number of GNOME Shell extensions looking to appear on extensions.gnome.org that were generated using AI, it’s now prohibited. The new rule in their guidelines note that AI-generated code will be explicitly rejected

  • itsathursday@lemmy.world
    link
    fedilink
    arrow-up
    76
    arrow-down
    1
    ·
    2 days ago

    You used to be able to tell an image was photoshopped because of the pixels. Now with code you can tell it was written with AI because of the comments.

      • NOPper@lemmy.dbzer0.com
        link
        fedilink
        English
        arrow-up
        16
        ·
        2 days ago

        I’ve been in the habit of putting the filename as first comment in most of my scripts forever. I don’t know when or why I started but please don’t make me change!

        • explodicle@sh.itjust.works
          link
          fedilink
          English
          arrow-up
          19
          arrow-down
          1
          ·
          2 days ago

          You’re absolutely right — we shouldn’t have to change our style just because a machine copies it.

        • ozymandias@lemmy.dbzer0.com
          link
          fedilink
          arrow-up
          9
          ·
          2 days ago

          it’s how example code is often written when it’s i. a book or a webpage… there’s not really a good reason to do it in a real file because it’s in the filename.
          but if it helps you organize it doesn’t hurt anything.

        • Ænima@lemmy.zip
          link
          fedilink
          arrow-up
          1
          ·
          2 days ago

          I add a comment to he first line of unsaved files because that’s what Code displays for the tab name and it either helps or confuses me about what is in the tab.

    • NotSteve_@piefed.ca
      link
      fedilink
      English
      arrow-up
      1
      arrow-down
      1
      ·
      edit-2
      1 day ago

      # Optional but […]

      edit to explain my very vague comment: ChatGPT loves to offer code with some lines commented as “Optional [… explanation]”. You can easily tell AI code when the monologuing comments are left in