James Hall

May 09

[video]

Sep 15

“On two occasions I have been asked, – “Pray, Mr. Babbage, if you put into the machine wrong figures, will the right answers come out?” In one case a member of the Upper, and in the other a member of the Lower House put this question. I am not able rightly to apprehend the kind of confusion of ideas that could provoke such a question.” — Charles Babbage, 1864

Jun 20

“Life is something that happens when you can’t get to sleep.” — Fran Lebowitz

Apr 22

Generating PDF files in Javascript

A Firefox extension I am writing needs PDF export. One way of making this work cross-platform would be to implement it in Javascript. So, that’s what I did..

It’s called jsPDF and can generate simple PDF documents using nothing but Javascript. No server-side needed. I’ve also got a few ideas for workarounds in browsers that do not support Data URIs well (I’m looking at you IE).

At the moment, it only does text. I’ve got some hacky code together that puts images into the mix, but I want to experiment a bit first to get it right. You can expect a new version next week. Subscribe to my blog or follow me on twitter and I’ll let you know :)

Mar 27

“We don’t make movies to make money, we make money to make more movies.” — Walt Disney

Mar 25

[video]

Mar 24

“You’re right, no human being would stack books like this.” — Dr. Venkman - Ghostbusters

Googlepedia for Chrome Released!

Googlepedia for Chrome is now here! The installation is still rough round the edges since Chrome doesn’t yet have proper extension management features. It should be fairly straightforward though.

How to install:

  1. Download Chrome Channel Switcher
  2. Change your channel to ‘Dev’
  3. Click wrench menu in Chrome, click ‘About’ then ‘Check for updates’, wait for the update to install
  4. Restart Chrome
  5. Download Googlepedia for Chrome
  6. Open the file (it appears like nothing happens)
  7. Close chrome, then open it again with the command-line parameter ’ —enable-extensions’ (you can do this by right-clicking the Chrome icon, clicking properties and adding it to the end of the ‘Target’ field, without the quotes, but with the space at the start)
  8. Do a search on Google, Wikipedia should be on the right! :)

If you have issues - please report them. Thanks! :)

Please come back soon to get new versions and bug fixes, Chrome should have an auto-update feature soon. Oh, and also please support development by donating! Thanks. :D

“Any emotion, if it is sincere, is involuntary.” — Mark Twain

(via Wikipedia Commons Featured Pictures)

(via Wikipedia Commons Featured Pictures)