Archive

Archive for December, 2004

Well I’ve Had A Busy Day!

December 28th, 2004 No comments

It all started yesterday when I went to my local PC World and bought a DVD Rewriter for £50.

Now, I couldn’t put that in my laptop, so I bought it to go in my Linux powered desktop

So, I took the opportunity to reformat the hard disk and install Fedora Core 3 – which I’m quite impressed with already. I then came across a small problem. I want to start work on an improved version of my MP3Laptop project – this time to provide music around a house.

Being the tinkerer that I am, I decided that I wanted to do it on PHP 5 and MySQL 4.1 – which Fedora does not provide (only PHP4 and MySQL 4.0). I managed to find a reference for somebody that had swapped out the PHP and MySQL RPMs for development ones for Fedore Core 4. So I followed their instructions, and rather amazingly (considering his instructions for the a 64-bit architecture), they worked perfectly!

Except…. when I came to play with the new PHP5 mysqli class for using prepared statements and all the wonderful things that MySQL 4.1 can now provide, it wasn’t compiled into the PHP RPM.

I’m currently working on getting PHP 5.0.3 compiled, and apart from a few hiccups, it seems to be going OK. I’ll give you a few hints anyway:

1. Make sure you have the httpd-devel RPM installed – get that from your install CD and installed with “rpm -i ” – mine complained that I didn’t have a couple of other files installed, just tack the file names on the end of the command and that should work!

2. Make sure you have “aspell-devel” installed – again it’s on the CD and use “rpm -i” to install that as well.

3. Before compiling, create a simple PHP file on the server where the system will be compiled, with the code “<?php phpinfo(); ?>” in it (nothing else), and view the file normally from the server. In the output HTML, there will be the list of configure options PHP was built with previously – copy and use these, just add “–with-mysqli=/usr/bin/mysql_config” to the end (assuming you have installed the new MySQL 4.1 RPM)

That is as far as I have got so far, but everything seems to be compiling OK at the moment – I’ll let you know how I got on.

Doh! Compilation just failed on the ODBC step, I’ll try and fix that now
Fixed the ODBC step – just needed to install the unixODBC-devel RPM – again it’s on the installation CD and use “rpm -i” to install
Categories: Uncategorised Tags: ,

Merry Christmas!

December 27th, 2004 No comments

I know that it’s a couple of days late, but I’m not really bothered. Plus, I wasn’t going to be antisocial and spend sometime on my own, on christmas day, writing a blog entry!

Hope everyone has had a good Christmas, and here’s to a fab new year!

Categories: Uncategorised Tags:

This is a very good point!

December 22nd, 2004 No comments

On this page: http://news.bb c.co.uk/1/hi/magazine/4091525.stm#friday there is a question posed:The Monitor this week received a Christmas card, in a normal-sized envelope, but on which the address had been typed with an old-fashioned typewriter. The address showed evidence of a mistake having been corrected with Tipp-Ex. The postmark was too indistinct to read. The flap was not sealed, but rather tucked down inside the envelope.

The card was unremarkable, with no particular distinguishing factors. And there was no writing inside. None at all. In short there was no indication whatsoever who had sent this card.

So your challenge is to come up with a way of determining who sent it.

One guy answers with this:Unless it was one of those new self adhesive stamps, DNA may be the key. The stamp will have been licked. Recent reports suggest that DNA can be related directly to surnames – this will immediately reduce the field considerably.

And then I thought, that must be very true! They could be a very distinct link between surnames and DNA.

For those of you who don’t know, English Surnames (originally) relate to the occupation of the person (we’re talking ancient times here, and as jobs stayed in the family, so did the name). So if your surname is “Smith”, at some point in the past, an ancestor was a smith (of some description). Over the years, some occupation descriptions have been mangled, and some lost from the English language, etc.

So, if we assume that a Gene in your DNA makes you particularly good at working metal (roll with me here….), then you probable have a desire to work with metal, and so you become a smith and a Smith. And if that DNA travels successfully down the line of the descendents, then it would still be in the Genes of the modern Mr (or Mrs) Smith.

So, find the smith Gene, and find people with that Gene, you could probably guess their name. Cool!

Categories: Uncategorised Tags:

Ringo Starr Tracks Santa

December 22nd, 2004 No comments

Ringo Starr apparently works for NORAD and is helping them track Santa’s progress across the UK this year!

Have a look! http://www.noradsanta.org/english/aboutnorad/ringo.html

Categories: Uncategorised Tags:

Happy Chavmas!

December 21st, 2004 No comments

On the 12th day of Christmas, my true love gave to me….

Twelve Chavvers chavving
Eleven prammers pushing
Ten lads joy-riding
Nine ladies drinking
Eight midriffs showing
Seven Scallies stealing
Six teens a-laying
Five gold rings
Four stolen phones
Three naval studs
Two tracksuit tops
And a Pikey in Burberry

Merry Christmas!

Categories: Uncategorised Tags: ,

New Drug Driving Laws

December 19th, 2004 No comments

On my way back from rowing this morning, I heard a news report that said that the UK Police were getting powers to test people if they suspect that they are on drugs and are driving.

The RAC didn’t seem to happy about the accuracy of the tests, but hey. One of the tests is to stand on one leg.

And here is my point. What about people with only one leg? What do they stand on?

Categories: Uncategorised Tags:

I’m Liking This

December 18th, 2004 No comments

As I write this, I’m using a new tool that I am currently writing to let me post blog entries without really having to look at the database structure behind them.

I have chosen to write it in C#, as a bit of learning experiment. So far, I am very impressed. It just seems to work so well.

Yeah, there are a couple of little niggles that I have, but the rest of it seems to work so well.

Well done Microsoft.

Eeew, I feel dirty.

Categories: Uncategorised Tags:

My Friend Richard

December 17th, 2004 No comments

He’s a bit sadistic sometimes.

I received an email from him today pointing to a BBC Radio 1 page on the effects of drink and drugs on the body (http://www.bbc.co.uk/radio1/onelife/fun/health/excess/drop_test.html)

His comments on the page were as follows: Subject: Torture A Clubber
Feed him a variety of drugs and see what happens. Hilarious.

-R He’s got a lot to learn….

P.S. http://www.holygoat.co.uk

Categories: Uncategorised Tags:

Shopping Pictures

December 17th, 2004 No comments

Here’s the pictures that I was talking about, it’s a manequin that has been posed to make it look like it is scratching its arse.

 

If you want to see them in their full glory, they are in the “Funny” gallery

Categories: Uncategorised Tags:

Woohoo!

December 17th, 2004 No comments

Excellent!

As of 5:00pm yesterday, I have miraculously managed to finish all of my Christmas shopping (all apart from a couple of rolls of wrapping paper!).

Every year, I seem to say that I will get it done earlier and earlier, and although I got off to a pessimistic start, things seem to have fallen in place quite nicely this year!

I also took quite an amusing picture whilst shopping yesterday. Also, I got my rolls of wrapping paper now, too!
Categories: Uncategorised Tags: