<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/atom10full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><feed xmlns="http://www.w3.org/2005/Atom" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0">
<title>Alex Pooley's Blog</title>

<link href="http://alexpooley.com/posts" rel="alternate" />
<id>http://alexpooley.com/posts</id>
<updated>2010-05-23T08:36:09Z</updated>
<author>
<name>Alex Pooley</name>
</author>
<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/atom+xml" href="http://feeds.feedburner.com/AlexPooley" /><feedburner:info uri="alexpooley" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><feedburner:emailServiceId>AlexPooley</feedburner:emailServiceId><feedburner:feedburnerHostname>http://feedburner.google.com</feedburner:feedburnerHostname><feedburner:browserFriendly>This is an XML content feed. It is intended to be viewed in a newsreader or syndicated to another site, subject to copyright and fair use.</feedburner:browserFriendly><entry>
<title>Parse European Date Formats in Ruby 1.8.6 and 1.8.7</title>
<link href="http://feedproxy.google.com/~r/AlexPooley/~3/BjII9uZlMa0/284" rel="alternate" />
<id>http://alexpooley.com/posts/284</id>
<updated>2010-05-23T08:36:09Z</updated>
<author>
<name>Alex Pooley</name>
</author>
<summary>"Post summary"</summary>
<content type="html">

&lt;p&gt;
	The parse method in Ruby favours US mm-dd-yyyy date formats over European style dd-mm-yyyy formats. Ruby on rails uses the parse method to process Dates from String to Date objects, particularly in form processing. As a result, you need a heavy weight library or some pretty ugly string bashing to parse European formats by default.&lt;/p&gt;
&lt;p&gt;
	Here&amp;#39;s code I put together for Ruby 1.8.6 and 1.8.7 that will allow you to parse European dates by default. Throw this code in config/initializers/time_parsing.rb&lt;/p&gt;
&lt;div id="cke_pastebin" style="position: absolute; left: -1000px; top: 146px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden; "&gt;
	mDate::Format::EuropeanDates&lt;/div&gt;
&lt;div id="cke_pastebin" style="position: absolute; left: -1000px; top: 146px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden; "&gt;
	&amp;nbsp;&amp;nbsp;def self.included(base)&lt;/div&gt;
&lt;div id="cke_pastebin" style="position: absolute; left: -1000px; top: 146px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden; "&gt;
	&amp;nbsp;&amp;nbsp; &amp;nbsp;base.class_eval do&lt;/div&gt;
&lt;div id="cke_pastebin" style="position: absolute; left: -1000px; top: 146px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden; "&gt;
	&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;class &amp;lt;&amp;lt; self&lt;/div&gt;
&lt;div id="cke_pastebin" style="position: absolute; left: -1000px; top: 146px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden; "&gt;
	&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;if RUBY_VERSION == &amp;#39;1.8.6&amp;#39;&lt;/div&gt;
&lt;div id="cke_pastebin" style="position: absolute; left: -1000px; top: 146px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden; "&gt;
	&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;# From here: http://fatvegan.com/2008/05/27/european-dates-in-ruby-on-rails/&lt;/div&gt;
&lt;div id="cke_pastebin" style="position: absolute; left: -1000px; top: 146px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden; "&gt;
	&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;alias_method :_parse_sla_us, :_parse_sla_eu&lt;/div&gt;
&lt;div id="cke_pastebin" style="position: absolute; left: -1000px; top: 146px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden; "&gt;
	&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;else&lt;/div&gt;
&lt;div id="cke_pastebin" style="position: absolute; left: -1000px; top: 146px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden; "&gt;
	&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;# Rewrite Ruby&amp;#39;s _parse_sla method.&lt;/div&gt;
&lt;div id="cke_pastebin" style="position: absolute; left: -1000px; top: 146px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden; "&gt;
	&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;def _parse_sla(str, e) # :nodoc:&lt;/div&gt;
