71 karma · joined Aug 10, 2017 (9y ago) · 249 submissions
comment 7y ago · link · parent
Yeah, welcome to medicine. If you've ever encountered these things in a non-theoretic perspective (i.e., having some condition), you quickly see that doctors don't know shit.
Perhaps not surprising, given that human experimentation is taboo.
Anyways, how does what you're saying mesh with the fact that extra glucose is stored in your body's reserves while ketones are secreted with urine and breath?
comment 7y ago · link · parent
Use-after-free is a C thing, not a C++ thing. Granted, C++ makes is super easy to code in C, but that's an organization problem that is already solved in any sane project.
comment 7y ago · link · parent
The sheer, mind-boggling rational and learning capacity needed to learn highly symbolic and abstract things like language and arithmetic means that babies are 'smarter' than adults.
(If by 'smarter' we mean the capacity for learning, mental models and abstract generalization.)
comment 7y ago · link · parent
Basically, HTTP/2 is tuned for a very specific case of Google traffic which pretty much never happens in places that aren't Google.
comment 7y ago · link · parent
The difference turned out to be no big deal, less than x2 in speed. The real performance killer seems to be garbage collection and chasing pointers due to inefficient data structures. Luajit doesn't help much here.
In the end we went with stock lua because it doesn't have the 1 gigabyte memory limit, and so can use a much larger thread pool.
comment 7y ago · link · parent
Seriously? Every human being on Earth over a toddler's age is totally aware of impending death. To date nobody has ever lived forever. The only question, for every human being, cancer or no, is how many years you get before you eventually die.
Modern man just makes my head shake in disbelief sometimes...
comment 7y ago · link · parent
The meaning and symbolism would have been blindingly obvious to them. In general, Christian and pagan theology is basically the same. Christianity is a direct development of pagan thought.
The modern thought framework for 99.9% of modern people is Gnostic, not Christian. Both Christianity and paganism is thus completely impenetrable and incomprehensible for pretty much every person alive today.
comment 7y ago · link · parent
In Unix line editors it is traditionally used to mean 'erase the previous word'.
See also documentation for ASCII (http://www.robelle.com/smugbook/ascii.html for example) for origins of ^C, ^D, ^S, etc.
comment 7y ago · link · parent
Quite frankly, because Go developers don't learn from other's mistakes and reinvent square wheels.
Kernel threads will always be better and faster than usermode threads.
This is because any inefficiency in threading comes from the scheduler. Your usermode scheduler will always necessarily be slower and worse; it just makes so much sense to put your scheduling code where your context switching and process isolation code already is.
Sure, you can get a short-term gain by iterating fast and testing code if kernel developers are too slow and/or unwilling; but then eventually your code will get merged into the kernel anyways once you're done. So really usermode threads are only good as a rapid prototyping tool, not something for serious use.
comment 7y ago · link · parent
Citation needed, because this isn't really true.
Even if one concedes your (unspoken) idea that only financial transactions aren't "academic" (which also isn't true), in the real world financial transactions will typically include currency conversions, and those will have all sorts of weird non-decimal factors.
comment 7y ago · link · parent
There are only languages where exceptions need to be hand-rolled in an ad-hoc fashion.
This ad-hoc approach does not work. It gives you tiny benefit of not needing to learn a language feature. Meanwhile, ad-hoc exceptions mean that you lose all sense of modularity in your program. Real programs are composed of dozens of modules at various levels of abstraction, communicating together over multiple processes and threads. Ad-hoc exceptions in a real program in practice means 'just crash the whole thing, yolo'.
That does not work for serious programs.