this post was submitted on 08 Feb 2024
914 points (94.8% liked)

Programmer Humor

32483 readers
591 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
[–] underisk@lemmy.ml 80 points 9 months ago (2 children)

the comic is about using a machine learning algorithm instead of a hand-coded algorithm. not about using chatGPT to write a trivial program that no doubt exists a thousand times in the data it was trained on.

[–] Honytawk@lemmy.zip 27 points 9 months ago (5 children)

The strengths of Machine Learning are in the extremely complex programs.

Programs no junior dev would be able to accomplish.

So if the post can misrepresent the issue, then the commenter can do so too.

[–] pearsaltchocolatebar 28 points 9 months ago (3 children)

Lol, no. ML is not capable of writing extremely complex code.

It's basically like having a bunch of junior devs cranking out code that they don't really understand.

ML for coding is only really good at providing basic bitch code that is more time intensive than complex. And even that you have to check for hallucinations.

[–] kurwa@lemmy.world 16 points 9 months ago

To reiterate what the parent comment of the one you replied to said, this isn't about chat GPT generating code, it's about using ML to create a indeterministic algorithm, that's why in the comic it's only very close to 12 and not 12 exactly.

[–] Scubus@sh.itjust.works 5 points 9 months ago

LLM are not good for that, but Machine Learning as a whole does not have that limitation.

[–] BluesF@lemmy.world 0 points 9 months ago

ML is not good for coding, it is good for approximately solving very complex problems.

[–] underisk@lemmy.ml 19 points 9 months ago (1 children)

Yes that is what they are good at. But not as good as a deterministic algorithm that can do the same thing. You use machine learning when the problem is too complex to solve deterministically, and an approximate result is acceptable.

[–] the_post_of_tom_joad@sh.itjust.works 7 points 9 months ago (3 children)

But can machine learning teach nerds not to ruin jokes? ;)

[–] underisk@lemmy.ml 6 points 9 months ago

if it did, they wouldn't be nerds anymore.

[–] kurwa@lemmy.world 3 points 9 months ago

But like why would you use ML to do basic maths? Whoever did that is dumber than a junior dev 😝

[–] ulterno@lemmy.kde.social 2 points 9 months ago

I think it's the nerds' job to teach the ML to ruin jokes.

[–] Pelicanen@sopuli.xyz 16 points 9 months ago

I think the exact opposite, ML is good for automating away the trivial, repetitive tasks that take time away from development but they have a harder time with making a coherent, maintainable architecture of interconnected modules.

It is also good for data analysis, for example when the dynamics of a system are complex but you have a lot of data. In that context, the algorithm doesn't have to infer a model that matches reality completely, just one that is close enough for the region of interest.

[–] xmunk@sh.itjust.works 14 points 9 months ago (1 children)

I strongly disagree. ML is perfect for small bullshit like "What's the area of a rectangle" - it falls on its face when asked:

Can we build a website for our security paranoid client that wants the server to completely refuse to communicate with users that aren't authenticated as being employees... Oh, and our CEO requested a password recovery option on the login prompt.

[–] ulterno@lemmy.kde.social 9 points 9 months ago* (last edited 9 months ago)

I got interested and asked ChatGPT. It gave a middle-management answer.
Guess we know who'll be the first to go.

[–] funkless_eck@sh.itjust.works 3 points 9 months ago (1 children)

The biggest high level challenge in any tech org is security and there's no way you can convince me that ML can successfully counter these challenges

"oh but it will but it will!"

when

"in the future"

how long in the future

"When it can do it"

how will we know it can do it

"When it can do it"

cool.

[–] Scew@lemmy.world 3 points 9 months ago

You probably wreck in chess. :)

[–] kfet@lemmy.ca 5 points 9 months ago (1 children)
[–] stephen01king@lemmy.zip 2 points 9 months ago

But not all ML is GPT