Is C# Missing Traits?

Does C# need "traits"? It's always interesting to look at other programming languages for features that aren't available in your main programming language. First, what the heck is a trait? Traits are a language construct that is unique to Scala. Let's check out how traits work in Scala. A trait…

Intro to Group Theory

I took several courses on Abstract Algebra as an undergrad and graduate student in college. One core aspect of Abstract Algebra that we studied was Group Theory. Group theory is an underpinning of Category theory which has shown up quite a bit in programming lately with linq and functional programming…

Audio Tools for Game Development

Developing audio for video games can be quite an intricate and complex task. Great audio can make a game with simple graphics seem quite sophisticated. Many of the early 8-bit video games had memorable musical scores. The task of creating custom audio can be greatly simplified by using the audio…

Global Conditional Compilation with Unity3D

I am developing a Unity(4.3.4) game and need to toggle features on and off between the Lite and Standard version. The Lite version contains ads and is free, while the Standard version costs 99 cents. One technique for doing this in C# is to use preprocessor directives…

Pixel Hero - Windows 8 App Post Mortem

This blog post just didn't want to get out the door so it's being published almost half a year late:) I published a Windows 8 app, Pixel Hero late Saturday night (9/7/2013) into what is now called the Windows Marketplace. Apps published into this marketplace are still commonly…

Nuget Packages You Should Know About

In order to build software quickly we stand on the shoulder of giants. The .NET ecosystem has many great software packages that can be leveraged to speed up your development cycle. Here is a list of packages available via NuGet that will land you in the pit of success if…

MongoDB Utilities

MongoDB comes with several very useful utilities for managing data. You can restore data from a MongoDB dump with the following command: mongorestore dump You can import data from a csv file with the following command: mongoimport --type csv --headerline weather_data.csv -d weather -c data …

Installing MongoDB on Mac OS X

Here is a quick guide for installing MongoDb for developers. Download file curl http://downloads.mongodb.org/osx/mongodb-osx-x86_64-2.4.7.tgz > mongodb.tgz Extract file tar -zxvf mongodb.tgz Move files to usr/local folder mv mongodb-osx-x86_64-2.4.7/ /usr/local Open your .bashrc file cd…