this post was submitted on 21 Sep 2023
523 points (96.6% liked)

Programmer Humor

32045 readers
1817 users here now

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

Rules:

founded 5 years ago
MODERATORS
 
all 17 comments
sorted by: hot top controversial new old
[–] [email protected] 61 points 1 year ago (1 children)

I hate AI but what you did there was say "it's broken please fix" with no description of your issue. You deserve nothing.

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

Truly ai will give the gift of being a terrible manager to everyone

[–] [email protected] 24 points 1 year ago (3 children)

Every time I have asked ChatGPT to code something it seems to lose the thread halfway through and starts giving nonsensical code. I asked it to do something simple in HP41C calculator code and it invented functions out of whole cloth.

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

I asked it for something in Powershell and it did the same thing. I asked how it came up with that function and it said it doesn't exist but if it did that's how it would work.

[–] [email protected] 4 points 1 year ago (1 children)

Quality of output depends a lot on how common the code is in its training data. I would guess it'd be best at something like Python, with its wealth of teaching materials and examples out there.

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

It depends on how common the language is and how novel the idea is. It can not create something new. It isn't creative. It spits out what is predictable based on what other people have written before. It isn't intelligent. It's glorified auto-complete.

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

When it starts going off the rails like that I also ask it to "check its work when its done", and it seems to extend the amount of usable time before it loses the plot and suggests i use VBA or something.

[–] [email protected] 19 points 1 year ago (1 children)

I like when you give it an answer and you tell it where it made an error. So it changes it to something that's even more wrong, then you point that out and it says, "Sorry. Here's the first wrong thing I told you, again."

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

Only when it pulls out “works fine on my machine, must be user error”

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

Say the line BartGPT

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

Just like me fr fr.

[–] [email protected] 1 points 6 months ago

I don't think so that ChatGPT will take place of humans.

[–] [email protected] -2 points 1 year ago (2 children)

eh.... no. its not.

  • coming from an actual developer.
[–] [email protected] 4 points 1 year ago

It's just a joke lol

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

Sir, this is programmer humour

We all are