blog archive contact about feed

Rob's Blog - March 2005

Contents

Here are Rob's Blog entries for March 2005.

Blog entries for other months can be found in the main blog index.

A New Series, Another New Doctor

The good news is that the new series of Doctor Who has been recommissioned by the BBC after just one episode!

The bad news is that Christopher Eccleston has quit his role of the Doctor already because he fears being typecast.

Actor David Tennant is the current favourite to play the 10th Doctor.

Entered: 2005-03-31 09:24:23
TRACKBACK - http://www.robertprice.co.uk/cgi-bin/robblog/trackback.pl?id=514

Make U Happy

I was lucky enough to receive a promotional copy of The Levellers new single, Make U Happy, through the post today.

The picture on the case was based on a mobile phone screen, and not one of Jeremy's art works as before.

The song is fairly chart friendly, but the production reminded me more of The Corrs than of classic Levellers tracks. However, it's enjoyable and good to see the Levs releasing mainstream material again.

I'm going to the album preview gig tomorrow so i'll be able to write a bit more about the style and quality of their new material then.

Levellers - Make u Happy CD
PERMALINK - Make U Happy
Lifeblog Entry - Posted via Lifeblog from a Nokia smart phone
Entered: 2005-03-30 19:07:34
Modified: 2005-03-31 09:14:40
TRACKBACK - http://www.robertprice.co.uk/cgi-bin/robblog/trackback.pl?id=513

The View From Cow Gap

We went for a walk along the top of the cliffs to Beachy Head today.

This is the view looking from Cow Gap towards Eastbourne.

View from cow gap to Eastbourne
Lifeblog Entry - Posted via Lifeblog from a Nokia smart phone
Entered: 2005-03-29 00:23:59
TRACKBACK - http://www.robertprice.co.uk/cgi-bin/robblog/trackback.pl?id=512

Hello Dudley

Hello Dudley!

The local cat poses for a quick photo.

Dudley
PERMALINK - Hello Dudley
Lifeblog Entry - Posted via Lifeblog from a Nokia smart phone
Entered: 2005-03-29 00:19:42
TRACKBACK - http://www.robertprice.co.uk/cgi-bin/robblog/trackback.pl?id=511

Grayscaling Images With Perl

One thing that caught my interest today was how to convert a colour image into grayscale.

It turns out the basic algorithm is very simple. Basically it's just...

grey = 0.15 * red + 0.55 * green + 0.30 * blue;

This can be turned into a Perl subroutine using the following code.

sub grayscale { my ($r, $g, $b) = @_; my $s = 0.15 * $r + 0.55 * $g + 0.30 * $b; return int($s); }

Here we pass in the RGB values of the colour we want to turn into gray. We apply the algorithm and return the integer value of gray.

The value we get for gray is used to replace each of the values for red, green and blue.

We can test this subroutine out with the help of the Perl GD module (available for free on CPAN).

#!/usr/bin/perl -w use GD; ## grayscale subroutine sub grayscale { my ($r, $g,$b) = @_; my $s = 0.15 * $r + 0.55 * $g + 0.30 * $b; return int($s); } ## create a new GD object with the data passed via STDIN my $image = new GD::Image(\*STDIN); ## iterate over the number of colours in the colour table for (my $i = 0; $i < $image->colorsTotal(); $i++) { ## get the RGB values for the colour at index $i my ($r, $g, $b) = $image->rgb($i); ## convert the RGB to grayscale my $gray = grayscale($r,$g,$b); ## remove the original colour from the colour table $image->colorDeallocate($i); ## add in the new gray $image->colorAllocate($gray,$gray,$gray); } ## make sure we output binary binmode STDOUT; ## pass the image as a raw GIF to STDOUT print $image->gif;

This code takes an image piped in from STDIN and outputs a grayscale GIF version of the image to STDOUT.

If the code was called convert.pl it would be called as ./convert.pl <test.gif >>test_result.gif.

Here's a conversion I did earlier of a GIF image of Kitt, Bev and Justin at the Emap Performance Awards 2004 using the above Perl code.

Kitt, Bev and Justin in colour

Kitt, Bev and Justin in grayscale

Entered: 2005-03-24 23:25:18
TRACKBACK - http://www.robertprice.co.uk/cgi-bin/robblog/trackback.pl?id=510

Heady Heyady Head Heasdy?

