this post was submitted on 13 Nov 2023
757 points (98.0% liked)

Programmer Humor

32562 readers
1064 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 4 points 1 year ago (1 children)

This. As a software engineer it has really reduced the mental load when starting a new project from scratch. I can quickly come up with the skeleton for a project and any boilerplate functions and just focus on making things work.

[–] [email protected] 2 points 1 year ago* (last edited 1 year ago) (2 children)

I messed around with it back when it was apparently better than it is now, and it sucked ass. Fed me outdated info, broken code, and overall was a nightmare.

Tried it recently real quick because I was converting my code, and I didn't want to dig in the documentation, and the info ChatGPT spit out was 100% false. Not even broken, just wrong.

[–] [email protected] 2 points 1 year ago* (last edited 1 year ago)

It can be surprisingly helpful. I needed a small program to change between three "states", two separate programs that use the gpu and can't run at the same time that I run on a server, and an "idle" state where none of them are running. And a simple web ui to check and change state.

This was the conversation: https://chat.openai.com/share/661322bc-2bd2-4608-9c7f-ec6d9f488601

Note that it did mess up the transitions code a bit, but it was easy to fix after a brief look at the documentation. However, the http page worked 100% straight off the bat, and the flask code and running of the commands worked perfectly. It's not a big thing, but a lot of "boilerplate" code and double checking docs was avoided. And this is the free tier.

[–] [email protected] 1 points 1 year ago* (last edited 1 year ago)

I feed it the relevant documentation first. It has large enough context size to handle it. But even that's unnecessary as long as you're not using a niche library.