Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
Kranar
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
111 ms
·
901.
▲
by
Kranar
5y ago
But you didn't ask a question, you made a statement. There are only two reasons I can think of for why someone wouldn't be surprised if something that is almost certainly false turned out to be true. 1. That person is wholly ignor
902.
▲
by
Kranar
5y ago
I'll admit straight up when I fire someone I am usually so relieved if they leave peacefully that I don't just say they worked for me, I will usually even give a semi positive review of them. Not a glowing praise or anything of th
903.
▲
by
Kranar
5y ago
Arguing that Clinton is a lizard is not only analogous to claiming that the COVID-19 mRNA vaccine does not work and is actually harmful, it's leaps and bounds worse. At least the lizard position can be viewed as a kind of satire or met
904.
▲
by
Kranar
5y ago
He's been saying that for years though, from the time he perpetuated 9/11 being an inside job, to arguing that the moon landing was a hoax, to his current position on COVID. What exact mindset inspired by Joe Rogan would you advoc
905.
▲
by
Kranar
5y ago
>...the person you're accusing of intentionally omitting part of a quote already quoted that very text in their previous comment: That was edited back in after I made my comment (this is admitted to by OP themselves). To the extent
906.
▲
by
Kranar
5y ago
You're quoting a sentence fragment of a non-normative section of the spec, in other words you're half quoting a part of the spec that is not intended to be interpreted formally, literally, or even required to be adhered to. The ra
907.
▲
by
Kranar
5y ago
Going off Wikipedia, Windows is approximately 75%, macOS is 15%, and other OS's (ChromeOS, Linux) make up the remaining 10% [1]. [1] https://en.wikipedia.org/wiki/Usage_share_of_operating_syste...
908.
▲
by
Kranar
5y ago
I feel like in the absence of an overwhelming justification, your comment is just derailing the topic and attracting unnecessary attention.
909.
▲
by
Kranar
5y ago
This article uses an outdated scheme for password entropy/strength originally published in the early 2000s by NIST. The scheme they use can be found at [1]. NIST has since dropped their recommendation for how to calculate the entropy o
910.
▲
by
Kranar
5y ago
>This implies, then, that if it is rational to discriminate against young people, the same science must say that other groups which are protected from discrimination by the State are at least somewhat more mature than young people. There
911.
▲
by
Kranar
5y ago
>I’m surprised nobody has ever considered that Bitcoin is vulnerable to attacks. It's hard to know sometimes if one is being sarcastic on HN, but at any rate, Bitcoin is quite possibly the most scrutinized piece of technology ever d
912.
▲
by
Kranar
5y ago
There is no std::optional in earlier language standards. std::optional is a C++17 library feature.
913.
▲
by
Kranar
5y ago
Fair enough, in my codebase we always order data in terms of dependencies so that independent data comes before dependent data. In this case the result depends on the error_code, and the error_code is independent, so the error_code must be
914.
▲
by
Kranar
5y ago
Use your browser's "Find on page" feature and search for the term "copy elision". There's an entire section on it.
915.
▲
by
Kranar
5y ago
Yes we are sure and it has nothing to do with optimizations, RVO, Godbolt or any of the completely irrelevant details you are talking about. The implementation of std::optional is not permitted by the standard to allocate memory.
916.
▲
by
Kranar
5y ago
I did not say most languages, I said most languages that have move semantics. Neither C++ or Rust invented the concept which dates back to the 1980s. >C++ had to be backward compatible with pre C++11 and couldn't make destructive mo
917.
▲
by
Kranar
5y ago
There is no copy involved with the std::optional version.
918.
▲
by
Kranar
5y ago
Yes he does.
919.
▲
by
Kranar
5y ago
It's very rare where doing that is a good idea. A constructor is about the only time when you get much of a benefit.
920.
▲
by
Kranar
5y ago
You'd get a language that is wildly incompatible with C and hence you may as well use a different language.
921.
▲
by
Kranar
5y ago
It's not obvious at all, the issue is that move semantics in C++ don't really have much to do with the concept of moving. Most languages that have move semantics treat moves as a kind of relocation of a value from one place to ano
922.
▲
by
Kranar
5y ago
There are numerous ways of handling this that are significantly better, for example using an std::optional yields this code: do_something().and_then(process); Or structured bindings: auto [error_code, result] = do_something()
923.
▲
by
Kranar
5y ago
Definitely don't think that's true. Yes, Edward Teller did propose a design for a 10 gigaton device but the initial devices based on that design ended up being a dud, not working as intended and the project was abandoned in favor
924.
▲
by
Kranar
5y ago
Stockfish runs in your own browser using your own CPU.
925.
▲
by
Kranar
5y ago
It's fruitless to discuss signs of a failing startup since almost all tech startups fail. They fail with good management and bad management, good product and bad product, good developers and bad developers. If there was a way to know t
926.
▲
by
Kranar
5y ago
The CDC's report is not appropriate to make this conclusion. Following through on how the CDC came to this figure they categorize all masks from certain manufacturers whose products have been counterfeited as all being counterfeit. If
927.
▲
by
Kranar
5y ago
>Normalization is a tool like anything else. You can’t make absolute statements about it. That's exactly my point. I specifically said that normalization is independent of optimizations, it might help, it might not. It was specifica
928.
▲
by
Kranar
5y ago
Normalization is pretty independent of optimization strategy and generally that's not presented as one of its advantages. Normalizing data can improve write performance but will make reads slower, so if you have a write intensive datab
929.
▲
by
Kranar
5y ago
As an FYI to others who might jump to conclusions... my experience as a VC involved in several tech companies as well as a founder is that older people generally do not like to apply to work for early stage startups. The compensation and ri
930.
▲
by
Kranar
5y ago
>work monday-thursday, all remote.
More ›