this post was submitted on 13 Dec 2025
476 points (99.0% liked)

Linux

10643 readers
984 users here now

A community for everything relating to the GNU/Linux operating system (except the memes!)

Also, check out:

Original icon base courtesy of lewing@isc.tamu.edu and The GIMP

founded 2 years ago
MODERATORS
 

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

top 50 comments
sorted by: hot top controversial new old
[–] buddascrayon@lemmy.world 13 points 2 days ago

This is one of the things that people who use AI to vibe code don't get. Sure your AI genned code ends up working but when you actually look at the code it's sloppy as all fuck, with a lot of unnecessary junk in it. And if you ever have to fix it, good fucking luck finding what's actually going on. Since you didn't write it there's no way for you to know exactly what it is that's actually fucking up.

Really you end up being no better than some homebody who copy-pasted some code they found on the internet and plugged it into their shit with no idea of how any of it actually works.

[–] i_stole_ur_taco@lemmy.ca 85 points 4 days ago (2 children)

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.

[–] skepller@lemmy.world 10 points 3 days ago

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.

Holy shit, preach!

Once you give a shit ton of prompts and the feature finally starts working, the code is most likely complete ass, probably filled with a ton of useless leftovers from previous iterations, redundant and unoptimized code. That's when you start reading/understanding the code and polishing it, not when you ship it lol

[–] Jankatarch@lemmy.world 8 points 3 days ago* (last edited 3 days 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.

[–] itsathursday@lemmy.world 78 points 4 days ago (4 children)

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.

[–] frongt@lemmy.zip 29 points 4 days ago

and from seeing quite a few slops in my time

[–] AnotherPenguin@programming.dev 21 points 4 days ago (2 children)

Emojis in comments, filename as a comment in the first line, and so on

[–] NOPper@lemmy.dbzer0.com 16 points 4 days ago (4 children)

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 18 points 3 days ago

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

[–] ozymandias@lemmy.dbzer0.com 9 points 3 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.

load more comments (2 replies)
load more comments (1 replies)
load more comments (2 replies)
[–] n7gifmdn@lemmy.ca 5 points 2 days ago
[–] data1701d@startrek.website 33 points 4 days ago (52 children)

You know, GNOME does some stupid stuff, but I can respect them for this.

load more comments (52 replies)
[–] Nalivai@lemmy.world 37 points 4 days ago

Rare, so needed Gnome W

[–] thagoat@lemmy.dbzer0.com 36 points 4 days ago
[–] refalo@programming.dev 15 points 3 days ago (7 children)

How is AI-generated content detected and what is the process for disputing such claims?

[–] ArsonButCute@lemmy.dbzer0.com 27 points 3 days ago* (last edited 3 days ago) (2 children)

Just an example:

I'm a programming student. In one of my classes we had a simple assignment. Write a simple script to calculate factorials. The purpose of this assignment was to teach recursion. Should be doable in 4-5 lines max, probably less. My coed decided to vibe code his assignment and ended up with a 55 line script. It worked, but it was literally %1100 of the length it needed to be with lots of dead functions and 'None->None(None)' style explicit typing where it just simply wasn't needed.

The code was hilariously obviously AI code.

Edit: I had like 3/4 typos here

load more comments (2 replies)
[–] brian@programming.dev 17 points 3 days ago

if it's not clear if it's ai, it's not the code this policy was targeting. this is so they don't have to waste time justifying removing the true ai slop.

if the code looks bad enough to be indistinguishable from ai slop, I don't think it matters that it was handwritten or not.

[–] kadu@scribe.disroot.org 14 points 3 days ago (1 children)

I guess the practical idea is that if your AI generated code is so good and you've reviewed it so well that it fools the reviewer, the rule did it's job and then it doesn't matter.

But most of the time the AI code jumps out immediately to any experienced reviewer, and usually for bad reasons.

load more comments (1 replies)
[–] boonhet@sopuli.xyz 10 points 3 days ago (1 children)
[–] AllHailTheSheep@sh.itjust.works 2 points 2 days ago* (last edited 2 days ago)

wow. that dude is a piece of work. made the mistake of clicking one of the links to his blog, and wow. there's a stunning lack of knowledge or self respect there

load more comments (3 replies)
[–] PabloSexcrowbar@piefed.social 19 points 4 days ago

I applaud the move, but man, that's gonna be a lot of work on their end.

[–] Stern@lemmy.world 8 points 3 days 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.

load more comments
view more: next ›