Welcome to maniacmartin, the personal site of Martin Smith.
I'm listening to The Gap Band – You Dropped A Bomb on Me

I'm cycling the length of the UK (1000 miles) for charity. Sponsor me now!


    2 December 2007

    GNER’s AJAX Ticket Booking Website

    Filed under: Blog — Tags: , , , , , — martin @ 3:14 am

    I needed to buy some train tickets today, after getting the times from National Rail. Of course, National Rail don’t sell tickets, instead referring you to the train companies themselves. Well, I know what you’re thinking - that I could just buy tickets from my station. My station doesn’t have a ticket machine, nor is it staffed. So I try a few train companies’ sites. It seems they all subcontract our to The Train Line’s buggy system. The Train Line is a horrid site to use. It relies heavily on sessions, needs you to register before it shows you prices and generally irks me all of the time.

    By chance I stumbled onto GNER’s site. They have recently moved to their own custom-designed ticket sales system, and I must say they’ve done a very good job indeed. Not only does it have a Web 2.0 “feel” (being clean and intuitive), it clearly explains the difference between the ticket times, and has AJAX light-boxes displaying each route after you click the more info buttons on them.

    Furthermore, it shows a list of prices and a list of possible route-times. Clicking the price you want greys out the routes you are then not allowed to use, and clicking the route you want will grey out the ticket types that can’t be used with this route. Details of train changes are updated in realtime using AJAX as you highlight different routes. It also managed to find a great deal more routes than The Train Line did, in less time. And what’s more, you can of course buy tickets for any UK train from any UK train company. In future, I’ll be buying all of my advance tickets online from GNER, as their website is much more intuitive than the others. Good work GNER!

    23 November 2007

    Integrate NHS computer systems

    Filed under: Blog — martin @ 5:07 pm

    For all you foreigners, the NHS is Britain’s free state-funded health system.

    A lot of people are opposed to the NHS’s ongoing computerization of patients’ records, because it is seen as a waste of taxpayer’s money. Whilst I agree that our government has a history of badly-implemented IT projects that have gone vastly overbudget, the NHS should have been centralized years ago. Surgeries all have their own systems, and most parts of the NHS rely at least partly on paper records. When you move house, you change your registered doctor, and your old surgery sends your records in a bundle to your new surgery.

    At St. John’s College and, presumably, many other Oxford colleges, there is a policy whereby you must be registered with an Oxford doctor. This means you cannot be registered with a doctor in your home town. Last summer, when I wanted something as routine as a repeat prescription, my home surgery initially refused because I wasn’t “on their books”. After persevering, I had to fill a temporary resident form (or something to that effect.), which needed my NHS number, something I don’t carry around on me.

    Of course now I’m old enough to have to pay for my prescriptions, the amount dispensed seems to have reduced. (You pay pertype of medication, no matter how much of that particular drug you are dispensed). Now I’m back in Oxford, I’ll have to make sure I top up my supplies before going home. But the doctors here have never prescribed me that medicine. Will they issue a repeat prescription when given an old repeat prescription from another surgery? I’ll probably have to book an appointment with one of the doctors, wasting a slot, just to get them to do some paperwork.

    This is 2007. Virtually every other sizable organisation has integrated computer systems. Why should the NHS be any different? And why do I need to get a new repeat prescription printed for every instance of the repeat prescription. Surely that can make a form that says “Repeat prescriptions every 60 days until 01/01/2008″ that is stamped every time you make a claim off it, or something similar? The current system wastes everybody’s time and causes unnecessary inconvenience.

    20 October 2007

    Hyperlinking to Piracy Sites is against UK law?

    Filed under: Blog, E-petitions — martin @ 5:15 pm

    Slashdot and The Guardian recently reported about the arrest of the owner of tv-links.co.uk and the sites subsequent closing down. TV Links was a site which linked to videos on other sites (like Youtube and Veoh) where users could see TV series. The arrest was made by officers from Gloucestershire County Council trading standards in conjunction with investigators from Fact and Gloucestershire Police.

    The biggest use of TV links that I know of was people watching sci-fi series that had been released in North America, but that the industry wouldn’t make available to UK viewers. So these series-followers had no legal route to get the series in the UK when it was released in America. Maybe the industry should look at why people are using TV links and provide a legal route for them to get the programmes, without making them wait weeks after it’s been aired in America. No-one wants to wait to see programmes that have been aired.

    The big concern to me is the americanization of our country. It seems it is now illegal to link to a site which could be used for piracy. In effect this makes merely distributing information on how to copy copyright material illegal. Websites like BBC seem to have covered themselves by not linking to any of the sites in question when reporting news stories about piracy, but is there any difference in telling people they can get movies from The Pirate Bay, than telling them they can get movies from The Pirate Bay? An interesting question would be whether telling someone they can buy pirate DVDs at a certain place at Hemswell market also counts as “facilitation of copyright infringement”.

    11 October 2007

    Cycling from Rasen to Oxford

    Filed under: Blog — martin @ 10:33 am

    First, let me apologise for neglecting my trusty readers. But I’m back, back my magical journey.

    On the Sunday at the start of freshers’ week I cycled from Middle Rasen to St John’s College, Oxford in 15 hours 59 minutes, including all stops. Unfortunately due to a dark start at 5.09am, I couldn’t set up my odometer to accurately measure the distance, but I’ll attach a map to show you. Note that I didn’t go as the crow flies (120 miles), but saught out backroads, so the distance is a bit more.

    It was a nice cycle, because I wisely chose to carry virtually nothing and get my mum to bring it all in the car the following day. I wouldn’t say it was overly exerting, but I didn’t quite realise how hilly central England is, living in Lincolnshire and all. By two-thirds of the way there’s definitely only one possible speed.

    Donov blogged this first. Here’s what he had to say:

    Martin is INSANE
    Mon, 01 Oct 2007
    yesterday martin completed a 150 MILE cycle rids from his house in middle rasen to OXFORD, this journey took him 17 hours in total and has made me think that he is insane.


    View Larger Map

    17 September 2007

    SSH hangs accessing CentOS4 in VMware

    Filed under: Blog — martin @ 9:30 pm

    CentOS 4, VMware and SSH are three things that I cannot get to work together. Let me tell you the whole story and hopefully you’ll be able to spot a blindingly obvious mistake that I can’t.

    I have a VMware install on my Kubuntu Feisty laptop. (The free edition that bugs you to get a free serial when you install, so they get another email to spam). This copy of VMware runs Debian, Windows XP, and if you’re feeling extremely patient, Windows Vista without any problems that I can see.

    So, I decided to make a CentOS image so I can learn how it differs Debian (not having used Redhat-based distros before). That way I can break a vmware image and not my VPS. So northie and I installed CentOS 4 inside VMware from an ISO. Networking in VMware was set to Bridged, so the guest distro gets an IP from the router’s DHCP server. Everything installed without any errors, and the CentOS vm could wget things off the internet. I typed /etc/init.d/sshd start

    On the VMware host, I typed ssh root@192.168.1.11
    I was shown and accepted the vm’s key, and then ssh hung. It didn’t cut me off, or say connection closed and show a prompt. It just sat there for 2 minutes and then timed out. As if there was some major packet loss.

    I remembered specifically disabling the firewall and SELinux at install time, but i peeked around /etc/selinux and other places to confirm this. I then tried other vmware networking settings, such as NAT. Then I copied /etc/ssh/sshd_config from my laptop to the vm. I added another user onto the vm and SSH into that. Finally I downloaded a pre-made CentOS 4 VMware image and tried that. But every time it would just hang. Occasionally it would ask for a password, then hang and time out. But I couldn’t get a prompt through SSH. I can ping the vm fine though

    I then decided to see if the VM could SSH itself:
    ssh localhost worked, yet ssh 192.168.1.11 showed its certificate then hung. However, sshd was set to bind to all interfaces (and was listening, I checked) and ifconfig proved 192.168.1.11 was an IP of the vm

    If anyone knows how to fix this, please tell me!

    15 September 2007

    Moving to CentOS

    Filed under: Blog, Computer — martin @ 2:31 pm

    I’ve finally decided that enough is enough with DirectAdmin. It’s haphazard way of downloading tar.gzs and compiling from source to random places that it only knows is a sure way to make a disaster in the future. Not only does this make applying updates a cumbersome process, as it doesn’t use any sort of repository or anything, it also means that when something does go wrong it can take ages to track down.

    Amidst the ill-thought-out shell scripts, perl scripts and binary blobs, sometimes you can work out what its up to, sometimes not. And things being broken because of syntax errors (e.g. missing closing brackets) in a paid product is not something I really have time to sort out any more.

    Now, for all of you screaming “Use SSH with webmin/virtualmin”, I would love to, but other server users would be less than pleased to lose their shiny control panel, so that leaves cPanel and Plesk. I’ve decided to go with Plesk, because it looks shinierâ„¢ and is rumoured to be more secure and manage things better behind the scenes, even if its interface isn’t as intuitive as cPanel’s.

    Of course, control panel providers only truly support Redhat derivatives (the Debian etch build wouldn’t even install for me), so I’m moving my server to CentOS (even though I prefer Debian). At least it will work, which is the main thing.

    11 August 2007

    Random Drive

    Filed under: Blog, Computer — martin @ 10:56 am

    So it was just before 5pm yesterday and I was bored. After checking a few things on #friends, Donov and I set out on an adventure. Our drive took us through many places including Lincoln Rush Hour, the M1 and the entire width of the Peak District, including the Cat and Fiddle (A537 Buxton-Macclesfield - hilly and bendy with cliff edges and real fun to drive on).

    By sheer coincidence when we stopped to consult the map who should walk down the street but Compsoc’s treasurer David North. He seemed to recognise me but was unsure, so I waved :). The look was priceless, but of course I forgot my camera. David helpfully informed me, “I live here”.

    As it happens David was on a walk to burn off excess biscuits, which was lucky really as I forgot to write down his house number when I looked up his address in whois records.

    After talking about bambi, DNS propagation, CSS and other stuff we made our way back along the speed-camera-dense roads, stopping for a pizza. Mmmm pizza. And thus the adventure was overl

    29 June 2007

    Avoiding the Microsoft Tax

    Filed under: Blog — martin @ 4:11 pm

    More and more recently, I’ve been wanting a new laptop for no reason other than that the novelty of this one has worn off. I’ve been researching, and it seems very few companies indeed offer laptops in UK without Windows. This is almost certainly because it would adversely affect their OEM Windows price.

    Microsoft has OEMs right where it wants them, and given its monopoly, is forcing manufacturers to only sell Windows. However, after recently reading the Microsoft Windows Vista EULAs (End User License Agreements), I am even more determined to avoid shelling out for an unwanted Windows license, even if it costs me more in doing so.

    Microsoft’s bullying tactics are totally unethical and it will only stop if people stand up to them. In fact, I have doubts as to whether parts of the EULA are even legally binding in UK. From the Vista EULAs:

    • Only able to transfer the license to another PC once, and once only
    • Running Home editions in virtual PCs is forbidden
    • Microsoft has the right to deny you access to your whole system if it has any reason to believe that you’re up to no good
    • Forbids publishing benchmark results except under specific circumstances
    • Places the burden (and loss of income) on OEMs to refund unwanted licenses.
    • Appoints Microsoft as judge and jury in EULA disputes
    • Phones home to Microsoft servers
    • Is full of DRM and closed source proprietry rubbish

    The scariest thing of all is that you have to part with your money before you even get to see the license. And if you reject the license, you have to undergo a lot of hassle to get some sort of refund.

    I disagree with this license, and the general Microsoft bullying attitude. I have no respect for a company that uses its size to stop resellers supporting its competitors, or one that has no regard for international standard (cue: IE). The only way to avoid the Microsoft tax is to buy from a small independant, although the hardware quality might also suffer as a result. (Laptops generally tend to be made by big companies)

    I currently have my eye on Novatech and EfficientPC

    Oh so much to do in Rasen

    Filed under: Blog — martin @ 1:35 pm

    I couldn’t resist this quote from an “Advertising Feature” in this week’s Market Rasen Mail. Sorry for the wonky scanning!
    Kids simply cannot get bored with all this to do…!
    Market Rasen Mail excerpt

    So lets see what kids can do:

    • Scenic walks
    • A Drive, because we all know kids can drive.
    • Visit your local church
    • Visit a WI produce auction
    • Hang out in your local car park
    • Go caravanning in your home town.

    The only things of interest are not even in Market Rasen - but in Caistor or Brigg.
    Kids simply cannot get bored with all this to do

    Goodbye Central Trains

    Filed under: Blog — martin @ 12:56 pm

    The Department for Transport recently announced that the franchise for trains in Market Rasen station will be taken from Central Trains and Stagecoach Midland Rail Ltd (most likely trading as East Midlands Rail) will be serving us from 11th November.

    Central Trains seem to me to be the perfect example of a company to avoid. They have no regard for punctuality and invest as little as possible in Market Rasen station. We don’t even have a clock, ticket machine, staff, electronic display or tannoy. It is perfectly normal for trains to be 25mins late or pass through the station without stopping at all.

    Stagecoach have made some big promises about investment, direct services from Lincoln to London, 90% punctuality etc. The staff and trains from eastern Central Trains and Midland Mainline, both part of the National Express Group, will be transferred to Stagecoach. It is a shame to see Midland Mainline go, as their stations are really shiny with smart attentive staff. They even won Train Company of the Year. But now I learn they are actually the same company as Central Trains, I wonder how one company can perform so good in one area and bad in another.

    « Newer PostsOlder Posts »