Andrew Ferrier

Economics; Travel; Film; and Technology.

Disabling Synaptics Touchpad with Ubuntu 10.04

with 14 comments

I recently installed Ubuntu 10.04 on my Thinkpad T61 and set about disabling the touchpad, which I always find irritating. There seemed to be lots of guides to this, including this one, but none of them seemed to work for me. Eventually I figured some fairly simple steps which did work:

  1. Install two packages if they aren’t already installed (gpointing-device-settings is the more modern version of gsynaptics and will uninstall it if it’s installed):
    sudo aptitude install xserver-xorg-input-synaptics gpointing-device-settings
  2. Start gpointing-device-settings from the command line and select “Touchpad off”, as shown here:
  3. Exit the tool and reboot.

Written by andrewferrier

June 4th, 2010 at 7:22 am

Kick-Ass

without comments

I haven’t written a film review in some time, but having just come back from seeing Kick-Ass, with it still fresh in my mind, here goes…

Kick-Ass is definitely a comic book movie. It’s been portrayed in some circles as the anti-comic book movie, and that’s certainly the impression I had going in: the first ten minutes or so leave you in no doubt that the protagonist isn’t a professional, well, hero. But at the end – without spoiling it – you’re left in no doubt that it is a comic book and not reality. As evidence, the characterisation (for example, of Kick-Ass’s girlfriend, Katie) is pretty shallow. The violence is graphic and for me a little unpleasant at times (I can’t stand watching any kind of torture, and the whooping of the idiotic frat boys at the back of the cinema made it more unpleasant). Nevertheless, the film is definitely amusing – and I didn’t find the overtones of violence or language coming from Hit-Girl as unsettling as many have (if you don’t know, she’s 11, says “cunt” once and “fuck” plenty of times, and kills many people in a variety of gruesome ways).

Kick-Ass isn’t for the faint of heart, but there was a point in the film, where Kick-Ass is being drawn into the web, where I was totally engrossed and could have been watching Batman or Spiderman – except Kick-Ass is glossier, more colourful, and cooler. Despite the cringe-making violence, this is a cool film, albeit one that walks very very close to the moral tightrope (although, again, not entirely just because of Hit Girl). I like it. But many wouldn’t.

Written by andrewferrier

May 14th, 2010 at 4:44 am

Tagged with ,

Logitech Presenter R800 with USB HID in Windows XP SP3

without comments

I recently acquired a Logitech Presenter R800. It’s a beautiful device – not particularly cheap, but very slick and easy-to-use. Unfortunately, Windows XP (Service Pack 3) on my system refused to recognise it – the device was listed as USB Receiver in Windows Device Manager, but Windows kept claiming it couldn’t find the driver. It is presented to the system as a standard USB HID device, so there is no Logitech-specific driver: it uses the standard Windows HID Driver. It worked perfectly out of the box on Ubuntu 9.10.

After 3-4 hours of research, I found the answer. Running a differencing tool between the C:\Windows\Inf folder on a colleague’s PC and mine showed that mine was missing the usb.inf and usb.PNF files from that folder. It wasn’t clear why they were missing, but having copied them over from his machine, the driver installation then worked perfectly. So that’s worth trying if you encounter a similar problem with this product (or indeed any USB HID device).

Written by andrewferrier

April 26th, 2010 at 1:55 pm

Highrise Backup

with 2 comments

I no longer use Highrise, but when I did, I used this Python script to back up my contacts. Hope it’s helpful to someone.

Updated 2009-12-14: Added license

#!/usr/bin/python
#
# Copyright (c) 2009, Andrew Ferrier All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
#
# * Redistributions of source code must retain the above copyright notice,
# this list of conditions and the following disclaimer.
#
# * Redistributions in binary form must reproduce the above copyright notice,
# this list of conditions and the following disclaimer in the documentation
# and/or other materials provided with the distribution.
#
# * The name of Andrew Ferrier may not be used to endorse or promote products
# derived from this software without specific prior written permission.
#
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
# ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
# LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
# CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
# SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
# INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
# CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
# POSSIBILITY OF SUCH DAMAGE.
 
import httplib2
import getopt
import sys
 
try:
    opts, args = getopt.getopt(sys.argv[1:], "a:d:", ["user-auth-token=", "domain="])
except getopt.GetoptError, err:
    print str(err)
    sys.exit(2)
userauthtoken = None
domain = None
for o, a in opts:
    if o in ("-a", "--user-auth-token"):
        userauthtoken = a
    elif o in ("-d", "--domain"):
        domain = a
    else:
        assert False, "unhandled option"
 
if userauthtoken == None or domain == None:
    print "You must specify both the user-auth-token and the domain"
    sys.exit(2)
 
url = "http://" + domain + ".highrisehq.com/people.xml"
 
http = httplib2.Http()
 
http.add_credentials(userauthtoken, "x")
 
offset = 0
content = ""
 
while True:
    response, newContent = http.request(url + "?n=" + str(offset))
 
    if response.status != 200:
        sys.exit(response.status)
 
    numContacts = newContent.count("<person>")
    offset += numContacts
    content += newContent
 
    if numContacts < 500:
        break
 
print content

Written by andrewferrier

December 4th, 2009 at 12:40 pm

Tagged with , ,

Winchester Waitrose

with 7 comments

Just come back from the new Winchester Waitrose. Upsides are:

  • Large; decent selection of food.
  • Looks like usual upscale Waitrose food quality.
  • Pleasant, well-turned out, professional staff (Sainsbury’s Winchester, I’m looking at you here).
  • Clean and well-presented store (once again, a glance in Sainsbury’s direction).

Downsides:

  • It’s too far out of town. OK, it probably isn’t if you have a car, I admit. I’m in the minority by avoiding one for cost reasons (which might cause one to question why I choose to shop at Waitrose, so it probably works for most of their customers). But, for me, it is a trek. I’ll probably be trying out Waitrose Deliver to see if that might help.
  • Poor range at fresh bread counter.

Written by andrewferrier

October 10th, 2009 at 3:41 pm

veryPC AT20

without comments

I recently bought a veryPC AT20 as a more powerful replacement for an aging Debian-hacked NSLU2 that I had serving up files, doing backups, and other such tasks. I thought I’d do a quick review in case it’s of value to anyone considering a machine from veryPC (at the time of writing, it seems to be no longer for sale, although the veryPC AT10 looks similar).

I particularly wanted something more meaty than my NSLU2 so I could do full-disk encryption, fully-encrypted offsite backups, so it seemed ideal. The variation I ordered has:

  • Dual-Core Intel(R) Atom(TM) CPU 330 (1.6GHz)
  • 1GB RAM
  • 1TB Western Digital “GreenPower” Hard Drive
  • Intel 82945G/GZ Integrated Graphics
  • Onboard audio, 6 USB 2.0 ports, a serial port, a parallel port
  • Integrated 100MB Ethernet
  • RaLink RT2561/RT61 802.11g PCI Wireless Card
  • DVD-RW drive

(total approximately £370)

Very PC seem fairly reputable, and their customer service was adequate, if not outstanding (they didn’t keep me up-to-date on my order until I emailed them, at which point they interrupted me by calling, they didn’t always respond to sales enquiry emails, and were coy about their returns policy). Nevertheless, they do offer a 3-year warranty as standard, which shows confidence in their products.

Nevertheless, the PC arrived fairly promptly (~5 days), and appears to be robustly built: whilst compact, the case is very solid and feels strong. The whole machine exudes a feeling of high build quality, and is mostly constructed from metal rather than cheap plastic. Here’s what it looks like from the outside:

at20

The machine came shipped with Ubuntu (Desktop) pre-installed, although I rapidly reinstalled it with the Ubuntu Server (a wise decision anyway, since VeryPC forgot to include information on the default username and password!). As such, every piece of hardware works well with the exception of the wi-fi card, which, using the default driver, suffered from frequent drop-outs (a problem I’ve had before with the RaLink cards under Linux). Replacing the standard driver with a ndiswrapper verison (more information here and here) resolved this. Channels 12 and 13 also don’t seem to work correctly with this driver, so the wi-fi network has to run on another channel.

