171 karma · joined Apr 20, 2016 (10y ago) · 62 submissions
comment 5y ago · link · parent
If you want to audit a crate, you don't need to require that it "matches" anything else, you can just audit the crate. Download the source tarball from the same URL that Cargo would and audit it. I think the problem with crates.io is that it just gives you the GitHub link (possibly misleading - bad!) and doesn't just give you a button to download or browse the tarball that Cargo actually uses (what you see is what you get).
Defining "matches" and enforcing it against a remote Git repository is non-trivial. It gets worse with NPM because those packages are sometimes the output of the Typescript compiler or Webpack, so now you need reproducible builds (a huge task) and a CI infrastructure to validate them. Nuget distributes .dll files, which often aren't even open source. There's no hope to enforce a correspondence with a Git repository there. A developer who wants to audit a Nuget package has no choice but to decompile it.
NPM clearly has a malware problem, and Cargo will eventually have one because it really wants to be like NPM. I'm not convinced that what you propose is the solution.
comment 5y ago · link · parent
comment 6y ago · link · parent
comment 6y ago · link · parent
Deploying a web site with (S)FTP works as well as it ever did... and is just as obscure to non-technical people as it ever was. Ease of use means loss of control.
comment 7y ago · link · parent
[1] https://gist.github.com/SpaceManiac/79a507858fbe3946a0c40e99...
[2] https://github.com/SpaceManiac/HamSandwich/blob/emscripten/s...
comment 7y ago · link · parent
comment 7y ago · link · parent
I have no doubt this is a reason, but most ISPs also oversell their bandwidth. If every customer with a 10Mbit line is only using it 10% of the time, your upstream lines only 'need' to be 10% of 10Mbit * the number of customers (plus whatever margin for spikes).
comment 7y ago · link · parent
All this kind of stuff is what Appdata\Roaming and Appdata\Local are supposed to be for.
comment 7y ago · link · parent
comment 7y ago · link · parent
comment 7y ago · link · parent
comment 7y ago · link · parent
comment 8y ago · link · parent
comment 8y ago · link · parent