Would someone please remind the editors of Metro to add real headlines to the stories printed in todays paper.

heady heyady head heasdy is a great default header, but doesn't really have much to do with the IRA or abandoned babies.

heady heyady head heasdy

Entered: 2005-03-24 09:08:17
TRACKBACK - http://www.robertprice.co.uk/cgi-bin/robblog/trackback.pl?id=509

My Free New Order Bluetooth Ringtone

I wrote a couple of weeks ago about free New Order ringtones being offered via bluetooth.

The HMV shop on Oxford Street currently has the promotion running in it's left hand window, so I tried it out.

I turned on Bluetooth on my Nokia 6630 phone as I stood near the poster. It took about 15 seconds, but I received a message from the poster asking if I accepted an incoming bluetooth connection. I did, and received the midi ringtone, 2 Krafty.mid.

This seems like a really good use of technology. The poster could be a bit more exciting and eye catching as it looks like a ad from Orange.

The poster also accepts connections via IR if your phone doesn't have bluetooth.

New Order Interactive Ringtone Poster

Entered: 2005-03-23 09:07:46
TRACKBACK - http://www.robertprice.co.uk/cgi-bin/robblog/trackback.pl?id=508

At The Revolution Awards 2005

I went to the Revolution Awards 2005 last night.

Unfortunately we didn't win anything this year.

Fri 18/03/2005 21:28 Revolution Awards
Lifeblog Entry - Posted via Lifeblog from a Nokia smart phone
Entered: 2005-03-19 12:08:14
TRACKBACK - http://www.robertprice.co.uk/cgi-bin/robblog/trackback.pl?id=507

1.42 Billion Mobile Page Impressions In January

The Mobile Data Association has reported that WAP (I hate that term, why not just call it Mobile Internet?) page impressions were up 18% on last year, with 1,420,000,000 viewed in the UK.

The MDA had originally predicted 15,000,000,000 page impressions for the whole of 2005, though I would expect they would want to revise that estimate now.

They also predict that 75% of handsets in the UK will have GPRS, and 5 million handsets will have 3G. That means getting mobile internet pages shouldn't be that much of a problem, though (and I know I always go on about this) data costs are still far to high in the UK. The operators really need to consider cutting the costs and letting increase usage recoup the fall in their profit margins.

Entered: 2005-03-18 09:12:27
TRACKBACK - http://www.robertprice.co.uk/cgi-bin/robblog/trackback.pl?id=506

CellTrack'ing Between Colchester And London

I've been looking at CellTrack program for series 60 phones recently.

This is a native series 60 Symbian application that can record details of the current mobile phone cell your phone is using. It also lets you annotate each cell if you want.

Celltrack is something I downloaded for my Nokia 7610 a while ago, and have just installed on the Nokia 6630.

Screenshot of CellTrack running on a Nokia 6630

On Monday, while the train was running slow, I had it running and started to annotate stations so I could tell where I was in the evening when it's dark outside. CellTrack has a feature that allows you to log used cells to a flat tab seperated file. In my case, as I have the software installed on the 6630's MMC card, the file can be found in the directory E:\Nokia\Others\CellTrack and copied off using the Nokia PC Suite.

Here's the journey I took on Tuesday morning by train. I turned on CellTrack at Marks Tey station and had it running to just before the train pulled into Stratford station in East London.

