797
Temporary mental block (programming.dev)
you are viewing a single comment's thread
view the rest of the comments
[-] theterrasque@infosec.pub 2 points 7 months ago* (last edited 7 months 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.

this post was submitted on 13 Nov 2023
797 points (98.1% liked)

Programmer Humor

31223 readers
51 users here now

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

Rules:

founded 4 years ago
MODERATORS