<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	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/"
	>

<channel>
	<title>Patrick O'Doherty &#187; misc</title>
	<atom:link href="http://patrickodoherty.com/category/misc/feed/" rel="self" type="application/rss+xml" />
	<link>http://patrickodoherty.com</link>
	<description>Ramblings on anything and everything</description>
	<lastBuildDate>Sat, 10 Oct 2009 14:37:11 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>TaskPaper (GTD on Mac OS X)</title>
		<link>http://patrickodoherty.com/2009/03/taskpaper-gtd-on-mac-os-x/</link>
		<comments>http://patrickodoherty.com/2009/03/taskpaper-gtd-on-mac-os-x/#comments</comments>
		<pubDate>Wed, 04 Mar 2009 21:22:13 +0000</pubDate>
		<dc:creator>Patrick</dc:creator>
				<category><![CDATA[apple]]></category>
		<category><![CDATA[misc]]></category>
		<category><![CDATA[tech]]></category>
		<category><![CDATA[app]]></category>
		<category><![CDATA[application]]></category>
		<category><![CDATA[gtd]]></category>
		<category><![CDATA[mac]]></category>
		<category><![CDATA[mac os x]]></category>
		<category><![CDATA[os x]]></category>
		<category><![CDATA[software]]></category>
		<category><![CDATA[software pick]]></category>
		<category><![CDATA[taskpaper]]></category>

		<guid isPermaLink="false">http://patrickodoherty.com/2009/03/taskpaper-gtd-on-mac-os-x/</guid>
		<description><![CDATA[A while back during MacHeist 2 last year I acquired a copy of the GTD application for OS X called TaskPaper. At the time I didn&#8217;t think much of it, I saw it as a simple app for making to-do lists rather than anything else and I didn&#8217;t really have a need for it. It [...]]]></description>
			<content:encoded><![CDATA[<p>A while back during MacHeist 2 last year I acquired a copy of the GTD application for OS X called TaskPaper. At the time I didn&#8217;t think much of it, I saw it as a simple app for making to-do lists rather than anything else and I didn&#8217;t really have a need for it. It has been sitting in my Applications folder almost completely unused for almost a year now until I started looking into GTD methods to get some hint of organisation around all the stuff I&#8217;m doing.</p>

<p>I played around with the Things demo for a while and I have to say I was quite impressed with it. Things provides a really nice interface which made it easy to use, which was a big plus. Things also sports an iPhone app which synced perfectly with the Desktop version. The one thing (no pun intended) that put me off was the price. Buying the pair of applications for both the phone and the desktop would cost just over €50 which is quite a bit, considering the times we&#8217;re in. I also found that while Things sported a lot of nice features, that I wouldn&#8217;t necessarily use all of them, so it wasn&#8217;t really worth it.</p>

<p>Then I re-discovered TaskPaper sitting in my Applications folder. After firing it up and looking at it properly for the first time I realised it was much much more than a simple application for making to-do lists.</p>

<p><span id="more-70"></span>
TaskPaper is a GTD application similar to Things in terms of the way it manages things. When adding new tasks to your list you add them to the Inbox for sorting later into other projects. It even provides a quick entry keyboard shortcut that brings up a nice little interface for adding tasks on the go. It selects to add things to the Inbox by default but you can also add them to projects straight away and bypass the necessary organising later. 
<img src="http://patrickodoherty.com/wp-content/uploads/2009/03/taskpaper.jpg" alt="Taskpaper" />
TaskPaper, like things also supports tagging. Tags are added to tasks at the end with the @ prefix. You can add as many tags as you want and TaskPaper provides functionality for searching by tags, which shows all the tasks across all projects that share the tag your looking for. Once you have completed a task you mark it complete by adding the @done tag. You can move it to the Archive project yourself if you want or you can have TaskPaper do them all for you using the cmd + shift + D shortcut.</p>

<p>One of the main reasons I like TaskPaper is that your list is contained in a single plain-text file. The only thing that TaskPaper uses is the formatting with tab indentation and @ prefix for tags. What this means is that even if your not in front of your own computer you can sync it across numerous computers as a simple text file and still be able to understand it without the application. For example if I want to see what I had down in the web development project away from home I can look at the file over ssh and see what I want to see, without the need for any unnecessary software installs. What I guess I am trying to say is that TaskPaper excels in doing a great job while still keeping it simple.</p>

<p>If your looking for a simple, effective way to organise yourself on the Mac, I recommend you try it. You can download a free trial over at <a href="http://www.hogbaysoftware.com/products/taskpaper">Hog Bay Software</a> and if you like it enough, you can buy it for only $29.95, a good price for software this useful.</p>

<p>Enjoy</p>

<p>Patrick</p>
]]></content:encoded>
			<wfw:commentRss>http://patrickodoherty.com/2009/03/taskpaper-gtd-on-mac-os-x/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Young Scientist &#8216;09</title>
		<link>http://patrickodoherty.com/2009/01/young-scientist-09/</link>
		<comments>http://patrickodoherty.com/2009/01/young-scientist-09/#comments</comments>
		<pubDate>Sat, 10 Jan 2009 22:38:18 +0000</pubDate>
		<dc:creator>Patrick</dc:creator>
				<category><![CDATA[misc]]></category>
		<category><![CDATA[arduino]]></category>
		<category><![CDATA[automation]]></category>
		<category><![CDATA[django]]></category>
		<category><![CDATA[electronics]]></category>
		<category><![CDATA[energy conservation]]></category>
		<category><![CDATA[python]]></category>
		<category><![CDATA[young scientist]]></category>
		<category><![CDATA[ys09]]></category>

		<guid isPermaLink="false">http://thelifeofpatrick.com/?p=21</guid>
		<description><![CDATA[After my experience in last years Young Scientist Exhibition I decided that I would definitely try and enter again this year. After a lot of thought I decided upon my project entitled &#8216;Energy Saving through Automation&#8217;. In a nutshell I created an automation system for controlling household appliances and domestic lighting to combat standby power [...]]]></description>
			<content:encoded><![CDATA[<p>After my experience in last years Young Scientist Exhibition I decided that I would definitely try and enter again this year. After a lot of thought I decided upon my project entitled &#8216;Energy Saving through Automation&#8217;. In a nutshell I created an automation system for controlling household appliances and domestic lighting to combat standby power wasting.</p>

<p>Fortunately my project won two prizes, being 1st in Intermediate Technology Individual and the Science Foundation of Ireland special award which is given for research/engineering in the field of energy conservation technology.</p>

<p>The electronics part of the project was created using the <a href="http://arduino.cc">Arduino</a> micro-controller platform. For those that don&#8217;t know what the Arduino is, its a prototyping electronics platform created for hobbyists, by hobbyists. The Arduino provided the perfect platform on which to start working with electronics. The board itself runs its own variant of C/C++ and the support forums and language reference are to say the least, second to none.</p>

<p><span id="more-21"></span>
The Arduino also provides easy communication through its serial interface. Implementing serial communication between my MacBook and the board proved to be a very simple affair, instead of being the difficult task I expected it to be. Things such as receiving strings through the serial interface provide the programmer with nice little challenges which I found did a lot for bringing me back to thinking in C.</p>


<div class="wp_syntax"><div class="code"><pre class="c" style="font-family:monospace;"><span style="color: #993333;">char</span> <span style="color: #993333;">string</span><span style="color: #009900;">&#91;</span><span style="color: #0000dd;">16</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">;</span>
<span style="color: #993333;">void</span> setup<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span>
    Serial.<span style="color: #202020;">begin</span><span style="color: #009900;">&#40;</span><span style="color: #0000dd;">9600</span><span style="color: #009900;">&#41;</span> <span style="color: #666666; font-style: italic;">// Start the serial port with a baud rate of 9600</span>
<span style="color: #009900;">&#125;</span>
<span style="color: #993333;">void</span> loop<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span>
    <span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span>Serial.<span style="color: #202020;">available</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">&gt;</span> <span style="color: #0000dd;">0</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span> <span style="color: #666666; font-style: italic;">// If there is a character to be read</span>
        <span style="color: #993333;">int</span> i <span style="color: #339933;">=</span> <span style="color: #0000dd;">0</span><span style="color: #339933;">;</span> <span style="color: #666666; font-style: italic;">// Start a counter</span>
        <span style="color: #b1b100;">while</span> <span style="color: #009900;">&#40;</span>Serial.<span style="color: #202020;">available</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">&gt;</span> <span style="color: #0000dd;">0</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span>
            <span style="color: #993333;">string</span><span style="color: #009900;">&#91;</span>i<span style="color: #009900;">&#93;</span> <span style="color: #339933;">=</span> Serial.<span style="color: #202020;">read</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #666666; font-style: italic;">// Append the character to create a string</span>
            i <span style="color: #339933;">+=</span> <span style="color: #0000dd;">1</span><span style="color: #339933;">;</span> <span style="color: #666666; font-style: italic;">// Increment the counter</span>
        <span style="color: #009900;">&#125;</span>
    <span style="color: #009900;">&#125;</span>
<span style="color: #009900;">&#125;</span></pre></div></div>


<p></p></p>

<p>Serial communication on the MacBook end also proved to be easier than I first thought. Using the
<a href="http://pyserial.sourceforge.net" title="pySerial">pySerial</a> module for Python made serial communication with the board a breeze.</p>


<div class="wp_syntax"><div class="code"><pre class="python" style="font-family:monospace;"><span style="color: #ff7700;font-weight:bold;">def</span> read<span style="color: black;">&#40;</span><span style="color: #008000;">self</span><span style="color: black;">&#41;</span>:
    <span style="color: #ff7700;font-weight:bold;">import</span> serial <span style="color: #808080; font-style: italic;"># Import the pySerial module</span>
    s = serial.<span style="color: black;">Serial</span><span style="color: black;">&#40;</span><span style="color: #483d8b;">&quot;/dev/tty.usbserial-A9005fkd&quot;</span>, <span style="color: #ff4500;">9600</span><span style="color: black;">&#41;</span> <span style="color: #808080; font-style: italic;"># Start the serial interface with a baud rate of 9600</span>
    message = s.<span style="color: #dc143c;">readline</span><span style="color: black;">&#40;</span><span style="color: black;">&#41;</span> <span style="color: #808080; font-style: italic;"># Read a line from the serial interface</span>
    <span style="color: #ff7700;font-weight:bold;">return</span> message <span style="color: #808080; font-style: italic;"># Return that line</span></pre></div></div>


<p>I decided to use <a href="http://python.org" title="Python">Python</a> to write the &#8220;handler&#8221; that controlled the Arduino for many reasons. The handler application controlled all communication between components allowing for things such as the web interface (see below) to control the Arduino remotely. The main reason I chose Python is that it has ease of use in abundance. Python comes with native support for the <a href="http://sqlite.org" title="SQLite">SQLite</a> database platform which I used to store information for a web interface in my project. Python also promotes good coding practices with things such as tab indentation (which every good programmer should use anyway) being required to nestle code under things such as if statements or while loops. This inherently breaks the code up into easily readable blocks making scripts a lot easier to read. </p>

<p>I decided that to keep things simple that I would write a web interface using Python as well for my project. There were many choices for web frameworks for Python but I eventually settled on the <a href="http://djangoproject.com">Django</a> framework as it was the one recommended to me by friends. Django made developing the web interface quite easy with things such as limiting access to views to authenticated users becoming a one-line addition to the code. I found this a very pleasant change from using PHP and the <a href="http://codeigniter.com" title="CodeIgniter">CodeIgniter</a> framework where such things would have to be written from scratch when starting a new project. It would make me seriously consider using Django for future development instead of PHP and CodeIgniter (although I do hear wonders about Ruby on Rails as well).</p>

<p>I hope to post more specifications on my project in the future but for reasons I can&#8217;t do it at the moment.</p>

<p>Enjoy, </p>

<p>Patrick</p>
]]></content:encoded>
			<wfw:commentRss>http://patrickodoherty.com/2009/01/young-scientist-09/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>New design and more posts to come</title>
		<link>http://patrickodoherty.com/2008/11/new-design-and-more-posts-to-come/</link>
		<comments>http://patrickodoherty.com/2008/11/new-design-and-more-posts-to-come/#comments</comments>
		<pubDate>Mon, 17 Nov 2008 19:36:27 +0000</pubDate>
		<dc:creator>Patrick</dc:creator>
				<category><![CDATA[misc]]></category>
		<category><![CDATA[design]]></category>
		<category><![CDATA[theme]]></category>

		<guid isPermaLink="false">http://thelifeofpatrick.com/?p=14</guid>
		<description><![CDATA[To say the least, life has been catching up on me lately leaving me with little time to dedicate to blog posts but things are beginning to clear up and I hope to be posting more often from now on, starting with the new design. For a long time now I havn&#8217;t had the design [...]]]></description>
			<content:encoded><![CDATA[<p>To say the least, life has been catching up on me lately leaving me with little time to dedicate to blog posts but things are beginning to clear up and I hope to be posting more often from now on, starting with the new design. For a long time now I havn&#8217;t had the design skills or the necessary time to roll my own theme and have been using the ones generously released to the public by their makers. From now on if I do a site redesign, it&#8217;ll be my own work and creativity and not others. I don&#8217;t know how often that&#8217;ll be but practice makes perfect.</p>

<p>Enjoy,</p>

<p>Patrick</p>
]]></content:encoded>
			<wfw:commentRss>http://patrickodoherty.com/2008/11/new-design-and-more-posts-to-come/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Music Pick, &#8216;One Final Effort&#8217;</title>
		<link>http://patrickodoherty.com/2008/03/music-pick-one-final-effort/</link>
		<comments>http://patrickodoherty.com/2008/03/music-pick-one-final-effort/#comments</comments>
		<pubDate>Sun, 30 Mar 2008 19:32:11 +0000</pubDate>
		<dc:creator>Patrick</dc:creator>
				<category><![CDATA[misc]]></category>
		<category><![CDATA[music]]></category>
		<category><![CDATA[halo 3]]></category>

		<guid isPermaLink="false">http://thelifeofpatrick.com/archives/4</guid>
		<description><![CDATA[Those of you who own an XBox might be familiar with this piece of music which is taken from the soundtrack of Halo 3. I came across it while browsing the net on rampancy.net, a site of music enthusiasts dedicated to the music made by Bungie, the company that made the Halo series as well [...]]]></description>
			<content:encoded><![CDATA[<p>Those of you who own an XBox might be familiar with this piece of music which is taken from the soundtrack of Halo 3. I came across it while browsing the net on <a href="http://www.rampancy.net">rampancy.net</a>, a site of music enthusiasts dedicated to the music made by Bungie, the company that made the Halo series as well as the classic Marathon.</p>

<p><span id="more-4"></span></p>

<p>The site contains transcriptions of the music for the piano which are freely available and they also have recordings of the music on piano only, which is what I have linked to <a href="http://mt11.quickshareit.com/share/audio/onefinaleffortp00a19.mp3">here</a> (also due to copyright issues, I don&#8217;t break any rules by linking to a imitation performance). A quick search for &#8216;one final effort&#8217; and you&#8217;ll easily find the original with orchestral backing. If you would like to download a pdf of the transcribed piece you can find it <a href="http://rampancy.net/blog/Jonathan_Churchill/04/02/2008/One_Final_Effort_Piano">here</a>Registration is required to download content from the site.</p>

<p>I hope you enjoy listening to it.</p>
]]></content:encoded>
			<wfw:commentRss>http://patrickodoherty.com/2008/03/music-pick-one-final-effort/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
