14 Oct 2007
Did you know that buy default majordomo will give a list of all the addresses on your mailing list to anyone?
I have written a script that will tidy up majordomo config files as follows…
- Only shows lists you are subscribed to with the ‘lists’ command
- Does not allow anyone to use the ‘who’ command to get addresses
- Doesn’t allow anyone to use the ‘which’ command to get addresses
This can either be run once or added to /etc/cron.daily so that any new lists created are forced to the correct settings.
Simply download the file, change the directory path at the top of the file if required and execute. Download Here.
08 Sep 2007
I may not be a Microsoft fan however I do realise that they (or their money) can go into producing something that is truly new and unique. Search for Notre Dame on Flickr and you will find thousands (190 thousand in fact) of pictures of the cathedral. Photosynth has really taken that to the next level and allowed a true 3D map to be built from these 2D pictures.
For me, this is straight out of Star Trek. Saying that, Ironically this is almost impossible without the sort of basic tagging that is only now starting to be done with photos. I am looking forward to seeing where this technology takes us.
See the TED Talks video on Photosynth for a much better example and demo.
08 Jul 2007
Another fantastic trip to Le Mans for the 24 hour race… and you have guessed it, on skates! For those that don’t know the “24 Roller” emulates the 24 hour car race pretty well. Each team has up to 10 members (and three pit crew) and your team has to do as many laps as possible in 24 hours, they even do the Le Mans start where all the skates are lined up on one side of the track with skaters on the other.
This year was hard work, both from the organising from (with the new job) and the actual event. In a complete change from last years heatwave it decided to rain this year. It could have been a lot worse though as it wasn’t driving rain with setting up the campsite and taking tents down done in the dry which makes a HUGE difference.
The new rota went down well with people changing shifts every 40 mins (was 30 last year) which for 9 people meant 2 hours on and 4 hours off and it was fantastic having pit crew there this year! It made such a huge difference having someone to cook and wash up so that we could get on with sleeping between shifts.
As per usual, the hotel on the Sunday night was bliss, a clean bed, showers and a slap up restaurant meal. Roll on next year.
24 Jun 2007
On Sunday 17th June 2007 I skated from London to Brighton, yes roller skated, the full 54 miles!! It hurt! but I did it and managed to raise £1000 for the Portsmouth hospitals NHS trust
Back in 2006 some very fit skaters skated from London to Brighton as part of the BHF bike ride. I liked the idea of it and have done marathons before (26 miles) but they tend to be flat, smooth and nothing like this. I really wasn’t sure about this so sponsorship seemed the best way to make up my mind. I don’t do sponsorship very often (I am not a fan of people that ask for sponsorship to do something they are going to do anyway) but set myself a stab in the dark target of £1000 for the Portsmouth hospitals NHS trust who looked after my grandfather wonderfully during his last days.
The challenge now set it was time to train for this event… unfortunately skating is not a wet weather sport and we have had one of the wettest springs for a long time. Typically the events I have gone for in the past are at the end of the year, my fitness usually gains nicely throughout the year. This year I didn’t get anywhere near enough training in, not helped by organising skating events and starting a new job. Anyway, enough of the excuses!!
As people very kindly started to sponsor me some decided to offer double if I did it in fancy dress, after a bit of indecision I figured that in for a penny and in for a pound. Jon (Lemming) kindly offered to skate with me and get dressed up too so I felt much better about that, a Fred Flintstone and Barney Rubble outfit was ordered. Jon being much taller than me had Fred although with his drinks backpack and my drinks bum bag under our outfits we did look like the hunchback versions!
The day before the event I had a phone call from BBC London (radio station), they wanted to do an interview with me at 7:30am the next morning and again between 2pm and 6pm in their sports show!! I still to this day don’t know where they heard about me or got my number from! I was staying the night up in London with Jon and his girlfriend ready for the early start the next morning. At 7:30 that night (still the night before) my phone rang, we were in very loud restaurant at the time and it was the radio station (yup, wrong 7:30). I did my interview in a phone box outside and babbled badly but managed to mention the important things such as sponsorship, the London street skates and thanking BHF.
The alarm goes off at 6am, Cheryl joins us and we get a ride to Clapham Common from Jon’s lovely girlfriend. Clapham Common is heaving as expected so a quick stake through the traffic and we are at Clapham Common South tube station for 7:30 for the off. There were about 20 skaters there ready to skate with us and another 10 had left at 6am to avoid the rush. We all left promptly and after pausing for a group photo we quickly got caught in the traffic. That early on it was very hard not to go into marshal mode and nip through all the bikes and traffic but Jon and Cheryl would get left behind so I didn’t (that’s the last time you will hear me say that). I had an SMS from mum saying I had just been on the radio! They used different bits of my interview throughout the day as the “and finally” piece on the news although I would have to wait to hear it.
The first third of the skate was hard, very hard, it is very hilly getting out of London and really not the best roads at all. Boy was it a wake up call and really made me think about if I could do it. Jon and Cheryl kept skating ahead but very kindly kept stopping for me to catch up. At the 18 mile mark (just outside the M25) we met my parents at one of the water stops. A lot of skaters had gathered there and it made a good rest and photo shoot before moving on. It was great to see mum and dad there and gave me the push to carry on, I still really didn’t think I could do this but I wanted to get over half way before I stopped, I couldn’t pull out this early.
The next 10 miles were tough, I lost Jon & Cheryl quite quickly who were finding it hard to go as slow as me. The hills carried on now with accidents at the bottom of most where cyclists had collided and to make things worse we heard there was rain ahead. This was all we needed, the roads are bad enough without water on them. One BIG hill later and I found myself at the top of Turners Hill at the 30 mile mark. I met up with Jon and Cheryl again, we later found out that the skaters which left at 6am were in the pub opposite. It seems Turners Hill is a bit of a milestone for the London to Brighton and certainly for me, after the event, it is. We were 55% of the way there but the way we felt we weren’t sure if we could do the same again, we had already done over a marathon and had almost the same to go. We remembered the elevation graph we had seen and seemed to remember the second half being much flatter albeit with Ditchling Beacon there too. Jon was going on holiday the next day, while he felt confident he could do it he wanted to be able to walk! Myself and Cheryl still weren’t sure we could do it but after a good long rest and feeling confident that the second half was a bit flatter we all set ourselves the task of hitting 40 miles and then probably calling it a day.
After a lovely glide down Turners Hill I lost Jon & Cheryl very quickly. The next miles were hard, on my own and spurred on by not wanting to let everyone down. I would like to say a HUGE thank you to the people that called and SMS’d to encourage me on, I could not have done it without you. The cyclists were great too, especially being dressed as Barney Rubble they would shout “keep going Barney” and “almost there Barney”, it did help. There were two guys doing it on clown bikes where the axles are offset and the whole bike bucks up and down, funny to watch but hats off for doing it the entire way!!! The miles were still long and hard though, I kept wanting to stop but knew that would put more distance between myself and the others. In the end I had to and collapsed for 10 mins at a scout hut that had put on food and water. I stopped a few times after that, just to catch my breath and eat a snack, I remembered being told that eating and drinking were very important but it was hard to eat when your tired. I tried not to call Jon too much as I didn’t want to hold him up but he called and while he was definitely getting further away from me he never seemed that far.
As I came into Ditchling Jon called to say they where staying at the bottom of Ditchling Beacon until I turned up. 5 mins later my phone rang, it was the radio station, I had completely forgotten about them! Worried about skating, being out of breath and loosing signal I pulled over into a side lane to do my interview, it actually went quite well even if I do say so! It forced me to have a 5 min break and because I didn’t want to sound grumpy on the radio I had put on my best cheery voice which helped the spirits.
I never realised Ditchling Beacon was so far outside of Ditching village, actually, looking at a map now it isn’t but it seemed it at the time. You see the Beacon loom up in front of you too, the pictures don’t do it justice. I have a break at the bottom and call Jon to find that he and Cheryl are now at the top, it’s no good, I have to have a break. A friendly house at the bottom of the Beacon had opened their large garden up for cyclists to rest in, it was very relaxing although hard to relax knowing what was coming. My GPS read 46.5miles and I knew it was 6 miles into Brighton from the top of the Beacon, 6 miles downhill!! That makes it a 1.5 miles to the top of the beacon. I set off hoping the encouragement Jon had given me was true.
While it would be impossible to go straight up the side it would definitely get it over with quicker! Of course the road winds up the side of the hill which makes it longer and also hard to tell when your near the top. I have to stop a few times, only for 30 seconds but just to get my breath back and point my feet in the opposite direction. Skaters actually have gearing, not in physical sense but the wider angle that we set our feet down the lower the “gear” but the more strides you take. By now, with all these hills it was my hips that were hurting the most, I am used to taking long slow shallow strides instead of so many “penguin steps”. On finally getting to the top it was hard to take in the view, I asked Jon to take some pictures while I went to the loo only to have BBC London call again. I had told them I was about to embark on the big hill and wanted to know if I was in Brighton yet! LOL
We set off from the top of ditchlng (750 feet above see level) knowing that while it was all downhill to the seafront it was still six mile, I was dreading it being a big steep downhill and 5 miles of flat! It turned out to be not to bad and after a big push to stay with Jon and Cheryl we managed to pace line most of the way into Brighton which I am sure looked rather cool too, we had a few comments on it. One mile from the sea front and the traffic stopped us, while they had cone’d a single lane for us they still had to let traffic move around Brighton and so were stopping the cyclists at the lights. If I had any energy in me I would have loved to nip into the slow moving traffic and weave through them to the front as I do most Wednesdays but not today. BBC London had asked that I call them as I crossed the finishing line but apparently they were about to go to the news and so would all me back. As the final set of lights changed and we rounded the final corner to see the finish line a way down the prom. I won’t say I sprinted but I don’t think we hobbled either it was a final push over the line. The British Heart Foundation were stamping official cyclists time cards and handing out medals. Kindly they give medals to non registered participants for exchange of a donation which we gladly did. After a sit down at the seafront we slowly made our way to the station to catch the train back. BBC London called again for their last interview, I think you can tell I am a bit tired by now. A very long queue for tickets and a sandwich later and I am falling asleep on the train back home.
All in all I am glad I have done it but one week on and I am still saying never again! Not unless I become a Lycra wearing super fit speed skater and that is unlikely, I like my food too much. I am glad I did it though, it’s by far the hardest thing I have ever done and I don’t say that lightly but I am so glad I have raised so much money for a good cause. Thank you to everyone that sponsored me!
For those of you that are interested, here is the map and elevation graph from my GPS…
Thank you to Chris for recording 10 hours of BBC London for me.
17 Mar 2007
I’m always looking for the next big thing however my father always tells me that you don’t want to be the first to do something, you want to be the second. It’s true too, I can’t think of many original conceptors that are still doing their ideas. Those that have made a go from it have mostly been through selling the patent however in this modern Internet world it’s very difficult (although not impossible) to patent an idea.
Take Google, not the Google you see now but the original startup Google. They didn’t invent the idea of crawling Internet websites, Digital had done that years earlier with Alta Vista. Google was however the site/company to launch the concept to the masses!
So… if I want to be the next Google, what exists out there today that I could improve on?
18 Dec 2006
So let me get this right, prisoners have been smuggling mobile phones into prisons to keep in contact with the outside world (although I dread to think with who in the outside world), fair enough, it’s going to happen but now they are actively giving prisoners mobiles phones. Now I’m not too worried about the calls (although I can see a few problems there!) but almost every phone nowadays has a basic browser (even WAP) let alone MMS messaging etc. There isn’t much you can’t do from a phone nowadays and well, if they can’t do it then it’s just a phone call away! Why not just give them broadband and and be done with it!
18 Dec 2006
This weekend saw the 2006 Santa Skate and WOW! If I wasn’t feeling full of Christmas before I am now! 300+ skaters hit the streets of London for a street skate and every one of them is dressed as Santa! I’m sure the London, Camberley and any other skaters will post pics up soon however two videos have already appeared on YouTube taken by passers by! I shouldn’t be surprised, as I must be on at least 100 strangers cameras and phones. Everyone was taking our pictures!
10 Dec 2006
I have just finished spending this weekend completely replacing my backup process. Seeing as a few people have asked and it’s all fresh in my head I’ll try and write down some key lessons/decisions I came across along the way… OK, OK, I want to show off a bit too :-p
I have a lot of very old boxes at home so the brief was to build a system that I could use as a web & mail server at home (I have pro hosting out on the internet for big projects), a file server (NAS) for home machines, a music server for home entertainment and a backup server to back up *all* my machines. I decided on an AMD 64 with 4 x 400GB SATA drives and an Adaptec hardware RAID controller set up as RAID 5. I chose CentOS for the OS and the now opensource cobalt GUI for mail & web (for those of you that don’t know there is a very nice combined installer). A combination of Ampache and mt-daapd work brilliantly as music servers.
But anyway, back to the backups!
I tried very hard to find an off the shelf package that was cheap/free but failed to find one that ticked all the boxes. In the end I picked rsync as my backup tool of choice and decided to roll my own, here is why…
Firstly rsync means that only data that has changed since the last backup will be transferred, this means it’s a lot quicker to backup an entire server both on the CPU and bandwidth. By shell scripting it I can make my backups do exactly what, my scripts are now over 700 lines but they do do exactly what I want and can easily force an extra backup of one or all machines at any time.
Using SSH (–rsh=ssh option) all communication between the backup server and the server being backed up can be done securely without opening any extra insecure ports on each system to be backed up.
SSH can also be used to automatically (and securely) log on to the remote system and run a system specific pre-backup script, I use this to do such things as export any MySQL databases so they can be imported back in instead of having to recover DB files.
The most powerful option is –link-dest which allows you to hard link unchanged files to a previous backup. This saves HUGE amounts of space on the backup server. e.g. I backup a machine (Fred), Fred has a 20GB HD and I back up/copy the entire drive excluding /proc and /dev. I now have a 20GB directory on my backup server. The next day I backup Fred again and –link-dest to yesterdays backup. Rsync compares the remote files with the local copy and if exactly the same will not bother transferring them but will hard link the new file to yesterdays file. Any files that have changed are copied down a fresh (or partially copied using yesterdays backup if possible). If only 100MB of files of changed since yesterday I now have two directories both with 20GB of files but only taking up 20.1Gb of space on the backup server!
My new backup scripts now do this every day and then have a script that keeps every days backups for a month, one backup a week for the previous month and one backup a month previous to that. Hopefully this means that I can recall previous work I have done and all while saving huge amounts of space.
While –link-dest is the most powerful option -n is definitely my favourite. A while ago I was in the unfortunate situation of having one of my internet hosting servers hacked. As I am sure you are aware when this happens you can trust NOTHING on the server, any binary could have been changed including ls & ps. By running a backup of the server but adding the -n option the backup did not back anything up but could show me every file that had changed since the last backup no matter how small the change. Very powerful when trying to find out what happened.
Other options I should mention are –bwlimit which is useful for backing up a live server over the internet and not maxing things out. -z which compresses the data and makes backing up even quicker. -a –numeric-ids good for backup.
Net result, I do full backups of 8 machines each night while only transferring files that have changed and have full backups going back for as long as I want.
Ooooo, I wrote a lot! Sorry about that. I hope it’s of use to people!
11 Nov 2006
Shortly after the Halloween Sk8Jam event I was contacted by a local paper that wanted to do an interview with me! How cool is that? Anyway, long story short here it is…
03 Nov 2006
Definitely one of the most fun of the Pagan festivals and a great excuse to get dressed up!
I had three fancy dress Halloween parties this year over two days and all of them skating. Two roller disco’s at Camberley Arena and a Halloween street skate in London. I had been subtly growing the stubble/beard for the last three weeks and had decided to shock everyone by shaving my head and cutting a goatee! I think it worked
Yes I know I look like an idiot but you have to give me an A for effort!
(Photo by magichow)