this post was submitted on 05 Dec 2024
191 points (96.1% liked)

Programmer Humor

33517 readers
286 users here now

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

Rules:

founded 5 years ago
MODERATORS
 
all 27 comments
sorted by: hot top controversial new old
[–] [email protected] 52 points 2 months ago (2 children)

I’ve never felt that this AI Overview has been production ready, let alone deserving of the top of likely the most popular and high traffic page of the Internet

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

Yeah and this useless shit consumes sooo much energy. Like instead of an optimized and load balanced database, this is personal, for every user and query. Insane...

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

that's modern dev for you. least optimal solution but the most hyped. call it hype driven development

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

The “Python” thing is obviously wrong but this meme also exhibits an example of AI getting things wrong in a subtle, insidious way that you wouldn’t even notice unless you already knew: the Bean won’t actually be registered in the Spring container as the class is missing a @Configuration annotation

Classic

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

I started copying the code and it just all felt a little off.

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

I believe this is indicating that it's using the Python syntax highlighting.

Which is still a failure, don't get me wrong. But I don't think that AI truly knows the difference between one language and another anyway

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

That catagorically makes is worst since it is trying to tell me to out code into my program.

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

Padding fixes everything

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

Is that... C? With the braces and semicolons placed away, on the right?

I don't think I like that, sir.

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

that's the joke! also, i think it's java.

[–] danhab99 11 points 2 months ago (1 children)

AIs make the same typos that humans do bc they were trained on human writing.

Garbage in garbage out

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

My new data structure:

Given a heuristic for determining data quality, it homogenises the quality of its contents. Data you write to it has pieces exchanged with other entries depending on its quality. The lower the quality, the higher the rate of exchange.

If you put only perfect data, nothing is exchanged. Put high quality, you'll mostly get high quality too, but probably with some errors. Put in garbage, it starts poisoning the rest of the data. Garbage in, garbage out.

"Why would you want that", you ask? Wrong question, buddy - how about "Do you want to be left behind when this new data quality management technology takes off?" And if that doesn't convince you, let me dig around my buzzword budget to see if I can throw some "Make Investors Drool And Swoon"-skills your way to convince you I'll turn your crap data into gold.

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

lmao there are already very good "which programming language is this?" guessers but ratger than just use one they throw it at an incompetent black box.

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

That 300 char class name should tell anyone it is Java :')

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

Even better yet the r/softwaregore sub removed my post because google gets posted too often.

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

I think its just letting you know the code box is using python syntax highlighting

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

Anything is python if you use it incorrectly enough

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

No, that's perl.

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

The plot twist is this was in Firefox. I copied the link into chrome and got a completey different answer.

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

That's just Google, it serves you the answer it thinks you want based off your fingerprint, browsing history etc.

[–] [email protected] -1 points 2 months ago

Plot twist: it runs in the browser and makes the internet not suck anymore.