Most phones do last 5 years. I’ve owned my pixel 3a for maybe 2 years but it’s still going really strong. Before that I used a moto G4 for 2-3 years, and I bought it off a friend who had used it for at least that long before me. The phones are fine; it’s more about people’s attitudes. It should not be normalized in our society to buy phones (or really anything expensive) so frequently.
It won’t. 95% of applications would be just fine with garbage collection, and the extra complexity of Rust’s memory model will make it so that current Javascript developers never use it. Go is more likely to win (but honestly, just a more lightweight JS runtime with a more lightweight UI framework would be fine by me)
Dnscrypt and DNS over HTTPS prevents your ISP from tampering with your DNS requests, but it does not prevent them from seeing which domain names you are connecting to, because of Server Name Identification. Widespread adoption of Encrypted Server Name Identification mainly comes down to server operators, many of whom won’t ever implement it (because it’s a pain in the ass to setup, and relatively little gain for the average webmaster)
True, there are some attacks that cloudflare may be better positioned to mitigate…but a well-designed application won’t be susceptible to attacks unless they involve a huge amount of traffic, and in those cases the amount of traffic is so huge that it can be detected easily without needing to see the http content.
The same way C programmers do: Download the source code into a local folder and include it directly from there. Then you only update it when you explicitly want to.
You can also use npm with a package.json which requests a specific version, that way it won’t update automatically.
Final option, which doesn’t work for all packages, is to install the corresponding
node-*
package from apt, because the debian developers do ship a number of frequently used node packages in the repositories. Eg, apt install node-is-wsl