I am not. My point is that solving the problem of mask shortage by allowing the infection to spread at full speed is like setting your home on fire to deal with a clogged pipe.
371 karma · joined November 23, 2017
I am not. My point is that solving the problem of mask shortage by allowing the infection to spread at full speed is like setting your home on fire to deal with a clogged pipe.
There's nothing noble about it. This is extremely short-sighted. What is easier to solve, shortage of masks, or shortage of ICU beds and medical personnel?
I would imagine that a face mask is a relatively low-tech good that can be mass-produced at scale. You cannot ramp up production of ICU beds and nurses and doctors. If this is true, then the consequences of this "noble" decision will make Chernobyl blush.
It should be mandatory for any politician or government clerk to take an exam in differential equations. There _was_ time to prepare, and there was a chance to contain the situation.
I'm still having hard time to believe that kernels optimized for SIMD architecture will be useful on CPU and vice versa. And OpenCL people advertised this, if memory serves me well.
You don't need to be a genius, but you need to know a lot about low-level stuff. "Simple" matrix-vector multiplication is a task where quirks of hardware already make quirks of the language fade in comparison. You need to find out how to split your task into blocks to minimize access to global memory, you need to manage your shared memory, etc, etc. _Somewhat_ performant matrix-vector multiplication algorithm looks nowhere close to textbook definition because of this. So sticking Java or whatever popular language on the problem is not going to make it much more accessible, as you still need very specific knowledge to not waste electricity by writing an algorithm that is 5-10 times slower than it should be, because all it does is waiting for global memory.
Why would you need to avoid that?
OpenCL advertised "write once, run everywhere" approach, it was completely bonkers when it comes to HPC. Optimizations that one applies on different hardware make code look completely different. It has its niche, but not in HPC. I am no longer in this industry, so maybe things changed. But at the time, some teams picked up OpenCL and quickly dropped, as it didn't give enough bang for a buck, and tooling didn't compare with rather polished CUDA stuff.
I think Cliqz incident and Shield Studies AR Game incident prove that you can trust Mozilla as much as any other huge corp.
1) parameters that include word "telemetry"
2) everything that looks like a unique token
3) "mozilla.org" URLs
you'll see that the sum is steadily going up with every release. It leaves me under impression that Mozilla is trying to follow Facebook and Google. Lately they removed setting to use a custom page for the new tabs, leaving only choice between blank page and Mozilla-provided "interest based" homepage. I am still using it as the main browser, though, as "lesser evil", but discrepancy between Mozilla's slogans and actual features is pretty chilling.
However after a brief investigation period I abandoned this idea altogether, here's why.
In my opinion, Nix is only worth climbing its steep learning curve when you really utilize its "reproducible environment" concept. As a counterexample, take your home PC environment, which is 1) unique 2) quickly changing. You don't need to reproduce it very often (how often do you upgrade your laptop?). You don't really want a hash-perfect reproducibility there, and a simple Ansible script will work just fine. So, the target of Nix should be "serious enterprise", where you deploy hundreds of machines, right? Well, "serious enterprise" where I am at (banking) will _never_ adopt Nix. There are two main reasons why:
1) NixOS doesn't follow standard Linux filesystem hierarchy. They get around this by patching everything, both manually and automatically. nixpkgs repo contains thousands of patches. To put it in the perspective, OS is one of your trust anchors. I don't want to sound as "no one got fired for choosing IBM" guy, but legal people will scream bloody murder if they see extensive level of patching going on in the distro, for a variety of reasons, not necessarily tied to security. Some of their patching goes very deeply, BTW, and straight up changes behavior of the software.
2) Secrets management: it doesn't exist in Nix. nix store itself is world-readable. There are fundamental problems with some cryptographic algorithms that require entropy, and therefore go against "reproducible environment" concept.
YMMV, but for me Nix didn't do the job, although I studied it deeply, and contributed some patches to nixpkgs. It looks like a futuristic research project. On the outside it is brilliant, but in brutal reality you need to run the ugliest scripts to patch shebangs and what not.
In imperative languages you don't need Edward Kmett to invent lenses for you.
"easier to reason about" is not someone's opinion, it's math. Please educate yourself on formal verification methods before drawing broad conclusions including substrings like "no idea" or "mindless repeating".
The only real benefit of functional programming is that it makes code much easier to reason about. But this difference is so great, that in most cases I am ready to pay the price.
P.S. Just to clarify my position to the commenters who want to convert me: I write code in functional languages most of the time for the living, so I know well enough how ST monad works, about "O(log n) == O(1)" meme, and so on. But I also have some background in HPC, where I used imperative languages. So I have plenty of experience in both paradigms, and I know exactly what are their weak and strong parts.