Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
benesch
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
17 ms
·
91.
▲
by
benesch
7y ago
Not unless you like pain. CockroachDB is distributed and uses Raft consensus under the hood, so you can't take a snapshot of just one node; you need to take a snapshot of all the nodes in your cluster, and you need to take those snap
92.
▲
by
benesch
7y ago
JavaScript is an interesting case, in that it was the only way to write code that would run in Netscape Navigator at the time. In a sense it had Netscape behind it, and then it had Microsoft behind it once they reverse-engineered an imple
93.
▲
by
benesch
8y ago
Yep, definitely. In this specific case of a missing unsafe marker you don’t need symbol versioning at all; you need the stdlib to somehow present two signatures for the same function that the compiler can select between according to the Rus
94.
▲
by
benesch
8y ago
Yes, absolutely! (Although note that I'm not the OP.)
95.
▲
by
benesch
8y ago
With all due respect, I do think you're conflating the way things are with the way things have to be. glibc has a similar commitment to never breaking user code, and yet symbols have been removed from glibc! The trick is to use "
96.
▲
by
benesch
8y ago
Well hello, Dan! Nikhil here. It’s always nice to get a reminder that the internet can be a small place. (Dan and I were at RC concurrently for the second half of his batch.) I’ll echo the sentiment: RC is a really cool and unique place. I
97.
▲
by
benesch
8y ago
I'm not sure what you're arguing here. Yes, I described a very specific type of optimistic concurrency control that can be layered on top of Calvin to provide support for dependent transactions. (The "optimistic" is in t
98.
▲
by
benesch
8y ago
You can always execute dependent transactions in a system that does not support them by running two non-dependent transactions. This is covered in section 3.2.1 of the Calvin paper [0] as the Optimistic Lock Location Prediction (OLLP) schem
99.
▲
Gccgo in 2019: Faster, but still yields much slower code than standard compiler
(meltware.com)
2 points
by
benesch
8y ago
|
0 comments
100.
▲
by
benesch
8y ago
I've had entirely the opposite experience. Have you ever tried to install a package in Sublime? You have to use a separate tool, Package Control, whose installation instructions are arcane: import urllib.request,os,hashlib; h = &#x
101.
▲
by
benesch
8y ago
CockroachDB engineer here. > However key management in clusters is an absolute nightmare. They need to look at Docker Swarm for how to build a usable "join" mechanism. I'll contend that key management is one of the great u
102.
▲
by
benesch
8y ago
Release notes are available at: https://tip.golang.org/doc/go1.11 Headline features (as judged by me) are: * A new WebAssembly backend, js/wasm, for the gc compiler. * Preliminary support for modules, i.e., the fi
103.
▲
by
benesch
8y ago
Ah, that is an unfortunate issue, and the error message is unreadable to boot. > The issues pale in comparison to the horribleness of Glide, but it's interesting just how these tools end up being so damn flaky. That's the crux
104.
▲
by
benesch
8y ago
> My personal theory is that what made Russ Cox cave in was his discussions with Sam Boyer. Cox thought Boyer was going down the wrong path, and thought he had a better solution. That's certainly my understanding of the situation. M
105.
▲
by
benesch
8y ago
I can't speak to this with absolute certainty, but I have some speculation to offer. The story of GOPATH is tightly intertwined with the story of package management. Go is a Google project, and Google has a very unique approach to pack
106.
▲
by
benesch
8y ago
Before you get too excited about possible performance wins, note that gccgo turns out to be much slower than gc (the standard Go compiler) on a lot of real workloads. Here's one such benchmark, taken recently, though it's admitted
107.
▲
by
benesch
9y ago
The constant thrash caused by the lack of a standard package management tool—even a de facto standard. Just look at the various package managers that have come and gone over the years: 1. https://github.com/tools/godep
108.
▲
by
benesch
9y ago
My biggest frustration with the auto-update is how long it takes. I wouldn’t mind the auto-update in the slightest if it took 5s instead of 30s. It’s ironic (and a testament to your work on bottling) that the longest phase of installing a f
109.
▲
Multi-Cloud Deployment with CockroachDB
(cockroachlabs.com)
9 points
by
benesch
9y ago
|
0 comments
110.
▲
CockroachDB for Windows Users
(cockroachlabs.com)
2 points
by
benesch
9y ago
|
0 comments
111.
▲
by
benesch
9y ago
Simply drop the assembly as a .s file in a Go package and run `go build`. See Go's hash/crc32 package for a real example [0]. There's a lower level `go tool` command, of course, but I don't know it off the top of my head
112.
▲
by
benesch
9y ago
I would love for this to be true, but I'm afraid I don't have any evidence that it is. What are the better options you'd recommend? More specifically, Google's Bazel [0] is the most serious attempt I know of to replace C
113.
▲
by
benesch
9y ago
This is mentioned at the end of the article, but perhaps deserves to be called out more loudly: > While CockroachDB was built to survive failures and prevent data loss, we want to make sure every team, regardless of size, has the ability
114.
▲
Implementing Backup
(cockroachlabs.com)
112 points
by
benesch
9y ago
|
19 comments
115.
▲
by
benesch
9y ago
You might find FedEx's origin story interesting. > “I asked Fred where the funds had come from, and he responded, ‘The meeting with the General Dynamics board was a bust and I knew we needed money for Monday, so I took a plane to La
116.
▲
by
benesch
9y ago
Out of curiosity, have you ever tried running barefoot? I spent four years of cross country practice in high school desperately fighting my tendency to overstride. At the start, my stride rate tended towards the high 70s (a healthy stride r
117.
▲
Local and distributed query processing in CockroachDB
(cockroachlabs.com)
136 points
by
benesch
9y ago
|
36 comments
118.
▲
by
benesch
9y ago
[Cockroach Labs engineer here.] Yes, if very low-latency (i.e., P99 latency sub-5ms) reads and writes are critical to your application, CockroachDB should not be your first choice. That said, one of the primary motivations for CockroachDB
119.
▲
by
benesch
10y ago
Yes, it's not just you. https://news.ycombinator.com/item?id=13811815
120.
▲
by
benesch
10y ago
This appears to be an (illegitimate?) republishing of a course that Dan Armendariz has taught at the Harvard Extension School since 2008. (The course number has since changed from CS E-7 to Digital Media E-10.) You can find the fall 2015 ma
More ›