Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
bdarnell
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
11 ms
·
91.
▲
by
bdarnell
11y ago
Goroutines are, for all practical purposes, threads. They're cheaper than real threads but they still have all the subtle complexity that comes with shared-memory preemptive threading (everything shared needs to be appropriately locked
92.
▲
by
bdarnell
11y ago
It's always been possible to create realtime apps with Python. Callbacks have been available since the beginning, and frameworks like Tornado and Twisted have been doing something very similar to the new async/await functionality
93.
▲
by
bdarnell
11y ago
This loopy gesture-based keyboard won some of the typing speed contests back in the PalmOS days: https://mrl.nyu.edu/projects/quikwriting/
94.
▲
by
bdarnell
11y ago
This is cool. And the experience of gesture typing is so different from touch-typing on a physical keyboard that I think it might be easier to experiment with or learn new keyboard layouts in this environment. Way back in the PalmPilot days
95.
▲
by
bdarnell
11y ago
The phone numbers library isn't just counting digits; it has a database of which area codes exist (as well as other lesser-known rules, depending on the country). This makes it more effective at filtering out invalid/fake phone nu
96.
▲
by
bdarnell
11y ago
> You're missing a major feature. Text formats don't have any natural integer size limits. Sure they do. Where do you think Y2K came from? RFC 822 said "years are two digits" and people wrote parsers to that spec. Eve
97.
▲
by
bdarnell
11y ago
I replied on the blog post. The downside is basically that if you have one giant consensus group, then to add a new replica you have to replicate that entire consensus group. This hurts load balancing and recovery times, since you can'
98.
▲
by
bdarnell
11y ago
(author of the original post here) Raft can be pretty relaxed about heartbeats. It doesn't, strictly speaking, require every node to talk to everyone else. All you really need is some health signal about the other nodes so you A) don&#
99.
▲
by
bdarnell
11y ago
I'm a big fan of the Kinesis keyboard. I use Emacs, and I was starting to have some RSI symptoms from the ctrl/meta key combinations when I discovered the Kinesis. Moving the modifier keys (except for shift) to the thumbs is a hug
100.
▲
Scaling Raft
(cockroachlabs.com)
6 points
by
bdarnell
11y ago
|
0 comments
101.
▲
CockroachDB: Ultimate in Database Survival
(informationweek.com)
2 points
by
bdarnell
11y ago
|
0 comments
102.
▲
Tornado 4.2 released
(groups.google.com)
2 points
by
bdarnell
11y ago
|
0 comments
103.
▲
by
bdarnell
11y ago
This late in Python 2.7's life the changes being made are mostly fixes for esoteric bugs. One exception is the SSL module, which gets special treatment due to its importance for security. It has gained a new feature in this release (AL
104.
▲
by
bdarnell
11y ago
Python was ported to PalmOS, where it could run on a 16MHz CPU with 64KB of usable heap space: http://isr.uci.edu/projects/sensos/python/
105.
▲
by
bdarnell
11y ago
In my experience, consensus algorithms are developed as algorithms first, (reference) systems second, and libraries third. The reasons are simply that the algorithm is the most important part, and good libraries are hard. Diego has rightly
106.
▲
by
bdarnell
12y ago
I'm a fan of objective-c++ because it gives you some nice tools to cut down on verbosity (e.g. https://github.com/viewfinderco/viewfinder/blob/master/clien... ) and c++ is the best language for a cor
107.
▲
by
bdarnell
12y ago
Cockroach uses hybrid logical clocks and should generally tolerate reasonable amounts of clock skew. Atomic clocks can improve performance in some cases by putting a tighter bound on clock skew, but they're not necessary for correctnes
108.
▲
by
bdarnell
12y ago
Yes, we have very similar goals with CockroachDB as FoundationDB had: a distributed, transactional data store (ACID, CP, etc). We're starting with the key/value layer, although we have ambitions to also build more structured inter
109.
▲
by
bdarnell
12y ago
Why all the "was/is" in this subthread? Tornado's not going anywhere.
110.
▲
by
bdarnell
12y ago
There is actually a reason you can't have ~/.ssh/config symlinked the same way: ssh refuses to read a symlink for this file (for security purposes it is strict about the file type and permissions). My workaround is to copy th
111.
▲
by
bdarnell
12y ago
HTTP/2 gives you more than just a stream of frames (matching of requests to responses, some structure around headers and bodies, flow control, etc). gRPC could have been built on websockets but it would have been more work (almost as m
112.
▲
by
bdarnell
12y ago
The Go team does want to innovate on the toolchain. A key factor in the design of Go is the belief that once a language is "good enough", developers are better served by a superior toolchain (and specifically faster compilation)
113.
▲
by
bdarnell
12y ago
>> Comments are sent as they are written; you cannot "draft" comments. > How is that different from pull requests via emails? (Also, on the website itself the comments can be edited.) With github PRs, notifications are se
114.
▲
by
bdarnell
12y ago
The only real downside is that it slows things down quite a bit (30s vs 12s for a full test run in my current project; I've seen both better and worse ratios in other projects). I've also seen a project that made heavy use of gene
115.
▲
by
bdarnell
12y ago
The go race detector (go test -race) is actually really good at finding these kinds of issues, regardless of GOMAXPROCS. I've gotten a lot more value from running my tests with the race detector in a single process than running the tes
116.
▲
by
bdarnell
12y ago
Agreed; it doesn't really make sense to use multiple keys if you're going to put them all in one agent. That's why the original post recommends using multiple agents at the same time it recommends multiple keys (and the autho
117.
▲
by
bdarnell
12y ago
You can do both: use a different key for each purpose on each physical machine. This addresses two different threat models: each machine has a different set of keys to address compromise of that machine, and you use a different key for each
118.
▲
by
bdarnell
12y ago
The vulnerability is in bash startup; any already-running shells should be safe.
119.
▲
by
bdarnell
12y ago
They did launch a meta-search site, a9.com, in 2004 and discontinued it in 2008. http://en.wikipedia.org/wiki/A9.com
120.
▲
Tornado 4.0 released
(tornadoweb.org)
5 points
by
bdarnell
12y ago
|
0 comments
More ›