Remote Recorder trial version

I’ve decided to release a trial version of my Sky+ Android application Remote Recorder so that it’s a bit more accessible to people who want to try it out before they commit to a (refundable) purchase.

The trial version is limited to one recording request for now, but that may change in the future if people want to try it a bit more. For now I believe that one recording is all it takes to get a feel for the application.

Along with this new trial version I have made some minor changes to the full version of the app. There are now some more robust checks in place to see if your login details are correct, and to find out if your remote record request was properly received by Sky.

To find either version search for Remote Recorder on the Android Market and pick the one you want. Any feedback is greatly appreciated.

Sky website problems

My Remote Recorder application got a bad review earlier because the search was too slow. It turns out that the section of the Sky website that deals with remote recording is actually down. There’s not really a great deal I can do to make my app work when Sky is down, but I really should have had some more sturdy error handling in place.

The MySky section of Sky.com

The MySky section of Sky.com

As I was in the middle of testing a couple of quick changes Sky seem to be attempting to fix this now, and the service keeps going up and down.

I’m pushing out an updated version now with a more helpful message in the event of a communication failure.

Deliveries

I ordered Ulysses from an Amazon listed store 9 days ago and it has not yet been delivered to me. Luckily Hayley lent me another book that’s on my list: Heart of Darkness by Joseph Conrad. I’m reading that first now because of this stupid delivery failure.

In the time it’s taken this place (so far) to send me one book Lizz has had something sent to her from 5000 miles away in California. Unfortunately this one is also absolutely insane because the delivery company apparently attempted to deliver it to us at 05:27 this morning and then took it away because nobody was there to receive it. I say apparently because they left no note or missed delivery card. If they actually did attempt delivery at that time then they need to seriously get their shit together.

Why are deliveries companies still so pathetic in the 21st century? They know most people work or go to school or generally just leave the house in the day. Why oh why are the standard delivery times also the times when people are out of the house? Why do half of these places only offer collection on weekdays during regular working hours, or half a day on Saturday morning when people might want to get a bit more sleep than normal?

Work it out guys!

Remote Recorder Android app for Sky+ (and Sky+ HD)

A month ago I wanted to set something on TV to record from my phone because I was out of the house. I was aware of the Remote Record option available on the Sky website, and that I could send an SMS to a specific number to set it up, but the website is a real pain to use on my phone, and I couldn’t remember the phone number, or what to send to it anyway.

I figured there was probably an Android application for sending a remote record request via the web, and there actually was. I was very pleased, until I saw that is cost quite a bit of money. This was when I came up with the idea of writing my own Remote Recorder application.

After a lot of my evenings and weekends spent on it I finally have a working application that I’m satisfied with enough to release to the general public.

Search the Android App Store for “Remote Recorder” and give it a go!

Remote Recorder has a very basic interface. You enter the name of the show you want to record into the search box and results are returned for you to choose from. Once you’ve chosen a show a list of show times and channels is retrieved and displayed to you. If you long-click on the show description then a remote record request is sent to Sky and they forward it to your Sky+ or Sky+ HD box. Hey presto, your show gets recorded. 🙂

Your search results

Your search results

A list of showings

A list of showings

Sending your remote record request

Sending your remote record request

Funny comments in open source software

Whenever I’m looking through code at work I come across various little nuggets of wisdom from whoever wrote what I happen to be working on at the time. Usually it’s just something fairly innocuous and helpful, but sometimes it’s just downright funny.

Based on this I decided to take a look around various pieces of open source software to see what kind of things their developers leave behind for future coders. I’ve gone through and come up with a list of some of the better ones. Enjoy:

/* most drives spin up by 10sec */
/* > 99% working drives spin up before 20sec */
/* give > 30 secs of idleness for retarded devices */

Linux Kernel – drivers/ata/libata-eh.c

/*
* Now, we have to map the power management section to write
* a bit which enables access to the GPIO registers.
* What lunatic came up with this shit?
*/

