this post was submitted on 26 Nov 2024
228 points (97.5% liked)

196

16604 readers
2533 users here now

Be sure to follow the rule before you head out.

Rule: You must post before you leave.

^other^ ^rules^

founded 1 year ago
MODERATORS
 
top 9 comments
sorted by: hot top controversial new old
[–] bamboo@lemmy.blahaj.zone 55 points 5 days ago

For context, this is apparently output of GitHub Copilot: https://mastodon.social/@gvwilson/113549897292144975

[–] renegadespork@lemmy.blahaj.zone 34 points 5 days ago

So the patriarchy finally released the source code...

[–] Gork@lemm.ee 19 points 5 days ago
[–] Neptr@lemmy.blahaj.zone 7 points 5 days ago* (last edited 5 days ago) (2 children)

Typo in your function definition according to your IDE. Guess that means no women are getting paid. Alternative interpretation is that the function will cause the program to error out resulting in a destabilizing of the power structures or something idk.

[–] FQQD@lemmy.ohaa.xyz 31 points 5 days ago (2 children)

Looks like AI auto completion to me, that's why the text is grey

[–] cam_i_am@lemmy.world 3 points 3 days ago

Yep that's github copilot suggesting what it thinks the code should be based on its training data.

[–] Neptr@lemmy.blahaj.zone 5 points 5 days ago

My mistake.

[–] JackbyDev@programming.dev 3 points 3 days ago (1 children)

Is it really a typo if you're mid function and not done writing?

[–] Neptr@lemmy.blahaj.zone 2 points 3 days ago

I already was corrected by another comment.