Archive

Archive for June, 2005

New Phone

June 12th, 2005 1 comment

OK, so yesterday, I got my new phone – a Samsung e720, and so far (not having played with it too much), I’m pleased that I got it.

I’ll keep you posted!

Categories: Uncategorised Tags:

Back On The Water

June 9th, 2005 No comments

I’ve just found out that I’m going rowing on water for the first time in about a month tonight.

I’ve been training and using ergo’s, but I havent’ been out on the water since I entered my first race about 3 weeks ago. It isn’t because I’ve given up, it’s just that I’ve been soooo bloody busy lately, I haven’t actually had time to get out on the water.

I’m hoping that I will have remembered what I need to know, and that I can remember how to move on of those boaty-thingys.

Categories: Uncategorised Tags:

Mobile Phones

June 9th, 2005 No comments

I’ve been getting desparate recently about my mobile phone, and I’m pretty sure that I am going to end up with a Samsung e720. I’m liking the look of it, the size and the fact that it is a clamshell (which I’ve never had before, so y’know, it’s good to try new things).

I’m slightly worried that it might not have a bluetooth data connection on it to get the pictures off, but I’m pretty sure that it will – the only thing I think it is missing is a modem data connection, but I don’t really use that anyway, so that’s not a problem.

The only thing that I think I would miss is the ability to put applications on to the handset, but I don’t think that’ll be a problem either – I’ll just have to learn to use J2ME instead of learning to use C++ on Symbian (that’s so that I can finish my damn “GrogBlog”), and seeing as I don’t use half the “smartphone” features on my 6600, it doesn’t really seem like it will bother me.

Incidentally, following a cue from one of the guys that I work with, I recently bought a £25 Nokia 1100 Pay as you Go, so that I can take it out clubbing with me, or other places where I wouldn’t mind losing/bashing/destroying it so much (yeah, a £25 loss would be annoying, but not as annoying as a several hundred pound loss for my “main” phone). As far as the handset goes, I haven’t used it at all yet, but essentially it’s a 3330/3410 repackaged into a smaller handset, so it does all the basic things really well (which is all I’m really going to need), and rather wonderfully it takes the same battery as my 6600 (so for the time being, I can swap and change batteries as and when I need). I’ll let you know how I get on with that one.

Categories: Uncategorised Tags:

Russell Crowe

June 9th, 2005 No comments

I heard on the radio this morning that Russell Crowe went on TV to apologise for throwing a phone at a hotel employee.

He said he felt he needed to cut himself some slack because he was just getting used to being a husband and a father away from home.

OK, fair enough, in those circumstances I would feel the need to phone home every so often, but just because I couldn’t does not mean that I should be allowed to “throw a spaz” and chuck a telephone at hotel employee. And why does he feel the need to excuse himself – “It’s OK Russell, you yourself can excuse you, so there isn’t a problem”.

He also said sorry to his wife on air. How about saying sorry to the person you threw the phone at? That would be the first person I would feel the need to apologise to, followed swiftly by the hotel for causing a scene. After that, that’s the point where I would feel the need to apologise somebody who I’d mildly let down.

Categories: Uncategorised Tags:

XML Music Library

June 7th, 2005 1 comment

I’ve been thinking recently about an standard XML music library format (I’m probably thinking about reinventing the wheel here – some one shout if this kind of things exists already, which is probably does). I reckon it would be pretty easy to create one which would defeat a lot of the problems that I have discovered with other systems.

My main advantage would be tagging, and referencing. First I should explain that I am going to base the library around a “Song” (N.B. – This does not mean a file). I can then give the song a name, a main artist, year of release, etc. I can then employ tagging to tag a series of genres to the song (letting me classify it into a series of genres, not just one), tag a song into a series of albums (think compilation CDs and “greatest hits” albums), tag extra artists to the song (think “featuring xyz”).

I can then use referencing to do the clever bits. Imagine I make a hash of the song name and artist (the actual hash function wouldn’t matter – you could [again] tag the song with multiple hashes, each one specifying the algorithm name), and store that as a “reference”. I could then link a song to another song simply by specifying the original song reference, therefore I could take in to account things like live versions, cover versions, mixes, album versions, new versions by the same artist, etc.

And seeing as it is XML, you could take it anywhere – cross platform, simple file format (so can be editted by hand if needs be), can be interpretted (either SAX or DOM) by a lot of applications, easy to backup, and can be interpretted into/exported out from a database.

Agreed the file could get quite large, but I think the benefits outweigh the costs.

Anyone got any objections?

Categories: Uncategorised Tags: , ,

PHP Classes

June 7th, 2005 No comments

I’ve been investigating PHP classes (the version 4 kind) over the past couple of days, and I’ve now started to rewrite this website so that I use them in a more effective way.

In the past, the site was made up of a mish-mash of functions, and a variety of functions to output data in different formats (read: HTML and RSS). By turning it into classes, I can make it a much more intelligent process, and can separate (not entirely, but more than before) the application logic and display logic.

As an overview, I can tell you some of the basic details.

I have created 2 simple hierarchies of classes:

The first is the “databaseObject” hierarchy – this creates a generic base class for anything stored in the database, and then a class for each record type (i.e. database table). Further to this, I have created “holding” classes – essentially array manipulation classes.

The second hierarchy is the “formatter” hierarchy. I’ve created a base class with functions to output each class type. I then inherit this class for each output format that I want (e.g. HTML, xHTML, RSS, and others). Each one of these classes overrides the base methods (only those needed) from the base class, and formats the output according to how the format requires. This does mean though, that I need to generate the base output in the “master” PHP file (i.e. the file being executed and viewed) such as the base HTML page – but this is kind of desired anyway.

Hopefully, in the future I should be able to add facilities better, and also add output formats quite simply (without having to completely rewrite chunks of my site).

I’ll try and generate some form of UML diagram to make it a bit clearer, and post it here.

Categories: Uncategorised Tags: , , ,

Another Weekend Away

June 5th, 2005 2 comments

I just come back from another weekend away. This time, we’ve been visiting James in Canterbury.

I think last night I had the best night out that I have ever had – it had to be seen to be believed, but it involved dancing like idiots and falling through a bar in Wetherspoons.

Anyway, this time, I managed to take pictures myself, so I should be uploading them later on today.

OK, I’ve uploaded the pictures now, and they should be in the gallery under “Canterbury 2005”
Categories: Uncategorised Tags:

Simply Genius

June 2nd, 2005 No comments

This, is a mighty fine prank:

Dress up as U2, go to the roof of your appartment just down the road from Madison Square Garden in New York, and play a roof-top concert, a la the real U2, on the day they are performing at MSG later that night. Get 75 of your friends, who are in on the prank to run down the road shouting “U2 are performing down there!”, put a bouncer outside the next door building to confuse people, print off fake press passes, employ a Japanese camera crew, and hey presto! One top notch prank.

Genius.

(From Richard)

Categories: Uncategorised Tags: ,

More New Forest Tales

June 2nd, 2005 No comments

Seeing as I am being slack and not blogging as promised, I’ll tell you about a new sport that I have invented.

It’s called “Mound Running”, and basically, all you need to do is to find a large field, which is a big boggy, and has thousands of low, wide mounds (about 1″ high and 12″ by 24″ oval size), that are about 12″ apart – like the field at the back of the campsite I was staying on.

Then all you have to do is to run along the top, only stepping on the mounds.

I became quite good at it, and apparently it was very funny to watch. Unfortunately, no one saw fit to video it on their mobiles, so I can’t prove anything. Damn.

Categories: Uncategorised Tags: