Friday, 31 October 2008

Dojo Cookie Example

I have added a Dojo cookie example to my Dojo Examples Page. Setting and retrieving the cookie is pretty straight forward.


The next example will also be with cookies. This time I stick some JSON text in the cookie and retrieve it.

A Little Behind on Posts

I have been a little behind on posts lately. I'm coaching an 8-9 year old volleyball team 2 nights a week and that is cutting into my reading/coding/blogging time. So posts may be a little thin the next couple of weeks, but I should free up again pretty soon.

Monday, 27 October 2008

Acer Aspire One boot time less than 30 seconds

Another reason to buy an Acer Aspire One is the quick boot time. In a recent New York Times Technical article: In a New Age of Impatience, Cutting Computer Start Time It is the black hole of the digital age � the three minutes it can take for your computer to boot up, when there is nothing to do but wait, and wait, and wait some more before you can log on and begin multitasking at hyper-speed.

PC manufacturers Dell, Lenova and HP will introduce a new generation of quick start computers.

Why wait for the next generation? The Acer Aspire One boots in under 30 seconds, if running the Linpus OS and booting off the 8GB solid state hard drive.

Even Microsoft, whose bloated Windows software is often blamed for sluggish start times, has pledged to do its part in the next version of the operating system, saying on a company blog that �a very good system is one that boots in under 15 seconds.� Today only 35 percent of machines running the latest version of Windows, called Vista, boot in 30 seconds or less, the blog notes. (Apple Macintoshes tend to boot more quickly than comparable Windows machines but still feel glacially slow to most users.)

The NY Times article continues with a quote from UCLA professor Gary Small,

Gary Small, a professor at the Semel Institute for Neuroscience and Human Behavior at the University of California, Los Angeles. �Our brains have become impatient with the boot-up process,� Dr. Small said. �We have been spoiled by the hand-held devices.�

USB Mouse on Acer Aspire One

I recently tested the functionality of a USB mouse attached to my Acer Aspire One (AA1). I attached a Microsoft Optical Mouse Blue USB and PS/2 Compatible mouse and started the AA1 without issue. Both the left and right mouse buttons worked as did the scroll wheel and center mouse mouse button (scroll wheel).

The output from from dmesg is:


ALC INIT<6>usbcore: registered new interface driver hiddev
input: Microsoft Microsoft 3-Button Mouse with IntelliEye(TM) as /devices/pci0000:00/0000:00:1d.0/usb2/2-2/2-2:1.0/input/input8
input: USB HID v1.10 Mouse [Microsoft Microsoft 3-Button Mouse with IntelliEye(TM)] on usb-0000:00:1d.0-2



Unplugging the mouse and reattaching while the AA1 is running again was no problem and produces a dmesg output of:



usb 2-2: USB disconnect, address 2
usb 2-2: new low speed USB device using uhci_hcd and address 3
usb 2-2: configuration #1 chosen from 1 choice
input: Microsoft Microsoft 3-Button Mouse with IntelliEye(TM) as /devices/pci0000:00/0000:00:1d.0/usb2/2-2/2-2:1.0/input/input9
input: USB HID v1.10 Mouse [Microsoft Microsoft 3-Button Mouse with IntelliEye(TM)] on usb-0000:00:1d.0-2

Featured gadget: Radio Energy Z�rich



Name: Radio Energy Z�rich
Author: Andreas Horlacher
Description: Listen to online radio from Energy Z�rich

More information | Download gadget

Each week this blog features a recently added Google Desktop gadget that looks promising. If you'd like to see all new Desktop gadgets as they're published, subscribe to the RSS feed.

Wednesday, 22 October 2008

Breaking the century mark

No, this post is not to celebrate my turning 100, though at times I do feel a hundred years old. No, this post is to celebrate the 1o1st country to join the viewing ranks of the kengell chronicles.

Ranked by number of page views, the top ten countries to visit the kengell chronicles are:
  1. United States
  2. Canada
  3. United Kingdom
  4. Norway
  5. Spain
  6. Austria
  7. Germany
  8. Netherlands
  9. Denmark
  10. Finland
The 101st country to join the kengell chronicle ranks is Malawi. Thanks to all who have read the chronicles.

Ranked by page views the continents are:

  1. North America
  2. South America
  3. Europe
  4. Asia
  5. Oceania
  6. Africa
I just need one person in Antarctica to read this blog and the continent list will be complete.

Create an .iso Image with OS X 10.5

For work I needed a burnable CDROM .iso image for use on both Macs and PCs. On OS X 10.5, this can all be done with your Mac, no special software required. Unfortunately, no one has written down all the steps. So, if for only but my own benefit, here are all the steps to create an image. Note: I am doing quite a bit of testing so if I run into any issues, I will post an update.


Create an .iso Image from Scratch on OS X 10.5 Leopard



  1. Create a directory which acts as the root directory for your iso image.


    • For example, name the directory Source_Code_V1.


    • All the files for this iso image would go into the Source_Code_V1. directory.




  2. Open the Disk Utility program. It is in the Utilities subdirectory of your /Applications directory.


  3. From the Disk Utility menu, select File -> New -> Disk Image from Folder


  4. Select the folder you created above. (i.e., Source_Code_V1).


  5. A dialog pops up. By default the image name will be the same as the directory name.


  6. You have options to select: Image Format and Encryption.


    • Image Format - Since this is a CDROM select the hybrid image (HFS+/ISO/UDF) option.


    • Encyrption - Select none.




  7. Click Save. Your directory is now converted into a OS X disk image (with a .dmg extension). You should be able to mount this image and view the files.


  8. Mount the disk image and make sure all the files are there as you want them.


  9. To create the iso image, open a terminal window.


  10. Navigate to the directory where your disk image is.


  11. Type in the following command to convert your image into a cd image.: hdiutil convert Source_Code_V1.dmg -format UDTO -o Source_Code_V1


  12. An CDROM image file is created with a .cdr extension.


  13. To make the file an iso, rename the file.


  14. mv Source_Code_V1.cdr Source_Code_V1.iso


That's it. You should have a shiny new .iso image you can burn to a CD or share with your friends.