Archive for the ‘programming’ Category

Sky mobile programming

Tuesday, February 13th, 2007

I just saw an interesting new feature from Sky, the satellite TV provider. You can program your set-top-box on your mobile phone. So if you are away from home and hear of an interesting show you can whip out the mobile phone, find the relevant show and set it to record. Presumably the Sky mobile server then communicates with your set-top-box at home.

A simple but useful idea. I wonder how much mobile phones will come to be remote controls for all manner of other fixed devices? I wouldn’t mind being able to SMS my car to turn on the heating 5 minutes before I get into it.

TextMate tip

Tuesday, January 16th, 2007

I normally launch TextMate through a terminal window with “mate *” in the project directory. That brings up TextMate with the folder list showing all folders and files in the project directory. It works nicely but often there are directories in your project that you don’t need to edit but which are cluttering the view.

So just the other day I learnt that instead of “mate *” you can type “mate dir1 dir2 dir5″ and TextMate will load with just those folders shown. e.g. in a Ruby on Rails app you generally only need to edit the app, config and public folders, ignoring the log, vendor, test etc. folders until you need them later. So you can type “mate app public” for a Rails project.

Very uncluttered and useful. Good one TextMate!

Return *

Friday, August 18th, 2006

Everything in moderation and moderation in everything. And with that in mind: Don’t return from multiple points in a method.