<?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>kevinFarrelly.com</title>
	<atom:link href="http://www.kevinfarrelly.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.kevinfarrelly.com</link>
	<description>What's keeping my head spinning?</description>
	<lastBuildDate>Mon, 31 Jan 2011 22:59:21 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Exitscript</title>
		<link>http://www.kevinfarrelly.com/development/exitscript/</link>
		<comments>http://www.kevinfarrelly.com/development/exitscript/#comments</comments>
		<pubDate>Mon, 31 Jan 2011 22:52:44 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[development]]></category>
		<category><![CDATA[programming]]></category>
		<category><![CDATA[shooter-v3]]></category>
		<category><![CDATA[allegro]]></category>
		<category><![CDATA[cpp]]></category>
		<category><![CDATA[lua]]></category>
		<category><![CDATA[luabind]]></category>

		<guid isPermaLink="false">http://www.kevinfarrelly.com/?p=109</guid>
		<description><![CDATA[Added scriptable exits ( lua / luabind ) to the levels!]]></description>
			<content:encoded><![CDATA[<p>Added scriptable exits ( lua / luabind ) to the levels!<br />
<a href="http://www.kevinfarrelly.com/wp-content/uploads/2011/02/shooter-v3-dev-exit.png" rel="shadowbox[sbpost-109];player=img;"><img src="http://www.kevinfarrelly.com/wp-content/uploads/2011/02/shooter-v3-dev-exit-300x248.png" alt="" title="shooter-v3-dev-exit" width="300" height="248" class="alignnone size-medium wp-image-110" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.kevinfarrelly.com/development/exitscript/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Time flies when you&#8217;re having fun!</title>
		<link>http://www.kevinfarrelly.com/development/time-flies-when-youre-having-fun/</link>
		<comments>http://www.kevinfarrelly.com/development/time-flies-when-youre-having-fun/#comments</comments>
		<pubDate>Sat, 29 Jan 2011 19:11:00 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[development]]></category>
		<category><![CDATA[programming]]></category>
		<category><![CDATA[shooter-v3]]></category>
		<category><![CDATA[allegro]]></category>
		<category><![CDATA[cpp]]></category>
		<category><![CDATA[lua]]></category>
		<category><![CDATA[luabind]]></category>

		<guid isPermaLink="false">http://www.kevinfarrelly.com/?p=103</guid>
		<description><![CDATA[Currently working on a data-driven level structure to make it able to navigate throught &#8216;levels&#8217;.]]></description>
			<content:encoded><![CDATA[<div id="attachment_104" class="wp-caption alignnone" style="width: 310px"><a href="http://www.kevinfarrelly.com/wp-content/uploads/2011/01/shooter-v3.png" rel="shadowbox[sbpost-103];player=img;"><img src="http://www.kevinfarrelly.com/wp-content/uploads/2011/01/shooter-v3-300x250.png" alt="" title="shooter-v3" width="300" height="250" class="size-medium wp-image-104" /></a><p class="wp-caption-text">Shooter v3 - work-in-progress</p></div>
<p>Currently working on a data-driven level structure to make it able to navigate throught &#8216;levels&#8217;.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.kevinfarrelly.com/development/time-flies-when-youre-having-fun/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Bachelor&#8217;s degree</title>
		<link>http://www.kevinfarrelly.com/misc/bachelors-degree/</link>
		<comments>http://www.kevinfarrelly.com/misc/bachelors-degree/#comments</comments>
		<pubDate>Wed, 20 Jan 2010 12:45:42 +0000</pubDate>
		<dc:creator>kevin</dc:creator>
				<category><![CDATA[misc]]></category>

		<guid isPermaLink="false">http://www.kevinfarrelly.com/?p=98</guid>
		<description><![CDATA[Yesterday I graduated for my Bachelor&#8217;s degree in Information Technology at the Hogeschool van Arnhem en Nijmegen! Thanks to all the teacher that supported me throughout the years.]]></description>
			<content:encoded><![CDATA[<p>Yesterday I graduated for my Bachelor&#8217;s degree in Information Technology at the <a href="http://www.han.nl">Hogeschool van Arnhem en Nijmegen</a>!</p>
<p style="text-align: center;"><img class="size-thumbnail wp-image-99 aligncenter" title="Graduation" src="http://www.kevinfarrelly.com/wp-content/uploads/2010/01/hoedje.jpg" alt="" width="320" height="240" /></p>
<p>Thanks to all the teacher that supported me throughout the years.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.kevinfarrelly.com/misc/bachelors-degree/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Find out which process is locking an exe or dll</title>
		<link>http://www.kevinfarrelly.com/development/general/find-out-which-process-is-locking-an-exe-or-dll/</link>
		<comments>http://www.kevinfarrelly.com/development/general/find-out-which-process-is-locking-an-exe-or-dll/#comments</comments>
		<pubDate>Wed, 18 Nov 2009 16:56:22 +0000</pubDate>
		<dc:creator>kevin</dc:creator>
				<category><![CDATA[general]]></category>

		<guid isPermaLink="false">http://www.kevinfarrelly.com/?p=83</guid>
		<description><![CDATA[This might come in handy if you need to find out which process is locking an exe/dll file: What is does : quote &#8220;Lists all tasks currently using the given exe/dll name. If the module name is not specified all loaded modules are displayed.&#8220;]]></description>
			<content:encoded><![CDATA[<p><a href="http://blogs.msdn.com/winclient/archive/2004/07/08/177947.aspx">This</a> might come in handy if you need to find out which process is locking an exe/dll file: </p>
<pre class="brush: plain; title: ; notranslate">tasklist.exe /m [filename]</pre>
<p>What is does :</p>
<ul>
<li>quote &#8220;<em>Lists all tasks currently using the given exe/dll name. If the module name is not specified all loaded modules are displayed.</em>&#8220;</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.kevinfarrelly.com/development/general/find-out-which-process-is-locking-an-exe-or-dll/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Lua / Luabind</title>
		<link>http://www.kevinfarrelly.com/development/programming/lua-luabind/</link>
		<comments>http://www.kevinfarrelly.com/development/programming/lua-luabind/#comments</comments>
		<pubDate>Thu, 13 Aug 2009 10:27:06 +0000</pubDate>
		<dc:creator>kevin</dc:creator>
				<category><![CDATA[programming]]></category>
		<category><![CDATA[cpp]]></category>
		<category><![CDATA[lua]]></category>
		<category><![CDATA[luabind]]></category>
		<category><![CDATA[scripting]]></category>

		<guid isPermaLink="false">http://www.kevinfarrelly.com/?p=67</guid>
		<description><![CDATA[The following code shows the small demo I created to test if the luabind-0.8.1 library worked for me. main.cpp script.lua output further reading Quick introduction to luabind]]></description>
			<content:encoded><![CDATA[<p>The following code shows the small demo I created to test if the luabind-0.8.1 library worked for me.</p>
<p><strong>main.cpp</strong></p>
<pre class="brush: cpp; title: ; notranslate">
extern &quot;C&quot;
{
	#include &lt;lua.h&gt;
	#include &lt;lualib.h&gt;
	#include &lt;lauxlib.h&gt;
}

#include &lt;luabind/luabind.hpp&gt;

#include &lt;iostream&gt;
#include &lt;string&gt;
#include &lt;map&gt;
#include &lt;vector&gt;
using namespace std;

class Unit
{
private:
	string name;
	int maxHealth;
	int health;

public:
	Unit() :
	name(&quot;unit&quot;),
	maxHealth(10),
	health(10)
	{
	}

	Unit(const Unit&amp; unit) :
	name(name),
	maxHealth(maxHealth),
	health(health)
	{
	}

	const char* getName() const
	{
		return name.c_str();
	}

	void setName(const string&amp; name)
	{
		this-&gt;name = name;
	}

	int getHealth() const
	{
		return health;
	}

	void setHealth(int health)
	{
		this-&gt;health = health;
	}

};

class UnitManager
{
private:
	map&lt;string, Unit*&gt; unitMap;

public:
	virtual ~UnitManager()
	{
		map&lt;string, Unit*&gt;::iterator i = unitMap.begin();
		while (i != unitMap.end())
		{
			delete (*i++).second;
		}
	}

	void createUnit(const string&amp; name)
	{
		Unit* pUnit = new Unit();
		pUnit-&gt;setName(name);
		pUnit-&gt;setHealth(10);

		unitMap.insert(pair&lt;string, Unit*&gt;(
			pUnit-&gt;getName(),
			pUnit));
	}

	void deleteUnit(const string&amp; name)
	{
		map&lt;string, Unit*&gt;::iterator i = unitMap.find(name);
		if (i != unitMap.end())
		{
			delete (*i).second;
			unitMap.erase(name);
		}
	}

	Unit&amp; getUnit(const string&amp; name)
	{
		map&lt;string, Unit*&gt;::iterator i = unitMap.find(name);
		if (i == unitMap.end())
		{
			throw exception();
		}
		return (*((*i).second));
	}

	const vector&lt;string&gt; getKeys() const
	{
		vector&lt;string&gt; keys;
		map&lt;string, Unit*&gt;::const_iterator i = unitMap.begin();
		while (i != unitMap.end())
		{
			keys.push_back((*i).first);
			i++;
		}
		return keys;
	}

	void printUnits()
	{
		const vector&lt;string&gt; keys = getKeys();
		for (int i = 0; i &lt; keys.size(); i++)
		{
			cout &lt;&lt; keys[i] &lt;&lt; endl;
		}
	}

};

int main()
{
	lua_State *pState = lua_open();
	if(pState == NULL)
	{
		std::cout &lt;&lt; &quot;Error initializing &quot; &lt;&lt; LUA_RELEASE &lt;&lt; std::endl;
		return -1;
	}

	luaL_openlibs(pState);
	luabind::open(pState);

	luabind::module(pState)
	[
		luabind::class_&lt;UnitManager&gt;(&quot;UnitManager&quot;)
			.def(luabind::constructor&lt;&gt;())
			.def(&quot;createUnit&quot;, &amp;UnitManager::createUnit)
			.def(&quot;deleteUnit&quot;, &amp;UnitManager::deleteUnit)
			.def(&quot;printUnits&quot;, &amp;UnitManager::printUnits)
			.def(&quot;getUnit&quot;, &amp;UnitManager::getUnit)
	];

	luabind::module(pState)
	[
		luabind::class_&lt;Unit&gt;(&quot;Unit&quot;)
			.def(luabind::constructor&lt;&gt;())
			.def(&quot;getName&quot;, &amp;Unit::getName)
			.def(&quot;getHealth&quot;, &amp;Unit::getHealth)
			.def(&quot;setHealth&quot;, &amp;Unit::setHealth)
	];

	luaL_dofile(pState, &quot;script.lua&quot;);

	lua_close(pState);

	return 0;
}
</pre>
<p><strong>script.lua</strong></p>
<pre class="brush: plain; title: ; notranslate">
um = UnitManager();
um:createUnit('jack');
um:createUnit('john');
um:createUnit('jane');

print('Unit names:');
um:printUnits();

u = um:getUnit('jack');
print('Jack\'s health: ' .. u:getHealth());
u:setHealth(3);

u = um:getUnit('john');
print('John\'s health: ' .. u:getHealth());

u = um:getUnit('jack');
print('Jack\'s health: ' .. u:getHealth());
</pre>
<p><strong>output</strong></p>
<pre class="brush: plain; title: ; notranslate">
Unit names:
jack
jane
john
Jack's health: 10
John's health: 10
Jack's health: 3
</pre>
<p><strong>further reading</strong></p>
<ul>
<li><a href="http://www.nuclex.org/articles/quick-introduction-to-luabind" target="_blank">Quick introduction to luabind</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.kevinfarrelly.com/development/programming/lua-luabind/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Simple Note Trainer</title>
		<link>http://www.kevinfarrelly.com/development/programming/simple-note-trainer/</link>
		<comments>http://www.kevinfarrelly.com/development/programming/simple-note-trainer/#comments</comments>
		<pubDate>Sat, 06 Jun 2009 10:30:06 +0000</pubDate>
		<dc:creator>kevin</dc:creator>
				<category><![CDATA[music]]></category>
		<category><![CDATA[programming]]></category>
		<category><![CDATA[allegro]]></category>
		<category><![CDATA[cpp]]></category>
		<category><![CDATA[notetrainer]]></category>

		<guid isPermaLink="false">http://www.kevinfarrelly.com/?p=43</guid>
		<description><![CDATA[A simple note trainer I made in C/C++ using the Allegro game library. Have fun with it while learning something useful! Note trainer v0.8]]></description>
			<content:encoded><![CDATA[<p><img class="alignnone size-full wp-image-48" title="notetrainer-v08" src="http://www.kevinfarrelly.com/wp-content/uploads/2009/06/notetrainer-v08.gif" alt="notetrainer-v08" width="517" height="432" /></p>
<p>A simple note trainer I made in C/C++ using the <a href="http://alleg.sf.net/" target="_blank">Allegro </a>game library. Have fun with it while learning something useful!</p>
<p><a href="http://www.kevinfarrelly.com/wp-content/uploads/2009/06/notetrainer-v08.zip">Note trainer v0.8</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.kevinfarrelly.com/development/programming/simple-note-trainer/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Hello world!</title>
		<link>http://www.kevinfarrelly.com/development/programming/hello-world-2/</link>
		<comments>http://www.kevinfarrelly.com/development/programming/hello-world-2/#comments</comments>
		<pubDate>Mon, 01 Jun 2009 10:16:20 +0000</pubDate>
		<dc:creator>kevin</dc:creator>
				<category><![CDATA[programming]]></category>
		<category><![CDATA[helloworld]]></category>
		<category><![CDATA[java]]></category>

		<guid isPermaLink="false">http://www.kevinfarrelly.com/?p=40</guid>
		<description><![CDATA[]]></description>
			<content:encoded><![CDATA[<pre class="brush: java; title: ; notranslate">public class HelloWorld {
public static void main(String[] args) {
System.out.println(&quot;Hello world!&quot;);
}
}</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.kevinfarrelly.com/development/programming/hello-world-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Brugge 2008</title>
		<link>http://www.kevinfarrelly.com/pictures/brugge-2008/</link>
		<comments>http://www.kevinfarrelly.com/pictures/brugge-2008/#comments</comments>
		<pubDate>Mon, 01 Jun 2009 10:02:21 +0000</pubDate>
		<dc:creator>kevin</dc:creator>
				<category><![CDATA[pictures]]></category>
		<category><![CDATA[brugge]]></category>
		<category><![CDATA[fotos]]></category>

		<guid isPermaLink="false">http://www.kevinfarrelly.com/?p=22</guid>
		<description><![CDATA[Weekendje Brugge eind 2008.]]></description>
			<content:encoded><![CDATA[<p>Weekendje <a title="Brugge" href="http://www.brugge.be/" target="_blank">Brugge</a> eind 2008.</p>

<a href='http://www.kevinfarrelly.com/wp-content/uploads/2009/06/dsc_0192.jpg' rel='shadowbox[sbalbum-22];player=img;' title='Uitzicht vanuit de hotelkamer'><img width="150" height="150" src="http://www.kevinfarrelly.com/wp-content/uploads/2009/06/dsc_0192-150x150.jpg" class="attachment-thumbnail" alt="Uitzicht vanuit de hotelkamer" title="Uitzicht vanuit de hotelkamer" /></a>
<a href='http://www.kevinfarrelly.com/wp-content/uploads/2009/06/dsc_0191.jpg' rel='shadowbox[sbalbum-22];player=img;' title='De ontbijtkamer'><img width="150" height="150" src="http://www.kevinfarrelly.com/wp-content/uploads/2009/06/dsc_0191-150x150.jpg" class="attachment-thumbnail" alt="De ontbijtkamer" title="De ontbijtkamer" /></a>
<a href='http://www.kevinfarrelly.com/wp-content/uploads/2009/06/dsc_0118.jpg' rel='shadowbox[sbalbum-22];player=img;' title='Iceshow'><img width="150" height="150" src="http://www.kevinfarrelly.com/wp-content/uploads/2009/06/dsc_0118-150x150.jpg" class="attachment-thumbnail" alt="Iceshow" title="Iceshow" /></a>
<a href='http://www.kevinfarrelly.com/wp-content/uploads/2009/06/dsc_0146.jpg' rel='shadowbox[sbalbum-22];player=img;' title='Binnenplaats'><img width="150" height="150" src="http://www.kevinfarrelly.com/wp-content/uploads/2009/06/dsc_0146-150x150.jpg" class="attachment-thumbnail" alt="Binnenplaats" title="Binnenplaats" /></a>
<a href='http://www.kevinfarrelly.com/wp-content/uploads/2009/06/dsc_0182.jpg' rel='shadowbox[sbalbum-22];player=img;' title='Schilderijmoment 1'><img width="150" height="150" src="http://www.kevinfarrelly.com/wp-content/uploads/2009/06/dsc_0182-150x150.jpg" class="attachment-thumbnail" alt="Schilderijmoment 1" title="Schilderijmoment 1" /></a>
<a href='http://www.kevinfarrelly.com/wp-content/uploads/2009/06/dsc_0180.jpg' rel='shadowbox[sbalbum-22];player=img;' title='Gebouw aan het water'><img width="150" height="150" src="http://www.kevinfarrelly.com/wp-content/uploads/2009/06/dsc_0180-150x150.jpg" class="attachment-thumbnail" alt="Gebouw aan het water" title="Gebouw aan het water" /></a>
<a href='http://www.kevinfarrelly.com/wp-content/uploads/2009/06/dsc_0168.jpg' rel='shadowbox[sbalbum-22];player=img;' title='Muurdecoratie'><img width="150" height="150" src="http://www.kevinfarrelly.com/wp-content/uploads/2009/06/dsc_0168-150x150.jpg" class="attachment-thumbnail" alt="Muurdecoratie" title="Muurdecoratie" /></a>
<a href='http://www.kevinfarrelly.com/wp-content/uploads/2009/06/dsc_0169.jpg' rel='shadowbox[sbalbum-22];player=img;' title='Schilderijmoment 2'><img width="150" height="150" src="http://www.kevinfarrelly.com/wp-content/uploads/2009/06/dsc_0169-150x150.jpg" class="attachment-thumbnail" alt="Schilderijmoment 2" title="Schilderijmoment 2" /></a>
<a href='http://www.kevinfarrelly.com/wp-content/uploads/2009/06/dsc_0161.jpg' rel='shadowbox[sbalbum-22];player=img;' title='Paard en wagen'><img width="150" height="150" src="http://www.kevinfarrelly.com/wp-content/uploads/2009/06/dsc_0161-150x150.jpg" class="attachment-thumbnail" alt="Paard en wagen" title="Paard en wagen" /></a>

]]></content:encoded>
			<wfw:commentRss>http://www.kevinfarrelly.com/pictures/brugge-2008/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Mentha x piperita</title>
		<link>http://www.kevinfarrelly.com/pictures/mentha-x-piperita/</link>
		<comments>http://www.kevinfarrelly.com/pictures/mentha-x-piperita/#comments</comments>
		<pubDate>Sun, 31 May 2009 09:39:27 +0000</pubDate>
		<dc:creator>kevin</dc:creator>
				<category><![CDATA[pictures]]></category>
		<category><![CDATA[fotos]]></category>
		<category><![CDATA[mint]]></category>
		<category><![CDATA[munt]]></category>

		<guid isPermaLink="false">http://www.kevinfarrelly.com/?p=12</guid>
		<description><![CDATA[]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.kevinfarrelly.com/wp-content/uploads/2009/05/mentha-x-piperita.jpg" rel="shadowbox[sbpost-12];player=img;"><img class="alignnone size-medium wp-image-11" title="mentha-x-piperita" src="http://www.kevinfarrelly.com/wp-content/uploads/2009/05/mentha-x-piperita-300x200.jpg" alt="mentha-x-piperita" width="500" height="335" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.kevinfarrelly.com/pictures/mentha-x-piperita/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Hello world!</title>
		<link>http://www.kevinfarrelly.com/development/programming/hello-world/</link>
		<comments>http://www.kevinfarrelly.com/development/programming/hello-world/#comments</comments>
		<pubDate>Fri, 29 May 2009 14:30:49 +0000</pubDate>
		<dc:creator>kevin</dc:creator>
				<category><![CDATA[programming]]></category>
		<category><![CDATA[cpp]]></category>
		<category><![CDATA[helloworld]]></category>

		<guid isPermaLink="false">http://www.kevinfarrelly.com/?p=3</guid>
		<description><![CDATA[]]></description>
			<content:encoded><![CDATA[<pre class="brush: cpp; title: ; notranslate">#include &lt;string&gt;
int main(int argc, char** argv)
{
	std::cout &lt;&lt; &quot;Hello world!&quot; &lt;&lt; std::endl;
	return 0;
}</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.kevinfarrelly.com/development/programming/hello-world/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

