this post was submitted on 05 Oct 2024
430 points (97.4% liked)

Programmer Humor

32501 readers
407 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS
430
submitted 1 month ago* (last edited 1 month ago) by [email protected] to c/[email protected]
 

Context: jest is a Javascript testing library, mocking is something you do in test in order not to use production services. AI understood both terms in a none programming context

top 30 comments
sorted by: hot top controversial new old
[–] [email protected] 162 points 1 month ago (4 children)

Man, it really is like an extremely dense but dedicated intern. Does not question for a moment why it's supposed to make fun of an interval, but delivers a complete essay.

Just make sure to never say "let's eat Grandpa" around an AI or it'll have half the leg chomped down before you can clarify that a comma is missing.

[–] [email protected] 42 points 1 month ago

Yea I didn't think about that but if someone said to an AI powered robot "Hey, can you shred my reports?" as they leave work they could easily come back in the morning to it tearing their junior staff into strips like "Morning boss, almost done".

[–] [email protected] 19 points 1 month ago

“How do I help my uncle Jack off a horse?”

[–] [email protected] 5 points 1 month ago (1 children)

Also never ask it to solve a picture of a crossword.

[–] [email protected] 6 points 1 month ago (1 children)
[–] [email protected] 6 points 1 month ago (2 children)
[–] [email protected] 4 points 1 month ago

Yeah, this is the problem with frankensteining two systems together. Giving an LLM a prompt, and giving it a module that can interpret images for it, leads to this.

The image parser goes "a crossword, with the following hints", when what the AI needs to do the job is an actual understanding of the grid. If one singular system understood both images and text, it could hypothetically understand the task well enough to fetch the information it needed from the image. But LLMs aren't really an approach to any true "intelligence", so they'll forever be unable to do that as one piece.

[–] [email protected] 1 points 1 month ago* (last edited 1 month ago) (1 children)

Well tbf this isn't what chatgpt is designed for. It can interpret images and give information/advice/whatever, but not solve ~~puzzles~~ crossword puzzles entirely.

[–] [email protected] 3 points 1 month ago (1 children)
[–] [email protected] 4 points 1 month ago* (last edited 1 month ago) (1 children)

There's a difference between helping to solve puzzles and actually solving them.

You have to be more specific:

[–] [email protected] 2 points 1 month ago

I later did ask it to just be helpful, specifically requesting it give me some possible words that fit for the 5 letter possibility for #1. It repeated "floor it" lol.

[–] [email protected] 54 points 1 month ago (1 children)

As much as I'm still skeptical about "AI taking all of our jobs" anytime soon, interactions like these still blow my mind...

[–] [email protected] 5 points 1 month ago

It already has taken tons of graphic jobs. Also look up Graphite by IBM, it's advertising to companies to hire them to do their code. Which would be taking code jobs. I kind of think people don't understand how it's going to be taken as far as it can be taken by these corporations. If half the populace loses their jobs, they just don't care. I really don't get on who they think is going to be all of these products and services if no one has jobs, but their following quarter might be better.

[–] [email protected] 30 points 1 month ago (3 children)

That first one reminds me of a part of HHGTTG where I think Ford starts counting in front of a computer to intimidate it because its like walking up to a human and chanting "blood, blood, blood".

[–] [email protected] 31 points 1 month ago (1 children)

For those as confused as I: HHGTTG = The Hitchhiker's Guide to the Galaxy

[–] [email protected] 23 points 1 month ago (1 children)

You sound like a hoopy frood that knows where his towel is

[–] [email protected] 13 points 1 month ago

I'll take that as a compliment it obviously is

[–] [email protected] 9 points 1 month ago

How I Hit your Grandma Today, Thank God

[–] [email protected] 6 points 1 month ago

To be pedantic, Ford's threat is to "rearrange [the computer's] memory banks with an axe"

The countdown is until he starts doing it.

[–] [email protected] 25 points 1 month ago

Why do i read it out in Codsworth voice in Fallout 4

[–] [email protected] 20 points 1 month ago

ChatGPT has gotten scary good with both entirely misunderstanding me in almost the exact way my ND ass does to NTs AND with how well it responds to "no, silly, and please remember this in future"

I don't use it super often, but every 6mo or so and it's gotten crazy good at remembering all my little nuances when I have it so shit for me (nothing like research, mostly "restructure data in format a to format b pls")

[–] [email protected] 12 points 1 month ago (1 children)

No. 5 was a fun mental image

[–] [email protected] 7 points 1 month ago

callback executed

💃

[–] [email protected] 12 points 1 month ago (1 children)

For all AI's faults, this is a bit funny

[–] [email protected] 5 points 1 month ago

Quite a comical detour.

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

The point when the AI hallucinations become useful is the point where I raise my eye brows. This not one of those.

[–] [email protected] 3 points 1 month ago

In this case though, it's not a hallucination, there's nothing false in that response, it just completely misinterpreted what the user was asking.

[–] [email protected] 7 points 1 month ago

LLM got jokes! This had me in tears. Best AI response I’ve ever read hands down.

[–] [email protected] 4 points 1 month ago

I would have interpreted this the same way as the AI did FWIW. Then again, I don't do frontend stuff, and I run when I see TypeScript in my hobby projects because it's such a pain.