<?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>Simon &#187; Tips</title>
	<atom:link href="http://owls-count.net/blog/category/computer/tips/feed" rel="self" type="application/rss+xml" />
	<link>http://owls-count.net</link>
	<description>I am me</description>
	<lastBuildDate>Fri, 30 Jul 2010 05:34:33 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Photo Backup</title>
		<link>http://owls-count.net/blog/computer/photo-backup</link>
		<comments>http://owls-count.net/blog/computer/photo-backup#comments</comments>
		<pubDate>Fri, 08 Jan 2010 12:29:27 +0000</pubDate>
		<dc:creator>Simon</dc:creator>
				<category><![CDATA[Computer]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[Websites]]></category>

		<guid isPermaLink="false">http://owls-count.net/?p=468</guid>
		<description><![CDATA[A few weeks ago I decided that it would be a good idea to backup all my photos. Currently I have over 4000 photos, which amounts to 6 GB. So the question was what was the best method? This task went on the todo list and I pondered the best way to go about this. [...]]]></description>
			<content:encoded><![CDATA[<p>A few weeks ago I decided that it would be a good idea to backup all <a href="http://www.flickr.com/photos/owls-count/">my photos</a>. Currently I have over 4000 photos, which amounts to 6 GB. So the question was what was the best method? This task went on the todo list and I pondered the best way to go about this.</p>
<p>Then, a couple of weeks ago, I saw a link to <a href="http://human3rror.com/migrating-21k-pictures-and-videos-from-flickr-to-picasa/"><i>Migrating 21k Pictures and Videos from Flickr to Picasa</i></a> and realised that it provided a good method. Using two different providers means that I do not have to worry about local backup media dying and it also gives me the choice to move from one provider to the other as my main host in the future.</p>
<p>As I do not have a Mac, I used <a href="http://sunkencity.org/flickredit">FlickrEdit</a> for the download and that took about a day. The upload took a couple of days. At some point I will need to sort out the photo tags and geotagging, which did not move over using this method, but overall it was a fairly painless way of making the backup.</p>
]]></content:encoded>
			<wfw:commentRss>http://owls-count.net/blog/computer/photo-backup/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Keeping Hands Out of the Cookie Jar</title>
		<link>http://owls-count.net/blog/computer/keeping-hands-out-of-the-cookie-jar</link>
		<comments>http://owls-count.net/blog/computer/keeping-hands-out-of-the-cookie-jar#comments</comments>
		<pubDate>Tue, 29 Apr 2008 11:17:27 +0000</pubDate>
		<dc:creator>Simon</dc:creator>
				<category><![CDATA[Computer]]></category>
		<category><![CDATA[Setup]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[Websites]]></category>

		<guid isPermaLink="false">http://owls-count.net/?p=140</guid>
		<description><![CDATA[The new version of WordPress adds additional protection for cookies. It is very much worth adding the config option mentioned, since it helps protect against problems where a database have already been compromised. Hot on the heels of WordPress 2.5.0 is the security update &#8211; WP 2.5.1. Rumours that I have as many draft posts [...]]]></description>
			<content:encoded><![CDATA[<p>The new version of WordPress adds additional <a href="http://boren.nu/archives/2008/04/24/cookie-security-in-wordpress-25/">protection for cookies</a>. It is very much worth adding the config option mentioned, since it helps protect against problems where a database have already been compromised.</p>
<p>Hot on the heels of WordPress 2.5.0 is the security update &#8211; <a href="http://wordpress.org/development/2008/04/wordpress-251/">WP 2.5.1</a>.</p>
<p>Rumours that I have <a href="http://reqfd.net/stack/2008/04/23/being-a-peasant/">as many draft posts as SKG</a> are false &#8211; though more than ten will exist soon if I keep leaving them unpublished!</p>
]]></content:encoded>
			<wfw:commentRss>http://owls-count.net/blog/computer/keeping-hands-out-of-the-cookie-jar/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>British Middle Championships</title>
		<link>http://owls-count.net/blog/orienteering/british-middle-championships</link>
		<comments>http://owls-count.net/blog/orienteering/british-middle-championships#comments</comments>
		<pubDate>Wed, 09 Apr 2008 09:15:10 +0000</pubDate>
		<dc:creator>Simon</dc:creator>
				<category><![CDATA[Events]]></category>
		<category><![CDATA[Orienteering]]></category>
		<category><![CDATA[Photos]]></category>
		<category><![CDATA[Setup]]></category>
		<category><![CDATA[Tips]]></category>

		<guid isPermaLink="false">http://owls-count.net/?p=136</guid>
		<description><![CDATA[Photos: 1 &#8211; 2 &#8211; 3 &#8211; 4 &#8211; 5 My Route From waking up on Saturday morning I was never feeling too great and this was reflected in my run. While my navigation and route choice was ok, I never managed to get a decent pace going. For the first couple of controls my [...]]]></description>
			<content:encoded><![CDATA[<p>Photos: <a href="http://www.flickr.com/photos/owls-count/sets/72157604421109414/detail">1</a> &#8211; <a href="http://www.flickr.com/photos/owls-count/sets/72157604421109414/detail/?page=2">2</a> &#8211; <a href="http://www.flickr.com/photos/owls-count/sets/72157604421109414/detail/?page=3">3</a> &#8211; <a href="http://www.flickr.com/photos/owls-count/sets/72157604421109414/detail/?page=4">4</a> &#8211; <a href="http://www.flickr.com/photos/owls-count/sets/72157604421109414/detail/?page=5">5</a></p>
<p><a href="http://www.od.routegadget.co.uk/od/reitti.cgi?act=map&#038;id=3&#038;cID=1&#038;kieli=&#038;pID=108">My Route</a></p>
<p>From waking up on Saturday morning I was never feeling too great and this was reflected in my run. While my navigation and route choice was ok, I never managed to get a decent pace going.</p>
<p>For the first couple of controls my navigation was off. I was not taking enough notice of the map and compass &#8211; meaning I was running a way off. Through the next section I kept up a reasonable pace and navigated well. I had a small wobble on the way to 6, but sorted this out when I found 10 on route.</p>
<p>After getting to the spectator control I should have retired &#8211; I was not running well. I finished in just over 71 minutes, but should have taken 50-55.</p>
]]></content:encoded>
			<wfw:commentRss>http://owls-count.net/blog/orienteering/british-middle-championships/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Firefox, Kubuntu, and GMail as the Default Mail Client</title>
		<link>http://owls-count.net/blog/computer/firefox-kubuntu-and-gmail-as-the-default-mail-client</link>
		<comments>http://owls-count.net/blog/computer/firefox-kubuntu-and-gmail-as-the-default-mail-client#comments</comments>
		<pubDate>Sat, 01 Dec 2007 12:25:43 +0000</pubDate>
		<dc:creator>Simon</dc:creator>
				<category><![CDATA[Computer]]></category>
		<category><![CDATA[Setup]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[Tips]]></category>

		<guid isPermaLink="false">http://owls-count.net/blog/computer/firefox-kubuntu-and-gmail-as-the-default-mail-client</guid>
		<description><![CDATA[I have been using Minefield for a while. This will be released as Firefox 3 at some stage next year and there have been some good improvements. Recently I switched to using this runscript to solve the problems of using the non-default Firefox. Through the -no-remote switch I can also use Firefox 2 at the [...]]]></description>
			<content:encoded><![CDATA[<p>I have been using <a href="http://www.mozilla.org/projects/minefield/">Minefield</a> for a while. This will be released as Firefox 3 at some stage next year and there have been some good improvements. Recently I switched to using <a href="http://juljas.net/linux/tips/#firefox">this runscript</a> to solve the problems of using the non-default Firefox. Through the <code>-no-remote</code> switch I can also use Firefox 2 at the same time, which is useful for testing and allows me to have a profile setup with web developer extensions.</p>
<p><a href="http://www.howtogeek.com/">How-To Geek</a> recently posted instructions on <a href="http://www.howtogeek.com/howto/ubuntu/set-gmail-as-default-mail-client-in-ubuntu/">setting GMail as the default mail client in Ubuntu</a>. In the comments are <a href="http://www.howtogeek.com/howto/ubuntu/set-gmail-as-default-mail-client-in-ubuntu/#comment-14936">equivalent instructions for Kubuntu users</a> and there is an altered <a href="http://www.howtogeek.com/howto/ubuntu/set-gmail-as-default-mail-client-in-ubuntu/#comment-22227">script that also deals with cc/bcc/subject/body</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://owls-count.net/blog/computer/firefox-kubuntu-and-gmail-as-the-default-mail-client/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Gravatar Enabled</title>
		<link>http://owls-count.net/blog/computer/gravatar-enabled</link>
		<comments>http://owls-count.net/blog/computer/gravatar-enabled#comments</comments>
		<pubDate>Sun, 21 Oct 2007 15:25:51 +0000</pubDate>
		<dc:creator>Simon</dc:creator>
				<category><![CDATA[Computer]]></category>
		<category><![CDATA[Setup]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[Tips]]></category>

		<guid isPermaLink="false">http://owls-count.net/blog/computer/gravatar-enabled</guid>
		<description><![CDATA[I noted in the tech press last week that Automattic had acquired Gravatar. Matt has posted the code to enable gravatars on his blog. I rather like the idea behind gravatars and have enabled them on this blog.]]></description>
			<content:encoded><![CDATA[<p>I noted in the tech press last week that <a href="http://automattic.com/">Automattic</a> <a href="http://blog.gravatar.com/2007/10/18/automattic-gravatar/">had acquired</a> <a href="http://site.gravatar.com/">Gravatar</a>. <a href="http://photomatt.net/">Matt</a> has posted the <a href="http://pastebin.ca/743979">code to enable gravatars</a> on his blog. I rather like the idea behind gravatars and have enabled them on this blog.</p>
]]></content:encoded>
			<wfw:commentRss>http://owls-count.net/blog/computer/gravatar-enabled/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WordPress Administration</title>
		<link>http://owls-count.net/blog/computer/wordpress-administration</link>
		<comments>http://owls-count.net/blog/computer/wordpress-administration#comments</comments>
		<pubDate>Thu, 27 Sep 2007 16:21:12 +0000</pubDate>
		<dc:creator>Simon</dc:creator>
				<category><![CDATA[Computer]]></category>
		<category><![CDATA[Setup]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[Tips]]></category>

		<guid isPermaLink="false">http://owls-count.net/blog/computer/wordpress-administration</guid>
		<description><![CDATA[Tip #6 : Enhancing WordPress administration: Whenever I update a WordPress blog I think how overly complicated the &#8216;Write Post&#8217; page is. There are lots of different pieces that you could use &#8211; most of which I have never had cause to touch. The post linked to suggests using Clutter Free to improve matters and, [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://wpbits.wordpress.com/2007/09/26/tip-6-enhancing-wordpress-administration/">Tip #6 : Enhancing WordPress administration</a>: Whenever I update a WordPress blog I think how overly complicated the &#8216;Write Post&#8217; page is. There are lots of different pieces that you could use &#8211; most of which I have never had cause to touch. The post linked to suggests using <a href="http://txfx.net/code/wordpress/clutter-free/">Clutter Free</a> to improve matters and, having installed this plugin, I am impressed. The &#8216;Write Post&#8217; page is now so much more simple.<br />
From the same set of tips I also added <a href="http://roel.meurders.nl/wordpress-plugins/wp-addquicktag-plugin-for-adding-quicktags/">WP-AddQuicktag</a>, which allows me to add some more quicktags for the chunks I html I often use. The code, as linked to, needs a small edit to make it work on all update/edit pages. Edit the line:<br />
<code>	if(strpos($_SERVER['REQUEST_URI'], 'post.php') || strpos($_SERVER['REQUEST_URI'], 'page-new.php') ) {</code><br />
to be:<br />
<code>        if(strpos($_SERVER['REQUEST_URI'], 'post.php') || strpos($_SERVER['REQUEST_URI'], 'page.php') || strpos($_SERVER['REQUEST_URI'], 'page-new.php') || strpos($_SER    VER['REQUEST_URI'], 'post-new.php') ) {</code></p>
<p>Related to this is the question: &#8216;<a href="http://weblogtoolscollection.com/archives/2007/09/21/wordpress-visual-editor-do-you-use-it/">WordPress Visual Editor &#8211; Do you Use It?</a>&#8216; I do not, switching to the basic editor wherever possible,</p>
]]></content:encoded>
			<wfw:commentRss>http://owls-count.net/blog/computer/wordpress-administration/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Lower Power Consumption</title>
		<link>http://owls-count.net/blog/computer/lower-power-consumption</link>
		<comments>http://owls-count.net/blog/computer/lower-power-consumption#comments</comments>
		<pubDate>Sun, 23 Sep 2007 09:33:44 +0000</pubDate>
		<dc:creator>Simon</dc:creator>
				<category><![CDATA[Computer]]></category>
		<category><![CDATA[Setup]]></category>
		<category><![CDATA[Tips]]></category>

		<guid isPermaLink="false">http://owls-count.net/blog/computer/lower-power-consumption</guid>
		<description><![CDATA[As with many people, my computer rarely gets turned off. It was with interest that I noted the following coming through the blog world in the last week. Less Watts This site, from Intel, describes methods available to reduce power consumption on all types of machines running Linux. Available is software and tips that work [...]]]></description>
			<content:encoded><![CDATA[<p>As with many people, my computer rarely gets turned off. It was with interest that I noted the following coming through the blog world in the last week.</p>
<p><a href="http://www.lesswatts.org/">Less Watts</a><br />
This site, from <a href="http://www.intel.com/">Intel</a>, describes methods available to reduce power consumption on all types of machines running Linux. Available is software and tips that work to keep the machine running optimally, while reducing the amount of power used.</p>
<p><a href="http://blogs.zdnet.com/Ou/?p=755">Is the 50 watt PC possible using commodity parts?</a><br />
The answer to the question seems to be no, but not by much. For those building their own machines this gives some good tips for which products to look at to keep power usage down.</p>
]]></content:encoded>
			<wfw:commentRss>http://owls-count.net/blog/computer/lower-power-consumption/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ten Years of Blogging and OpenID Delegation</title>
		<link>http://owls-count.net/blog/computer/ten-years-of-blogging-and-openid-delegation</link>
		<comments>http://owls-count.net/blog/computer/ten-years-of-blogging-and-openid-delegation#comments</comments>
		<pubDate>Sun, 15 Jul 2007 08:56:09 +0000</pubDate>
		<dc:creator>Simon</dc:creator>
				<category><![CDATA[Computer]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[Websites]]></category>

		<guid isPermaLink="false">http://owls-count.net/blog/computer/ten-years-of-blogging-and-openid-delegation</guid>
		<description><![CDATA[The Wall Street Journal reminds us that &#8216;It&#8217;s been 10 years since the blog was born.&#8216; I have been blogging for just over half of that time &#8211; my LiveJournal is five years old. Recently I have been reading more about OpenID. While doing so I found OpenID Delegate WordPress Plugin, which allows me to [...]]]></description>
			<content:encoded><![CDATA[<p>The <a href="http://online.wsj.com/public/us">Wall Street Journal</a> reminds us that &#8216;<i><a href="http://online.wsj.com/article/SB118436667045766268.html">It&#8217;s been 10 years since the blog was born.</a></i>&#8216; I have been blogging for just over half of that time &#8211; my LiveJournal is five years old.</p>
<p>Recently I have been reading more about <a href="http://openid.net/">OpenID</a>. While doing so I found <a href="http://eran.sandler.co.il/openid-delegate-wordpress-plugin/">OpenID Delegate WordPress Plugin</a>, which allows me to delegate my LiveJournal OpenID identity to this domain.</p>
<p><b>Update on 18th July:</b> Of course the <a href="http://blogsearch.google.com/blogsearch?hl=en&#038;client=news&#038;ie=ISO-8859-1&#038;q=link%3Ahttp%3A%2F%2Fonline.wsj.com%2Farticle%2FSB118436667045766268.html&#038;btnG=Search+Blogs">blog world</a> has spent the last few days debating when blogs started and which blog was the first.</p>
]]></content:encoded>
			<wfw:commentRss>http://owls-count.net/blog/computer/ten-years-of-blogging-and-openid-delegation/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Backups</title>
		<link>http://owls-count.net/blog/computer/backups</link>
		<comments>http://owls-count.net/blog/computer/backups#comments</comments>
		<pubDate>Wed, 25 Apr 2007 08:39:57 +0000</pubDate>
		<dc:creator>Simon</dc:creator>
				<category><![CDATA[Computer]]></category>
		<category><![CDATA[Setup]]></category>
		<category><![CDATA[Tips]]></category>

		<guid isPermaLink="false">http://owls-count.net/blog/computer/backups</guid>
		<description><![CDATA[Recently the importance of making regular backups of important data was brought home to me. My desktop machine has two, old 40GB drives in it and one of them failed. It seems to have died completely &#8211; certainly I have not been able to get it to mount using any of the commonly available tools. [...]]]></description>
			<content:encoded><![CDATA[<p>Recently the importance of making regular backups of important data was brought home to me. My desktop machine has two, old 40GB drives in it and one of them failed. It seems to have died completely &#8211; certainly I have not been able to get it to mount using any of the commonly available tools. However, this is not a great problem to me, as I was able to install the operating system to the other drive and dump the latest backup back onto the machine. Meaning it was back up and working with a couple of days.</p>
<p>Now it is the case that I do not use the desktop that much &#8211; instead preferring the freedom of a laptop. However, since I did have a recent desktop backup I only lost a couple of recently added files. Not much of a problem, but still not ideal. So I decided that I should put my 320GB external hard drive to better use and make a proper backup of both laptop and desktop.</p>
<p>I decided that an incremental backup would be best and so hit on using <a href="http://samba.anu.edu.au/rsync/">rsync</a>. Simple, one command backup to make the first backup and then to update to the latest increment each time.<br />
<code>rsync -r --exclude=[something not wanted in the backup] [full path of source] [full path of destination]</code><br />
I also found that if you need to exclude multiple directories then you just need to add more <code>--exclude=[]</code> statements. Simple, yet effective.</p>
]]></content:encoded>
			<wfw:commentRss>http://owls-count.net/blog/computer/backups/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Testing in Ruby on Rails</title>
		<link>http://owls-count.net/blog/computer/testing-in-ruby-on-rails</link>
		<comments>http://owls-count.net/blog/computer/testing-in-ruby-on-rails#comments</comments>
		<pubDate>Thu, 01 Mar 2007 10:14:15 +0000</pubDate>
		<dc:creator>Simon</dc:creator>
				<category><![CDATA[Computer]]></category>
		<category><![CDATA[Rails]]></category>
		<category><![CDATA[Tips]]></category>

		<guid isPermaLink="false">http://owls-count.net/blog/computer/testing-in-ruby-on-rails</guid>
		<description><![CDATA[The main struggle I had when I first started coding in Ruby on Rails was working out how to use tests. Ruby, and Rails, have a great testing framework, but I had no background in knowing how, and what, to test. As I have progressed with the language I have become more confident in writing [...]]]></description>
			<content:encoded><![CDATA[<p>The main struggle I had when I first started coding in <a href="http://www.rubyonrails.org/">Ruby on Rails</a> was working out how to use tests. Ruby, and Rails, have a great testing framework, but I had no background in knowing how, and what, to test. As I have progressed with the language I have become more confident in writing tests and I am now noticing the benefit of writing them.</p>
<p>A couple of the tools I use in testing are <a href="http://eigenclass.org/hiki.rb?rcov">rcov</a> and <a href="http://glu.ttono.us/articles/2006/12/19/tormenting-your-tests-with-heckle">Heckle</a>. Between these tools you can reveal just how well you are testing your Ruby application.<br />
<span id="more-48"></span><br />
<b>rcov</b><br />
With rcov you can run your tests and see which lines of code were executed during the tests. I find this really useful for reminding me which sections of code I have forgotten to write tests for. I use a modification of Mike Clark&#8217;s <a href="http://www.clarkware.com/cgi/blosxom/2007/01/05#RcovRakeTask">suggestion</a> for running the coverage tests.<br />
<code>namespace :test do<br />
  desc 'Measure test coverage'<br />
  task :coverage do<br />
    system("rcov --rails --text-summary -Ilib --xrefs --html test/unit/*_test.rb test/functional/*_test.rb test/views/*_test.rb test/integration/*_test.rb")<br />
    system("open coverage/index.html") if PLATFORM['darwin']<br />
    system("firefox coverage/index.html") if PLATFORM['linux']<br />
  end<br />
end</code><br />
Note that the firing of Firefox to view the tests on Linux will only work if you can type <i>firefox</i> in a terminal and have it open a web browser for you. If this does not work then you can replace &#8216;firefox&#8217; with another browser. On Kubuntu (and, so, I assume the rest of the Ubuntu family) <i>sensible-browser</i> will work.</p>
<p><b>Heckle</b><br />
While rcov lets you know if a line of code is executed during testing it is useful to know if the line is actually tested. This is where Heckle comes in. It tests your tests.</p>
<p>Simply you run it with<br />
<code>heckle [classname]</code><br />
and watch it go to work on your code. It takes the code in the class, mutates it in some way, and runs it against your tests. If your tests do not fail when code in the class is mutated then that section of code was never being tested. Simple and effective.</p>
]]></content:encoded>
			<wfw:commentRss>http://owls-count.net/blog/computer/testing-in-ruby-on-rails/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
