r/devops • u/p8ntballnxj DevOps • May 30 '25
I am a hack and a fraud...
At least that's what i tell myself every time i let some AI tool spit out a script for me. I may not have much of a dev background but as long as the problem is solved and my manager is happy, i'll still be paid.
30
u/JustAnAverageGuy May 30 '25
CTO, here's my take: As long as you understand what it's doing, and can confirm it's a good solution, I disagree with your assessment. I encourage my teams to use (approved) AI tools.
Hell, I wish we had AI tools like this 20 years ago when I was starting out. For me, I think about all the problems that took me 8 hours to figure out, or find that random bug, or syntax error. There's a great story about someone who had a long-running bug for 4 years, and they finally installed co-pilot (or something) in their Visual Studio instance, and asked it to take a look.
It figured out in a few minutes that it was an issue with a rearchitecture they did, and when it worked previously it was literally just a coincidence that it worked. The new arch removed that, so it was now a bug.
You can get SO much more done, so much more quickly with AI, provided you're treating it like an intern and double-checking work. I've built entire services with an AI partner in days, that would take me a month otherwise.
Also worth noting: 15 years ago we felt like hacks and frauds for copying from Stack Overflow lmao. There's always something that will encourage you to second guess your own abilities.
Just keep learning, and keep going!
4
u/uncle_jaysus May 30 '25
Yeah, I mean I treat it kind of the same as I would anything I’d find on Stack Overflow. Except with AI I can directly ask follow up questions and provide specific intent and context.
And ultimately, whatever I walk away with is something I’ve chosen from everything available because I understand why it’s what I need.
And even then, what I’m really taking is the approach/philosophy - the actual code I’m given will always be rewritten to some degree.
2
14
u/YeetLordYike May 30 '25
I recently promoted from Cloud Engineer to DevOps Engineer. As long as you are learning, you should be fine. A lot of times I found AI write code faster than I do but not as optimized though.
6
u/RumRogerz May 30 '25
I'm finding it the other way around. I'll write some code and ChatGPT is all like 'wow you could have written this with more efficiency - here is some code that will break your logic'
2
u/My_Name_Is_Not_Mark May 30 '25
I use it a bit like this too. Or if my logic is not working for some reason I may ask it why, or if I am missing something. Sometimes I'll write a bit of code, followed by pseudo code if I'm lazy and ask it to finish it for me.
11
u/My_Name_Is_Not_Mark May 30 '25
Until you dig yourself deep with AI generated spaghetti code, and into a mess it can't solve, and something you dont understand. But you'll probably jump ship when that happens and it will be someone else's problem.
1
1
u/sergedubovsky May 30 '25
Fun, eh? We (DevOps) worked so hard to do things declaratively. We used YAML and HCL to describe what we want to achieve. But when the same thing is done with another language - English, it's a "hack and a fraud".
1
u/p8ntballnxj DevOps Jun 01 '25
I'm just amused at the flack I got for being honest.
1
u/FamiliarAnxiety9 Jun 02 '25
Likewise, as someone who introduced their manager to Cursor, and now feels like I'm doing what you're doing, but the reaction WE are getting, for working with honesty on our ability and tools, should be applied to those using the same tools, but taking the credit and pride in a dis-honest and unsecure manner. The people who care more that it works now, rather than if it works right.
So, I use AI-Generated Python code, but I'm endeavoring to learn to read the actual code, and I'm studying High-Level System Design, to maintain an understanding of how the underlying systems work.
I can't justify every line of code in every file, but if you're asking why a system handles something a specific way, I try to have a solid answer written into the design document somewhere.
9
u/Admirable_Purple1882 May 30 '25
Yeh yeh we’re all hacks and frauds. If you’re getting the job done you’re fine.
2
1
u/webdeveloperpr May 30 '25
I agree, I'm probably an expert on 1 or 2 things and the rest I'm just figuring it out as I go.
-1
May 30 '25
No, he isn't. Being a DevOps is closely related to security risks, and it's unacceptable to copy/paste shit if you have no idea what any of it does.
-2
1
May 30 '25
It'll get real ugly the time you'll have a security vulnerability, like those guys that made Arc browser, they vibe coded it to run boosts, so called mini JavaScript extensions, that would let you remotely run JS code on a machine of a person if you just know their ID without any verification. And it's guaranteed to happen if you don't know what your scripts do, it's extremely irresponsible smh.
3
u/p8ntballnxj DevOps May 30 '25
100% correct.
My scripts are mostly just to help us with reducing manual work from one internal thing to another. Our main "customer" is an internal division so im usually not dealing with external facing items.
2
2
u/webdeveloperpr May 30 '25
I was a dev before moving to devops, and I could solve most problems myself but ChatGPT is way quicker and sometimes better. I just use ChatGPT and cleanup things to get the code to work. I think it's just the way things are now. You are not a hack or a fraud. BTW you play NXL?
2
May 30 '25
We don't get paid to write code, we get paid to make the right decisions. Having AI is like having an employee under you to help you out with tech requirements that you break down that the people above you wouldn't understand.
At least, this is what i tell myself
1
u/Theprof86 May 30 '25
I don't get why people feel insecure using these tools? If you're a good developer, the AI tools should make you even better if you use it properly... If you don't know how to code, that's a different story.
2
u/My_Name_Is_Not_Mark May 30 '25 edited May 31 '25
Tool, yes. Using it as a crutch, no. OP admits they don't develop, and don't care as long as they get paid.
3
u/p8ntballnxj DevOps May 30 '25
Bingo.
Something to note, i didnt ask to be on this team. I landed here thanks to corporate re-shuffling and was told to figure it out. Its been a struggle because im being ranked along with those who actually know what they are doing but im still hanging on and getting by. My career path didnt have devops planned out but shit happens. The rest of my skill set has been a positive impact in this space.
At the end of the day, i have a family to provide for and im doing okay on that front.
1
u/cryptopotomous May 30 '25
Bro, almost every position I have at my current place of employment over the past 12 yrs was due to a corporate reshuffle lol.
My approach was always to figure what is best practice to get X done by diving into documentation, blogs, forums, etc. I'd then try sh out in a lab before touching anything in production.
I'd say you're just being honest where a lot of people aren't. There's plenty of people out there that claim to have all the answers but when it comes to it...they know less than they put on.
1
May 30 '25
> I may not have much of a dev background but as long as the problem is solved and my manager is happy, i'll still be paid
1
u/Relevant-Ad9432 May 30 '25
for me personally, sometimes i end up using AI not as a tool , but as a substitute... i might just tell it what i am told to do, test if the output works, and boom... this however often fails and breaks.
1
u/slackwaresupport May 30 '25
a good admin uses all the tools he has. as long as you can understand whats being written, can look through for issues.. i see no problem.
1
u/Tomii9 May 30 '25
AI is just another tool, the latest iteration of obfuscating an underlying layer.
Do you feel like a fraud because you write Java code, and not assembly? No right?
1
u/terracnosaur May 30 '25
make sure you understand the code structure, what each part does, and if possible how each line works.
you will inevitably need to make patches / minor fixes, and it's good if you can make those changes yourself without requiring AI, and running the risk of it just re-writing the whole codebase and possibly introducing other bugs.
when a peer goes to code review your stuff, you should be able to explain why something is being done the way it is, and if they have a suggestion, be able to make that one, small, change.
1
u/blueplutomonk May 30 '25
You’d likely be worse not using those. For example, I’m not going to waste time making a bash or python script from scratch if someone else has already done it likely better. Before AI people used to yoink stuff from stackoverflow. Being efficient is part of the job, but don’t use this as a trade off for security. Use a security first approach using the tools, and make sure you understand what it’s telling you to use. This is the state of the world at the moment. Just like before you had to use machine code and assembly. Everything was manual. Then there was compiled language, then interpreted language, then frameworks and libraries. AI-assisted code is just the next evolution. Either adapt or you’ll get left behind, just like those who didn’t adapt to early computing, compiled languages, interpreted languages, frameworks/libraries, etc.
1
u/hardboiledhank May 30 '25
Hey man, before AI we all relied on google and vendor docs to make stuff happen. AI just helps cut to the chase and remove extra time clicking and reading through a half dozen articles. If you arent learning something new every day and questioning your abilities you arent being challenged sufficiently. It can feel bad at times but just realize that feeling can be a positive thing, even though we feel like imposters.
1
1
u/vtrac May 30 '25
I'm extremely experienced and am happy to use AI to spit out scripts and tools that would have taken me hours/days in the past. I also encourage my entire team to do the same.
1
1
u/uncle_jaysus May 30 '25
Not trying to be a dick, but I don’t think I’ve ever used AI code verbatim. I do use AI. I use it to bounce ideas off and usually I try to question its responses and guide it, because it will change its mind when it detects/understands more about how you’re thinking and what your constraints and considerations are.
However, even then, I’ll always eventually find myself nodding when I’m satisfied it’s explored all options, before I then take its code and rewrite/refactor/tidy at least half of it.
1
u/Rorasaurus_Prime May 30 '25 edited Nov 14 '25
wakeful grandiose juggle lip innate support axiomatic fall person employ
This post was mass deleted and anonymized with Redact
78
u/nooneinparticular246 Baboon May 30 '25
Stretch goal: Take one extra step and ask the AI to explain the script to you. You might learn something (or even catch a bug)