Jason·Apr 6, 2017Dim 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…
InStupid Gopher TricksbyJason·Jan 12, 2017More 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…A response icon3A response icon3
Jason·Mar 10, 2016Exploring Natality data with BigQueryBig Data for the Big DayA response icon2A response icon2
InStupid Gopher TricksbyJason·Oct 22, 2015Ensuring 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…A response icon1A response icon1
InStupid Gopher TricksbyJason·Jul 16, 2015Stubbing 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…A response icon3A response icon3
InStupid Gopher TricksbyJason·Jun 25, 2015Streaming 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…A response icon5A response icon5