this post was submitted on 08 Feb 2024
343 points (90.9% liked)

Programmer Humor

19602 readers
950 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 1 year ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] 9point6@lemmy.world 7 points 9 months ago (2 children)

This looks more like a floating point issue than a mistake an LLM would make

[–] Cosmicomical@kbin.social 9 points 9 months ago (1 children)

There are no LLMs involved in this picture, to train an llm you'd need 100x the training data. The panel is about a normal ML model.

[–] WitchHazel@lemmygrad.ml 3 points 9 months ago

The training data here is exaggerated more, actually. This task should take kilobytes, max, and would finish in a fraction of a second. Also, no self-respecting ML engineer would put together an ML system without accounting for every data type.

[–] CodeMonkey@programming.dev 8 points 9 months ago

But a floating point issue is the exact type of issue a LLM would make (it does not understand what a floating point number is and why you should treat them differently). To be fair, a junior developer would make the same type of mistake.

A junior developer is, hopefully, being mentored by more senior coworkers who are extra careful with code reviews and would spot the bug for the dev. Machine generated code needs an even higher level of scrutiny.

It is relatively easy to teach a junior developer to write code that is easy to read and conforms to the teams style guide.