3,226 karma · joined Jun 14, 2019 (7y ago) · 4,043 submissions
comment 7y ago · link · parent
b) No. Large distributed systems is not something you stumble onto, it's a result of many years of organic growth.
comment 7y ago · link · parent
a) Erlang (as opposed to something else) is only useful for large distributed systems.
b) If your organization is at the scale where you need a large distributed system, then the problems in your project aren't related to code or to coding speed.
comment 7y ago · link · parent
You have a very naive view of large-scale distributed systems. For companies that truly need them, "time" and "effort" are never a consideration. Furthermore, the challenges facing these companies in battling project delays and cost overruns are the 100% organizational and political, not technical.
comment 7y ago · link · parent
On the contrary!
'Money' is just IOU notes. What gives these IOU notes value is that governments use them for paying welfare and civil servant salaries, and in turn take them back when collecting taxes.
> So, hypothetically, if someone founded a microstate which allowed paying taxes in Bitcoin, then it would become a currency?
Yes. But with a caveat: the wealth of a government's welfare/civil servant class and the threat of its tax collectors is what gives currency value. The blockchain here is entirely superfluous, this hypothetical currency would be just as valuable regardless of whether a cryptocurrency scheme is used.
comment 7y ago · link · parent
First, software "engineering" is not an engineering discipline. You might as well call novel writing "literary engineering", but calling it that won't make it true.
Second, the 10x software developer is very much real. People try to ascribe their performance to this or that technology or methodology, but in reality what makes a 10x engineer is a special psychological predilection, not their tools.
comment 7y ago · link · parent
The point still stands. Creating threads (at least in a normal OS like a modern Linux) is really fast.
E.g., when processing a huge logfile it's faster to create one short-lived thread per each line than it is to use a thread pool with the producer-consumer routine and conditional variables.
comment 7y ago · link · parent
No. The OS will switch contexts regardless of how many threads you have. Even with zero threads the OS will be context switching between processes anyways. That's just how pre-emptive multitasking works.
What you're trying to say is that threads might get starved due to imperfect scheduling; but even that is wrong - you're never going to write a better scheduler than the one in the Linux kernel. I mean that seriously.
If you want a deterministic scheduling routine without unpredictable delays, then just use one of the realtime schedulers provided to you by the kernel. That's what they're there for.
comment 7y ago · link · parent
The machinery to start an OS thread is on the order of magnitude of nanoseconds. Starting an OS thread far cheaper than printing a line to stdout, for example.
OS threads are only a problem in interpreted languages, because all of them have a global interpreter lock of some sort.
For compiled native languages OS threads are more efficient than green threads.
comment 7y ago · link · parent
I'm not aware of any place where C++ is taught. (And in fact C++ programmers are very hard to find.)
C is very common and anybody with even a bit of format education has been exposed to C.
Then you get people who know a bit of C and throw in a couple 'class' and a couple 'cout', and call it 'C++' for some reason.
Which is wrong, obviously.
comment 7y ago · link · parent
Machine learning is very effective in categorizing things - for example, given an image estimate whether it pictures a cancer cell or not.
On the other hand, machine learning sucks where you need to predict things instead of categorizing - for example, given a set of factors, figure out your risk of getting cancer within 5 years.
Any such machine learning predictive system will be useless due to under- or overfitting.
(Again, I'm not an expert, just a guy who has many years of experience trying to build such predictive systems.)
comment 7y ago · link · parent
That's because the primary (and so far only) use for Rust is as an excuse to avoid learning C++.
Nobody actually writes real software in it.
As you doubtless already know, the programming language everybody likes is a programming language nobody uses.
comment 7y ago · link · parent
For example: what if the current genetic diversity on Earth is the result of genetic engineering by ancient aliums?
That's a facile example, but there are serious deeper issues here. The mechanisms of gene transfer are too complex for us to explain presently, including things like viruses, horizontal transfer, etc.
You're assuming a simplistic darwinist model that we already know isn't true.
comment 7y ago · link · parent
Two points:
a) Not everything is explainable and predictable, and thus under the domain of science.
b) There's a huge (maybe infinite?) class of things that are explainable and predictable and yet aren't algorithms.
An 'algorithm' is a very specific mathematical concept with a very specific definition. It is quite possible that the brain is explainable and predictable and yet isn't an algorithm.
> ...but it's still just crunching data.
Only if you expand 'data' to mean every possible physical phenomenon under the sun, which is disingenuous. (Are hormones 'data'? Is electromagnetic radiation? Etc., etc.)
comment 7y ago · link · parent
There's no reason whatsoever to believe that the brain is an algorithm at all.
This is just you searching for something where it is easiest to look.
Note: not everything is an algorithm.
comment 7y ago · link · parent
No. Meetings are easy to fix, there's just three simple steps:
a) There must be a point-by-point agenda before the meeting.
b) During the meeting there's somebody to take notes and keep the meeting on topic of the agenda.
c) After a meeting there must be a post-meeting report.
Unfortunately doing it right is a bureaucratic bummer that most people don't like.