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

Programmer Humor

19187 readers
1186 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 1 year ago
MODERATORS
 
top 12 comments
sorted by: hot top controversial new old
[–] [email protected] 3 points 1 year ago

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

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

Getting your data sold, at light speed

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

New: AI-powered unit testing framework that automatically corrects your code so that all tests pass! Perfect to integrate into your CI pipeline to run before deploy!

[–] [email protected] 2 points 1 year ago (1 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!

[–] [email protected] 3 points 1 year 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

[–] [email protected] 2 points 1 year ago (2 children)
[–] [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] 0 points 1 year 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.

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

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

[–] [email protected] 0 points 1 year 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 1 year 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.

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

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