Fork me on GitHub

Blog Posts

  • 05 Mar 2015 » Getting to Go (or starting programming in Go)

    Preface

    Programming can be something of an enigma to describe to someone that doesn't "do it". It's equal parts prose composition, engineering, and spellcraft. While many people talk about these parts at length, they often don't talk about the tooling around the language. In some cases, it's abyssmal (e.g. C/C++ and autotools) and with others it's correct but not good (e.g. Java and Ant). I'll explain what I mean with both of those comparisons later.

  • 05 Feb 2015 » Stupid Go Mistakes: Number 1

    Go binaries require 'package main'

    If you're building an executable binary in Go, the package needs to be named 'main', like so:

    package main
    
    import "os"
    import "fmt"
    import "io/ioutil"
    
    func main() {
        file := os.Args[1]
        data, _ := ioutil.ReadFile(file)
        dat := string(data)
        fmt.Printf("File contents: \n%s\n", dat)
    }
    

    Any other name implies generating a library.

  • 20 Jan 2015 » Redfin Realtor Ratings Mean Nothing

    My wife and I have recently begun the home-buying process. After looking at our finances last fall, I realized that if we were to liquidate some of our investments, we could have a downpayment for a house. With this in mind, I began lining up the assorted "ducks" needed in buying a house, namely:

    • determining a price range
    • determining a down payment for that price range
    • looking at our mortgage options

  • 18 Jan 2015 » 2015: The Year of the OpenBSD Desktop

    Introduction

    In the beginning, there was Zac. He discovered Linux and ran fifty thousand different distributions, never being satisfied. When one distribution fixed an issue, thirty new issues were created. Subsystems bickered, sound servers wept, and bus systems rended their clothing.

  • 08 Sep 2013 » Glorious Nippon, Partie Deux

    Mawwiage Is What Bwings Us Togetha...

    Well, we're married. It wasn't so hard. It was over in a whirlwind that I remember much of and yet have startling gaps of details which many of our guests commented on. Anyway, we done it and now it's on to even more planning for our Honeymoon.

    Live Glorious or Nippon Hard

    Originally, our itinerary to Japan had us going Tokyo to Osaka to Kyoto to Kobe to Tokyo. After some reading and contemplation, I came to the conclusion that we were:

  • 20 Jul 2013 » Murakami's 'The Wind Up Bird Chronicle'

    Context, I think...

    Reading is probably the oldest hobby (of few) that I have. Oft used as a punishment when I was a child, I learned early on to love reading since I was right pain in the ass. So what does a right pain in the ass read? Basically everything. I tend to prefer fiction if I need an escape or to clear my mind. My dad read a lot of John Grisham books when I was growing up and as I got older I progressed to more complex/meaningful books that win things like a Poo-lit-zur Prize or a No Bell Prize (why can't it have bells anyway?).

  • 14 Jul 2013 » Glorious Nippon

    Glorious Nippon (Japan)

    I've begun the long and arduous (but enjoyable) task of planning the honeymoon that Caroline and I will be taking. I've vacillated between several locations for the honeymoon. Much of it was concern over cost, time, and comfort traveling. Japan was the first real contender and after much thought it remained our best option. Other frontrunners included Turkey which has recently lost its shit and Montreal which takes just as long to get to as Japan from Seattle because there are no direct flights.