this post was submitted on 02 Oct 2023
1175 points (98.6% liked)

Programmer Humor

24648 readers
1100 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 2 years ago
MODERATORS
 
top 50 comments
sorted by: hot top controversial new old
[–] bleistift2@feddit.de 180 points 2 years ago* (last edited 2 years ago) (6 children)

There are really few problems that are “impossible.” That is, if you count those customers/managers are interested in. All the rest is just “I’ll need 10 years, 230 million Dollars and a research team”

XKCD 1425 by Randall Munroe. License: CC BY-NC 2.5

[–] xigoi@lemmy.sdf.org 95 points 2 years ago (15 children)

“The other programmers keep accidentally writing code that ends up in an infinite loop. I'd like you to make a program that can reliably detect that.”

[–] elvith@feddit.de 32 points 2 years ago (3 children)

You may joke, but if I had a penny for every time someone asked me to solve a problem, that basically boils down to the halting problem, I'd be rich.

[–] xigoi@lemmy.sdf.org 11 points 2 years ago (1 children)

Yeah, accidentally running into the halting problem is common in automatic code analysis.

[–] PoolloverNathan@programming.dev 15 points 2 years ago

It'd be nice if we wrote something to detect it running into the halting problem.

[–] randon31415@lemmy.world 7 points 2 years ago (2 children)

I have always wondered why the answer to the halting problem isn't: "If no output has been returned in X time, BREAK, restart program from beginning."

[–] niartenyaw@midwest.social 26 points 2 years ago (1 children)

what if it needed just one more second to complete?

[–] WhiskyTangoFoxtrot@lemmy.world 8 points 2 years ago

Damn Vogons.

[–] Shalaska@programming.dev 13 points 2 years ago (2 children)

Because that will fail to detect a program that halts in X+1 time. The problem isn’t to detect if a program that halts halts, the problem is to generally create an algorithm that will guarantee that the analyzed program will always halt given an infinite time running on an infinite computer.

load more comments (2 replies)
load more comments (1 replies)
[–] WhiskyTangoFoxtrot@lemmy.world 10 points 2 years ago

Just check the git blame.

load more comments (13 replies)
[–] notabot@lemm.ee 47 points 2 years ago

This. Very few problems are truly impossible to solve, they arem in fact, just wildly impractical to solve. So don't try to tell the PM/client/coworker-with-a-'brilliant'-idea it can't be done, tell them what it'll take to work out what it'll take to do it. Either they go away, or you end up in charge of a project with an astronomical budget and no clearly defined deliverables.

[–] randon31415@lemmy.world 27 points 2 years ago (1 children)

I mean, now a days, I can upload the image into stable diffusion automatic1111 and click interrogate CLIP and then see if it outputs "bird" as a reverse promopt, but this comic WAS from 4 and a half years ago, so the programmer was right on the time-frame.

[–] float@feddit.de 8 points 2 years ago* (last edited 2 years ago)

It always depends on which existing tools you have access to. Go back some more years and there is no GPS. Detecting the bird will be the easier problem then.

[–] AccidentalLemming@lemmy.world 22 points 2 years ago (2 children)

Funny thing is, since that comic was originally published bird detection has gotten a lot easier

[–] Ultraviolet@lemmy.world 31 points 2 years ago (1 children)

About 5 years after, and there was a research team behind it.

load more comments (1 replies)
[–] Setarkus@toast.ooo 23 points 2 years ago

I bet it's because the camera now also scans for the 5G radio waves that are used to control the "birds" instead of just recording waves in the visible spectrum

[–] darcy@sh.itjust.works 21 points 2 years ago

respect for uploading the image, linking the page, and crediting the author :)

[–] Pistcow@lemm.ee 12 points 2 years ago (2 children)
[–] Swedneck@discuss.tchncs.de 17 points 2 years ago (2 children)

a miserable little pile of secrets

[–] ryven@lemmy.dbzer0.com 12 points 2 years ago* (last edited 2 years ago) (1 children)

Diogenes bursts into Dracula's throne room while holding a chicken.

load more comments (1 replies)
load more comments (1 replies)
[–] unreachable@lemmy.world 7 points 2 years ago (1 children)

insert "bird isn't real" meme

load more comments (1 replies)
[–] sudo@lemmy.today 121 points 2 years ago (6 children)

Customer: Why is there so much latency over my tunnel from us-east to us-west?

Me: checks latency seems pretty normal, what's the issue?

Customer: The latency is too much. Why is it not as fast as us-east-1 to us-east-2?

Me: They are near each other. Us-West is across the entire United States

Customer: Make faster

Me: This is the speed of light. And over copper it's about 2/3 that

