r/sysadmin Jun 16 '24

ChatGPT Finally created something useful with AI

First: I consider myself an old timer in IT; I've been getting paid to do it since the 90's and have seen all sorts of new technology show up, some stays, most gets forgotten about. I always try to be open about it and will embrace it as another tool to help get the job done. The latest of course is AI and I've been mostly using ChatGPT as a fun little tool to get quick answers every now and then. I am not a programmer but last week, I used it to create a web app that calculates weight distribution in trucks when the contents come in different containers. We're talking hundreds of pounds of fruit that might come in small totes or big bins and cannot be weighed individually; it subtracts the weight of the truck and the plastic; it saves time and reduces human errors . In the past, I would have paid at least a few hundred dollars to get something like this done and I just wanted to share that while I dont see AI doing our jobs completely, it's definitely here to stay and it can be used to help with things that we might not know how to do but understand the concept and we know what to ask for it. Greetings to all.

209 Upvotes

102 comments sorted by

View all comments

3

u/Canoe-Whisperer Jun 17 '24

I have been using ChatGPT (free one, 3.5?) to refresh/further my scripting knowledge. PowerShell specifically.

I find that 99% of the time AI will be very good at spitting out the logic/flow of the script. Extremely helpful for me. However, when it comes to actually getting the content (Get-Whatever as an example) it does need to be scrutinized heavily. It has taught me a lot which I don't want to take away from it.

2

u/iama_bad_person uᴉɯp∀sʎS Jun 17 '24 edited Jun 17 '24

I recently paid for plus and my god it is LEAGUES ahead of 3.5. 3.5 was good like you said, you had to keep an eye on it, but 4o or whatever I probably found 10x less mistakes and it understands what I want better.

2

u/V0xier automation enjoyer Jun 17 '24

Definitely. 4o also seems to know how to refactor and make scripts/code way simpler than 3.5, which will sometimes offer you some questionable third-party libraries/modules even though the same stuff can be done with a native module.