<?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>r3dux.org &#187; Coding</title>
	<atom:link href="http://r3dux.org/category/coding/feed/" rel="self" type="application/rss+xml" />
	<link>http://r3dux.org</link>
	<description>A number-pimping side project from the valleys in *NEW* upside-down flavour.</description>
	<lastBuildDate>Fri, 10 Feb 2012 13:01:25 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=</generator>
		<item>
		<title>Avoiding down-casts in C++</title>
		<link>http://r3dux.org/2012/01/avoiding-down-casts-in-c/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=avoiding-down-casts-in-c</link>
		<comments>http://r3dux.org/2012/01/avoiding-down-casts-in-c/#comments</comments>
		<pubDate>Mon, 30 Jan 2012 13:01:32 +0000</pubDate>
		<dc:creator>r3dux</dc:creator>
				<category><![CDATA[Coding]]></category>
		<category><![CDATA[C++]]></category>
		<category><![CDATA[Class]]></category>
		<category><![CDATA[Design]]></category>
		<category><![CDATA[Down-cast]]></category>
		<category><![CDATA[Structure]]></category>
		<category><![CDATA[Virtual Function]]></category>

		<guid isPermaLink="false">http://r3dux.org/?p=6081</guid>
		<description><![CDATA[If you have to down-cast objects from a base class to a derived class then there&#8217;s probably a design flaw in the class structure. It might all work but it&#8217;s going to be a brittle design. // C++ FAQS by Cline &#38; Lowom // FAQ 162 - What is a down-cast? // Answer: Trouble. &#160; [...]]]></description>
		<wfw:commentRss>http://r3dux.org/2012/01/avoiding-down-casts-in-c/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Derived class issues with arrays and casting in C++</title>
		<link>http://r3dux.org/2012/01/derived-class-issues-with-arrays-and-casting-in-c/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=derived-class-issues-with-arrays-and-casting-in-c</link>
		<comments>http://r3dux.org/2012/01/derived-class-issues-with-arrays-and-casting-in-c/#comments</comments>
		<pubDate>Sun, 29 Jan 2012 06:37:22 +0000</pubDate>
		<dc:creator>r3dux</dc:creator>
				<category><![CDATA[Coding]]></category>
		<category><![CDATA[Array]]></category>
		<category><![CDATA[Base]]></category>
		<category><![CDATA[C++]]></category>
		<category><![CDATA[Class]]></category>
		<category><![CDATA[Crash]]></category>
		<category><![CDATA[Derived]]></category>
		<category><![CDATA[Kind-Of]]></category>
		<category><![CDATA[Segfault]]></category>

		<guid isPermaLink="false">http://r3dux.org/?p=6047</guid>
		<description><![CDATA[I&#8217;m working my way through C++ FAQs book by Cline and Lomow, and it&#8217;s excellent. There&#8217;s lots of issues going on with inheritance, arrays and casting that could be a real pain to deal with towards the end of system development, but that you can nip in the bud and make life easier for yourself. [...]]]></description>
		<wfw:commentRss>http://r3dux.org/2012/01/derived-class-issues-with-arrays-and-casting-in-c/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How-to: Overload the C++ function operator()</title>
		<link>http://r3dux.org/2012/01/how-to-overload-the-c-function-operator/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=how-to-overload-the-c-function-operator</link>
		<comments>http://r3dux.org/2012/01/how-to-overload-the-c-function-operator/#comments</comments>
		<pubDate>Fri, 20 Jan 2012 06:25:52 +0000</pubDate>
		<dc:creator>r3dux</dc:creator>
				<category><![CDATA[Coding]]></category>
		<category><![CDATA[C++]]></category>
		<category><![CDATA[Function]]></category>
		<category><![CDATA[Function Operator]]></category>
		<category><![CDATA[Operator]]></category>
		<category><![CDATA[Overloading]]></category>

		<guid isPermaLink="false">http://r3dux.org/?p=5977</guid>
		<description><![CDATA[I&#8217;m working my way through the first few chapters of James Reinders&#8217; Intel Threading Building Blocks book, and its a little bit hard going. As much as I&#8217;m enjoying the mental exercise of thinking in parallel, when it actually comes to the coding they use a lot of function operator (i.e. operator()) overloading, and I&#8217;m [...]]]></description>
		<wfw:commentRss>http://r3dux.org/2012/01/how-to-overload-the-c-function-operator/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to: Convert an OpenCV cv::Mat to an OpenGL texture</title>
		<link>http://r3dux.org/2012/01/how-to-convert-an-opencv-cvmat-to-an-opengl-texture/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=how-to-convert-an-opencv-cvmat-to-an-opengl-texture</link>
		<comments>http://r3dux.org/2012/01/how-to-convert-an-opencv-cvmat-to-an-opengl-texture/#comments</comments>
		<pubDate>Sat, 14 Jan 2012 00:27:14 +0000</pubDate>
		<dc:creator>r3dux</dc:creator>
				<category><![CDATA[Coding]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Capture]]></category>
		<category><![CDATA[Conversion]]></category>
		<category><![CDATA[Convert]]></category>
		<category><![CDATA[cv::Mat]]></category>
		<category><![CDATA[Kinect]]></category>
		<category><![CDATA[NITE]]></category>
		<category><![CDATA[OpenCV]]></category>
		<category><![CDATA[OpenGL]]></category>
		<category><![CDATA[OpenNI]]></category>
		<category><![CDATA[Texture]]></category>

		<guid isPermaLink="false">http://r3dux.org/?p=5946</guid>
		<description><![CDATA[I&#8217;m working on using OpenCV to get Kinect sensor data via OpenNI, and needed a way to get a matrix (cv::Mat) into an OpenGL texture &#8211; so I wrote a function to do just that &#8211; woo! Apologies in advance for the terrible juggling The function used to perform the sensor data to texture conversion [...]]]></description>
		<wfw:commentRss>http://r3dux.org/2012/01/how-to-convert-an-opencv-cvmat-to-an-opengl-texture/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>A simple C++/SDL_net chat server &amp; client rewritten</title>
		<link>http://r3dux.org/2011/11/a-simple-csdl_net-chat-server-client-rewritten/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=a-simple-csdl_net-chat-server-client-rewritten</link>
		<comments>http://r3dux.org/2011/11/a-simple-csdl_net-chat-server-client-rewritten/#comments</comments>
		<pubDate>Fri, 25 Nov 2011 06:28:05 +0000</pubDate>
		<dc:creator>r3dux</dc:creator>
				<category><![CDATA[Coding]]></category>
		<category><![CDATA[C++]]></category>
		<category><![CDATA[Client]]></category>
		<category><![CDATA[networking]]></category>
		<category><![CDATA[SDL_net]]></category>
		<category><![CDATA[Server]]></category>
		<category><![CDATA[Socket]]></category>

		<guid isPermaLink="false">http://r3dux.org/?p=5772</guid>
		<description><![CDATA[Back in January this year I was due to be teaching some diploma level programming (roughly equivalent to the UK A/S level for any Brits), and part of that had to deal with network programming with sockets and stuff, so I duly did my research and put together a simple chat server and client in [...]]]></description>
		<wfw:commentRss>http://r3dux.org/2011/11/a-simple-csdl_net-chat-server-client-rewritten/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>How-To: Get valid integer input in C++ (a stupidly long solution to a stupidly simple problem)</title>
		<link>http://r3dux.org/2011/11/how-to-get-valid-integer-input-in-c-a-stupidly-long-solution-to-a-stupidly-simple-problem/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=how-to-get-valid-integer-input-in-c-a-stupidly-long-solution-to-a-stupidly-simple-problem</link>
		<comments>http://r3dux.org/2011/11/how-to-get-valid-integer-input-in-c-a-stupidly-long-solution-to-a-stupidly-simple-problem/#comments</comments>
		<pubDate>Tue, 15 Nov 2011 02:44:07 +0000</pubDate>
		<dc:creator>r3dux</dc:creator>
				<category><![CDATA[Coding]]></category>
		<category><![CDATA[C++]]></category>
		<category><![CDATA[Input]]></category>
		<category><![CDATA[int]]></category>
		<category><![CDATA[string]]></category>
		<category><![CDATA[stringstream]]></category>
		<category><![CDATA[stupid]]></category>
		<category><![CDATA[user]]></category>
		<category><![CDATA[valid]]></category>
		<category><![CDATA[validate]]></category>

		<guid isPermaLink="false">http://r3dux.org/?p=5707</guid>
		<description><![CDATA[Update: See the comments for a far, far more elegent and robust solution courtesy of the mighty shetboy! One of the assessments I&#8217;ve got my diploma class doing at the moment is to fix all the bugs in some deliberately shonky C++ code. The code just asks for a name (string) and an age in [...]]]></description>
		<wfw:commentRss>http://r3dux.org/2011/11/how-to-get-valid-integer-input-in-c-a-stupidly-long-solution-to-a-stupidly-simple-problem/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>How-To: Fix LMDE Repo Hell</title>
		<link>http://r3dux.org/2011/11/how-to-fix-lmde-repo-hell/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=how-to-fix-lmde-repo-hell</link>
		<comments>http://r3dux.org/2011/11/how-to-fix-lmde-repo-hell/#comments</comments>
		<pubDate>Sat, 12 Nov 2011 02:38:18 +0000</pubDate>
		<dc:creator>r3dux</dc:creator>
				<category><![CDATA[Coding]]></category>
		<category><![CDATA[How-To]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Apt]]></category>
		<category><![CDATA[Debian]]></category>
		<category><![CDATA[LMDE]]></category>
		<category><![CDATA[Repo Hell]]></category>
		<category><![CDATA[Repositories]]></category>
		<category><![CDATA[Synaptic]]></category>
		<category><![CDATA[Tracking]]></category>

		<guid isPermaLink="false">http://r3dux.org/?p=5698</guid>
		<description><![CDATA[LMDE is a great distro, but the repo situation is a bit of a mess, what with all the update packs and tracking testing or sid or romeo or wheezy or&#8230; yeah, it gets confusing. As I wanted to build openFrameworks the other day and it was moaning about libavcodec and libavcodec-dev mismatches I did [...]]]></description>
		<wfw:commentRss>http://r3dux.org/2011/11/how-to-fix-lmde-repo-hell/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Me vs. Software vs. The World, or How to transition from Alpha to Beta</title>
		<link>http://r3dux.org/2011/10/me-vs-software-vs-the-world-or-how-to-transition-from-alpha-to-beta/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=me-vs-software-vs-the-world-or-how-to-transition-from-alpha-to-beta</link>
		<comments>http://r3dux.org/2011/10/me-vs-software-vs-the-world-or-how-to-transition-from-alpha-to-beta/#comments</comments>
		<pubDate>Sat, 15 Oct 2011 14:58:19 +0000</pubDate>
		<dc:creator>r3dux</dc:creator>
				<category><![CDATA[Coding]]></category>
		<category><![CDATA[Life]]></category>
		<category><![CDATA[Bookmakers]]></category>
		<category><![CDATA[Development]]></category>
		<category><![CDATA[Java]]></category>
		<category><![CDATA[Races]]></category>

		<guid isPermaLink="false">http://r3dux.org/?p=5533</guid>
		<description><![CDATA[Things like this are hard to write &#8211; but today has been one of the best days of my life. I&#8217;ve spent the last two weeks writing a receipt system for a bookmakers, so they can rock up to a race meet (horses), place a big board of odds, and take and give a lot [...]]]></description>
		<wfw:commentRss>http://r3dux.org/2011/10/me-vs-software-vs-the-world-or-how-to-transition-from-alpha-to-beta/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>How-To: Initialise arrays of objects in Java</title>
		<link>http://r3dux.org/2011/10/how-to-initialise-arrays-of-objects-in-java/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=how-to-initialise-arrays-of-objects-in-java</link>
		<comments>http://r3dux.org/2011/10/how-to-initialise-arrays-of-objects-in-java/#comments</comments>
		<pubDate>Fri, 07 Oct 2011 01:23:19 +0000</pubDate>
		<dc:creator>r3dux</dc:creator>
				<category><![CDATA[Coding]]></category>
		<category><![CDATA[How-To]]></category>
		<category><![CDATA[Array]]></category>
		<category><![CDATA[Constructor]]></category>
		<category><![CDATA[Exception]]></category>
		<category><![CDATA[Initialise]]></category>
		<category><![CDATA[Java]]></category>

		<guid isPermaLink="false">http://r3dux.org/?p=5510</guid>
		<description><![CDATA[You might think, like I did, that if you create an array of objects in Java then the constructor is automatically called on each object as part of the array creation process. But you&#8217;d be wrong. Creating an array merely creates the object references &#8211; you have to instantiate each &#8220;inner&#8221; object in the array [...]]]></description>
		<wfw:commentRss>http://r3dux.org/2011/10/how-to-initialise-arrays-of-objects-in-java/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>How-To: Get human-friendly dates in Java using the Calendar class</title>
		<link>http://r3dux.org/2011/10/how-to-get-human-friendly-dates-in-java-using-the-calendar-class/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=how-to-get-human-friendly-dates-in-java-using-the-calendar-class</link>
		<comments>http://r3dux.org/2011/10/how-to-get-human-friendly-dates-in-java-using-the-calendar-class/#comments</comments>
		<pubDate>Tue, 04 Oct 2011 08:12:19 +0000</pubDate>
		<dc:creator>r3dux</dc:creator>
				<category><![CDATA[Coding]]></category>
		<category><![CDATA[How-To]]></category>
		<category><![CDATA[Calendar]]></category>
		<category><![CDATA[DATE]]></category>
		<category><![CDATA[DATETIME]]></category>
		<category><![CDATA[Friendly]]></category>
		<category><![CDATA[Human]]></category>
		<category><![CDATA[Java]]></category>
		<category><![CDATA[Readable]]></category>
		<category><![CDATA[TIMESTAMP]]></category>

		<guid isPermaLink="false">http://r3dux.org/?p=5461</guid>
		<description><![CDATA[As part of the groundwork for some upcoming Java shenanigans I&#8217;ve finished off reading/skimming Head First Java &#8211; and it&#8217;s a truly excellent book. I wish it covered Connector/J &#38; MySQL, but I can find that knowledge elsewhere so it&#8217;s not that big of a deal. As part of today&#8217;s prep I ended up writing [...]]]></description>
		<wfw:commentRss>http://r3dux.org/2011/10/how-to-get-human-friendly-dates-in-java-using-the-calendar-class/feed/</wfw:commentRss>
		<slash:comments>13</slash:comments>
		</item>
	</channel>
</rss>

