Hacker News new | ask | show | jobs
by alexpotato 186 days ago
I work in crypto (L1 chain) as a DevOps engineer (LOTS of baremetal, LOTS of CI/CD etc) and it's been amazing to see what Claude can do in this space too.

e.g. had an issue with connecting to AWS S3, gave Claude some of the code to connect and it diagnosed a CREDENTIALS issue without seeing the credentials file nor seeing the error itself. It can even find issues like "oh, you have an extra space in front of the build parameter that the user passed into a Jenkins job". Something that a human might have found in 30+ minutes of grepping, checking etc it found in <30 seconds.

It also makes it trivial to do things like "hey, convert all of the print statements in this python script to log messages with ISO 8601 time format".

Folks talk about "but it adds bugs" but I'm going to make the opposite argument:

The excuse of "we don't have time to make this better" is effectively gone. Quality code that is well instrumented, has good metrics and easy to parse logs is only a few prompts away. Now, one could argue that was the case BEFORE we had AI/LLMs and it STILL didn't happen so I'm going to assume folks that can do clean up (SRE/DevOps/code refactor specialists) are still going to be around.

4 comments

> gave Claude some of the code to connect and it diagnosed a CREDENTIALS issue without seeing the credentials file nor seeing the error itself

10 years ago google would have had a forum post describing your exact problem with solutions within the first 5 results.

Today google delivers 3 pages of content farm spam with basic tutorials, 30% of them vaguely related to your problem, 70% just containing "aws" somewhere, then stops delivering results.

The LLM is just fixing search for you.

Edit: and by the way, it can fix search for you just because somewhere out there there are forum posts describing your exact problem.

What's a "Code Refactor Specialist"? Are you implying that in the future we'll have programmers who will just write code using AI and a specialist role whose job it would be to clean up that code? That isn't going to work, you'll need a superhuman for that role. People who write the code using AI have to be the ones who review it and they have to be responsible for the quality of that code.
Yes I remember a while ago it fixing a pipeline problem because I had managed to copy and paste an IP with one of the digits missing at the end. Spent about an hour before that looking at everything else (all the other steps succeeded, but the last one 'timed out', because I copy and pasted it wrong at the end). Took it <30secs as you said to instantly diagnose the problem.
What you suggested here is trivial with existing tools—linters in the first case, search-and-replace functions in editors for the second.

I have yet to see any evidence of the third case. I'm close to banning AI for my junior devs. Their code quality is atrocious. I don't have time for all that cleanup. Write it good the first time around.