Installing and Configuring Go

Other topics in this series - Table of Contents In preparation for a few beginner workshops, I created videos for people to follow to install and configure the Go development tools. Just adding them here. On Mac OSX: On Ubuntu Linux: The steps that I've followed a...

Understanding Slices in Go Programming

Since I started programming in Go the concept and use of slices has been confusing. This is something completely new to me. They look like an array, and feel like an array, but they are much more than an array. I am constantly reading how slices are used quite a bit by Go program...

Javascript Context

People make a lot of confusion about Javascript context mechanism. I don’t think it’s confusing at all, is just that it’s different when compared with other languages we generally use. The key to learn javascript is understanging the following: The context only...

Using Time, Timezones and Location in Go

I ran into a problem today. I was building code to consume NOAA’s tide station XML document and quickly realized I was in trouble. Here is a small piece of that XML document: <timezone>LST/LDT</timezone> <item> <date>2013/01/01</date> <day&g...

Gustavo's IEEE-754 Brain Teaser

Back in June, Gustavo Niemeyer posted the following question on his Labix.org blog: Assume uf is an unsigned integer with 64 bits that holds the IEEE-754 representation for a binary floating point number of that size. How can you tell if uf represents an integer number? I can't t...

An RSS Feed Searching Framework Using Go

This article was written for and published by Safari Books Online Back in May, I finally decided that it was time to move away from the Microsoft stack to Linux. The cost of developing, licensing, and purchasing cloud computing on the Microsoft stack is too expensive. My company...

An Open Source Debate

This article was written for and published by Safari Books Online If you read my article titled Analyze Data With MongoDB and Go, then you will understand the context of this debate with the idea of open source. That article talks about an application we are building, and it publ...

Understanding Pointers and Memory Allocation

In the documentation provided by the Go language team you will find great information on pointers and memory allocation. Here is a link to that documentation: http://golang.org/doc/faq#Pointers We need to start with the understanding that all variables contain a value. Based on t...

Analyze Data With MongoDB and Go

This article was written for and published by Safari Books Online My company is building a mobile application called Outcast. The idea behind Outcast is to give people who love the outdoors the ability to get ahead of the weather. By analyzing real time buoy, tide, lunar and sola...

Recursion and Tail Calls in Go

Introduction This guest post is written by William Kennedy, author of the Going Go blog. I was looking at a code sample that showed a recursive function in Go and the writer was very quick to state how Go does not optimize for recursion, even if tail calls are explicit.