<?xml version="1.0" encoding="UTF-8"?><!-- generator="WordPress/2.9.2" -->
<rss version="0.92">
<channel>
	<title>Stunt Programmer</title>
	<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>
	<docs>http://backend.userland.com/rss092</docs>
	<language>en</language>
	
	<item>
		<title>Sometimes its easier to just write the code</title>
		<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>
		<link>http://stuntprogrammer.com/2009/06/30/sometimes-its-easier-to-just-write-the-code/</link>
			</item>
	<item>
		<title>Stacktraces for c++</title>
		<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>
		<link>http://stuntprogrammer.com/2009/06/30/stacktraces-for-c/</link>
			</item>
	<item>
		<title>Hello, World!</title>
		<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>
		<link>http://stuntprogrammer.com/2008/12/21/helloworld/</link>
			</item>
</channel>
</rss>
