-
Follow me on Twitter
- @MikeMc68 they should be banned, same as the people who stand in the exit rather than stepping off, blocking people from getting offSeptember 3, 2010 12:31
- My hearing is still fecked from riding the Deaf Machine 3 days ago... its a stupid deathtrap of a bike but very very fun...September 3, 2010 8:24
- built a bridge rectifier for my AC generatorSeptember 2, 2010 9:24
- @mike_1727 with a pint of ale in each hand, progressively lightening themSeptember 2, 2010 8:09
- Just ran another 7km - 2 days in a row... will switch routines and exercise down the pub tomorrowSeptember 2, 2010 7:54
Programming tutorials Archive
-
Arduino – Redefining the TV Remote
Posted on June 13, 2010 | 2 CommentsWe use them every day, but has no one got bored of pressing buttons on a stick, it’s far too much effort pressing buttons! Surely there are better ways to control a device? After doing some work with my Nikon camera using IR to control... -
Oracle: Delete all rows from all tables etc…
Posted on April 13, 2010 | No CommentsQuick method to do multiple actions across multiple tables. Simply spool a script with your commands in for each table – this way you can avoid dropping your tables or user and still keep all your schema structure. So for instance to delete all data... -
Oracle: Update From equivalent
Posted on March 22, 2010 | No CommentsQuick note on how to update data in a series of joined tables using a subquery in the UPDATE statement in Oracle, kind of like the UPDATE FROM in SqlServer. First of all check out the above diagram, I’ve stolen it from this link: http://download.oracle.com/docs/cd/B19306_01/appdev.102/b14261/update_statement.htm... -
Using Processing to Send Values using the Serial Port to Arduino
Posted on December 24, 2009 | 5 CommentsIn this write-up, I’ll show how to create a value in Processing and then send this value over the serial port to the Arduino. In the example I’m setting values of LEDs making them brighter or dimmed but this example can be extended to control... -
Arduino + Processing – 3D Sensor Data Visualisation
Posted on December 15, 2009 | 22 CommentsSo following on from my previous posts about visualising sensor data in Processing, I’m now looking at drawing 3D representations of the data recorded from the Sharp IR sensor – although can be any kind of range finder. I started by rigging 2 servos, one... -
Changing the HTTP port Oracle uses
Posted on December 12, 2009 | No CommentsIn a production environment your database server will be completely separate from your application server or at least it should be. So in theory you should never really need to change this setting unless its for your development environment. In my case I needed to... -
How to Setup Debugging in Eclipse for JBoss
Posted on December 12, 2009 | No CommentsThis is really useful – only recently found out how to do this and the benefit is enormous. Basically by a small configuration on JBoss’s startup configuration and a setting in Eclipse we can toggle breakpoints in our java code so that we can see... -
Hot Deploy Java code/ ATG components on JBoss
Posted on December 12, 2009 | 4 CommentsPretty simple, on a production environment you start JBoss with its run file and a series of commands, which then picks up your EAR file from the deployment directory. Which is a fine process to go through, but what if you’re developing code and you... -
Setting Database Connections in JBoss/ ATG
Posted on December 12, 2009 | No CommentsATG communicates to a database via JBoss via a dynamo server setup or in your home/localconfig directory if you’re not using specific dynamo servers. In this setup you specify the JNDI connection name which will then refer to an XML file which makes up part...