TimeCell IDLACCell NameDescription
07:26:0812972629XXBC97 BMarks tey station
07:27:1512973629XXBC97 CApproaching marks tey
07:27:358812629XXB881 BApproaching kelvedon
07:28:034340629XXB434 Ano info
07:29:014339629XXB433 XKelvedon station
07:29:254341629XXB434 AApproaching kelvedon
07:31:4016772629XXBG77 BBetween witham and kelvedon
07:32:1016774629XXBG77 XBetween kelvedon and witham
07:32:432084629XXB208 XApproaching witham
07:34:092086629XXB208 FWitham station
07:36:34382629XXB038 BApproaching witham
07:37:152086629XXB208 FWitham station
07:37:557249629XXB724 XHatfield Peveral station
07:38:337251629XXB725 AApproaching hatfield peveral
07:39:3013877629XXBD87 GApproaching hatfield peveral
07:39:4013878629XXBD87 XBetween hatfield peveral and chelmsford
07:39:5213879629XXBD87 XBetween hatfield peveral and chelmsford
07:41:173910629XXB391 AApproaching chelmsford
07:41:373912629XXB391 BApproaching chelmsford
07:42:0716055629XXBG05 EChelmsford station
07:43:013877629XXB387 GChelmsford station
07:43:5216057629XXBG05 GApproaching chelmsford
07:44:103879629XXB387 XApproaching chelmsford
07:44:245282629XXB528 BApproaching chelmsford
07:44:4616779629XXBG77 XBetween chelmsford and ingatestone
07:44:5816778629XXBG77 XApproaching chelmsford
07:45:0816779629XXBG77 XBetween chelmsford and ingatestone
07:45:3116780629XXBG78 Ano info
07:45:492073629XXB207 CBetween chelmsford and ingatestone
07:46:01367629XXB036 GBetween chelmsford and ingatestone
07:46:1112354629XXBC35 XBetween ingatestone and chelmsford
07:46:2512355629XXBC35 EBetween ingatestone and chelmsford
07:47:032073629XXB207 CBetween chelmsford and ingatestone
07:47:21369629XXB036 XApproaching ingatestone
07:47:3211240105XXBB24 AApproaching ingatestone
07:48:1411242105XXBB24 BIngatestone station
07:48:343755105XXB375 EIngatestone station
07:49:143756105XXB375 FBetween ingatestone and shenfield
07:49:3011239105XXBB23 XBetween shenfield and ingatestone
07:50:0916872105XXBG87 BApproaching shenfield
07:50:3516875105XXBG87 EApproaching shenfield
07:50:493661105XXB366 AApproaching shenfield
07:51:423662105XXB366 BShenfield station
07:51:543663105XXB366 CShenfield station
07:55:035319570XXB-76 X?:no info
07:55:2553195765535XXB-76 X?:no info
07:55:5900XXB000 A?:no info
07:56:507240105XXB724 Ano info
07:57:263788105XXB378 Xno info
07:57:523789105XXB378 XApproaching gidea park
07:58:092068105XXB206 Xno info
07:58:1916035105XXBG03 EGidea park station
07:59:3119568105XXBJ56 Xno info
07:59:455057105XXB505 Gno info
08:00:161971403008XXB-12 F*:Gidea park station
08:01:0910925105XXBA92 Eno info
08:01:265058105XXB505 XApproaching gidea park
08:01:596249700XXB624 XApproaching gidea park
08:02:181381700XXB138 Ano info
08:02:301972143009XXB-69 Ano info
08:03:194829700XXB482 Xno info
08:03:238611600XXB861 ASeven kings station
08:03:497748600XXB774 Xno info
08:04:4911170700XXBB17 AApproaching ilford
08:05:179724600XXB972 XManor park station
08:05:393325600XXB332 EApproaching manor park
08:06:029726600XXB972 FManor park station
08:06:1617536600XXBH53 FApproaching forest gate
08:06:4417535600XXBH53 EForest gate station
08:07:551335600XXB133 Eno info
08:08:1914197600XXBE19 Gno info
08:08:3810334700XXBA33 XMaryland station

So what do some of the columns mean? Well Cell ID is the ID taken from the actual cell. LAC means the location area code of the cell. I'm not sure what Cell Name actually is, the CellTrack site says it comes from the cell broadcast as I have a service number set. The description is the text I entered to give a rough location to the cell.

As I said before, the log file has the data in tab seperated format. The data is recorded in the following order...

  1. Date
  2. Time
  3. Cell ID
  4. LAC
  5. Country
  6. Net
  7. Signal
  8. Signal dBm
  9. Cell Name
  10. Description

This makes it very easy for us to write a data extractor using Perl. Here's the code I used to generate the table above.

