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

  • Stern@lemmy.world
    link
    fedilink
    arrow-up
    4
    ·
    5 hours ago

    Good.

    I’m mostly switched off SAMMI because their current head dev is all in on AI bullshit. Got maybe one thing left to move to streamerbot and I’m clear there. My two regular viewers wont notice at all but I’ll feel better about it.

  • i_stole_ur_taco@lemmy.ca
    link
    fedilink
    arrow-up
    28
    ·
    9 hours ago

    extension developers should be able to justify and explain the code they submit, within reason

    I think this is the meat of how the policy will work. People can use AI or not. Nobody is going to know. But if someone slops in a giant submission and can’t explain why any of the code exists, it needs to go in the garbage.

    Too many people think because something finally “works”, it’s good. Once your AI has written code that seems to work, that’s supposed to be when the human starts their work. You’re not done. You’re not almost done. You have a working prototype that you now need to turn into something of value.

    • Jankatarch@lemmy.world
      link
      fedilink
      arrow-up
      1
      ·
      edit-2
      2 hours ago

      Just the fact that people are actually trying to regulate it instead of “too nuanced, I will fix it tomorrow” makes me haply.

      But they are also doing it pretty reasonably too. I like this.

    • uncouple9831@lemmy.zip
      link
      fedilink
      arrow-up
      3
      ·
      9 hours ago

      Why? If the code works the code works, and a person had to make it work. If they generated some functions who cares? If they let the computer handle the boilerplate, who cares? “Oh no the style is inconsistent…” Who cares?

      • urandom@lemmy.world
        link
        fedilink
        English
        arrow-up
        2
        ·
        1 hour ago

        It’s always some definition of works. The code never works in all cases, which works lead to people being annoyed with gnome for allowing the extension in the first place

        • uncouple9831@lemmy.zip
          link
          fedilink
          arrow-up
          1
          ·
          edit-2
          6 hours ago

          Went would that be anyone other than the original author? This sounds like a housing service is refusing to host things based on what tool was used in creation. “Anyone using emacs can’t upload code to GitHub anymore” seems equivalently valid.

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

            in the case of ai generated code, that is almost always the case. People say “but I review all my pet neural network’s code!” but they don’t. If they did, the job would actuallydtake longer. Reading and understanding code takes longer than writing it.

          • imecth@fedia.io
            link
            fedilink
            arrow-up
            6
            ·
            4 hours ago

            GNOME manually reviews every extension, and they understandably don’t want to review AI generated code.

          • fodor@lemmy.zip
            link
            fedilink
            arrow-up
            5
            ·
            5 hours ago

            Yes it would be someone else. If the code looks good then it might last a long time, and it could even be expanded upon. One key point of FOSS is that anyone can change it, and if it’s good, people will.

  • itsathursday@lemmy.world
    link
    fedilink
    arrow-up
    60
    ·
    15 hours 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
        9
        ·
        10 hours 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!

        • ozymandias@lemmy.dbzer0.com
          link
          fedilink
          arrow-up
          5
          ·
          5 hours 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.

  • danhab99@programming.dev
    link
    fedilink
    arrow-up
    6
    ·
    11 hours ago

    So what does this mean? Bc like (at least with my boss) whenever I submit ai generated code at work I still have to have a deep and comprehensive understanding of the changes that I made, and I have to be right (meaning I have to be right about what I say bc I cannot say the AI solved the problem). What’s the difference between that and me writing the code myself (+googling and stack overflow)?

    • theneverfox@pawb.social
      link
      fedilink
      English
      arrow-up
      16
      ·
      10 hours ago

      The difference is people aren’t being responsible with AI

      You’re projecting competence onto others. You speak like you’re using AI responsibly

      I use AI when it makes things easier. All the time. I bet you do too. Many people are using AI without a steady hand, without the intellectual strength to use it properly in a controlled manner

      • Hawk@lemmynsfw.com
        link
        fedilink
        arrow-up
        3
        ·
        10 hours ago

        Its like a gas can over a match. Great for starting a campfire. Excellent for starting a wildfire.

        Learning the basics and developing a workflow with VC is the answer.

          • Hawk@lemmynsfw.com
            link
            fedilink
            arrow-up
            4
            ·
            9 hours ago

            Large language models are incredibly useful for replicating patterns.

            They’re pretty hit and miss with writing code, but once I have a pattern that can’t easily be abstracted, I use it all the time and simply review the commit.

            Or a quick proof of concept to ensure a higher level idea can work. They’re great for that too.

            It is very annoying though when I have people submit me code that is all AI and incredibly incorrect.

            Its just another tool on my belt. Its not going anywhere so the real trick is figuring out when to use it and why and when not to use it.

            To be clear VC was version control. I should have been more clear.

            • theneverfox@pawb.social
              link
              fedilink
              English
              arrow-up
              3
              ·
              9 hours ago

              Okay, that’s pretty fair. You seem to understand the tool properly

              I’d argue that version control is not the correct layer to evaluate output, but it is a tool that can be used in many different ways…I don’t think that’s a great workflow, but I can conceive situations where that’s viable enough

              If I were handing out authorizations to use AI, you’d get it

      • uncouple9831@lemmy.zip
        link
        fedilink
        arrow-up
        1
        ·
        9 hours ago

        Banning a tool because the people using it don’t check their work seems shortsighted. Ban the poor users, not the tool.

        • theneverfox@pawb.social
          link
          fedilink
          English
          arrow-up
          5
          ·
          9 hours ago

          We do this all the time. I’m certified for a whole bunch of heavy machinery, if I were worse people would’ve died

          And even then, I’ve nearly killed someone. I haven’t, but on a couple occasions I’ve come way too close

          It’s good that I went through training. Sometimes, it’s better to restrict who is able to use powerful tools

          • uncouple9831@lemmy.zip
            link
            fedilink
            arrow-up
            2
            ·
            edit-2
            6 hours ago

            Yeah something tells me operating heavy machinery is different from uploading an extension for a desktop environment. This isn’t building medical devices, this isn’t some misra compliance thing, this is a widget. Come on, man, you have to know the comparison is insane.