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
bleistift2@feddit.de 1 year ago
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”
Image XKCD 1425
by Randall Munroe. License: CC BY-NC 2.5
xigoi@lemmy.sdf.org 1 year ago
“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 1 year ago
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.
WhiskyTangoFoxtrot@lemmy.world 1 year ago
Just check the git blame.
jeff@programming.dev 1 year ago
A full solution to the halting problem can’t exist. But you can definitely write a program that will “reliably” detect them to a certain percentage.
And many applications do exactly that. Firefox asked me today if I wanted to stop a tab because it was processing for too long.
float@feddit.de 1 year ago
Just because it’s not possible on a Turing Machine doesn’t mean it’s impossible on a PC with finite memory. You just have to track all the memory that is available to the algorithm and once you detect a state you’ve seen already, you know it’s not halting ever. The detection algorithm will need an insane amount of memory though.
CurlyChopz@programming.dev 1 year ago
Easy.
If( loop == inf) {
End;
}
Pay check please?
mindbleach@sh.itjust.works 1 year ago
There have been genuine efforts to do that. Obviously (well, for a very niche use of “obviously”) it’s not always possible, but detecting infinite loops isn’t like the uncertainty principle.
It’s called The Terminator.
notabot@lemm.ee 1 year 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 1 year ago
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 1 year ago
It always depends o which existing tools you have access too. Go back some more years and there is no GPS. Detecting the bird will be the easier problem then.
AccidentalLemming@lemmy.world 1 year ago
Funny thing is, since that comic was originally published bird detection has gotten a lot easier
Ultraviolet@lemmy.world 1 year ago
About 5 years after, and there was a research team behind it.
Setarkus@toast.ooo 1 year 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 1 year ago
respect for uploading the image, linking the page, and crediting the author :)
Pistcow@lemm.ee 1 year ago
What is a bird!?
Swedneck@discuss.tchncs.de 1 year ago
a miserable little pile of secrets
unreachable@lemmy.world 1 year ago