Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
tg3
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
17 ms
·
121.
▲
by
tg3
13y ago
It's easy to be nostalgic about past times, but the fact is that quality of life, by many measures (including but not limited to healthcare) has been improved. Intentionally slowing economic growth is a cruel sentence for those less fo
122.
▲
by
tg3
13y ago
I think more so than the error case (which is hopefully rare), you lose any possibility of optimistic rendering, where the user sees an immediate response (i.e. the message is added to the UI) while the server updates in the background. The
123.
▲
by
tg3
13y ago
As another commenter pointed out, it's only the indices that are one-based. I think it would look something like this: int count_occurrences(std::vector<int> vec, int value) { int count = 0; for(int i = 1; i <= vec
124.
▲
by
tg3
13y ago
I've heard that their turnover is exceptionally high, and if so I think their actions are ambiguous at best.
125.
▲
by
tg3
13y ago
I'd say that being CTO of a small startup is worlds different than a large company (which is what I think you're saying here). It's not meant to be self-aggrandizing, more to simply show which side of the business I work on.
126.
▲
by
tg3
13y ago
I just added a static image fallback instead of the brown background I had before. Keeps more in line with the intended look.
127.
▲
by
tg3
13y ago
I plan on documenting all of that to satisfy my internal data nerd as well.
128.
▲
by
tg3
13y ago
If your browser supports WebM, that version of the file is only 6.5MB. I include the MP4 as a backup.
129.
▲
by
tg3
13y ago
OP here. The background video is supposed to get pulled if it doesn't start playing right away (which is what happens in browsers that don't allow autoplay, like iOS. Not sure why that feature detection didn't work in your ca
130.
▲
Let's have coffee.
(coffee.tgriff3.com)
299 points
by
tg3
13y ago
|
142 comments
131.
▲
by
tg3
13y ago
That's actually a really interesting analogy. I'm sure it's incomplete, but it instructs analysis. Ownership of the beach is clearly valuable, even if it's unclear exactly how you will extract that value. And beach popul
132.
▲
by
tg3
13y ago
That was my thought too. For a studio that was so important to Sony that a hardware engineer investigated a "hardware" bug just to make a software engineer happy, I would assume they would have a larger team. Also, having played t
133.
▲
by
tg3
13y ago
Only if you have a narrow view of "manned". For almost all of human history, long treks were made without the expectation that those that started the journey would be the same ones to end it (think of the Israelites in the desert,
134.
▲
by
tg3
13y ago
I would agree, but the word means what people think that it means, and the most likely interpretation will be "nefarious purposes". Especially when the powers that be will likely oppose this, the more braindead you can make your i
135.
▲
by
tg3
13y ago
I think Google might adopt it. If it's decrypted in the client (i.e. the Gmail web interface) Google would still be able to inject ads based on your email. That allows them to maintain monetization while having the ability to claim end
136.
▲
by
tg3
13y ago
Although if the gas giant is anything like Jupiter those moons are probably getting smothered in radiation that is dangerous to Earth-like life.
137.
▲
by
tg3
13y ago
The announcement said "We are of course disappointed by Glenn’s decision to move on, but can appreciate the attraction of the new role he has been offered." - that sounds like a news organization losing a great reporter rather tha
138.
▲
by
tg3
13y ago
I was going to say this as well. It has a Node.js port that I'm using for static file versioning, and the speed is great.
139.
▲
by
tg3
13y ago
There are over 5,000 crew members of nuclear submarines in the USN. I think they currently only have 90-day deployments, but I don't think they would tell you that 1 year travel "can't be done." It's a matter of mot
140.
▲
by
tg3
13y ago
An unfortunate truth. Many settlers who came to the New World did so to escape persecution from the existing regimes in the Old World. But upon arrival, they created their own societies, cultures and governments that persecuted new groups o
141.
▲
by
tg3
13y ago
Not in the long-term sense, the same way that colonizing another planet is not irrational in the long-term sense. We'll need to be a multi-planetary species if we expect to survive longer than most of the other species on Earth. Puttin
142.
▲
by
tg3
13y ago
"Someone watching him climb wouldn’t know he had a prosthesis based on his gait, Hargrove said, though they may hear the motor whirring." That's incredible. We may not have flying cars, but this is quite a step in the right d
143.
▲
by
tg3
13y ago
unless they change PayPal for the better. If PayPal ends up more Braintree than before, I'd say Braintree got a nice exit and accomplished their goals.
144.
▲
by
tg3
13y ago
IIRC, they were going to keep LearnBoost running but without continued development on it. I wonder what the acquisition means for LearnBoost though - did Automattic acquire that as well, and if so, what will they do with it?
145.
▲
by
tg3
13y ago
I think the problem is that there isn't much evidence either way. The Obama administration thinks it was Assad, as that fits their model of the conflict, where Putin thinks it was the rebels, as it fits his model. I'm of the opini
146.
▲
by
tg3
13y ago
Unfortunately putting a try/catch around a 3p lib doesn't actually capture exceptions generated by those libs (unless they occur before any async operations, which I would say is the exception rather than the rule). You're ri
147.
▲
by
tg3
13y ago
Most Node.js I've seen doesn't make extensive use of Javascript's built-in exception handling, and instead relies on the convention of the first parameter of a callback being an Error object if one occurred (so no try/ca
148.
▲
by
tg3
13y ago
in your example below, you do have to wrap it in a call to `Fiber()`, although you've disguised it as `launchFiber`, which you pass `handleRequest` to (I would call that wrapping `handleRequest`. That is probably a worthwhile tradeoff,
149.
▲
by
tg3
13y ago
It uses Fibers ( https://github.com/laverdet/node-fibers ). I don't know much about it, but you have to wrap all your code in a call to `Fiber()`, which is written in C++.
150.
▲
by
tg3
13y ago
Litecoin is one I've heard a lot about, and Namecoin is supposed to be a sort of Bitcoin-based DNS, taking the advantages to a different arena. According to Wikipedia [1] all of the big cryptocurrencies are inspired by / based on
More ›