this post was submitted on 08 Feb 2024
350 points (91.3% liked)

Programmer Humor

19817 readers
676 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 2 years ago
MODERATORS
 
top 50 comments
sorted by: hot top controversial new old
[–] [email protected] 57 points 10 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 10 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.

[–] [email protected] 2 points 10 months ago

The key to "AI" is having a human there to take algorithms and apply them to the right problems.

This is what most people don't understand because many of the demos are quite impressive and narrowly tailored to prevent the fact from being obvious unless you know what you're looking for.

[–] [email protected] 2 points 10 months ago

Most useful application so far seems to have been to predict protein folding. Have to check up on that, it should allow to cure all sorts of bad things.

[–] hansl 37 points 10 months ago (3 children)

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

[–] devilish666 29 points 10 months ago (1 children)

Junior dev just need to copy paste code from stackoverflow

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

So they do the exact sams thing as the LLM?

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

Yeah but they make you buy decaf

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

I don't think that not educating people is an option. Even in the highly unlikely case that every job is hypothetically taken over by "AI": humans like to learnand hone their skills.

load more comments (2 replies)
[–] ilinamorato 3 points 10 months ago

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

[–] [email protected] 22 points 10 months ago* (last edited 10 months ago) (1 children)

LLM costs $20 a month and needed only 60 hours of training, junior dev has been at it for years, costs as much for a half hour, and still needed me to repeatedly explain what a rectangle is

[–] [email protected] 5 points 10 months ago (2 children)

If you're paying someone $40 an hour who doesn't know what a rectangle is then I think you're the problem.

[–] [email protected] 2 points 10 months ago

The problem is that he's paying $40 an hour and for that you only get someone who knows what a ਆਇਤਕਾਰ is.

[–] [email protected] 1 points 10 months ago

I’ve just worked for agencies that hire juniors and outsource. If you’ve seen what I’ve seen you’d change your tune

[–] [email protected] 21 points 10 months ago

One key point here is: While you actually can replace a bunch of junior developers with AI in some places, any replaced junior developer will never become a senior developer that cannot be replaced by the AI because he/she is basically experince on two legs.

So, corporations, don't complain about the lack of experienced, senior personnal because YOU have been the main reason they don't exist.

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

To all the decaf haters: If you drink decaf, you actually like the taste of coffee without needing the caffeine. That's someone with taste, in my book.

[–] [email protected] 6 points 10 months ago* (last edited 10 months ago) (3 children)

There are many ways to decaffeinate a coffee bean... Some more gross than others... All of them blasphemy.

And yes most of them ruin the taste of coffee.

Also it's obvious you have seen this already. https://youtu.be/yYTSdlOdkn0?si=6Z1RlexQCt2I4OI9

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

Yeah, well for many of us it's decaf or no coffee due to health issues. You acting like it's a foolish, childish thing is just tribalism/elitism.

And for what it's worth, I'd put my decaf vs your coffee in a heartbeat. A good roaster with quality beans is great coffee, decaf or no. Just like Hoffman said.

load more comments (10 replies)
[–] [email protected] 4 points 10 months ago (13 children)

It's funny, because you claim the opposite of what is said in the video.

load more comments (13 replies)
[–] [email protected] 2 points 10 months ago (2 children)

Dude, you clearly didn't even watch the first 30 seconds of the video because it contradicts what you say from the start

load more comments (2 replies)
[–] EvolvedTurtle 2 points 10 months ago

I think it's stilly for anyone to impose there way of coffee consumption onto anyone

I like my caffeine, mainly because I have a literal caffeine addiction

But I also keep around some decaf in case I have a random coffee craving at like midnight

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

I too am confused about the decaf part.

[–] Maven 2 points 10 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 10 months ago (1 children)
[–] Maven 4 points 10 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 10 months ago (1 children)

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

[–] Maven 4 points 10 months ago

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

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

Yet 80 people upvoted it. Strange...

load more comments (5 replies)
[–] 9point6 7 points 10 months ago (2 children)

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

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

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] 8 points 10 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.

[–] overzeetop 7 points 10 months ago (1 children)

You could say the same for a finite element model. A junior engineer with just 4 years of training can solve, explicitly, the deflection at the center of a slender, simple-simple beam of prismatic section and produce an exact (if slightly incorrect) answer. Building a FEM of the same can solve the problem and take longer (to make the model) with similar accuracy, both of which are good enough for design work.

Only a fool wouldn’t have a FEM around though, as it can solve problem that would take centuries for a human to solve. They may as well make a cartoon with the child digging a 3” hole in beach sand and then showing a backhoe making a jagged edged hole of the same size.

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

Part of the reason this is a great example is you can easily calculate the maximum stress of an I-beam IFF you know where to find the simple formula. Even a dense FEA mesh will always give an answer like 3x4=11.9974, it's worse. The education is how you know which formula to use.

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

COMPILE ERROR - LIBRARY CALCAREA.H DOES NOT EXIST

goddamnit you acid tripping LLM...

[–] Fridgeratr 4 points 10 months ago

Decaf?? Wtf. Gross.

[–] [email protected] 2 points 10 months ago

Decaf is heresy

[–] [email protected] 2 points 10 months ago

I feel this in AutoCAD (lack of) precision.

load more comments
view more: next ›