<?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:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>John Herren's Blog</title>
	<atom:link href="http://jhherren.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://jhherren.wordpress.com</link>
	<description></description>
	<pubDate>Fri, 27 Jun 2008 19:46:14 +0000</pubDate>
	<generator>http://wordpress.org/?v=MU</generator>
	<language>en</language>
			<item>
		<title>Quote from Mark O&#8217;Connor</title>
		<link>http://jhherren.wordpress.com/2008/06/27/quote-from-mark-oconnor/</link>
		<comments>http://jhherren.wordpress.com/2008/06/27/quote-from-mark-oconnor/#comments</comments>
		<pubDate>Fri, 27 Jun 2008 19:46:04 +0000</pubDate>
		<dc:creator>John Herren</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://jhherren.wordpress.com/?p=75</guid>
		<description><![CDATA[&#8220;Knowledge is after all a non-rivalrous good&#8221; - Mark O&#8217;Connor

       ]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><blockquote><p><span style="font-size:small;">&#8220;Knowledge is after all a non-rivalrous good&#8221; - Mark O&#8217;Connor<br />
</span></p></blockquote>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/jhherren.wordpress.com/75/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/jhherren.wordpress.com/75/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/jhherren.wordpress.com/75/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/jhherren.wordpress.com/75/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/jhherren.wordpress.com/75/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/jhherren.wordpress.com/75/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/jhherren.wordpress.com/75/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/jhherren.wordpress.com/75/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/jhherren.wordpress.com/75/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/jhherren.wordpress.com/75/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/jhherren.wordpress.com/75/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/jhherren.wordpress.com/75/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jhherren.wordpress.com&blog=985554&post=75&subd=jhherren&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://jhherren.wordpress.com/2008/06/27/quote-from-mark-oconnor/feed/</wfw:commentRss>
	
		<media:content url="http://a.wordpress.com/avatar/jhherren-128.jpg" medium="image">
			<media:title type="html">jhherren</media:title>
		</media:content>
	</item>
		<item>
		<title>SPFCCSMFT</title>
		<link>http://jhherren.wordpress.com/2008/06/25/spfccsmft/</link>
		<comments>http://jhherren.wordpress.com/2008/06/25/spfccsmft/#comments</comments>
		<pubDate>Wed, 25 Jun 2008 20:37:59 +0000</pubDate>
		<dc:creator>John Herren</dc:creator>
		
		<category><![CDATA[meh-ta]]></category>

		<guid isPermaLink="false">http://jhherren.wordpress.com/?p=73</guid>
		<description><![CDATA[My childhood icons are disappearing. First Mr. Rogers, then Mr. Wizard, and now the Hippy Dippy Weatherman with all my hippy dippy weather, man.
Aunt Dee-Dee let me see Carlin on Campus at way too young an age. I think George Carlin&#8217;s objective way of looking at all the stupid things we do as a collective [...]]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>My childhood icons are disappearing. First Mr. Rogers, then <a href="http://jhherren.wordpress.com/2007/06/12/rip-mr-wizard/">Mr. Wizard</a>, and now the Hippy Dippy Weatherman with all my hippy dippy weather, man.</p>
<p>Aunt Dee-Dee let me see Carlin on Campus at way too young an age. I think <a href="http://en.wikipedia.org/wiki/George_Carlin">George Carlin&#8217;s</a> objective way of looking at all the stupid things we do as a collective really shaped my cynicism as a kid.</p>
<p>But now he&#8217;s dead, expired, perished, met his death, meet his end, passed away, been taken, yielded his breath, resigned his being, ended his days, ended his earthly career, breated his last, ceased to be, departed this life, is no more, gone off, dropped off, popped off, lost his life, sunk into the grave, dropped dead,  given up the ghost, paid the debt to nature,  shuffled off this mortal coil, taken his last sleep, gone the way of all flesh, handed in his chips, joined the greater number, crossed the Stygian ferry, crossed the bar, gone to Davy Jones&#8217;s locker, gone to the wall, received his death warrant, made his will, stepped out, gone out like a candle, come to an untimely end, caught his death, gone off the hook, kicked the bucket, bought the farm, turned up his toes, pushin&#8217; up daisies,</p>
<p>and is, of course, stuck on the roof.</p>
<p>Thanks, George, for being the crotchety bastard we all needed to keep us in check.</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/jhherren.wordpress.com/73/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/jhherren.wordpress.com/73/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/jhherren.wordpress.com/73/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/jhherren.wordpress.com/73/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/jhherren.wordpress.com/73/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/jhherren.wordpress.com/73/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/jhherren.wordpress.com/73/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/jhherren.wordpress.com/73/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/jhherren.wordpress.com/73/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/jhherren.wordpress.com/73/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/jhherren.wordpress.com/73/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/jhherren.wordpress.com/73/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jhherren.wordpress.com&blog=985554&post=73&subd=jhherren&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://jhherren.wordpress.com/2008/06/25/spfccsmft/feed/</wfw:commentRss>
	
		<media:content url="http://a.wordpress.com/avatar/jhherren-128.jpg" medium="image">
			<media:title type="html">jhherren</media:title>
		</media:content>
	</item>
		<item>
		<title>Top post on WordPress.com</title>
		<link>http://jhherren.wordpress.com/2008/04/04/top-post-on-wordpresscom/</link>
		<comments>http://jhherren.wordpress.com/2008/04/04/top-post-on-wordpresscom/#comments</comments>
		<pubDate>Fri, 04 Apr 2008 20:33:02 +0000</pubDate>
		<dc:creator>John Herren</dc:creator>
		
		<category><![CDATA[hahahaha]]></category>

		<guid isPermaLink="false">http://jhherren.wordpress.com/?p=72</guid>
		<description><![CDATA[You gotta be kiddin&#8217; me.

       ]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>You gotta be kiddin&#8217; me.</p>
<p><a href="http://jhherren.files.wordpress.com/2008/04/wphome.jpg" title="wphome.jpg"><img src="http://jhherren.files.wordpress.com/2008/04/wphome.thumbnail.jpg" alt="wphome.jpg" /></a></p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/jhherren.wordpress.com/72/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/jhherren.wordpress.com/72/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/jhherren.wordpress.com/72/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/jhherren.wordpress.com/72/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/jhherren.wordpress.com/72/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/jhherren.wordpress.com/72/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/jhherren.wordpress.com/72/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/jhherren.wordpress.com/72/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/jhherren.wordpress.com/72/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/jhherren.wordpress.com/72/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/jhherren.wordpress.com/72/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/jhherren.wordpress.com/72/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jhherren.wordpress.com&blog=985554&post=72&subd=jhherren&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://jhherren.wordpress.com/2008/04/04/top-post-on-wordpresscom/feed/</wfw:commentRss>
	
		<media:content url="http://a.wordpress.com/avatar/jhherren-128.jpg" medium="image">
			<media:title type="html">jhherren</media:title>
		</media:content>

		<media:content url="http://jhherren.files.wordpress.com/2008/04/wphome.thumbnail.jpg" medium="image">
			<media:title type="html">wphome.jpg</media:title>
		</media:content>
	</item>
		<item>
		<title>Yahoo Pipes adds support for serialized PHP</title>
		<link>http://jhherren.wordpress.com/2008/04/03/yahoo-pipes-adds-support-for-serialized-php/</link>
		<comments>http://jhherren.wordpress.com/2008/04/03/yahoo-pipes-adds-support-for-serialized-php/#comments</comments>
		<pubDate>Thu, 03 Apr 2008 19:59:19 +0000</pubDate>
		<dc:creator>John Herren</dc:creator>
		
		<category><![CDATA[PHP]]></category>

		<category><![CDATA[mashups]]></category>

		<guid isPermaLink="false">http://jhherren.wordpress.com/?p=69</guid>
		<description><![CDATA[A few days ago I sent an email to Chad Dickerson, who I&#8217;ve met at Yahoo! and had a chance to hang out with at Mashup Camp in Dublin.
Chad,
From what I can tell, if you create a Pipe and add additional fields (Shortcuts, Term Extraction), the only way to get to them in an API-like [...]]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>A few days ago I sent an email to <a href="http://www.chaddickerson.com/">Chad Dickerson</a>, who I&#8217;ve met at Yahoo! and had a chance to hang out with at <a href="http://flickr.com/photos/jhherren/sets/72157603033935541/">Mashup Camp in Dublin</a>.</p>
<blockquote><p>Chad,</p>
<p>From what I can tell, if you create a Pipe and add additional fields (Shortcuts, Term Extraction), the only way to get to them in an API-like way is to use the JSON renderer. The RSS renderer removes those extra fields to follow the RSS spec. PHP supports JSON decoding, but you need a PEAR library or a quite recent version of PHP. If Yahoo supported serialized php with Pipes like you do with the other common API&#8217;s, it would be a lot easier for folks on shared hosting to work with Pipe data on the server side. I imagine with the new badge stuff you released that there&#8217;s a push to keep things client side, but there&#8217;s a huge advantage to rendering server-side to keep things nice and spiderable.</p>
<p>Short Version:</p>
<p>Expose Pipe results as serialized PHP. Pretty please.</p></blockquote>
<p>Chad sends this along to the Pipes team, and <b>less than three days later: </b><br />
<a href="http://blog.pipes.yahoo.com/2008/04/02/new-yahoo-pipes-php-serialized-output-renderer">Pipes Blog » Blog Archive » New Yahoo Pipes PHP serialized output renderer</a></p>
<p>kick.<br />
ass.</p>
<p><a href="http://www.flickr.com/photos/jhherren/2027359127/" title="John Herren and Chad Dickerson by jhherren, on Flickr"><img src="http://farm3.static.flickr.com/2352/2027359127_4788730b27_m.jpg" alt="John Herren and Chad Dickerson" align="left" height="180" hspace="4" width="240" /></a>Two points to be made: first, I&#8217;m damn impressed that one of the largest sites on the &#8216;net would roll a feature request from an outside developer in less than three days. Second, developers should never resist the urge to ask for help from an API provider. If a company is taking the time to support an API, chances are very good that they will listen to developers and react. I can personally say I&#8217;ve gotten immediate results from Technorati, <a href="http://www.dapper.net/">Dapper</a>, and now Yahoo!. So blow off the idea that a big website would never listen to little ol&#8217; developer you. With that negative attitude it&#8217;s guaranteed you&#8217;ll never get it. <a href="http://thesecret.tv">Ask, believe, receive,</a> right?<a href="http://thesecret.tv"> </a></p>
<p>So props to Chad, Jonathan Trevor, Paul Donnelly, <font size="4"><font face="Calibri, Verdana, Helvetica, Arial"><span style="font-size:11pt;"></span></font></font> and the rest of the Pipes team!</p>
<p><b>The Details </b></p>
<p>I&#8217;m a big fan of <a href="http://pipes.yahoo.com/pipes/" title="Yahoo Pipes">Yahoo Pipes</a>. It&#8217;s an incredibly useful tool for putting together quick aggregators and filters for mashups. To integrate a Pipe on a webpage, you have a few options. You can go the cut and paste route and use a <a href="http://pipes.yahoo.com/pipes/badgedocs">Badge</a>, which works client side, or you roll your own code to integrate a pipe.</p>
<p><img src="http://jhherren.files.wordpress.com/2008/04/pipeout.jpg" alt="Put this in your pipe.." align="left" /></p>
<p>After you run a Pipe, you&#8217;re given a list of output formats. Copy the link location of these to get the URL of the output and tweak the parameters.</p>
<p>Until yesterday, the output formats useful for mashups were JSON and RSS. JSON is great for client side mashups, but as you know, search engines will not index client side content, so you lose any SEO love you might get. RSS is easy to consume server side, but Pipes will normalize the output to conform to the RSS spec. That means if you&#8217;re using term extraction or Shortcuts or any other meta data to your pipe, you&#8217;ll lose it with RSS ouput unless you put that data into one of the RSS fields (title, description, etc.). So that leaves us with hacking JSON on the server side. The JSON output format retains all that sweet metadata. In PHP, the best options are a <a href="http://pear.php.net/pepr/pepr-proposal-show.php?id=198">JSON PEAR module</a> or, if you&#8217;re rocking 5.2 and above, you have the handy <a href="http://www.php.net/json_decode" title="json_decode() function for PHP">json_decode()</a> function.</p>
<p>Now that Yahoo supports serialized PHP, using Pipe output just got a lot easier. I made a Pipe to add <a href="http://pipes.yahoo.com/pipes/pipe.info?_id=Zli1l6UB3RG_l7ZvX0sBXw">Term Extraction info from any RSS feed</a>. Basically what we&#8217;re doing is automatically tagging all the posts in the feed and to retrieve the tags in your own script, all it takes is:</p>
<p><code></code></p>
<p>&lt;?</p>
<p>$pipeURL = &#8216;<a href="http://pipes.yahoo.com/pipes/pipe.run?_id=Zli1l6UB3RG_l7ZvX0sBXw&amp;_render=php&amp;rssurl=" class="superLinkifier">http://pipes.yahoo.com/pipes/pipe.run?_id=Zli1l6UB3RG_l7ZvX0sBXw&amp;_render=php&amp;rssurl=</a>&#8216;;<br />
$feedURL = &#8216;<a href="http://rss.news.yahoo.com/rss/topstories" class="superLinkifier">http://rss.news.yahoo.com/rss/topstories</a>&#8216;;</p>
<p>$tags = array();<br />
$response = unserialize(file_get_contents($pipeURL.rawurlencode($feedURL)));<br />
foreach ($response['value']['items'] as $item) {<br />
foreach ($item['tags'] as $itemTags){<br />
$tags[] = $itemTags['content'];<br />
}<br />
}<br />
var_dump($tags);</p>
<p>At this point $tags is and array of all of the terms from the feed. Now what could be done <a href="http://tagcloud.com" title="TagCloud">with that data</a>?</p>
<p><b>Serialized PHP or JSON?</b></p>
<p>If you have json_decode() available in your PHP install, is there any advantage to using JSON over serialized PHP? Let&#8217;s find out.</p>
<p><b>File Size</b></p>
<p>Saving the output directly to disk gave me</p>
<p>JSON - 51192 bytes<br />
Serialized PHP - 56885 bytes</p>
<p>Because of syntax and PHP&#8217;s type specification, serialized PHP is about 11% larger than JSON. This ratio will increase as the number of elements in your output increases.</p>
<p><b>Decoding Speed</b></p>
<p>How long does it take to slurp these formats into PHP variables? My tests decode each 100 times.</p>
<p>JSON<br />
real    0m0.269s<br />
user    0m0.264s<br />
sys     0m0.004s</p>
<p>Serialized PHP<br />
real    0m0.088s<br />
user    0m0.088s<br />
sys     0m0.000s</p>
<p>It&#8217;s clear that unwinding serialized PHP is faster than JSON, so it&#8217;s a better choice performance-wise despite being slightly bigger over the wire.</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/jhherren.wordpress.com/69/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/jhherren.wordpress.com/69/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/jhherren.wordpress.com/69/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/jhherren.wordpress.com/69/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/jhherren.wordpress.com/69/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/jhherren.wordpress.com/69/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/jhherren.wordpress.com/69/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/jhherren.wordpress.com/69/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/jhherren.wordpress.com/69/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/jhherren.wordpress.com/69/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/jhherren.wordpress.com/69/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/jhherren.wordpress.com/69/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jhherren.wordpress.com&blog=985554&post=69&subd=jhherren&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://jhherren.wordpress.com/2008/04/03/yahoo-pipes-adds-support-for-serialized-php/feed/</wfw:commentRss>
	
		<media:content url="http://a.wordpress.com/avatar/jhherren-128.jpg" medium="image">
			<media:title type="html">jhherren</media:title>
		</media:content>

		<media:content url="http://farm3.static.flickr.com/2352/2027359127_4788730b27_m.jpg" medium="image">
			<media:title type="html">John Herren and Chad Dickerson</media:title>
		</media:content>

		<media:content url="http://jhherren.files.wordpress.com/2008/04/pipeout.jpg" medium="image">
			<media:title type="html">Put this in your pipe..</media:title>
		</media:content>
	</item>
		<item>
		<title>MashupCamp Venice 2009</title>
		<link>http://jhherren.wordpress.com/2008/02/05/mashupcamp-venice-2009/</link>
		<comments>http://jhherren.wordpress.com/2008/02/05/mashupcamp-venice-2009/#comments</comments>
		<pubDate>Tue, 05 Feb 2008 20:45:01 +0000</pubDate>
		<dc:creator>John Herren</dc:creator>
		
		<category><![CDATA[mashups]]></category>

		<guid isPermaLink="false">http://jhherren.wordpress.com/2008/02/05/mashupcamp-venice-2009/</guid>
		<description><![CDATA[VeniceMashup - MashupCamp
Hot off the presses, and just a &#8220;concept,&#8221; but still&#8230;
       ]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p><a href="http://wiki.mashupcamp.com/index.php/VeniceMashup">VeniceMashup - MashupCamp</a></p>
<p>Hot off the presses, and just a &#8220;concept,&#8221; but still&#8230;</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/jhherren.wordpress.com/68/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/jhherren.wordpress.com/68/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/jhherren.wordpress.com/68/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/jhherren.wordpress.com/68/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/jhherren.wordpress.com/68/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/jhherren.wordpress.com/68/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/jhherren.wordpress.com/68/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/jhherren.wordpress.com/68/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/jhherren.wordpress.com/68/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/jhherren.wordpress.com/68/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/jhherren.wordpress.com/68/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/jhherren.wordpress.com/68/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jhherren.wordpress.com&blog=985554&post=68&subd=jhherren&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://jhherren.wordpress.com/2008/02/05/mashupcamp-venice-2009/feed/</wfw:commentRss>
	
		<media:content url="http://a.wordpress.com/avatar/jhherren-128.jpg" medium="image">
			<media:title type="html">jhherren</media:title>
		</media:content>
	</item>
		<item>
		<title>Halloween == Christmas</title>
		<link>http://jhherren.wordpress.com/2008/02/04/halloween-christmas/</link>
		<comments>http://jhherren.wordpress.com/2008/02/04/halloween-christmas/#comments</comments>
		<pubDate>Mon, 04 Feb 2008 08:18:08 +0000</pubDate>
		<dc:creator>John Herren</dc:creator>
		
		<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://jhherren.wordpress.com/?p=67</guid>
		<description><![CDATA[Because
Oct 31 == Dec 25
It&#8217;s an octal joke. John Lim over at PHP Everywhere had to chase a bug report because in PHP tossing a zero in front makes your number octal, the way 0x makes you hexadecimal.
Octalpussy &#124; PHP Everywhere
Octal notation can be useful for things like filemasks, but I can&#8217;t think of many [...]]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Because</p>
<p>Oct 31 == Dec 25</p>
<p>It&#8217;s an octal joke. John Lim over at PHP Everywhere had to chase a bug report because in PHP tossing a zero in front makes your number octal, the way 0x makes you hexadecimal.</p>
<p><a href="http://phplens.com/phpeverywhere/?q=node/view/250">Octalpussy | PHP Everywhere</a></p>
<p>Octal notation can be useful for things like filemasks, but I can&#8217;t think of many other practical (non-bit fiddling) uses, so school me on it please.</p>
<p>A common PHP mistake is forgetting the <a href="http://us.php.net/chmod" title="flip mo'de">chmod() function</a> wants an octal number as the file mode. I wrote about this and some other fun screwups when I worked for Zend in an article called <a href="http://devzone.zend.com/node/view/id/168">PHP Gotchas</a>, which could really use a part two..</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/jhherren.wordpress.com/67/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/jhherren.wordpress.com/67/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/jhherren.wordpress.com/67/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/jhherren.wordpress.com/67/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/jhherren.wordpress.com/67/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/jhherren.wordpress.com/67/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/jhherren.wordpress.com/67/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/jhherren.wordpress.com/67/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/jhherren.wordpress.com/67/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/jhherren.wordpress.com/67/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/jhherren.wordpress.com/67/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/jhherren.wordpress.com/67/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jhherren.wordpress.com&blog=985554&post=67&subd=jhherren&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://jhherren.wordpress.com/2008/02/04/halloween-christmas/feed/</wfw:commentRss>
	
		<media:content url="http://a.wordpress.com/avatar/jhherren-128.jpg" medium="image">
			<media:title type="html">jhherren</media:title>
		</media:content>
	</item>
		<item>
		<title>2008 and web development is still in the toilet</title>
		<link>http://jhherren.wordpress.com/2008/02/03/2008-and-web-development-is-still-in-the-toilet/</link>
		<comments>http://jhherren.wordpress.com/2008/02/03/2008-and-web-development-is-still-in-the-toilet/#comments</comments>
		<pubDate>Sun, 03 Feb 2008 08:45:16 +0000</pubDate>
		<dc:creator>John Herren</dc:creator>
		
		<category><![CDATA[Geeking Out]]></category>

		<guid isPermaLink="false">http://jhherren.wordpress.com/?p=65</guid>
		<description><![CDATA[For some reason, I find myself reading rss feeds at 2:30 a.m.
For some other reason, Jeremy decides to blog about his new toilet.
Oddly enough, I want to know all about this new bathroom fixture, so I click the link to Home Depot.
And maybe just because it&#8217;s there, I click the &#8220;product reviews&#8221; tab to see [...]]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>For some reason, I find myself reading rss feeds at 2:30 a.m.</p>
<p>For some other reason, <a href="http://jeremy.zawodny.com/linkblog/">Jeremy decides to blog about his new toilet.</a></p>
<p>Oddly enough, I want to know all about this new bathroom fixture, so I click the link to <a href="http://www.homedepot.com/webapp/wcs/stores/servlet/ProductDisplay?storeId=10051&amp;langId=-1&amp;catalogId=10053&amp;productId=100021049&amp;N=10000003+503484+10401010+2249">Home Depot.</a></p>
<p>And maybe just because it&#8217;s there, I click the &#8220;product reviews&#8221; tab to see what&#8217;s so fantastic about this particular commode.</p>
<p>And I see this:</p>
<p><img src="http://jhherren.files.wordpress.com/2008/02/homedepot.jpg" alt="Home Depot" /></p>
<p>It&#8217;s 2008 and we still have problems deploying content management systems that escape text incorrectly.</p>
<p>I thought this might be because of <a href="http://www.php.net/magic_quotes">PHP magic quotes</a>, but I think this is a jsp site.</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/jhherren.wordpress.com/65/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/jhherren.wordpress.com/65/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/jhherren.wordpress.com/65/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/jhherren.wordpress.com/65/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/jhherren.wordpress.com/65/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/jhherren.wordpress.com/65/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/jhherren.wordpress.com/65/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/jhherren.wordpress.com/65/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/jhherren.wordpress.com/65/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/jhherren.wordpress.com/65/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/jhherren.wordpress.com/65/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/jhherren.wordpress.com/65/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jhherren.wordpress.com&blog=985554&post=65&subd=jhherren&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://jhherren.wordpress.com/2008/02/03/2008-and-web-development-is-still-in-the-toilet/feed/</wfw:commentRss>
	
		<media:content url="http://a.wordpress.com/avatar/jhherren-128.jpg" medium="image">
			<media:title type="html">jhherren</media:title>
		</media:content>

		<media:content url="http://jhherren.files.wordpress.com/2008/02/homedepot.jpg" medium="image">
			<media:title type="html">Home Depot</media:title>
		</media:content>
	</item>
		<item>
		<title>Mashup the Mefi</title>
		<link>http://jhherren.wordpress.com/2008/01/22/mashup-the-mefi/</link>
		<comments>http://jhherren.wordpress.com/2008/01/22/mashup-the-mefi/#comments</comments>
		<pubDate>Tue, 22 Jan 2008 20:26:49 +0000</pubDate>
		<dc:creator>John Herren</dc:creator>
		
		<category><![CDATA[mashups]]></category>

		<guid isPermaLink="false">http://jhherren.wordpress.com/2008/01/22/mashup-the-mefi/</guid>
		<description><![CDATA[Put this on your list of data to be mashed. The oh-so popular group blog Metafilter has released a data dump of site content. Andy Baio, as usual, is already off to a good start.
Metafilter Infodump
       ]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Put this on your list of <a href="http://del.icio.us/reddhook/content">data to be mashed.</a> The oh-so popular group blog <a href="http://www.metafilter.com/">Metafilter</a> has released a data dump of site content. <a href="http://waxy.org/mefi/">Andy Baio, as usual, is already off to a good start.</a></p>
<p><a href="http://stuff.metafilter.com/infodump/">Metafilter Infodump</a></p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/jhherren.wordpress.com/64/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/jhherren.wordpress.com/64/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/jhherren.wordpress.com/64/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/jhherren.wordpress.com/64/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/jhherren.wordpress.com/64/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/jhherren.wordpress.com/64/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/jhherren.wordpress.com/64/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/jhherren.wordpress.com/64/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/jhherren.wordpress.com/64/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/jhherren.wordpress.com/64/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/jhherren.wordpress.com/64/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/jhherren.wordpress.com/64/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jhherren.wordpress.com&blog=985554&post=64&subd=jhherren&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://jhherren.wordpress.com/2008/01/22/mashup-the-mefi/feed/</wfw:commentRss>
	
		<media:content url="http://a.wordpress.com/avatar/jhherren-128.jpg" medium="image">
			<media:title type="html">jhherren</media:title>
		</media:content>
	</item>
		<item>
		<title>Stop comparing PHP to Rails</title>
		<link>http://jhherren.wordpress.com/2008/01/22/stop-comparing-php-to-rails/</link>
		<comments>http://jhherren.wordpress.com/2008/01/22/stop-comparing-php-to-rails/#comments</comments>
		<pubDate>Tue, 22 Jan 2008 07:14:14 +0000</pubDate>
		<dc:creator>John Herren</dc:creator>
		
		<category><![CDATA[Geeking Out]]></category>

		<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://jhherren.wordpress.com/2008/01/22/stop-comparing-php-to-rails/</guid>
		<description><![CDATA[PHP is a language. Rails is a Ruby framework.  Comparing PHP to Rails is like comparing Perl to Django, or Haskell to Seaside, and that makes no sense. Two things that DO make sense:

Using PHP for web development. It deploys and scales great.
Using Ruby on Rails for web development. The framework provides an excellent set [...]]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>PHP is a language. Rails is a Ruby framework.  Comparing PHP to Rails is like comparing Perl to Django, or Haskell to Seaside, and that makes no sense. Two things that DO make sense:</p>
<ul>
<li>Using PHP for web development. It deploys and scales great.</li>
<li>Using Ruby on Rails for web development. The framework provides an excellent set of conventions for rapid development.</li>
</ul>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/jhherren.wordpress.com/63/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/jhherren.wordpress.com/63/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/jhherren.wordpress.com/63/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/jhherren.wordpress.com/63/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/jhherren.wordpress.com/63/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/jhherren.wordpress.com/63/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/jhherren.wordpress.com/63/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/jhherren.wordpress.com/63/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/jhherren.wordpress.com/63/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/jhherren.wordpress.com/63/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/jhherren.wordpress.com/63/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/jhherren.wordpress.com/63/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jhherren.wordpress.com&blog=985554&post=63&subd=jhherren&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://jhherren.wordpress.com/2008/01/22/stop-comparing-php-to-rails/feed/</wfw:commentRss>
	
		<media:content url="http://a.wordpress.com/avatar/jhherren-128.jpg" medium="image">
			<media:title type="html">jhherren</media:title>
		</media:content>
	</item>
		<item>
		<title>Truncation Zen</title>
		<link>http://jhherren.wordpress.com/2008/01/22/truncation-zen/</link>
		<comments>http://jhherren.wordpress.com/2008/01/22/truncation-zen/#comments</comments>
		<pubDate>Tue, 22 Jan 2008 06:51:35 +0000</pubDate>
		<dc:creator>John Herren</dc:creator>
		
		<category><![CDATA[Geeking Out]]></category>

		<guid isPermaLink="false">http://jhherren.wordpress.com/2008/01/22/truncation-zen/</guid>
		<description><![CDATA[I like Stephen O&#8217;Grady&#8217;s style of meta-blogging del.icio.us links. It&#8217;s handy to keep up with what a brilliant, open-source analyst thinks is important. In this post, somewhere along the line one of his descriptions got truncated, but with delightful results:
Why I care about RedMonk at Pensieri di un lunatico minore
“I am the sworn enemy of [...]]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>I like <a href="http://redmonk.com/sogrady/">Stephen O&#8217;Grady&#8217;s</a> style of meta-blogging del.icio.us links. It&#8217;s handy to keep up with what a brilliant, open-source analyst thinks is important. In <a href="http://redmonk.com/sogrady/2008/01/21/links-for-2008-01-22/">this post</a>, somewhere along the line one of his descriptions got truncated, but with delightful results:</p>
<div style="margin-left:40px;" class="delicious-link"><a href="http://blog.amber.org/2008/01/21/why-i-care-about-redmonk/">Why I care about RedMonk at Pensieri di un lunatico minore</a></div>
<div style="margin-left:40px;" class="delicious-extended">“I am the sworn enemy of most analysts, who do little more than tell you…what happened 5 years ago…or…exactly what won’t happen in the future…Not so with RedMonk.” - it’s comments like this, from real, bright practitioners, that make this job fu</div>
<div class="delicious-extended"></div>
<div class="delicious-extended">Job fu. I like that.</div>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/jhherren.wordpress.com/62/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/jhherren.wordpress.com/62/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/jhherren.wordpress.com/62/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/jhherren.wordpress.com/62/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/jhherren.wordpress.com/62/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/jhherren.wordpress.com/62/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/jhherren.wordpress.com/62/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/jhherren.wordpress.com/62/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/jhherren.wordpress.com/62/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/jhherren.wordpress.com/62/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/jhherren.wordpress.com/62/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/jhherren.wordpress.com/62/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jhherren.wordpress.com&blog=985554&post=62&subd=jhherren&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://jhherren.wordpress.com/2008/01/22/truncation-zen/feed/</wfw:commentRss>
	
		<media:content url="http://a.wordpress.com/avatar/jhherren-128.jpg" medium="image">
			<media:title type="html">jhherren</media:title>
		</media:content>
	</item>
	</channel>
</rss>