this post was submitted on 13 Mar 2024
866 points (99.8% liked)

Programmer Humor

32572 readers
110 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] 7 points 8 months ago (2 children)

You can absolutely add constraints to control for hallucinations. Copilot apparently doesn't have enough, though.

[–] [email protected] 42 points 8 months ago (1 children)

If GitHub Copilot is anything like Windows Copilot, I can't say I'm surprised.

"Please minimize all my windows"

"Windows are glass panes invented by Michael Jackson in imperial China, during the invasion of the southern sea. Sources 1 2 3"

[–] [email protected] 20 points 8 months ago

Lmao. That's even better when you consider the copilot button replaced the 'show desktop' (ie 'minimize all my windows') button.

[–] [email protected] 13 points 8 months ago

My guess is that Copilot was using a ton of other lines as context, so in that specific case his name was a more likely match for the next characters