• Preventing lock screen from appearing after you’ve remoted into a host through Remote Desktop

    by  • January 12, 2009 • 1 Comment

    I’ve been trying to perfect my HTPC setup recently, the latest addition being a Logitech Harmony 555 remote which lets me control all my devices from one remote control. It’s based on activities like ‘Watch Sky’,‘Play XBOX 360’ and ‘HTPC’ and switches the appropriate inputs on my TV, amp, and other devices, and assigns the […]

    Read more →

    301 Redirects with Plesk

    by  • January 8, 2009 • 5 Comments

    I’ve just recently signed up with a new web host (Weycrest) to take over the hosting of my blog, and they utilise the Plesk control panel for administering the thing. I was with Dreamhost before and I had created several sub-domains of paulkiddie.com that act to redirect to another page but I couldnt for the […]

    Read more →

    Speech Recognition and the System.Speech namespace

    by  • December 8, 2008 • 1 Comment

    I had a problem recently where I wanted to find out, very roughly, the topic of a set of un-annotated lectures. I needed a recognition engine that was speaker-independent, and required no training, as I don’t personally know the guy who did them. In the .NET framework 3.5, you get access to the System.Speech namespace […]

    Read more →

    Databinding with Windows Forms controls

    by  • December 8, 2008 • 0 Comments

    In years gone by, to add a collection of items to a collection control, I’ve gone through the long winded way of calling Items.Add on a control, such as a ComboBox. The problem is it is then difficult to resolve the reference of the item you have selected, plus extra code is necessary to clear […]

    Read more →

    Effective server side paging in SQL Server 2000

    by  • July 14, 2008 • 2 Comments

    Recently a client asked me to implement paging on the administrators side of a CV/online application submission system. This essentially lists all the current applications in the system and other data (time of submission, personal details etc). The system has been well received and little thought was paid when developing it in order to scale […]

    Read more →

    Using an object as key for a hashmap in Java

    by  • July 10, 2008 • 1 Comment

    I came across a situation recently where I needed to use an object as a key for as hashmap. According to this Java post all you need to do is to make your class override the Object.equals() and Object.hashCode() methods. I wanted to represent a ‘flow’ in a network, with my contstructor looking something like […]

    Read more →

    Using an older JDK within Eclipse and ant builds (Windows)

    by  • July 10, 2008 • 1 Comment

    Sometimes its necessary to use an older JDK for compiling legacy Java applications. One of these is Jist/SWANS, a discrete event simulator which uses the Apache bytecode engineering library (bcel) but was written in the Java 1.4/1.5 era. The .class stucture has changed in the 1.6 version, and development of bcel hasn’t kept up. Heres […]

    Read more →

    J2ME: enumerating Bluetooth services whilst simultaneously getting the service name

    by  • March 21, 2008 • 0 Comments

    On at least one device (a BlueSmirf), using the following construct in J2ME agent.searchServices(new int[] {0×100}, new UUID[]{new UUID},dev, this); will fail with an UNREACHABLE error code when searching for available Bluetooth services whilst also retrieving the service name  attribute (0x100). Instead, what I had to do was use agent.searchServices(null,new UUID[]{new UUID},dev, this); And then once […]

    Read more →