&lt;div id="cke_pastebin" style="position: absolute; left: -1000px; top: 146px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden; "&gt;
	&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;if str.sub!(%r|(&amp;#39;?-?\d+)/\s*(&amp;#39;?\d+)(?:\D\s*(&amp;#39;?-?\d+))?|n, &amp;#39; &amp;#39;) # &amp;#39;&lt;/div&gt;
&lt;div id="cke_pastebin" style="position: absolute; left: -1000px; top: 146px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden; "&gt;
	&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;s3e(e, $3, $2, $1)&lt;/div&gt;
&lt;div id="cke_pastebin" style="position: absolute; left: -1000px; top: 146px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden; "&gt;
	&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;true&lt;/div&gt;
&lt;div id="cke_pastebin" style="position: absolute; left: -1000px; top: 146px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden; "&gt;
	&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;end&lt;/div&gt;
&lt;div id="cke_pastebin" style="position: absolute; left: -1000px; top: 146px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden; "&gt;
	&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;end&lt;/div&gt;
&lt;div id="cke_pastebin" style="position: absolute; left: -1000px; top: 146px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden; "&gt;
	&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;end&lt;/div&gt;
&lt;div id="cke_pastebin" style="position: absolute; left: -1000px; top: 146px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden; "&gt;
	&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;end&lt;/div&gt;
&lt;div id="cke_pastebin" style="position: absolute; left: -1000px; top: 146px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden; "&gt;
	&amp;nbsp;&amp;nbsp; &amp;nbsp;end&lt;/div&gt;
&lt;div id="cke_pastebin" style="position: absolute; left: -1000px; top: 146px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden; "&gt;
	&amp;nbsp;&amp;nbsp;end&lt;/div&gt;
&lt;div id="cke_pastebin" style="position: absolute; left: -1000px; top: 146px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden; "&gt;
	end&lt;/div&gt;
&lt;div id="cke_pastebin" style="position: absolute; left: -1000px; top: 146px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden; "&gt;
	&amp;nbsp;&lt;/div&gt;
&lt;div id="cke_pastebin" style="position: absolute; left: -1000px; top: 146px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden; "&gt;
	Date.send(:include, Date::Format::EuropeanDate&lt;/div&gt;
&lt;pre&gt;
module Date::Format::EuropeanDates
  def self.included(base)
    base.class_eval do
      class &amp;lt;&amp;lt; self
        if RUBY_VERSION == &amp;#39;1.8.6&amp;#39;
          # From here: http://fatvegan.com/2008/05/27/european-dates-in-ruby-on-rails/
          alias_method :_parse_sla_us, :_parse_sla_eu
        else
          # Rewrite Ruby&amp;#39;s _parse_sla method.
          def _parse_sla(str, e) # :nodoc:
            if str.sub!(%r|(&amp;#39;?-?\d+)/\s*(&amp;#39;?\d+)(?:\D\s*(&amp;#39;?-?\d+))?|n, &amp;#39; &amp;#39;) # &amp;#39;
              s3e(e, $3, $2, $1)
              true
            end
          end
        end
      end
    end
  end
end

Date.send(:include, Date::Format::EuropeanDates)
&lt;/pre&gt;

&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/AlexPooley?a=BjII9uZlMa0:l5Qf3zTfVe4:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/AlexPooley?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/AlexPooley?a=BjII9uZlMa0:l5Qf3zTfVe4:dnMXMwOfBR0"&gt;&lt;img src="http://feeds.feedburner.com/~ff/AlexPooley?d=dnMXMwOfBR0" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/AlexPooley?a=BjII9uZlMa0:l5Qf3zTfVe4:V_sGLiPBpWU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/AlexPooley?i=BjII9uZlMa0:l5Qf3zTfVe4:V_sGLiPBpWU" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/AlexPooley?a=BjII9uZlMa0:l5Qf3zTfVe4:F7zBnMyn0Lo"&gt;&lt;img src="http://feeds.feedburner.com/~ff/AlexPooley?i=BjII9uZlMa0:l5Qf3zTfVe4:F7zBnMyn0Lo" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/AlexPooley/~4/BjII9uZlMa0" height="1" width="1"/&gt;</content>
<feedburner:origLink>http://alexpooley.com/posts/284</feedburner:origLink></entry>
<entry>
<title>Analytical Vs. Creative</title>
<link href="http://feedproxy.google.com/~r/AlexPooley/~3/Gg1rkcZ0UmQ/283" rel="alternate" />
<id>http://alexpooley.com/posts/283</id>
<updated>2010-04-24T06:02:44Z</updated>
<author>
<name>Alex Pooley</name>
</author>
<summary>"Post summary"</summary>
<content type="html">

Having worked closely with a couple of &lt;a href="http://speakinteractive.com"&gt;creative&lt;/a&gt; &lt;a href="http://pascalbompard.com"&gt;guys&lt;/a&gt; over the last year and a half, I've started looking more at the concept of design and creativity. As an (arguably) analytical guy with an open mind, I find discussion and literature on design and creativity, fresh and enlightening. It's simple a perspective I've largely ignored until now. Here's a snapshot of where my head is at right now with regards to creativity in business.

This brown circle is what we know. Note that it's defined by a definite border.

&lt;a href="http://www.alexpooley.com/wp-content/uploads/2010/04/avc4.jpg"&gt;&lt;img class="aligncenter size-full wp-image-418" title="What we know" src="http://www.alexpooley.com/wp-content/uploads/2010/04/avc4.jpg" alt="" width="179" height="179" /&gt;&lt;/a&gt;

The fuzzy brown bit is what we don't know. The fuzzy brown bit disappears randomly because we don't know what we don't know.

&lt;a href="http://www.alexpooley.com/wp-content/uploads/2010/04/avc5.jpg"&gt;&lt;img class="aligncenter size-full wp-image-419" title="What we know and don't know" src="http://www.alexpooley.com/wp-content/uploads/2010/04/avc5.jpg" alt="" width="403" height="403" /&gt;&lt;/a&gt;In order to process information within these two worlds we need two different sets of tools...

&lt;a href="http://www.alexpooley.com/wp-content/uploads/2010/04/avc1.jpg"&gt;&lt;img class="aligncenter size-full wp-image-420" title="Analytical and Creative Tools" src="http://www.alexpooley.com/wp-content/uploads/2010/04/avc1.jpg" alt="" width="403" height="403" /&gt;&lt;/a&gt;We need analytical tools to process what we know and creative tools to process what we don't know.

How do you process what you don't know? This might be a hint...

&lt;a href="http://www.alexpooley.com/wp-content/uploads/2010/04/avc3.jpg"&gt;&lt;img class="aligncenter size-full wp-image-421" title="avc3" src="http://www.alexpooley.com/wp-content/uploads/2010/04/avc3.jpg" alt="" width="403" height="403" /&gt;&lt;/a&gt;Inference is the process of logical deduction. Extrapolation is the process of exploration.

Everyone is familiar with processing what we know. The world is heavily biased to this concept. School is heavily biased in this direction. It's quantitative, easy to measure, and provable based on prior measurements.

Creativity is based in that part of the world that we don't know. Creative territory requires imagination to reach. There is a clear change in paradigm between wading in the analytical pool, and floating in the creative abyss.

Unfortunately in our world, creativity plays second to the analytical. Creativity is hard to measure, prove, and teach. People fear the unknown. Creativity is harder to translate in to Return On Investment.

Here's the truth...

&lt;a href="http://www.alexpooley.com/wp-content/uploads/2010/04/avc2.jpg"&gt;&lt;img class="aligncenter size-full wp-image-422" title="Business Ying Yang" src="http://www.alexpooley.com/wp-content/uploads/2010/04/avc2.jpg" alt="" width="400" height="392" /&gt;&lt;/a&gt;

Analytics and creativity are symbiotic. One doesn't survive without the other. Analytics processes what we know, and creativity finds stuff to know.

Part of this idea is illustrated here...

&lt;a href="http://www.alexpooley.com/wp-content/uploads/2010/04/avc6.jpg"&gt;&lt;img class="aligncenter size-full wp-image-426" title="Creativity to analytical flow" src="http://www.alexpooley.com/wp-content/uploads/2010/04/avc6.jpg" alt="" width="255" height="410" /&gt;&lt;/a&gt;

The truth finder represented by the circle is simply "some process" that finds truth from ideas. This is only part of the story though, knowledge spurs creativity...

&lt;a href="http://www.alexpooley.com/wp-content/uploads/2010/04/avc7.jpg"&gt;&lt;img class="aligncenter size-full wp-image-428" title="avc7" src="http://www.alexpooley.com/wp-content/uploads/2010/04/avc7.jpg" alt="" width="400" height="480" /&gt;&lt;/a&gt;Creativity depends on knowledge, and vice versa.�Analytics and creativity are just tools to process the known and unknown.

A business that ignores creativity will become obsolete, stale, broke.

A company that ignores analytics will never gain traction, floating, useless.

All very well, and maybe even correct. But, how does this help you?

Creatives: Spend more time grounded. Perhaps, take time to look at your market, your finances, your place within this world. Drop your pretensions.

Analyticals: Take time to dream. Drop your assumptions, ignore your fears of the unknown, leave your ego behind.

Embrace what you don't know.
&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/AlexPooley?a=Gg1rkcZ0UmQ:EIey0HL3PqM:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/AlexPooley?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/AlexPooley?a=Gg1rkcZ0UmQ:EIey0HL3PqM:dnMXMwOfBR0"&gt;&lt;img src="http://feeds.feedburner.com/~ff/AlexPooley?d=dnMXMwOfBR0" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/AlexPooley?a=Gg1rkcZ0UmQ:EIey0HL3PqM:V_sGLiPBpWU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/AlexPooley?i=Gg1rkcZ0UmQ:EIey0HL3PqM:V_sGLiPBpWU" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/AlexPooley?a=Gg1rkcZ0UmQ:EIey0HL3PqM:F7zBnMyn0Lo"&gt;&lt;img src="http://feeds.feedburner.com/~ff/AlexPooley?i=Gg1rkcZ0UmQ:EIey0HL3PqM:F7zBnMyn0Lo" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/AlexPooley/~4/Gg1rkcZ0UmQ" height="1" width="1"/&gt;</content>
<feedburner:origLink>http://alexpooley.com/posts/283</feedburner:origLink></entry>
<entry>
<title>Cleaning My Whiteboard</title>
<link href="http://feedproxy.google.com/~r/AlexPooley/~3/GT7cGg8T1Fs/282" rel="alternate" />
<id>http://alexpooley.com/posts/282</id>
<updated>2010-04-24T06:02:44Z</updated>
<author>
<name>Alex Pooley</name>
</author>
<summary>"Post summary"</summary>
<content type="html">

Hello world! I have a whiteboard in my office that I use as a semi-permanent scratch pad. When I have important miscellaneous information I usually write it on the edge of my whiteboard, leaving the middle of the board for working stuff out. Anyway, over the years I've had "whiteboard creep" where the edges have filled up and I've had to encroach on the middle of the board. It's time to take back control, so I'm going to transfer stuff from the edge of my whiteboard to this blog and then wipe the board clean.

(what a random post...)

&lt;strong&gt;Writing Copy&lt;/strong&gt;

Marketing copy should describe why your product/service/offer is...
&lt;ul&gt;
	&lt;li&gt;Ultra specific&lt;/li&gt;
	&lt;li&gt;Urgent&lt;/li&gt;
	&lt;li&gt;Unique&lt;/li&gt;
	&lt;li&gt;Useful&lt;/li&gt;
&lt;/ul&gt;
&lt;strong&gt;Dynamic Keywords In Adwords&lt;/strong&gt;

You can use {keyword: default} to pull in the searched keyword in to your adword ads. You can change keyword to Keyword or KeyWord to capitalise the first word, or each word of the dynamic component.

&lt;strong&gt;eCPM&lt;/strong&gt;

On an experiment site I was receiving $3.5 eCPM. The site was receiving 3,000 page views / month.

&lt;strong&gt;Typical Mac Site&lt;/strong&gt;

&lt;a href="http://www.smileonmymac.com/PDFpen/index.html"&gt;PDFpen&lt;/a&gt; is a typical Mac software website and if I were to build Mac software then my website would look something like that one.
&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/AlexPooley?a=GT7cGg8T1Fs:ztk-UuqEjiM:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/AlexPooley?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/AlexPooley?a=GT7cGg8T1Fs:ztk-UuqEjiM:dnMXMwOfBR0"&gt;&lt;img src="http://feeds.feedburner.com/~ff/AlexPooley?d=dnMXMwOfBR0" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/AlexPooley?a=GT7cGg8T1Fs:ztk-UuqEjiM:V_sGLiPBpWU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/AlexPooley?i=GT7cGg8T1Fs:ztk-UuqEjiM:V_sGLiPBpWU" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/AlexPooley?a=GT7cGg8T1Fs:ztk-UuqEjiM:F7zBnMyn0Lo"&gt;&lt;img src="http://feeds.feedburner.com/~ff/AlexPooley?i=GT7cGg8T1Fs:ztk-UuqEjiM:F7zBnMyn0Lo" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/AlexPooley/~4/GT7cGg8T1Fs" height="1" width="1"/&gt;</content>
<feedburner:origLink>http://alexpooley.com/posts/282</feedburner:origLink></entry>
</feed>

