Converting scripts from Watir to Webdriver, Table size
myTable.row_count
myTable.column_countmyTable.rows.lengthmyCols = myTable.strings[0].lengthmyCols = myTable.row.cells.lengthclass Watir::Tabledef row_countreturn self.rows.lengthenddef column_countreturn self.row.cells.lengthendend
The unit tests now run unaltered.
If your table has a uniform number of columns for each row then you could check the whole table by doing something like.
myTable.rows.each { |myRow|myCols = myRow.cells.lengthassert_equal(validColumnCount,myCols,"Column count mismatch")}
Doodle's Geek Monkey by Alastair Montgomery
Kensington Orbit Optical TrackBall
All I need now is a Missile command style game :)
FxCamera App
The iPhone guys at work have been talking about a retro camera app for their phones, so I’ve decided to look at what’s available for the Android platform.
The second one I’ve checked out is Fx Camera
FxCamera enables you to take a picture with various effects,
- ToyCam (number of colour mode and vignetting settings available with randomizer)
- Polandroid (number of colour mode and film type settings available)
- Fisheye
- SymmetriCam
- Warhol
- Normal
Toy Cam Examples



Polandroid Examples


SymmetriCam Example

Doodle’s Geek Monkey by Alastair Montgomery
Retro Camera App Android
The iPhone guys at work have been talking about a retro camera app for their phones, so I’ve decided to look at what’s available for the Android platform.
The first one I’ve checked out is Retro Camera
The free ad supported version gives you five retro camera types to play with, see example shots below. The application is a fairly chunky 6179 kb but can be moved to the SD card. It has a novel interface which replicates the retro camera but this reduces the viewfinder size which can be a problem. 




Doodle’s Geek Monkey by Alastair Montgomery
Android Alastair
Created with the http://androidify.com/ App on my HTC DesireNote: 1 of this post’s 4 links are now broken — mostly dead 2008–2013 feed-syndication infrastructure (FeedBurner, Gawker, AOL’s old blog network, Pheedo, Yahoo Pipes). Left as originally published.
Linux Mint 10
Installing Linux Mint 10 (Julia) on a VirtualBox VM with BTRFS filesystem.
Using the release candidate 1 CD
Initial install disk
Hard disk configuration
You have choose the advanced disk setup to create a small boot partition of either ext3 or 4 and a larger BTRFS partition.
Post Install
Post install after enabling the VirtualBox tools as detailed here.
Installing Websphere 7
Installing WebSphere 7 on Linux Mint 10, make sure the /bin/sh is
linked to bash not dash before you start.
Doodle’s Geek Monkey by Alastair Montgomery
Ubuntu 10.10 RC
Need to work out how to install the guest additions so I can get a proper screen resolution.
Found a solution,
Solution to VirtualBox guest problem
1. Open terminal and enter the following command:
sudo apt-get update
sudo apt-get install build-essential linux-headers-$(uname -r)
sudo apt-get install virtualbox-ose-guest-x11
2. Once installation is finished, restart your virtualBox machine.
3. Go to System -->Preferences -->Monitors and change the resolution of your screen.
Life with an HTC Desire part 3
Approaching 9000
Note: 1 of this post’s 7 links are now broken — mostly dead 2008–2013 feed-syndication infrastructure (FeedBurner, Gawker, AOL’s old blog network, Pheedo, Yahoo Pipes). Left as originally published.
Noticed that I’m approaching the 9000th Tweet mark on my Twitter account, this is scary so I decided to map my Tweeting habits again using http://tweetstats.com/
Doodle’s Geek Monkey by Alastair Montgomery




