Starting to use Goroutines

One of the key features of Go is goroutines. All it takes to run code concurrently is to prefix a function call with the word go and like magic – it runs concurrently! Concurrency introduces problems with synchronization – which is a common question when starting to program in Go. Check out the following example: When run it will look…

A caching library for Go

I have written a new Go library. It it small but useful. It is called cache is distributed with a 3-clause BSD license. Cache is for caching stuff (pretty smart huh?). A cache can store byte slices by string key. When a new cache is created it is given an optional maximum size and age. The cache tracks access by time (and frequency)…

5 Reasons to Program Javascript

You probably hate javascript. And there is a good reason for that. Since the late 90′s javascript has been on the rise, primarily because of the rise in web sites and applications that use it. Early incompatibility between different browsers lead to development of various libraries to handle various differences. The most popular one at this point is jQuery but…

App promotion

I am in shock! Well – not really – but this is very bad news for everyone trying to deliver great quality apps through any app store (Google Play, Apple App Store og Windows Store). I get a lot of e-mails like the following – but they are getting far more frequent and the professionalism the represent is rising rapidly;…

Giving back to the community

Every programmer on the planet (a wild assumption – I know) have used [insert favorite search engine] to look up some sort of error they got or a method/best-way to do something they where trying to achieve. The best part is that you almost certainly get results that are immediately useful and combined with all sorts of comments and objections…