#!/usr/bin/perl -w use strict; ## Perl script to parse the CellTrack trace.log file, and split selected ## contents into an HTML table. ## Robert Price - rob@robertprice.co.uk - March 2005 ## start the table, and print out a table header. print "<table>\n"; print " <tr><th>Time</th><th>Cell ID</th><th>LAC</th><th>Cell Name</th><th>Description</th></tr>\n"; ## iterate over each line, placing the contents in $line. while (my $line = <>) { ## clean up the data a bit. chomp($line); # loose trailing linefeeds. $line =~ s/\r//g; # loose any rogue carriage returns. $line =~ s/\t */\t/g; # remove preceeding spaces from data. ## split the data in $line into variables. my ($date,$time,$cellid,$lac,$country,$net,$strength,$dBm,$cellname,$description) = split(/\t/,$line); ## create a copy of $time, and format it so it has colons between hours and minutes. my $nicetime = $time; $nicetime =~ s/(\d{2})(\d{2})(\d{2})/$1:$2:$3/g; ## print out the data we're interested in. print " <tr><td><a link=\"$time\" />$nicetime</td><td>$cellid</td><td>$lac</td><td>$cellname</td><td>$description</td></tr>\n"; } ## close the table. print "</table>\n";

You may have noticed I didn't bother to print the country or network used. Well that's because it's always the same for me. The country is 234 (UK) and the network is 33 (Orange). This may be more interesting when travelling abroad and using roaming.

Entered: 2005-03-16 21:10:09
TRACKBACK - http://www.robertprice.co.uk/cgi-bin/robblog/trackback.pl?id=505

V Festival Sells Out In Less Than A Day

It's mad, but tickets for the V Festival in Chelmsford have sold out in less than a day.

We called to confirm this, and it's true. Aloud, See, Ticketmaster and the official V Festival site have all sold out.

Last year the V Festival took months to sell out. I shudder to think what the demand for Glastonbury tickets will be like when they go on sale on April 3rd.

Entered: 2005-03-11 15:43:00
TRACKBACK - http://www.robertprice.co.uk/cgi-bin/robblog/trackback.pl?id=504

E-Money Coming Soon!

New Media Age have a front page leader on the European Commission's decision to allow e-money.

This means that the UK Financial Services Authority will be able reverse it's current policy of not allowing mobile phone payments for physical goods and other digital content. At present prepaid airtime is viewed as e-money for anything not delivered and consumed on a phone.

The FSA is currently consulting the industry on what position is should take, but everyone seems in favour of using the phone bill for payments. The phone networks would have to be on-board should the FSA approve the change and most seem to be making very positive noises about it.

So what does this mean practically? Well it opens up m-commerce for a start. Take a gig ticketing site like Aloud.com, it could potentially offer users the ability to pay for their tickets on their phone bill. Empire could offer cinema tickets, Q could offer CDs and National Rail could offer train tickets. There is a lot of scope, and we're bound to see a whole host of very exciting new mobile services launching soon in the UK.

Entered: 2005-03-10 13:43:52
TRACKBACK - http://www.robertprice.co.uk/cgi-bin/robblog/trackback.pl?id=503

Bad Management At Eastbourne Hospital

There are times when I wonder how some NHS managers actually earn their substantial salaries.

For example, my mum was discharged from Eastbourne DGH on Monday because of a lack of beds.

On Sunday night, she was moved from Seaford ward to the private wing to free her bed up for a new patient. They tried to discharge her that day, but she wasn't well enough. The ward staff apologised but said they were under pressure from the bed manager to try to find patients who were fit enough to leave.

Without going into too much detail, the operation she had involved major surgery, meaning she'll be off work for several months, can't bend down and can't pick anything up. In this condition she's been discharged to look after herself at home. My dad isn't around all the time to help as he has to go to work.

The problem seems to stem from a large number of elderly people blocking beds as they should be moved to nursing or residential homes. The trust probably has itself to blame as it closed down All Saints Hospital that used to take a lot of these people in while long term care was found for them.

I see in the news today that money has now been found to ease the overcrowding (currently at 97% occupancy) after the trust blackmailed the county council by threatening to close the Accident & Emergency department and cancel operations.

I must stress that the medical staff at the hospital were really good, and were having to work under a lot of pressure because of the current situation.

Entered: 2005-03-09 22:39:03
TRACKBACK - http://www.robertprice.co.uk/cgi-bin/robblog/trackback.pl?id=502

Exterbinate

The Daily Mirror has a double page spread on the leaked episode of the new Doctor Who.

It's tempting to read and maybe download it, but i'm going to resist. It's less than a month until the first episode.

Exterbinate
PERMALINK - Exterbinate
Lifeblog Entry - Posted via Lifeblog from a Nokia smart phone
Entered: 2005-03-08 23:40:53
TRACKBACK - http://www.robertprice.co.uk/cgi-bin/robblog/trackback.pl?id=501

