<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xml:base="http://www.hackwater.com" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
 <title>code samples</title>
 <link>http://www.hackwater.com/taxonomy/term/9</link>
 <description>The taxonomy view with a depth of 0.</description>
 <language>en</language>
<item>
 <title>Pythonic, but not prophetic</title>
 <link>http://www.hackwater.com/node/79</link>
 <description>&lt;p&gt;I was asked to present sample Python code recently. I figured since it was close to hand, digitally speaking, I might as well put it here as part of my code samples. The code below stems from my attempts to keep my dynamic IP address updated with my DNS provider (&lt;a href=&quot;http://www.zoneedit.com/&quot;&gt;Zoneedit&lt;/a&gt;, if you&#039;re keeping score). That can be tricky sometimes; I&#039;ve had instances when the Zoneedit DNS servers seem completely unresponsive, so no matter how clever the script, it can&#039;t really update anything. This is fairly rare, but extremely frustrating when it occurs.&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;http://www.hackwater.com/node/79&quot;&gt;read more&lt;/a&gt;&lt;/p&gt;</description>
 <comments>http://www.hackwater.com/node/79#comments</comments>
 <category domain="http://www.hackwater.com/taxonomy/term/9">code samples</category>
 <category domain="http://www.hackwater.com/taxonomy/term/2">development</category>
 <category domain="http://www.hackwater.com/taxonomy/term/5">wordpress</category>
 <pubDate>Sat, 09 Sep 2006 15:07:42 +0000</pubDate>
 <dc:creator>jose</dc:creator>
 <guid isPermaLink="false">79 at http://www.hackwater.com</guid>
</item>
<item>
 <title>Addendum to dynamic plugins</title>
 <link>http://www.hackwater.com/node/76</link>
 <description>&lt;p&gt;I ran my page through the &lt;a href=&quot;http://validator.w3.org&quot;&gt;W3C&#039;s validator&lt;/a&gt; and discovered that it was not XHTML 1.0 strict. It had several errors, and tracking these down led me to discover that my hack to get Democracy to play nicely with WP-Cache still had a bug: I was getting a MySQL error in the code for the poll form, where the form action would appear. This didn&#039;t interfere with the page rendering (as far as I can tell), so it was invisible until I looked at the source or, better yet, had a validator do it.&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;http://www.hackwater.com/node/76&quot;&gt;read more&lt;/a&gt;&lt;/p&gt;</description>
 <comments>http://www.hackwater.com/node/76#comments</comments>
 <category domain="http://www.hackwater.com/taxonomy/term/9">code samples</category>
 <category domain="http://www.hackwater.com/taxonomy/term/2">development</category>
 <category domain="http://www.hackwater.com/taxonomy/term/8">plugins</category>
 <category domain="http://www.hackwater.com/taxonomy/term/4">testing</category>
 <category domain="http://www.hackwater.com/taxonomy/term/5">wordpress</category>
 <pubDate>Tue, 08 Aug 2006 09:53:00 +0000</pubDate>
 <dc:creator>jose</dc:creator>
 <guid isPermaLink="false">76 at http://www.hackwater.com</guid>
</item>
<item>
 <title>Dynamic Plugins and Caching</title>
 <link>http://www.hackwater.com/node/75</link>
 <description>&lt;p&gt;How I got the Democracy poll plugin to work with WP-Cache&lt;/p&gt;
&lt;p&gt;WP-Cache is a useful plugin. Although I&#039;ve never been Slashdotted, other people who have and are using Wordpress swear by it. It does have a minor flaw. I have a poll plugin, Democracy, that is obviously supposed to be dynamic. It&#039;s rather lame to go to a page, vote on a poll, and not see any results because the page is cached. It turns out that WP-Cache has a mechanism for getting around this, allowing dynamic plugins on static cached pages.&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;http://www.hackwater.com/node/75&quot;&gt;read more&lt;/a&gt;&lt;/p&gt;</description>
 <comments>http://www.hackwater.com/node/75#comments</comments>
 <category domain="http://www.hackwater.com/taxonomy/term/9">code samples</category>
 <category domain="http://www.hackwater.com/taxonomy/term/2">development</category>
 <category domain="http://www.hackwater.com/taxonomy/term/8">plugins</category>
 <category domain="http://www.hackwater.com/taxonomy/term/4">testing</category>
 <category domain="http://www.hackwater.com/taxonomy/term/5">wordpress</category>
 <pubDate>Thu, 03 Aug 2006 04:10:52 +0000</pubDate>
 <dc:creator>jose</dc:creator>
 <guid isPermaLink="false">75 at http://www.hackwater.com</guid>
</item>
<item>
 <title>RPG Navigation</title>
 <link>http://www.hackwater.com/node/93</link>
 <description>&lt;p&gt;This is an early site navigation I wrote in PHP and HTML for one of my sites. It is NOT the navigation that I currently use on these pages, although it is the basis for the &lt;a href=&quot;http://dev.hackwater.net&quot;&gt;dev.hackwater.net&lt;/a&gt; navigation. I suppose it would be the evolutionary parent of the later design. It isn&#039;t particularly dynamic, other than the fact that each individual page in the site has exactly the same navigation, and the server takes care of hiding and displaying subsections.&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;http://www.hackwater.com/node/93&quot;&gt;read more&lt;/a&gt;&lt;/p&gt;</description>
 <category domain="http://www.hackwater.com/taxonomy/term/31">articles</category>
 <category domain="http://www.hackwater.com/taxonomy/term/9">code samples</category>
 <category domain="http://www.hackwater.com/taxonomy/term/2">development</category>
 <pubDate>Tue, 17 Jan 2006 03:36:11 +0000</pubDate>
 <dc:creator>jose</dc:creator>
 <guid isPermaLink="false">93 at http://www.hackwater.com</guid>
</item>
</channel>
</rss>
