What I'm Thinking

Hangman
1 January 2014

Onto the next stage of game development, developing a Hangman game. Actually Hangman can be developed instead of a text adventure game if text adventure games are not your thing. As with a text adventure game, Hangman is very much straight programming, and nothing fancy. The one interesting thing I did in my version of the Hangman game was to make use of the algorithm R(3.4.2) (Waterman’s “Reservoir Algorithm”) from Knuth’s “The Art of Computer Programming” (simplified version). ... Read More

Text Adventure
31 December 2013

Still working on learning game development and the first step is to create a text adventure game, so says all the articles on learning game development. So that is something I have done. The storyline is pretty much non-existant, but the programming part of it is there. I think, anyway. I actually enjoyed creating this more than I thought I would. The nice part about it is that the framework is there. ... Read More

Sockjs Examples
30 December 2013

Came across sockjs for go and seeing that I had created some code examples using socket.io and python, I decided to do the same using golang of sockjs, as an excuse to play with it. So far the examples are pretty simple. But I got to play with tickers and goroutines in go, so that was nice. I actually used the net/http package for handling the requests and did a little template parsing. ... Read More
Working with Django templating engine or Jinja2 you have the ability to inherit/extend templates. which I find very helpful in keeping things DRY. Now working on a golang app I wanted something similar and this is how I ended up doing it using the base packages. I’m sticking with the base packages for my first few apps, so I can actually learn them. When starting out with Python, I used Django mainly and I feel that was not the correct thing to do, as Django black boxed a lot of functionality and it took a while to get a deeper understanding. ... Read More
I was wondering how performant Golang is, so I decided to put together a little benchmarking example for myself. So I started with Python, which is what I know best and created the following simple script; #!/usr/bin/env python def fac(n): if n == 0: return 1 return n * fac(n - 1) if __name__ == "__main__": t = 0 for j in range(100000): for i in range(8): t += fac(i) print("total: {0}". ... Read More

Martini
24 December 2013

Still playing with golang and Martini is a package that I think I will be doing a lot of work with, seeing that web applications are what I am constantly working on. The nice thing about Martini is that it relies heavily on net/http and it a very thin layer to it. Creating a web application is straight forward and simple enough. It will be interesting to work on a larger application with it to get a better feel for it. ... Read More

Go Go Go
23 December 2013

Golang has been a fascination for some time, and I have finally jumped in and started learning about the language. Started off with the Tour of Go, and lately the Go Advent has been very helpful. The Go Advent series was really nice as it introduced a wide varied list of applications/uses of go. A number of them that I would not have even looked at or been aware of. ... Read More

That'S A First
28 October 2013

Well that’s a first, I was moving my monitoring system to a new server and decided to go back to using Nagios instead if Icinga and was looking into setting up NRPE on the remote server and did a quick Google on that and lo and behold the first entry in the Google results was an entry written by me on how to do that :) You would think I would remember that I write these things. ... Read More

Still Going
24 October 2013

So I have been slowly working through the Noob to Pro wikibook. Finally I am starting to understand the UI to Blender! I’ve just reached the section on animation. Blender is a tool that I have always wanted to learn how to use. I have been aware of Blender since the days when the community bought it from the company that went bankrupt and open sourced it. That was a number of years ago. ... Read More

Game Dev
23 September 2013

I’ve decided I want to develop a game(s) and this is the start of that process. I’ve been developing websites and web applications for over 10 years and I am looking to do something different. I still very much enjoy developing web applications and that is still what I do on a fulltime basis. Now I want to develop games and do something a little differently, to learn new languages and create something other than web applications. ... Read More