Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
danybittel
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
20 ms
·
211.
▲
by
danybittel
6y ago
I usually just use switch(std::variant:index()) and then std::get<int>(). Which worked reasonably well. But then I stopped using std::variant altogether, because in the end it never gave enough benefits. These days I use reinterpret_c
212.
▲
by
danybittel
6y ago
It's pretty good advice. I'd like to add that colors aren't defined in vacuum. You probably want to start with a mockup design, add some colors. Then grab those colors and start to nail them down. Then put the updated colors
213.
▲
by
danybittel
6y ago
But the bank hasn't made any money?! It just wants back "more" than it "gave". Am I missing something? The one who is forced to "create" the money is the one who has to pay back the 1$ extra in interests (
214.
▲
by
danybittel
6y ago
I like what Chandler Carruth said, "The death of a thousand cuts", on why is my code slow.
215.
▲
by
danybittel
6y ago
But why are the elderly more susceptible? Shouldn't the probability of exposure by higher, the older you get? Wasn't that the reason the Spanish flu killed more younger people?
216.
▲
by
danybittel
6y ago
"We are social animals." Are we though? We're not like a flock of fish, herd of sheep, pack of wolves not even like apes. Or when was the last time you met a silverback human? If we keep indoctrinate that, we may miss the rea
217.
▲
by
danybittel
6y ago
I call bullshit. I stopped reading at the setup: "the researchers had 40 socially-connected healthy human adults spend 10 hours (9am to 7pm) alone, with no social interaction and no other social stimulation (e.g., twitter, email, readi
218.
▲
by
danybittel
7y ago
What usually works for me: Don't start at all! Instead, tinker with the project. Just some cleanup, rename a variable, just tinkering without pressure. Before I know, I'm deep into work.