Linux Kernel – arch/x86/kernel/visws_quirks.c

"""
This insane behavior probably doesn't matter, but we're compatible just for shits and giggles.
"""

Mozilla – source/build/pymake/pymake/data.py

/* There are, alas, devices in this world too dumb
* to read their own hardware colormaps. Sick, but
* true. */

X.org Server – dix/colormap.c

/* Well, I wonder, rfc1812 was written by Cisco employee,
what the hell these idiots break standrads established
by themself???
*/

Linux Kernel – net/ipv4/ip_gre.c

/* NB: this is conceptually wrong, the string returned by setlocale should
* be taken as opaque -- but then we would be in deep shit^Wtrouble. This
* seems to actually happen on Win32.
*/

XBMC – sources/enca-1.9/src/locale_detect.c

Ulysses by James Joyce

I decided that three years is far too long to spend “reading” Ulysses by James Joyce. I’ve given it a fair few shots now and again when I have a few spare moments. I’ve probably made it about a quarter of the way through since I started. It’s just so frustrating to read that I always give up and can’t be bothered with deciphering it.

I decided to go to Amazon.co.uk and buy the cheapest copy of the book available. After a bit of searching I managed to get a copy delivered for something like £3.75. Can’t grumble about that. It is a used copy, but the description says it’s in good condition.

I’m very close to finishing Wizard and Glass from the Dark Tower series by Stephen King again (because it’s an excellent book) and so before I begin Wolves of the Calla I aim to read Ulysses on the train in the mornings and afternoons until it is done with. Hopefully things will move along a bit more swiftly and I can cast this entire story away for the rest of my life. I think I might actually burn my copy once I’m done. Either that or frame it and put it up on the wall somewhere.

I hope it arrives soon so I don’t have to travel to and from work without a book to read for too long.

The Way I Are – Annoying Song Lyrics #3

Timbaland – The Way I Are is pretty much just a load of garbled rubbish from beginning to end, highlighted by the ridiculous title. The fact that it got absolutely played to death only made it worse. Yet strangely, the title of the song is not the part that annoys me the most about this song. It’s not even this ridiculous line:

I don’t need the cheese or the car keys

No, the part of the song that annoys me the most is the following section:

I don’t got a huge ol’ house
I rent a room in a house
Listen baby girl
I ain’t got a motorboat
but I can float ya boat

Seriously? Rhyming “house” with “house” and “boat” with “boat” in a properly released song is acceptable? This line is said by the rapper D.O.E. who I’m pleased to say I’ve never heard of before or since this song. I just thought rappers were supposed to be good with words. I was obviously mistaken.

Love SQL

Something I’m working on at the moment requires a rather large collection of data to be moved from several places into one clever little table that I’ve created. It’s going to consolidate functionality and make things much easier to script in a few different environments.

Gathering all of this data together has been made pretty damn easy by using a few choice SQL queries. A few months ago I would probably have written a Perl script to do this instead, but that’s really not necessary.

This first query performs a SELECT on one table and uses the values to populate the INSERT statement values. It’s quite simple because all of the required data is in one table on the same database as the table it’s being copied to. All field, table, and database names have been changed to protect the innocent.

INSERT INTO clever_table (id, person_id, email_address, email_type) SELECT NULL, person_id, email_address_1, email_type FROM prefs WHERE email_address_1 IS NOT NULL;

The second query is a bit more complicated. It performs a SELECT on a table in one database that does an INNER JOIN on a table in another database and then an INSERT to get all of the collated data into a different table in the first database.

INSERT INTO clever_table (id, person_id, email_address, email_type) SELECT NULL, person_id, people.email, email_type FROM prefs INNER JOIN other_db.people ON prefs.person_id=people.id WHERE prefs.password_reminder=1;

I was quite pleased to find this worked first time when I tested. It doesn’t seem complicated to me now, but I know it would have done before I started working where I do now.