this post was submitted on 08 Feb 2024
344 points (91.0% liked)

Programmer Humor

19548 readers
735 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
 
(page 2) 23 comments
sorted by: hot top controversial new old
[–] [email protected] 2 points 9 months ago

Decaf is heresy

[–] [email protected] 4 points 9 months ago

Decaf?? Wtf. Gross.

[–] [email protected] 7 points 9 months ago (2 children)

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

[–] [email protected] 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.

[–] [email protected] 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.

[–] [email protected] 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.

[–] [email protected] 58 points 9 months ago (2 children)

With all the recent hype around AI, I feel that a lot of people don't understand how it works and how it is useful. AI is useful at solving certain types of problems that are really difficult using traditional programming, like finding patterns that aren't obvious to us.

For example, object recognition is about finding patterns in images. Our brains are great at this, but writing a computer program capable of taking pixels and figuring out if the pattern is there is very hard.

Even if AI is sometimes going to misclassify objects, it can still be useful. For example, in a factory you can use AI to find defects in the production line. Even if you don't get it perfect, going from 100 defects per 1M products to 10 per million is a huge difference and saves the factory a lot of money.

[–] [email protected] 47 points 9 months ago (1 children)

Agree, but the joke to me is business folks thinking AI is a miracle and they can just shove it everywhere to print money. Where us devs know what you mean, and would like to add it in where it makes sense. Business thinks it's ready to replace us.

load more comments (1 replies)
load more comments (1 replies)
[–] [email protected] 9 points 9 months ago (8 children)
[–] [email protected] 1 points 9 months ago

Yeah I don't really get this, you can come to deterministic mathematic conclusions with ML, it just requires different structuring of the problem. While area of a rectangle may not need optimization, there are many such places that do, like file compression, which requires perfectly accurate results.

[–] [email protected] 15 points 9 months ago (1 children)

I too am confused about the decaf part.

[–] [email protected] 2 points 9 months ago (1 children)

It's saying that instead of spending all the resources needed to gather all of the training data for the LLM, just give a junior dev some coffee as the input instead.

The direct comparison is input and output. Coffee/training data is the input and the code is the output.

[–] [email protected] 6 points 9 months ago (1 children)
[–] [email protected] 4 points 9 months ago (1 children)

I didn't say it was a GOOD joke. I was just explaining what the joke was.

[–] [email protected] 3 points 9 months ago (1 children)

Sorry, yes. I'm just trying to "yes, and...".

[–] [email protected] 4 points 9 months ago

Oh lol sorry. Tone is very hard to understand via text online.

[–] [email protected] 4 points 9 months ago

Yet 80 people upvoted it. Strange...

load more comments (5 replies)
[–] [email protected] 2 points 9 months ago

I feel this in AutoCAD (lack of) precision.

[–] [email protected] 38 points 9 months ago (5 children)

So are we not calculating the amount of training the junior dev took?

[–] [email protected] 3 points 9 months ago

They were trained before the task. The LLM was trained after.

[–] [email protected] 30 points 9 months ago (1 children)

Junior dev just need to copy paste code from stackoverflow

[–] [email protected] 16 points 9 months ago* (last edited 9 months ago) (2 children)

So they do the exact sams thing as the LLM?

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

Yeah but they make you buy decaf

load more comments (1 replies)
load more comments (3 replies)
load more comments
view more: ‹ prev next ›