<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
    <title>Cordinc Blog</title>
    <link rel="alternate" type="text/html" href="http://www.cordinc.com/blog/" />
    <link rel="self" type="application/atom+xml" href="http://www.cordinc.com/blog/atom.xml" />
    <id>tag:www.cordinc.com,2008-02-05:/blog//1</id>
    <updated>2008-12-24T17:36:33Z</updated>
    
    <generator uri="http://www.sixapart.com/movabletype/">Movable Type Personal 4.1</generator>

<entry>
    <title>Dougga Photos</title>
    <link rel="alternate" type="text/html" href="http://www.cordinc.com/blog/2008/12/dougga-photos.html" />
    <id>tag:www.cordinc.com,2008:/blog//1.41</id>

    <published>2008-12-24T14:53:33Z</published>
    <updated>2008-12-24T17:36:33Z</updated>

    <summary>I recently travelled to Tunisia for a holiday. Visiting the ancient ruined Roman city of Dougga was a highlight. It is quite hard to reach as an independent traveller. First you have to find the Tunis Northern Bus Station (out...</summary>
    <author>
        <name>Charles</name>
        
    </author>
    
    <category term="general" label="General" scheme="http://www.sixapart.com/ns/types#tag" />
    
    <content type="html" xml:lang="en-US" xml:base="http://www.cordinc.com/blog/">
        <![CDATA[<p>I recently travelled to Tunisia for a holiday. Visiting the ancient ruined Roman city of <a href="http://en.wikipedia.org/wiki/Dougga">Dougga</a> was a highlight. It is quite hard to reach as an independent traveller. First you have to find the Tunis Northern Bus Station (out of the tourist areas), go on a 2-hour bus journey to Teboursouk (the closest town), from there you arrange a return taxi trip to the ruins. Once there though, it is quite impressive. We had the place almost to ourselves for a couple of hours - perhaps we should have arranged for a longer stay with the taxi driver, but we had to catch the last bus back to Tunis! Some of the best photos I took are <a href="http://www.flickr.com/photos/33547649@N07/sets/72157611388103847/">here on Flickr</a>. In future I will put more photos up under that Flickr account.</p>

<p><img src="http://farm4.static.flickr.com/3202/3124829448_5aeaf9464a.jpg?v=0" alt="" /></p>]]>
        
    </content>
</entry>

<entry>
    <title>Ruby on Rails Hosting</title>
    <link rel="alternate" type="text/html" href="http://www.cordinc.com/blog/2008/12/ruby-on-rails-hosting.html" />
    <id>tag:www.cordinc.com,2008:/blog//1.40</id>

    <published>2008-12-21T14:56:51Z</published>
    <updated>2008-12-23T21:41:32Z</updated>

    <summary>Now that I have a couple of sites up and running on the web, I thought I&apos;d talk about how I chose my hosting providers and how it&apos;s going. For those who just want the short version: I use Slicehost...</summary>
    <author>
        <name>Charles</name>
        
    </author>
    
    <category term="general" label="General" scheme="http://www.sixapart.com/ns/types#tag" />
    
    <content type="html" xml:lang="en-US" xml:base="http://www.cordinc.com/blog/">
        <![CDATA[<p>Now that I have a couple of sites up and running on the web, I thought I'd talk about how I chose my hosting providers and how it's going. For those who just want the short version: I use <a href="http://www.slicehost.com/">Slicehost</a> and am very happy with them. Read on for more details.</p>

<p>When looking at potential hosts for my Rails web apps I took into consideration price, speed/memory, reliability and flexibility. I basically wanted something cheap, reliable and fast. I've been an amateur sysadmin before (and at my first dotcom job was technically a pro sysadmin), so I wasn't scared of getting into the unix command line. Thus support wasn't important. Similarly for a small project, bandwidth, email accounts and credit-card billing systems would not be used. I wanted more than a hobbyist's hosting site (even if that is exactly what I am), but not costly, professional hosting.</p>

<p>My first thoughts were my domain name register, <a href="http://www.godaddy.com/">GoDaddy</a>, or the host of this blog, <a href="http://www.pair.com/">pair</a>. I know a number of people have issues with GoDaddy, but I've always found them fine for buying domain names and I can just ignore their constant upselling. However, I wasn't sure about their Rails hosting and a search only found bad stories (eg. <a href="http://www.37signals.com/svn/archives2/godaddy_hosting_now_supports_rails.php">here</a>, <a href="http://www.ericdaugherty.com/blog/2007/07/rails-on-godaddy.html">here</a> and <a href="http://blog.mcmoyer.com/2007/9/14/running-rails-on-godaddy-a-k-a-how-do-you-keep-a-geek-entertained">here</a>). I've also been happy with the service Pair have provided with this blog and associated static website. I didn't find much online about their Rails hosting and decided it would in any case be best to use different providers for this blog and my Rails apps.</p>

<p>Next I took a look at some webpages specifically listing Rails web hosts, such as on the <a href="http://wiki.rubyonrails.org/rails/pages/RailsWebHosts">Rails wiki</a>. Among the massive listing there, special mention is made of <a href="http://joyent.com/">Joyent</a> and <a href="http://www.engineyard.com/">EngineYard</a> on a couple of occasions. Certainly, these two companies seem to be held in very high esteem in the Rails community and host many well known Rails sites. However, they are both quite expensive - aiming for the high-end market. Too expensive for my goals or really anyone without funding. They are more aspirational - it would be nice to one day need the services of such a hosting firm. </p>

<p>I also found a couple of lists at <a href="http://www.rubyonrailswebhost.com/">rubyonrailswebhost</a> and <a href="http://antoniocangiano.com/2006/01/01/rails-hosting/">Zen and the Art of Programming</a>. They rate <a href="http://www.dreamhost.com/">Dreamhost</a> and <a href="http://www.site5.com/">Site5</a> highly and both hosts matched my needs: dirt cheap (under $10/month) and with decent reliability according to reviews. Before signing up I sent Antonio Cangiano at <a href="http://antoniocangiano.com">Zen and the Art of Programming</a> (a decent Rails blog I now subscribe to) an email asking if he had any updated advice since his blog on hosting was nearly 2 years old. Antonio suggested a new name, <a href="http://www.slicehost.com/">Slicehost</a>. Slicehost use a virtualisation system so that it appears to the hosted application that it has a whole server to itself (albeit a fairly small server). This means that someone else's app can't hog resources slowing down your app. With memory intensive Rails apps this is very useful. They also have full command line access - you basically start with a clean build and can install/configure it how you like. While any "point and click" users would find it daunting, this really appealed to me. They provide a number of <a href="http://articles.slicehost.com/">useful getting started articles</a>, including some Rails ones, so I was sold. They are more expensive than other hosts at $20/month for a 256MB, but I have been very happy with their service over the last 6 months.</p>]]>
        
    </content>
</entry>

<entry>
    <title>Quick Timezone Calculation</title>
    <link rel="alternate" type="text/html" href="http://www.cordinc.com/blog/2008/12/quick-timezone-calculation.html" />
    <id>tag:www.cordinc.com,2008:/blog//1.39</id>

    <published>2008-12-13T17:19:07Z</published>
    <updated>2008-12-22T19:03:37Z</updated>

    <summary>I have been asked what time I get the forecasts for a location in my historical weather forecast system. The obvious problem being that if I read all the forecasts at nearly the same time, different cities could be in...</summary>
    <author>
        <name>Charles</name>
        
    </author>
    
    <category term="projects" label="Projects" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="technical" label="Technical" scheme="http://www.sixapart.com/ns/types#tag" />
    
    <content type="html" xml:lang="en-US" xml:base="http://www.cordinc.com/blog/">
        <![CDATA[<p>I have been asked what time I get the forecasts for a location in my <a href="http://www.cordinc.info/weather/">historical weather forecast system</a>. The obvious problem being that if I read all the forecasts at nearly the same time, different cities could be in different days due to differing timezones.</p>

<p>The answer is, I read the forecasts at roughly midday in each of the locations. That is, every hour I read the forecasts for the locations where it is roughly midday. This is done by approximating the various <a href="http://en.wikipedia.org/wiki/Time_zone">timezones</a> using the location's longitude. This isn't exact - it doesn't account for daylight savings or places like China, which is all one timezone despite being wide enough to be split into many. Generally it is accurate to within a couple of hours - fine for the purpose. The code is below.</p>

<div style="background: #DFE8DF; overflow: auto; padding: 5px">


<pre>
time_band = -Time.now.gmtime.hour + 12
locs = Location.find_by_sql [&quot;select * from locations where longitude &gt;= ? and longitude &lt; ?&quot;, (time_band-1)*15, time_band*15]
</pre>


</div>]]>
        
    </content>
</entry>

<entry>
    <title>Past weather forecasts</title>
    <link rel="alternate" type="text/html" href="http://www.cordinc.com/blog/2008/12/past-weather-forecasts.html" />
    <id>tag:www.cordinc.com,2008:/blog//1.38</id>

    <published>2008-12-08T20:51:34Z</published>
    <updated>2008-12-10T17:50:49Z</updated>

    <summary> I often have ideas for little projects, most never go anywhere, but some act as distractions and bother me until I complete them. Recently, I wanted to know what the weather was in London a few days in the...</summary>
    <author>
        <name>Charles</name>
        
    </author>
    
    <category term="projects" label="Projects" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="weather" label="Weather" scheme="http://www.sixapart.com/ns/types#tag" />
    
    <content type="html" xml:lang="en-US" xml:base="http://www.cordinc.com/blog/">
        <![CDATA[<p> I often have ideas for little projects, most never go anywhere, but some act as distractions and bother me until I complete them. Recently, I wanted to know what the weather was in London a few days in the past. Easy, I thought, I just find it online. I couldn't. There are many sites with the current weather or forecasts. However, I could not find any with historical weather. So I quickly created one based on my knowledge of <a href="http://www.cordinc.com/blog/2008/11/using-bbc-backstage-weather.html"><span class="caps">BBC</span> Backstage</a>. </p>

<p>I have put the system up <a href="http://www.cordinc.info/weather">here</a>. It is still at an early state, it may change or be shutdown. At the moment it displays only last month's historical weather forecasts. </p>]]>
        
    </content>
</entry>

<entry>
    <title>Rails text_field_with_auto_complete and not displaying the selected item</title>
    <link rel="alternate" type="text/html" href="http://www.cordinc.com/blog/2008/11/rails-text-field-with-auto-com.html" />
    <id>tag:www.cordinc.com,2008:/blog//1.37</id>

    <published>2008-11-21T17:08:47Z</published>
    <updated>2008-11-22T12:07:23Z</updated>

    <summary> I am doing some work with the Rails text_field_with_auto_complete method to provide a dropdown list of completed options as a user types, like Google Suggest. However, I needed the item displayed in the dropdown to be different to the...</summary>
    <author>
        <name>Charles</name>
        
    </author>
    
    <category term="technical" label="Technical" scheme="http://www.sixapart.com/ns/types#tag" />
    
    <content type="html" xml:lang="en-US" xml:base="http://www.cordinc.com/blog/">
        <![CDATA[<p> I am doing some work with the Rails text_field_with_auto_complete method to provide a dropdown list of completed options as a user types, like <a href="http://www.google.com/webhp?complete=1&amp;hl=en">Google Suggest</a>. However, I needed the item displayed in the dropdown to be different to the item displayed when it is selected. I couldn't find any help online. So at first I thought I would need to override the <span class="caps">AJAX </span>code, but when I looked I saw text_field_with_auto_complete already had this feature built in. </p>]]>
        <![CDATA[<p>To find out how to use text_field_with_auto_complete, I recommend this <a href="http://railscasts.com/episodes/102">Railscast</a> (I have watched about a dozen Railscasts and they have all been great). My starting setup is as described in the Railscast.</p>

The trick to displaying something different to what was selected is to have the field to be displayed hidden in the selection list. To do this add a <code>&lt;div&gt;</code> with a class into the selection item with <code>style='display:none'</code>. Thus the text in the div will not be displayed in the dropdown, but the text is there. Put the text to show when an item is selected into the hidden div. In the file to create the list of selection items I had the following:<br />
<div style="background: #DFE8DF; overflow: auto; padding: 5px">


<pre>
&lt;% return unless @queues %&gt;
&lt;% items = @queues.map { |entry| content_tag(&quot;li&quot;, 
	&quot;&lt;div class='wq_display' style='display:none'&gt;#{entry.name}&lt;/div&gt;&lt;div class='wq_full'&gt;#{entry.name_and_owner}&lt;/div&gt;&quot;) } %&gt;
&lt;%= content_tag(&quot;ul&quot;, items) %&gt;
</pre>


</div>

<br/><br />
Then in call to the text_field_with_auto_complete method specify <code>:select</code> in the fourth argument. The value of the <code>:select</code> is the class name of the div to use for displaying. So I used the below and voila, the <code>wq_full</code> div is displayed in the dropdown and the <code>wq_display</code> div is displayed in the text box when selected!<br />
<div style="background: #DFE8DF; overflow: auto; padding: 5px">


<pre>
Queue &lt;%= text_field_with_auto_complete :add, :queue, 
		{:size =&gt; 20, :maxlength =&gt; 40 }, 
		{:url =&gt; formatted_workqueues_path(:js), :method =&gt; :get, :param_name =&gt; 'search', :select =&gt; 'wq_display'} %&gt;
</pre>


</div>

<br/><br />
This concept can be easily extended. I also needed a third field, one containing the selection item's id and have this passed back to the server on submit. Thus I just add a new hidden div to the selection items containing the id:<br />
<div style="background: #DFE8DF; overflow: auto; padding: 5px">


<pre>
&lt;% return unless @queues %&gt;
&lt;% items = @queues.map { |entry| content_tag(&quot;li&quot;, 
	&quot;&lt;div class='wq_display' style='display:none'&gt;#{entry.name}&lt;/div&gt;&lt;div class='wq_full'&gt;#{entry.name_and_owner}&lt;/div&gt;&lt;div class='wq_id' style='display:none'&gt;#{entry.id}&lt;/div&gt;&quot;) } %&gt;
&lt;%= content_tag(&quot;ul&quot;, items) %&gt;
</pre>


</div>

<br/><br />
Then I use <code>:after_update_element</code> to provide a javascript function that runs after an item is selected. Here it sets the value of a hidden input field to the text inside the new div.<br />
<div style="background: #DFE8DF; overflow: auto; padding: 5px">


<pre>
Queue &lt;%= text_field_with_auto_complete :add, :queue, 
		{:size =&gt; 20, :maxlength =&gt; 40 }, 
		{:url =&gt; formatted_workqueues_path(:js), :method =&gt; :get, :param_name =&gt; 'search', :select =&gt; 'wq_display',
                  :after_update_element =&gt; &quot;function(element,val) {
								var nodes = val.select('.wq_id') || [];
								if(nodes.length&gt;0) 
									$('wq_id').value = Element.collectTextNodes(nodes[0], 'wq_id');
	} &quot;} %&gt;
&lt;input id=&quot;wq_id&quot; name=&quot;add[wq_id]&quot; type=&quot;hidden&quot; value=&quot;&quot;/&gt;
</pre>


</div>

<p><br/><br />
You could also go further and update other parts of the page or have other fields, but you should get the idea for now.</p>]]>
    </content>
</entry>

<entry>
    <title>How to make £1/hour playing online poker</title>
    <link rel="alternate" type="text/html" href="http://www.cordinc.com/blog/2008/11/how-to-make-1hour-playing-onli.html" />
    <id>tag:www.cordinc.com,2008:/blog//1.36</id>

    <published>2008-11-15T18:34:33Z</published>
    <updated>2008-11-22T12:08:33Z</updated>

    <summary>I have just completed my 50th online poker game. I lost. My top pair turned into a straight on the river and so I went all-in against a player who check-called. Turned out he made a full house on the...</summary>
    <author>
        <name>Charles</name>
        
    </author>
    
    <category term="poker" label="Poker" scheme="http://www.sixapart.com/ns/types#tag" />
    
    <content type="html" xml:lang="en-US" xml:base="http://www.cordinc.com/blog/">
        <![CDATA[<p>I have just completed my 50th online poker game. I lost. My top pair turned into a straight on the river and so I went all-in against a player who check-called. Turned out he made a full house on the flop! Now seems like a suitable milestone to think again about my play.</p>

<p>After the home games I thought I'd try online poker for real money (opposed to the online "play" money with which I learnt the game). So I put US$50 on <a href="http://www.pokerstars.com">Pokerstars</a>. Pokerstars also invited me to a beginner's tournament, which seemed to be a ploy to get some more money into newbies' hands - I won US$32. Thus I started with US$82 and that is my baseline. I decided to focus on one type of game and chose micro stakes heads-up Hold'em sit'n'go tournaments. That is, there are two players, each puts in US$2.20 for a set number of chips and play until one person has all the chips. The winner gets US$4 and the site US$0.40 in fees - the loser gets nothing. There are always a couple of these games going so you can play whenever you want. It would take a long time to go broke and with a single opponent I could learn the basics in the simplest environment possible.</p>

<p>At first I started winning. I think I won my first 3 games straight. I started dreaming of becoming a poker pro. Then I starting losing, dropping to around the US$60 mark after nearly 20 games. I started paying more attention to the game and writing down results - 5/10, then 7/10, then 8/10, lastly a loss to reach the 50 game mark. In total I have won 25, lost 25. Thus, due to fees I have US$72 - US$10 down on where I started. I think in the right circumstances I can beat this level of the game. In the final eleven games I played noticeably worse than my opponent three times (I lost one and won two - lucky). Winning 7 out of 10 seems a reasonable goal. Which at about 2.5 hours per 10 games equates to roughly £1/hour (hence the title).</p>

<p>There is however one small problem. I have a tendency to tilt. Tilt is a great concept in poker, it is when for whatever reason you are not playing rationally and letting your emotions influence your decisions. This can be getting bored; overbetting back at someone who is annoying; or a vast range of other suboptimal play. I certainly think that my poker maths skills have a great deal of room for improvement, but that doesn't seem to matter too much at my level. My opponents have a lot to learn too. What seems to separate us, in my limited experience, is temperament. Over the last 30 games or so I focussed mainly on ensuring I was in an appropriate frame of mind before starting (patient, relaxed, time to play and a desire to win) and stopping if I felt this slipping. That lead to the improvement.</p>

<p>So what now? I have started reading a book on poker theory, so hopefully my game will slowly improve. Other than that I aim to control my tendency to tilt. I'll play another 50 games (which will take a couple of months) and aim to win 70%, which would mean I break US$100. If I can manage this and I think I'm playing well, I'll consider going up a level or trying a different game.</p>]]>
        
    </content>
</entry>

<entry>
    <title>Using BBC Backstage Weather</title>
    <link rel="alternate" type="text/html" href="http://www.cordinc.com/blog/2008/11/using-bbc-backstage-weather.html" />
    <id>tag:www.cordinc.com,2008:/blog//1.35</id>

    <published>2008-11-09T14:42:28Z</published>
    <updated>2008-11-20T18:08:19Z</updated>

    <summary>Recently for a little project I wanted to get weather reports, and being in London my first thought was to use BBC weather. Doing a little searching, the BBC provides a number of RSS feeds for its data (news, weather,...</summary>
    <author>
        <name>Charles</name>
        
    </author>
    
    <category term="projects" label="Projects" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="technical" label="Technical" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="weather" label="Weather" scheme="http://www.sixapart.com/ns/types#tag" />
    
    <content type="html" xml:lang="en-US" xml:base="http://www.cordinc.com/blog/">
        <![CDATA[<p>Recently for a little project I wanted to get weather reports, and being in London my first thought was to use <a href="http://www.bbc.co.uk/weather/"><span class="caps">BBC </span>weather</a>. Doing a little searching, the <span class="caps">BBC </span>provides a number of <span class="caps">RSS </span>feeds for its data (news, weather, etc), as part of  the <a href="http://backstage.bbc.co.uk">Backstage</a> project. Details of the weather feeds are <a href="http://backstage.bbc.co.uk/data/WeatherFeeds">here</a>. This post gives some of the tips and tricks I discovered using these feeds.</p>]]>
        <![CDATA[<p>The feeds are split into a number of categories. There are the global and UK feeds; forecasts and observations. <a href="http://backstage.bbc.co.uk/data/WeatherFeeds">The details of the feeds are here</a>. The world feed includes many UK cities too. For example the world forecast feed for London, UK is <a href="http://feeds.bbc.co.uk/weather/feeds/rss/5day/world/0008.xml">http://feeds.bbc.co.uk/weather/feeds/rss/5day/world/0008.xml</a>. Note the last part of the <span class="caps">URL</span>: the number is the <span class="caps">BBC </span>location <span class="caps">ID.</span> There are different IDs for the world and UK feeds, London is 1769 on the UK feed. As far as I can tell, these IDs do not match any other location ID system, they are certainly not the same as the yahoo.com or weather.com location IDs. There also does not seem to be an official list of IDs, but <a href="http://www.cordinc.com/projects/bbc_locations.csv">here is a <span class="caps">CSV </span>of the world locations</a> I managed to generate earlier. Looking at the list you will see that large parts of the number line are empty, for example there are no entries between 525 and 999. Some of these missing entries come back as blank, but most come back as duplicates of previously seen locations. Aberporth, is both location ID 380 and 7510. For me, they are mainly duplicates of London (0008), but I think this may be related to having this set as my "home" city on the <span class="caps">BBC </span>website. </p>

<p>The observation feed is a little different to what one might hope. It is a point in time observation (updated at least twice a day according to the <span class="caps">BBC </span>website). However, there seems to be no guarantee of when these updates will occur. Thus, this feed is often out of date and not representative of that day's weather. The observation feeds also seem far more fragile. The data is often marked as N/A. For most purposes I find the forecast feed to be more useful than the observations. The current day's weather is the first day of the forecast.</p>

A forecast feed has the <a href="http://cyber.law.harvard.edu/rss/rss.html">standard rss xml tags</a>, with one <code>&lt;item&gt;</code> per day's forecast, starting with the current day and going forward 3 or 5 days. Also, the <code>&lt;image&gt;</code> tag for the channel contains the url of an image depicting the current day's weather. Other than that, most of the interesting data is in the <code>&lt;item&gt;</code>'s. Below is an example of a verbatim <code>&lt;item&gt;</code> tag for London (take a look at a feed for the other tags):<br />
<div style="background: #DFE8DF; overflow: auto; padding: 5px">


<pre>
&lt;item&gt;
&lt;title&gt;Sunday: light showers, Max Temp: 12&amp;#xB0;C (54&amp;#xB0;F), Min Temp: 6&amp;#xB0;C (43&amp;#xB0;F)&lt;/title&gt;

&lt;link&gt;http://www.bbc.co.uk/weather/5day.shtml?world=0008&lt;/link&gt;
&lt;description&gt;Max Temp: 12&amp;#xB0;C (54&amp;#xB0;F), Min Temp: 6&amp;#xB0;C (43&amp;#xB0;F), Wind Direction: SSW, Wind Speed: 29mph, Visibility: poor, Pressure: 1011mb, Humidity: 52%, 

UV risk: low, 


Pollution: moderate, 

Sunrise: 07:07GMT, Sunset: 16:21GMT&lt;/description&gt;
&lt;guid isPermaLink=&quot;false&quot;&gt;tag:feeds.bbc.co.uk,(none):/weather/5day/world/0008-1&lt;/guid&gt;
&lt;pubDate&gt;Sun,  9 Nov 2008 08:10:04 +0000&lt;/pubDate&gt;
&lt;geo:lat&gt;51.52&lt;/geo:lat&gt;
&lt;geo:long&gt;-0.10&lt;/geo:long&gt;
&lt;/item&gt;
</pre>


</div>

<p>If you need to do something other than just display the weather forecast, you will need to parse the <code>&lt;title&gt;</code> or <code>&lt;description&gt;</code> tags. I don't personally recommend this as the data is unstructured and liable to change. In particular I have found:</p>


<ul>
<li>extra spaces are sometimes inserted or removed</li>
<li>data is often missing (for instance the latitude and longitude tags are present but empty for location IDs 7500 through to 7518)</li>
<li>data can often be marked as "NA", N/A" or "none" </li>
</ul>



<p>Given that disclaimer, the regular expressions below (in <a href="http://www.regular-expressions.info/ruby.html">Ruby regex format</a>) worked for my task and may be a starting point for you when parsing:</p>


<ul>
<li><code>&lt;title&gt;</code> uses the format <div style="background: #DFE8DF; overflow: auto; display: block"><br />
<code>/([\w -\/]+): ([\w -]+|N\/A|NA|\(none\)), Max Temp: (.*)/m</code></div> - the first matching group is the day and the second is the forecast description</li>
<li><code>&lt;description&gt;</code>  has the format <div style="background: #DFE8DF; overflow: auto; display: block"><code>/Max Temp: ([-\d\.]+|N\/A|NA|\(none\))(\w+) \((.+)\), Min Temp: ([-\d\.]+|N\/A|NA|\(none\))(\w+) \((.+)\), Wind Direction: ([\w -\/\(\)]+), Wind Speed: ([\d\.]*|N\/A|NA|\(none\))mph, Visibility: ([\w -\/]+), Pressure: ([\d\.]+|N\/A|NA|\(none\))m([bB]), Humidity: ([\d\.]+|N\/A|NA|\(none\))(.*)/m</code></div> matching group 1 is the max temperature in celsius, 4 is the min temperature, 7 is the wind direction, 8 is the wind speed, 9 is the visibility, 10 is the pressure and 12 is the humidity.</li>
</ul>



<p>One other thing to remember when accessing the <span class="caps">BBC </span>weather feeds is that there appears to be an undocumented throttling feature. If you make too many requests, for a short period of time your requests will be rejected. From experimentation, making one request every 3 seconds will not breach the limit and you won't be rejected. However, making a request every 2 seconds will result in being blocked for a couple of minutes after 1000 or so requests. I suggest using the slowest request rate you can accept.</p>

<p>The unstructured nature of the weather data (ie, the various individual pieces of data are not available in their own tags and have to be extracted from the description text) and somewhat hidden nature of the location IDs (without a discovery service I could find) suggest these feeds are only designed to be used for display. Next time I'll try the Yahoo or Weather.com <span class="caps">API</span>s and see if they are any different.</p>]]>
    </content>
</entry>

<entry>
    <title>FOWA London 2008</title>
    <link rel="alternate" type="text/html" href="http://www.cordinc.com/blog/2008/10/fowa-london-2008.html" />
    <id>tag:www.cordinc.com,2008:/blog//1.34</id>

    <published>2008-10-18T20:44:24Z</published>
    <updated>2008-10-28T21:01:54Z</updated>

    <summary>Last Friday I went to the Future of Web Apps (FOWA) London 2008 conference. As I only had the single day off work I decided to get the expo only entrance (£5) rather than a two-day full pass for nearly...</summary>
    <author>
        <name>Charles</name>
        
    </author>
    
    <category term="general" label="General" scheme="http://www.sixapart.com/ns/types#tag" />
    
    <content type="html" xml:lang="en-US" xml:base="http://www.cordinc.com/blog/">
        <![CDATA[<p>Last Friday I went to the <a href="http://london2008.futureofwebapps.com/">Future of Web Apps (FOWA) London 2008 conference</a>. As I only had the single day off work I decided to get the expo only entrance (£5) rather than a two-day full pass for nearly £400. Thus I didn't get to see any of the proper talks, instead I just walked around the floor to see the booths and one "FOWA university" talk. </p>

<p>The talk was by <a href="http://www.yuuguu.com">Yuuguu</a> on how to run a company when all employees telecommute. Apparently, the FOWA conference is the first time all the Yuuguu employees have met at the same time. Most of the talk was fairly bland and many in the audience were head down on their laptops or iPhones. However, there were a few interesting points. Yuuguu people don't work if they meet in person, they consider the time too important to waste on work and they bond instead. Also, every Friday they get together online for virtual "beers". </p>

<p>There were a couple dozen companies with booths. A few big names like Microsoft, Sun and Myspace were there, but most were firms I had never heard mentioned before. This caused some awkward experiences, as their names normally give no hint as to their business areas. I would squint at their posters trying to work out what they did (which often didn't help much either). Meanwhile some marketing person would creep up on me, start talking and give me their <a href="http://www.moo.com/">Moo mini business card</a> (these were literally everywhere). I left the conference knowing what every exhibiting business did, but only about half of them were marginally relevant to me.</p>

<p>The Microsoft booth was by far the best. Among the computers they had a couple of Xboxs and a <a href="http://www.microsoft.com/surface">Surface box</a> - the Xboxs were empty while it was hard to see the Surface through the crowd. Rightly so, it was an impressive machine. All that made me want to code rather than talk and I left after an hour, skipping the Diggnation filming - I saw it last year. Anyway if want you can see the FOWA talks <a href="http://events.carsonified.com/fowa/2008/london/content">here</a>. </p>
]]>
        

    </content>
</entry>

<entry>
    <title>Is there dumb money on Intrade?</title>
    <link rel="alternate" type="text/html" href="http://www.cordinc.com/blog/2008/10/is-there-dumb-money-on-intrade.html" />
    <id>tag:www.cordinc.com,2008:/blog//1.33</id>

    <published>2008-10-12T10:48:51Z</published>
    <updated>2008-10-28T21:09:42Z</updated>

    <summary>A friend recently mentioned that there is dumb money on Intrade, a site that creates markets in various real-life events such as the US Presidential elections. They said that there are still people betting that Hillary Clinton will become President...</summary>
    <author>
        <name>Charles</name>
        
    </author>
    
    <category term="general" label="General" scheme="http://www.sixapart.com/ns/types#tag" />
    
    <content type="html" xml:lang="en-US" xml:base="http://www.cordinc.com/blog/">
        <![CDATA[<p>A friend recently mentioned that there is dumb money on <a href="http://www.intrade.com">Intrade</a>, a site that creates markets in various real-life events such as the US Presidential elections. They said that there are still people betting that Hillary Clinton will become President in November. I'm a big fan of free money so I thought I'd check it out. Sure enough, according to Intrade, there is a 1.6% chance Hillary will be elected President, with thousands of dollars worth of contracts available. I'll grant the chance of Hillary being elected as non-zero, but it must be orders of magnitude less than 1.6%, so what's going on? It was a quiet day so I thought I'd work out if it was a scam or a bad deal.</p>
]]>
        <![CDATA[<p>Firstly, I checked Google to see if this was a legimate site. It certainly seems to be reputable. There are many mentions in major mainstream media and various blogs use its numbers instead of polls (they have Obama at 77% for the win). Intrade is based in Ireland, so presumably they are safely outside the US's gambling laws. </p>

<p>Next I checked the financial maths. At the time of writing, the <a href="http://www.intrade.com/jsp/intrade/common/c_cd.jsp?conDetailID=376100&amp;z=1223801419953">Hillary Clinton to be President contract</a> has a bid of 1.6 with 633 US$10 contracts and an ask of 1.7 with 450 US$10 contracts (with good depth after the top). Thus if it is certain that Hillary will not win, you would sell at the bid price (ie sell Hillary to win contracts at 1.6). You would then immediately earn US$0.16 per contract and if Hillary lost that would be the end. If she won then you would owe US$9.84 per contract on November 6th (the date the contract matures). It would be the reverse if you thought Hillary would win, then you buy contracts, paying US$0.17/contract (the ask price) and getting paid US$9.84 when she won (or nothing if she didn't). So far so good.</p>

<p>At this point Intrade are making no money themselves, so I went looking for the fee structure. <a href="http://www.intrade.com/jsp/intrade/help/general.html#fees">Buying and selling fees</a> change depending on various circumstances, but in this example they are US$0.03/contract. Also there is a US$0.10 fee for holding a contract to expiry. It is possible that you could trade out of the contract before expiry and thus pay US$0.03 rather than US$0.10, but this requires the market to move your way. The worst case is thus US$0.13 of profit will disappear in fees. Now selling the Hillary for President contract makes US$0.03. Not nearly as good as before, but still probably much greater then the chance she will win. I have made a simplification here; it is possible for sellers to reinvest their initial gain if it exceeds the cost of the contract. However this is unlikely to make much difference due to the small size of the profit compared to the investment required. After the cost of the initial trade you would be able to sell 1 extra contract in a reinvestment for every 75.7 you initially sold.</p>

<p>So how does Intrade ensure people pay up if the contract goes against them? There must be some rules about posting margin on your trades in case they go bad. This would only apply to the sellers as they get money upfront and only have to pay their losses - buyers pay upfront and get paid if they win. It was a <a href="http://www.intrade.com/jsp/intrade/help/exchange-rules.html">little hard to find</a> but Intrade's margin rule is "cover your worst case future potential losses". That is if you sell Hillary for President contracts at US$0.16 you get US$0.16/contract, but you also have to post US$9.84/contract as margin. This money is held in escrow and as far as I can tell, earns no interest. This is equivalent to putting US$9.84 in a bank and getting US$0.03 in interest an absolute return on your money of 0.3049% (absolute return = 0.03/9.84). However, the money will only be held until the end of the contract - at the moment that is 26 days for Hillary. This makes for an equivalent annual interest rate of 4.37% (annual return = (1+absolute return)^(365/days to expiry) -1 ). A bit better and it gets better still closer to expiry. If the same trade is made next Saturday then the return is 5.7%, the week after that it's 9.7% (there is a complete table <a href="http://spreadsheets.google.com/pub?key=pK_9JsDu7LaCZ4SdXz9F6VA&amp;gid=1">here</a>).  </p>

<p>So over short time periods the relative return is good (assuming the prices stay available). So to get a good overall return you would need to keep rolling over your winnings into other dumb bets near maturity. While there are quite a few other unlikely contracts for the US elections (for example, Biden to be dropped as VP candidate), the Intrade markets seem to become more sane after November 4th. There are still some that are possibilities: hurricane contracts closing at the beginning of December; various contracts maturing at the end of the year (Europe to host the 2016 Olympics?); and, the Oscars bets in February. There are financial markets contracts closing every day, but these could be risky (especially given the current volatility). I think trying to roll over profits into other contracts would be like picking up pennies in front of bulldozers, and like <a href="http://en.wikipedia.org/wiki/Long-Term_Capital_Management">LTCM</a> the temptation would be to veer into less certain contracts to maintain return.</p>

<p>An alternative would be to keep money in a bank account and just quickly trasfer it quickly in and out of Intrade - surgical strikes if you will. <a href="http://www.intrade.com/jsp/intrade/help/index.jsp?page=general.html">Moving money in and out of Intrade</a> does not seem easy enough to justify this. Money can be deposited by credit card or bank transfer without fee. However, taking money out is harder. You can either have a cheque mailed (!) to you or a bank transfer for a US$20 or US$30 fee. </p>

<p>I don't think there is dumb money on Intrade, just stuck money. Due to the lack of interest on accounts and margin together with the transactional costs of doing a trade or moving money mean that the Intrade market breaks down at the extremes and becomes unrealistic. </p>
]]>
    </content>
</entry>

<entry>
    <title>Todo lists are hard</title>
    <link rel="alternate" type="text/html" href="http://www.cordinc.com/blog/2008/10/todo-lists-are-hard.html" />
    <id>tag:www.cordinc.com,2008:/blog//1.32</id>

    <published>2008-10-06T17:54:00Z</published>
    <updated>2008-10-07T20:34:52Z</updated>

    <summary>This blog article argues that current online todo list and project management tools don&apos;t meet people&apos;s needs and are too complex. Judging by the comments of some people at the London Hackers Meetup, this is not an uncommon view. I...</summary>
    <author>
        <name>Charles</name>
        
    </author>
    
    <category term="entrepreneurship" label="Entrepreneurship" scheme="http://www.sixapart.com/ns/types#tag" />
    
    <content type="html" xml:lang="en-US" xml:base="http://www.cordinc.com/blog/">
        <![CDATA[<p>This <a href="http://blog.ativiti.com/wheres-the-task-management-category-killer/">blog article</a> argues that current online todo list and project management tools don't meet people's needs and are too complex. Judging by the comments of some people at the <a href="http://www.cordinc.com/blog/2008/10/london-hacker-meetup-6.html">London Hackers Meetup</a>, this is not an uncommon view. I agree too. This is why I'm trying to steer a user-friendly middle-path between Queuesarus' competitors - a group it seems Ativiti intends to join (yeah, bring it on!).</p>

<p>So how is it going? Well the Beta testing suggests that the functionality is nearly good enough, but that it is still not user-friendly. I'm not sure what to do. While I knew some parts of the system were difficult to understand, I had a plan for them. However, there are problems with areas I thought were fine. As the blog says, it is a hard problem and I haven't seen it done well. More thought is required, and advice is welcome.</p>
]]>
        

    </content>
</entry>

<entry>
    <title>London Hacker Meetup #6</title>
    <link rel="alternate" type="text/html" href="http://www.cordinc.com/blog/2008/10/london-hacker-meetup-6.html" />
    <id>tag:www.cordinc.com,2008:/blog//1.31</id>

    <published>2008-10-05T18:25:30Z</published>
    <updated>2008-11-22T17:09:36Z</updated>

    <summary>Last Thursday I went to the &quot;London Hacker Meetup #6&quot;. These events are organised as a London analogue to the dinners held for Y Combinator startups in the US, although anyone could go along. Never having been to an Y...</summary>
    <author>
        <name>Charles</name>
        
    </author>
    
    <category term="entrepreneurship" label="Entrepreneurship" scheme="http://www.sixapart.com/ns/types#tag" />
    
    <content type="html" xml:lang="en-US" xml:base="http://www.cordinc.com/blog/">
        <![CDATA[<p>Last Thursday I went to the "London Hacker Meetup #6". These events are organised as a London analogue to the dinners held for <a href="http://ycombinator.com/">Y Combinator</a> startups in the US, although anyone could go along. Never having been to an Y Combinator dinner, I can't compare to the original, but I definitely found it an interesting evening and more welcoming than the <a href="http://www.cordinc.com/blog/2008/07/techcrunch-pitch.html">Techcrunch Pitch</a> event. It was held in the <a href="http://www.songkick.com">Songkick</a> offices in Spitalfields (actually over the market) and drew a crowd of around 30, mainly youngish guys in very casual clothing (there were I think 3 women). I felt quite old and conspicuous in my work shirt and trousers. Luckily everyone was polite and friendly even after I told them I worked at a bank.</p>

<p>There were four quick talks. <a href="http://www.connectivelogic.co.uk/">ConnectiveLogic</a> demonstrated their product to easily create concurrent programs without writing any concurent code - interesting, but I'd have to have a play before saying more. <a href="http://fuzzwich.com/">Fuzzwich</a> showed their online product to easily create simple flash animations. It looked fun and having tried it out since I can say it definitely works as advertised - give it a try. Mary (can't remember the rest of her name) spoke about her music recommendation project, <a href="http://theperceptron.com/">The Perceptron</a>. Finally, a guy presented his idea for a startup, then asked if anyone was interested in joining him and applying to Y Combinator. I was tempted, but thought it would be hard to commit to a company with someone I didn't know at all. Also, I'm more invested in <a href="http://www.queuesaurus.com">Queuesaurus</a> and would need a good offer to move right now.</p>

<p>After the talks we decamped to the local pub. I spoke to a couple of the Fuzzwich people for a while. They moved from San Francisico to London to be near their customers. We discussed how to pay employers (not so little they aren't committed but not too much, they also said an options "cliff" was standard - that is if you are sacked within the "cliff" period, usually a year, then your options are cancelled). We also spoke about motivation and starting a company, their advice was "do it!" They seem like nice people. Later I spoke to a person who had an idea for a startup; but not the technical knowhow to implement it. This seems like a common problem, there seemed to be a few such people around. My last conversation was with a guy I met at the Pitch event. He said that the company that pitched had since shutdown - we talked a bit about founder commitment and how important it is. He didn't seem discouraged at all; he is now interviewing other startups founders to see if they suit him (definitely the right way round!).</p>

<p>I certainly left with the impression that there is still a great deal of activity in the London startup scene, even as the financial IT world significantly slows. </p>
]]>
        

    </content>
</entry>

<entry>
    <title>What now?</title>
    <link rel="alternate" type="text/html" href="http://www.cordinc.com/blog/2008/09/what-now.html" />
    <id>tag:www.cordinc.com,2008:/blog//1.30</id>

    <published>2008-09-23T19:19:52Z</published>
    <updated>2008-11-22T17:11:35Z</updated>

    <summary>It is done, or at least, the beginning is done. I have put the current version of my program on the web, proceed directly to Queuesaurus (www.queuesaurus.com) and tame the work beast! Please note, it should still be considered beta...</summary>
    <author>
        <name>Charles</name>
        
    </author>
    
    <category term="entrepreneurship" label="Entrepreneurship" scheme="http://www.sixapart.com/ns/types#tag" />
    
    <content type="html" xml:lang="en-US" xml:base="http://www.cordinc.com/blog/">
        <![CDATA[<p>It is done, or at least, the beginning is done. I have put the current version of my program on the web, proceed directly to <a href="http://www.queuesaurus.com">Queuesaurus (www.queuesaurus.com)</a> and tame the work beast! Please note, it should still be considered beta software.</p>

<p>So, what next? Well, I have a massive feature todo list for Queuesaurus (soon to be transcribed to the web version of Queuesaurus in a valiant attempt at <a href="http://en.wikipedia.org/wiki/Eat_one%27s_own_dog_food">dogfooding</a> ) and no doubt bugs will be discovered (if you find a bug or have a feature request, add it to the "Queuesaurus Issues" queue). However, that is not a proper answer to the question, I could keep improving Queuesaurus nearly forever. Instead I need to know how far to pursue this or whether to move onto other things.</p>

<p>During the last few months I have had numerous other project ideas, some that could be a business and others that are little more than side distractions. So far, only one has been pursued beyond thought (I'll blog about that later). A few times it has passed my mind to start something new.</p>

<p>The original aims of Queuesaurus were to, at a minimum, keep working until I had something usable and learn about setting up a web business. I think I can just claim to have achieved the first goal, but not the second. There is still a great deal to learn beyond the technical side. I'm not going to leave my consulting contract just yet, nor am I ready to advertise or properly release it, but I think it's worth giving Queuesaurus a bit of time to see how it goes. After that, who knows. I also think I should head out to the occasional local tech event and get the word out. The more people who try out Queuesaurus, the better it will become and I'll get a better idea of its potential.</p>

<p><a href="http://www.queuesaurus.com">Anyway give it a try!</a> </p>
]]>
        

    </content>
</entry>

<entry>
    <title>Decloak</title>
    <link rel="alternate" type="text/html" href="http://www.cordinc.com/blog/2008/08/decloak.html" />
    <id>tag:www.cordinc.com,2008:/blog//1.29</id>

    <published>2008-08-30T20:49:24Z</published>
    <updated>2008-08-30T20:56:11Z</updated>

    <summary>A few people have asked me if I have given up on the project and startup idea that was the original motivation for this blog. No, I have not. A large rewrite and a lack of testing has slowed me...</summary>
    <author>
        <name>Charles</name>
        
    </author>
    
    <category term="entrepreneurship" label="Entrepreneurship" scheme="http://www.sixapart.com/ns/types#tag" />
    
    <content type="html" xml:lang="en-US" xml:base="http://www.cordinc.com/blog/">
        <![CDATA[<font size="-0"><span><span><span><span><span><span><span><span><span><span><div><font face="Arial" size="2"><span>A few people have 
asked me if I have given up on the project and startup idea that was the 
original motivation for this blog. No, I have not. A large rewrite and a lack of 
testing has slowed me down. There is a very large list&nbsp;of new functionality 
and&nbsp;I could of course keep working on it&nbsp;nearly forever before it is 
"finished". However, my experience has suggested it is best to release early and 
often after a minimum level has been reached. My project has now reached that 
minimum level. There is the occasional bug, new functionality to write and the GUI is still awkward - but what needs to be done will be clearer with people 
(hopefully) using it, or at least commenting on it.</span></font></div>
<div><font face="Arial" size="2"><span></span></font>&nbsp;</div>
<div><font face="Arial" size="2"><span>So this would 
normally be where I put a link...</span></font></div>
<div><font face="Arial" size="2"><span></span></font>&nbsp;</div>
<div><font face="Arial" size="2"><span>Unfortunately/fortunately, I am on holiday the next 
fortnight and to announce it seems like tempting fate a little too much. Instead 
I will just describe my idea, and in mid-September give the web address. I keep 
a great number of todo lists around for work and most software development 
workplaces have bug tracking or project management software. It seems to me 
there is a middle ground between a simple&nbsp;online todo list (of which there 
are many) and a complex project management system (again, there are many of 
these). My goal is something that can be easily used by one person or can handle 
groups of people working together. Another goal is to make it easy to use for 
non-IT people as long as they are familiar with the web (thus usable by a wider 
audience than many of the issue tracking systems that focus on IT people). So 
there's the plan, soon you can compare theory to 
reality. <br /></span></font></div></span></span></span></span></span></span></span></span></span></span></font> ]]>
        
    </content>
</entry>

<entry>
    <title>Golf Reviews</title>
    <link rel="alternate" type="text/html" href="http://www.cordinc.com/blog/2008/08/golf-reviews.html" />
    <id>tag:www.cordinc.com,2008:/blog//1.28</id>

    <published>2008-08-25T16:56:04Z</published>
    <updated>2008-08-25T21:25:18Z</updated>

    <summary>Back in May I decided it was time to learn to play golf. Since then I have been to a golf school, 2 golf courses, a driving range and an indoor video golf centre. I thought I would write briefly...</summary>
    <author>
        <name>Charles</name>
        
    </author>
    
    <category term="golf" label="golf" scheme="http://www.sixapart.com/ns/types#tag" />
    
    <content type="html" xml:lang="en-US" xml:base="http://www.cordinc.com/blog/">
        <![CDATA[<p>Back in May I decided it was time to learn to play golf. Since then I have been to a golf school, 2 golf courses, a driving range and an indoor video golf centre. I thought I would write briefly about them.</p>

<p><strong>The James Andrews School Of Golf</strong></p>

<p>I signed up for a 3 day residential training course with <a href="http://golfschool.co.uk/">The James Andrews School Of Golf</a> as a holiday. I greatly enjoyed the break. Although I can't claim to be a good golfer at the moment, I can say that I am a better golfer as a result of the course as I saw my swing improve over the 3 days (considering I consistently missed the ball entirely at the start). Indeed most of the course focussed on the swing. The general format was swing practice, putting/pitching practice, and then the swing again before lunch and having the afternoon to ourselves. Nice course, good teacher, highly recommended (although the food could have been better considering the cost). I certainly left feeling prepared to tackle a proper course.</p>

<p><strong>World Of Golf</strong></p>

<p>Unfortunately it took a while before I managed to get myself onto a proper golf course, so in the interim I kept up my driving skills with a couple of visits to <a href="http://www.worldofgolf-uk.co.uk/driving+ranges/sidcup">World Of Golf</a>, a local driving range. I never had to queue for a bay, itis £7 for 100 balls and you can hire clubs, not much more to say. I still go regularly.  </p>

<p><strong>Hobbs Cross Golf Course</strong></p>

<p>My first proper game of golf was at <a href="http://www.hobbscrossgolfcentre.com/">Hobbs Cross</a> in Essex. It seemed like a friendly course, geared towards beginners. There was a 9-hole par-3 and another more normal 9-hole. For the record I was 57-over for the full 18. There was a driving range, but the café was closed - take your own food just in case. A good course and I'll go back eventually (it's a good distance away from where I live).</p>

<p><strong>Beckenham Place Park Golf Course</strong></p>

<p><a href="http://www.glendale-golf.com/course-7-beckenham-place.aspx">Beckenham Place Park</a> is probably the nearest course to my current abode. It is a cheap public course (£50 for 2 and club hire), and is a bit harder than Hobbs Cross. Aside from the golf, I was not greatly impressed: the hire clubs seemed poor to me; the café was disappointing (salad in sandwiches is apparently not often requested); there were many groups of kids wandering around and the toilets were closed. On the golf side, quite a few of the holes are uphill which causes me some problems. I'm in no rush to return.</p>

<p><strong>City Golf</strong></p>

<p>I was given a voucher for a complimentary session at <a href="http://www.citygolfclubs.com/">City Golf</a>, where you play golf inside, hitting your balls towards a video screen. While this was ok for driving practice, nothing else played as I would expect it. Putting was hopeless and so was trying to get out of the rough - there was just no feel. Although it was free to me, the costs seemed quite high. I doubt I am their target market. I can't imagine I'll be going back anytime soon.</p>
]]>
        

    </content>
</entry>

<entry>
    <title>2nd Poker Evening</title>
    <link rel="alternate" type="text/html" href="http://www.cordinc.com/blog/2008/08/2nd-poker-evening.html" />
    <id>tag:www.cordinc.com,2008:/blog//1.27</id>

    <published>2008-08-17T15:57:09Z</published>
    <updated>2008-08-17T19:32:48Z</updated>

    <summary> Yesterday was the second Poker evening I have organised. This time the turnout was a little smaller: me, Ann, Amanda and Ury. Like last time we played two Texas Hold&apos;em tournaments, but the structure was a little different. As...</summary>
    <author>
        <name>Charles</name>
        
    </author>
    
    <category term="poker" label="Poker" scheme="http://www.sixapart.com/ns/types#tag" />
    
    <content type="html" xml:lang="en-US" xml:base="http://www.cordinc.com/blog/">
        <![CDATA[<p> Yesterday was the second Poker evening I have organised. This time the turnout was a little smaller: me, Ann, Amanda and Ury. Like last time we played two Texas Hold'em tournaments, but the structure was a little different. As Amanda was a complete beginner we decided to split into pairs for heads-up tournaments for the first game. A decision with which  I was happy as this is what I mainly play during my occasional forays online. Ury and I played each other, while Ann and Amanda went over the basics. The second game was all four of us. Below are the games as I remember them.</p>

<p>In the first game, I had the best of the early exchanges and built a decent lead. Then came a hand where I had K5o; as the small blind I 3-bet and Ury called. The flop came <span class="caps">K54</span>o, Ury made a small bet, I went all-in and Ury called. I was confident when he turned over <span class="caps">K9, </span>but when the 9 came on the river I went from a bit ahead to way behind. I brought myself back to par over the next 4 hands, with 3 all-in semi-bluffs (ace high or a Q-high flush draw after the flop). Ury called me on one, my A3 caught trip 3s. The game went on as Ury slowly lost ground with poor initial hands until forced in by the rising blinds on 10-8s (he said that was the best starting hand he had since my run of semi-bluffs), but beaten by my A2o with a pair of 2s. In all we played an hour and a half with only 4 showdowns.</p>

<p>The main game started in a similar manner to the heads-up games; big bets winning the pot without showdowns. At this point I seemed to get a reputation as a bluffer judging by the table banter. So to answer Ury's question after pushing him off a pot with an all spade 9,10,J flop - I had <span class="caps">Q7, </span>and open-ended straight draw with an overcard, not a complete bluff. Ann was then so sure I was bluffing when there was a possible straight on the board, she went all-in against me with the comment "I know what you are pretending to have." Ann then became the first rebuy in our home games. The action came quickly after that. Ann busted Ury and he bought in again right on the time limit. Amanda lost a couple of big hands and was forced to go all-in. Ury and I joined the pot, which I started betting big after the flop with an overcard, open-ended straight and flush draw. Ury "ummed and ahhed", complaining that we should do just enough to bust Amanda, but finally called. Sensing weakness, I continued to bet big and Ury agonised over the call. Then I went all-in and Ury took an age to call, but finally won with two-pair against my pair of kings. I was crippled with barely a big blind, and I was the big blind! Without looking at my cards I went all-in 4 times in a row. Then it was just Ann and Ury to finish. They seemed to get a little bored and soon were all-in. Ury won on the better starting hand.</p>

<p>Again this was a lot of fun. I thought the small group may be a problem, but it worked out very well. Also, changing the format of the games is something worth trying again.</p>]]>
        
    </content>
</entry>

</feed>
