News for hackers. Stuff that matters.
Re:How We Went from 30 Servers to 2: Go by paddyforan on Tuesday March 12, 2013 @09:56PM (#5366323)
Updated to generalise a bit more. If this ever came up in code review, I'd probably facepalm pretty hard.

http://play.golang.org/p/YUQSZgFx_b

Re:How We Went from 30 Servers to 2: Go by jbooth on Tuesday March 12, 2013 @10:48PM (#5366496)
Ha. Yeah, the map() and reject() function defs are fine but the actual usage is a little eye-bleed inducing :)
Re:How We Went from 30 Servers to 2: Go by paddyforan on Wednesday March 13, 2013 @10:26AM (#5368576)
So now that we've established Ruby is better at being Ruby than Go is, I wonder if there's an actual use case for this kind of thing, so I can demonstrate the "Go way" of handling it...