Dim Your iPhone Screen with Three ClicksWhen you’re trying to take a picture outside with the sun shining bright, your iPhone screen’s brightness is a godsend. When you’re trying…Apr 6, 2017Apr 6, 2017
Published inStupid Gopher TricksMore Powerful Synchronization in Go, using ChannelsHere’s a common predicament: you have a value, e.g., some string or number or struct, that can be read and written by many goroutines, and…Jan 12, 2017A response icon3Jan 12, 2017A response icon3
Exploring Natality data with BigQueryBig Data for the Big DayMar 10, 2016A response icon2Mar 10, 2016A response icon2
Published inStupid Gopher TricksEnsuring Go interface satisfaction at compile-timeIn my last post, I described a technique to ensure that a test implementation satisfies an interface, without having to implement every…Oct 22, 2015A response icon1Oct 22, 2015A response icon1
Published inStupid Gopher TricksStubbing Out Interfaces in GoHere’s a situation in which you may find yourself. You have a service that exposes a lot of functionality. Because you’re a good software…Jul 16, 2015A response icon3Jul 16, 2015A response icon3
Published inStupid Gopher TricksStreaming data in Go, without bytes.BufferHere’s a common problem I find myself encountering often when writing a program in Go: I have a value that I’d like to encode as JSON and…Jun 25, 2015A response icon5Jun 25, 2015A response icon5