<?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"
	>

<channel>
	<title>bhiv.com</title>
	<atom:link href="http://bhiv.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://bhiv.com</link>
	<description></description>
	<pubDate>Tue, 15 Jul 2008 22:14:30 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.5.1</generator>
	<language>en</language>
			<item>
		<title>Go PHP5</title>
		<link>http://bhiv.com/go-php5/</link>
		<comments>http://bhiv.com/go-php5/#comments</comments>
		<pubDate>Sat, 30 Jun 2007 14:57:12 +0000</pubDate>
		<dc:creator>Brent</dc:creator>
		
		<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://bhiv.com/go-php5/</guid>
		<description><![CDATA[Here is an interesting problem, over seven years ago PHP 4 was released. It was a vast improvement over 3 and the world adopted it quickly. When PHP 5 was released the move was much slower and is still the minority on web hosts.
I have moved all of my personal PHP projects to 5 a [...]]]></description>
			<content:encoded><![CDATA[<p>Here is an interesting problem, over seven years ago PHP 4 was released. It was a vast improvement over 3 and the world adopted it quickly. When PHP 5 was released the move was much slower and is still the minority on web hosts.</p>
<p>I have moved all of my personal PHP projects to 5 a while ago but professionally I am stuck maintaining an application in 4. I am constantly disappointed when I come up with a solution to only realize that the function I want to use is only in 5. (We are going to be moving to 5 later this year).</p>
<p>The crux of the problem is in how many web hosts use Plesk/cPanel/etc and they haven&#8217;t moved their default settings to 5.</p>
<p>Now there is a movement for OSS developers to move their projects to only support 5 called &#8220;Go PHP5&#8243;. <a href="http://lists.drupal.org/archives/development/2007-06/msg00171.html">Read the thread here</a></p>
<p><b>Update:</b> and now the website it up <a href="http://gophp5.org/">GoPHP5!</a> I don&#8217;t see wordpress on the list, come on <a href="http://photomatt.net/">Matt</a>!</p>
]]></content:encoded>
			<wfw:commentRss>http://bhiv.com/go-php5/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Writing Firefox Extensions</title>
		<link>http://bhiv.com/writting-firefox-extensions/</link>
		<comments>http://bhiv.com/writting-firefox-extensions/#comments</comments>
		<pubDate>Thu, 31 May 2007 15:38:53 +0000</pubDate>
		<dc:creator>Brent</dc:creator>
		
		<category><![CDATA[Bookmarking]]></category>

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

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

		<guid isPermaLink="false">http://bhiv.com/writting-firefox-extensions/</guid>
		<description><![CDATA[Lifehacker has a pretty good summary on how to write a Firefox extension. This is something I&#8217;ve wanted to explore since Firefox introduced SQLite in 2.0.
I&#8217;ve been rolling my own online bookmarking for a while. A while ago I started off with Furl.net and didn&#8217;t move to del.icio.us with all of the cool kids because [...]]]></description>
			<content:encoded><![CDATA[<p>Lifehacker has a pretty good summary on <a href="http://www.lifehacker.com/software/programming/how-to-build-a-firefox-extension-264490.php">how to write a Firefox extension</a>. This is something I&#8217;ve wanted to explore since <a href="http://developer.mozilla.org/en/docs/Storage">Firefox introduced SQLite</a> in 2.0.</p>
<p>I&#8217;ve been rolling my own online bookmarking for a while. A while ago I started off with <a href="http://furl.net/">Furl.net</a> and didn&#8217;t move to <a href="http://del.icio.us/">del.icio.us</a> with all of the cool kids because Furl would save a snapshot of the link, which can be very helpful if something gets moved or goes down. I was intrigued with <a href="http://www.clipmarks.com/">Clipmarks</a> and the ability to save a section of the web page. But found it to be too heavy. See, I&#8217;m picky.</p>
<p>I&#8217;ve also been jealous of some of the extensions that have been introduced for these bookmarking platforms. I&#8217;ve come up with series of bookmarklets to achieve much (scoring, tagging, referring url) of what I&#8217;ve been missing. But, I&#8217;m not able to achieve more in-depth intraction. (I want to add all the url&#8217;s I visited to get to the link, save portions of the page, and save an image of the page)</p>
<p>Hopefully these links will help me build that extension I&#8217;ve always been dreaming about.</p>
]]></content:encoded>
			<wfw:commentRss>http://bhiv.com/writting-firefox-extensions/feed/</wfw:commentRss>
		</item>
		<item>
		<title>22 Million Reasons This is a Stupid Anti-Spam Measure</title>
		<link>http://bhiv.com/22-million-reasons-this-is-a-stupid-anti-spam-measure/</link>
		<comments>http://bhiv.com/22-million-reasons-this-is-a-stupid-anti-spam-measure/#comments</comments>
		<pubDate>Mon, 09 Apr 2007 18:50:38 +0000</pubDate>
		<dc:creator>Brent</dc:creator>
		
		<category><![CDATA[Security]]></category>

		<guid isPermaLink="false">http://bhiv.com/22-million-reasons-this-is-a-stupid-anti-spam-measure/</guid>
		<description><![CDATA[Ever been reading a site and they show an email address as: &#8220;name AT example DOT com&#8221; to try and fool email address harvesters?
Well I have 22 million reasons why this is a stupid method. Anyone want to buy an email list?
]]></description>
			<content:encoded><![CDATA[<p>Ever been reading a site and they show an email address as: &#8220;name AT example DOT com&#8221; to try and fool <a href="http://en.wikipedia.org/wiki/E-mail_address_harvesting">email address harvesters</a>?</p>
<p>Well I have <a href="http://www.google.com/search?hl=en&#038;safe=off&#038;q=%22*+AT+*+dot+com%22&#038;btnG=Search"><strong>22 million reasons</strong></a> why this is a stupid method. Anyone want to buy an email list?</p>
]]></content:encoded>
			<wfw:commentRss>http://bhiv.com/22-million-reasons-this-is-a-stupid-anti-spam-measure/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Tongue Twisters in SQL</title>
		<link>http://bhiv.com/tongue-twisters-in-sql/</link>
		<comments>http://bhiv.com/tongue-twisters-in-sql/#comments</comments>
		<pubDate>Wed, 28 Mar 2007 16:38:47 +0000</pubDate>
		<dc:creator>Brent</dc:creator>
		
		<category><![CDATA[General]]></category>

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

		<guid isPermaLink="false">http://bhiv.com/tongue-twisters-in-sql/</guid>
		<description><![CDATA[I was playing round the other night can came up with this SQL to solve a popular tongue twister:
SELECT
COUNT(woodpile.is_chucked)
FROM
woodpile,
woodchuck
WHERE
woodchuck.can_chuck = 1
AND
woodpile.is_chucked = 1
Here is another one:
SELECT COUNT(pepper.picked) FROM pepper WHERE pepper.picked_by = &#8216;Peter Piper&#8217;
A couple more with the tongue twisters:
Which wristwatches are Swiss wristwatches?
SELECT watch.* FROM watch WHERE watch.make = &#8216;Swiss&#8217;
Which witch wished which wicked [...]]]></description>
			<content:encoded><![CDATA[<p>I was playing round the other night can came up with this SQL to solve a popular tongue twister:</p>
<div style="border: 1px solid Gray; padding: 5px; background: #eeeeee none repeat scroll 0% 50%; font-family: monospace; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial; width: 80%; margin-left: 5px">SELECT<br />
COUNT(woodpile.is_chucked)<br />
FROM<br />
woodpile,<br />
woodchuck<br />
WHERE<br />
woodchuck.can_chuck = 1<br />
AND<br />
woodpile.is_chucked = 1</div>
<p>Here is another one:</p>
<div style="border: 1px solid Gray; padding: 5px; background: #eeeeee none repeat scroll 0% 50%; font-family: monospace; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial; width: 80%; margin-left: 5px">SELECT COUNT(pepper.picked) FROM pepper WHERE pepper.picked_by = &#8216;Peter Piper&#8217;</div>
<p>A couple more with the tongue twisters:</p>
<p>Which wristwatches are Swiss wristwatches?</p>
<div style="border: 1px solid Gray; padding: 5px; background: #eeeeee none repeat scroll 0% 50%; font-family: monospace; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial; width: 80%; margin-left: 5px">SELECT watch.* FROM watch WHERE watch.make = &#8216;Swiss&#8217;</div>
<p>Which witch wished which wicked wish?</p>
<div style="border: 1px solid Gray; padding: 5px; background: #eeeeee none repeat scroll 0% 50%; font-family: monospace; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial; width: 80%; margin-left: 5px">SELECT witch.name FROM witch WHERE witch.wish_type = &#8216;wicked&#8217; AND witch.type = &#8216;wicked&#8217;</div>
<p>Who washed Washington&#8217;s white woolen underwear<br />
when Washington&#8217;s washer woman went west?</p>
<div style="border: 1px solid Gray; padding: 5px; background: #eeeeee none repeat scroll 0% 50%; font-family: monospace; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial; width: 80%; margin-left: 5px">SELECT<br />
washer.name<br />
FROM<br />
washer<br />
WHERE<br />
washer.gender = &#8216;female&#8217;<br />
AND<br />
washer.went != &#8216;west&#8217;<br />
AND<br />
washer.washed = &#8216;underwear&#8217;<br />
AND<br />
washer.fabric = &#8216;wool&#8217;<br />
AND<br />
washer.washed_for = &#8216;Washington&#8217;</div>
]]></content:encoded>
			<wfw:commentRss>http://bhiv.com/tongue-twisters-in-sql/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Do too many posts overwhelm readers?</title>
		<link>http://bhiv.com/do-too-many-posts-overwhelm-readers/</link>
		<comments>http://bhiv.com/do-too-many-posts-overwhelm-readers/#comments</comments>
		<pubDate>Tue, 27 Feb 2007 17:42:20 +0000</pubDate>
		<dc:creator>Brent</dc:creator>
		
		<category><![CDATA[General]]></category>

		<category><![CDATA[Web Dev]]></category>

		<guid isPermaLink="false">http://bhiv.com/do-too-many-posts-overwhelm-readers/</guid>
		<description><![CDATA[Problogger asks: What makes you unsubscribe from a blog’s RSS feed?
There is some interesting insight in the comments. I have tried to compile a summary of the comments so far. (I&#8217;ve stared my peeves)
17 - Too many posts
12 - Topics not focused or changes topics too often
10 - Not enough posts
10 - Not full text [...]]]></description>
			<content:encoded><![CDATA[<p>Problogger asks: <a title="What makes you unsubscribe from a blog’s RSS feed?" rel="bookmark" href="http://www.problogger.net/archives/2007/02/27/what-makes-you-unsubscribe-from-a-blogs-rss-feed/">What makes you unsubscribe from a blog’s RSS feed?</a></p>
<p>There is some interesting insight in the comments. I have tried to compile a summary of the comments so far. (I&#8217;ve stared my peeves)<br />
17 - Too many posts<br />
12 - Topics not focused or changes topics too often<br />
10 - Not enough posts<br />
10 - Not full text feeds (*)<br />
9 - Repeated stories or unoriginal (*)<br />
6 - Reader not interested<br />
6 - Too long of stories or bad post layout<br />
4 - Negative stories or attitude<br />
4 - Too much self promotion<br />
4 - Low quality of posts<br />
3 - Story keep reappearing (usually frequent editing) (*)</p>
<p>I find it funny that not enough and too many posts were in the top three answers.</p>
]]></content:encoded>
			<wfw:commentRss>http://bhiv.com/do-too-many-posts-overwhelm-readers/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Ditch Ubuntu&#8217;s PHP Packages</title>
		<link>http://bhiv.com/ditch-ubuntus-php-packages/</link>
		<comments>http://bhiv.com/ditch-ubuntus-php-packages/#comments</comments>
		<pubDate>Wed, 03 Jan 2007 17:05:47 +0000</pubDate>
		<dc:creator>Brent</dc:creator>
		
		<category><![CDATA[PHP]]></category>

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

		<guid isPermaLink="false">http://bhiv.com/ditch-ubuntus-php-packages/</guid>
		<description><![CDATA[I had been frustrated with the state of Edgy&#8217;s php packages. I have been developing on 5.2.0 since attending the 2006 Zend Conference. I could have built everything myself, but I have been looking for an easy way to maintain the server.  I can always move to a custom compiled server if it becomes [...]]]></description>
			<content:encoded><![CDATA[<p>I had been frustrated with the state of Edgy&#8217;s php packages. I have been developing on 5.2.0 since attending the 2006 Zend Conference. I could have built everything myself, but I have been looking for an easy way to maintain the server.  I can always move to a custom compiled server if it becomes necessary. Also, I haven&#8217;t seen backports for Feisty yet.</p>
<p>My solution has been <a href="http://dotdeb.org/">Dotdeb</a>. Not only do I get updated php binaries but they include the <a href="http://www.hardened-php.net/suhosin/index.html">Suhosin Patch</a>.</p>
<p>The installation is very easy:</p>
<p>Edit <span style="font-weight: bold">/etc/apt/sources.list</span> to include<br />
<span style="color: #003399; font-weight: bold">deb http://packages.dotdeb.org stable all</span><br style="color: #003399; font-weight: bold" /><span style="color: #003399; font-weight: bold"> deb-src http://packages.dotdeb.org stable all</span></p>
<p>then just run<br />
<span style="font-weight: bold"># apt-get update</span><br />
<span style="font-weight: bold"># apt-get upgrade</span></p>
<p>you will have to consent to unsigned packages. You should now have updated PHP packages.</p>
]]></content:encoded>
			<wfw:commentRss>http://bhiv.com/ditch-ubuntus-php-packages/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Waste 13 minutes learning how to stop Procrastination</title>
		<link>http://bhiv.com/waste-13-minutes-learning-how-to-stop-procrastination/</link>
		<comments>http://bhiv.com/waste-13-minutes-learning-how-to-stop-procrastination/#comments</comments>
		<pubDate>Tue, 10 Oct 2006 15:33:21 +0000</pubDate>
		<dc:creator>Brent</dc:creator>
		
		<category><![CDATA[GTD]]></category>

		<guid isPermaLink="false">http://bhiv.com/waste-13-minutes-learning-how-to-stop-procrastination/</guid>
		<description><![CDATA[Merlin from 43folders has started a podcast, Productive Talk with the evergreen topic of Procrastination. He has come out of gate strong, getting David Allen of &#8220;Getting Things Done&#8221; as his first guest. The audio is a little uneven at first but settles down. Overall, very good and I am looking forward to the next [...]]]></description>
			<content:encoded><![CDATA[<p>Merlin from <a href="http://www.43folders.com/2006/10/10/productive-talk-procrastination/">43folders</a> has started a podcast, <a href="http://odeo.com/audio/2125548/view">Productive Talk</a> with the evergreen topic of Procrastination. He has come out of gate strong, getting David Allen of &#8220;Getting Things Done&#8221; as his first guest. The audio is a little uneven at first but settles down. Overall, very good and I am looking forward to the next one.</p>
]]></content:encoded>
			<wfw:commentRss>http://bhiv.com/waste-13-minutes-learning-how-to-stop-procrastination/feed/</wfw:commentRss>
		</item>
		<item>
		<title>PDO segfaults</title>
		<link>http://bhiv.com/pdo-segfaults/</link>
		<comments>http://bhiv.com/pdo-segfaults/#comments</comments>
		<pubDate>Wed, 05 Jul 2006 21:18:05 +0000</pubDate>
		<dc:creator>Brent</dc:creator>
		
		<category><![CDATA[Linux]]></category>

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

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

		<guid isPermaLink="false">http://bhiv.com/2006/07/06/pdo-segfaults/</guid>
		<description><![CDATA[After getting PDO sucessfully installed on Ubuntu, I discovered that it would segfault on otherwise normal queries. I also fount out that I am not alone. Stuart Herbert has documented the PDO segfaults. This was sort of disappointing, but at least it was assigned in PECL&#8217;s bug tracking system.
]]></description>
			<content:encoded><![CDATA[<p>After getting PDO sucessfully installed on Ubuntu, I discovered that it would segfault on otherwise normal queries. I also fount out that I am not alone. Stuart Herbert has documented the <a href="http://blog.stuartherbert.com/gentoo.php/2006/06/29/investigating_a_pdo_segfault">PDO segfaults</a>. This was sort of disappointing, but at least it was <a href="http://bugs.php.net/bug.php?id=37445">assigned</a> in PECL&#8217;s bug tracking system.</p>
]]></content:encoded>
			<wfw:commentRss>http://bhiv.com/pdo-segfaults/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Getting PDO to work with Ubuntu&#8217;s 6.06 LTS (Dapper Drake)</title>
		<link>http://bhiv.com/getting-pdo-to-work-with-ubuntus-606-lts-dapper-drake/</link>
		<comments>http://bhiv.com/getting-pdo-to-work-with-ubuntus-606-lts-dapper-drake/#comments</comments>
		<pubDate>Wed, 07 Jun 2006 18:06:43 +0000</pubDate>
		<dc:creator>Brent</dc:creator>
		
		<category><![CDATA[Linux]]></category>

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

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

		<guid isPermaLink="false">http://bhiv.com/2006/06/07/getting-pdo-to-work-with-ubuntus-606-lts-dapper-drake/</guid>
		<description><![CDATA[I had recently purchased a small computer to act as my development server but I also wanted it to act as second desktop machines. I have plenty of experience using Debian as a server, but I decided to try the new distribution from Ubuntu.
The install was pretty easy including getting PHP 5.1.2, Apache 2, and [...]]]></description>
			<content:encoded><![CDATA[<p>I had recently purchased a small computer to act as my development server but I also wanted it to act as second desktop machines. I have plenty of experience using Debian as a server, but I decided to try the new distribution from <a href="http://www.ubuntu.com/">Ubuntu</a>.</p>
<p class="MsoNormal">The install was pretty easy including getting PHP 5.1.2, Apache 2, and MySQL 5 installed using the familiar apt-get command. (I wish they had included php 5.1.4, but this wasn’t a deal breaker)</p>
<p class="MsoNormal">I was dismayed to find that they didn’t have a package for <a href="http://php.net/pdo">PDO</a> extension (PHP Database Objects). So I installed the PDO via the pecl command:</p>
<p class="MsoNormal">bhiv@devserver:~# <strong>pecl install pdo</strong></p>
<p class="MsoNormal">It downloaded, phpized, configured, compiled and installed just fine. The only thing I had to do was add the line:</p>
<p class="MsoNormal">extension=pdo.so</p>
<p class="MsoNormal">to the files:</p>
<p class="MsoNormal">/etc/php/apache2/php.ini<br />
/etc/php/cli/php.ini
</p>
<p class="MsoNormal">(and restart apache)</p>
<p class="MsoNormal">But what good was the PDO without a driver for a database, in my case MySQL. So I tried:</p>
<p class="MsoNormal">bhiv@devserver:~# <strong>pecl install pdo_mysql</strong></p>
<p class="MsoNormal">It downloaded, phpized, then failed on the configure command with the error:</p>
<p class="MsoNormal">configure: error:<br />
You&#8217;ve configured extension pdo_mysql, which depends on extension pdo,<br />
but you&#8217;ve either not enabled pdo, or have disabled it.
</p>
<p class="MsoNormal">After trying a number of ways to force it to install, trying to foce the dotdeb distribution to install I found the simplest solution was to manually download the package with the following commands:</p>
<p class="MsoNormal">bhiv@devserver:~#<strong> wget http://pecl.php.net/get/PDO_MYSQL-1.0.2.tgz</strong></p>
<p class="MsoNormal">bhiv@devserver:~#<strong> tar zxvf PDO_MYSQL-1.0.2.tgz</strong></p>
<p class="MsoNormal">bhiv@devserver:~#<strong> cd PDO_MYSQL-1.0.2</strong></p>
<p class="MsoNormal">bhiv@devserver:~#<strong> phpize</strong></p>
<p class="MsoNormal">bhiv@devserver:~#<strong> vi configure<br />
</strong> comment out lines 4163-4173<strong> </strong>
</p>
<p class="MsoNormal">bhiv@devserver:~#<strong> ./configure</strong></p>
<p class="MsoNormal">bhiv@devserver:~#<strong> make</strong></p>
<p class="MsoNormal">bhiv@devserver:~#<strong> sudo make install<br />
</strong> add the lines:<br />
extension=pdo.so<br />
extension=pdo_mysql.so<br />
to the very bottom of the file.<strong> </strong>
</p>
<p class="MsoNormal">bhiv@devserver:~#<strong> sudo vi /etc/php/apache2/php.ini</strong></p>
<p class="MsoNormal">bhiv@devserver:~#<strong> sudo vi /etc/php/cli/php.ini</strong></p>
<p class="MsoNormal">bhiv@devserver:~#<strong> sudo apache2ctl restart</strong></p>
<p class="MsoNormal">Hopefully there will be a php-pdo package soon. But until then, this was the simplest way to get PDO installed on your new Ubuntu system.</p>
]]></content:encoded>
			<wfw:commentRss>http://bhiv.com/getting-pdo-to-work-with-ubuntus-606-lts-dapper-drake/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Time-management software &#8212; offline version</title>
		<link>http://bhiv.com/time-management-software-offline-version/</link>
		<comments>http://bhiv.com/time-management-software-offline-version/#comments</comments>
		<pubDate>Mon, 15 May 2006 15:49:47 +0000</pubDate>
		<dc:creator>Brent</dc:creator>
		
		<category><![CDATA[GTD]]></category>

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

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

		<guid isPermaLink="false">http://bhiv.com/2006/05/15/time-management-software-offline-version/</guid>
		<description><![CDATA[
&#8220;Bill Westerman has joined the back-to-paper movement. Here are a couple of Bill&#8217;s ingenous methods for managing his time and to-do lists in his notebook.
Bill prefers the Miquelrius notebook (shown here).
Roll over the photo to see how it works.&#8221; (via Communication Nation)
]]></description>
			<content:encoded><![CDATA[<p><a href="http://flickr.com/photos/davegray/145761460/in/set-72057594133854350/"><img border="0" alt="Time-management software" id="image30" src="http://bhiv.com/wp-content/uploads/2006/05/time-management.jpg" /></a></p>
<p>&#8220;<a href="http://utilware.com/">Bill Westerman</a> has joined the back-to-paper movement. Here are a couple of Bill&#8217;s ingenous methods for managing his time and to-do lists in his notebook.</p>
<p>Bill prefers the <a href="http://www.miquelrius.com/swf/index.htm">Miquelrius</a> notebook (shown here).</p>
<p>Roll over the photo to see how it works.&#8221; (via <a href="http://communicationnation.blogspot.com/2006/05/time-management-software-offline.html">Communication Nation</a>)</p>
]]></content:encoded>
			<wfw:commentRss>http://bhiv.com/time-management-software-offline-version/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>
