Brian Scott

17 Added | 1 Magazine | 112 Followers | @BrianScott2014 | Keep up with Brian Scott on Flipboard, a place to see the stories, photos, and updates that matter to you. Flipboard creates a personalized magazine full of everything, from world news to life’s great moments. Download Flipboard for free and search for “Brian Scott”

TARDIS Go 8 Concurrent Gophers

The performance of using interface{} vs a specific type.

package main<p>import (<p>"testing"<p>"sync/atomic"<p>func sumI(nums... interface{}) interface{} {<p>var s uint64<p>for _, n := range nums {<p>s += uint64(n.(int))<p>return s<p>…

Simple App with Go, Martini, Gorp and MySQL

So, inside the template files I am using a {{.Created}} variable to display the created time of the post and this is where I manage the way time is …

Throttled: Guardian Of The Web Server

I just put the finishing touches for the release of throttled, a Go package that implements various strategies to control access to HTTP handlers. …

Abstract Libraries in Go

Go is by far one of my favorite programming languages to program in. In many ways, Go is a bridge between worlds, we have Python and Ruby dominating …

Sane Concurrency with Go

Glyph Lefkowitz wrote an enlightening post recently in which he expounds in some detail about the challenges of writing highly concurrent software. …

JSON decoding in Go

Incidentally, decoding JSON data (or really, almost any data structure) is really easy in Go (golang). We simply call json.Unmarshal(…) and boom! We …

Resizing Images on the Fly with Go

Today, we’re excited to release Halfshell, a proxy server for processing images on the fly. Halfshell allows you to dynamically resize (and apply …

Cancellation in Go, the Juju way

I read the recent Go blog post on pipelines and cancellation with interest because we have explored this area quite a bit where I work, in the Juju …

Go (“golang”) and Android

Readers know that I am a fan of Go: The ease with which you can build highly-concurrent apps is an absolute delight.<p>Let me broaden that a bit: The …

Running MongoDB Queries Concurrently With Go | MongoDB Blog

<i>This is a guest post by William Kennedy, managing partner at Ardan Studios in Miami, FL, a mobile and web app development company. Bill is also the</i> …

Contiguous stacks in Go

Lately I’ve been messing with Go and I really like it. The 1.3 release is due in June 2014 and among other performance improvements, the runtime will …