Functional Coding in Python – The right way

Hello World!

So I’ve been on a bender with this Python thing not having proper functional piping.  I just can’t beleive it was not built in.  Every language should have this.  It cleans up your code so much its unbeleive-able.  Fear not however, I have built one for Python :D.  Now I just need to figure out how to create pip packages.  Anyways, lets just do a quick walk through on what it is, how it works etc.

Continue reading

Battle of the Programming Languages

Hello World!

So this article is to help provide some guidance around which programming language to use.  Note that this article is specifically geared towards delivering code in which intelligence and information is the soul of the product.  In this day and age, that should be every product.

I want to preface this article with a few things

  1. This is an excerpt from a paper I wrote for internal use of my own volition.  As this is the case, I was able to remove all confidential information and publish my findings.
  2. I only analyzed F#, C#, R and Python.  I know there are more, but I picked the top dogs, but F# had some special circumstances that I felt it belonged.

Continue reading

Writing Tweets to HBase – Simply

Hello World!

Many folks may know that the South Florida Evangelism team is undertaking a task that many think is impossible.  Well, in that statement all I hear is “there is still a chance!”  The end goal is to create a teddy bear that can have a conversation about anything.  So step one is to collect as much dialogue as possible from as many sources as possible and annotate them.  What better place to power an association engine for word and phrase relevance than something that forces you down to 140 characters to get your message across.

So as any normal developer I decided to start by looking for samples already out there.  MSDN has a great starter for writing tweets and doing sentiment analysis with HBase and C#.  The only issue with the sample is, that it is very poorly written and difficult to understand with no separation of concerns.  So I want to go through simplifying the solution and separating a few concerns out.

Continue reading

Intro to C# – Switches and Errors

Hello World!

One of my good friends is going through a reskill to become a software developer, so I have decided to help him out, because, isn’t that really my job? Help everybody be successful with programming? Anyways, this has provided some new insight into challenges people face learning to code that you just don’t remember as a seasoned developer. Anyways, he was working through some code and sent me his code to look over. I want to go over both code bases and why I chose to change even code as simple as that to what it has become. The code written derives from the Microsoft Virtual Academy Intro to C# series, located here.

Continue reading

Persistent Game State and Switching Scenes – Memory Leaks and Crashing!

TitleScene

So I wanted a really cool menu scene where I have actual characters from the game and a 3D world as the backdrop.  You can see the image above for an example.  When you click New Game, the camera zooms in on a single character with the others slightly out of view on either side but still visible.  Swiping left or right takes you to the next character you can choose.  While you are on a character, you can interact with the character via normal input, switch between attack and spell phases, create a minion etc.  These characters are powered off of the same state management system that centrally controls the state of my game.  This same system also includes my event management system, which is also persistent.

Continue reading