this post was submitted on 01 Oct 2023
346 points (98.1% liked)

Programmer Humor

32483 readers
354 users here now

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

Rules:

founded 5 years ago
MODERATORS
 

Maybe it is

all 19 comments
sorted by: hot top controversial new old
[–] otter@lemmy.ca 42 points 1 year ago* (last edited 1 year ago) (1 children)

Isn't that basically how it works?

Just add an additional group of monkeys that aggressively hires and fires the others based on performance

Tada, machine learning

[–] kubijoe@programming.dev 10 points 1 year ago

It was the best of times, it was the blurst of times!

[–] ryannathans@aussie.zone 36 points 1 year ago* (last edited 1 year ago) (3 children)

asks for password hashing

gets code that looks like password hashing, named like password hashing, but, without any of the hashing

[–] Xanvial@lemmy.one 19 points 1 year ago

But it has better performance

[–] blackluster117@possumpat.io 11 points 1 year ago
[–] dan@upvote.au 3 points 1 year ago

but, without any of the hashing

Or it's something like unsalted MD4.

[–] S3verin@slrpnk.net 12 points 1 year ago

Because we are the apes that wrote the code that copilot read.

[–] conditional_soup@lemm.ee 6 points 1 year ago (3 children)

Tbh, copilot was probably the worst AI coding experience I've had. It actually made me less productive and made me question my competency as a programmer at the same time. Straight up did not have a good time. Use Cody or GPT-4 instead.

[–] starman@programming.dev 13 points 1 year ago (2 children)

It is designed for other purposes than GPT models. Next time try to use copilot as autocompletion, not to generate new code. It's excellent in that.

[–] conditional_soup@lemm.ee 2 points 1 year ago (2 children)

That's how I was using it; I ended up spending as much time as I was saving going around and cleaning up after it and/or second guessing myself. Basically, because it only operates in the context of the file you're working in, it will suggest garbage half the time if you have to work with resources from other files.

[–] Kwartel@programming.dev 2 points 1 year ago

If you have those other files open, it also picks those up. And lately it seems to follow imports too, I feel like

[–] starman@programming.dev 1 points 1 year ago* (last edited 1 year ago)

From the docs:

GitHub Copilot analyzes the context in the file you are editing, as well as related files

Tho, I don't know if it allways been that way, maybe they added bigger context later

[–] CaptKoala@lemmy.ml 10 points 1 year ago (2 children)

But the propaganda from GitHub said it was making devs 80%+/- more productive!

How could this have happened? /s

[–] kameecoding@lemmy.world 7 points 1 year ago

it works well for me, mostly accurately guesses what I am trying to do, helps a ton with boilerplate code

[–] wewbull@feddit.uk 3 points 1 year ago

It was 55% for me. Higher baseline I suppose. <\s>

[–] WuTang@lemmy.ninja -3 points 1 year ago

it bores me to death... all these coders using AI shit to pretend to save times while you just need to reduce the scope.