71 karma · joined Dec 17, 2019 (6y ago) · 100 submissions
comment 2y ago · link · parent
If that door had hit horizontal stabilizer though we would have had a completely different statistics even with 1B hours. Fortunately it didn't happen, but with the current trend the idea that flying is always safer may become not so obvious, and "orders of magnitude" thing may disappear pretty fast.
comment 2y ago · link · parent
Of course I have to admit that flying commercial airlines is safer by average numbers, in the US and for now. But if we estimate total flying hours as 1.3B/year (http://web.mit.edu/airlinedata/www/2018%2012%20Month%20Docum... times 100 passengers per aircraft) it only takes 1300 deaths per year to make it even with average traffic fatalities. If that flight had been unlucky enough to go down we would have had 177 deaths, already not "orders of magnitude safer" than driving. And the trend is not good.
But again, we are comparing apples to oranges. Driving is a very different experience, both long and short trips. Nobody chooses to drive from Boston to LA just out of fear of flying (well, maybe there are exceptions, but "nobody" is still a very accurate word). As for short trips, changes of getting into an accident in urban area driving to the airport is probably higher than driving in the other direction towards your destination. Again, it depends.
comment 2y ago · link · parent
> In 2007, the National Transportation Safety Board estimated a total of nearly 24 million flight hours. Of these 24 million hours, 6.84 of every 100,000 flight hours yielded an airplane crash, and 1.19 of every 100,000 yielded a fatal crash. https://www.psbr.law/aviation_accident_statistics.html
So we have 330M people in the US, of which let's say 100M are driving regularly. How regularly? Let's assume 2 hours a day for 52x5 = 260 working days in a year. So given that we have 43K traffic fatalities per year let's compute fatalities per hour of driving. 100M * 2 * 260 / 43K = 1.2M So we have 1 fatality per 1.2M hours of driving. At the same time we have roughly 1 fatality per 100K hours of flying. Oops!
Of course one should consider that:
(a) it's 2007 data, it's probably lower now (10 times lower?),
(b) we definitely cover longer distances per hour of flying (by the way not that much, 60 mph vs 600 mph is within 10x difference),
(c) it's probably all flying, including private, but I'm not considering just public buses either.
Add defensive driving though, and it's not that obvious which is safer.
comment 3y ago · link · parent
comment 3y ago · link · parent
comment 3y ago · link · parent
comment 3y ago · link · parent
If you are talking about ever increasing entropy, it applies to any environment. But keep in mind that the Moon itself is a manifestation of order. If it hadn't been the case we would have been observing a cloud of dust and gas where our Solar system is.
comment 3y ago · link · parent
comment 3y ago · link · parent
Having said that, Erlang exists and doing well, so async is as good as any model designed for special cases. But this discussion basically answers the question
> Why don’t people like async?
Because not everybody (which means a majority of developers) needs this complexity. And the upward poisoning means that I can't block in my function if my web server is based on async, which affects everybody who is using it.
comment 3y ago · link · parent
OTOH in Rust async model is based on polling. Which means that poll may never block, but instead has to set a wake callback if no data is available. So there is no way to interrupt a rogue task and all async functions should rely on callbacks to wake them (welcome to Windows 3.1, only inside out!). Thread model is much more lax in this sense, e.g. even though my web server (akka-http) is based on futures, nothing prevents me from blocking inside my future, in most cases I can get away with it. As I understand it's not possible in Rust async model, I can only use non-blocking async functions inside async function. So in reality you don't interrupt or clean up anything in Rust when a timeout happens, you simply abandon execution (i.e. stop polling). I wonder what happens with resources if there were allocated.
comment 3y ago · link · parent
comment 3y ago · link · parent
comment 3y ago · link · parent
comment 3y ago · link · parent
comment 3y ago · link · parent
comment 3y ago · link · parent
comment 3y ago · link · parent
comment 3y ago · link · parent
comment 3y ago · link · parent
That's pretty simple. The primary goal of every software engineer is (or at least should be) ... no, not to learn a new cool technology, but to get the shit done. There are cases where async might be beneficial, but those cases are few and far in between. In all other cases a simple thread model, or even a single thread works just fine without incurring extra mental overhead. As professionals we need to think not only if some technology is fun, but how much it actually costs to our employer and about those who are going to maintain our "cool" code when we leave for better pastures. I know, I know, I sound like a grandpa (and I actually am).
comment 3y ago · link · parent
So let's assume that an annual X-ray caused another cancer in women who would never develop breast cancer (i.e. 87% of them). You are saying "we don't know", but the authors of that paper are trying to answer exactly that. We may have saved lives in 13% group (that would be < 2.5% of those dying from breast cancer), but may have lost some lives in 87% group. According to the paper the net outcome is around 0.
comment 3y ago · link · parent
But they may have complications from a colonoscopy, that's the idea. No test is completely harmless, even a blood work. You save some lives but may loose others, that's the point of the paper. And of course you waste resources that can be used to find a cure.