Customer: hmm are you sure that's as fast as it can go?

Me: Well, unless we change the laws of physics your not going to get any better latency

[–] brygphilomena@lemmy.world 57 points 2 years ago (1 children)

Customer: So.. can we do that? Change the laws of physics? What congressman do we need to email?

[–] orbitz@lemmy.ca 11 points 2 years ago

That's cause they always have money in the lobbying budget to fix things.

[–] sloppy_diffuser@sh.itjust.works 47 points 2 years ago (10 children)

For the low price of billions and a decade of work they could build out hollow core fiber coast to coast to get the last 1/3 c.

[–] affiliate@lemmy.world 10 points 2 years ago

that would really help with playing video games

load more comments (9 replies)
[–] stratoscaster@lemmy.zip 34 points 2 years ago

Then you find out the real reason they need faster latency is because they're pinging the server for new data every 1ms

[–] Blackmist@feddit.uk 17 points 2 years ago

So can you give me an estimate for when you can solve that?

[–] simpleslipeagle@lemmynsfw.com 12 points 2 years ago

Anytime I run into that question I tell them if I could manage FTL comms I wouldn't be working here.

[–] xantoxis@lemmy.world 9 points 2 years ago* (last edited 2 years ago)

Eh, sometimes they're right about this one though. It's true that a request traveling near light speed is as fast as it can possibly be, but what if it's 17 requests? Sometimes you can fix latency by doing fewer transactions.

edit: love a downvote with no reply. Just "No!" [stomps feet]

[–] affiliate@lemmy.world 94 points 2 years ago (4 children)

what if we made a new type of blockchain? one that was powered by generative AI and the metaverse? oh! and could we make it so that it Empowers Business Solutions?

[–] npz@lemm.ee 42 points 2 years ago (1 children)

This can certainly be done as long as we stick to the five core values - take ownership, take the leap, act with integrity, put the customer first, and dare to innovate.

[–] Kichae@lemmy.ca 10 points 2 years ago* (last edited 2 years ago)

This whole comment chain is making me feel sad. And angry. And sangry.

[–] CeeBee@lemmy.world 28 points 2 years ago (2 children)

Only if we have 3 red lines, 2 blue lines, and one transparent line. And have all of them perpendicular to each other.

[–] yogsototh@programming.dev 10 points 2 years ago* (last edited 2 years ago) (1 children)

Can a line be a cat? I love kittens.

load more comments (1 replies)
load more comments (1 replies)
[–] sneaky_b45tard@feddit.de 23 points 2 years ago

Thanks, i had a stroke while reading that

[–] phoenixz@lemmy.ca 21 points 2 years ago (1 children)

Shut up shut up shut up!

Please don't give people stupid ideas

[–] chiliedogg@lemmy.world 15 points 2 years ago (2 children)

What we need is a paradigm shift in how we empower synergy between product lines through utilization of emerging technologies and strategic acquisitions to improve our KPIs across the platform.

load more comments (2 replies)
[–] Swedneck@discuss.tchncs.de 45 points 2 years ago (5 children)

Unionize, people. It's terrifying how few IT workers are unionized.

[–] WolfhoundRO@lemmy.world 18 points 2 years ago* (last edited 2 years ago)

It's because of big pay, highly mobile employees, hiding the real role of the HR and this false sense of security compared to the rest of the workplaces despite all these lay-offs from the big companies. Also, whenever a unionizing attempt happens, the companies go into crackdown mode and have their multitude of ways to either fire you with a bogus reason, remove your post citing "restructuring" or pulling you on a dead career track and demonize you in front of your colleagues with the usual "we care about our employees and everything can already be resolved through HR" speech. And moreover, many of these issues have a direct cause the Work Laws of the respective countries

[–] bleistift2@feddit.de 15 points 2 years ago (1 children)

It’s because we can just leave for better positions.

load more comments (1 replies)
load more comments (3 replies)
[–] joyjoy@lemm.ee 33 points 2 years ago

Corp IT when the team gets ready for production

[–] nogooduser@lemmy.world 13 points 2 years ago

And if you convince the project manager that it won’t work by telling them all the reasons why they come back a few days or weeks later asking why it won’t work.

[–] Samsy@lemmy.ml 13 points 2 years ago (1 children)

Hah, yes, I was a few times between these two sides. My role was to understand both and doing something you could call "translating."

[–] brygphilomena@lemmy.world 9 points 2 years ago

Well--well look. I already told you: I deal with the god damn customers so the engineers don't have to. I have people skills; I am good at dealing with people. Can't you understand that? What the hell is wrong with you people?

[–] BioDriver@beehaw.org 11 points 2 years ago

You forgot sales

load more comments
view more: next ›