this post was submitted on 08 Feb 2024
334 points (90.7% liked)

Programmer Humor

19551 readers
464 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
 
top 50 comments
sorted by: hot top controversial new old
[–] space@lemmy.dbzer0.com 55 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.

[–] scrubbles@poptalk.scrubbles.tech 46 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.

[–] sj_zero@lotide.fbxl.net 2 points 9 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.

[–] LarmyOfLone@lemm.ee 2 points 9 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@lemmy.world 35 points 9 months ago (3 children)

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

[–] devilish666@lemmy.world 29 points 9 months ago (1 children)

Junior dev just need to copy paste code from stackoverflow

[–] Jako301@feddit.de 15 points 9 months ago* (last edited 9 months ago) (2 children)

So they do the exact sams thing as the LLM?

[–] variants@possumpat.io 8 points 9 months ago

Yeah but they make you buy decaf

[–] mrbaby@lemmy.world 1 points 9 months ago* (last edited 9 months ago)

The LLM has read and copied every post on stack overflow, which is what separates the juniors from the seniors.

[–] Prunebutt@slrpnk.net 5 points 9 months ago (1 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.

[–] hansl@lemmy.world 1 points 9 months ago (1 children)

Alternatively, I don’t think that not educating AI is an option.

[–] Prunebutt@slrpnk.net 1 points 9 months ago

Why? Deploying or not deploying so-called AI is a choice we, as a society can make. The only reason why LLMs are pushed so hard by the industry is because some corporate gouls think that they can save money on labour with it.

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

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

[–] superterran@discuss.online 20 points 9 months ago* (last edited 9 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

[–] activ8r@sh.itjust.works 5 points 9 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.

[–] Nomecks@lemmy.ca 2 points 9 months ago

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

[–] superterran@discuss.online 1 points 9 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

[–] Treczoks@lemm.ee 19 points 9 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.

[–] GnomeKat@lemmy.blahaj.zone 9 points 9 months ago (3 children)
[–] Imgonnatrythis@sh.itjust.works 15 points 9 months ago (1 children)

I too am confused about the decaf part.

[–] Maven@lemmy.world 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.

[–] MajorHavoc@programming.dev 6 points 9 months ago (1 children)
[–] Maven@lemmy.world 4 points 9 months ago (1 children)

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

[–] MajorHavoc@programming.dev 3 points 9 months ago (1 children)

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

[–] Maven@lemmy.world 4 points 9 months ago

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

[–] const_void@lemmy.ml 4 points 9 months ago

Yet 80 people upvoted it. Strange...

[–] xor@infosec.pub 1 points 9 months ago (4 children)

that's because you're commenting on things you don't understand in a sub not meant for you

load more comments (4 replies)
[–] Prunebutt@slrpnk.net 9 points 9 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.

[–] NeverNudeNo13@lemmings.world 6 points 9 months ago* (last edited 9 months ago) (2 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

[–] Prunebutt@slrpnk.net 3 points 9 months ago (13 children)

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

load more comments (13 replies)
[–] mnemonicmonkeys@sh.itjust.works 2 points 9 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@lemmy.world 2 points 9 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

[–] overzeetop@lemmy.world 7 points 9 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.

[–] explodicle@local106.com 4 points 9 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.

[–] 9point6@lemmy.world 7 points 9 months ago (1 children)

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

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

[–] sj_zero@lotide.fbxl.net 4 points 9 months ago

COMPILE ERROR - LIBRARY CALCAREA.H DOES NOT EXIST

goddamnit you acid tripping LLM...

[–] Fridgeratr@lemmy.world 4 points 9 months ago

Decaf?? Wtf. Gross.

[–] TWeaK@lemm.ee 2 points 9 months ago

I feel this in AutoCAD (lack of) precision.

[–] FrostyCaveman@lemm.ee 2 points 9 months ago

Decaf is heresy

load more comments
view more: next ›