“Beginners Guide to the Kinect API”, a session aimed at scratching the surface of the Microsoft Kinect API, got its first outing last night at Dev South Coast, a monthly developers meetup in Southampton (previously known as NxtGen Southampton).

Kinect at Dev South Coast

The session went through the various streams of data available from the Kinect – such as audio, camera, infrared, depth, skeletal face mapping and skeletal structure mapping. Each stream had a demo and a dive into the code used. Unfortunately the audio demo decided it didn’t want to listen, however we were able to move on and take a look at the camera feeds which thankfully did work correctly.

One nugget of information I wanted to get over to the attendees was that the Kinect API makes it easy to grab the post-processed data from the Kinect. The streams are really easy to pick up and the API delivers the data through events which you can easily handle. Streams such as the ColorStream() deliver camera images, add in the event of .ColorFrameReady and it’s so easy to pick up the camera frame through the event arguments (e.ColorFrame) – I don’t think it could be easier!

I’ve put the session forward for DDD North and hopefully it will be picked by the attendees as it was a session I really enjoyed. Giving a talk at an event such as DDD North is a little less nerve-wracking that last nights’ talk as at a DDD event the attendees have the ability to move into a different session if they don’t connect with the topic or the spreaker. At a Dev South Coast event there is no other session, it’s like having a captive audience. Last nights session was also the first one where I’ve broken into doing live code demos – thank goodness for Coderush and templates!

Hopefully the session was enjoyable – just waiting for the Dev South Coast feedback.

24-06-2013 13-49-43Oracle Data Provider errors can often be the most useless text you’ll ever read. They never seem to offer any assistance in actually finding out what the problem is.

Take the one I’ve been presented with this morning. The error to the right is one that normally strikes fear into any developer who uses the ODP library for accessing an Oracle database from the .NET framework. Usually it points to a corrupt Oracle Home folder or a misaligned registry entry, but it’s never an easy one to solve.
Continue reading

Fighting Fantasy bookThe Twilio powered Adventure Game has been a great success so far but I think I need to add a few elements from the original Fighting Fantasy books to move the game away from a simple path-following story to a more interactive story.

First-up is the introduction of enemies. Warriors, ghouls, werewolves, trolls and fiendish imps. Each one you meet on your travels will need defeating, which means we need to introduce health and a dice roll mechanism, which will probably end up being a simple random number generator to begin with. I’ve yet to work out the precise mechanics but I’m thinking you might earn back half the original health of the enemy you’ve beaten. We’ll need to add in some food and potions along the story too, to build up the health.

Continue reading

The good lady recently bought me a premium subscription to Spotify. Amongst lots of new features is the ability to play music on my mobile streamed from Spotify, which, when I connect it to my 3G Mifi, means I can stream almost any album from wherever I am.

Add into the mix the fact that I currently drive a Mercedes Benz A-class with a very nice music console and a 3.5m jack input for aux. input. If I run a short 3.5m stereo cable from the phone to the socket I can get streamed audio straight into car. However, there would appear to be a slight problem. For the past few weeks the setup has been producing a lot of feedback. The sort of engine noise, electric switch style feedback you used to get on old cars with no suppressor on the antennas or speakers.

Continue reading

Many blog authors use plugins in WordPress to make their code samples look good. Code is generally written in most IDEs in a mono-spaced font, yet blogs are written in proportional fonts so code pasted in between blog text is usually very unreadable until you add a plugin to wrap the code samples in a mono-spaced font style.

There are a great deal of plugins available for WordPress which will make your code samples look good and the one I’ve started to use is called “Prettify GC Syntax Highlighter” (It had the highest rating!) The style is great but you can’t easily add captions to the code.

Continue reading