<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">

<channel>
	<title>non-random ramble</title>
	
	<link>http://jimbarritt.com/non-random</link>
	<description>adventures in code</description>
	<lastBuildDate>Tue, 20 Sep 2011 13:16:52 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/jimbarritt" /><feedburner:info uri="jimbarritt" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><item>
		<title>Agile On the Beach</title>
		<link>http://feedproxy.google.com/~r/jimbarritt/~3/EGwK2JtucTY/</link>
		<comments>http://jimbarritt.com/non-random/2011/09/20/agile-on-the-beach/#comments</comments>
		<pubDate>Tue, 20 Sep 2011 13:16:52 +0000</pubDate>
		<dc:creator>Jim Barritt</dc:creator>
				<category><![CDATA[agile]]></category>
		<category><![CDATA[thoughtblog]]></category>
		<category><![CDATA[thoughtworks]]></category>

		<guid isPermaLink="false">http://jimbarritt.com/non-random/?p=799</guid>
		<description><![CDATA[I spent two days recently enjoying being in Cornwall attending and presenting at the first Cornish agile conference Agile on the beach. The event was a great success with world class speakers (you can see the full list on the website), and an actual beach party on the thursday night with a band (All the [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://www.agileonthebeach.com/images/agile-on-the-beach-2011-logo2.jpg" width="500" alt="" /></p>
<p>I spent  two days recently enjoying being in Cornwall attending and presenting at the first Cornish agile conference <a href="http://www.agileonthebeach.com/">Agile on the beach</a>.</p>
<p>The event was a great success with world class speakers (you can see the <a href="http://agileonthebeach.com/programme/speakers">full list</a> on the website), and an actual beach party on the thursday night with a band (<a href="http://www.allthefires.co.uk/">All the fires</a>) and hogroast. The organisation was also superb, co-ordinated by <a href="http://www.eventcornwall.co.uk/">Event cornwall</a>. From the attendee perspective, It was great to meet and talk to such a good turn out of passionate developers and companies.</p>
<p>I have some involvement in the genesis of the event. My dad, <a href="http://thelastresponsiblemoment.com/">Mike Barritt </a> is working for a company called <a href="http://www.oxin.co.uk/">Oxford innovation</a> who are helping companies in cornwall to develop and grow. At some point a while ago, I had connected him with <a href="http://twitter.com/#!/roger_marlow">Roger Marlow</a> and suggested that a good way to help everyone get into agile was to host a conference. A year or so later, and I found myself down in cornwall amongst some of the people I have massive respect for in the industry. The event has also had a great sponsorship and support from <a href="http://www.thoughtworks.com">ThoughtWorks</a>, which makes me really appreciate what an amazing company it is to work for.</p>
<p>Some highlights for me were hearing <a href="http://twitter.com/#!/mpoppendieck">Mary and Tom Poppendieck</a> talking about Lean Startup and running a value stream mapping workshop, <a href="http://twitter.com/#!/KevlinHenney">Kevlin Henney</a> reminding us all that software should be FUN, and <a href="http://twitter.com/#!/jasongorman">Jason Gorman</a> firing us up to keep our focus on quality codemanship and staying out of the &#8220;Anaerobic&#8221; zone when developing code. It was also great to see everyone getting down to the code in a dojo with <a href="http://twitter.com/#!/JonJagger">Jon Jagger</a>, to have the fantastic <a href="http://agilecoach.typepad.com/">Rachel Davies</a> helping people with common agile adoption problems, and have <a href="http://twitter.com/#!/@sf105">Steve Freeman</a> talking about TDD. Quite a line-up!</p>
<p>Unfortunately I couldn&#8217;t attend my colleague <a href="http://twitter.com/#!/boicy">James Lewis&#8217;</a> talk as we were speaking at the same time, but I have seen the slides and it sounded awesome, so I hope to catch it another day. Parallell to us was <a href="http://twitter.com/#!/roger_marlow">Roger</a> so I missed his talk too, but it sounded like he had a good time.</p>
<p>I managed to make a presentation myself, talking through some of the experiences I have had as a consultant working for ThoughtWorks, and in particular some developer practices. I over estimated the amount of material I was trying to get through but did manage to get to a few key points! For those who attended a couple of interesting jump points to follow up might be <a href="http://martinfowler.com/bliki/FeatureToggle.html">Martin Fowler on Feature Toggles</a>, <a href="http://code.google.com/p/gource/">gource</a> (the tool at the end), and <a href="http://continuousdelivery.com/">The continuous delivery book</a> by <a href="http://twitter.com/#!/jezhumble">Jez Humble</a>.</p>
<p>All in all, the event was a great time and I hope that it signifies the beginnings of putting cornwall on the world stage for software development and high tech companies!</p>
<p><a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fjimbarritt.com%2Fnon-random%2F2011%2F09%2F20%2Fagile-on-the-beach%2F&amp;title=Agile%20On%20the%20Beach"><img src="http://jimbarritt.com/non-random/wp-content/plugins/add-to-any/share_save_256_24.png" width="256" height="24" alt="Share"/></a> </p>]]></content:encoded>
			<wfw:commentRss>http://jimbarritt.com/non-random/2011/09/20/agile-on-the-beach/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://jimbarritt.com/non-random/2011/09/20/agile-on-the-beach/</feedburner:origLink></item>
		<item>
		<title>Start drinking HomeBrew</title>
		<link>http://feedproxy.google.com/~r/jimbarritt/~3/eIhZEFBllMs/</link>
		<comments>http://jimbarritt.com/non-random/2011/04/10/start-drinking-homebrew/#comments</comments>
		<pubDate>Sun, 10 Apr 2011 11:17:28 +0000</pubDate>
		<dc:creator>Jim Barritt</dc:creator>
				<category><![CDATA[devops]]></category>

		<guid isPermaLink="false">http://jimbarritt.com/non-random/?p=787</guid>
		<description><![CDATA[(Image from maubrowncow @ flikrcc) A few people have persuaded me to move from MacPorts to HomeBrew and for a while it&#8217;s been bugging me with messages about how it might be incompatible with ports. I finally got round to uninstalling ports and found this link on the mac ports site a great help. Now [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://jimbarritt.com/non-random/wp-content/uploads/2011/04/homebrew.jpg" rel="lightbox[787]"><img src="http://jimbarritt.com/non-random/wp-content/uploads/2011/04/homebrew.jpg" alt="" title="homebrew" width="160" height="240" class="aligncenter size-full wp-image-788" /></a></p>
<p>(Image from maubrowncow @ flikrcc)</p>
<p>A few people have persuaded me to move from <a href="http://www.macports.org/">MacPorts</a> to <a href="http://mxcl.github.com/homebrew/">HomeBrew</a> and for a while it&#8217;s been bugging me with messages about how it might be incompatible with ports. I finally got round to uninstalling ports and found this <a href="http://guide.macports.org/chunked/installing.macports.uninstalling.html">link</a> on the mac ports site a great help. Now I just have to re-install all the ports.</p>
<p><a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fjimbarritt.com%2Fnon-random%2F2011%2F04%2F10%2Fstart-drinking-homebrew%2F&amp;title=Start%20drinking%20HomeBrew"><img src="http://jimbarritt.com/non-random/wp-content/plugins/add-to-any/share_save_256_24.png" width="256" height="24" alt="Share"/></a> </p>]]></content:encoded>
			<wfw:commentRss>http://jimbarritt.com/non-random/2011/04/10/start-drinking-homebrew/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://jimbarritt.com/non-random/2011/04/10/start-drinking-homebrew/</feedburner:origLink></item>
		<item>
		<title>The ‘R’ Sessions</title>
		<link>http://feedproxy.google.com/~r/jimbarritt/~3/HFhzMvTSFFc/</link>
		<comments>http://jimbarritt.com/non-random/2011/03/07/the-r-sessions/#comments</comments>
		<pubDate>Mon, 07 Mar 2011 07:13:12 +0000</pubDate>
		<dc:creator>Jim Barritt</dc:creator>
				<category><![CDATA[r]]></category>
		<category><![CDATA[random]]></category>
		<category><![CDATA[thoughtblog]]></category>

		<guid isPermaLink="false">http://jimbarritt.com/non-random/?p=774</guid>
		<description><![CDATA[(Image from http://datamining.typepad.com) A few years ago whilst working on my MSc thesis I was heavily into R a statistical analysis package which has a functional language feel to it. My friend Marc Hasenbank, a few others and I ran a series of workshops for people wanting an introduction to R. I recently wanted to [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://datamining.typepad.com/gallery/blog-map-gallery.html"><img src="http://datamining.typepad.com/photos/uncategorized/newblogcrop.png" width=400></img></a><br />
(Image from <a href="http://datamining.typepad.com">http://datamining.typepad.com</a>)</p>
<p>A few years ago whilst working on my MSc thesis I was heavily into <a href="http://cran.r-project.org/">R</a> a statistical analysis package which has a functional language feel to it. My friend Marc Hasenbank, a few others and I ran a series of workshops for people wanting an introduction to R. I recently wanted to show this to someone so thought I would post a link. The code from the tutorials can be found <a href="http://www.vuw.ac.nz/staff/stephen_hartley/software/R/rug.htm">here</a></p>
<p><a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fjimbarritt.com%2Fnon-random%2F2011%2F03%2F07%2Fthe-r-sessions%2F&amp;title=The%20%26%238216%3BR%26%238217%3B%20Sessions"><img src="http://jimbarritt.com/non-random/wp-content/plugins/add-to-any/share_save_256_24.png" width="256" height="24" alt="Share"/></a> </p>]]></content:encoded>
			<wfw:commentRss>http://jimbarritt.com/non-random/2011/03/07/the-r-sessions/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://jimbarritt.com/non-random/2011/03/07/the-r-sessions/</feedburner:origLink></item>
		<item>
		<title>Current git branch and git autocompletion in bash</title>
		<link>http://feedproxy.google.com/~r/jimbarritt/~3/MVDeSAKsJAY/</link>
		<comments>http://jimbarritt.com/non-random/2011/01/26/current-git-branch-and-git-autocompletion-in-bash/#comments</comments>
		<pubDate>Wed, 26 Jan 2011 11:46:09 +0000</pubDate>
		<dc:creator>Jim Barritt</dc:creator>
				<category><![CDATA[bash]]></category>
		<category><![CDATA[git]]></category>

		<guid isPermaLink="false">http://jimbarritt.com/non-random/?p=766</guid>
		<description><![CDATA[First put the following script somewhere, like ~/git_completion.sh and chmod +x it. Then add this line to your ~/.bash_profile: Finally, if you want to pretty up your prompt as above, then add this: You can also install git from http://code.google.com/p/git-osx-installer/ (Thanks Jon) Or on ubuntu install a package called &#8220;git-completion&#8221; (Thanks Juan)]]></description>
			<content:encoded><![CDATA[<p><a href="http://jimbarritt.com/non-random/wp-content/uploads/2011/01/git_branch_prompt.png" rel="lightbox[766]"><img src="http://jimbarritt.com/non-random/wp-content/uploads/2011/01/git_branch_prompt.png" alt="" title="git_branch_prompt" width="301" height="59" class="aligncenter size-full wp-image-767" /></a></p>
<p>First put the following <a href="http://git.kernel.org/?p=git/git.git;a=blob_plain;f=contrib/completion/git-completion.bash;hb=HEAD">script</a> somewhere, like <code>~/git_completion.sh</code> and <code>chmod +x</code> it.</p>
<p>Then add this line to your <code>~/.bash_profile</code>:</p>
<pre name='code' class='java:nogutter:nocontrols'>
. ~/git_completion.sh
</pre>
<p>Finally, if you want to pretty up your prompt as above, then add this:</p>
<pre name='code' class='java:nogutter:nocontrols'>
export PS1=&#8217;\h:\W \[\e[1;32m\]$(__git_ps1 &#8220;[%s]&#8220;)\[\e[0m\] > &#8216;
</pre>
<p>You can also install git from <a href="http://code.google.com/p/git-osx-installer/">http://code.google.com/p/git-osx-installer/</a> (Thanks Jon)</p>
<p>Or on ubuntu install a package called &#8220;git-completion&#8221; (Thanks Juan)</p>
<p><a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fjimbarritt.com%2Fnon-random%2F2011%2F01%2F26%2Fcurrent-git-branch-and-git-autocompletion-in-bash%2F&amp;title=Current%20git%20branch%20and%20git%20autocompletion%20in%20bash"><img src="http://jimbarritt.com/non-random/wp-content/plugins/add-to-any/share_save_256_24.png" width="256" height="24" alt="Share"/></a> </p>]]></content:encoded>
			<wfw:commentRss>http://jimbarritt.com/non-random/2011/01/26/current-git-branch-and-git-autocompletion-in-bash/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://jimbarritt.com/non-random/2011/01/26/current-git-branch-and-git-autocompletion-in-bash/</feedburner:origLink></item>
		<item>
		<title>Help JUnitMax play with Hamcrest 1.3</title>
		<link>http://feedproxy.google.com/~r/jimbarritt/~3/e1mOj77yYwU/</link>
		<comments>http://jimbarritt.com/non-random/2010/12/14/help-junitmax-play-with-hamcrest-1-3/#comments</comments>
		<pubDate>Tue, 14 Dec 2010 16:19:51 +0000</pubDate>
		<dc:creator>Jim Barritt</dc:creator>
				<category><![CDATA[testing]]></category>
		<category><![CDATA[thoughtblog]]></category>

		<guid isPermaLink="false">http://jimbarritt.com/non-random/?p=757</guid>
		<description><![CDATA[I have been working on converting our codebase to JUnit, with a secondary aim of trying out JUnitMax. I ran the Max and quickly discovered that it failed when trying to execute assertions using the Hamcrest hasItems matcher. The assertion looks something like: This error frequently occurs because JUnit packages an older Version of the [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://jimbarritt.com/non-random/wp-content/uploads/2010/12/cat_and_dog.jpg" rel="lightbox[757]"><img src="http://jimbarritt.com/non-random/wp-content/uploads/2010/12/cat_and_dog.jpg" alt="" title="cat_and_dog" width="512" height="384" class="aligncenter size-full wp-image-758" /></a></p>
<p>I have been working on converting our codebase to JUnit, with a secondary aim of trying out <a href="http://www.junitmax.com/">JUnitMax</a>.</p>
<p>I ran the Max and quickly discovered that it failed when trying to execute assertions using the Hamcrest <code><i>hasItems</i></code> matcher.</p>
<p>The assertion looks something like:</p>
<pre name='code' class='java:nogutter:nocontrols'>
NoSuchMethodException describeMismatch
</pre>
<p>This error frequently occurs because JUnit packages an older Version of the <code>org.hamcrest.Matcher</code> class which does not have the <code>describeMismatch</code> method. </p>
<p>I dug around a bit in the plugins directory in the eclipse install folder and found that it contains a <code>junit-4.8.2.jar</code>. Happy days I thought, I can simply do what I&#8217;ve been getting used to doing for a while and replace it with <code>junit-dep-4.8.2.jar</code> which does <b>not</b> contain the hamcrest classes. </p>
<p>Unfortunately this didn&#8217;t quite work. It turns out that you need to call it exactly the same <code>junit-4.8.2.jar</code>. I thought this was because there&#8217;s an entry in the <code>MANIFEST.MF</code> file but I tried to change it and that didn&#8217;t work too well.</p>
<p>Renaming the Jar file however works a treat and now I have full JUnitMax action on my box.</p>
<p>I&#8217;ve posted on the JUnitMax forums about the problem <a href="http://tech.groups.yahoo.com/group/junitmax/message/294">here</a>.</p>
<p><a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fjimbarritt.com%2Fnon-random%2F2010%2F12%2F14%2Fhelp-junitmax-play-with-hamcrest-1-3%2F&amp;title=Help%20JUnitMax%20play%20with%20Hamcrest%201.3"><img src="http://jimbarritt.com/non-random/wp-content/plugins/add-to-any/share_save_256_24.png" width="256" height="24" alt="Share"/></a> </p>]]></content:encoded>
			<wfw:commentRss>http://jimbarritt.com/non-random/2010/12/14/help-junitmax-play-with-hamcrest-1-3/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://jimbarritt.com/non-random/2010/12/14/help-junitmax-play-with-hamcrest-1-3/</feedburner:origLink></item>
		<item>
		<title>Using TextMate with R</title>
		<link>http://feedproxy.google.com/~r/jimbarritt/~3/eFyrCMCM1WM/</link>
		<comments>http://jimbarritt.com/non-random/2010/11/16/using-textmate-with-r/#comments</comments>
		<pubDate>Tue, 16 Nov 2010 21:35:57 +0000</pubDate>
		<dc:creator>Jim Barritt</dc:creator>
				<category><![CDATA[r]]></category>
		<category><![CDATA[textmate]]></category>

		<guid isPermaLink="false">http://jimbarritt.com/non-random/?p=750</guid>
		<description><![CDATA[I&#8217;ve been using the R language for some years now but didn&#8217;t have it installed on my current machine. TextMate is a great editor to use as it has a custom bundle that gives you syntax highlighting and executes commands for you in the R console. To install the R bundle: Then in TextMate choose [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.r-project.org/"><img src="http://www.r-project.org/Rlogo.jpg" alt="rlogo" /></a></p>
<p>I&#8217;ve been using the <a href="http://www.r-project.org/">R</a> language for some years now but didn&#8217;t have it installed on my current machine. </p>
<p><a href="http://macromates.com/">TextMate</a> is a great editor to use as it has a custom bundle that gives you syntax highlighting and executes commands for you in the R console.</p>
<p>To install the R bundle:</p>
<pre name='code' class='java:nogutter:nocontrols'>
cd ~/Library/Application\ Support/TextMate/Bundles/
svn co http://svn.textmate.org/trunk/Bundles/R.tmbundle/
</pre>
<p>Then in TextMate choose Bundles->Bundle Editor->Reload Bundles.</p>
<p>There is one tweak I make which is that I like to press ⌘ + RETURN to execute the current selection in the R console. So edit the bundle and find R.app in the commands and change the key. Also I like it to return back to text mate afterwards, so I add the following to the script:</p>
<pre name='code' class='java:nogutter:nocontrols'>
-e &#8216;tell application &#8220;TextMate&#8221; to activate&#8217; \
</pre>
<p>I also removed the line about setting the current dir. This was a little fiddly &#8211; I found that I had to make sure I selected the entire line and cut it then delete, making sure there are no end of line characters. So it looks like this:</p>
<pre name='code' class='java:nogutter:nocontrols'>
# input is selection or document
rawText=&#8221;`cat`&#8221;
curDir=&#8221;
if [[ ${#TM_DIRECTORY} -gt 0 ]]; then
	curDir=&#8221;$TM_DIRECTORY&#8221;
fi
osascript -e &#8216;on run(theCode)&#8217; \
		  -e &#8216;tell application &#8220;R&#8221; to activate&#8217; \
		  -e &#8216;tell application &#8220;R&#8221; to cmd (item 1 of theCode)&#8217; \
		  -e &#8216;tell application &#8220;TextMate&#8221; to activate&#8217; \
		  -e &#8216;end run&#8217; &#8212; &#8220;$rawText&#8221; &#8220;$curDir&#8221;
</pre>
<p>All good.</p>
<p>UPDATE: 07/02/2011 &#8211; R now comes with a 64bit version so if you are on a macbook you can replace &#8220;R&#8221; in the code above with &#8220;R64&#8243;</p>
<p><a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fjimbarritt.com%2Fnon-random%2F2010%2F11%2F16%2Fusing-textmate-with-r%2F&amp;title=Using%20TextMate%20with%20R"><img src="http://jimbarritt.com/non-random/wp-content/plugins/add-to-any/share_save_256_24.png" width="256" height="24" alt="Share"/></a> </p>]]></content:encoded>
			<wfw:commentRss>http://jimbarritt.com/non-random/2010/11/16/using-textmate-with-r/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		<feedburner:origLink>http://jimbarritt.com/non-random/2010/11/16/using-textmate-with-r/</feedburner:origLink></item>
		<item>
		<title>Oracle Jdbc Driver 10.2.0.2.0 fails to render Euro (€) when db is set to WE8MSWIN1252 encoding</title>
		<link>http://feedproxy.google.com/~r/jimbarritt/~3/GTJeuGXHCZY/</link>
		<comments>http://jimbarritt.com/non-random/2010/11/08/oracle-jdbc-driver-10-2-0-2-0-fails-to-render-euro-e-when-db-is-set-to-we8mswin1252-encoding/#comments</comments>
		<pubDate>Mon, 08 Nov 2010 16:46:41 +0000</pubDate>
		<dc:creator>Jim Barritt</dc:creator>
				<category><![CDATA[databases]]></category>
		<category><![CDATA[hibernate]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[random]]></category>

		<guid isPermaLink="false">http://jimbarritt.com/non-random/?p=741</guid>
		<description><![CDATA[We just spent a few glorious hours or so trawling the internet and writing old skool jdbc code, to discover this little beauty. Simply upgrade to 10.2.0.5 of the jdbc driver and it goes away. Thanks to this post http://efreedom.com/Question/1-377745/Oracle-JDBC-Euro-Character we discovered our problem. For the full details on the euro&#8230;. http://www.fileformat.info/info/unicode/char/20ac/index.htm And if your [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://jimbarritt.com/non-random/wp-content/uploads/2010/11/euro_sign.png" rel="lightbox[741]"><img src="http://jimbarritt.com/non-random/wp-content/uploads/2010/11/euro_sign.png" alt="" title="euro_sign" width="100" height="100" class="aligncenter size-full wp-image-743" /></a></p>
<p>We just spent a few glorious hours or so trawling the internet and writing old skool jdbc code, to discover this little beauty. Simply upgrade to 10.2.0.5 of the jdbc driver and it goes away.</p>
<p>Thanks to this post http://efreedom.com/Question/1-377745/Oracle-JDBC-Euro-Character we discovered our problem.</p>
<p>For the full details on the euro&#8230;. </p>
<p>http://www.fileformat.info/info/unicode/char/20ac/index.htm</p>
<p>And if your really bored:</p>
<p>http://www.fileformat.info/info/unicode/char/1f47e/index.htm</p>
<p><a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fjimbarritt.com%2Fnon-random%2F2010%2F11%2F08%2Foracle-jdbc-driver-10-2-0-2-0-fails-to-render-euro-e-when-db-is-set-to-we8mswin1252-encoding%2F&amp;title=Oracle%20Jdbc%20Driver%2010.2.0.2.0%20fails%20to%20render%20Euro%20%28%E2%82%AC%29%20when%20db%20is%20set%20to%20WE8MSWIN1252%20encoding"><img src="http://jimbarritt.com/non-random/wp-content/plugins/add-to-any/share_save_256_24.png" width="256" height="24" alt="Share"/></a> </p>]]></content:encoded>
			<wfw:commentRss>http://jimbarritt.com/non-random/2010/11/08/oracle-jdbc-driver-10-2-0-2-0-fails-to-render-euro-e-when-db-is-set-to-we8mswin1252-encoding/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://jimbarritt.com/non-random/2010/11/08/oracle-jdbc-driver-10-2-0-2-0-fails-to-render-euro-e-when-db-is-set-to-we8mswin1252-encoding/</feedburner:origLink></item>
		<item>
		<title>Visualise your ANT build with Grand</title>
		<link>http://feedproxy.google.com/~r/jimbarritt/~3/DD0FeDoh8nU/</link>
		<comments>http://jimbarritt.com/non-random/2010/11/07/visualise-your-ant-build-with-grand/#comments</comments>
		<pubDate>Sun, 07 Nov 2010 19:03:35 +0000</pubDate>
		<dc:creator>Jim Barritt</dc:creator>
				<category><![CDATA[ant]]></category>
		<category><![CDATA[build]]></category>
		<category><![CDATA[metrics and visualisation]]></category>
		<category><![CDATA[thoughtblog]]></category>

		<guid isPermaLink="false">http://jimbarritt.com/non-random/?p=724</guid>
		<description><![CDATA[Ever had the feeling that your build file was a tad complex? The above is a visualisation provided by the excellent program grand. This particular build script utilises the ASL ant library. I think it might need some love. Producing the visualisation is very easy. Simply download the jar file and then some ant scripting&#8230; [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://jimbarritt.com/non-random/wp-content/uploads/2010/11/ant-visualisation.png" rel="lightbox[724]"><img src="http://jimbarritt.com/non-random/wp-content/uploads/2010/11/ant-visualisation.png" alt="" title="ant-visualisation" width="284" height="592" class="aligncenter size-full wp-image-725" /></a></p>
<p>Ever had the feeling that your build file was a tad complex?</p>
<p>The above is a visualisation provided by the excellent program <a href="http://www.ggtools.net/grand">grand</a>. This particular build script utilises the <a href="http://www.exubero.com/asl/">ASL ant library</a>. I think it might need some love.</p>
<p>Producing the visualisation is very easy. Simply download the jar file and then some ant scripting&#8230;</p>
<p><script src="https://gist.github.com/666324.js?file=grand-ant-visualisation.xml"></script></p>
<p>You need to have <a href="http://www.graphviz.org/">GraphViz</a> installed which should give you a command line program called &#8220;dot&#8221;. You can simply try :</p>
<pre name='code' class='java:nogutter:nocontrols'>
dot &#8211;help
</pre>
<p>On the command line to see if you have it installed.</p>
<p>I have a working version on <a href="https://github.com/jimbarritt/xylon/tree/master/tool/grand/">github</a></p>
<p><a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fjimbarritt.com%2Fnon-random%2F2010%2F11%2F07%2Fvisualise-your-ant-build-with-grand%2F&amp;title=Visualise%20your%20ANT%20build%20with%20Grand"><img src="http://jimbarritt.com/non-random/wp-content/plugins/add-to-any/share_save_256_24.png" width="256" height="24" alt="Share"/></a> </p>]]></content:encoded>
			<wfw:commentRss>http://jimbarritt.com/non-random/2010/11/07/visualise-your-ant-build-with-grand/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://jimbarritt.com/non-random/2010/11/07/visualise-your-ant-build-with-grand/</feedburner:origLink></item>
		<item>
		<title>Typing the pound, or hash (#) key in emacs on Uk Macbook</title>
		<link>http://feedproxy.google.com/~r/jimbarritt/~3/zU7Z7dFUZ14/</link>
		<comments>http://jimbarritt.com/non-random/2010/11/07/typing-the-pound-or-hash-key-in-emacs-on-uk-macbook/#comments</comments>
		<pubDate>Sun, 07 Nov 2010 14:01:50 +0000</pubDate>
		<dc:creator>Jim Barritt</dc:creator>
				<category><![CDATA[emacs]]></category>

		<guid isPermaLink="false">http://jimbarritt.com/non-random/?p=720</guid>
		<description><![CDATA[My first foray into customising emacs that didn&#8217;t involve copy and paste from something on the internet. The problem with OS X and the uk keyboard is that the pound key actually has a £ on it. To get &#8220;#&#8221; you have to press alt+3 Of course, in emacs, the alt key is the meta [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://jimbarritt.com/non-random/wp-content/uploads/2010/11/insert-pound.png" rel="lightbox[720]"><img src="http://jimbarritt.com/non-random/wp-content/uploads/2010/11/insert-pound.png" alt="" title="insert-pound" width="634" height="117" class="aligncenter size-full wp-image-721" /></a></p>
<p>My first foray into customising emacs that didn&#8217;t involve copy and paste from something on the internet.</p>
<p>The problem with OS X and the uk keyboard is that the pound key actually has a £ on it. To get &#8220;#&#8221; you have to press <code>alt+3</code></p>
<p>Of course, in emacs, the <code>alt</code> key is the meta key which is trapped by emacs. The simple function above inserted into your <code>.emacs</code> file should map the keys correctly.</p>
<p>Another option would be to re-map the apple key to be the meta key, perhaps another yak. </p>
<p>For copy and paste-ability:</p>
<pre name='code' class='java:nogutter:nocontrols'>
;; Allow hash to be entered
(defun insert-pound ()
  &#8220;Inserts a pound into the buffer&#8221;
  (insert &#8220;#&#8221;))
(global-set-key (kbd &#8220;M-3&#8243;) &#8216;(lambda()(interactive)(insert-pound)))
</pre>
<p><a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fjimbarritt.com%2Fnon-random%2F2010%2F11%2F07%2Ftyping-the-pound-or-hash-key-in-emacs-on-uk-macbook%2F&amp;title=Typing%20the%20pound%2C%20or%20hash%20%28%23%29%20key%20in%20emacs%20on%20Uk%20Macbook"><img src="http://jimbarritt.com/non-random/wp-content/plugins/add-to-any/share_save_256_24.png" width="256" height="24" alt="Share"/></a> </p>]]></content:encoded>
			<wfw:commentRss>http://jimbarritt.com/non-random/2010/11/07/typing-the-pound-or-hash-key-in-emacs-on-uk-macbook/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://jimbarritt.com/non-random/2010/11/07/typing-the-pound-or-hash-key-in-emacs-on-uk-macbook/</feedburner:origLink></item>
		<item>
		<title>Windows: Anti-aliased fonts don’t work</title>
		<link>http://feedproxy.google.com/~r/jimbarritt/~3/OjO6CsYHWP4/</link>
		<comments>http://jimbarritt.com/non-random/2010/11/03/windows-anti-aliased-fonts-dont-work/#comments</comments>
		<pubDate>Wed, 03 Nov 2010 12:08:40 +0000</pubDate>
		<dc:creator>Jim Barritt</dc:creator>
				<category><![CDATA[intellij]]></category>
		<category><![CDATA[visual studio]]></category>

		<guid isPermaLink="false">http://jimbarritt.com/non-random/?p=705</guid>
		<description><![CDATA[I was recently installing a new machine and getting a strange feeling that something was awry with my IntelliJ fonts. They looked like they were not being anti-aliased, even though I had checked the correct option. Also I noticed that generally fonts were looking a bit ropey. After some puzzling I discovered the dialog above. [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://jimbarritt.com/non-random/wp-content/uploads/2010/11/antialias1.png" rel="lightbox[705]"><img src="http://jimbarritt.com/non-random/wp-content/uploads/2010/11/antialias1.png" alt="" title="antialias" width="430" height="326" class="aligncenter size-full wp-image-711" /></a></p>
<p>I was recently installing a new machine and getting a strange feeling that something was awry with my IntelliJ fonts. They looked like they were not being anti-aliased, even though I had checked the correct option. Also I noticed that generally fonts were looking a bit ropey.</p>
<p>After some puzzling I discovered the dialog above. If you right click on the desktop then to properties->appearance->effects&#8230; you will see it and you need to make sure the font smoothing is checked.</p>
<p>Phew, now I have beautiful code again.</p>
<p><a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fjimbarritt.com%2Fnon-random%2F2010%2F11%2F03%2Fwindows-anti-aliased-fonts-dont-work%2F&amp;title=Windows%3A%20Anti-aliased%20fonts%20don%26%238217%3Bt%20work"><img src="http://jimbarritt.com/non-random/wp-content/plugins/add-to-any/share_save_256_24.png" width="256" height="24" alt="Share"/></a> </p>]]></content:encoded>
			<wfw:commentRss>http://jimbarritt.com/non-random/2010/11/03/windows-anti-aliased-fonts-dont-work/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://jimbarritt.com/non-random/2010/11/03/windows-anti-aliased-fonts-dont-work/</feedburner:origLink></item>
	</channel>
</rss>

