Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
dcvuob
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
4 ms
·
1.
▲
by
dcvuob
11y ago
It would be really nice if instead of downvoting, someone could provide a counterargument, or comment on parts the disagree.
2.
▲
by
dcvuob
11y ago
I was giving an replacement for the if statement presented above, where both expressions are on the same line.
3.
▲
by
dcvuob
11y ago
Yes. And cast that 0 to (void), so the compiler won't complain over an unused expression. Any C programmer will recognize what (void)0 means, do nothing.
4.
▲
by
dcvuob
11y ago
The more lines that are visible on your screen, the less you have to keep in your working memory. Sure if you only saw a few lines at a time, then this might be a problem. But you can see 51 on a laptop. This is enough for almost all case
5.
▲
by
dcvuob
11y ago
Second example is very readable using Allman style: if( condition_a ) { if( condition_b ) { do_thing_a(); } else { do_thing_b(); } } else
6.
▲
by
dcvuob
11y ago
Those if statement should be written using the ternary operator. In my subjective opinion, putting the expression in the same line as the if statement is awful. Objectively it is worse because you create a possibility of certain types of er
7.
▲
by
dcvuob
11y ago
Terrorists cannot be innocent. /s
8.
▲
by
dcvuob
11y ago
If only Twitter joined them.
9.
▲
by
dcvuob
11y ago
I think it is an issue of convenience. Anecdotal evidence, I have never had trouble doing either of those for 8 hours straight (and more). Voice will need some serious software support if it is going to take off. There is zero chance that u
10.
▲
by
dcvuob
11y ago
It's rare but it does exist: https://en.wikipedia.org/wiki/Kim_Peek
11.
▲
by
dcvuob
11y ago
Welcome to the future (of 2013): https://youtu.be/8SkdfdXWYaI?t=9m5s https://youtu.be/8SkdfdXWYaI?t=16m22s Don't forget to see the entire talk (28 minutes): https://www.youtube.com/watc
12.
▲
by
dcvuob
11y ago
The pdf is discussing vehicles, specifically aircraft, that would utilize LENR assuming it works . Here is an excerpt from the pdf: This report does not explore the feasibility of LENR. Instead, it assumes that a working system is availab
13.
▲
by
dcvuob
11y ago
That is an disingenuous representation of how the attacks works. That attacks OPSEC, not the Bitlocker itself. Any full-disk encryption is "vulnerable", to this kind of attack. The page even explains this: https://githu