Symbian Virus That Spreads Over MMS

Mobile Tech has a piece on a new symbian virus that can spread over MMS.

As usual, the virus runs on Series 60 Symbian phones, tries to spread itself over Bluetooth, but the new twist is that it also uses MMS to send itself to numbers in the victim's address book.

Though rare, it does have the scare factor in that you can potentially run up massive bills without realising. Orange in the UK charge up to 50pence a message so an infection could become very expensive, very quickly.

Entered: 2005-03-08 09:10:04
TRACKBACK - http://www.robertprice.co.uk/cgi-bin/robblog/trackback.pl?id=500

Colchester House For Sale

Our house now has the "For Sale" sign outside, and it's official we want to move.

There's nothing wrong with the house, in fact it's lovely, it's just that we need somewhere bigger now we have a baby due.

Now for the quick sales plug...

It has a living room, fitted kitchen, bathroom, 2 bedrooms, small garden, allocated parking and gas central heating. It's located on Harwich Road in Colchester, so it's quite central and has excellent bus links.

If you're interested contact our estate agents, Jonathon Bysh, or me for more details.

Colchester house for sale via jonathon bysh
Lifeblog Entry - Posted via Lifeblog from a Nokia smart phone
Entered: 2005-03-08 07:40:41
Modified: 2005-03-08 08:55:55
TRACKBACK - http://www.robertprice.co.uk/cgi-bin/robblog/trackback.pl?id=499

Free New Order Ringtones Via Bluetooth

Net Imperative has a story up on it's website, New Order promos album with free ringtones.

This is going to work by offering the tones via InfraRed or Bluetooth from advertising material supplied by a company called Hypertag. I've mentioned Hypertag a few times before, especially relating to an interactive ad I saw at Moorgate station.

The New Order ads will be at HMV in Manchester, and London's Oxford Street. As I work practically next door to an HMV on Oxford Street, I'll be able to test out how it works exactly. The ads are due to go up a week before the new album is launched on the 28th March.

Stephen Morris from New Order said, "The convergence of music and mobile is a hugely important development in the way that people consume music; being the first band to hand out free music clips direct to mobile means we are in the vanguard of this industry shift."

I'm not sure if they are the first band to do this, but they are certainly one of the most well known. He is certainly right about the mobile music convergence though. The phone manufacturers must be looking at Apple's iPod sales enviously and realising that the basic functionality is already available in their devices. They just need to get the user experience right.

2005 will be the year of mobile and music!

Entered: 2005-03-03 09:45:01
Modified: 2005-03-23 09:12:20
TRACKBACK - http://www.robertprice.co.uk/cgi-bin/robblog/trackback.pl?id=498

6630 Test Lifeblog Post

This is the first test post from my new Nokia 6630.

It's just a picture of an advert for Q magazine we have in the office.

Q
Lifeblog Entry - Posted via Lifeblog from a Nokia smart phone
Entered: 2005-03-03 08:59:50
TRACKBACK - http://www.robertprice.co.uk/cgi-bin/robblog/trackback.pl?id=497

New Nokia 6630

We've just been given a new Nokia 6630 to trial Lifeblog with at work.

Details and test postings to follow soon!

Nokia 6630
PERMALINK - New Nokia 6630
Lifeblog Entry - Posted via Lifeblog from a Nokia smart phone
Entered: 2005-03-02 12:06:49
TRACKBACK - http://www.robertprice.co.uk/cgi-bin/robblog/trackback.pl?id=496

Plugged In

This giant plug and socket are on the side of a building near Carnaby Street.

Giant plug on a wall near Carnaby Street
PERMALINK - Plugged In
Lifeblog Entry - Posted via Lifeblog from a Nokia smart phone
Entered: 2005-03-02 11:08:51
TRACKBACK - http://www.robertprice.co.uk/cgi-bin/robblog/trackback.pl?id=495

St. John's Gate

Here's a quick snap of St. John's Gate close to Farringdon Tube station in London.

It's part of a complex that used to belong to the Order Of Saint John, now better known as St. John's Ambulance.

St. john's gate
PERMALINK - St. John's Gate
Lifeblog Entry - Posted via Lifeblog from a Nokia smart phone
Entered: 2005-03-01 08:54:04
TRACKBACK - http://www.robertprice.co.uk/cgi-bin/robblog/trackback.pl?id=494