The main disappointment was the noise generated by the machine. To be fair, VeryPC described it as ‘ultra quiet’, and with other noisy items on (e.g. a modern laptop with the fan spinning), you won’t hear it. However, in an otherwise silent room, you definitely will – and you don’t have to get close to it either. I haven’t done any formal tests, but if you want a completely silent machine, this is not the one for you. If you can tolerate a small amount of fan noise in very quiet environments, it should be OK.

Another minor point: the machine has an external power supply brick (like a laptop). VeryPC didn’t make this clear, but you should factor it in if you’re considering buying one.

Otherwise, though, I’m fairly satisfied. It does what it says on the tin, I’ve had no reliability problems whatsoever (save for the wi-fi card issues mentioned above), and the machine is running 24h a day and doing a solid job. So kudos to veryPC for putting together a good bit of kit.

Written by andrewferrier

July 21st, 2009 at 10:02 pm

Tagged with , , , , ,

Dialling Problems with Vodafone 3G on Windows

with 5 comments

As I’ve written about before, I use a combination of Vodafone 3G and the AT&T Network Client on Windows to access my corporate VPN. Recently, I’ve been seeing this error a lot when ‘dialling’ the 3G network (I connect it via the Windows dialler, rather than the Vodafone client):

This morning, I figured out what it was that was causing the problem. AT&T was open when I was dialling, and had the modem selected in the ‘Cellular’ tab (which I don’t normally use):

error2

I hypothesise that it’s got a lock on the modem when this is selected (even if the ‘Cellular’ tab is not selected). Quitting the AT&T client appears to allow the connection to be created. You can then restart it and connect to the VPN in the normal way (using ‘existing internet connection’).

Hope this helps someone.

Written by andrewferrier

June 1st, 2009 at 8:14 pm

Vodafone 3G – Position Your Card Right!

without comments

I’ve written before about how poor the Vodafone 3G Mobile Connect client is, and the alternative in Windows. However, it’s also worth mentioning that the card itself is far from perfect. It is very sensitive to the position of the SIM Card – having it off by even a few millimetres can mean it doesn’t connect, and it’s not always obvious what is wrong. The crucial thing is to have it poking out of the top, but only by half a millimetre or so. Don’t push it in all the way! This photo shows what it should look like:

Vodafone SIM Card Position

It’s a shame Vodafone themselves don’t bother making this clear. This wasted about an hour of my time when  I first got the card.

Written by andrewferrier

February 13th, 2009 at 2:55 pm

Frost / Slumdog / Nixon

without comments

Been to see two films in almost as few days recently. Slumdog Millionaire was entertaining; perhaps not the classic it could have been – I think it lacked a little clarity in storytelling – but still great. Frost/Nixon was more compelling, certainly for me: I was not expecting Frank Langella‘s performance as Nixon to be as good as it was – in the end, it perhaps beat Anthony Hopkins‘s classic performance from Nixon. Watch out for Oliver Platt‘s wonderful performance-within-a-performance imitation of Nixon.

Written by andrewferrier

January 26th, 2009 at 3:18 pm

Avoid Vodafone Mobile Connect client in Windows

with 2 comments

If you’re anything like me, you hate the Vodafone Mobile Connect client - it’s buggy, unstable, and requires frequent reboots/restarts/taking-the-card-out-and-putting-it-back-in-again to make it work. What I only discovered today – although I should have known from ancient dial-up modem connections years ago – was that you can just use the regular ‘Network Connections’ facility of Windows. Just locate the ‘Vodafone Mobile Connect’ entry, right-click and select ‘Connect’ (I think this will only appear once you’ve installed the Vodafone software):

vodafone1

Easy-peasy connectivity. You can still track how many bytes have been uploaded/downloaded in the current session by turning on ‘Show icon in notification area when connected’ from the Connection’s Properties dialog. You’ll then see an icon in the system tray with a pop-up showing usage. Sadly, this is only for the current session, not the month as a whole – haven’t yet found a decent bit of software to do that (surprisingly).

Written by andrewferrier

January 15th, 2009 at 1:32 pm

