this post was submitted on 13 Jun 2023
131 points (100.0% liked)

Programmer Humor

19817 readers
68 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 2 years ago
MODERATORS
 
all 15 comments
sorted by: hot top controversial new old
[–] JackbyDev 7 points 2 years ago (2 children)
[–] msage 3 points 2 years ago (1 children)

I need to buy this book!

Though since it's over a decade old, it will most likely be only a decoration.

Then again, most mechanics didn't change much.

[–] JackbyDev 4 points 2 years ago (1 children)

With the Steam release of the game with the full GUI I have no idea how relevant it is now lol.

[–] msage 1 points 2 years ago

If it describes low level mechanics, it's still as relevant as ever.

GUI is nice, but the game is still too complex for any user interface, and understanding it visually may not always be easy.

[–] [email protected] 2 points 1 year ago

Aw man, its a custom design.

I'd love the classic animal template but with a kea holding a steppladder.

[–] [email protected] 6 points 2 years ago

Finally an up to date edition! I'm still using the old book, Copying and Pasting from StackOverflow

[–] nibblebit 5 points 2 years ago (2 children)

Hey! Why don't you try to build a basic github action from scratch and deploy it 40 times before it's green, waiting 10 minutes between builds to discover how each task creatively interprets directory path notation!

[–] treegardendev 3 points 2 years ago

This is so true, I use copilot for things like actions and dockerfiles so I don't feel an urge to bash my brains out more than I use it for code gen

[–] ruffsl 1 points 2 years ago

Get out of my head! Out I say!

You'd think there'd be a better way of testing CI configs locally, like using selfhosted runners, but no, they need me to push changes to origin so that GitHub can then trigger the job on my local docker host. At least CircleCI gave us CLI to validate and partly run jobs from config files locally, ... but only partly.

[–] Sleeping 3 points 2 years ago (1 children)

I wonder if someone has already created a bot that asks chat-GPT to create a piece of code, grabs it to try and run it, and then just goes back and forth with chat-GPT to fix the errors. Now the code would probably be a complete mess, but I wonder if non-coders could use it to create helpful one-off tools they can't find anywhere else.

[–] [email protected] 3 points 2 years ago (1 children)

It definitely exists - there's something that goes:

  1. generates code
  2. feed code back in and ask ChatGPT if it has any bugs (yes/no answer)
  3. if no, done, otherwise feed code back in and ask ChatGPT to fix it
  4. goto step 2

I can't find the link now, but you might also be interested in Auto-GPT.

[–] Sleeping 1 points 2 years ago

Oh wow! That looks awesome! I'll definitely have to star that.

[–] [email protected] 3 points 2 years ago

Getting your data sold, at light speed

[–] [email protected] 2 points 2 years ago

#FailingFaster