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

To play just call the number or text the word ‘Play’ to – 0200 333 1985

51339jW18WL.Image._As a child I loved playing/reading the “Choose Your Own Adventure” books. (See Amazon) The very fact that I was able to decide how my story went was probably one of the first role playing games I ever played. I remember going through all of them in my local library, then waiting patiently for the new editions to arrive.

As a challenge, my girlfriend and I set about recreating the same sort of thing using PHP. She chose to go down the browser route and I decided to try out the Twilio platform which would allow the user to play via their phone, initially using the touch-tone signals and eventually moving onto SMS based play. I’d previously played with Twilio at a very low level, creating a messaging platform for the radio show, The Games Cast.
Continue reading