3,145 karma · joined Mar 17, 2021 (5y ago) · 2,293 submissions
comment 1d ago · link · parent
If P=NP, then once you know what the desired solution looks like, your solution isn't far away.
"Ask, and it shall be given you; seek, and ye shall find; knock, and it shall be opened unto you" -- Matthew 7:7
In fact, once you realize the "trouble" with NP problems is that they're discrete and combinatorial, meaning that there's no general way to "get closer" to a solution, unlike more continuous problems where you can simply look at the slopes and find a (local) minima easily -- these days we call this gradient descent.
AI breakthroughs in the past decade were in a large part due to the realization that gradient descent goes a very long way if you get enough data and compute.
If P=NP then perhaps even combinatoric problems would get a similar boost.
comment 3d ago · link · parent
Can't say for sure, but the coincidences align pretty well.
comment 2w ago · link · parent
Well, not necessarily. Jensen Huang was famous for going to random food stalls in Taiwan and eating street food.
It might be harder and riskier, and I get what you mean, but it's not like you actually can't do those things.
Also maybe it's not necessarily a billionaire thing, but more like a fame thing. Billionaires tend to get famous just due to being rich, but I'd imagine a random person wouldn't recognize 80+% of the people on the billionaire list if they saw the billionaire chomping down a pizza in the local pizza place.
comment 2w ago · link · parent
I haven't thought it through, but I suspect in an ideal world, sshd shouldn't have accepted the user password regardless of the outcome of crypt() if the user did not exist and it only pretended to go through the motions to avoid a timing attack.
Did look into their patch yesterday(?) which seemed to mitigate this issue which they (rightfully IMHO) consider caused by musl. But it seems their fix is to do a sanity check on the supposed hashed password char length, and thus still theoretically still allowing the possibility of those "!!!INVALID_PASSWORD!!!" suggestions to fall through....
comment 2w ago · link · parent
I wonder if somebody else would have thought the exact same thing in a different (non-/etc/*) context, and then you get the same effect in a more obscure manner.
comment 2w ago · link · parent
comment 2w ago · link · parent
Not sure whether the PHP vulnerability actually had been exploited, but I'm pretty sure there are literally thousands of machines out there affected by this ssh issue right now as we speak.
This isn't going to end well.
---
Addendum (which may or may not be related to the above) --
Everyone has heard of the tale of the boy who cried wolf. The main moral of the story is not to troll your fellow townsfolks so they don't distrust you. But everyone with a sane mind gets that.
The (IMHO) under-appreciated lesson is actually: don't be those villagers. Believe stories you are given, even if you might look like a fool for believing in them. Don't assume what happens is the same as what happened in the past. Look at the facts yourself. Trust and verify.
comment 3w ago · link · parent
People can and do write apps for iOS. So a lot of people hit the issue, and some complain loudly.
Most people don't write apps/games for gaming consoles. Those who do already knew the deal they were getting into.
It's sad that one can be a victim of one's own success. Not saying we should feel bad Apple (or any tech giant for that matter) but the idea of justice and fairness when administered by public sentiment is a funny thing...
comment 1mo ago · link · parent
For some, it might be relevant to assess the actual risk of being exploited while you figure out how to upgrade the PHP 5.x (or 7.x whatever) stack. There are still important decisions to make when you're put into such a sucky situation: do you take the site down? do you rush the upgrade? (faster probably means more money and bugs) or is it feasible to just chill and upgrade the servers at the normal pace?
I'm glad I don't maintain anything related to PHP but sometimes you don't get to choose your circumstances.
comment 1mo ago · link · parent
It's a difficult issue for sure. It's almost a geopolitical problem -- the larger economic blocs (eg. EU, China, USA) can basically dictate terms and expect general compliance (eg. GDPR) because most companies can't avoid operating in those areas, while smaller countries can't really do much unless they're part of a bigger economic bloc.
comment 1mo ago · link · parent
Defendant's lawyer argued that seeding a copyrighted movie was not (active) distribution but merely "making it available" (which was not associated with a criminal offense in HK law as opposed to "distributing infringing copies").
Didn't work out.
---
[1] HKSAR v Chan Nai Ming [2005] 4 HKLRD 142
comment 1mo ago · link · parent
So everything developed in an ad-hoc manner. E-commerce web sites just asked for the information they need (and the information they didn't need), those who were comfortable using those websites used them, and the paranoid probably held out for much longer (and rejecting the idea of centralized auth loudly).
Most attempts by private companies to establish some de-facto identity/auth/login service mostly failed (well, the couple Big Tech companies got somewhat close, but none of them got close enough to be able to get other sites to use them exclusively)
Besides, even if there was some protocol to handle the payments and shipping without sending the info to the seller, you'd have to trust the payment processors and the postoffice to be secure. It's basically a choice between whether you want to put all your eggs in one big basket or spread them around somewhat.
comment 1mo ago · link · parent
You've seen how the "money can't help itself". Individual choices matter only to a certain extent, and I haven't seen any evidence that "enough individuals making the right choices" is sufficient to effect any measurable positive change.
The logical conclusion of the evidence I've seen so far is to change the system. Capitalism sucks when your goal is not to make as much money as possible. But changing the system seems too hard (and too much like a commie/revolutionary/extremist), so instead people just try to try harder. It sounds almost like a religion (cult) -- if you are not favored by $deity, you don't have enough faith, so try to believe harder and your wishes will be granted.
It's not to say I don't respect your decisions and commitments. Just that there's 8+ billion people in the world and individuals are just one out of 8+ billion, and "try harder" doesn't seem to work so well given these numbers and facts.