<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-1860787644647920271</id><updated>2011-07-08T10:44:03.987+09:00</updated><category term='linux'/><category term='ruby'/><category term='websvn'/><category term='iphone'/><category term='ruby on rails'/><category term='git'/><category term='nginx'/><category term='Phusion Passenger'/><category term='opensolaris'/><category term='syntax highlighting'/><category term='evdev'/><category term='japanese keyboard'/><category term='xen'/><category term='enscript'/><title type='text'>Snorkel Bucket Lounge</title><subtitle type='html'>So here I am sitting in my "lounge" room getting ready to fly out to North Queensland for some SCUBA diving and fun. Sitting on the floor awaiting packing is a "snorkel". When all of a sudden the memory of a now dead friend comes to mind and a conversation we had where he told me his favourite word is "bucket". Hence the title of this blog.</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://bawdo2001.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1860787644647920271/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://bawdo2001.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>bawdo2001</name><uri>http://www.blogger.com/profile/08499760348899961756</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='21' src='http://3.bp.blogspot.com/_Zkg8Povola0/STEeEy0olwI/AAAAAAAAAzM/eoNat5Xc-yU/S220/img_5794.jpg'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>9</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-1860787644647920271.post-863555073123616431</id><published>2010-09-18T16:09:00.006+09:00</published><updated>2010-09-18T16:26:17.827+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ruby'/><category scheme='http://www.blogger.com/atom/ns#' term='linux'/><category scheme='http://www.blogger.com/atom/ns#' term='git'/><category scheme='http://www.blogger.com/atom/ns#' term='ruby on rails'/><category scheme='http://www.blogger.com/atom/ns#' term='nginx'/><category scheme='http://www.blogger.com/atom/ns#' term='Phusion Passenger'/><title type='text'>A new look for bawdo.com - soon</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_Zkg8Povola0/TJRmVwkR41I/AAAAAAAABp0/-1SlsXWoh6Y/s1600/old.png"&gt;&lt;img style="float:left; margin:0 10px 10px 0;cursor:pointer; cursor:hand;width: 200px; height: 125px;" src="http://3.bp.blogspot.com/_Zkg8Povola0/TJRmVwkR41I/AAAAAAAABp0/-1SlsXWoh6Y/s200/old.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5518147967436055378" /&gt;&lt;/a&gt;&lt;br /&gt;Around 5 years ago I wrote &lt;a href="http://www.bawdo.com"&gt;www.bawdo.com&lt;/a&gt; in PHP, this week I rewrote the site using Ruby on Rails. I have one more thing to do before I make it go live, and that is to migrate old posts over to the new site. Maybe tomorrow :-)&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_Zkg8Povola0/TJRmujjsU5I/AAAAAAAABp8/kkAiEYsIwW8/s1600/new.png"&gt;&lt;img style="float:right; margin:0 0 10px 10px;cursor:pointer; cursor:hand;width: 200px; height: 125px;" src="http://1.bp.blogspot.com/_Zkg8Povola0/TJRmujjsU5I/AAAAAAAABp8/kkAiEYsIwW8/s200/new.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5518148393440662418" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Here is a sneak preview. There are some missing elements such as a way to contact me from the site, my &lt;a href="http://www.bawdo.com/index.php?entry=8"&gt;Mystery Tour&lt;/a&gt; page, and &lt;a href="http://www.bawdo.com/index.php?entry=9"&gt;150_002 Linux&lt;/a&gt; which is so old now it should probably be taken down.&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_Zkg8Povola0/TJRogLtOBBI/AAAAAAAABqE/9CFkoqYITzA/s1600/iPhone_new.png"&gt;&lt;img style="float:left; margin:0 10px 10px 0;cursor:pointer; cursor:hand;width: 134px; height: 200px;" src="http://1.bp.blogspot.com/_Zkg8Povola0/TJRogLtOBBI/AAAAAAAABqE/9CFkoqYITzA/s200/iPhone_new.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5518150345543255058" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;The iPhone version of the site can currently display comments, but I have not hacked up the required form to add a new comment. Leave that for another day.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1860787644647920271-863555073123616431?l=bawdo2001.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bawdo2001.blogspot.com/feeds/863555073123616431/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1860787644647920271&amp;postID=863555073123616431' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1860787644647920271/posts/default/863555073123616431'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1860787644647920271/posts/default/863555073123616431'/><link rel='alternate' type='text/html' href='http://bawdo2001.blogspot.com/2010/09/new-look-for-bawdocom-soon.html' title='A new look for bawdo.com - soon'/><author><name>bawdo2001</name><uri>http://www.blogger.com/profile/08499760348899961756</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='21' src='http://3.bp.blogspot.com/_Zkg8Povola0/STEeEy0olwI/AAAAAAAAAzM/eoNat5Xc-yU/S220/img_5794.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_Zkg8Povola0/TJRmVwkR41I/AAAAAAAABp0/-1SlsXWoh6Y/s72-c/old.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1860787644647920271.post-2364117776476938554</id><published>2010-04-17T15:46:00.005+09:00</published><updated>2010-04-17T16:22:51.048+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='linux'/><category scheme='http://www.blogger.com/atom/ns#' term='japanese keyboard'/><category scheme='http://www.blogger.com/atom/ns#' term='evdev'/><title type='text'>Japanese and English Keyboards - fun with evdev</title><content type='html'>I have been using Japanese keyboards now for many years and always make sure my laptops come with them. I like the layout and have become accustomed to it. However I was recently given a new &lt;a href="http://www.kinesis-ergo.com/"&gt;Kinesis&lt;/a&gt; keyboard that has a US keyboard layout.&lt;br /&gt;&lt;br /&gt;This new keyboard and nwo that evdev has become the flavour of the month when configuring keyboards under X make me write this post. &lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;evdev and the default fdi keymap&lt;/span&gt;&lt;br /&gt;However, the default fdi config does not play so nicely with Japanese keyboards. So here is my fdi keymap:&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;ISO-8859-1&amp;quot;?&amp;gt;&lt;br /&gt;&amp;lt;deviceinfo version=&amp;quot;0.2&amp;quot;&amp;gt;&lt;br /&gt;  &amp;lt;device&amp;gt;&lt;br /&gt;    &amp;lt;match key=&amp;quot;info.capabilities&amp;quot; contains=&amp;quot;input.keyboard&amp;quot;&amp;gt;&lt;br /&gt;      &amp;lt;merge key=&amp;quot;input.x11_driver&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;kbd&amp;lt;/merge&amp;gt;&lt;br /&gt;        &amp;lt;merge key=&amp;quot;input.x11_options.XkbRules&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;evdev&amp;lt;/merge&amp;gt;&lt;br /&gt;        &amp;lt;merge key=&amp;quot;input.x11_options.XkbLayout&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;jp&amp;lt;/merge&amp;gt;&lt;br /&gt;        &amp;lt;merge key=&amp;quot;input.x11_options.XkbModel&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;jp106&amp;lt;/merge&amp;gt;&lt;br /&gt;        &amp;lt;merge key=&amp;quot;input.x11_options.XkbOptions&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;ctrl:nocaps&amp;lt;/merge&amp;gt;&lt;br /&gt;        &amp;lt;!-- If we're using Linux, we use evdev by default (falling back to keyboard otherwise). --&amp;gt;&lt;br /&gt;        &amp;lt;match key=&amp;quot;/org/freedesktop/Hal/devices/computer:system.kernel.name&amp;quot;&lt;br /&gt;             string=&amp;quot;Linux&amp;quot;&amp;gt;&lt;br /&gt;        &amp;lt;merge key=&amp;quot;input.x11_driver&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;evdev&amp;lt;/merge&amp;gt;&lt;br /&gt;      &amp;lt;/match&amp;gt;&lt;br /&gt;    &amp;lt;/match&amp;gt;&lt;br /&gt;  &amp;lt;/device&amp;gt;&lt;br /&gt;&amp;lt;/deviceinfo&amp;gt;&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;This works fine. Until you plug in another keyboard other than Japanese.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Keymap switching alias&lt;/span&gt;&lt;br /&gt;To switch between Japanese and Keyboard layouts I have created the following aliases.&lt;br /&gt;&lt;br /&gt;english='setxkbmap us'&lt;br /&gt;japanese='setxkbmap jp'&lt;br /&gt;&lt;br /&gt;This works fine except for the the "|\" key. Switching to English sees this key disappear all together. And if you have an international US keyboard the "|\" International Key becomes an "&lt;&gt;" key. So to fix this I have done the following.&lt;br /&gt;&lt;br /&gt;# Create an ~/.Xmodmap file to remap keys 94 and 51 "|\"&lt;br /&gt;&lt;br /&gt;keycode 94 = backslash bar&lt;br /&gt;keycode 51 = backslash bar&lt;br /&gt;&lt;br /&gt;# Change the above mentioned english alias.&lt;br /&gt;&lt;br /&gt;english='setxkbmap us ; xmodmap ~/.Xmodmap'&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1860787644647920271-2364117776476938554?l=bawdo2001.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bawdo2001.blogspot.com/feeds/2364117776476938554/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1860787644647920271&amp;postID=2364117776476938554' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1860787644647920271/posts/default/2364117776476938554'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1860787644647920271/posts/default/2364117776476938554'/><link rel='alternate' type='text/html' href='http://bawdo2001.blogspot.com/2010/04/japanese-and-english-keyboards-fun-with.html' title='Japanese and English Keyboards - fun with evdev'/><author><name>bawdo2001</name><uri>http://www.blogger.com/profile/08499760348899961756</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='21' src='http://3.bp.blogspot.com/_Zkg8Povola0/STEeEy0olwI/AAAAAAAAAzM/eoNat5Xc-yU/S220/img_5794.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1860787644647920271.post-1073768560602269541</id><published>2010-04-04T11:51:00.004+09:00</published><updated>2010-04-04T12:18:08.462+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ruby'/><category scheme='http://www.blogger.com/atom/ns#' term='enscript'/><category scheme='http://www.blogger.com/atom/ns#' term='syntax highlighting'/><category scheme='http://www.blogger.com/atom/ns#' term='websvn'/><title type='text'>Ruby syntax highlighting within websvn</title><content type='html'>I'm assuming you are using &lt;a href="http://www.iki.fi/~mtr/genscript/"&gt;GNU Enscript&lt;/a&gt; for syntax highlighting with your websvn install.&lt;br /&gt;&lt;br /&gt;It seems that enscript does not come with a ruby syntax highlighting rules file by default.So the first thing to do is find one. This one works for me:&lt;br /&gt;&lt;br /&gt;&lt;a href="http://support.rubyforge.org/svn/trunk/support/ruby.st?ref=darwinports.com"&gt;http://support.rubyforge.org/svn/trunk/support/ruby.st?ref=darwinports.com&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Now copy this into your enscript highlight rules directory. e.g.&lt;br /&gt;&lt;br /&gt;cp ./ruby.st /usr/share/enscript/hl/&lt;br /&gt;&lt;br /&gt;OPTIONAL: Test if highlighting is working or not:&lt;br /&gt;&lt;br /&gt;enscript --color --language=html -Eruby --output=hello_ruby.html ./hello_world.rb&lt;br /&gt;&lt;br /&gt;Now for the websvn side of things:&lt;br /&gt;&lt;br /&gt;First off edit the websvn setup.php file and add rb and erb extensions to the $extEnscript array&lt;br /&gt;&lt;br /&gt;e.g.&lt;br /&gt;vim /usr/share/websvn/include/setup.php&lt;br /&gt;# SNIP - find the extEnscript array&lt;br /&gt;$extEnscript = array&lt;br /&gt;# SNIP - and add these two&lt;br /&gt;  '.rb'      =&gt; 'ruby',&lt;br /&gt;  '.erb'      =&gt; 'ruby',&lt;br /&gt;# SNIP&lt;br /&gt;&lt;br /&gt;Next, edit websvn's config.inc file. e.g.&lt;br /&gt;&lt;br /&gt;vim /etc/websvn/config.inc&lt;br /&gt;# SNIP - search for extEnscript and add the following two lines.&lt;br /&gt;$extEnscript[".rb"] = "ruby";&lt;br /&gt;$extEnscript[".erb"] = "ruby";&lt;br /&gt;&lt;br /&gt;This should be enough to get ruby syntax highlighting working. You can also edit your enscript.st to include naming and start rules for ruby if you'd like. e.g.&lt;br /&gt;&lt;br /&gt;vim /usr/share/enscript/hl/enscript.st&lt;br /&gt;# SNIP - Search for namerules and add the following:&lt;br /&gt; /\.(rb|erb)$/         ruby;&lt;br /&gt;# SNIP - Search for startrules and add the following:&lt;br /&gt;/-\*- [Rr][Uu][Bb][Yy] -\*-/      ruby;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1860787644647920271-1073768560602269541?l=bawdo2001.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bawdo2001.blogspot.com/feeds/1073768560602269541/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1860787644647920271&amp;postID=1073768560602269541' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1860787644647920271/posts/default/1073768560602269541'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1860787644647920271/posts/default/1073768560602269541'/><link rel='alternate' type='text/html' href='http://bawdo2001.blogspot.com/2010/04/ruby-syntax-highlighting-within-websvn.html' title='Ruby syntax highlighting within websvn'/><author><name>bawdo2001</name><uri>http://www.blogger.com/profile/08499760348899961756</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='21' src='http://3.bp.blogspot.com/_Zkg8Povola0/STEeEy0olwI/AAAAAAAAAzM/eoNat5Xc-yU/S220/img_5794.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1860787644647920271.post-536958715267477062</id><published>2010-01-29T21:40:00.004+09:00</published><updated>2010-01-29T22:36:35.795+09:00</updated><title type='text'>To Ecky Thump Or Not?</title><content type='html'>Usually when traveling in China the taxi drivers are pretty good. About the worst one would expect in Beijing for example is a taxi driver that refuses to take you somewhere. However, once in a taxi I have found they either use the meter or they give you a reasonable price. Most will use the meter if you ask them to.&lt;br /&gt;&lt;br /&gt;The above has been my experience in Shanghai, Beijing, Guangzhou, Suzhou, and Chengdu. Not so in Shenzhen :(&lt;br /&gt;&lt;br /&gt;I flew into Shenzhen for the first time ever and arrived at 2330. On walking out of the airport I was accosted by a horde of unlicensed taxi drivers. So far, this is par for the course in China. However what happened next was pretty crappy to say the least.&lt;br /&gt;&lt;br /&gt;I walked past the  unlicensed gang as I always do and went to the taxi rank. Jumped into the first taxi and gave the driver the address of my hotel. The driver turned and said, "how much"? My response was "use the meter please", whilst I indicated with gestures to help make myself understood. He understood, but refused to use the meter. I jumped out and then into the next taxi in line. The exact same conversation followed. I tried one more taxi with the same result.&lt;br /&gt;&lt;br /&gt;I found myself surrounded by non-English speakers, no police or airport staff in sight and no way of knowing which bus I might catch if I could find one. I was forced to negotiate with some taxi drivers on a price. I called the hotel and asked them how much it should cost... "100 RMb and it should take 30 minutes", was the response.&lt;br /&gt;&lt;br /&gt;Now I had to negotiate a price as no one would take me and use the meter. I found myself surrounded by around 10 "licensed" and "unlicensed" drivers. The "gang" decided the starting price would be 400 RMB. After several minutes and lots of back and forth no one would go below 180 RMB... Biting the bullet at midnight I jumped in and was whisked off to the far dark end of the airport and told to get out of the taxi under a dark underpass. I was now a good half kilometer away from where I started.&lt;br /&gt;&lt;br /&gt;I jumped out, as did the driver. He was constantly saying "ok, ok, ok" and "look, look, look" while he would use the remote on his key chain to flash the hazard lights on a different taxi parked nearby. Somehow I think he expected this would make me feel more at ease about the whole affair.&lt;br /&gt;&lt;br /&gt;Suffice to say I was on heightened alert. Standing in a position where I could better defend my self I was thinking the whole time I might have to do some ecky thump here.&lt;br /&gt;&lt;br /&gt;After around 10 minutes I was ushered into the car with the flashing hazard lights. We sat, and then after a further 10 minutes and several phone calls (the "taxi driver" was making them every few minutes) another car appeared. It was a normal sedan and in good condition. An unlicensed taxi after all it would seem.&lt;br /&gt;&lt;br /&gt;I was relocated to my third vehicle for the night. Money exchanged hands between the original and new "drivers" and I began to wonder if I was going to be spirited away somewhere only to appear on CNN as a kidnap victim some days later...&lt;br /&gt;&lt;br /&gt;I positioned myself behind the driver and ensured I could open the door whilst the vehicle was moving... more thoughts of ecky thump.&lt;br /&gt;&lt;br /&gt;We sped off down a main road and a few minutes later the first taxi driver pulls us over by flashing his lights and pounding on the horn. Some more money exchanges hands between them.&lt;br /&gt;&lt;br /&gt;At this I jump out and move to the back of the vehicle and demand my bags be taken out of the boot. Both my new and former drivers are saying "no, no, no". At this point I became agitated, to put it mildly. For some reason both of them took a few steps back and remotely opened the boot.&lt;br /&gt;&lt;br /&gt;I took my bags, put them in the first taxi and demanded I be taken back to the airport. Or at least I tried to demand this.&lt;br /&gt;&lt;br /&gt;The original driver, by my actions, now "knew" I wanted to be taken to the hotel. More money changed hands between the two "drivers" and we were off again. Now the driver is visibly angry and driving dangerously. Dangerous even by normal Chinese driving standards.&lt;br /&gt;&lt;br /&gt;He drove me part way to the hotel and pulled over next to yet another taxi and started a conversation with the newest of driver. My bags were taken out, and I was moved to yet another vehicle. More money changed hands between these first and third "drivers".&lt;br /&gt;&lt;br /&gt;At this stage an older lady wanders down the road and jumps in without a word. We finally depart with driver three and old lady riding shotgun chatting away incessantly about something.&lt;br /&gt;&lt;br /&gt;Around 20 minutes later I arrive at my hotel.&lt;br /&gt;&lt;br /&gt;During this adventure I felt as though I was in real danger at several key moments. I was constantly weighing my options; should I run, strike, or ride it out and see what develops.&lt;br /&gt;&lt;br /&gt;In the end all was well enough, but suffice it to say I will not be flying into Shenzhen at that time of night again. Actually I would highly recommend flying to Hong Kong and then catching the train into Shenzhen and getting off as close to your hotel as possible. Then taxi from there as the non-airport taxis seemed fine enough.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1860787644647920271-536958715267477062?l=bawdo2001.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bawdo2001.blogspot.com/feeds/536958715267477062/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1860787644647920271&amp;postID=536958715267477062' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1860787644647920271/posts/default/536958715267477062'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1860787644647920271/posts/default/536958715267477062'/><link rel='alternate' type='text/html' href='http://bawdo2001.blogspot.com/2010/01/to-ecky-thump-or-not.html' title='To Ecky Thump Or Not?'/><author><name>bawdo2001</name><uri>http://www.blogger.com/profile/08499760348899961756</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='21' src='http://3.bp.blogspot.com/_Zkg8Povola0/STEeEy0olwI/AAAAAAAAAzM/eoNat5Xc-yU/S220/img_5794.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1860787644647920271.post-9030765384865563914</id><published>2009-01-24T14:16:00.003+09:00</published><updated>2009-01-24T14:28:41.680+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='iphone'/><title type='text'>iPhone Apps Pricing Differences Between Regions</title><content type='html'>Recently I changed phones and decided to go with the iPhone. Besides battery life and the Apple iTunes lock in I'm happy with the device. &lt;span style="font-size:85%;"&gt;Sidenote: why can't they make the device present as a USB hard drive?&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;However, the thing that gets me really annoyed is the way Apple locks you into iTunes by region. The really cruddy thing about this, beside the interface only being localised for the region you are in, and that some apps are missing altogether, is the price differences between region.&lt;br /&gt;&lt;br /&gt;This is just one example, iSSH retails for 4.99 USD on the US iTunes site, and retails for 600 YEN on the Japanese. At current exchange rates that makes the local price approximalely 150 yen (1.70 USD) more.&lt;br /&gt;&lt;br /&gt;C'mon what is the justification for this kind of difference in price?&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1860787644647920271-9030765384865563914?l=bawdo2001.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bawdo2001.blogspot.com/feeds/9030765384865563914/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1860787644647920271&amp;postID=9030765384865563914' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1860787644647920271/posts/default/9030765384865563914'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1860787644647920271/posts/default/9030765384865563914'/><link rel='alternate' type='text/html' href='http://bawdo2001.blogspot.com/2009/01/iphone-apps-pricing-differences-between.html' title='iPhone Apps Pricing Differences Between Regions'/><author><name>bawdo2001</name><uri>http://www.blogger.com/profile/08499760348899961756</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='21' src='http://3.bp.blogspot.com/_Zkg8Povola0/STEeEy0olwI/AAAAAAAAAzM/eoNat5Xc-yU/S220/img_5794.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1860787644647920271.post-3502520257052908097</id><published>2009-01-04T20:37:00.003+09:00</published><updated>2009-01-04T21:27:51.991+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='linux'/><category scheme='http://www.blogger.com/atom/ns#' term='opensolaris'/><category scheme='http://www.blogger.com/atom/ns#' term='xen'/><title type='text'>OpenSolaris 2008.11 as a DomU running on a Linux Dom0</title><content type='html'>I'm not going to write yet another tutorial on how to setup OpenSolaris as a DomU running atop a Linux Dom0. What you will find here are my cfg files.&lt;br /&gt;&lt;br /&gt;Dom0&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Xen 3.3&lt;/li&gt;&lt;li&gt;Linux xen 2.6.18-xen-r12 x86_64 Dual-Core AMD&lt;/li&gt;&lt;/ul&gt;DomU&lt;br /&gt;&lt;ul&gt;&lt;li&gt;SunOS opensolaris-01 5.11 snv_101b i86pc i386 i86pc Solaris&lt;/li&gt;&lt;/ul&gt;&lt;span style="font-weight: bold;"&gt;cfg file used during the install&lt;/span&gt;&lt;br /&gt;&lt;code&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;#  -*- mode: python; -*-&lt;br /&gt;import os, re&lt;br /&gt;arch = os.uname()[4]&lt;br /&gt;if re.search('64', arch):&lt;br /&gt;     arch_libdir = 'lib64'&lt;br /&gt;else:&lt;br /&gt;     arch_libdir = 'lib'&lt;br /&gt;&lt;br /&gt;kernel = "/usr/lib/xen/boot/hvmloader"&lt;br /&gt;builder='hvm'&lt;br /&gt;device_model = '/usr/' + arch_libdir + '/xen/bin/qemu-dm'&lt;br /&gt;&lt;br /&gt;memory = "512"&lt;br /&gt;shadow = "2"&lt;br /&gt;name = "opensolaris-01"&lt;br /&gt;vif = ['type=ioemu, bridge=xenbr0']&lt;br /&gt;dhcp = "dhcp"&lt;br /&gt;vcpu="2"&lt;br /&gt;disk = [ 'phy:xenvg/open-sol-01,hda,w','file:/xen/iso/osol-0811.iso,hdc:cdrom,r' ]&lt;br /&gt;&lt;br /&gt;boot='d'&lt;br /&gt;&lt;br /&gt;usb=0  # No USB support&lt;br /&gt;&lt;br /&gt;sdl = 0&lt;br /&gt;vnc = 1&lt;br /&gt;vncpasswd='password'&lt;br /&gt;vnclisten='192.168.1.10'   # Replace this with the IP address of Dom0&lt;br /&gt;serial='pty'&lt;br /&gt;stdvga=0&lt;br /&gt;&lt;br /&gt;on_poweroff = 'destroy'&lt;br /&gt;on_reboot = 'destroy'&lt;br /&gt;on_crash = 'destroy'&lt;/span&gt;&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;cfg file used for normal running&lt;/span&gt;&lt;br /&gt;&lt;code&gt;&lt;span style="font-size:85%;"&gt;&lt;br /&gt;#  -*- mode: python; -*-&lt;br /&gt;import os, re&lt;br /&gt;arch = os.uname()[4]&lt;br /&gt;if re.search('64', arch):&lt;br /&gt;     arch_libdir = 'lib64'&lt;br /&gt;else:&lt;br /&gt;     arch_libdir = 'lib'&lt;br /&gt;&lt;br /&gt;kernel = "/usr/lib/xen/boot/hvmloader"&lt;br /&gt;builder='hvm'&lt;br /&gt;device_model = '/usr/' + arch_libdir + '/xen/bin/qemu-dm'&lt;br /&gt;&lt;br /&gt;memory = "512"&lt;br /&gt;shadow = "8"&lt;br /&gt;name = "opensolaris-01"&lt;br /&gt;vif = ['type=ioemu, bridge=xenbr0']&lt;br /&gt;dhcp = "dhcp"&lt;br /&gt;vcpu="2"&lt;br /&gt;&lt;/span&gt;&lt;/code&gt;&lt;code&gt;&lt;span style="font-size:85%;"&gt;disk = [ 'phy:xenvg/open-sol-01,hda,w','file:/xen/iso/osol-0811.iso,hdc:cdrom,r' ]&lt;/span&gt;&lt;/code&gt;&lt;br /&gt;&lt;code&gt;&lt;span style="font-size:85%;"&gt;&lt;br /&gt;boot='c'&lt;br /&gt;&lt;br /&gt;usb=0 # No USB support&lt;br /&gt;&lt;br /&gt;sdl = 0&lt;br /&gt;vnc = 1&lt;br /&gt;vncpasswd='password'&lt;br /&gt;vnclisten='192.168.1.10'&lt;br /&gt;serial='pty'&lt;br /&gt;stdvga=0&lt;br /&gt;&lt;br /&gt;on_poweroff = 'destroy'&lt;br /&gt;on_reboot = 'restart'&lt;br /&gt;on_crash = 'preserve'&lt;/span&gt;&lt;/code&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1860787644647920271-3502520257052908097?l=bawdo2001.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bawdo2001.blogspot.com/feeds/3502520257052908097/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1860787644647920271&amp;postID=3502520257052908097' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1860787644647920271/posts/default/3502520257052908097'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1860787644647920271/posts/default/3502520257052908097'/><link rel='alternate' type='text/html' href='http://bawdo2001.blogspot.com/2009/01/opensolaris-200811-as-domu-running-on.html' title='OpenSolaris 2008.11 as a DomU running on a Linux Dom0'/><author><name>bawdo2001</name><uri>http://www.blogger.com/profile/08499760348899961756</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='21' src='http://3.bp.blogspot.com/_Zkg8Povola0/STEeEy0olwI/AAAAAAAAAzM/eoNat5Xc-yU/S220/img_5794.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1860787644647920271.post-4626921881053541668</id><published>2008-12-22T20:40:00.003+09:00</published><updated>2008-12-23T01:47:11.026+09:00</updated><title type='text'>First a blog now facebook</title><content type='html'>For no particular reason I have never been interested in social networking sites, or writing a blog. However, about a year ago a friend sent me an invitation to join Linkedin. I signed up and within a couple of days I was back in touch with people I had not seen in decades.&lt;br /&gt;&lt;br /&gt;I played about with Linked in for a few hours. Checking things out and generally getting a feel for it. After this I stopped using it and pretty much only touch it if someone sends me a request to "connect".&lt;br /&gt;&lt;br /&gt;Now fast forward to two days ago and a friend tells me she uses facebook daily. She said it is an great way to keep in touch with distant friends. So, I signed up for an account and, as was the case with Linkedin, I have found myself in touch with people I have not seen nor heard from in a decade or more.&lt;br /&gt;&lt;br /&gt;I wonder how long facebook will hold my interest for...&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.facebook.com/people/Keith-Bawden/1020372817"&gt;My facebook profile&lt;/a&gt;&lt;br /&gt;&lt;noscript&gt;&lt;/noscript&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1860787644647920271-4626921881053541668?l=bawdo2001.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bawdo2001.blogspot.com/feeds/4626921881053541668/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1860787644647920271&amp;postID=4626921881053541668' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1860787644647920271/posts/default/4626921881053541668'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1860787644647920271/posts/default/4626921881053541668'/><link rel='alternate' type='text/html' href='http://bawdo2001.blogspot.com/2008/12/first-blog-now-facebook.html' title='First a blog now facebook'/><author><name>bawdo2001</name><uri>http://www.blogger.com/profile/08499760348899961756</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='21' src='http://3.bp.blogspot.com/_Zkg8Povola0/STEeEy0olwI/AAAAAAAAAzM/eoNat5Xc-yU/S220/img_5794.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1860787644647920271.post-7584103309893587136</id><published>2008-11-29T19:27:00.001+09:00</published><updated>2008-11-29T19:58:24.199+09:00</updated><title type='text'>Rental Car Insurance - worth it, or not?</title><content type='html'>&lt;span style="color: rgb(255, 0, 0); font-weight: bold;"&gt;DO NOT take this post as advice of any kind. Read your rental car policy thoroughly and make your own decisions.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Recently my wife and I hired a car for two weeks from Avis, Australia. I decided, as I always do, to not take the "insurance" that was on offer. Unfortunately a car park accident during this trip has made me rethink my position on rental car "insurance". Rethink, but not change my stance.&lt;br /&gt;&lt;br /&gt;What most people do not realise is that ALL rental cars are insured regardless of you paying the extra for "insurance".  The difference is between paying a higher premium or a higher excess. Premium fees are the, usually daily, amount of money that you pay in order to lower your excess. Excess is the amount you have to pay in the event of an accident. So really the "insurance" option should be called the "high premium" option. Calling it the "insurance" option leads people to belive that they are driving around completely uninsured. Obviously this is something that you do not want to do and something the rental car company does not want you to do.&lt;br /&gt;&lt;br /&gt;Anway, to better explain why I think the "insurance" option is not worth while (for me at least) some numbers are in order (current for Nov 2008, Avis Australia). All dollar values are in Australian Dollars:&lt;br /&gt;&lt;br /&gt;The "insurance" option&lt;br /&gt;$35/day&lt;br /&gt;Excess $300&lt;br /&gt;&lt;br /&gt;The "no insurance" option&lt;br /&gt;$0/day&lt;br /&gt;Excess $2,500&lt;br /&gt;&lt;br /&gt;In the event of an accident you have to pay the full excess amount no questions asked. However, a refund will be repaid if the repairs end up costing less than the excess. No portion of the premium amount is refunded under any circumstance! Now with this in mind lets explore the difference between the "insurance" option and the "no insurance" option in the event of a minor accident.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Scenario One - Minor Accident (14 day rental)&lt;/span&gt;&lt;br /&gt;In this scenario we have a broken side mirror that will cost $500 dollars to repair.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;"Insurance" Case&lt;/span&gt;&lt;br /&gt;14 days x $35 = $490&lt;br /&gt;Excess = $300&lt;br /&gt;Total "insurance" paid = $790&lt;br /&gt;Repair Cost = $500&lt;br /&gt;Refund = $0&lt;br /&gt;Out of pocket amount = Total "insurance" paid - Refund ($790)&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;"No Insurance" Case&lt;br /&gt;(&lt;/span&gt;Once again please note that even though I'm calling it the "no insurance" option your are insured - with Avis Australia at least)&lt;br /&gt;14 days x $0 = $0&lt;br /&gt;Excess Paid = $2,500&lt;br /&gt;Repair Cost = $500&lt;br /&gt;Refund = $2,000&lt;br /&gt;Out of pocket amount = Total "insurance" paid - Refund ($500)&lt;br /&gt;&lt;br /&gt;In this scenario you can see that with accidents that cause less than $790 worth of damage you are better off with the "no insurance" option.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Scenario Two - Major Accident (14 day rental)&lt;/span&gt;&lt;br /&gt;In this scenario we have a multiple car accident.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;"Insurance" Case&lt;/span&gt;&lt;br /&gt;14 days x $35 = $490&lt;br /&gt;Excess = $300&lt;br /&gt;Total "insurance" paid = $790&lt;br /&gt;Repair Cost = 1 metric gazillion dollars&lt;br /&gt;Refund = $0&lt;br /&gt;Out of pocket amount = Total "insurance" paid - Refund ($790)&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt; "No Insurance" Case&lt;/span&gt;&lt;br /&gt;14 days x $0 = $0&lt;br /&gt;Excess Paid = $2,500&lt;br /&gt;Repair Cost = 1 metric gazillion dollars&lt;br /&gt;Refund = $0&lt;br /&gt;Out of pocket amount = Total "insurance" paid - Refund ($2,500)&lt;br /&gt;&lt;br /&gt;In this scenario it is easy to see that accidents with dmage amounting to more than $790 the "insured" option is best.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;However&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Whilst I do not know if we will get any refund for our little car park accident I do know that this is the first time in years upon years of renting cars that I have ever had to claim for any kind of damage to a vehicle. I would estimate that at $35 a day and $300 excess I would have to have a fairly substantial accident every 8 weeks or so to make the "insured" option a good one. Remembering that all cars are in fact insured (with Avis at least ;)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1860787644647920271-7584103309893587136?l=bawdo2001.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bawdo2001.blogspot.com/feeds/7584103309893587136/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1860787644647920271&amp;postID=7584103309893587136' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1860787644647920271/posts/default/7584103309893587136'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1860787644647920271/posts/default/7584103309893587136'/><link rel='alternate' type='text/html' href='http://bawdo2001.blogspot.com/2008/11/rental-car-insurance-worth-it-or-not.html' title='Rental Car Insurance - worth it, or not?'/><author><name>bawdo2001</name><uri>http://www.blogger.com/profile/08499760348899961756</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='21' src='http://3.bp.blogspot.com/_Zkg8Povola0/STEeEy0olwI/AAAAAAAAAzM/eoNat5Xc-yU/S220/img_5794.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1860787644647920271.post-1711733952541350820</id><published>2008-11-11T10:21:00.000+09:00</published><updated>2008-11-11T10:24:30.097+09:00</updated><title type='text'>2blog || !2blog</title><content type='html'>My cousin sent me an email asking about online photo albums and how to place "content" on the web. I replied with try out picasa (which I have tied out) and blogger.com (which I have not). Actually I have never used a blog before, so I thought I might as well give it a go and then I would be better equiped to give advice on such things.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1860787644647920271-1711733952541350820?l=bawdo2001.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bawdo2001.blogspot.com/feeds/1711733952541350820/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1860787644647920271&amp;postID=1711733952541350820' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1860787644647920271/posts/default/1711733952541350820'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1860787644647920271/posts/default/1711733952541350820'/><link rel='alternate' type='text/html' href='http://bawdo2001.blogspot.com/2008/11/2blog-2blog.html' title='2blog || !2blog'/><author><name>bawdo2001</name><uri>http://www.blogger.com/profile/08499760348899961756</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='21' src='http://3.bp.blogspot.com/_Zkg8Povola0/STEeEy0olwI/AAAAAAAAAzM/eoNat5Xc-yU/S220/img_5794.jpg'/></author><thr:total>0</thr:total></entry></feed>
