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

Programmer Humor

32739 readers
637 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
[–] shootwhatsmyname@lemm.ee 53 points 3 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

[–] boredsquirrel@slrpnk.net 18 points 3 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...

[–] _____@lemm.ee 11 points 3 weeks ago

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

[–] FrostyCaveman@lemm.ee 43 points 3 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

[–] Vordimous@lemmy.ml 4 points 2 weeks ago

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

[–] Bougie_Birdie@lemmy.blahaj.zone 21 points 3 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

[–] Vordimous@lemmy.ml 5 points 2 weeks ago

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

[–] pivot_root@lemmy.world 13 points 3 weeks ago (2 children)
[–] Vordimous@lemmy.ml 6 points 2 weeks ago

Padding fixes everything

[–] lord_ryvan@ttrpg.network 2 points 2 weeks ago (1 children)

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

I don't think I like that, sir.

[–] rain_worl@lemmy.world 1 points 1 week ago

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

[–] TheOubliette@lemmy.ml 11 points 3 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.

[–] danhab99@programming.dev 10 points 3 weeks ago (1 children)

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

Garbage in garbage out

[–] lennivelkant@discuss.tchncs.de 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.

[–] facow@hexbear.net 10 points 3 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

[–] Gebruikersnaam@lemmy.ml 7 points 2 weeks ago

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

[–] Vordimous@lemmy.ml 5 points 2 weeks ago

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

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

[–] Sparky@lemmy.blahaj.zone 2 points 2 weeks ago* (last edited 2 weeks ago) (1 children)

Anything is python if you use it incorrectly enough

[–] lord_ryvan@ttrpg.network 2 points 2 weeks ago

No, that's perl.

[–] Vordimous@lemmy.ml 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.

[–] lord_ryvan@ttrpg.network 3 points 2 weeks ago

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

[–] some_guy@lemmy.sdf.org -1 points 3 weeks ago

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