New development policy: code generated by a large language model or similar technology (e.g. ChatGPT, GitHub Copilot) is presumed to be tainted (i.e. of unclear copyright, not fitting NetBSD’s licensing goals) and cannot be committed to NetBSD.

https://www.NetBSD.org/developers/commit-guidelines.html

You are viewing a single thread.
View all comments View context
25 points

I’m saddened to use this phrase but it is literally virtue signalling. They have no way of knowing lmao

permalink
report
parent
reply
12 points

It’s actually simple to detect: if the code sucks or is written by a bad programmer, and the docstrings are perfect, it’s AI. I’ve seen this more than once and it never fails.

permalink
report
parent
reply
4 points

I’m confused, do people really use copilot to write the whole thing and ship it without re reading?

permalink
report
parent
reply
7 points

I literally did an interview that went like this:

  1. Applicant used copilot to generate nontrivial amounts of the code
  2. Copilot generated the wrong code for a key part of the algorithm; applicant didn’t notice
  3. We pointed it out, they fixed it
  4. They had to refactor the code a bit, and ended up making the same exact mistake again
  5. We pointed out the error again…

And that’s in an interview, where you should be extra careful to make a good impression…

permalink
report
parent
reply
4 points

Not specific to AI but someone flat out told me they didn’t even run the code to see it work. They didn’t understand why I would or expect that before accepting code. This was someone submitting code to a widely deployed open source project.

So, I would expect the answer is yes or very soon to be yes.

permalink
report
parent
reply
1 point
*

Around me, most beginners who use that don’t have the skills to understand or even test what they get. They don’t want to learn I guess, ChatGPT is easier.

I recently suspected a new guy was using ChatGPT because everything seemed perfect (grammar, code formatting, classes made with design patterns, etc.) but the code was very wrong. So I did some pair programming with him and asked if we could debug his simple application. He didn’t know where the debug button was.

permalink
report
parent
reply
1 point
*

So your results are biased, because you’re not going to see the decent programmers who are just using it to take mundane tasks off their back (like generating boilerplate functions) while staying in control of the logic. You’re only ever going to catch the noobs trying to cheat without fully understanding what it is they’re doing.

permalink
report
parent
reply
8 points

You’re only ever going to catch the noobs.

That’s the fucking point. Juniors must learn, not copy paste random stuff. I don’t care what seniors do.

permalink
report
parent
reply
9 points

It’s also probably to make things slightly simpler from a legal perspective.

permalink
report
parent
reply
1 point

That makes sense yes

permalink
report
parent
reply

Technology

!technology@lemmy.world

Create post

This is a most excellent place for technology news and articles.


Our Rules


  1. Follow the lemmy.world rules.
  2. Only tech related content.
  3. Be excellent to each another!
  4. Mod approved content bots can post up to 10 articles per day.
  5. Threads asking for personal tech support may be deleted.
  6. Politics threads may be removed.
  7. No memes allowed as posts, OK to post as comments.
  8. Only approved bots from the list below, to ask if your bot can be added please contact us.
  9. Check for duplicates before posting, duplicates may be removed

Approved Bots


Community stats

  • 18K

    Monthly active users

  • 12K

    Posts

  • 553K

    Comments