Most active commenters
  • manmal(3)

←back to thread

258 points signa11 | 18 comments | | HN request time: 1.587s | source | bottom
Show context
kirubakaran ◴[] No.42732804[source]
> A major project will discover that it has merged a lot of AI-generated code

My friend works at a well-known tech company in San Francisco. He was reviewing his junior team member's pull request. When asked what a chunk of code did, the team member matter-of-factly replied "I don't know, chatgpt wrote that"

replies(16): >>42733064 #>>42733126 #>>42733357 #>>42733510 #>>42733737 #>>42733790 #>>42734461 #>>42734543 #>>42735030 #>>42735130 #>>42735456 #>>42735525 #>>42735773 #>>42736703 #>>42736792 #>>42737483 #
DowsingSpoon ◴[] No.42733737[source]
I am fairly certain that if someone did that where I work then security would be escorting them off the property within the hour. This is NOT Okay.
replies(5): >>42733887 #>>42733897 #>>42734054 #>>42734331 #>>42734746 #
1. bigstrat2003 ◴[] No.42734054[source]
To be fair I don't think someone should get fired for that (unless it's a repeat offense). Kids are going to do stupid things, and it's up to the more experienced to coach them and help them to understand it's not acceptable. You're right that it's not ok at all, but the first resort should be a reprimand and being told they are expected to understand code they submit.
replies(2): >>42734253 #>>42734271 #
2. DowsingSpoon ◴[] No.42734253[source]
I understand the point you’re trying to get across. For many kinds of mistakes, I agree it makes good sense to warn and correct the junior. Maybe that’s the case here. I’m willing to concede there’s room for debate.

Can you imagine the fallout from this, though? Each and every line of code this junior has ever touched needs to be scrutinized to determine its provenance. The company now must assume the employee has been uploading confidential material to OpenAI too. This is an uncomfortable legal risk.

How could you trust the dev again after the dust is settled?

Also, it raises further concerns for me that this junior seems to be genuinely, honestly unaware that using ChatGPT to write code wouldn’t at least be frowned upon. That’s a frankly dangerous level of professional incompetence. (At least they didn’t try to hide it.)

Well now I’m wondering what the correct way would be to handle a junior doing this with ChatGPT, and what the correct way would be to handle similar kinds of mistakes such as copy-pasting GPL code into the proprietary code base, copy-pasting code from Stack Overflow, sharing snippets of company code online, and so on.

replies(4): >>42734298 #>>42734496 #>>42734700 #>>42734745 #
3. LastTrain ◴[] No.42734271[source]
Kids, sure. University trained professional and paid like one? No.
replies(1): >>42734412 #
4. thaumasiotes ◴[] No.42734298[source]
> Also, it raises further concerns for me that this junior seems to be genuinely, honestly unaware that using ChatGPT to write code wouldn’t at least be frowned upon.

Austen Allred is selling this as the future of programming. According to him, the days of writing code into an IDE are over.

https://www.gauntletai.com/

replies(2): >>42734542 #>>42735281 #
5. raverbashing ◴[] No.42734412[source]
You're having high expectations of the current batch of college graduates

(and honestly it's not like the past graduates were much better, but they didn't have chatgpt)

replies(1): >>42734513 #
6. manmal ◴[] No.42734496[source]
> The company now must assume the employee has been uploading confidential material to OpenAI too.

If you think that’s not already the case for most of your codebase, you might be in for a rough awakening.

7. The_Colonel ◴[] No.42734513{3}[source]
A cynical take would be that the current market conditions allow you to filter out such college graduates and only take the better ones.
replies(1): >>42735199 #
8. manmal ◴[] No.42734542{3}[source]
Responding to the link you posted: Apparently, the future of programming is 100 hour weeks? Naive me was thinking we could work less and think more with these new tools at our disposal.
replies(2): >>42734637 #>>42734898 #
9. ojbyrne ◴[] No.42734637{4}[source]
Also you think with their fancy AI coding they could update their dates to the future or at least disable the page for a past dated session.
10. ujkiolp ◴[] No.42734700[source]
unless you work for hospitals or critical infrastructure, this reaction is overblown and comical
11. guappa ◴[] No.42734745[source]
I've seen seniors and above do that.

They never cared about respecting software licenses until Biden said they must. Then they started to lament and cry.

12. guappa ◴[] No.42734898{4}[source]
Seems people didn't read the link and are downvoting you, possibly because they don't understand what you're talking about.
replies(1): >>42735002 #
13. manmal ◴[] No.42735002{5}[source]
Thanks, added context.
14. solatic ◴[] No.42735199{4}[source]
And how do you propose filtering them out? There's a reason why college students are using LLMs, they're getting better grades for less effort. I don't assume you're proposing selecting students with worse grades on purpose?
replies(2): >>42735282 #>>42737575 #
15. whatevertrevor ◴[] No.42735281{3}[source]
Without prior knowledge, that reads like a scam?

A free training program with a promise of a guaranteed high paying job at the end, where have I heard that before? Seems like their business model is probably to churn people through these sessions and then monetize whatever shitty chatbot app they build through the training.

replies(1): >>42743619 #
16. The_Colonel ◴[] No.42735282{5}[source]
I wouldn't hire based on grades.

I think what the junior did is a reason to fire them (then you can try again with better selection practices). Not because they use code from LLMs, but that they don't even try to understand what it is doing. This says a lot about their attitude to programming.

17. LastTrain ◴[] No.42737575{5}[source]
One way to filter them out, relevant to this thread, would be to let them go if they brazenly turned in work they did not create and do not understand.
18. thaumasiotes ◴[] No.42743619{4}[source]
No, their business model is getting placement fees for whoever they graduate from the program.

Considering this was a sponsored link on HN, endorsed by Y Combinator, I'd say you have a ridiculous threshold for labeling something a "scam", except to the degree that the companies committing to hire these people are pretty unlikely to get whatever they were hoping to get.