Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
anaphor
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
12 ms
·
91.
▲
by
anaphor
6y ago
I would add "Never cast malloc" to that as well. It's pointless and only required if you're writing C++, which is not C.
92.
▲
by
anaphor
6y ago
FYI, I'm not sure what the site is doing but it ended up using up a ton of memory and I had to kill firefox to unlock my desktop (FF 76, Arch Linux).
93.
▲
by
anaphor
6y ago
I think this is one of the most fascinating things about him to me, because he was born in 1872 and lived to 1970, so he went from living in a society where it was still common to travel by horse and buggy to one where we had nuclear energy
94.
▲
by
anaphor
6y ago
I've been to the archives (used to be a philosophy student there) and got to go through some of his letters. I remember reading a bunch of letters he wrote back and forth with Muhammad Ali during the vietnam war. They actually have som
95.
▲
by
anaphor
6y ago
When I ran it, it wasn't actually downloading anything. I'm honestly not quite sure why. Maybe there's a difference in versions. Edit: ah I think it was because of some whitespace getting inserted, so actually not a problem.
96.
▲
by
anaphor
6y ago
the embed links don't seem to work with youtube-dl very well, I wrote a python script to convert them (in the sibling comment to this)
97.
▲
by
anaphor
6y ago
You're welcome https://gist.github.com/weskerfoot/fc073b38d35e94c27c3444cb2... (yes it's hacky, I did it in 5 minutes) I'm running it as I type this to back them up before they all get removed.
98.
▲
by
anaphor
6y ago
What operating system / graphics backend are you using? Do you have multiple screens? E.g. you can encounter issues with hardware acceleration on Linux if you have multiple screens.
99.
▲
by
anaphor
6y ago
It's an implicit 1 or 0 (because it's binary floating point). The implicit 0 is for subnormal numbers. That's the part people usually don't explain when they're first introducing it. It's literally {1,0}.xxxxxx
100.
▲
by
anaphor
6y ago
I had this issue last year when I started learning D. I eventually got used to it, but it was a stumbling block at first. The #d IRC channel helped me out.
101.
▲
by
anaphor
6y ago
Looks like you have to hit "Clear Storage" on Android in order to get it working again (tested it with Uber). That is, not the cache, but the actual application data. I.e. this will require users to wipe any data being locally sto
102.
▲
by
anaphor
7y ago
Ah ok, that wasn't really clear to me, but that makes way more sense. Clearly I hadn't had any coffee when I read it earlier.
103.
▲
by
anaphor
7y ago
In the section on "Boolean Blindness", I find the example a bit confusing. I would expect `isNotJust (Just foo)` to equal `False`, not `True`, and vice versa `isNotJust Nothing` to equal `True`. The point has some validity (that y
104.
▲
by
anaphor
7y ago
What about the chat system? I doubt they're intentionally compressing the text there in order to increase the entropy. I guess they could be using gzip or whatever, but we'd need to look at how the protocol works in more detail. O
105.
▲
by
anaphor
7y ago
It's worth reading this article as well, "Why screen lockers on X11 cannot be secure". I'm not sure how xsecurelock bypasses all of these issues. https://blog.martin-graesslin.com/blog/2015/01&#
106.
▲
by
anaphor
7y ago
Same, but I guess everyone knows buying on margin is harmful, they just do it anyway.
107.
▲
by
anaphor
7y ago
Came here to say the same thing. The title is incredibly misleading. They aren't giving access to anything that wasn't already available.
108.
▲
by
anaphor
7y ago
It might be a nod towards the terminology that Erlang/OTP uses, i.e. "gen_server". Discord is built on Elixir IIRC. http://erlang.org/documentation/doc-4.9.1/doc/design_princip...
109.
▲
by
anaphor
7y ago
"Borrow: The American Way of Debt" by Louis Hyman It's basically a historical study of debt in the United States over the past 100 years or so. Very interesting and educational.
110.
▲
by
anaphor
7y ago
I wasn't implying that 80% of all tests were false positives. I'm talking about P(You don't have coronavirus | You test positive). 80% is far beyond what would be normal for these types of medical diagnostic tests. I would ex
111.
▲
by
anaphor
7y ago
Can someone clarify which type of test they analyzed? 80% seems way too high. I would expect something closer to 10% at most (which would still mean the probability of a true positive might be very low per Bayes' theorem)
112.
▲
by
anaphor
7y ago
China Post has been shipping stuff and spraying it with disinfectant. I don't see why that would be a problem. Also doesn't it take more than 9 days to sail across the atlantic ocean?
113.
▲
by
anaphor
7y ago
It can take up to 2 weeks for people to start showing symptoms. Also it can affect different people in very different ways.
114.
▲
by
anaphor
7y ago
Doesn't that mean you have to somehow know when it's been running too long and then yield back control somehow? What if the slow operation is something that's atomic, like multiplying some huge numbers?
115.
▲
by
anaphor
7y ago
Thanks for the response, I was being a bit tongue in cheek. I don't think you actually think it's awful :) And thanks for clarifying that. About concurrency vs. parallelism, I think it is fairly standard to think of them as two di
116.
▲
by
anaphor
7y ago
One of the people who designed Protobuf has criticized it (Edit: to clarify, one of the authors of v2, see below), so that doesn't really inspire much confidence in it for me.[1] Your general point is correct though, there's much
117.
▲
by
anaphor
7y ago
That's very true. From what I can tell they are focusing on making the false negatives very unlikely for that reason. Do we know how easily it spreads without any symptoms? If someone is exhibiting flu-like symptoms then I'd expec
118.
▲
by
anaphor
7y ago
Do we have any idea of what the false-positive rate of these types of tests generally are? It sounds pretty thorough but some actual data on that would be nice. Also, given that the prevalence of the virus is still very low, I am assuming (
119.
▲
by
anaphor
7y ago
Well, there is https://www.freedesktop.org/software/systemd/man/systemd-res... but you may or may not think that's part of the "OS".
120.
▲
by
anaphor
7y ago
"C Interfaces and Implementations" is another one that comes highly recommended. https://sites.google.com/site/cinterfacesimplementations/
More ›