r/cscareerquestions • • 16d ago

Codex just told me "ask a developer"

I thought you folks could use a chuckle...

My work just introduced Codex. I'm working in a legacy codebase with no automated tests in a language I don't know. I'm asking a ton of questions to understand it better and put the right scaffolding in place.

Codex must have had enough of me today because it said "ask a developer".

336 Upvotes

50 comments sorted by

392

u/nukem996 16d ago

Linus Torvalds wrote a post about AI usage. When debugging an issue it said he should ask an experienced kernel developer for help.

165

u/IBJON Senior Software Engineer 16d ago edited 16d ago

Honestly, that's a good sign that it just throws up its hands and tells you to find a human.

I mean, you might be boned if you can't find help, but it's better than it making random ass guesses 

16

u/rocket333d 16d ago

The problem is there's no one to ask. Anyone who worked on this is long gone, and none of my colleagues know any more about it than I do.

7

u/i_am_bromega 16d ago

What are you asking it? I have never encountered this when having it analyze and explain things about the codebase I am working on.

70

u/zuzoa 16d ago

Lord knows it makes enough random ass guesses. Just yesterday Claude quoted a Microsoft knowledgebase article and sent me the link. When I told Claude that quote doesn't exist it was like "yeah my bad i made it up"

8

u/Serengade26 16d ago

Where is that post? I can't find it

12

u/learning-to-programm 16d ago

I don't have the link, unfortunately, but I can attest to it, as ithink remember watching a mini interview on YouTube shorts or something about it. Iirc, he was deep into a debugging session and the AI just kept tapping out saying stuff like "you should contact the kernel maintainers," "it's impossible to find the root cause of this bug/where X originates" and Linus just kept pushing it until they finally found it. Apparently it was a function that was supposed to return -1 but it returned 1 or something like that.

Tbh, this was hilarious just imagining the AI going "I'm tired, sir..." And Linus being like "shut up and keep digging, you clanker" lol.

10

u/Serengade26 16d ago

Yeah I found the commit message

https://github.com/torvalds/linux/commit/818bebeb63dd6bf5f4e07e145f6cdbace520a34c

""" And this was a debug session from hell, enormously helped by an AI   doing much of the grunt-work.

  I'd like to call it my tireless helper, but the AI several times   stated flat out that this was impossible and unsolvable and that we   should just write a report about it.

  I suspect those things have been trained by people who may not be   quite as stubborn as I am.

  But while the AI was ready to give up several times, it did keep   adding debug code and analyzing it faithfully when I pushed. So credit   where credit is due and I let the AI write the commit message above. """

I wanted to see if there was a screenshot of the ai chat saying that, to directly to reach out to an experienced kernel dev

6

u/nunquam_rideo 16d ago

But doctor, I am Pagliacci

0

u/[deleted] 16d ago

[deleted] — view deleted comment

9

u/cugamer 16d ago

That actually makes me grateful that my day-to-day involves working with a single ginormous monolith.

8

u/TriMiksEntuzijasta 16d ago

Screenshot?

24

u/rocket333d 16d ago

I don't mix work and personal devices.

2

u/mothzilla 16d ago

Take a photo of your work device with your personal device. Still air-gapped.

1

u/Green0Photon 16d ago

But then that probably provides subtle information to leak who OP is and/or where they work

1

u/EmeraldStorm089 16d ago

The bank

1

u/rocket333d 15d ago

Yeah, the big one.

1

u/mothzilla 15d ago

I was joking.

2

u/Tintoverde 16d ago

May be it hit usage limit?

2

u/rocket333d 16d ago

No, I checked. I think it's just sick of me, lol.

96

u/bugrug 16d ago

had claude once say "go ask <developer's name>"

ha, guess who you're talking to buddy

18

u/droi86 Tech Lead 16d ago

But I am bugrug

27

u/MoreRespectForQA 16d ago

I get that shit and worse from claude too.

9

u/pamidur 16d ago

Cloude is like "jee mate go ask the architect for approval", lol I'm the architect

13

u/dashingThroughSnow12 16d ago

Yesterday Claude started morally judging me for the contents of my global Claude.md file.

