Recent submissions

Comment · 5 years ago
Comment · 7 years ago
Maybe so folks could build web UIs to interact with a local instance? Can't do raw TCP/UDP from a web browser.
Comment · 8 years ago
OP was quoting.
Comment · 8 years ago
The examples in this article are all straw men; where's the compelling specific case where 5 whys lead to some demonstrable mistake?

Nothing to see here.

Comment · 8 years ago
Author of [0] here.

Sadly, those benchmarks (at the bottom of the thread) were done with a GCC that already included all the GCC 8.1 bells and whistles - results were unchanged under 8.1.

So it's still _really_ slow.

Comment · 8 years ago
Comment · 9 years ago
The downside to this solution is that the concrete option types are exported. I believe it's possible to return unexported types from exported functions, which would solve this, but that golint complains about that pattern.

Have you suggested this to the etcd maintainers?

Comment · 9 years ago
Comment · 9 years ago
[Cockroach Labs employee]

In addition to being extremely precise, TrueTime is explicit about error in its measurements.

In other words, a call to TrueTime returns a lower and upper bound for the current time, which is important for systems like Spanner or CockroachDB when operations must be linearized.

In effect, Spanner sleeps on each operation for a duration of [latest_upper_bound - current_lower_bound] to ensure that operations are strictly ordered.

Your suggestion might improve typical clock synchronization, but still leaves defining the critical offset threshold to the operator, and importantly leaves little choice for software like CockroachDB other than to crash when it detects that the invariant is violated.

Comment · 9 years ago
Comment · 10 years ago
It's not even clear that this is about running. They compared runners to sedentary individuals; this sounds like another "exercise is good" conclusion to me.
Comment · 10 years ago
Comment · 10 years ago
This presumes that MS tracks the fact that you've opted out of tracking, which is not obviously the case.
Comment · 10 years ago

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton