My son and I were having fun last weekend building a console based game in Go. I was recreating a game from my youth, back when I was programming on a Kaypro II.
I loved this computer. I would write games in BASIC on it all day and night. Did I mention it was portable. The keyboa...
I've never really known what to do with my personal site. Over the years it's been a dumping ground for links to different projects, and played host to various half-hearted attempts at blogging. But it's never really had much in the way of an actual purpose.
I decided t...
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...
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...
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...
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...
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...
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...
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...
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...