It could have ignored the parts it didn't like but instead it did some moral grandstanding to tell me it wouldn't follow half my Claude.md file.

4

u/private-peter 16d ago

What didn't it like?

15

u/dashingThroughSnow12 16d ago edited 16d ago

A few weeks ago I was pair programming with a co-worker. Their GitHub username was like jsmith (first letter of first name followed by last name).

Claude kept referring to my coworker by the wrong name (ex John) despite repeated corrections.

Co-worker killed themselves.

I put in my global Claude.md file that Claude should never guess a person's name from their GitHub username.

Yesterday I opened Claude. Fresh session. I pasted a single line from datadog logs and Claude went on some spiel about not listening to the line in my Claude.md file about how important it is to not assume people's names from their GitHub handles.

19

u/ebkalderon Senior 16d ago

You can't just leave us hanging with the "co-worker killed themselves" bit. I'm so confused. Did they kill themselves because Claude was constantly being referring to them by the wrong name? I need context.

5

u/dashingThroughSnow12 16d ago

Yes.

5

u/LiquidStatistics 12d ago

Why?

2

u/dashingThroughSnow12 12d ago

Some people are unsettled when repeatedly called a name they don't acknowledge as their own. Especially if they are rebuked when trying to correct the mistake.

2

u/EndVSGaming 12d ago

No need to answer if you think it's best not to. Do you think this person had a deeply unhealthy dynamic with an AI agent or more of a breaking point situation overall?

4

u/dashingThroughSnow12 12d ago

Straw that broke the camel's back situation.

→ More replies

1

u/Laugarhraun Software Engineer 12d ago

Why didn't je change his GitHub username?

2

u/dashingThroughSnow12 12d ago

Because it matched his name. As I said, his username was first name's first letter followed by his last name. Claude was guessing a first name from that first letter.

I'd rather not tell everyone I pair program with to change their username. I'd rather tell Claude to not guess people's names and not ignore corrections.

1

u/sebamestre 12d ago

Wow that's heavy...

Sorry if rude, but out of curiosity, what was Claude's objection to not guessing names?

16

u/ShadowWebDeveloper Software Engineer 16d ago

I love when it asks me to go ask X team about this - cue the Obi Wan meme.

8

u/Tomato_Sky 16d ago

Oh godspeed. Sounds like a task I had recently. I took over a codebase for a vbasic application. Codex couldn’t help. It ended up going in circles and making tons of errors about what it would tell me. It would just lie to me about vbasic. I was able to use codex to make test scripts and start TDD, but I probably didn’t get much help.

Legacy codebase maintenance with LLM agents just doesn’t work yet. I could just try one shotting the application 100 times and just throw out the garbage prototypes.

4

u/KarmaCop213 16d ago

I've seen that happening more than once. Not saying to ask a developer, but to ask an element of a specific team.

4

u/TurtleSandwich0 16d ago

When AI tells you to post a wrong answer on Stack Overflow and wait for an answer, then we will truly be replaced.

1

u/just-joseph 13d ago

I was expecting the question.

I don't spend enough time on reddit, do subreddit names not mean anything more?

2

u/rocket333d 13d ago

It's reddit. Everything is made up and the points don't matter. 

5

u/ares623 16d ago • Bravo

"But Codex, I am developer."

Good joke. Everybody laugh. Roll on snare drum. Curtains.

2

u/InsideTour329 16d ago

I love it when it asks me to got to an admin. Mf I am the admin

2

u/prehensilemullet 15d ago

Hopefully it was because it realized there was no hope of guessing at the intent of something in the codebase without asking the developers behind it

Like did it mean ask “a developer” in general or a developer on this project?

1

u/Citrus2015 16d ago

maybe we can develop and scale up human based solutions to improve AI productivity

1

u/Relevant_Ear_8679 16d ago

that's a rough answer when the original people are gone, tracing one input from entry to output gives you a concrete path to ask codex about

0

u/[deleted] 16d ago

[deleted] — view deleted comment

2

u/rocket333d 16d ago

That's exactly what I'm trying to do?

2

u/[deleted] 16d ago

I wouldent approach testing something i dont understand the working of. Mapping main flows, common pathways and core functionalities is always the start to understanding a system idk. It never starts with trying to write test for something