this post was submitted on 05 Dec 2024
198 points (95.8% liked)

Programmer Humor

32715 readers
888 users here now

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

Rules:

founded 5 years ago
MODERATORS
 
all 28 comments
sorted by: hot top controversial new old
[–] [email protected] 53 points 2 weeks 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] 18 points 2 weeks 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 weeks ago

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

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

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

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

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

[–] [email protected] 13 points 2 weeks ago (2 children)
[–] [email protected] 6 points 2 weeks ago

Padding fixes everything

[–] [email protected] 2 points 1 week 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 4 days ago

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

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

Very funny that Google decided to increase the cost of every search by probably at least an order of magnitude and this is the garbage they get in return

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

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

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

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

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

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

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

Anything is python if you use it incorrectly

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

No, that's perl.

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

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