learntToCode (@learntToCode) header
learntToCode (@learntToCode) profile picture

Programming memes from a multi-decade ✝️ dev on a relaxing side quest before the final boss.

Moonbase Alpha
Joined November 2022
Photo by learntToCode (@learntToCode)Photo by learntToCode (@learntToCode)Photo by learntToCode (@learntToCode)Photo by learntToCode (@learntToCode)Photo by learntToCode (@learntToCode)Photo by learntToCode (@learntToCode)Photo by learntToCode (@learntToCode)Photo by learntToCode (@learntToCode)Photo by learntToCode (@learntToCode)Photo by learntToCode (@learntToCode)
Replying to @valmianski
Shor’s algorithm and quantum computers are already coming for that but it is a good example of having to build an entirely new computing architecture to solve a problem.
1
2
255
Stuff I’m about to write in a PR description: “It was a perfectly reasonable expectation, it just happened to be wrong”
2
151
Replying to @TheeMemoryHole
Super simple summary: It means that a miracle math formula will probably be too slow to run in any kind of reasonable time to get an answer.
2
5
351
Replying to @scarcityscience
It’s an example. Any fixed polynomial value will likely be a formula in its own right. But it won’t be 2, 3, 4, 5 etc.
2
380
Replying to @jaredpretender
Life is good
271
People like to give examples of finding optimal solutions we can find if P = NP like: “We’ll be able to optimally route delivery trucks!” Please- we could do optimal/near optimal delivery routing 30 years ago on single core desktops. Smart people came up with smart solutions.
12
753
Lots of bed wetting over P posssibly equaling NP. As something of a metaheuristic connoisseur I strongly doubt P equals NP but if it does let’s consider: A fixed polynomial algorithm that solves NP problems in P time will most likely have a horrific exponent. Naive matrix multiplication is O(n^3) with a bound of O(n^9/4) (thanks Claude). To make this algorithm scale we are spending hundreds of billions of $ per year building hundreds of data centers. If there is a fixed polynomial algorithm for NP then it will likely have a horrible exponent, on the order of O(n^100) or worse. Practically you can’t run that on any real problem. You can’t run a O(n^100) algorithm on a 128 bit RSA key because you do 128^100 steps of work.
If the rumours are true, the next few weeks are going to be interesting.
16
1
1
59
16,396
Poverty is virtue I guess
2
27
Replying to @tekbog
Very Steve Jobs-y
1
69
Replying to @beausolai
Producing is good
2
Replying to @_imdawon
It’s crazy how this is happening and society isn’t talking about it.
1
1
4
Replying to @emile_amajar
With great power comes great responsibility.
1
12
Replying to @beausolai
Bitch ass people who use his bitch ass site to write bitch ass code are complaining like bitches that his bitch ass was collecting telemetry despite him promising that he wasn’t, like a bitch. So a regular Tuesday here.
1
1
24
Up till now Martin has been writing “Winds of Winter” in Haskell which explains why he never delivers.
2
8
322
I wake up. Markets dumping. I buy SPCX.
30