21 karma · joined April 10, 2020
I mean if us humans have a difficulty parsing each other's statements, then why should machines do any better?
https://www.zmescience.com/science/six-new-types-of-coronavi...
When faced with an existential crisis, we tend to jump into fix it mode. But fix what? The symptoms or ourselves?
Let’s start with ourselves: we have failed miserably at being stewards to this earth. We have failed (not completely but in some very dramatic ways) at building a better future for our children and their children.
We should fix us, first, before we move on to fixing the symptoms of our flawed way of being in the world.
Don’t you think?
<< - Is unstable because if a dependency/host goes offline, all users are broken instead of an internal build being broken (think leftpad but much worse as your users are instantly impacted, likely before you even know about it) >>
So you don't recall Leftpad?
<< - Is insecure because if a host is malicious, they can choose to supply different packages for a small subset of the requests, such as those coming from govt. requests against political targets, hosted build machines, etc. and nobody will have any way of knowing because there's no lock file/integrity hashes. >>
Are you kidding me?
https://www.zdnet.com/article/microsoft-spots-malicious-npm-...
NPM is both a massive repository as well as a package manager.
Deno will (soon?) have a package manager, but it won't be tied to one central repository run by a private company, now part of a massive corporation (Microsoft.)
So let's not lump package manager and repository: you can have a package manager that pulls in all the exact or latest dependencies at build time, but it does not have to be tied to one central repository owned and administered by one company.
Centralize-able yet decentralized.
<<you can busyloop and count iterations of that instead as a “timer”>>
Assuming you're the only job running on the CPU, which is not the case. Threads are not running continuously. But again, if there is a working exploit in the browser then show us. Talk is cheap.
AFAIK, Chrome's highest resolution is also in the ms range.
I have some thoughts, too, but thoughts don't amount to a working exploit. Show me a currently working exploit, that is in the open. As far as state actors developing such exploits, there are a ton of holes in that scenario at every layer in the stack.
The other angle of attack that used to be viable was documented in this HN comment: https://news.ycombinator.com/item?id=14057091
But AFAIK all browsers have disabled SAB, e.g. see: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Refe...
EDIT:
Chrome has re-enabled SAB, with mitigations.