Iota Behavior

So, I bumped into a weird behavior with iota in Go that I wasn’t expecting, thought I’d document it here so that I’d find my own blog post next time I searched on it. (Isn’t that how it always works?) package main import ( "fmt" ) const ( STUFF = "STUFF" a0 = iota a1 a2 ) func main() { fmt.Printf("STUFF=%v, a0=%d, a1=%d, a2=%d",STUFF, a0, a1, a2) } With the above code, what is the value of a1?

Compiling Go Binaries with Alpine Docker

So, previously, I discussed how to setup a Self Compiling Go Docker Container. One of the issues I came across while doing so was getting reflex compiled correctly for the alpine environment. I’m quoting directly from this repo: Because alpine linux and therefor gliderlabs/alpine docker containers use musl instead gnu libc, your golang binaries build using libc will not work on alpine. You can further read up on wikipedia on what musl is.

Self Compiling Go with Docker

Imagine a self contained development environment that could detect that there’s a file change on my file system, kill an existing go binary, rebuild the go binary, and then, launch a new process. Introduction I believe that setting up a docker container that self compiles my Go source upon changes within a local development environment will assist myself and colleagues iterate faster. I am a remote engineer with a mix of other disciplines on my team that are new to the language.

OSX Full Time

Months ago, I don’t remember exactly when and I wish I had saved my tweet, I announced on twitter that I was going to start using my MacBook Pro full time since my Windows machine bit the dust. Not exactly sure what happened to the machine. I thought it was the SSD drive, but now I’m beginning to think it’s either the motherboard or the cpu since it powers up, but never gets any further than the BIOS screen.

Migrating to Hugo

I recently migrated away from to a static website running on S3 utilizing I ran into a few issues here and there, but it was a matter of figuring out go templating and getting everything re-organized. I believe I have all the appropriate redirects in place and I’ve moved over some disqus discussions. I wanted to kill off the last monthly $5.05 bill that I had, S3 should prove considerably cheaper, but I won’t know until I get the first bill.


Todd Rafferty has been doing web development as early as 1996. Self-taught HTML / CSS / JS before diving into CFML in March of 1999. It’s been a long crazy ride for Todd during that time. He even found himself in Tokyo, Japan for a week helping ye ol’ dot com website take off overseas. Current Adventures These days, Todd works as a senior engineer/consultant at a fintech company. Working remotely has been a challenge at times, but Todd remains focused even as sprints continue to spiral beyond his control.


What the what? You came here looking for a blog and found things completely backwards. The deal is, I have a new blog and I changed things around without doing it the «right way.» You should go to the new blog.

Numenera and a kid with mild asperger's syndrome

My wife and I are gamers. We met online in a World of Darkness game. So, there’s no surprise that board games and RPGs have become a staple of interest for us. Over the years, I’ve been kind of mopey about the fact that I can’t get my step kids interested in RPGs. When my wife and I declared to the family that we were going to GenCON 2013, she surprised me with «And, you kids are signing up for a Pathfinder intro games.

Exit Railo, Enter Lucee

Today was an interesting announcement that Micha Offner, lead developer of Railo, is forking Railo and starting development on Lucee. What does this mean for Railo? It would appear to me that Railo is dead in the water and Lucee will be carring the torch going forward. Adam Cameron has more information here since he was at the Lucee launch. Interestingly enough, Gert Franz was in the audience. Which leads me to belive that he’ll remain focused on Rasia and Mark Drew will be focused on CMD.

Monte Cook Games - Numenera & The Strange

If you’re looking for an RPG (Pen & Paper) to sink your teeth into. I highly recommend Numenera & The Strange. How to play Numenera How to play The Strange