Viewing profile — vc8f6vVV
vc8f6vVV
HN member- Joined
- Tue, Dec 17, 2019, 4:29 PM UTC
- HN karma
- 71
- Public activity
- 100 items
- HN profile
- View on Hacker News ↗
About vc8f6vVV
No profile information was provided.
Recent public activity
-
comment
Comment #38898290
Yep, I'm not actually claiming that driving is safer per se, but it's apples vs oranges. I'm also not sure about 24M hours, total commercial airlines hours (i.e. aircraft hours, no…
-
comment
Comment #38898187
Statistics is a tricky thing. There are 43K traffic fatalities in the US per year and 53K deaths from colorectal cancer. Which means chances of dying from colorectal cancer is high…
-
comment
Comment #38897481
Let's do some math, shall we? > 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,…
-
comment
Comment #38896752
It does change odds. So when considering defensive driving the rule "flying is safer" may not hold.
-
comment
Comment #37633913
Yes, entropy increases in the salad dressing, but only when it's insulated (in reality we can't consider salad dressing outside of the Earth gravitational field, but let's say the …
-
comment
Comment #37633631
Standard gear box oil is 80W90, which at -30C (even at -20C) turns into a thick jelly. Even in neutral starter has to move gears in that jelly. So normally you don't want to releas…
-
comment
Comment #37628974
People just don't care about their vehicles, that's why. There are multiple examples of even diesels starting at -25°C without heating. All my cars have been gas and while starting…
-
comment
Comment #37625289
> It hates any form of order and will actively attempt to destroy it. If you are talking about ever increasing entropy, it applies to any environment. But keep in mind that the Moo…
-
comment
Comment #37625256
Most modern cars will happily start at -20°C and many will start at -30°C without any special additions (don't ask me how I know, you just need to know what you are doing). Of cour…
-
comment
Comment #37486158
If you block your timer goes out the window, right? Because the poll will never get there until the blocking call is done. So yeah, you can block, but it will disrupt the whole cha…
-
comment
Comment #37484539
Interesting, in the Java world Thread.stop is deprecated too: https://docs.oracle.com/javase/7/docs/technotes/guides/concu... Which means there is no good way to actually stop a th…
- comment
-
comment
Comment #37483867
Most languages I know allow killing a thread, or at least unblock a system call.
-
comment
Comment #37474327
Can you cancel a tight computing loop (i.e. without system calls and without yielding of any sort) with async? I wonder how? Also if you can inject a cleanup code in your async tas…
-
comment
Comment #37474178
You wait on a shared channel so both read and sleep threads queue a message when ready (whichever comes first). Not sure about channels, but in other languages it would be a concur…
-
comment
Comment #37458959
As I understand when you are blocked on I/O and sends a signal to the waiting thread, that system call will simply be released and return an error. Ruby (Java etc.) does make it si…
-
comment
Comment #37458462
What happens if I block a future in a single threaded runtime?
-
comment
Comment #37458423
Channel with an additional thread for sleep? Waiting for a channel is not a poll.
-
comment
Comment #37458159
Not sure about Rust, but in other languages that don't have async: create a queue, spawn a thread with your task, thread with sleep and wait for a message from any of those two. Ki…
-
comment
Comment #37458081
In some sense it is. Async is a glorified future, and future is a glorified thread management, and threads are a way to facilitate asynchronous execution. You can also create a thr…
-
comment
Comment #37457909
Not exactly sure how async in Python works, but if its runtime is non-preemptive and single-threaded (i.e. based on yield), then congratulations, you reinvented Windows 3.1! Those …
-
comment
Comment #37457772
Depends on the nature of commercial code and if it has another level of parallelism (think of web servers and read my comment below). As for DB queries, here's the thing: most comm…
-
comment
Comment #37456466
Also parallel execution is never simple, there are multiple problems no matter what technology you use, be it async or threads. Meanwhile there are different threads too, you know,…
- comment
-
comment
Comment #37456352
If you carefully read my message, I said there are cases where async is beneficial. Most of the time I don't think even threads are necessary. E.g. the most common application nowa…