fedex proscar without priscription buy brand Flomax purchase Tamsulosin pay pal without rx buy Orlistat without a rx buy prescription xenical online Orlistat tablets want to buy Flomax in usa buy Accutane fed ex buy xenical without rx no prescription Crestor with fedex buy on line Flomax Flomax cash on delivery buy Buspar diet pill buy xenical no scams buy genuine Orlistat buy generic Prednisone pills buy Valtrex cash on delivery what does valtrex look like order online Flomax without prescription Flomax delivered overnight where can i purchase Strattera online where to buy generic Amitriptyline online without a rx Flomax online uk buy Buspar drugs Buspar no prescription overnight where can i purchase prednisone no rx overnight prednisone c.o.d how to get a prednisone prescription buy prednisone next day delivery fedex prednisone overnight without a prescription Prednisone fedex no prescription buy Valtrex pills in toronto purchase Strattera free consultation purchase cheap Crestor onlinebuy Crestor line buy prednisone no visa without rx online purchase Prednisone Valacyclovir effects buy Proscar online us pharmacy buy cheapest Valtrex wholesale valtrex cheap how to order Valtrex online without prescription buy genuine Premarin online no prescriptions needed for Prednisone buy next day Prednisone where can i get prednisone without a prescription purchase Proscar online non presciption buspar prednisone 40 mg without a prescription order rx free Nizoral best Buspar online pill buy Cytotec offshore no prescription fedex Valtrex online order How to get perscription of Cytotec where can i buy xenical without a prescription buy generic Maxalt online Zovirax uk sales buy Valtrex and Valtrex cheap Accutane for sale online no prescription required buy Cytotec paypal without rx Zithromax without rx xenical perscription from s online where can i buy valtrex without a prescription buy Xenical no visa online without prescription purchase Orlistat online buy Cytotec on line amex purchase cheap online Valtrex buy Valtrex legally Accutane sale prednisone without persription buy Flomax online cheap buy Zithromax doctor prescription Buspar effects generic Orlistat uk buy Buspar fed ex buy cheap Crestor free fedex xenical online no rx overnight can you buy Cytotec in mexico Valtrex 1000mg purchase Valtrex cod next day delivery where can i buy herbal finpecia order finpecia no visa buy Valtrex no prescription low cost Valtrex tabletten valtrex without prescriptions buy Bupropion uk 60 mg Orlistat buy cheap generic Orlistat online order online Prednisone without prescription Rosuvastatin order online xenical no rx foreign valtrex with out a prescription 500 mg Zithromax where to purchase cheap Xenical no rx xenical without a presciption order Zithromax no visa Premarin without rx medications purchase Premarin without a prescription online buy cheap Xenical under without rx no prescription Xenical with fedex cheap purchase xenical Tamsulosin 0.4 mg buy Amitriptyline amex online buy prednisone online without dr approval purchase generic Valtrex online buy in Orlistat uk purchase Crestor pay pal without rx where to buy generic Cytotec online in canada where can i buy herbal Accutane where buy Accutane buy Accutane cod next day delivery Tamsulosin Flomax xenical without a prescription canadian Zithromax online purchase buy Crestor shipped cod purchase Cytotec overnight where can i buy herbal Amitriptyline no prescriptions needed for Prednisone Buy prednisone without a perscription to ship overnight Crestor precio accutane without script order xenical usa cod where to buy Zithromax Zithromax order prednisone cheap no membership fees no prescription buy prednisone online without script buy Xenical without rx finpecia ohne rezept cheap Crestor by money order cheapest place to buy Valacyclovir buy Crestor no scams purchase Accutane online with overnight delivery purchase Flomax amex online without prescription purchase Buspar money purchase buy valtrex pay cod Zithromax online order saturday delivery order Zithromax for cash on delivery buy Accutane uk buy mail order Zithromax Zovirax best buy buy Amitriptyline with american express Buspar pharmacy order Valtrex online how to order Valtrex online without prescription buy Crestor line Crestor overnight no consult buy cheap finpecia with dr. prescription Cytotec xr buy online cheap Premarin uk Valtrex online purchase No script Accutane buy Orlistat pills in toronto buy Orlistat tablets without rx buy Premarin online us pharmacy Orlistat without rx where to purchase generic Cytotec online without a prescription purchase online prescription Flomax without Buy Cytotec tablets buy Valtrex no visa online without rx what does Nizoral look like buy discount Flomax cheap Buspar by money order