back
user profile
dmit
6,674karma·537submissions·February 21, 2011
recent activity (537 total)
comment
Streaming algorithms, or sketches, are a fascinating topic. Some of the results are virtually indistinguishable from magic. I can recommend this blog for those interested:
http://research.n…
3 pts
comment
This is an amazing article. Hat's off to Andy Wingo.
comment
When Postgres switched from ARC to 2Q in 8.0.2 due to patent concerns testing showed that "there is little if any performance loss from doing this." http://www.varlena.com/Ge…
comment
https://groups.google.com/forum/#!msg/golang-nuts/Rj5t1h_ztx...
comment
Reminds me of this Yegge story: https://plus.google.com/110981030061712822816/posts/AaygmbzV... .…
comment
Is C the best possible choice for Git? For Subsurface? For the embroidery template converter thingie he wrote for his wife? Linus used C for all of those, but was it because C was technically the best…
comment
The only conclusion that can be reached from this is that a certain implementation of a TCP client/server for sending 4-byte payloads over the OS X loopback interface written in Scala is faster t…
comment
July 2013. https://code.google.com/p/go/source/detail?r=6c64135360c2
comment
Look out for errors with third-party applications that shell out and expect to find bash or something compatible. I had to explicitly set shell=/bin/bash in .vimrc before any plugin initialization in …
comment
Weekly releases were a thing before Go hit 1.0. Right now your choice is between 1.0.3 (current stable), 1.1-beta2 and tip. I'd go with the beta if you want precompiled binaries, or tip if you don't m…
comment
I'm partial to Bryan Cantrill's Dtrace talk since it tackles a fundamental problem in software engineering and shows how to solve it using a new technology. The talk is more than 5 years old now, but …
comment
There's no guaranteed way unfortunately. If you expect to need this in the future, you can add a flag in your program to print runtime.Version(). But for existing binaries that don't use that function…
comment
You should use the same integer remainder operator (%) as in the Ruby version instead of math.Mod(float64(i), float64(j)): <...>
for j := 2; j < limit; j++ {
if i % j == 0 {
f…
comment
Or rather, fgrep. But it's still a welcome feature, and there's https://code.google.com/p/codesearch/ for locally available code.