this post was submitted on 05 Oct 2024
418 points (97.3% liked)

Programmer Humor

32288 readers
108 users here now

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

Rules:

founded 5 years ago
MODERATORS
418
submitted 2 weeks ago* (last edited 2 weeks 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 28 comments
sorted by: hot top controversial new old
[–] [email protected] 157 points 2 weeks 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] 41 points 2 weeks 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] 18 points 2 weeks ago

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

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

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

[–] [email protected] 6 points 2 weeks ago (1 children)
[–] [email protected] 6 points 2 weeks ago (2 children)
[–] [email protected] 4 points 2 weeks 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 2 weeks ago* (last edited 2 weeks 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 2 weeks ago (1 children)
[–] [email protected] 4 points 2 weeks ago* (last edited 2 weeks 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 2 weeks 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 2 weeks 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 2 weeks 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] 28 points 2 weeks 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 2 weeks ago (1 children)

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

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

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

[–] [email protected] 13 points 2 weeks ago

I'll take that as a compliment it obviously is

[–] [email protected] 9 points 2 weeks ago

How I Hit your Grandma Today, Thank God

[–] [email protected] 5 points 2 weeks 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] 23 points 2 weeks ago

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

[–] [email protected] 20 points 2 weeks 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 2 weeks ago (1 children)

No. 5 was a fun mental image

[–] [email protected] 7 points 2 weeks ago

callback executed

💃

[–] [email protected] 8 points 2 weeks 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] 2 points 2 weeks 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 2 weeks ago

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

[–] [email protected] 4 points 2 weeks 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.