<?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>Stunt Programmer &#187; hacking</title>
	<atom:link href="http://stuntprogrammer.com/category/hacking/feed/" rel="self" type="application/rss+xml" />
	<link>http://stuntprogrammer.com</link>
	<description>Unrepentant technical meandering and justified profanity from a stunt programmer</description>
	<lastBuildDate>Sat, 17 Apr 2010 22:47:38 +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>Sometimes its easier to just write the code</title>
		<link>http://stuntprogrammer.com/2009/06/30/sometimes-its-easier-to-just-write-the-code/</link>
		<comments>http://stuntprogrammer.com/2009/06/30/sometimes-its-easier-to-just-write-the-code/#comments</comments>
		<pubDate>Wed, 01 Jul 2009 06:31:41 +0000</pubDate>
		<dc:creator>niall</dc:creator>
				<category><![CDATA[hacking]]></category>

		<guid isPermaLink="false">http://stuntprogrammer.com/?p=42</guid>
		<description><![CDATA[Here&#8217;s a straightforward way to daemonize some primitive app. It supports redirecting stderr and stdout. It close stdin and writes a pid to a pidfile.
Use would look like this:

1
2
3
4
amandla&#62; ./daemonize -e /tmp/stderr -o /tmp/stdout \ 
 -p /tmp/pidfile /opt/bin/crapapp 
amandla&#62; cat /tmp/pidfile
32139

Where 32139 is the PID of crapapp and files in /tmp contain what you&#8217;d [...]]]></description>
		<wfw:commentRss>http://stuntprogrammer.com/2009/06/30/sometimes-its-easier-to-just-write-the-code/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Stacktraces for c++</title>
		<link>http://stuntprogrammer.com/2009/06/30/stacktraces-for-c/</link>
		<comments>http://stuntprogrammer.com/2009/06/30/stacktraces-for-c/#comments</comments>
		<pubDate>Wed, 01 Jul 2009 05:47:31 +0000</pubDate>
		<dc:creator>niall</dc:creator>
				<category><![CDATA[hacking]]></category>
		<category><![CDATA[ohbitchuary]]></category>

		<guid isPermaLink="false">http://stuntprogrammer.com/?p=28</guid>
		<description><![CDATA[I must be getting old. I felt the need for stacktraces in some c++ code I&#8217;m running that ehhh occasionally has trouble dealing with life and decides to blow up rather ignominiously in the depths of some 3rd party library. This is entirely un-portable and frankly, my dear, I don&#8217;t have a ham. Linux and [...]]]></description>
		<wfw:commentRss>http://stuntprogrammer.com/2009/06/30/stacktraces-for-c/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Hello, World!</title>
		<link>http://stuntprogrammer.com/2008/12/21/helloworld/</link>
		<comments>http://stuntprogrammer.com/2008/12/21/helloworld/#comments</comments>
		<pubDate>Mon, 22 Dec 2008 03:28:39 +0000</pubDate>
		<dc:creator>niall</dc:creator>
				<category><![CDATA[hacking]]></category>

		<guid isPermaLink="false">http://stuntprogrammer.com/?p=10</guid>
		<description><![CDATA[
1
2
3
4
5
6
7
8
#include &#60;stdio.h&#62;
#include &#60;stdlib.h&#62;
&#160;
int main&#40;&#41;
&#123;
        &#40;void&#41; printf&#40;&#34;Hello, World!\n&#34;&#41;;
        return EXIT_SUCCESS;
&#125;

]]></description>
		<wfw:commentRss>http://stuntprogrammer.com/2008/12/21/helloworld/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
