Blog

Blog

Graphing Electricity Usage with Current Cost and Munin

Many years ago I bought a Current Cost meter. Infact it was so long ago now that they have called my version The Classic. I wanted to see how much electrical energy all my servers, home computers and gadgets were using.

Am I In The Main Thread?

When coding with multiple threads it can get pretty tricky using system resources. Many can only be used in the main thread. The main thread is the thread that the OS creates to run your code and your first look at it is the main() entry point.

XCode: 'std::' link errors

This is more of a reminder to myself about confusing linker errors that can appear in XCode when you are working on large projects with many dependencies.

Using Python and Tkinter to capture script output

In order to build the assets for my games I have a series of python scripts that know how to take files TexturePacker, Tiled, and Blender and build them for use within the engine. My main platform is OS X and it has good terminal support and more importantly I am comfortable working with the terminal. The artist I work with is not so comfortable and he works on Windows where cmd.exe is painfully outdated and basically useless.

Generating Anagrams in Lua

I'm working on a game where I need to generate anagrams of words. My new game engine, which is Max Astro's engine but with a few tweeks, integrates Lua and all the game logic is in Lua.