Category Archives: General

Segway-lite?

Ben Smither has created what must be the minimal Segway-type vehicle:

More info here.

Trevor Blackwell has also made some cool devices – I’ve ridden his home-made Segway variant and it’s very good, in some ways rather better than a standard Segway. The steering is more intuitive, for example.

He did admit that a fair amount of the cost and complexity of a commercial Segway comes from the numerous safety features they build in, which he didn’t have to the same degree. He told me this after I’d tried it, of course…

Oh, and you should see what he’s been up to at Anybots. Have a look at this and this.

Getting Things Done on the Mac

Those who have joined the cult of David Allen’s Getting Things Done (GTD) methodology, of which I am but a humble and inexpert practitioner, might be interested in ThinkingRock. This is perhaps the best implementation of the concepts that I’ve come across so far. It’s Java, so will work on Mac, Windows or Linux, and is free, though they welcome donations.

If you don’t know GTD, it will be somewhat mysterious, until you’ve read the book or listened to the audiobook.

Sausalito sunset

The last batch of images from the weekend. Views of Sausalito and San Francisco.

2007-03-04_02-06-20

Bottles

Sausalito shoreline

2007-03-04_03-43-31

Marin Headlands contd

A couple more photos from Saturday.

Point Bonita lighthouse

2007-03-04_00-07-42

Point Bonita

Point Bonita Lighthouse

Point Bonita

Point Bonita

Spring in San Francisco

It’s been a glorious day here – the kind of weather where it’s just warm enough to drive around with the windows wide open. California at its best.

Rose's Cafe, Union St, San Francisco

I took lots of photos in the city, the Marin Headlands, and Sausalito. I’ll post some of them over the next few days.

Marin Headlands

2007-03-04_02-03-54

Consider the consequences…

A good way to reform criminals, they say, is to bring them face-to-face with the consequences of their actions. If you can’t do that directly, you can at least employ the same psychology… I liked this sign, seen today in San Francisco.

2007-03-03_21-56-59.jpg

The times, they are a-changin’

Moshe Yudkowsky, in his eTel talk, used a wonderful quote from Agatha Christie, who apparently once said:

I never expected to be so poor that I couldn’t afford a servant, or so rich that I could afford a motor car.

Are you sitting comfortably? Then I’ll begin…

Visiting a friend’s house last night, I discovered a level of gadgetry to which even I had not previously aspired. It’s the latest thing from those dashed clever Japanese chaps, apparently.

Seat

Controller

I’m sorry the image is a little blurred. I can assure you I was neither oscillating nor pulsating at the time.

I didn’t try it out, actually. I rather regret it now. Not sure when I’ll get another chance and it would at least be an interesting experience, I imagine!

Using the Sony Reader PRS500 with the Mac

Sony PRS 500Yesterday, finding myself in Palo Alto, I took advantage of the current UK/US exchange rates to buy myself a new toy in Fry’s.

It’s the Sony PRS – the Portable Reader System – which is a bit like a giant read-only PalmPilot that uses the new e-Paper type display. It’s designed to be a replacement for a paperback – a way of viewing eBooks, and unlike some earlier devices, it’s not limited to DRM-encoded books downloaded from the manufacturer. You can put text files, RTF files, PDF files on it as well, and they look gorgeous.

However, there was a big question-mark over my purchase, which was that there is no official Mac or Linux support for this device. You can use a card reader to plug an SD card into your Mac, copy the files onto it and then plug it into the PRS, but that’s hardly convenient, especially in comparison to the (optional) USB docking station. Sadly, the PRS doesn’t just appear as a USB storage device. You can run the Sony software just fine under Windows using Parallels, but that’s yucky too.

Fortunately, Kovid Goyal came to my rescue with a system called librs500. He’s reverse-engineered the Sony protocols and created a Python-based library and utilities that can transfer files to and from the PRS. Sony owe him some money – the profit from my purchase, at the very least! You need to install a few bits, like Python 2.5, to use libprs500 – the easiest way is probably to use MacPorts. Once you’ve got libprs500 installed, though, you can start to do fun things.

Printing to the PRS

I wanted a way to take an arbitrary document on my Mac and make it available as a PDF on my PRS. Here, in a nutshell, is how to do it:

  • Go into File > Page Setup, pull down the ‘Paper size’ option and create a custom page size that you’ll use, where possible, for printing to the PRS. I called mine ‘Sony Reader’, and it’s 9.06 x 12.24cm, with small margins (0.3cm, in my case). When you want to output something for the PRS, it will usually look best if you set this small page size first.
  • We’ll use the Mac’s PDF Services facility, which lets you print to a PDF and send it to a particular location or program directly from the Print dialog. I created a wrapper script called book2prs which will be given the resulting PDF and will send it to the PRS using Kovid’s prs500 utility. You need to put the script in your ~/Library/PDF Services folder (create it if you haven’t got one). Or, like me, you can put it somewhere else and put an alias in the PDF Services folder which has a nice name. I called mine ‘To Sony Reader’.
  • Once this is all in place, you can plug the PRS into your USB port, pick your custom page size for your document and then go File>Print>PDF>To Sony Reader. All being well, when you unplug your PRS, it will have a new document on it! If something goes wrong – if you forget to plug in the PRS, for example – you won’t get any feedback to that effect, but the script does create a log at /tmp/book2prs.log which might be helpful. Any other error messages will be visible using the Console app. Lots of room for improvement here!
  • If you want to print stuff from Safari, it’s a good idea to customise the toolbar and add the little ‘AA‘buttons which let you change font size. In the absence of other info Safari will use the on-screen font size as a guideline for the font to use for printing, and you want slightly larger than normal for the PRS. I also found the output was much nicer if I set Safari to use a sans-serif font as the default. Again , this may be overwritten by CSS for a specific site, but it’s a useful default.
  • My version of the script will name the file on the PRS based on the title as seen by the print system. So you may need to modify it if, for example, you want to print different pages from the same web site and they all have the same page title. The later ones will overwrite the earlier ones at present.

There you are! Now you too can read Status-Q on a Sony Reader!

Status-Q on a Sony PRS

Kitchen table

rose

eTel 2007

I’ll be in San Francisco next week giving a talk about Ndiyo at the O’Reilly eTel Conference. Should be fun. I greatly enjoyed eTel last year…

© Copyright Quentin Stafford-Fraser