<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss 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/" xmlns:media="http://search.yahoo.com/mrss/" version="2.0">

<channel>
	<title>Nick Ali Blog | Nick Ali</title>
	
	<link>http://nali.org</link>
	<description>Web developer and occasional vlogger</description>
	<lastBuildDate>Wed, 07 Mar 2012 03:38:15 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
		<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/iamtherealnick" /><feedburner:info xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" uri="iamtherealnick" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><item>
		<title>Database SQL Snippets</title>
		<link>http://nali.org/database-sql-snippets/</link>
		<comments>http://nali.org/database-sql-snippets/#comments</comments>
		<pubDate>Mon, 27 Feb 2012 23:17:19 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[asp.net/mvc]]></category>
		<category><![CDATA[Coding]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[Web Development]]></category>

		<guid isPermaLink="false">http://nali.org/?p=1016</guid>
		<description><![CDATA[These are some of my frequently used bits of SQL. Tested: MS SQL Server 2008 R2 List of all empty tables in SQL Server Database EXEC sp_MSforeachtable 'IF NOT EXISTS (SELECT 1 FROM ?) PRINT ''?'' ' List of all tables with at least 1 row of data in SQL Server Database EXEC sp_MSforeachtable 'IF...]]></description>
			<content:encoded><![CDATA[<p><img src="http://nali.org/wp-content/uploads/2012/02/database-sql-snippets.jpg" alt="Database SQL Snippets" title="Database SQL Snippets" width="640" height="320" class="aligncenter size-full wp-image-1020" /></p>
<p>These are some of my frequently used bits of SQL.</p>
<p>Tested: MS SQL Server 2008 R2</p>
<p><strong>List of all empty tables in SQL Server Database</strong></p>
<div class="codecolorer-container sql default" style="border:1px solid #9F9F9F;width:435px;"><div class="sql codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #993333; font-weight: bold;">EXEC</span> sp_MSforeachtable <span style="color: #ff0000;">'IF NOT EXISTS (SELECT 1 FROM ?) PRINT '</span><span style="color: #ff0000;">'?'</span><span style="color: #ff0000;">' '</span></div></div>
<p><strong>List of all tables with at least 1 row of data in SQL Server Database</strong></p>
<div class="codecolorer-container sql default" style="border:1px solid #9F9F9F;width:435px;"><div class="sql codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #993333; font-weight: bold;">EXEC</span> sp_MSforeachtable <span style="color: #ff0000;">'IF EXISTS (SELECT 1 FROM ?) PRINT '</span><span style="color: #ff0000;">'?'</span><span style="color: #ff0000;">' '</span></div></div>
<p><strong>Find latest modified stored procedures</strong></p>
<div class="codecolorer-container sql default" style="border:1px solid #9F9F9F;width:435px;"><div class="sql codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #993333; font-weight: bold;">SELECT</span> name<span style="color: #66cc66;">,</span> create_date<span style="color: #66cc66;">,</span> modify_date<br />
<span style="color: #993333; font-weight: bold;">FROM</span> sys<span style="color: #66cc66;">.</span>objects <br />
<span style="color: #993333; font-weight: bold;">WHERE</span> <span style="color: #993333; font-weight: bold;">TYPE</span> <span style="color: #66cc66;">=</span> <span style="color: #ff0000;">'P'</span> <span style="color: #808080; font-style: italic;">-- Only stored procedures</span><br />
<span style="color: #993333; font-weight: bold;">ORDER</span> <span style="color: #993333; font-weight: bold;">BY</span> modify_date <span style="color: #993333; font-weight: bold;">DESC</span><br />
<span style="color: #993333; font-weight: bold;">GO</span></div></div>
<p>Change &#8216;P&#8217; to &#8216;V&#8217; if you want to search for views.</p>
<p><strong>Find string in stored procedures</strong></p>
<div class="codecolorer-container sql default" style="border:1px solid #9F9F9F;width:435px;"><div class="sql codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #993333; font-weight: bold;">SELECT</span> Name<br />
<span style="color: #993333; font-weight: bold;">FROM</span> sys<span style="color: #66cc66;">.</span>procedures<br />
<span style="color: #993333; font-weight: bold;">WHERE</span> OBJECT_DEFINITION<span style="color: #66cc66;">&#40;</span>OBJECT_ID<span style="color: #66cc66;">&#41;</span> <span style="color: #993333; font-weight: bold;">LIKE</span> <span style="color: #ff0000;">'%STRINGTOSEARCHFOR%'</span><br />
<span style="color: #993333; font-weight: bold;">GO</span></div></div>
<p><strong>Find all constraints</strong></p>
<div class="codecolorer-container sql default" style="border:1px solid #9F9F9F;width:435px;"><div class="sql codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #993333; font-weight: bold;">SELECT</span> OBJECT_NAME<span style="color: #66cc66;">&#40;</span>OBJECT_ID<span style="color: #66cc66;">&#41;</span> <span style="color: #993333; font-weight: bold;">AS</span> NameofConstraint<span style="color: #66cc66;">,</span><br />
SCHEMA_NAME<span style="color: #66cc66;">&#40;</span>schema_id<span style="color: #66cc66;">&#41;</span> <span style="color: #993333; font-weight: bold;">AS</span> SchemaName<span style="color: #66cc66;">,</span><br />
OBJECT_NAME<span style="color: #66cc66;">&#40;</span>parent_object_id<span style="color: #66cc66;">&#41;</span> <span style="color: #993333; font-weight: bold;">AS</span> TableName<span style="color: #66cc66;">,</span><br />
type_desc <span style="color: #993333; font-weight: bold;">AS</span> ConstraintType<br />
<span style="color: #993333; font-weight: bold;">FROM</span> sys<span style="color: #66cc66;">.</span>objects<br />
<span style="color: #993333; font-weight: bold;">WHERE</span> type_desc <span style="color: #993333; font-weight: bold;">LIKE</span> <span style="color: #ff0000;">'%CONSTRAINT'</span> <span style="color: #993333; font-weight: bold;">ORDER</span> <span style="color: #993333; font-weight: bold;">BY</span> NameofConstraint<br />
<span style="color: #993333; font-weight: bold;">GO</span></div></div>
<p><strong>Find all foreign keys</strong></p>
<div class="codecolorer-container sql default" style="border:1px solid #9F9F9F;width:435px;"><div class="sql codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #993333; font-weight: bold;">SELECT</span> f<span style="color: #66cc66;">.</span>name <span style="color: #993333; font-weight: bold;">AS</span> ForeignKey<span style="color: #66cc66;">,</span><br />
OBJECT_NAME<span style="color: #66cc66;">&#40;</span>f<span style="color: #66cc66;">.</span>parent_object_id<span style="color: #66cc66;">&#41;</span> <span style="color: #993333; font-weight: bold;">AS</span> TableName<span style="color: #66cc66;">,</span><br />
COL_NAME<span style="color: #66cc66;">&#40;</span>fc<span style="color: #66cc66;">.</span>parent_object_id<span style="color: #66cc66;">,</span><br />
fc<span style="color: #66cc66;">.</span>parent_column_id<span style="color: #66cc66;">&#41;</span> <span style="color: #993333; font-weight: bold;">AS</span> ColumnName<span style="color: #66cc66;">,</span><br />
OBJECT_NAME <span style="color: #66cc66;">&#40;</span>f<span style="color: #66cc66;">.</span>referenced_object_id<span style="color: #66cc66;">&#41;</span> <span style="color: #993333; font-weight: bold;">AS</span> ReferenceTableName<span style="color: #66cc66;">,</span><br />
COL_NAME<span style="color: #66cc66;">&#40;</span>fc<span style="color: #66cc66;">.</span>referenced_object_id<span style="color: #66cc66;">,</span><br />
fc<span style="color: #66cc66;">.</span>referenced_column_id<span style="color: #66cc66;">&#41;</span> <span style="color: #993333; font-weight: bold;">AS</span> ReferenceColumnName<br />
<span style="color: #993333; font-weight: bold;">FROM</span> sys<span style="color: #66cc66;">.</span>foreign_keys <span style="color: #993333; font-weight: bold;">AS</span> f<br />
<span style="color: #993333; font-weight: bold;">INNER</span> <span style="color: #993333; font-weight: bold;">JOIN</span> sys<span style="color: #66cc66;">.</span>foreign_key_columns <span style="color: #993333; font-weight: bold;">AS</span> fc<br />
<span style="color: #993333; font-weight: bold;">ON</span> f<span style="color: #66cc66;">.</span>OBJECT_ID <span style="color: #66cc66;">=</span> fc<span style="color: #66cc66;">.</span>constraint_object_id</div></div>
<p><em><a href="http://www.flickr.com/photos/mucio/3656302901/">image</a></em></p>
<span id="pty_trigger"></span>]]></content:encoded>
			<wfw:commentRss>http://nali.org/database-sql-snippets/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>iPad Pin It Pinterest Bookmarklet in Safari</title>
		<link>http://nali.org/ipad-pin-it-pinterest-bookmarklet-in-safari/</link>
		<comments>http://nali.org/ipad-pin-it-pinterest-bookmarklet-in-safari/#comments</comments>
		<pubDate>Sat, 25 Feb 2012 22:05:53 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Mac OS X]]></category>
		<category><![CDATA[Social Media]]></category>

		<guid isPermaLink="false">http://nali.org/?p=992</guid>
		<description><![CDATA[It looks like Pinterest hasn&#8217;t provided a convenient way of adding the Pin It bookmarklet to Safari on the iPad. But try the instructions below. Its been tested with iOS 5. Step 1 Bookmark this page in Safari on the iPad. Give it a useful name like Pin It. Step 2 Copy the javascript below:...]]></description>
			<content:encoded><![CDATA[<p><img src="http://nali.org/wp-content/uploads/2012/02/pinterest-pin-it-bookmarklet-ipad-safari-e1330207426797.png" alt="iPad Pin It Pinterest Bookmarklet in Safari" title="iPad Pin It Pinterest Bookmarklet in Safari" width="640" height="162" class="aligncenter size-full wp-image-993" /></p>
<p>It looks like Pinterest hasn&#8217;t provided a convenient way of adding the Pin It bookmarklet to Safari on the iPad. But try the instructions below. Its been tested with iOS 5.</p>
<p><strong>Step 1</strong><br />
Bookmark this page in Safari on the iPad. Give it a useful name like Pin It. </p>
<p><img src="http://nali.org/wp-content/uploads/2012/02/pinterest-pin-it-bookmarklet-ipad-safari-step-1b-e1330210004276.png" alt="iPad Pin It Pinterest Bookmarklet in Safari" title="iPad Pin It Pinterest Bookmarklet in Safari" width="640" height="249" class="aligncenter size-full wp-image-1004" /></p>
<p><img src="http://nali.org/wp-content/uploads/2012/02/pinterest-pin-it-bookmarklet-ipad-safari-step-1c-e1330210101307.png" alt="iPad Pin It Pinterest Bookmarklet in Safari" title="iPad Pin It Pinterest Bookmarklet in Safari" width="640" height="249" class="aligncenter size-full wp-image-1003" /></p>
<p><strong>Step 2</strong><br />
Copy the javascript below:</p>
<div class="codecolorer-container text default" style="border:1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">javascript:void((function(){var%20e=document.createElement('script');e.<br />
setAttribute('type','text/javascript');e.setAttribute('charset','UTF-8');e.setAttribute('src','http://assets.pinterest.com/js/pinmarklet.js?r='+Math.random()*99999999);document.body.appendChild(e)})());</div></div>
<p><img src="http://nali.org/wp-content/uploads/2012/02/pinterest-pin-it-bookmarklet-ipad-safari-step-2-e1330210197331.png" alt="iPad Pin It Pinterest Bookmarklet in Safari" title="iPad Pin It Pinterest Bookmarklet in Safari" width="640" height="249" class="aligncenter size-full wp-image-1000" /></p>
<p><strong>Step 3</strong><br />
Go back and replace the bookmarklet address with the javascript above.</p>
<p><img src="http://nali.org/wp-content/uploads/2012/02/pinterest-pin-it-bookmarklet-ipad-safari-step-3-e1330210260553.png" alt="iPad Pin It Pinterest Bookmarklet in Safari" title="iPad Pin It Pinterest Bookmarklet in Safari" width="640" height="249" class="aligncenter size-full wp-image-1002" /></p>
<p><strong>Step 4</strong><br />
Pin away!</p>
<p><img src="http://nali.org/wp-content/uploads/2012/02/pinterest-pin-it-bookmarklet-ipad-safari-step-4-e1330210338818.png" alt="iPad Pin It Pinterest Bookmarklet in Safari" title="iPad Pin It Pinterest Bookmarklet in Safari" width="640" height="249" class="aligncenter size-full wp-image-1001" /></p>
<p><img src="http://nali.org/wp-content/uploads/2012/02/pinterest-pin-it-bookmarklet-ipad-safari-step-4a-e1330210405477.png" alt="iPad Pin It Pinterest Bookmarklet in Safari" title="iPad Pin It Pinterest Bookmarklet in Safari" width="640" height="249" class="aligncenter size-full wp-image-999" /></p>
<p><img src="http://nali.org/wp-content/uploads/2012/02/pinterest-pin-it-bookmarklet-ipad-safari-step-4b-e1330210477142.png" alt="iPad Pin It Pinterest Bookmarklet in Safari" title="iPad Pin It Pinterest Bookmarklet in Safari" width="640" height="249" class="aligncenter size-full wp-image-998" /></p>
<p><img src="http://nali.org/wp-content/uploads/2012/02/pinterest-pin-it-bookmarklet-ipad-safari-step-4c-e1330210562604.png" alt="iPad Pin It Pinterest Bookmarklet in Safari" title="iPad Pin It Pinterest Bookmarklet in Safari" width="640" height="249" class="aligncenter size-full wp-image-997" /></p>
<p><a href="http://pinterest.com/iamtherealnick/">Follow me on Pinterest</a>.</p>
<p><a href="https://twitter.com/#!/iamtherealnick">Tweet me</a> if the Pin It bookmarklet no longer works.</p>
<span id="pty_trigger"></span>]]></content:encoded>
			<wfw:commentRss>http://nali.org/ipad-pin-it-pinterest-bookmarklet-in-safari/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Mac OS X: Quickly Resize Images with sips</title>
		<link>http://nali.org/mac-os-x-quickly-resize-images-with-sips/</link>
		<comments>http://nali.org/mac-os-x-quickly-resize-images-with-sips/#comments</comments>
		<pubDate>Sat, 25 Feb 2012 06:13:06 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Mac OS X]]></category>
		<category><![CDATA[Web Development]]></category>

		<guid isPermaLink="false">http://nali.org/?p=982</guid>
		<description><![CDATA[I had previously written about how to batch resize images and rename on Ubuntu, but on Mac OS X, there is an even quicker way to resize images with a command line utility called sips. Open up a Terminal. Go the directory where your images or photos are located. Lets say you want to max...]]></description>
			<content:encoded><![CDATA[<p><img src="http://nali.org/wp-content/uploads/2012/02/best-web-design-inspiration-easy-button.jpg" alt="Easy Peasy" title="Easy Peasy" width="640" height="426" class="aligncenter size-full wp-image-984" /></p>
<p>I had previously written about <a href="http://nali.org/imagemagick-batch-crop-and-rename-files/">how to batch resize images and rename on Ubuntu</a>, but on Mac OS X, there is an even quicker way to resize images with a command line utility called <a href="https://developer.apple.com/library/mac/#documentation/Darwin/Reference/ManPages/man1/sips.1.html">sips</a>. </p>
<p>Open up a Terminal. Go the directory where your images or photos are located. Lets say you want to max width of 640 pixels. This is all you do:</p>
<div class="codecolorer-container text default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">sips -Z 640 *.jpg</div></div>
<p>Easy peasy.</p>
<p><em><a href="http://www.flickr.com/photos/raster/5462062551/">(image source)</a></em></p>
<span id="pty_trigger"></span>]]></content:encoded>
			<wfw:commentRss>http://nali.org/mac-os-x-quickly-resize-images-with-sips/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Magento 1.6: Fix Missing Submit Shipment Button</title>
		<link>http://nali.org/magento-1-6-fix-missing-submit-shipment-button/</link>
		<comments>http://nali.org/magento-1-6-fix-missing-submit-shipment-button/#comments</comments>
		<pubDate>Wed, 21 Dec 2011 21:30:37 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Magento]]></category>
		<category><![CDATA[Web Development]]></category>

		<guid isPermaLink="false">http://nali.org/?p=975</guid>
		<description><![CDATA[If you have installed Magento 1.6 or upgraded to Magento 1.6, and if you click on the Ship button on the order page in the back-end, the Submit Shipment button at the bottom right may be missing. Only an empty yellow box will be displayed. To fix this, copy app/code/core/Mage/Sales/Model/Order.php to app/code/local/Mage/Sales/Model/Order.php (because you never,...]]></description>
			<content:encoded><![CDATA[<p><img src="http://nali.org/wp-content/uploads/2010/10/magento_chicklets_03.png" alt="" title="Magento" width="45" height="45" class="alignright size-full wp-image-584" />If you have installed Magento 1.6 or upgraded to Magento 1.6, and if you click on the Ship button on the order page in the back-end, the Submit Shipment button at the bottom right may be missing. Only an empty yellow box will be displayed.</p>
<p>To fix this, copy app/code/core/Mage/Sales/Model/Order.php to app/code/local/Mage/Sales/Model/Order.php (because you never, ever, want to be editing Magento core files). Open up the local Order.php, on line 1218-ish, you will find:</p>
<div class="codecolorer-container php default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="php codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #000088;">$shippingMethod</span> <span style="color: #339933;">=</span> parent<span style="color: #339933;">::</span><span style="color: #004000;">getShippingMethod</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></div></div>
<p>Change it to:</p>
<div class="codecolorer-container php default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="php codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #000088;">$shippingMethod</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$this</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">getData</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'shipping_method'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></div></div>
<p>For possible reasons on why this is happening in the first place, see the <a href="http://www.magentocommerce.com/boards/viewreply/356983/">Magento boards</a>.</p>
<span id="pty_trigger"></span>]]></content:encoded>
			<wfw:commentRss>http://nali.org/magento-1-6-fix-missing-submit-shipment-button/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Fixing Contact Form 7 Redirection Referrer Failure with IE</title>
		<link>http://nali.org/contact-form-7-redirection-referrer-failure-with-ie/</link>
		<comments>http://nali.org/contact-form-7-redirection-referrer-failure-with-ie/#comments</comments>
		<pubDate>Tue, 20 Dec 2011 01:40:55 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Web Development]]></category>
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://nali.org/?p=953</guid>
		<description><![CDATA[On a client WordPress site, we wanted to use Contact Form 7 to grab visitor information and redirect them to an inner page after submission. To make sure they filled out the submission form, the destination page checked the referrer to make sure they came from the form page. Now, there are other ways of...]]></description>
			<content:encoded><![CDATA[<p>On a client WordPress site, we wanted to use Contact Form 7 to grab visitor information and redirect them to an inner page after submission. To make sure they filled out the submission form, the destination page checked the referrer to make sure they came from the form page. Now, there are other ways of doing this, like setting cookies, but this method was good enough for the client.</p>
<p>So this all worked in Chrome and Firefox, but not Internet Explorer.</p>
<p>Shocking.</p>
<p>The Contact Form 7 blog has instructions on how to <a href="http://contactform7.com/blog/2010/03/27/redirecting-to-another-url-after-submissions/">redirect users to a different page</a> after a successful submission. Under Additional Settings, simply do this:</p>
<div class="codecolorer-container javascript default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="javascript codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">on_sent_ok<span style="color: #339933;">:</span> <span style="color: #3366CC;">&quot;location='http://www.fubar.com/thanks';&quot;</span></div></div>
<p>The on_sent_ok is a Javascript hook. Inside of scripts.js in the plugin, it eventually makes this call:</p>
<div class="codecolorer-container javascript default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="javascript codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #000066; font-weight: bold;">if</span> <span style="color: #009900;">&#40;</span>data.<span style="color: #660066;">onSentOk</span><span style="color: #009900;">&#41;</span><br />
&nbsp; &nbsp; $.<span style="color: #660066;">each</span><span style="color: #009900;">&#40;</span>data.<span style="color: #660066;">onSentOk</span><span style="color: #339933;">,</span> <span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span>i<span style="color: #339933;">,</span> n<span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span> <span style="color: #000066; font-weight: bold;">eval</span><span style="color: #009900;">&#40;</span>n<span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></div></div>
<p>So &#8220;location=&#8217;http://www.fubar.com/thanks&#8217;;&#8221; gets evaluated by Javascript and the page redirects. Great.</p>
<p>On the destination page, we were checking the referrer to verify they were coming from the form, here is an example of how you could do it:</p>
<div class="codecolorer-container php default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="php codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #666666; font-style: italic;">/* Set where they should be redirected to if user didn't come from the form */</span><br />
<span style="color: #000088;">$redirectString</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">&quot;Location: &quot;</span><span style="color: #339933;">.</span> get_site_url<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">.</span> <span style="color: #0000ff;">&quot;/contactform&quot;</span><span style="color: #339933;">;</span><br />
<br />
<span style="color: #000088;">$referrer</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$_SERVER</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'HTTP_REFERER'</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">;</span><br />
<br />
<span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span><span style="color: #000088;">$referrer</span> <span style="color: #339933;">==</span> <span style="color: #009900; font-weight: bold;">NULL</span><span style="color: #009900;">&#41;</span><br />
<span style="color: #009900;">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <a href="http://www.php.net/header"><span style="color: #990000;">header</span></a><span style="color: #009900;">&#40;</span><span style="color: #000088;">$redirectString</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <a href="http://www.php.net/exit"><span style="color: #990000;">exit</span></a><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
<span style="color: #009900;">&#125;</span><br />
<span style="color: #b1b100;">else</span><br />
<span style="color: #009900;">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000088;">$domain</span> <span style="color: #339933;">=</span> <a href="http://www.php.net/parse_url"><span style="color: #990000;">parse_url</span></a><span style="color: #009900;">&#40;</span><span style="color: #000088;">$referrer</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000088;">$pos</span> <span style="color: #339933;">=</span> <a href="http://www.php.net/strpos"><span style="color: #990000;">strpos</span></a> <span style="color: #009900;">&#40;</span><span style="color: #000088;">$domain</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">&quot;path&quot;</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">&quot;contactform&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span><span style="color: #000088;">$pos</span> <span style="color: #339933;">==</span> <span style="color: #009900; font-weight: bold;">false</span><span style="color: #009900;">&#41;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #009900;">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <a href="http://www.php.net/header"><span style="color: #990000;">header</span></a><span style="color: #009900;">&#40;</span><span style="color: #000088;">$redirectString</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <a href="http://www.php.net/exit"><span style="color: #990000;">exit</span></a><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #009900;">&#125;</span><br />
<span style="color: #009900;">&#125;</span></div></div>
<p>Now, your PHP should be cleaner, more error checking, check for XSS, don&#8217;t hard-code anything, etc, etc.</p>
<p>The problem was that the referrer would always be null when the visitor was using Internet Explorer. Referrer isn&#8217;t required to be set by the browser. Browsers won&#8217;t set it if you started out on a HTTPS site but click on a non-secure link.</p>
<p>And IE won&#8217;t set it on redirection, but it will set it if you click on a link. So if a fake a link click, IE will set the referrer.</p>
<p>Lets create a Javascript function to fake a link click. This code is stolen from <a href="http://stackoverflow.com/a/7917528">Stack Overflow</a>:</p>
<div class="codecolorer-container javascript default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="javascript codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #003366; font-weight: bold;">function</span> goTo<span style="color: #009900;">&#40;</span>url<span style="color: #009900;">&#41;</span><br />
<span style="color: #009900;">&#123;</span><br />
&nbsp; &nbsp; <span style="color: #003366; font-weight: bold;">var</span> a <span style="color: #339933;">=</span> document.<span style="color: #660066;">createElement</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;a&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
&nbsp; &nbsp; <span style="color: #000066; font-weight: bold;">if</span> <span style="color: #009900;">&#40;</span>a.<span style="color: #660066;">click</span><span style="color: #009900;">&#41;</span><br />
&nbsp; &nbsp; <span style="color: #009900;">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #006600; font-style: italic;">// HTML5 browsers and IE support click() on &lt;a&gt;, early FF does not.</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; a.<span style="color: #660066;">setAttribute</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;href&quot;</span><span style="color: #339933;">,</span> url<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; a.<span style="color: #660066;">style</span>.<span style="color: #660066;">display</span> <span style="color: #339933;">=</span> <span style="color: #3366CC;">&quot;none&quot;</span><span style="color: #339933;">;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; document.<span style="color: #660066;">body</span>.<span style="color: #660066;">appendChild</span><span style="color: #009900;">&#40;</span>a<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; a.<span style="color: #660066;">click</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
&nbsp; &nbsp; <span style="color: #009900;">&#125;</span> <span style="color: #000066; font-weight: bold;">else</span> <span style="color: #009900;">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #006600; font-style: italic;">// Early FF can, however, use this usual method</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #006600; font-style: italic;">// where IE cannot with secure links.</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; window.<span style="color: #660066;">location</span> <span style="color: #339933;">=</span> url<span style="color: #339933;">;</span><br />
&nbsp; &nbsp; <span style="color: #009900;">&#125;</span><br />
<span style="color: #009900;">&#125;</span></div></div>
<p>Ok. Remember, the Contact Form 7 redirection is a Javascript hook. So now we change the on_sent_ok to call the goTo function instead:</p>
<div class="codecolorer-container javascript default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="javascript codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">on_sent_ok<span style="color: #339933;">:</span> <span style="color: #3366CC;">&quot;goTo('http://www.fubar.com/thanks');&quot;</span></div></div>
<p>Bam. Done.</p>
<span id="pty_trigger"></span>]]></content:encoded>
			<wfw:commentRss>http://nali.org/contact-form-7-redirection-referrer-failure-with-ie/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Nick Cast Episode 24 – iPad vs Books #volomo11</title>
		<link>http://nali.org/nick-cast-episode-24-ipad-vs-books-volomo11/</link>
		<comments>http://nali.org/nick-cast-episode-24-ipad-vs-books-volomo11/#comments</comments>
		<pubDate>Sat, 12 Nov 2011 07:54:31 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Video Podcast]]></category>
		<category><![CDATA[vlomo11]]></category>

		<guid isPermaLink="false">http://nali.org/?p=951</guid>
		<description><![CDATA[Trying to figure out if I should take the iPad on our safari, or just a few books. And wondering if Chloe will scratch me.]]></description>
			<content:encoded><![CDATA[<p>Trying to figure out if I should take the iPad on our safari, or just a few books. And wondering if Chloe will scratch me.</p>
<p><iframe width="640" height="360" src="http://www.youtube.com/embed/tPZ1hXd4T1U" frameborder="0" allowfullscreen></iframe></p>
<span id="pty_trigger"></span>]]></content:encoded>
			<wfw:commentRss>http://nali.org/nick-cast-episode-24-ipad-vs-books-volomo11/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Nick Cast Episode 23 – Packing…Or Not #volomo11</title>
		<link>http://nali.org/nick-cast-episode-23-packing-or-not-volomo11/</link>
		<comments>http://nali.org/nick-cast-episode-23-packing-or-not-volomo11/#comments</comments>
		<pubDate>Fri, 11 Nov 2011 23:00:15 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Video Podcast]]></category>
		<category><![CDATA[vlomo11]]></category>

		<guid isPermaLink="false">http://nali.org/?p=948</guid>
		<description><![CDATA[Progress on packing for Kenya and Turkey. Only 5 days to go!]]></description>
			<content:encoded><![CDATA[<p>Progress on packing for Kenya and Turkey. Only 5 days to go!</p>
<p><iframe width="640" height="360" src="http://www.youtube.com/embed/IIxdun5-wwI" frameborder="0" allowfullscreen></iframe></p>
<span id="pty_trigger"></span>]]></content:encoded>
			<wfw:commentRss>http://nali.org/nick-cast-episode-23-packing-or-not-volomo11/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Nick Cast Episode 22 – The Verge and Carne Asada Burritos #volomo11</title>
		<link>http://nali.org/nick-cast-episode-22-the-verge-and-carne-asada-burritos-volomo11/</link>
		<comments>http://nali.org/nick-cast-episode-22-the-verge-and-carne-asada-burritos-volomo11/#comments</comments>
		<pubDate>Thu, 10 Nov 2011 05:33:00 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Video Podcast]]></category>
		<category><![CDATA[vlomo11]]></category>

		<guid isPermaLink="false">http://nali.org/?p=943</guid>
		<description><![CDATA[Quick review of the technology site called The Verge. The best carne asada burrito I had ever. From El Taco Valez.]]></description>
			<content:encoded><![CDATA[<p>Quick review of the technology site called The Verge. The best carne asada burrito I had ever. From El Taco Valez.</p>
<p><iframe width="640" height="360" src="http://www.youtube.com/embed/pc0Wa8fD5NI" frameborder="0" allowfullscreen></iframe></p>
<span id="pty_trigger"></span>]]></content:encoded>
			<wfw:commentRss>http://nali.org/nick-cast-episode-22-the-verge-and-carne-asada-burritos-volomo11/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Nick Cast Episode 21 – Sushi and Zoe’s Kitchen #vlomo11</title>
		<link>http://nali.org/nick-cast-episode-21-sushi-and-zoes-kitchen-vlomo11/</link>
		<comments>http://nali.org/nick-cast-episode-21-sushi-and-zoes-kitchen-vlomo11/#comments</comments>
		<pubDate>Thu, 10 Nov 2011 05:28:29 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Video Podcast]]></category>
		<category><![CDATA[vlomo11]]></category>

		<guid isPermaLink="false">http://nali.org/?p=938</guid>
		<description><![CDATA[Had some nice sushi and stopped by Zoe&#8217;s Kitchen for a Gruben. Also, #vlomo11 kicks off even though I forgot to talk about.]]></description>
			<content:encoded><![CDATA[<p>Had some nice sushi and stopped by Zoe&#8217;s Kitchen for a Gruben. Also, #vlomo11 kicks off even though I forgot to talk about.</p>
<p><iframe width="640" height="360" src="http://www.youtube.com/embed/pIcjVGyXpoU" frameborder="0" allowfullscreen></iframe></p>
<span id="pty_trigger"></span>]]></content:encoded>
			<wfw:commentRss>http://nali.org/nick-cast-episode-21-sushi-and-zoes-kitchen-vlomo11/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Nick Cast Episode 20 – Passport Stamps</title>
		<link>http://nali.org/nick-cast-episode-20-passport-stamps/</link>
		<comments>http://nali.org/nick-cast-episode-20-passport-stamps/#comments</comments>
		<pubDate>Thu, 10 Nov 2011 05:25:11 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[China]]></category>
		<category><![CDATA[Travel]]></category>
		<category><![CDATA[Video Podcast]]></category>

		<guid isPermaLink="false">http://nali.org/?p=936</guid>
		<description><![CDATA[Recently got my passport renewed. Going over some of the passport stamps in the old one: China, Jamaica, Mexico, Czech Republic, Spain, and Canada.]]></description>
			<content:encoded><![CDATA[<p>Recently got my passport renewed. Going over some of the passport stamps in the old one: China, Jamaica, Mexico, Czech Republic, Spain, and Canada.</p>
<p><iframe width="640" height="360" src="http://www.youtube.com/embed/YqSGyCi3Ymg" frameborder="0" allowfullscreen></iframe></p>
<span id="pty_trigger"></span>]]></content:encoded>
			<wfw:commentRss>http://nali.org/nick-cast-episode-20-passport-stamps/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Nick Cast Episode 19 Halloween Pumpkins, Shaving, and PhotoFunia</title>
		<link>http://nali.org/nick-cast-episode-19-halloween-pumpkins-shaving-and-photofunia/</link>
		<comments>http://nali.org/nick-cast-episode-19-halloween-pumpkins-shaving-and-photofunia/#comments</comments>
		<pubDate>Thu, 10 Nov 2011 05:23:09 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Video Podcast]]></category>

		<guid isPermaLink="false">http://nali.org/?p=934</guid>
		<description><![CDATA[Our scary plastic halloween pumpkin, I finally get around to shaving, and a pic using the iPhone app PhotoFunia.]]></description>
			<content:encoded><![CDATA[<p>Our scary plastic halloween pumpkin, I finally get around to shaving, and a pic using the iPhone app PhotoFunia.</p>
<p><iframe width="640" height="360" src="http://www.youtube.com/embed/mam1wk3m7ss" frameborder="0" allowfullscreen></iframe></p>
<span id="pty_trigger"></span>]]></content:encoded>
			<wfw:commentRss>http://nali.org/nick-cast-episode-19-halloween-pumpkins-shaving-and-photofunia/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Nick Cast Episode 18 – Back to Vlogging</title>
		<link>http://nali.org/nick-cast-episode-18-back-to-vlogging/</link>
		<comments>http://nali.org/nick-cast-episode-18-back-to-vlogging/#comments</comments>
		<pubDate>Thu, 10 Nov 2011 05:20:02 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Video Podcast]]></category>

		<guid isPermaLink="false">http://nali.org/?p=932</guid>
		<description><![CDATA[Getting back into vlogging. Discussing our upcoming trip to Kenya and Turkey.]]></description>
			<content:encoded><![CDATA[<p>Getting back into vlogging. Discussing our upcoming trip to Kenya and Turkey.</p>
<p><iframe width="640" height="360" src="http://www.youtube.com/embed/-iABegm4po0" frameborder="0" allowfullscreen></iframe></p>
<span id="pty_trigger"></span>]]></content:encoded>
			<wfw:commentRss>http://nali.org/nick-cast-episode-18-back-to-vlogging/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Magento + Prototype.js + New Window + PDF Links</title>
		<link>http://nali.org/magento-prototype-js-target-new-window-pdf-links/</link>
		<comments>http://nali.org/magento-prototype-js-target-new-window-pdf-links/#comments</comments>
		<pubDate>Mon, 12 Sep 2011 23:59:21 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Magento]]></category>
		<category><![CDATA[Web Development]]></category>

		<guid isPermaLink="false">http://nali.org/?p=890</guid>
		<description><![CDATA[This is relatively straightforward to do, but I&#8217;m posting it so I have the Javascript next time I need it. On a Magento client site, all PDFs needed to be opened in a new window. Why? No clue. The Magento template wasn&#8217;t doing anything fancy, it was simply using the standard Magento Prototype.js library. Not...]]></description>
			<content:encoded><![CDATA[<p><a href="http://nali.org/wp-content/uploads/2011/09/prototype-js-javascript-library-logo-e1315871669761.gif"><img src="http://nali.org/wp-content/uploads/2011/09/prototype-js-javascript-library-logo-e1315871669761.gif" alt="Prototype.js" title="Prototype.js" width="173" height="84" class="alignleft size-full wp-image-895" /></a>This is relatively straightforward to do, but I&#8217;m posting it so I have the Javascript next time I need it. On a <a href="http://nali.org/category/web-development/magento/">Magento</a> client site, all PDFs needed to be opened in a new window. Why? No clue. The Magento template wasn&#8217;t doing anything fancy, it was simply using the standard Magento Prototype.js library. Not having used Prototype.js in a long time, it took me a while to figure out the function calls to set the target attribute on all PDFs links to _blank, but here it is:</p>
<div class="codecolorer-container javascript default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="javascript codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">document.<span style="color: #660066;">observe</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;dom:loaded&quot;</span><span style="color: #339933;">,</span> <span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span><br />
<br />
&nbsp; &nbsp; $$<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'a[href!=&quot;&quot;]'</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">each</span><span style="color: #009900;">&#40;</span><span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span>link<span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000066; font-weight: bold;">if</span><span style="color: #009900;">&#40;</span>link.<span style="color: #660066;">readAttribute</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'href'</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">toLowerCase</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">include</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'.pdf'</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; link.<span style="color: #660066;">writeAttribute</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'target'</span><span style="color: #339933;">,</span><span style="color: #3366CC;">'_blank'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #009900;">&#125;</span><br />
&nbsp; &nbsp; <span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
<span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></div></div>
<p>This is pretty much self-explanatory, but I&#8217;ll go through it anyway. <a href="http://www.prototypejs.org/api/document/observe">document.observe(&#8220;dom:loaded&#8221;)</a> is the jQuery equivalent of $(document).ready. readAttribute is like jQuery.attr(), include is like a Javascript IndexOf.</p>
<p>Thats pretty much it.</p>
<span id="pty_trigger"></span>]]></content:encoded>
			<wfw:commentRss>http://nali.org/magento-prototype-js-target-new-window-pdf-links/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to Fix Internet Explorer + iFrame + PNG Transparency Issue</title>
		<link>http://nali.org/how-to-fix-internet-explorer-iframe-png-transparency-issue/</link>
		<comments>http://nali.org/how-to-fix-internet-explorer-iframe-png-transparency-issue/#comments</comments>
		<pubDate>Thu, 01 Sep 2011 14:12:19 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Web Development]]></category>

		<guid isPermaLink="false">http://nali.org/?p=880</guid>
		<description><![CDATA[Working on a client site, we ran into issues with Internet Explorer, iFrames, and transparent PNGs. For the site, we are using an iFrame to load content when the user clicks on a button. On the fly, with javascript, a bit of code gets generated like: &#60;iframe name=&#34;fooFrame&#34; src=&#34;fooFrame.html&#34; allowTransparency=&#34;true&#34;&#62; &#60;/iframe&#62; Code snippel from fooFrame.html:...]]></description>
			<content:encoded><![CDATA[<p>Working on a client site, we ran into issues with Internet Explorer, iFrames, and transparent PNGs. For the site, we are using an iFrame to load content when the user clicks on a button. On the fly, with javascript, a bit of code gets generated like:</p>
<div class="codecolorer-container html4strict default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="html4strict codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/iframe.html"><span style="color: #000000; font-weight: bold;">iframe</span></a> <span style="color: #000066;">name</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;fooFrame&quot;</span> <span style="color: #000066;">src</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;fooFrame.html&quot;</span> allowTransparency<span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;true&quot;</span>&gt;</span><br />
<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/iframe.html"><span style="color: #000000; font-weight: bold;">iframe</span></a>&gt;</span></div></div>
<p>Code snippel from fooFrame.html:</p>
<div class="codecolorer-container html4strict default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="html4strict codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/body.html"><span style="color: #000000; font-weight: bold;">body</span></a>&gt;</span><br />
<span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/div.html"><span style="color: #000000; font-weight: bold;">div</span></a> <span style="color: #000066;">id</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;bazImage&quot;</span>&gt;</span>Blah, Blah, Blah<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/div.html"><span style="color: #000000; font-weight: bold;">div</span></a>&gt;</span><br />
<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/body.html"><span style="color: #000000; font-weight: bold;">body</span></a>&gt;</span></div></div>
<div class="codecolorer-container css default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="css codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #cc00cc;">#bazImage</span> <span style="color: #00AA00;">&#123;</span><br />
<span style="color: #000000; font-weight: bold;">color</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">white</span><span style="color: #00AA00;">;</span><br />
<span style="color: #000000; font-weight: bold;">font-size</span><span style="color: #00AA00;">:</span> <span style="color: #933;">16px</span><span style="color: #00AA00;">;</span><br />
<span style="color: #000000; font-weight: bold;">font-weight</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">bold</span><span style="color: #00AA00;">;</span><br />
<span style="color: #000000; font-weight: bold;">padding</span><span style="color: #00AA00;">:</span> <span style="color: #933;">25px</span> <span style="color: #933;">30px</span> <span style="color: #933;">0px</span> <span style="color: #933;">18px</span><span style="color: #00AA00;">;</span><br />
<span style="color: #000000; font-weight: bold;">font-family</span><span style="color: #00AA00;">:</span> Arial<span style="color: #00AA00;">,</span> Helvetica<span style="color: #00AA00;">,</span> <span style="color: #993333;">sans-serif</span><span style="color: #00AA00;">;</span><br />
<span style="color: #000000; font-weight: bold;">background</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">url</span><span style="color: #00AA00;">&#40;</span><span style="color: #ff0000; font-style: italic;">images/bazImage.png</span><span style="color: #00AA00;">&#41;</span> <span style="color: #993333;">no-repeat</span><span style="color: #00AA00;">;</span><br />
<span style="color: #000000; font-weight: bold;">width</span><span style="color: #00AA00;">:</span> <span style="color: #933;">256px</span><span style="color: #00AA00;">;</span><br />
<span style="color: #000000; font-weight: bold;">height</span><span style="color: #00AA00;">:</span> <span style="color: #933;">107px</span><span style="color: #00AA00;">;</span><br />
<span style="color: #00AA00;">&#125;</span></div></div>
<p>The background image is bazImage.png, a transparent PNG. This worked fine in Chrome, Firefox, and Safari, but all the transparent pixels turned up as white in IE. My first thought was we needed to apply a PNG fix. </p>
<p>But that didn&#8217;t help.</p>
<p>Not so surprisingly, Internet Explorer handles transparency differently than other browsers. Elements have an <a href="http://msdn.microsoft.com/en-us/library/ms533072(v=vs.85).aspx">allowTransparency attribute</a> that defaults to false, so embedded iFrames won&#8217;t be transparent. Simply set it to true.</p>
<p>One final step, set &#8216;background-color: transparent;&#8217; in the body element.</p>
<span id="pty_trigger"></span>]]></content:encoded>
			<wfw:commentRss>http://nali.org/how-to-fix-internet-explorer-iframe-png-transparency-issue/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WordPress + Headway Themes: Remove RSS Feed Links</title>
		<link>http://nali.org/wordpress-headway-themes-remove-rss-feed-links/</link>
		<comments>http://nali.org/wordpress-headway-themes-remove-rss-feed-links/#comments</comments>
		<pubDate>Wed, 24 Aug 2011 04:06:59 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Web Development]]></category>
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://nali.org/?p=863</guid>
		<description><![CDATA[Currently, this site is running WordPress MultiSite + Headway Themes. The main site is information I think other folks on the intertubes might find helpful. My Stream is generally junk that I find interesting. So, there is not one big RSS feed for the site. Don&#8217;t want the main site feed to get polluted by...]]></description>
			<content:encoded><![CDATA[<p><a href="http://nali.org/wp-content/uploads/2011/08/WordPress_Headway_Themes_Remove_RSS_Feed_Links-e1314158207264.png"><img class="alignright size-full wp-image-864" title="WordPress + Headway Themes: Remove RSS Feed Links" src="http://nali.org/wp-content/uploads/2011/08/WordPress_Headway_Themes_Remove_RSS_Feed_Links-e1314158207264.png" alt="WordPress + Headway Themes: Remove RSS Feed Links" width="74" height="84" /></a>Currently, this site is running WordPress MultiSite + Headway Themes. The main site is information I think other folks on the intertubes might find helpful. <a href="http://stream.nali.org">My Stream</a> is generally junk that I find interesting. So, there is not one big RSS feed for the site. Don&#8217;t want the main site feed to get polluted by the stream feed.</p>
<p>I don&#8217;t know how many folks actually use auto RSS browser discovery, so I wanted to get rid of the RSS links that Headway makes automatically and replace it with a <a href="http://nali.org/rss-feeds/">general RSS page</a> that can be reached when the user clicks on the RSS icon.</p>
<p>So, lets see how Headway Themes adds feeds to the HTML. Towards the bottom of wp-content/themes/headway-version/library/core/head.php, you have Headway code being added to the standard WordPress header hook:</p>
<div class="codecolorer-container text default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">add_action('wp_head', 'headway_head_extras', 9);</div></div>
<p>Slightly higher up in head.php, the headway_head_extras function is defined and set as a hook itself:</p>
<div class="codecolorer-container text default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">function headway_head_extras(){<br />
?&gt;<br />
<br />
&lt;!-- Extras --&gt;<br />
&lt;link rel=&quot;alternate&quot; type=&quot;application/rss+xml&quot; href=&quot;&lt;?php echo headway_rss() ?&gt;&quot; title=&quot;&lt;?php echo get_bloginfo('name')?&gt;&quot; /&gt;<br />
&lt;link rel=&quot;pingback&quot; href=&quot;&lt;?php bloginfo('pingback_url') ?&gt;&quot; /&gt;<br />
&lt;?php<br />
&nbsp; &nbsp; &nbsp; &nbsp; do_action('headway_head_extras');<br />
}</div></div>
<p>Its important to notice that this bit of code has the feed and pingback URL. We do want to keep the pingback URL, so we&#8217;ll need to handle that.</p>
<p>To stop headway_head_extras from being called in general by the WordPress header, I did the following:</p>
<div class="codecolorer-container text default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">function my_headway_head_extras(){<br />
?&gt;<br />
<br />
&lt;!-- Extras --&gt;<br />
&lt;link rel=&quot;pingback&quot; href=&quot;&lt;?php bloginfo('pingback_url') ?&gt;&quot; /&gt;<br />
&lt;?php<br />
}<br />
<br />
remove_action('wp_head', 'headway_head_extras', 9);<br />
add_action('wp_head', 'my_headway_head_extras', 9);</div></div>
<p>Yes, I really should come up with a better function name than my_headway_head_extras, but thats not the point.</p>
<p>I first define my own function that includes the pingback URL. Then I stop the headway_head_extras function from being called by the WordPress header. And finally, I add my pingback function to the WordPress header instead.</p>
<p>I stuck the above code in wp-content/themes/headway-version/custom/custom_functions.php. The main RSS feed and comment RSS feeds disappeared as expected. But there was no change to the Stream site. I decided to put the code in wp-content/themes/headway-version/custom/sites/subsiteidentifier/custom_functions.php and it worked.</p>
<p>This may not be Headway Themes way of doing this, and might not be maintainable through upgrades, so try at your own risk. But I would imagine the custom_functions.php should be copied over as the theme gets upgraded, so it shouldn&#8217;t be an issue.</p>
<span id="pty_trigger"></span>]]></content:encoded>
			<wfw:commentRss>http://nali.org/wordpress-headway-themes-remove-rss-feed-links/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Clear Cache Manually in CMS Made Simple: string(103) “Smarty error: [in template:20 line 3] [plugin] unknown tag</title>
		<link>http://nali.org/clear-cache-manually-in-cms-made-simple-string103-smarty-error-in-template20-line-3-plugin-unknown-tag/</link>
		<comments>http://nali.org/clear-cache-manually-in-cms-made-simple-string103-smarty-error-in-template20-line-3-plugin-unknown-tag/#comments</comments>
		<pubDate>Fri, 10 Jun 2011 23:45:01 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[CMS Made Simple]]></category>
		<category><![CDATA[Web Development]]></category>

		<guid isPermaLink="false">http://nali.org/?p=835</guid>
		<description><![CDATA[As a continuation of a project to move a CMS Made Simple site from one webhost to another, I ran into some caching issues. Having successfully moved the CMS Made Simple files and database over, and editing the configuration file to use the right path and DB credentials, I went to the homepage. I was...]]></description>
			<content:encoded><![CDATA[<p><img src="http://nali.org/wp-content/uploads/2011/06/cms-made-simple-logo.jpg" alt="CMS Made Simple" title="CMS Made Simple" width="248" height="49" class="alignleft size-full wp-image-810" />As a continuation of a project to <a href="http://nali.org/cms-made-simple-mysql-error-1044-access-denied-for-user-foo-to-database-bar/">move a CMS Made Simple site from one webhost to another</a>, I ran into some caching issues.</p>
<p>Having successfully moved the CMS Made Simple files and database over, and editing the configuration file to use the right path and DB credentials, I went to the homepage. I was unceremoniously presented with:</p>
<blockquote><p>
string(103) &#8220;Smarty error: [in template:20 line 3]: [plugin] unknown tag &#8211; &#8216;title&#8217; (core.load_plugins.php, line 124)&#8221; string(106) &#8220;Smarty error: [in template:20 line 4]: [plugin] unknown tag &#8211; &#8216;metadata&#8217; (core.load_plugins.php, line 124)&#8221; string(108) &#8220;Smarty error: [in template:20 line 5]: [plugin] unknown tag &#8211; &#8216;stylesheet&#8217; (core.load_plugins.php, line 124)&#8221; string(110) &#8220;Smarty error: [in template:20 line 6]: [plugin] unknown tag &#8211; &#8216;cms_selflink&#8217; (core.load_plugins.php, line 124)&#8221; string(106) &#8220;Smarty error: [in template:20 line 43]: [plugin] unknown tag &#8211; &#8216;content&#8217; (core.load_plugins.php, line 124)&#8221;
</p></blockquote>
<p>Nice.</p>
<p>Having never worked with a CMS Made Simple site before, this was really not helpful. My first assumption was that it was a caching issue. But I didn&#8217;t have the admin login information, so I couldn&#8217;t go into the backend and delete the cache. I would have to delete the cache manually.</p>
<p>When uploading the site, I noticed that there was a tmp directory. I imagined thats where the cache files would be located. Turns out I was right. </p>
<p>Deleting the contents of the tmp/cache and tmp/templates_c got rid of the nasty error and you can see the contents of those directories being refreshed once you hit the site.</p>
<span id="pty_trigger"></span>]]></content:encoded>
			<wfw:commentRss>http://nali.org/clear-cache-manually-in-cms-made-simple-string103-smarty-error-in-template20-line-3-plugin-unknown-tag/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>CMS Made Simple MySQL Error: #1044 – Access denied for user ‘foo’@'%’ to database ‘bar’</title>
		<link>http://nali.org/cms-made-simple-mysql-error-1044-access-denied-for-user-foo-to-database-bar/</link>
		<comments>http://nali.org/cms-made-simple-mysql-error-1044-access-denied-for-user-foo-to-database-bar/#comments</comments>
		<pubDate>Fri, 10 Jun 2011 23:08:35 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[CMS Made Simple]]></category>
		<category><![CDATA[Coding]]></category>

		<guid isPermaLink="false">http://nali.org/?p=809</guid>
		<description><![CDATA[Today, I was helping to move a CMS Made Simple site from one webhost to another. It seemed easy enough. I was provided a database dump and copy of the files. It should have been just a matter of importing the database dump with phpmyadmin, scping the files to the new host, editing the config.php,...]]></description>
			<content:encoded><![CDATA[<p><img src="http://nali.org/wp-content/uploads/2011/06/cms-made-simple-logo.jpg" alt="CMS Made Simple" title="CMS Made Simple" width="248" height="49" class="alignright size-full wp-image-810" />Today, I was helping to move a <a href="http://www.cmsmadesimple.org/">CMS Made Simple</a> site from one webhost to another. It seemed easy enough. I was provided a database dump and copy of the files. It should have been just a matter of importing the database dump with phpmyadmin, scping the files to the new host, editing the config.php, clearing the cache, and refreshing the browser. Right, right? Of course not.</p>
<p>The export of the original tables from MySQL were pretty standard: drop the table if it exists, recreate it, lock it, populate it, unlock it:</p>
<div class="codecolorer-container sql default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="sql codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #993333; font-weight: bold;">DROP</span> <span style="color: #993333; font-weight: bold;">TABLE</span> <span style="color: #993333; font-weight: bold;">IF</span> <span style="color: #993333; font-weight: bold;">EXISTS</span> <span style="color: #ff0000;">`cms_additional_htmlblob_users`</span>;<br />
<span style="color: #993333; font-weight: bold;">CREATE</span> <span style="color: #993333; font-weight: bold;">TABLE</span> <span style="color: #ff0000;">`cms_additional_htmlblob_users`</span> <span style="color: #66cc66;">&#40;</span><br />
&nbsp; <span style="color: #ff0000;">`additional_htmlblob_users_id`</span> <span style="color: #993333; font-weight: bold;">INT</span><span style="color: #66cc66;">&#40;</span><span style="color: #cc66cc;">11</span><span style="color: #66cc66;">&#41;</span> <span style="color: #993333; font-weight: bold;">NOT</span> <span style="color: #993333; font-weight: bold;">NULL</span> <span style="color: #993333; font-weight: bold;">DEFAULT</span> <span style="color: #ff0000;">'0'</span><span style="color: #66cc66;">,</span><br />
&nbsp; <span style="color: #ff0000;">`user_id`</span> <span style="color: #993333; font-weight: bold;">INT</span><span style="color: #66cc66;">&#40;</span><span style="color: #cc66cc;">11</span><span style="color: #66cc66;">&#41;</span> <span style="color: #993333; font-weight: bold;">DEFAULT</span> <span style="color: #993333; font-weight: bold;">NULL</span><span style="color: #66cc66;">,</span><br />
&nbsp; <span style="color: #ff0000;">`htmlblob_id`</span> <span style="color: #993333; font-weight: bold;">INT</span><span style="color: #66cc66;">&#40;</span><span style="color: #cc66cc;">11</span><span style="color: #66cc66;">&#41;</span> <span style="color: #993333; font-weight: bold;">DEFAULT</span> <span style="color: #993333; font-weight: bold;">NULL</span><span style="color: #66cc66;">,</span><br />
&nbsp; <span style="color: #993333; font-weight: bold;">PRIMARY</span> <span style="color: #993333; font-weight: bold;">KEY</span> &nbsp;<span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">`additional_htmlblob_users_id`</span><span style="color: #66cc66;">&#41;</span><br />
<span style="color: #66cc66;">&#41;</span> ENGINE<span style="color: #66cc66;">=</span>MyISAM <span style="color: #993333; font-weight: bold;">DEFAULT</span> CHARSET<span style="color: #66cc66;">=</span>latin1;<br />
<br />
<span style="color: #808080; font-style: italic;">--</span><br />
<span style="color: #808080; font-style: italic;">-- Dumping data for table `cms_additional_htmlblob_users`</span><br />
<span style="color: #808080; font-style: italic;">--</span><br />
<br />
<span style="color: #993333; font-weight: bold;">LOCK</span> <span style="color: #993333; font-weight: bold;">TABLES</span> <span style="color: #ff0000;">`cms_additional_htmlblob_users`</span> <span style="color: #993333; font-weight: bold;">WRITE</span>;<br />
<span style="color: #808080; font-style: italic;">/*!40000 ALTER TABLE `cms_additional_htmlblob_users` DISABLE KEYS */</span>;<br />
<span style="color: #993333; font-weight: bold;">INSERT</span> <span style="color: #993333; font-weight: bold;">INTO</span> <span style="color: #ff0000;">`cms_additional_htmlblob_users`</span> <span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">`additional_htmlblob_users_id`</span><span style="color: #66cc66;">,</span> <span style="color: #ff0000;">`user_id`</span><span style="color: #66cc66;">,</span> <span style="color: #ff0000;">`htmlblob_id`</span><span style="color: #66cc66;">&#41;</span> <span style="color: #993333; font-weight: bold;">VALUES</span> <span style="color: #66cc66;">&#40;</span><span style="color: #cc66cc;">6</span><span style="color: #66cc66;">,</span><span style="color: #cc66cc;">1</span><span style="color: #66cc66;">,</span><span style="color: #cc66cc;">5</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">,</span><span style="color: #66cc66;">&#40;</span><span style="color: #cc66cc;">15</span><span style="color: #66cc66;">,</span><span style="color: #cc66cc;">1</span><span style="color: #66cc66;">,</span><span style="color: #cc66cc;">1</span><span style="color: #66cc66;">&#41;</span>;<br />
<span style="color: #808080; font-style: italic;">/*!40000 ALTER TABLE `cms_additional_htmlblob_users` ENABLE KEYS */</span>;<br />
<span style="color: #993333; font-weight: bold;">UNLOCK</span> <span style="color: #993333; font-weight: bold;">TABLES</span>;</div></div>
<p>At the new webhost, in phpmyadmin, when importing the SQL, I kept getting the following error:</p>
<div class="codecolorer-container sql default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="sql codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #993333; font-weight: bold;">LOCK</span> <span style="color: #993333; font-weight: bold;">TABLES</span> &nbsp;<span style="color: #ff0000;">`cms_additional_htmlblob_users`</span> <span style="color: #993333; font-weight: bold;">WRITE</span> ;<br />
MySQL said:<br />
#<span style="color: #cc66cc;">1044</span> <span style="color: #66cc66;">-</span> Access denied <span style="color: #993333; font-weight: bold;">FOR</span> <span style="color: #993333; font-weight: bold;">USER</span> <span style="color: #ff0000;">'foo'</span>@<span style="color: #ff0000;">'%'</span> <span style="color: #993333; font-weight: bold;">TO</span> <span style="color: #993333; font-weight: bold;">DATABASE</span> <span style="color: #ff0000;">'bar'</span></div></div>
<p>How can I not have the permission to lock tables? So I wanted to figure out if this lock really was the problem. Opening up the original SQL dump in  <a href="http://notepad-plus-plus.org/">Notepad++</a>, I wanted to find the LOCK TABLES lines and remove them, and the corresponding UNLOCK TABLES. Now, there are way too many tables, so removing the LOCK TABLES by hand is a serious PITA. </p>
<p>Good thing Notepad++ supports regular expression in search. Use this to find all the LOCK TABLES:</p>
<div class="codecolorer-container reg default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="reg codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">LOCK\sTABLES\s`<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#91;</span>a-zA-Z0-9_\-\.<span style="color: #000000;">&#93;</span>+<span style="color: #000000;">&#41;</span>`\sWRITE<span style="color: #009900;">;</span></div></div>
<p>and replace with nothing. You can find UNLOCK TABLES; directly and remove them.</p>
<p>Turns out after doing that, the SQL imported just fine. So that meant the stupid webhost didn&#8217;t allow LOCK TABLES access for the user. Why would you not let users lock their own tables? Plain retarded. There was nothing really wrong with the SQL, just a retarded host.</p>
<p>Thankfully the client got wise and moved to a better host where we had no such problems.</p>
<span id="pty_trigger"></span>]]></content:encoded>
			<wfw:commentRss>http://nali.org/cms-made-simple-mysql-error-1044-access-denied-for-user-foo-to-database-bar/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>ASP.net MVC: The controller for path /favicon.ico does not implement IController</title>
		<link>http://nali.org/asp-net-mvc-the-controller-for-path-favicon-ico-does-not-implement-icontroller/</link>
		<comments>http://nali.org/asp-net-mvc-the-controller-for-path-favicon-ico-does-not-implement-icontroller/#comments</comments>
		<pubDate>Tue, 10 May 2011 23:21:41 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[asp.net/mvc]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[Web Development]]></category>

		<guid isPermaLink="false">http://nali.org/?p=798</guid>
		<description><![CDATA[One of Run Level Media&#8216;s project involves migrating a Windows application over Terminal Services, to the web. A previous programmer had started building the web app in C#, ASP.NET MVC 2. We decided to upgrade for the sake of maintainability and wanting to use some of the newer features in MVC 3 (like Razor). After...]]></description>
			<content:encoded><![CDATA[<p>One of <a href="http://runlevelmedia.com">Run Level Media</a>&#8216;s project involves migrating a Windows application over Terminal Services, to the web. A previous programmer had started building the web app in C#, ASP.NET MVC 2. We decided to upgrade for the sake of maintainability and wanting to use some of the newer features in MVC 3 (like Razor). </p>
<p>After upgrading and trying to debug code, I kept running into the following error on every page load: <a href="http://nali.org/wp-content/uploads/2011/05/asp-dot-net-mvc-The-controller-for-path-favicon.ico-does-not-implement-IController.png"><img src="http://nali.org/wp-content/uploads/2011/05/asp-dot-net-mvc-The-controller-for-path-favicon.ico-does-not-implement-IController.png" alt="ASP.net MVC: The controller for path /favicon.ico does not implement IController" title="ASP.net MVC: The controller for path /favicon.ico does not implement IController" width="463" height="261" class="aligncenter size-full wp-image-799" /></a></p>
<p>It was true that the favicon.ico was missing, but we didn&#8217;t want to make a temporary one. We just needed requests for dot files to the root directory to be ignored.</p>
<p>Most Global.asax have route definitions like this:</p>
<div class="codecolorer-container csharp default" style="border:1px solid #9F9F9F;width:435px;"><div class="csharp codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">routes<span style="color: #008000;">.</span><span style="color: #0000FF;">MapRoute</span><span style="color: #008000;">&#40;</span><br />
&nbsp; &nbsp; &nbsp;<span style="color: #666666;">&quot;Default&quot;</span>,<br />
&nbsp; &nbsp; &nbsp;<span style="color: #666666;">&quot;{controller}/{action}/{id}&quot;</span>,<br />
&nbsp; &nbsp; &nbsp;<a href="http://www.google.com/search?q=new+msdn.microsoft.com"><span style="color: #008000;">new</span></a> <span style="color: #008000;">&#123;</span> controller <span style="color: #008000;">=</span> <span style="color: #666666;">&quot;Home&quot;</span>, action <span style="color: #008000;">=</span> <span style="color: #666666;">&quot;Index&quot;</span>, id <span style="color: #008000;">=</span> <span style="color: #666666;">&quot;&quot;</span> <span style="color: #008000;">&#125;</span><br />
<span style="color: #008000;">&#41;</span><span style="color: #008000;">;</span></div></div>
<p>There are really two problems here. First, the controller looks for something to handle favicon.ico. More than likely, you don&#8217;t have a function to deal with favicon.ico (why should you). Second, the HttpException should be caught and dealt with. Either log it or provide a more helpful message. Otherwise you&#8217;ll see &#8216;HttpException was unhandled by user code&#8217; errors.</p>
<p>To fix the controller, try this:</p>
<div class="codecolorer-container csharp default" style="border:1px solid #9F9F9F;width:435px;"><div class="csharp codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">routes<span style="color: #008000;">.</span><span style="color: #0000FF;">MapRoute</span><span style="color: #008000;">&#40;</span><br />
&nbsp; &nbsp; &nbsp;<span style="color: #666666;">&quot;Default&quot;</span>,<br />
&nbsp; &nbsp; &nbsp;<span style="color: #666666;">&quot;{controller}/{action}/{id}&quot;</span>,<br />
&nbsp; &nbsp; &nbsp;<a href="http://www.google.com/search?q=new+msdn.microsoft.com"><span style="color: #008000;">new</span></a> <span style="color: #008000;">&#123;</span> controller <span style="color: #008000;">=</span> <span style="color: #666666;">&quot;Home&quot;</span>, action <span style="color: #008000;">=</span> <span style="color: #666666;">&quot;Index&quot;</span>, id <span style="color: #008000;">=</span> <span style="color: #666666;">&quot;&quot;</span> <span style="color: #008000;">&#125;</span>,<br />
&nbsp; &nbsp; &nbsp;<a href="http://www.google.com/search?q=new+msdn.microsoft.com"><span style="color: #008000;">new</span></a> <span style="color: #008000;">&#123;</span> controller <span style="color: #008000;">=</span> <span style="color: #666666;">@&quot;[^\.]*&quot;</span> <span style="color: #008000;">&#125;</span> <br />
<span style="color: #008000;">&#41;</span><span style="color: #008000;">;</span></div></div>
<p>new { controller = @&#8221;[^\.]*&#8221; } means ignore anything that matches that regex.</p>
<span id="pty_trigger"></span>]]></content:encoded>
			<wfw:commentRss>http://nali.org/asp-net-mvc-the-controller-for-path-favicon-ico-does-not-implement-icontroller/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ASP.net MVC: Expecting element ‘root’ from namespace ”.. Encountered ‘None’  with name ”, namespace ”.</title>
		<link>http://nali.org/asp-net-mvc-expecting-element-root-from-namespace-encountered-none-with-name-namespace/</link>
		<comments>http://nali.org/asp-net-mvc-expecting-element-root-from-namespace-encountered-none-with-name-namespace/#comments</comments>
		<pubDate>Tue, 12 Apr 2011 16:59:34 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[asp.net/mvc]]></category>
		<category><![CDATA[Microsoft]]></category>

		<guid isPermaLink="false">http://nali.org/?p=783</guid>
		<description><![CDATA[While walking through an ASP.net MVC3 app, I noticed that Ajax calls resulted in nothing happening. Debugging in Visual Studio, I noticed a SerializationException at the following code: public override void OnActionExecuting&#40;ActionExecutingContext filterContext&#41; &#123; .... object o = new DataContractJsonSerializer&#40;RootType&#41; .ReadObject&#40;filterContext.HttpContext.Request.InputStream&#41;; &#125; The JSON response from the Ajax was supposed to be read here, but...]]></description>
			<content:encoded><![CDATA[<p><img class="size-full wp-image-784 aligncenter" title="ASP.net MVC Expecting element 'root' from namespace ''.. Encountered 'None'  with name '', namespace ''." src="http://nali.org/wp-content/uploads/2011/04/SerializationException_ASP_NET_MVC.png" alt="ASP.net MVC Expecting element 'root' from namespace ''.. Encountered 'None' with name '', namespace ''." width="448" height="259" /></p>
<p>While walking through an ASP.net MVC3 app, I noticed that Ajax calls resulted in nothing happening. Debugging in Visual Studio, I noticed a SerializationException at the following code:</p>
<div class="codecolorer-container csharp default" style="border:1px solid #9F9F9F;width:435px;"><div class="csharp codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #0600FF; font-weight: bold;">public</span> <span style="color: #0600FF; font-weight: bold;">override</span> <span style="color: #6666cc; font-weight: bold;">void</span> OnActionExecuting<span style="color: #008000;">&#40;</span>ActionExecutingContext filterContext<span style="color: #008000;">&#41;</span> <span style="color: #008000;">&#123;</span><br />
<span style="color: #008000;">....</span><br />
<span style="color: #6666cc; font-weight: bold;">object</span> o <span style="color: #008000;">=</span> <a href="http://www.google.com/search?q=new+msdn.microsoft.com"><span style="color: #008000;">new</span></a> DataContractJsonSerializer<span style="color: #008000;">&#40;</span>RootType<span style="color: #008000;">&#41;</span><br />
<span style="color: #008000;">.</span><span style="color: #0000FF;">ReadObject</span><span style="color: #008000;">&#40;</span>filterContext<span style="color: #008000;">.</span><span style="color: #0000FF;">HttpContext</span><span style="color: #008000;">.</span><span style="color: #0000FF;">Request</span><span style="color: #008000;">.</span><span style="color: #0000FF;">InputStream</span><span style="color: #008000;">&#41;</span><span style="color: #008000;">;</span><br />
<span style="color: #008000;">&#125;</span></div></div>
<p>The JSON response from the Ajax was supposed to be read here, but it was failing. It was a runtime exception, &#8220;SerializationException was unhandled by user code.&#8221; Turns out InputStream wasn&#8217;t being read from the beginning of the stream, so the JSON couldn&#8217;t be deserialized properly.</p>
<p>Resetting the position in the current stream to the beginning should make it readable again:</p>
<div class="codecolorer-container csharp default" style="border:1px solid #9F9F9F;width:435px;"><div class="csharp codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #0600FF; font-weight: bold;">public</span> <span style="color: #0600FF; font-weight: bold;">override</span> <span style="color: #6666cc; font-weight: bold;">void</span> OnActionExecuting<span style="color: #008000;">&#40;</span>ActionExecutingContext filterContext<span style="color: #008000;">&#41;</span> <span style="color: #008000;">&#123;</span><br />
<span style="color: #008000;">....</span><br />
<span style="color: #008080; font-style: italic;">//move current position in the stream back to the beginning</span><br />
filterContext<span style="color: #008000;">.</span><span style="color: #0000FF;">HttpContext</span><span style="color: #008000;">.</span><span style="color: #0000FF;">Request</span><span style="color: #008000;">.</span><span style="color: #0000FF;">InputStream</span><span style="color: #008000;">.</span><span style="color: #0000FF;">Position</span> <span style="color: #008000;">=</span> <span style="color: #FF0000;">0</span><span style="color: #008000;">;</span><br />
<span style="color: #6666cc; font-weight: bold;">object</span> o <span style="color: #008000;">=</span> <a href="http://www.google.com/search?q=new+msdn.microsoft.com"><span style="color: #008000;">new</span></a> DataContractJsonSerializer<span style="color: #008000;">&#40;</span>RootType<span style="color: #008000;">&#41;</span><br />
<span style="color: #008000;">.</span><span style="color: #0000FF;">ReadObject</span><span style="color: #008000;">&#40;</span>filterContext<span style="color: #008000;">.</span><span style="color: #0000FF;">HttpContext</span><span style="color: #008000;">.</span><span style="color: #0000FF;">Request</span><span style="color: #008000;">.</span><span style="color: #0000FF;">InputStream</span><span style="color: #008000;">&#41;</span><span style="color: #008000;">;</span><br />
<span style="color: #008000;">&#125;</span></div></div>
<span id="pty_trigger"></span>]]></content:encoded>
			<wfw:commentRss>http://nali.org/asp-net-mvc-expecting-element-root-from-namespace-encountered-none-with-name-namespace/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Nick Cast Episode 17: Little Schezuan &amp; Pinkberry</title>
		<link>http://nali.org/nick-cast-episode-17-little-schezuan-pinkberry/</link>
		<comments>http://nali.org/nick-cast-episode-17-little-schezuan-pinkberry/#comments</comments>
		<pubDate>Sun, 03 Apr 2011 05:35:15 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Video Podcast]]></category>

		<guid isPermaLink="false">http://nali.org/?p=775</guid>
		<description><![CDATA[Chinese for dinner at Little Schezuan, frozen yogurt at Pinkberry for dessert.]]></description>
			<content:encoded><![CDATA[<p>Chinese for dinner at <a href="http://www.littleszechuanchefkongs.com/">Little Schezuan</a>, frozen yogurt at <a href="http://www.pinkberry.com/">Pinkberry</a> for dessert.</p>
<p><iframe src="http://player.vimeo.com/video/21865730?byline=0&amp;portrait=0" width="640" height="360" frameborder="0"></iframe></p>
<p><a href="http://www.urbanspoon.com/r/9/120284/restaurant/Atlanta/Little-Szechuan-Doraville"><img alt="Little Szechuan on Urbanspoon" src="http://nali.org/wp-content/uploads/2011/04/minilogo.gif" style="border:none;width:104px;height:15px" /></a></p>
<span id="pty_trigger"></span>]]></content:encoded>
			<wfw:commentRss>http://nali.org/nick-cast-episode-17-little-schezuan-pinkberry/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SQL Server: A network-related or instance-specific error occurred while establishing a connection to SQL Server</title>
		<link>http://nali.org/sql-server-a-network-related-or-instance-specific-error-occurred-while-establishing-a-connection-to-sql-server/</link>
		<comments>http://nali.org/sql-server-a-network-related-or-instance-specific-error-occurred-while-establishing-a-connection-to-sql-server/#comments</comments>
		<pubDate>Wed, 09 Mar 2011 02:25:06 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Microsoft]]></category>

		<guid isPermaLink="false">http://nali.org/?p=749</guid>
		<description><![CDATA[I spent pretty much all today wiping a desktop, and installing Windows 7, Visual Studio, and SQL Server Express 2010 on it. Talk about some form of hell. The WIndows 7 install went fine, The Visual Studio install went fine. The SQL Server Express install went fine. Thought I was in heaven. Yeah, right. So...]]></description>
			<content:encoded><![CDATA[<p><a href="http://nali.org/wp-content/uploads/2011/03/microsoft-sql-server-logo-e1299637229677.png"><img src="http://nali.org/wp-content/uploads/2011/03/microsoft-sql-server-logo-e1299637229677.png" alt="" title="Microsoft SQL Server" width="124" height="102" class="alignleft size-full wp-image-761" /></a>I spent pretty much all today wiping a desktop, and installing Windows 7, Visual Studio, and SQL Server Express 2010 on it. Talk about some form of hell. </p>
<p>The WIndows 7 install went fine, The Visual Studio install went fine. The SQL Server Express install went fine. Thought I was in heaven.</p>
<p>Yeah, right.</p>
<p>So I fire up SQL Server Management Studio and this is what I see:</p>
<p><img src="http://nali.org/wp-content/uploads/2011/03/Microsoft-SQL-Server-Express-2010-R2-1.png" alt="" title="Microsoft SQL Server Express 2010 R2 Connection Dialog" width="435" height="326" class="aligncenter size-full wp-image-753" /></p>
<p>Makes sense, I hit the Connect button. After about 5 seconds, I see get an error:</p>
<p><img src="http://nali.org/wp-content/uploads/2011/03/Microsoft-SQL-Server-Express-2010-R2-Network-related-connection-error.png" alt="" title="Microsoft SQL Server Express 2010 R2 Network Related Connection Error" width="634" height="202" class="aligncenter size-full wp-image-752" /></p>
<blockquote><p>A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 &#8211; Could not open a connection to SQL Server) (Microsoft SQL Server, Error: 2)</p>
<p>For help, click: http://go.microsoft.com/fwlink?ProdName=Microsoft+SQL+Server&#038;EvtSrc=MSSQLServer&#038;EvtID=2&#038;LinkId=20476</p></blockquote>
<p>Of course the information is correct, I&#8217;m on my local box, how can you not connect to it? Bah.<br />
<br />
Turns out, I got the server name wrong. It should be either &lt;MACHINENAME&gt;\SQLEXPRESS or .\SQLEXPRESS.</p>
<p><a href="http://nali.org/wp-content/uploads/2011/03/Microsoft-SQL-Server-Express-2010-R2-dot-sqlexpress-server-name.png"><img src="http://nali.org/wp-content/uploads/2011/03/Microsoft-SQL-Server-Express-2010-R2-dot-sqlexpress-server-name.png" alt="" title="Microsoft SQL Server Express 2010 R2 Dot SQLExpress Server Name" width="429" height="323" class="aligncenter size-full wp-image-751" /></a></p>
<p>Then it all works like magic.</p>
<span id="pty_trigger"></span>]]></content:encoded>
			<wfw:commentRss>http://nali.org/sql-server-a-network-related-or-instance-specific-error-occurred-while-establishing-a-connection-to-sql-server/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PHP: money_format and setLocale in Mac OS X vs Ubuntu</title>
		<link>http://nali.org/php-money_format-and-setlocale-mac-os-x-vs-ubuntu/</link>
		<comments>http://nali.org/php-money_format-and-setlocale-mac-os-x-vs-ubuntu/#comments</comments>
		<pubDate>Tue, 08 Mar 2011 01:17:17 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Coding]]></category>
		<category><![CDATA[Web Development]]></category>

		<guid isPermaLink="false">http://nali.org/?p=743</guid>
		<description><![CDATA[I had started working on a PHP project on my Macbook, which is running OS X Snow Leopard. With MAMP installed, I started plugging away. One of the requirements of the project was to display prices. Most users of the site would be in the US, so it was determined the currency should show up like...]]></description>
			<content:encoded><![CDATA[<p><a href="http://nali.org/wp-content/uploads/2011/03/PHP-logo.gif"><img src="http://nali.org/wp-content/uploads/2011/03/PHP-logo.gif" alt="" title="PHP Logo" width="95" height="51" class="alignright size-full wp-image-742" /></a>I had started working on a PHP project on my Macbook, which is running OS X Snow Leopard. With MAMP installed, I started plugging away. One of the requirements of the project was to display prices. Most users of the site would be in the US, so it was determined the currency should show up like $123.45.</p>
<p>On the Mac,</p>
<div class="codecolorer-container text default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">setlocale(LC_MONETARY, 'en_US');</div></div>
<p>worked perfectly fine. </p>
<p>To get the application ready, we decided to try it out on a test environment running Ubuntu 9.10 (don&#8217;t ask why its running Ubuntu 9.10). </p>
<p>Oddly, currency showed up like 123.45, without the dollar sign.</p>
<p>We thought maybe the &#8216;en_US&#8217; locale wasn&#8217;t installed on the machine. To check, we did:</p>
<div class="codecolorer-container text default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">testme@meg:~$ locale -a<br />
C<br />
en_AG<br />
en_AU.utf8<br />
.<br />
.<br />
.<br />
en_US.utf8<br />
en_ZA.utf8<br />
en_ZW.utf8<br />
POSIX</div></div>
<p>Oops, in Ubuntu, its &#8216;en_US.utf8&#8242;. Doing a</p>
<div class="codecolorer-container text default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">setlocale(LC_MONETARY, 'en_US.utf8');</div></div>
<p>now allows money_format to work properly.</p>
<span id="pty_trigger"></span>]]></content:encoded>
			<wfw:commentRss>http://nali.org/php-money_format-and-setlocale-mac-os-x-vs-ubuntu/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Nick Cast Episode 16: Valentine’s Day</title>
		<link>http://nali.org/nick-cast-episode-15-valentines-day/</link>
		<comments>http://nali.org/nick-cast-episode-15-valentines-day/#comments</comments>
		<pubDate>Tue, 15 Feb 2011 17:20:03 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Video Podcast]]></category>

		<guid isPermaLink="false">http://nali.org/?p=739</guid>
		<description><![CDATA[Steak, grilled zucchini and mushrooms, plus chocolate covered strawberries for Valentine&#8217;s Day.]]></description>
			<content:encoded><![CDATA[<p>Steak, grilled zucchini and mushrooms, plus chocolate covered strawberries for Valentine&#8217;s Day.</p>
<p><iframe src="http://player.vimeo.com/video/19979388?byline=0&amp;portrait=0" width="640" height="360" frameborder="0"></iframe></p>
<span id="pty_trigger"></span>]]></content:encoded>
			<wfw:commentRss>http://nali.org/nick-cast-episode-15-valentines-day/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Nick Cast Episode 15: Bacon Toothpaste, Die Hard 5</title>
		<link>http://nali.org/nick-cast-episode-15-bacon-toothpaste-die-hard-5/</link>
		<comments>http://nali.org/nick-cast-episode-15-bacon-toothpaste-die-hard-5/#comments</comments>
		<pubDate>Mon, 14 Feb 2011 05:30:29 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Video Podcast]]></category>

		<guid isPermaLink="false">http://nali.org/?p=735</guid>
		<description><![CDATA[Sunday, February 13, 2011, talking bacon toothpaste, Die Hard 5, and reelizer.com]]></description>
			<content:encoded><![CDATA[<p>Sunday, February 13, 2011, talking bacon toothpaste, Die Hard 5, and reelizer.com</p>
<p><iframe src="http://player.vimeo.com/video/19916359?byline=0&amp;portrait=0" width="640" height="360" frameborder="0"></iframe></p>
<span id="pty_trigger"></span>]]></content:encoded>
			<wfw:commentRss>http://nali.org/nick-cast-episode-15-bacon-toothpaste-die-hard-5/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Nick Cast Episode 14: Ikea, Yeah! Burger, Yoforia</title>
		<link>http://nali.org/nick-cast-episode-14-ikea-yeah-burger-yoforia/</link>
		<comments>http://nali.org/nick-cast-episode-14-ikea-yeah-burger-yoforia/#comments</comments>
		<pubDate>Sun, 13 Feb 2011 08:04:42 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Video Podcast]]></category>

		<guid isPermaLink="false">http://nali.org/?p=730</guid>
		<description><![CDATA[Plain ol&#8217; videoblog of my day, Saturday, February 13th. Talking about my day, and trips to Ikea, Yeah! Burger, and Yoforia. Um, excuse the crappy camera work and me not knowing the date. Posted on Vimeo and YouTube.]]></description>
			<content:encoded><![CDATA[<p>Plain ol&#8217; videoblog of my day, Saturday, February 13th.</p>
<p>Talking about my day, and trips to Ikea, Yeah! Burger, and Yoforia. </p>
<p>Um, excuse the crappy camera work and me not knowing the date.</p>
<p><iframe src="http://player.vimeo.com/video/19884872?title=0&amp;byline=0&amp;portrait=0" width="640" height="360" frameborder="0"></iframe></p>
<p>Posted on <a href="http://http://vimeo.com/19884872">Vimeo</a> and <a href="http://www.youtube.com/watch?v=izqRGb0ySLQ">YouTube</a>.</p>
<span id="pty_trigger"></span>]]></content:encoded>
			<wfw:commentRss>http://nali.org/nick-cast-episode-14-ikea-yeah-burger-yoforia/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Magento Fix: Voted Polls Disappear from Sidebar</title>
		<link>http://nali.org/magento-fix-voted-polls-disappear-from-sidebar/</link>
		<comments>http://nali.org/magento-fix-voted-polls-disappear-from-sidebar/#comments</comments>
		<pubDate>Thu, 10 Feb 2011 03:52:44 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Magento]]></category>
		<category><![CDATA[Web Development]]></category>

		<guid isPermaLink="false">http://nali.org/?p=722</guid>
		<description><![CDATA[Working on a Magento 1.4.2 CE instance today, the client said they had set up polls earlier this week, but now they disappeared from the sidebar. Trying to replicate it, I noticed that there is a &#8220;Disallow Voting in a Poll Multiple Times from Same IP-address&#8221; under System->Web->Polls. I assumed if you set that to...]]></description>
			<content:encoded><![CDATA[<p><a href="http://nali.org/wp-content/uploads/2010/10/magento_chicklets_03.png"><img src="http://nali.org/wp-content/uploads/2010/10/magento_chicklets_03.png" alt="" title="Magento" width="45" height="45" class="alignleft size-full wp-image-584" /></a>Working on a Magento 1.4.2 CE instance today, the client said they had set up polls earlier this week, but now they disappeared from the sidebar. Trying to replicate it, I noticed that there is a &#8220;Disallow Voting in a Poll Multiple Times from Same IP-address&#8221; under System->Web->Polls. I assumed if you set that to No, the polls would stay in the sidebar, showing the results even if a visitor voted. </p>
<p>Testing it out myself, thats clearly not how it works. </p>
<p>Digging around in the code, in the Mage_Poll_Block_ActivePoll constructor</p>
<div class="codecolorer-container php default" style="border:1px solid #9F9F9F;width:435px;"><div class="php codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #666666; font-style: italic;">// get random not voted yet poll</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000088;">$votedIds</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$pollModel</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">getVotedPollsIds</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000088;">$pollId</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$pollModel</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">setExcludeFilter</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$votedIds</span><span style="color: #009900;">&#41;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #339933;">-&gt;</span><span style="color: #004000;">setStoreFilter</span><span style="color: #009900;">&#40;</span>Mage<span style="color: #339933;">::</span><span style="color: #004000;">app</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">getStore</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">getId</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #339933;">-&gt;</span><span style="color: #004000;">getRandomId</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></div></div>
<p>So, to figure out which polls to display, Magento figures out which polls the user voted in already, and ignores them. If there is only one poll, and the user voted, they won&#8217;t see any polls. </p>
<p>There are a couple of options here. Either set $votedIds to an empty array or comment out most of getVotedPollsIds. getVotedPollsIds doesn&#8217;t seem to be used anywhere else, so I decided to comment it out by first copying app/code/core/Mage/Poll/Model/Poll.php to app/code/local/Mage/Poll/Model/Poll.php, and making sure getVotedPollsIds returns an empty array.</p>
<p><a href="http://nali.org/category/web-development/magento/">See more of my Magento posts</a>.</p>
<span id="pty_trigger"></span>]]></content:encoded>
			<wfw:commentRss>http://nali.org/magento-fix-voted-polls-disappear-from-sidebar/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Magento: PHP Fatal error Undefined class constant ‘TYPE_CONDITION’ Abstract.php on line 296</title>
		<link>http://nali.org/magento-php-fatal-error-undefined-class-constant-%e2%80%98type_condition%e2%80%99-abstract-php-on-line-296/</link>
		<comments>http://nali.org/magento-php-fatal-error-undefined-class-constant-%e2%80%98type_condition%e2%80%99-abstract-php-on-line-296/#comments</comments>
		<pubDate>Sun, 30 Jan 2011 03:56:19 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Magento]]></category>
		<category><![CDATA[Web Development]]></category>

		<guid isPermaLink="false">http://nali.org/?p=710</guid>
		<description><![CDATA[This is what happens when you don&#8217;t pay attention. I was working on a project that started out when Magento 1.4.1.1 was the latest stable version. There is a bit of development left, but I decided to upgrade the install to 1.4.2 via subversion. I go get some coffee, come back, and assume the upgrade...]]></description>
			<content:encoded><![CDATA[<p><a href="http://nali.org/wp-content/uploads/2010/10/magento_chicklets_03.png"><img src="http://nali.org/wp-content/uploads/2010/10/magento_chicklets_03.png" alt="" title="Magento" width="45" height="45" class="alignright size-full wp-image-584" /></a>This is what happens when you don&#8217;t pay attention. I was working on a project that started out when Magento 1.4.1.1 was the latest stable version. There is a bit of development left, but I decided to upgrade the install to 1.4.2 via subversion. I go get some coffee, come back, and assume the upgrade is done.</p>
<p>Then I try to load the homepage, and I get a blank screen. Eh, ok. Time to display errors by commenting the following line in index.php.</p>
<div class="codecolorer-container php default" style="border:1px solid #9F9F9F;width:435px;"><div class="php codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><a href="http://www.php.net/ini_set"><span style="color: #990000;">ini_set</span></a><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'display_errors'</span><span style="color: #339933;">,</span> <span style="color: #cc66cc;">1</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></div></div>
<p>Lets see what the logs say:</p>
<div class="codecolorer-container bash default" style="border:1px solid #9F9F9F;width:435px;"><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">PHP Fatal error: &nbsp;Undefined class constant ‘TYPE_CONDITION’ <span style="color: #000000; font-weight: bold;">in</span> <span style="color: #000000; font-weight: bold;">/</span>home<span style="color: #000000; font-weight: bold;">/</span>dev<span style="color: #000000; font-weight: bold;">/</span>app<span style="color: #000000; font-weight: bold;">/</span>code<span style="color: #000000; font-weight: bold;">/</span>core<span style="color: #000000; font-weight: bold;">/</span>Mage<span style="color: #000000; font-weight: bold;">/</span>Eav<span style="color: #000000; font-weight: bold;">/</span>Model<span style="color: #000000; font-weight: bold;">/</span>Entity<span style="color: #000000; font-weight: bold;">/</span>Collection<span style="color: #000000; font-weight: bold;">/</span>Abstract.php on line <span style="color: #000000;">296</span></div></div>
<p>Well, what exactly is the code throwing this error? In Abstract.php:</p>
<div class="codecolorer-container php default" style="border:1px solid #9F9F9F;width:435px;"><div class="php codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span><span style="color: #339933;">!</span><a href="http://www.php.net/empty"><span style="color: #990000;">empty</span></a><span style="color: #009900;">&#40;</span><span style="color: #000088;">$conditionSql</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000088;">$this</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">getSelect</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">where</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$conditionSql</span><span style="color: #339933;">,</span> <span style="color: #009900; font-weight: bold;">null</span><span style="color: #339933;">,</span> <br />
Varien_Db_Select<span style="color: #339933;">::</span><span style="color: #004000;">TYPE_CONDITION</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #009900;">&#125;</span> <span style="color: #b1b100;">else</span> <span style="color: #009900;">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Mage<span style="color: #339933;">::</span><span style="color: #004000;">throwException</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'Invalid attribute identifier for filter ('</span><span style="color: #339933;">.</span><a href="http://www.php.net/get_class"><span style="color: #990000;">get_class</span></a><span style="color: #009900;">&#40;</span><span style="color: #000088;">$attribute</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">.</span><span style="color: #0000ff;">')'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #009900;">&#125;</span><br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #b1b100;">return</span> <span style="color: #000088;">$this</span><span style="color: #339933;">;</span><br />
&nbsp; &nbsp; <span style="color: #009900;">&#125;</span></div></div>
<p>How can Varien_Db_Select::TYPE_CONDITION not exist? I looked at my Varien/DB/Select.php and there was no TYPE_CONDITION. Then I looked at <a href="http://docs.magentocommerce.com/Varien/Varien_Db/Varien_Db_Select.html">Varien_Db_Select in the Magento docs</a>, and it was there. Weird.</p>
<p>Then I looked back at the terminal which was doing Subversion update, and noticed that there was an error. Apparently my Internet connection had died and the update didn&#8217;t complete. Ugh.</p>
<p>After restarting the Subversion update, I look at Varien_Db_Select:</p>
<div class="codecolorer-container php default" style="border:1px solid #9F9F9F;width:435px;"><div class="php codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #000000; font-weight: bold;">class</span> Varien_Db_Select <span style="color: #000000; font-weight: bold;">extends</span> Zend_Db_Select<br />
<span style="color: #009900;">&#123;</span><br />
&nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">const</span> TYPE_CONDITION &nbsp; &nbsp;<span style="color: #339933;">=</span> <span style="color: #0000ff;">'TYPE_CONDITION'</span><span style="color: #339933;">;</span><br />
<br />
&nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">const</span> STRAIGHT_JOIN_ON &nbsp;<span style="color: #339933;">=</span> <span style="color: #0000ff;">'straight_join'</span><span style="color: #339933;">;</span><br />
&nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">const</span> STRAIGHT_JOIN &nbsp; &nbsp; <span style="color: #339933;">=</span> <span style="color: #0000ff;">'straightjoin'</span><span style="color: #339933;">;</span><br />
&nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">const</span> SQL_STRAIGHT_JOIN <span style="color: #339933;">=</span> <span style="color: #0000ff;">'STRAIGHT_JOIN'</span><span style="color: #339933;">;</span></div></div>
<p>There it is.</p>
<p>Moral of the story. Make sure your updates actually complete before making such an assumption.</p>
<span id="pty_trigger"></span>]]></content:encoded>
			<wfw:commentRss>http://nali.org/magento-php-fatal-error-undefined-class-constant-%e2%80%98type_condition%e2%80%99-abstract-php-on-line-296/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ubuntu 10.04 &amp; Node.js – wscript:138: error: could not configure a cxx compiler!</title>
		<link>http://nali.org/ubuntu-10-04-node-js-wscript138-error-could-not-configure-a-cxx-compiler/</link>
		<comments>http://nali.org/ubuntu-10-04-node-js-wscript138-error-could-not-configure-a-cxx-compiler/#comments</comments>
		<pubDate>Mon, 03 Jan 2011 22:30:00 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Coding]]></category>
		<category><![CDATA[Web Development]]></category>

		<guid isPermaLink="false">http://nali.org/?p=701</guid>
		<description><![CDATA[Wanting to learn more about node.js, I grabbed the latest stable branch of the source code and tried to install it on my Ubuntu 10.04 dev box. Simply doing a ./configure returned the following: nali@nali-desktop:~/dev/nodejs/node-v0.2.6$ ./configure Checking for program g++ or c++ &#160; &#160; &#160; &#160; &#160;: not found Checking for program icpc &#160; &#160;...]]></description>
			<content:encoded><![CDATA[<p><img src="http://nali.org/wp-content/uploads/2011/01/NodeJS.png" alt="" title="Ubuntu 10.04 &amp; Node.js - wscript:138: error: could not configure a cxx compiler!" width="420" height="111" class="aligncenter size-full wp-image-703" /></p>
<p>Wanting to learn more about <a href="http://nodejs.org/">node.js</a>, I grabbed the latest stable branch of the source code and tried to install it on my Ubuntu 10.04 dev box. Simply doing a ./configure returned the following:</p>
<div class="codecolorer-container bash default" style="border:1px solid #9F9F9F;width:435px;"><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">nali<span style="color: #000000; font-weight: bold;">@</span>nali-desktop:~<span style="color: #000000; font-weight: bold;">/</span>dev<span style="color: #000000; font-weight: bold;">/</span>nodejs<span style="color: #000000; font-weight: bold;">/</span>node-v0.2.6$ .<span style="color: #000000; font-weight: bold;">/</span>configure<br />
Checking <span style="color: #000000; font-weight: bold;">for</span> program <span style="color: #c20cb9; font-weight: bold;">g++</span> or <span style="color: #c20cb9; font-weight: bold;">c++</span> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;: not found <br />
Checking <span style="color: #000000; font-weight: bold;">for</span> program icpc &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;: not found <br />
Checking <span style="color: #000000; font-weight: bold;">for</span> program <span style="color: #c20cb9; font-weight: bold;">c++</span> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; : not found <br />
<span style="color: #000000; font-weight: bold;">/</span>home<span style="color: #000000; font-weight: bold;">/</span>nali<span style="color: #000000; font-weight: bold;">/</span>dev<span style="color: #000000; font-weight: bold;">/</span>nodejs<span style="color: #000000; font-weight: bold;">/</span>node-v0.2.6<span style="color: #000000; font-weight: bold;">/</span>wscript:<span style="color: #000000;">138</span>: error: could not configure a cxx compiler<span style="color: #000000; font-weight: bold;">!</span></div></div>
<p>Oh oops, no compiler has been installed. There are a couple different ways to proceed: (1) either install only the packages needed, or (2) wuss out and install build-essentials which will load all the necessary packages and some extra ones for general development. I prefer to wuss out, so I do:</p>
<div class="codecolorer-container bash default" style="border:1px solid #9F9F9F;width:435px;"><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #666666;">nali@nali-desktop:~/dev/nodejs/node-v0.2.6$ </span><span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">apt-get install</span> build-essential</div></div>
<p>After all that installs, I try ./configure again, only to get:</p>
<div class="codecolorer-container bash default" style="border:1px solid #9F9F9F;width:435px;"><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">Checking <span style="color: #000000; font-weight: bold;">for</span> program <span style="color: #c20cb9; font-weight: bold;">g++</span> or <span style="color: #c20cb9; font-weight: bold;">c++</span> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;: <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>bin<span style="color: #000000; font-weight: bold;">/</span><span style="color: #c20cb9; font-weight: bold;">g++</span> <br />
Checking <span style="color: #000000; font-weight: bold;">for</span> program <span style="color: #c20cb9; font-weight: bold;">cpp</span> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; : <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>bin<span style="color: #000000; font-weight: bold;">/</span><span style="color: #c20cb9; font-weight: bold;">cpp</span> <br />
Checking <span style="color: #000000; font-weight: bold;">for</span> program <span style="color: #c20cb9; font-weight: bold;">ar</span> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;: <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>bin<span style="color: #000000; font-weight: bold;">/</span><span style="color: #c20cb9; font-weight: bold;">ar</span> <br />
Checking <span style="color: #000000; font-weight: bold;">for</span> program ranlib &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;: <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>bin<span style="color: #000000; font-weight: bold;">/</span>ranlib <br />
Checking <span style="color: #000000; font-weight: bold;">for</span> <span style="color: #c20cb9; font-weight: bold;">g++</span> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; : ok &nbsp;<br />
Checking <span style="color: #000000; font-weight: bold;">for</span> program <span style="color: #c20cb9; font-weight: bold;">gcc</span> or <span style="color: #c20cb9; font-weight: bold;">cc</span> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; : <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>bin<span style="color: #000000; font-weight: bold;">/</span><span style="color: #c20cb9; font-weight: bold;">gcc</span> <br />
Checking <span style="color: #000000; font-weight: bold;">for</span> program <span style="color: #c20cb9; font-weight: bold;">ar</span> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;: <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>bin<span style="color: #000000; font-weight: bold;">/</span><span style="color: #c20cb9; font-weight: bold;">ar</span> <br />
Checking <span style="color: #000000; font-weight: bold;">for</span> program ranlib &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;: <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>bin<span style="color: #000000; font-weight: bold;">/</span>ranlib <br />
Checking <span style="color: #000000; font-weight: bold;">for</span> <span style="color: #c20cb9; font-weight: bold;">gcc</span> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; : ok &nbsp;<br />
Checking <span style="color: #000000; font-weight: bold;">for</span> library dl &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;: <span style="color: #c20cb9; font-weight: bold;">yes</span> <br />
Checking <span style="color: #000000; font-weight: bold;">for</span> openssl &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; : not found <br />
Checking <span style="color: #000000; font-weight: bold;">for</span> <span style="color: #000000; font-weight: bold;">function</span> SSL_library_init &nbsp; : not found <br />
Checking <span style="color: #000000; font-weight: bold;">for</span> header openssl<span style="color: #000000; font-weight: bold;">/</span>crypto.h &nbsp; &nbsp; : not found <br />
<span style="color: #000000; font-weight: bold;">/</span>home<span style="color: #000000; font-weight: bold;">/</span>nali<span style="color: #000000; font-weight: bold;">/</span>dev<span style="color: #000000; font-weight: bold;">/</span>nodejs<span style="color: #000000; font-weight: bold;">/</span>node-v0.2.6<span style="color: #000000; font-weight: bold;">/</span>wscript:<span style="color: #000000;">195</span>: error: Could not autodetect OpenSSL support. Make sure OpenSSL development packages are installed. Use configure <span style="color: #660033;">--without-ssl</span> to disable this message.</div></div>
<p>Bah, the SSL packages haven&#8217;t been installed yet. Do a:</p>
<div class="codecolorer-container bash default" style="border:1px solid #9F9F9F;width:435px;"><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #666666;">nali@nali-desktop:~/dev/nodejs/node-v0.2.6$ </span><span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">apt-get install</span> libssl-dev</div></div>
<p>And then you can do a &#8216;make; sudo make install; make test&#8217; to get it all running.</p>
<span id="pty_trigger"></span>]]></content:encoded>
			<wfw:commentRss>http://nali.org/ubuntu-10-04-node-js-wscript138-error-could-not-configure-a-cxx-compiler/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ImageMagick: Batch Crop and Rename Files</title>
		<link>http://nali.org/imagemagick-batch-crop-and-rename-files/</link>
		<comments>http://nali.org/imagemagick-batch-crop-and-rename-files/#comments</comments>
		<pubDate>Fri, 17 Dec 2010 05:30:32 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Web Development]]></category>

		<guid isPermaLink="false">http://nali.org/?p=688</guid>
		<description><![CDATA[There are many better ways to do this, but here is one method if you need to do a quick and dirty jobs of cropping and renaming a bunch of files in a batch with ImageMagick. Quick little background. Even though I&#8217;ve got a Macbook, if I have to look at code, I&#8217;m usually on...]]></description>
			<content:encoded><![CDATA[<p>There are many better ways to do this, but here is one method if you need to do a quick and dirty jobs of cropping and renaming a bunch of files in a batch with ImageMagick.</p>
<p><img src="http://nali.org/wp-content/uploads/2010/12/imagemagick.jpg" alt="" title="ImageMagick" width="114" height="118" class="alignright size-full wp-image-691" />Quick little background. Even though I&#8217;ve got a Macbook, if I have to look at code, I&#8217;m usually on a desktop thats running Ubuntu 10.04. We host client sites on servers running Ubuntu 10.04, so its best to write code in that environment. So today, after finishing up code for a Magento site, I needed to upload a set of fabric swatches that would be used with configurable products. The client provided images for the fabric swatches, but they were all different sizes. All I needed was a 60x60px selection of each image and the filenames to be something descriptive with the image size. </p>
<p>Of course, this can be done pretty easily in Photoshop. I&#8217;m sure there is some plugin for it, but you can record an action, and run it against a batch of files. The problem was that I didn&#8217;t want to hop on my Macbook just to crop and rename files. </p>
<p>Since I was on an Ubuntu machine, my first gut reaction was to fire up Gimp and see if I could do it. Turns out there is a plugin called <a href="http://members.ozemail.com.au/~hodsond/dbp.html">David&#8217;s Batch Processor</a> that pretty much does that. Ubuntu has the plugin in the repository, just search for &#8216;gimp-plugin-registry&#8217; in Synaptic. Gimp also supports scripting, but the scripting language is Scheme-like, and I didn&#8217;t want to recall knowledge from freshman year in college to do this.</p>
<p>Then I remembered <a href="http://www.imagemagick.org/">ImageMagick</a>. While ImageMagick has a GUI for image manipulation, its got a powerful CLI that lets you do pretty much anything you want to do. So no need to open up a big honkin&#8217; application just to do some basic cropping and renaming. </p>
<p>So save the following code in the directory of the files you want cropped and renamed and run it:</p>
<div class="codecolorer-container bash default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #666666; font-style: italic;">#!/bin/bash</span><br />
<span style="color: #007800;">width</span>=<span style="color: #000000;">60</span>;<br />
<span style="color: #007800;">height</span>=<span style="color: #000000;">60</span>;<br />
<span style="color: #007800;">x_offset</span>=<span style="color: #000000;">10</span>;<br />
<span style="color: #007800;">y_offset</span>=<span style="color: #000000;">5</span>;<br />
<span style="color: #007800;">filelist</span>=<span style="color: #000000; font-weight: bold;">`</span><span style="color: #c20cb9; font-weight: bold;">ls</span> <span style="color: #000000; font-weight: bold;">|</span> <span style="color: #c20cb9; font-weight: bold;">grep</span> <span style="color: #ff0000;">'.jpg'</span><span style="color: #000000; font-weight: bold;">`</span><br />
<span style="color: #000000; font-weight: bold;">for</span> image_file <span style="color: #000000; font-weight: bold;">in</span> <span style="color: #007800;">$filelist</span><br />
<span style="color: #000000; font-weight: bold;">do</span><br />
&nbsp; <span style="color: #007800;">preextensionfilename</span>=<span style="color: #000000; font-weight: bold;">`</span>convert <span style="color: #007800;">$image_file</span> <span style="color: #660033;">-format</span> <span style="color: #ff0000;">&quot;%t&quot;</span> info:<span style="color: #000000; font-weight: bold;">`</span><br />
&nbsp; convert <span style="color: #007800;">$image_file</span> <span style="color: #660033;">-crop</span> <span style="color: #800000;">${width}</span>x<span style="color: #800000;">${height}</span>+<span style="color: #800000;">${x_offset}</span>+<span style="color: #800000;">${y_offset}</span> \<br />
&nbsp; &nbsp; <span style="color: #800000;">${preextensionfilename}</span>_<span style="color: #800000;">${width}</span>x<span style="color: #800000;">${height}</span>.jpg<br />
<span style="color: #000000; font-weight: bold;">done</span></div></div>
<p>Most of this should be pretty self-explanatory. Up top we define what sizes we want the images to be cropped to and from where in the image we want to crop. Then we grab a list of all the files we want to crop, and grab the filename before the extension (to be used for saving the new files). The convert command is what actually does the cropping and saving the files with the new names, in this case, something like oldgold_60x60.jpg.</p>
<p>The script is most definitely not robust, but hopefully it will be a good starting off point for some.</p>
<span id="pty_trigger"></span>]]></content:encoded>
			<wfw:commentRss>http://nali.org/imagemagick-batch-crop-and-rename-files/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Magento: syntax error, unexpected T_NAMESPACE, expecting T_STRING</title>
		<link>http://nali.org/magento-syntax-error-unexpected-t_namespace-expecting-t_string/</link>
		<comments>http://nali.org/magento-syntax-error-unexpected-t_namespace-expecting-t_string/#comments</comments>
		<pubDate>Tue, 14 Dec 2010 21:47:30 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Magento]]></category>
		<category><![CDATA[Web Development]]></category>
		<category><![CDATA[planetubuntu]]></category>

		<guid isPermaLink="false">http://nali.org/?p=678</guid>
		<description><![CDATA[Isn&#8217;t it fun hunting down bugs? Today, I noticed a community Magento extension that I was trying out would only partly output what it was supposed to. Digging into the Apache error logs, I see this: PHP Parse error: &#160;syntax error, unexpected T_NAMESPACE, expecting T_STRING in /home/foo/magento/app/code/community/bar/ProductPageShipping/Model/Session.php on line 26 The problem code was class...]]></description>
			<content:encoded><![CDATA[<p><img src="http://nali.org/wp-content/uploads/2010/10/magento_chicklets_03.png" alt="" title="Magento" width="45" height="45" class="alignright size-full wp-image-584" />Isn&#8217;t it fun hunting down bugs? Today, I noticed a community Magento extension that I was trying out would only partly output what it was supposed to. Digging into the Apache error logs, I see this:</p>
<div class="codecolorer-container text default" style="border:1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">PHP Parse error: &nbsp;syntax error, unexpected T_NAMESPACE, expecting T_STRING in /home/foo/magento/app/code/community/bar/ProductPageShipping/Model/Session.php on line 26</div></div>
<p>The problem code was</p>
<div class="codecolorer-container php default" style="border:1px solid #9F9F9F;width:435px;"><div class="php codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #000000; font-weight: bold;">class</span> Qux_ProductPageShipping_Model_Session <span style="color: #000000; font-weight: bold;">extends</span> Mage_Core_Model_Session_Abstract<br />
<span style="color: #009900;">&#123;</span><br />
&nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">const</span> <span style="color: #000000; font-weight: bold;">NAMESPACE</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">'productpageshipping'</span><span style="color: #339933;">;</span><br />
<br />
&nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">public</span> <span style="color: #000000; font-weight: bold;">function</span> __construct<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><br />
&nbsp; &nbsp; <span style="color: #009900;">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000088;">$this</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">init</span><span style="color: #009900;">&#40;</span><span style="color: #000000; font-weight: bold;">self</span><span style="color: #339933;">::</span><span style="color: #000000; font-weight: bold;">NAMESPACE</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
&nbsp; &nbsp; <span style="color: #009900;">&#125;</span><br />
<span style="color: #009900;">&#125;</span></div></div>
<p>Doesn&#8217;t look problematic&#8230;unless you are running PHP 5.3. In PHP 5.3, <a href="http://www.php.net/manual/en/language.namespaces.php">namespace is a reserved keyword</a>. Oops.</p>
<p>Renaming NAMESPACE to anything will work in this instance:</p>
<div class="codecolorer-container php default" style="border:1px solid #9F9F9F;width:435px;"><div class="php codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #000000; font-weight: bold;">class</span> Qux_ProductPageShipping_Model_Session <span style="color: #000000; font-weight: bold;">extends</span> Mage_Core_Model_Session_Abstract<br />
<span style="color: #009900;">&#123;</span><br />
&nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">const</span> HELLO_WORLD_NAMESPACE <span style="color: #339933;">=</span> <span style="color: #0000ff;">'productpageshipping'</span><span style="color: #339933;">;</span><br />
<br />
&nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">public</span> <span style="color: #000000; font-weight: bold;">function</span> __construct<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><br />
&nbsp; &nbsp; <span style="color: #009900;">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000088;">$this</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">init</span><span style="color: #009900;">&#40;</span><span style="color: #000000; font-weight: bold;">self</span><span style="color: #339933;">::</span><span style="color: #004000;">HELLO_WORLD_NAMESPACE</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
&nbsp; &nbsp; <span style="color: #009900;">&#125;</span><br />
<span style="color: #009900;">&#125;</span></div></div>
<p>Tada!</p>
<p><a href="http://nali.org/category/web-development/magento/">See more of my Magento posts</a>.</p>
<span id="pty_trigger"></span>]]></content:encoded>
			<wfw:commentRss>http://nali.org/magento-syntax-error-unexpected-t_namespace-expecting-t_string/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Nick Cast Episode #13: Shanghai Bund Sightseeing Tunnel</title>
		<link>http://nali.org/nick-cast-episode-13-shanghai-bund-sightseeing-tunnel/</link>
		<comments>http://nali.org/nick-cast-episode-13-shanghai-bund-sightseeing-tunnel/#comments</comments>
		<pubDate>Wed, 01 Dec 2010 16:20:26 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[China]]></category>
		<category><![CDATA[Travel]]></category>

		<guid isPermaLink="false">http://nali.org/?p=673</guid>
		<description><![CDATA[I have no way of actually describing this ride. Its basically a ride through a tunnel to cross the Hangpu River in Shanghai. Its all&#8230;umm&#8230; psychedelic.]]></description>
			<content:encoded><![CDATA[<p>I have no way of actually describing this ride. Its basically a ride through a tunnel to cross the Hangpu River in Shanghai. Its all&#8230;umm&#8230; psychedelic. </p>
<p><iframe src="http://player.vimeo.com/video/17368660?byline=0&amp;portrait=0" width="640" height="360" frameborder="0"></iframe></p>
<span id="pty_trigger"></span>]]></content:encoded>
			<wfw:commentRss>http://nali.org/nick-cast-episode-13-shanghai-bund-sightseeing-tunnel/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Nick Cast Episode #12: Shanghai Maglev Train</title>
		<link>http://nali.org/nick-cast-episode-12-shanghai-maglev-train/</link>
		<comments>http://nali.org/nick-cast-episode-12-shanghai-maglev-train/#comments</comments>
		<pubDate>Wed, 01 Dec 2010 16:14:25 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[China]]></category>
		<category><![CDATA[Travel]]></category>

		<guid isPermaLink="false">http://nali.org/?p=666</guid>
		<description><![CDATA[The wife and I spent a few days in China, visiting Shangai, Xi&#8217;an, and Beijing. This is the first in a few video clips from the trip. When leaving Shanghai, we hopped on the maglev train to go to Pudong Airport. It took around 8 minutes to go 18 miles. Not too shabby. You get...]]></description>
			<content:encoded><![CDATA[<p>The wife and I spent a few days in China, visiting Shangai, Xi&#8217;an, and Beijing. This is the first in a few video clips from the trip. </p>
<p>When leaving Shanghai, we hopped on the maglev train to go to Pudong Airport. It took around 8 minutes to go 18 miles. Not too shabby. </p>
<p>You get to see the different bits and pieces of China as you ride the maglev train:</p>
<p><iframe src="http://player.vimeo.com/video/17368169?byline=0&amp;portrait=0" width="640" height="360" frameborder="0"></iframe></p>
<span id="pty_trigger"></span>]]></content:encoded>
			<wfw:commentRss>http://nali.org/nick-cast-episode-12-shanghai-maglev-train/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Nick Cast Episode 11: #vlomo10 Day 9</title>
		<link>http://nali.org/nick-cast-episode-11-vlomo10-day-9/</link>
		<comments>http://nali.org/nick-cast-episode-11-vlomo10-day-9/#comments</comments>
		<pubDate>Wed, 10 Nov 2010 05:24:01 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Video Podcast]]></category>
		<category><![CDATA[vlomo10]]></category>

		<guid isPermaLink="false">http://nali.org/?p=662</guid>
		<description><![CDATA[Grabbing some dinner with Josh Chase at a snazzy Taco Bell, talking about dieting and how hot dogs are made.]]></description>
			<content:encoded><![CDATA[<p><iframe src="http://player.vimeo.com/video/16683213?byline=0&amp;portrait=0" width="640" height="360" frameborder="0"></iframe></p>
<p>Grabbing some dinner with <a href="http://joshcaza.com">Josh Chase</a> at a snazzy Taco Bell, talking about dieting and how hot dogs are made.</p>
<span id="pty_trigger"></span>]]></content:encoded>
			<wfw:commentRss>http://nali.org/nick-cast-episode-11-vlomo10-day-9/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Nick Cast Episode 10: #vlomo10 Day 8, Flip Burger and SBW Crew</title>
		<link>http://nali.org/nick-cast-episode-10-vlomo10-day-8-flip-burger-and-sbw-crew/</link>
		<comments>http://nali.org/nick-cast-episode-10-vlomo10-day-8-flip-burger-and-sbw-crew/#comments</comments>
		<pubDate>Tue, 09 Nov 2010 16:49:08 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Video Podcast]]></category>
		<category><![CDATA[vlomo10]]></category>

		<guid isPermaLink="false">http://nali.org/?p=656</guid>
		<description><![CDATA[At Flip Burger with @joshcaza, @nicdev, @JohnAgan, and @dannyoutlaw, some car flashiness, and Old Navy.]]></description>
			<content:encoded><![CDATA[<p><iframe src="http://player.vimeo.com/video/16642927" width="640" height="360" frameborder="0"></iframe></p>
<p>At Flip Burger with @joshcaza, @nicdev, @JohnAgan, and @dannyoutlaw, some car flashiness, and Old Navy.</p>
<span id="pty_trigger"></span>]]></content:encoded>
			<wfw:commentRss>http://nali.org/nick-cast-episode-10-vlomo10-day-8-flip-burger-and-sbw-crew/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Nick Cast Episode 9: #vlomo10 Day 7</title>
		<link>http://nali.org/nick-cast-episode-9-vlomo10-day-7/</link>
		<comments>http://nali.org/nick-cast-episode-9-vlomo10-day-7/#comments</comments>
		<pubDate>Mon, 08 Nov 2010 06:06:00 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Video Podcast]]></category>
		<category><![CDATA[vlomo10]]></category>

		<guid isPermaLink="false">http://nali.org/?p=653</guid>
		<description><![CDATA[Old cupcakes, Chloe the cat with plastic bags and in the shower. Music: Test Drive by Zapac]]></description>
			<content:encoded><![CDATA[<p><iframe src="http://player.vimeo.com/video/16607563" width="640" height="360" frameborder="0"></iframe></p>
<p>Old cupcakes, Chloe the cat with plastic bags and in the shower.</p>
<p>Music: <a href="http://ccmixter.org/files/Zapac/26047">Test Drive by Zapac</a></p>
<span id="pty_trigger"></span>]]></content:encoded>
			<wfw:commentRss>http://nali.org/nick-cast-episode-9-vlomo10-day-7/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Nick Cast Episode 8: #vlomo10 Day 6</title>
		<link>http://nali.org/nick-cast-episode-8-vlomo10-day-6/</link>
		<comments>http://nali.org/nick-cast-episode-8-vlomo10-day-6/#comments</comments>
		<pubDate>Sun, 07 Nov 2010 01:16:30 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Video Podcast]]></category>

		<guid isPermaLink="false">http://nali.org/?p=648</guid>
		<description><![CDATA[The New Yorker Deli, Firesheep, the bathrooms at The Varsity. Music: Test Drive by Zapac]]></description>
			<content:encoded><![CDATA[<p><iframe src="http://player.vimeo.com/video/16574929" width="640" height="360" frameborder="0"></iframe></p>
<p>The New Yorker Deli, Firesheep, the bathrooms at The Varsity.</p>
<p>Music: <a href="http://ccmixter.org/files/Zapac/26047">Test Drive by Zapac</a></p>
<span id="pty_trigger"></span>]]></content:encoded>
			<wfw:commentRss>http://nali.org/nick-cast-episode-8-vlomo10-day-6/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Nick Cast Episode 7: #vlomo10 Day 5</title>
		<link>http://nali.org/nick-cast-episode-7-vlomo10-day-5/</link>
		<comments>http://nali.org/nick-cast-episode-7-vlomo10-day-5/#comments</comments>
		<pubDate>Sat, 06 Nov 2010 05:11:30 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Video Podcast]]></category>

		<guid isPermaLink="false">http://nali.org/?p=644</guid>
		<description><![CDATA[So I kinda missed the first few days of the #vlomo10 meme, but I guess its never too late to get started. If you are interested, check out my other videos.]]></description>
			<content:encoded><![CDATA[<p><iframe src="http://player.vimeo.com/video/16555117" width="640" height="360" frameborder="0"></iframe></p>
<p>So I kinda missed the first few days of the <a href="http://search.twitter.com/search?q=vlomo10">#vlomo10</a> meme, but I guess its never too late to get started.</p>
<p>If you are interested, <a href="http://nali.org/category/video-podcast/">check out my other videos.</a></p>
<span id="pty_trigger"></span>]]></content:encoded>
			<wfw:commentRss>http://nali.org/nick-cast-episode-7-vlomo10-day-5/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Magento Connect Manager: Cannot initialize channel://connect.magentocommerce.com/</title>
		<link>http://nali.org/magento-connect-manager-cannot-initialize-channelconnect-magentocommerce-com/</link>
		<comments>http://nali.org/magento-connect-manager-cannot-initialize-channelconnect-magentocommerce-com/#comments</comments>
		<pubDate>Mon, 01 Nov 2010 23:21:08 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Magento]]></category>
		<category><![CDATA[Web Development]]></category>

		<guid isPermaLink="false">http://nali.org/?p=627</guid>
		<description><![CDATA[I swear I can read. Seriously. No, I know some of you may not believe me, but I can. Yeah, sure. Lets go with that. Wanting to investigate how a popular extension implemented certain functionality, I decided to install the extension on a new Magento dev environment: Failed to download magento-community/Foo_Bar within preferred state &#34;stable&#34;,...]]></description>
			<content:encoded><![CDATA[<p><img src="http://nali.org/wp-content/uploads/2010/10/magento_chicklets_03.png" alt="Magento" title="Magento" width="89" height="89" class="alignleft size-full wp-image-584" />I swear I can read. Seriously. No, I know some of you may not believe me, but I can. Yeah, sure. Lets go with that. </p>
<p>Wanting to investigate how a popular extension implemented certain functionality, I decided to install the extension on a new Magento dev environment:</p>
<div class="codecolorer-container text default" style="border:1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">Failed to download magento-community/Foo_Bar within preferred state &quot;stable&quot;, latest release is version 1.0.2, stability &quot;alpha&quot;, use &quot;channel://connect.magentocommerce.com/community/Foo_Bar-1.0.2&quot; to install<br />
Cannot initialize 'channel://connect.magentocommerce.com/community/Foo_Bar', invalid or missing package file<br />
Install Errors<br />
Package &quot;channel://connect.magentocommerce.com/community/Foo_Bar&quot; is not valid</div></div>
<p>Immediately thought I had broken PHP or PEAR in my environment. Then at the root Magento directory, I tried:</p>
<div class="codecolorer-container text default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">./pear install magento-community/Foo_Bar</div></div>
<p>and got this error:</p>
<div class="codecolorer-container text default" style="border:1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">Failed to download magento-community/Foo_Bar within preferred state &quot;stable&quot;, latest release is version 1.0.2, stability &quot;alpha&quot;, use &quot;channel://connect.magentocommerce.com/community/Foo_Bar-1.0.2&quot; to install<br />
Cannot initialize 'channel://connect.magentocommerce.com/community/Foo_Bar', invalid or missing package file<br />
Install Errors<br />
Package &quot;channel://connect.magentocommerce.com/community/Foo_Bar&quot; is not valid<br />
PEAR ERROR: install failed</div></div>
<p>I nearly panicked at this point. I started checking file permissions, checking versions&#8230;yeah, general panic. </p>
<p>Of course, if you aren&#8217;t completely dim-witted like me and actually read the message, you&#8217;d see the problem:</p>
<div class="codecolorer-container text default" style="border:1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">Failed to download magento-community/Foo_Bar within preferred state &quot;stable&quot;, latest release is version 1.0.2, stability &quot;alpha&quot;</div></div>
<p>Ohhh. Magento is configured to only accept stable extensions, and Foo_Bar is designated alpha. </p>
<p>Obviously, a quick fix. In the admin backend, go to System -> Magento Connect -> Magento Connect Manager -> Settings and change Preferred State to Alpha or whatever your extension is:</p>
<p><a href="http://nali.org/wp-content/uploads/2010/11/Magent-Connect-Manager-Extension-Alpha.png"><img src="http://nali.org/wp-content/uploads/2010/11/Magent-Connect-Manager-Extension-Alpha.png" alt="Magento Connect Manager Extension Alpha" title="Magento Connect Manager Extension Alpha" width="617" height="193" class="aligncenter size-full wp-image-629" /></a></p>
<p><a href="http://nali.org/category/web-development/magento/">See more of my Magento posts</a>.</p>
<span id="pty_trigger"></span>]]></content:encoded>
			<wfw:commentRss>http://nali.org/magento-connect-manager-cannot-initialize-channelconnect-magentocommerce-com/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WordPress 3.0 Multisite Subdomain: Broken Image / Thumbnails</title>
		<link>http://nali.org/wordpress-3-0-multisite-subdomain-broken-image-thumbnails/</link>
		<comments>http://nali.org/wordpress-3-0-multisite-subdomain-broken-image-thumbnails/#comments</comments>
		<pubDate>Sun, 31 Oct 2010 02:08:40 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Web Development]]></category>
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://nali.org/?p=614</guid>
		<description><![CDATA[After upgrading nali.org from WordPress 2.9.X to WordPress 3.0, I set it up as multisite. Specifically, I wanted to set up a subdomain: stream.nali.org. Its basically for lifestreaming, but instead of using Tumblr or Posterous, I decided I&#8217;d just do it myself with the network/multisite feature of WordPress 3.0. Even though multisite existed in previous...]]></description>
			<content:encoded><![CDATA[<p><img src="http://nali.org/wp-content/uploads/2010/10/wordpress-logo.png" alt="WordPress" title="WordPress" width="100" height="100" class="alignright size-full wp-image-622" />After upgrading nali.org from WordPress 2.9.X to WordPress 3.0, I set it up as multisite. Specifically, I wanted to set up a subdomain: <a href="http://stream.nali.org">stream.nali.org</a>. Its basically for <a href="http://en.wikipedia.org/wiki/Lifestreaming">lifestreaming</a>, but instead of using Tumblr or Posterous, I decided I&#8217;d just do it myself with the network/multisite feature of WordPress 3.0. Even though multisite existed in previous versions of WordPress, it was a separate code base. In 3.0, its part of the core functionality. </p>
<p>Having set up the stream blog, I tried uploading pictures for a post about <a href="http://stream.nali.org/the-original-pancake-house/">The Original Pancake House</a>. Uploading didn&#8217;t give me any errors, but all the thumbnails and images were showing the broken image placeholder.</p>
<p>Here is what happened with my setup: after setting up multisite by following the instructions at the <a href="http://codex.wordpress.org/Create_A_Network">Codex</a>, I tried installing <a href="http://wordpress.org/extend/plugins/w3-total-cache/">W3 Total Cache</a>.  W3 Total Cache required changes to the .htaccess. But W3 Total Cache really wasn&#8217;t working on the underpowered Rackspace instance I was testing (completely my fault).</p>
<p>So I decided to go back to the original .htaccess:</p>
<div class="codecolorer-container text default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"># BEGIN WordPress<br />
&lt;IfModule mod_rewrite.c&gt;<br />
RewriteEngine On<br />
RewriteBase /<br />
RewriteCond %{REQUEST_FILENAME} !-f<br />
RewriteCond %{REQUEST_FILENAME} !-d<br />
RewriteRule . /index.php [L]<br />
&lt;/IfModule&gt;<br />
# END WordPress</div></div>
<p>Oops. The multisite references are gone! Look what the <a href="http://codex.wordpress.org/Create_A_Network#.htaccess_and_Mod_Rewrite">Codex</a> states, the .htaccess should be:</p>
<div class="codecolorer-container text default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"># BEGIN WordPress<br />
RewriteEngine On<br />
RewriteBase /<br />
RewriteRule ^index\.php$ - [L]<br />
<br />
# uploaded files<br />
RewriteRule ^files/(.+) wp-includes/ms-files.php?file=$1 [L]<br />
<br />
RewriteCond %{REQUEST_FILENAME} -f [OR]<br />
RewriteCond %{REQUEST_FILENAME} -d<br />
RewriteRule ^ - [L]<br />
RewriteRule . index.php [L]<br />
# END WordPress</div></div>
<p>After making the changes, the thumbnails under Media might still be broken. Edit an image and hit save. The thumbnails should be recreated.</p>
<span id="pty_trigger"></span>]]></content:encoded>
			<wfw:commentRss>http://nali.org/wordpress-3-0-multisite-subdomain-broken-image-thumbnails/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Magento 1.4: Load Sample Data</title>
		<link>http://nali.org/magento-1-4-load-sample-data/</link>
		<comments>http://nali.org/magento-1-4-load-sample-data/#comments</comments>
		<pubDate>Tue, 19 Oct 2010 22:48:20 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Magento]]></category>
		<category><![CDATA[Web Development]]></category>

		<guid isPermaLink="false">http://nali.org/?p=569</guid>
		<description><![CDATA[Anyone who works a lot on the same platform for different customers goes through the process of creating a base install. The base install should be configured so it can be dropped in somewhere easily, and it should just work. Setting up the base install is not always easy. What happens if there are updates...]]></description>
			<content:encoded><![CDATA[<p><img src="http://nali.org/wp-content/uploads/2010/10/magento_chicklets_03.png" alt="Magento" title="Magento" width="89" height="89" class="alignleft size-full wp-image-584" />Anyone who works a lot on the same platform for different customers goes through the process of creating a base install. The base install should be configured so it can be dropped in somewhere easily, and it should just work. </p>
<p>Setting up the base install is not always easy. What happens if there are updates to the platform? How do deal with development environments versus production environments (think domains, logging, etc). How do you migrate data?</p>
<p>While all good questions, all those issues can be scripted out and handled. There will be tricky edge cases and lots of if-then or case/switch statements, but all doable.</p>
<p>To jump into solving whatever business problem you are working on, you usually need to have some sample data to tinker with. Take Magento for instance. Say you want to change what the product pages display. Gotta have some products in the database or you have to create new ones every time you start working with a new client. </p>
<p>Magento has sample data that can be loaded, but its not obvious how it should be loaded. The sample data needs to be loaded <em><strong>before</strong></em> going through the Magento installation wizard. </p>
<p>So the first step is to download the Magento code. Unzip/untar it in /var/www or wherever the web server can access it. Then create a database. </p>
<p><em>If you have already gone through the Magento installation process, you need to get rid of all the existing data: drop all the tables in your database and delete app/etc/local.xml (this is where the database access information is stored). </em></p>
<p>Now lets grab the sample data. Its available on the same page where you download Magento itself: <a href="http://www.magentocommerce.com/download">http://www.magentocommerce.com/download</a>. Scroll down a bit and download to your local machine.</p>
<p><img src="http://nali.org/wp-content/uploads/2010/10/magento-sample-data-download.png" alt="Magento Sample Data Download" title="Magento Sample Data Download" width="640" height="155" class="aligncenter size-full wp-image-581" /></p>
<p>Untar/unzip the file. You should see a directory and a file:</p>
<p><img src="http://nali.org/wp-content/uploads/2010/10/magento-sample-data-unzip.png" alt="Magento Sample Data Unzip" title="Magento Sample Data Unzip" width="640" height="107" class="aligncenter size-full wp-image-580" /></p>
<p>The contents of the media directory should be copied into media directory of your Magento install, so afterwards your Magento media directory should contain a catalog directory.</p>
<p>Next, the sample data needs to be inserted into the database. If phpMyAdmin is installed, do an import into the database with the downloaded SQL file.</p>
<p><img src="http://nali.org/wp-content/uploads/2010/10/magento-sample-data-import.png" alt="Magento Sample Data SQL Import" title="Magento Sample Data SQL Import" width="640" height="146" class="aligncenter size-full wp-image-578" /</p>
<p>Now go through the Magento installation wizard and you should have products show up on the frontend of the site when you are done.</p>
<p><strong>Problems?</strong></p>
<ul>
<li><strong>Sample data images not showing up on frontpage</strong> &#8211; This is a permissions issue. If you downloaded the sample data media and moved it to the Magento directory, make sure the media and its sub-directories are owned by the same user who owns the Magento directory. Also make sure to turn off caching and deleting all caches while testing the fix.</li>
<li><strong>Admin user can&#8217;t login into backend</strong> &#8211; See my post <a href="http://nali.org/magento-can%E2%80%99t-login-after-installation-fix/">Magento: Can’t Login after Installation Fix</a>.</li>
</ul>
<p><a href="http://nali.org/category/web-development/magento/">See more of my Magento posts</a>.</p>
<span id="pty_trigger"></span>]]></content:encoded>
			<wfw:commentRss>http://nali.org/magento-1-4-load-sample-data/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Magento: Can’t Login after Installation Fix</title>
		<link>http://nali.org/magento-can%e2%80%99t-login-after-installation-fix/</link>
		<comments>http://nali.org/magento-can%e2%80%99t-login-after-installation-fix/#comments</comments>
		<pubDate>Tue, 19 Oct 2010 21:03:02 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Magento]]></category>
		<category><![CDATA[Web Development]]></category>

		<guid isPermaLink="false">http://nali.org/?p=546</guid>
		<description><![CDATA[This only applies to doing development on a local machine, not production sites. Base URLs on production sites should be set properly, so none of this will apply. But you are testing functionality or running a local Magento install, read on. Today I was setting up a base Magento install with sample data and ran...]]></description>
			<content:encoded><![CDATA[<p style="text-align: center;"><img class="size-medium wp-image-558 aligncenter" title="Magento Logo" src="http://nali.org/wp-content/uploads/2010/10/Magento_logo-300x94.png" alt="Magento Logo" width="300" height="94" /></p>
<p><em>This only applies to doing development on a local machine, not production sites. Base URLs on production sites should be set properly, so none of this will apply. But you are testing functionality or running a local Magento install, read on.</em></p>
<p>Today I was setting up a base <a href="http://nali.org/magento-1-4-load-sample-data/">Magento install with sample data</a> and ran into a problem that happens quite a bit when setting <a href="http://nali.org/category/web-development/magento/">Magento</a> on a local server or development sandbox.</p>
<p>Basically, you start by downloading the code or doing a subversion check out to /var/www/ or /home/username/foo. You&#8217;ve got virtual hosting set up with AllowOverride ALL, so the .htaccess in the Magento directory will be honored.You go through the <a href="http://nali.org/category/web-development/magento/">Magento</a> installation wizard, everything goes peachy, you go to the admin backend, type in your admin username and password, and hit &#8220;Login&#8221;.</p>
<p>Instead of successfully logging in, you are presented with the login screen again. But there are no errors. Nothing that says invalid username or password. But you get a URL that looks like you have been authenticated:</p>
<div class="codecolorer-container text default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">http://localhost/magento/index.php/admin/index/index/key/d135be4de664ab83db829120740e058a</div></div>
<p>WTF?!?</p>
<p>If you are like me, you are probably expecting to run <a href="http://nali.org/category/web-development/magento/">Magento</a> at something like http://localhost/magento. The problem is when Magento goes to create the session for localhost (or 127.0.0.1), it barfs since localhost isn&#8217;t a real domain.</p>
<p>There are a bunch of possible solutions. The ugly ones involve modifying core <a href="http://nali.org/category/web-development/magento/">Magento</a> code. For example, one common solution is to remove or comment out out lines where the cookies are being created, like lines 76-101 in app/code/core/Mage/Core/Model/Session/Abstract/Varien.php:</p>
<div class="codecolorer-container php default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="php codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #666666; font-style: italic;">// session cookie params</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000088;">$cookieParams</span> <span style="color: #339933;">=</span> <a href="http://www.php.net/array"><span style="color: #990000;">array</span></a><span style="color: #009900;">&#40;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #0000ff;">'lifetime'</span> <span style="color: #339933;">=&gt;</span> <span style="color: #000088;">$cookie</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">getLifetime</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">,</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #0000ff;">'path'</span> &nbsp; &nbsp; <span style="color: #339933;">=&gt;</span> <span style="color: #000088;">$cookie</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">getPath</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">,</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #0000ff;">'domain'</span> &nbsp; <span style="color: #339933;">=&gt;</span> <span style="color: #000088;">$cookie</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">getConfigDomain</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">,</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #0000ff;">'secure'</span> &nbsp; <span style="color: #339933;">=&gt;</span> <span style="color: #000088;">$cookie</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">isSecure</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">,</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #0000ff;">'httponly'</span> <span style="color: #339933;">=&gt;</span> <span style="color: #000088;">$cookie</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">getHttponly</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span><span style="color: #339933;">!</span><span style="color: #000088;">$cookieParams</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'httponly'</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <a href="http://www.php.net/unset"><span style="color: #990000;">unset</span></a><span style="color: #009900;">&#40;</span><span style="color: #000088;">$cookieParams</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'httponly'</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span><span style="color: #339933;">!</span><span style="color: #000088;">$cookieParams</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'secure'</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <a href="http://www.php.net/unset"><span style="color: #990000;">unset</span></a><span style="color: #009900;">&#40;</span><span style="color: #000088;">$cookieParams</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'secure'</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span><span style="color: #339933;">!</span><span style="color: #000088;">$cookieParams</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'domain'</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <a href="http://www.php.net/unset"><span style="color: #990000;">unset</span></a><span style="color: #009900;">&#40;</span><span style="color: #000088;">$cookieParams</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'domain'</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #009900;">&#125;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #009900;">&#125;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #009900;">&#125;</span><br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span><a href="http://www.php.net/isset"><span style="color: #990000;">isset</span></a><span style="color: #009900;">&#40;</span><span style="color: #000088;">$cookieParams</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'domain'</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000088;">$cookieParams</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'domain'</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$cookie</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">getDomain</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #009900;">&#125;</span><br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; <a href="http://www.php.net/call_user_func_array"><span style="color: #990000;">call_user_func_array</span></a><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'session_set_cookie_params'</span><span style="color: #339933;">,</span> <span style="color: #000088;">$cookieParams</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></div></div>
<p>The problem with this is its <strong>maintenance hell</strong>. When upgrading <a href="http://nali.org/category/web-development/magento/">Magento</a>, I don&#8217;t want to have to remember to make sure this bit of code doesn&#8217;t get wiped out locally when merging. Or that I don&#8217;t check this code into a git or subversion repository that will be used to pull code down to production servers.</p>
<p>A better solution? While not exactly elegant, it will cause less pain in the future: add another domain to /etc/hosts for 127.0.0.1. Do something like this:</p>
<div class="codecolorer-container php default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="php codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">127<span style="color: #339933;">.</span>0<span style="color: #339933;">.</span>0<span style="color: #339933;">.</span>1 &nbsp; localhost my<span style="color: #339933;">.</span>sandbox</div></div>
<p>Then go to http://my.sandbox/index.php/admin and watch it all work like magic.</p>
<p><a href="http://nali.org/category/web-development/magento/">See more of my Magento posts</a>.</p>
<span id="pty_trigger"></span>]]></content:encoded>
			<wfw:commentRss>http://nali.org/magento-can%e2%80%99t-login-after-installation-fix/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Drupal: Rename User Menu Labels</title>
		<link>http://nali.org/drupal-rename-user-menu-labels/</link>
		<comments>http://nali.org/drupal-rename-user-menu-labels/#comments</comments>
		<pubDate>Fri, 24 Sep 2010 22:39:41 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Drupal]]></category>
		<category><![CDATA[Web Development]]></category>

		<guid isPermaLink="false">http://nali.org/?p=479</guid>
		<description><![CDATA[One of the requirements for a client Drupal project was to change the default user menu labels to something more meaningful. Out of the box, when looking at a user profile, there are two tabs: view and edit. It makes sense to change them. Looking at the Drupal API and code where &#8216;view&#8217; was defined,...]]></description>
			<content:encoded><![CDATA[<p><img src="http://nali.org/wp-content/uploads/2010/09/drupal_small.png" alt="Drupal: Rename User Menu Labels" title="Drupal: Rename User Menu Labels" width="66" height="75" class="alignleft size-full wp-image-480" /> One of the requirements for a client Drupal project was to change the default user menu labels to something more meaningful. Out of the box, when looking at a user profile, there are two tabs: view and edit.</p>
<p><img src="http://nali.org/wp-content/uploads/2010/09/Drupal-Rename-User-Menu-Labels.png" alt="Drupal: Rename User Menu Labels" title="Drupal: Rename User Menu Labels" width="513" height="172" class="aligncenter size-full wp-image-481" /></p>
<p>It makes sense to change them.</p>
<p>Looking at the <a href="http://api.drupal.org/api/function/user_menu">Drupal API</a> and code where &#8216;view&#8217; was defined, it said:</p>
<div class="codecolorer-container php default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="php codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #000088;">$items</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'user/%user/view'</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">=</span> <a href="http://www.php.net/array"><span style="color: #990000;">array</span></a><span style="color: #009900;">&#40;</span><br />
&nbsp; &nbsp; <span style="color: #0000ff;">'title'</span> <span style="color: #339933;">=&gt;</span> <span style="color: #0000ff;">'View'</span><span style="color: #339933;">,</span><br />
&nbsp; &nbsp; <span style="color: #0000ff;">'type'</span> <span style="color: #339933;">=&gt;</span> MENU_DEFAULT_LOCAL_TASK<span style="color: #339933;">,</span><br />
&nbsp; &nbsp; <span style="color: #0000ff;">'weight'</span> <span style="color: #339933;">=&gt;</span> <span style="color: #339933;">-</span><span style="color: #cc66cc;">10</span><span style="color: #339933;">,</span><br />
&nbsp; <span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></div></div>
<p>Fair enough, so changing it to &#8216;My Profile&#8217; in foobar_menu_alter was trivial:</p>
<div class="codecolorer-container php default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="php codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #000088;">$items</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'user/%user/view'</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'title'</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">'My Profile'</span><span style="color: #339933;">;</span></div></div>
<p>Similarly, I assumed that changing &#8216;edit&#8217; to &#8216;Change Profile&#8217; would be like swapping out the view for the edit in the code:</p>
<div class="codecolorer-container php default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="php codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">&nbsp;<span style="color: #000088;">$items</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'user/%user/edit'</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'title'</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">'Change Profile'</span><span style="color: #339933;">;</span></div></div>
<p>Apparently not. Digging through the source so far, you find that &#8216;Edit&#8217; label is defined by:</p>
<div class="codecolorer-container php default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="php codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #000088;">$items</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'user/%user_category/edit'</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">=</span> <a href="http://www.php.net/array"><span style="color: #990000;">array</span></a><span style="color: #009900;">&#40;</span><br />
&nbsp; &nbsp; <span style="color: #0000ff;">'title'</span> <span style="color: #339933;">=&gt;</span> <span style="color: #0000ff;">'Edit'</span><span style="color: #339933;">,</span><br />
&nbsp; &nbsp; <span style="color: #0000ff;">'page callback'</span> <span style="color: #339933;">=&gt;</span> <span style="color: #0000ff;">'user_edit'</span><span style="color: #339933;">,</span><br />
&nbsp; &nbsp; <span style="color: #0000ff;">'page arguments'</span> <span style="color: #339933;">=&gt;</span> <a href="http://www.php.net/array"><span style="color: #990000;">array</span></a><span style="color: #009900;">&#40;</span><span style="color: #cc66cc;">1</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">,</span><br />
&nbsp; &nbsp; <span style="color: #0000ff;">'access callback'</span> <span style="color: #339933;">=&gt;</span> <span style="color: #0000ff;">'user_edit_access'</span><span style="color: #339933;">,</span><br />
&nbsp; &nbsp; <span style="color: #0000ff;">'access arguments'</span> <span style="color: #339933;">=&gt;</span> <a href="http://www.php.net/array"><span style="color: #990000;">array</span></a><span style="color: #009900;">&#40;</span><span style="color: #cc66cc;">1</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">,</span><br />
&nbsp; &nbsp; <span style="color: #0000ff;">'type'</span> <span style="color: #339933;">=&gt;</span> MENU_LOCAL_TASK<span style="color: #339933;">,</span><br />
&nbsp; &nbsp; <span style="color: #0000ff;">'load arguments'</span> <span style="color: #339933;">=&gt;</span> <a href="http://www.php.net/array"><span style="color: #990000;">array</span></a><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'%map'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'%index'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">,</span><br />
&nbsp; &nbsp; <span style="color: #0000ff;">'file'</span> <span style="color: #339933;">=&gt;</span> <span style="color: #0000ff;">'user.pages.inc'</span><span style="color: #339933;">,</span><br />
&nbsp; <span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></div></div>
<p>Oopsies, its %user_category, not %user.</p>
<div class="codecolorer-container php default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="php codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #000088;">$items</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'user/%user_category/edit'</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'title'</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">'Change Profile'</span><span style="color: #339933;">;</span></div></div>
<p>That ends up working just fine.</p>
<span id="pty_trigger"></span>]]></content:encoded>
			<wfw:commentRss>http://nali.org/drupal-rename-user-menu-labels/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Joomla: Reset Passwords</title>
		<link>http://nali.org/joomla-reset-passwords/</link>
		<comments>http://nali.org/joomla-reset-passwords/#comments</comments>
		<pubDate>Fri, 24 Sep 2010 21:56:26 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Joomla]]></category>
		<category><![CDATA[Web Development]]></category>

		<guid isPermaLink="false">http://nali.org/?p=474</guid>
		<description><![CDATA[Run Level Media took over a Joomla site. Basically, we got a copy of the files and database dump. No other information. No logins, no passwords. Of course we needed to login, make updates, upgrade the platform and do all that fun stuff. Our main issue was that we couldn&#8217;t log in the administrator back-end....]]></description>
			<content:encoded><![CDATA[<p><img src="http://nali.org/wp-content/uploads/2010/09/joomla_logo_small.jpg" alt="Joomla: Reset Password" title="Joomla: Reset Password" width="50" height="50" class="alignright size-full wp-image-475" />Run Level Media took over a Joomla site. Basically, we got a copy of the files and database dump. No other information. No logins, no passwords.</p>
<p>Of course we needed to login, make updates, upgrade the platform and do all that fun stuff. </p>
<p>Our main issue was that we couldn&#8217;t log in the administrator back-end. Looking at the database, we could see what the username was, but the password was MD5 hashed for security reasons. </p>
<p>There was no link on the site to login (since the site basically had one user). And the administrator login at /administrator has no reset password option.</p>
<p>There are a couple ways of getting around this. </p>
<p>First, you could create your password, MD5 hash it, and directly update the password field in the jos_users table in the database. Doable but icky. </p>
<p>But the second option is better: directly call up the login by going to http://www.yoursite.com/index.php?option=com_login&#038;Itemid=1. </p>
<p>Tada.</p>
<span id="pty_trigger"></span>]]></content:encoded>
			<wfw:commentRss>http://nali.org/joomla-reset-passwords/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>VLC: Delete Files from iPad</title>
		<link>http://nali.org/vlc-delete-files-from-ipad/</link>
		<comments>http://nali.org/vlc-delete-files-from-ipad/#comments</comments>
		<pubDate>Wed, 22 Sep 2010 06:57:08 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Mobile]]></category>

		<guid isPermaLink="false">http://nali.org/?p=465</guid>
		<description><![CDATA[VLC is one of those near perfect apps. Its beauty is that it can play pretty much every kind of video and audio file. I installed VLC on my iPad as soon as I heard it was available in the App store. While it doesn&#8217;t play HD content (apparently a limitation of the iPad hardware...]]></description>
			<content:encoded><![CDATA[<p> <img src="http://nali.org/wp-content/uploads/2010/09/VLC-Delete-Files-from-iPad.png" alt="VLC: Delete Files from iPad" title="VLC: Delete Files from iPad" width="75" height="85" class="alignright size-full wp-image-470" /><a href="http://www.videolan.org/">VLC</a> is one of those near perfect apps. Its beauty is that it can play pretty much every kind of video and audio file. I installed <a href="http://itunes.apple.com/app/vlc-media-player/id390885556">VLC on my iPad</a> as soon as I heard it was available in the App store. While it doesn&#8217;t play HD content (apparently a limitation of the iPad hardware more than VLC), its good enough for anything standard def.</p>
<p>After having loaded a couple files on the iPad, I sat down and watched them. Then I tried to delete them. </p>
<p>Umm.</p>
<p>Previously, I had used <a href="http://cinexplayer.com/">CineXPlayer</a> to play content. In the app, you could right-swipe, and you&#8217;d get the option to delete the file. </p>
<p>VLC doesn&#8217;t have that capability. <a href="http://trac.videolan.org/vlc/ticket/4186">Yet</a>.</p>
<p>Instead, you have to delete files the way many other File Sharing deal with it, manually deleting it through iTunes. Below are the instructions from the <a href="http://support.apple.com/kb/ht4094">Apple Knowledgebase</a>:</p>
<ol>
<li>Attach iPad to your computer.</li>
<li>Select your iPad in the Devices section of iTunes.</li>
<li>Scroll down to the File Sharing section under the Apps tab.</li>
<li>Select VLC.</li>
<li>Select the file from the Documents list and click the Delete button.</li>
<li>When prompted to confirm your request, click the Delete button again. The file will be deleted from the app on iPad immediately.</li>
</ol>
<span id="pty_trigger"></span>]]></content:encoded>
			<wfw:commentRss>http://nali.org/vlc-delete-files-from-ipad/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Mac OS X: Get Photos Off your iPhone without iTunes</title>
		<link>http://nali.org/mac-os-x-get-photos-off-your-iphone-without-itunes/</link>
		<comments>http://nali.org/mac-os-x-get-photos-off-your-iphone-without-itunes/#comments</comments>
		<pubDate>Fri, 17 Sep 2010 08:48:19 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Mac OS X]]></category>

		<guid isPermaLink="false">http://nali.org/?p=453</guid>
		<description><![CDATA[For the Web Dev Fools podcast, I was taking behind the scene pictures of the intros that were recorded. I ended up with about 20 that I wanted to look at on my MacBook. There are 4 options of transferring photos from the iPhone to a computer: text message them to an email address, import...]]></description>
			<content:encoded><![CDATA[<p><img class="aligncenter size-full wp-image-454" title="Mac OS X: Get Photos Off your iPhone without iTunes" src="http://nali.org/wp-content/uploads/2010/09/Mac-OS-X-Get-Photos-Off-your-iPhone-without-iTunes.jpg" alt="Mac OS X: Get Photos Off your iPhone without iTunes" width="640" height="200" /></p>
<p>For the <a href="http://webdevfools.com">Web Dev Fools podcast</a>, I was taking <a href="http://webdevfools.com/2010/09/wdf-intro-behind-the-scenes/">behind the scene pictures of the intros</a> that were recorded. I ended up with about 20 that I wanted to look at on my MacBook.</p>
<p>There are 4 options of transferring photos from the iPhone to a computer: text message them to an email address, import using iPhoto, email them using the iPhone Mail app, or sync with iTunes. I don&#8217;t have a text message plan, so I didn&#8217;t want to pay to text myself the pictures. You can&#8217;t select multiple pictures to email yourself through the iPhone Mail application. I don&#8217;t use iPhoto regularly, so thats a no go. And I don&#8217;t sync with iTunes, and I didn&#8217;t want to start now.</p>
<p>iTunes not being able to do it natively is irritating. It lets you grab music and movies off the iPhone directly, but not photos. The only option with iTunes is to sync:</p>
<p><img class="aligncenter size-full wp-image-455" title="Mac OS X: Get Photos Off your iPhone without iTunes" src="http://nali.org/wp-content/uploads/2010/09/Mac-OS-X-Get-Photos-Off-your-iPhone-without-iTunes-iTunes.jpg" alt="Mac OS X: Get Photos Off your iPhone without iTunes" width="640" height="217" /></p>
<p>But, Mac OS X does come with the perfect tool to get photos off the iPhone. Its called <a href="http://en.wikipedia.org/wiki/Image_Capture">Image Capture</a>. Simply plug in your iPhone to your Mac, and start Image Capture.</p>
<p><img class="aligncenter size-full wp-image-457" title="Mac OS X: Get Photos Off your iPhone without iTunes" src="http://nali.org/wp-content/uploads/2010/09/Mac-OS-X-Get-Photos-Off-your-iPhone-without-iTunes-Image-Capture.jpg" alt="Mac OS X: Get Photos Off your iPhone without iTunes" width="640" height="384" />You will see your iPhone on the left panel, select it and you will see all the photos on the iPhone. You can select individual photos or import all of them. And it gives you the option of selecting a folder where the photos will be placed.</p>
<p>Perfect.</p>
<address>Photo courtesy of <a href="http://www.flickr.com/photos/fr3d/2660918577/">Fred</a>.</address>
<span id="pty_trigger"></span>]]></content:encoded>
			<wfw:commentRss>http://nali.org/mac-os-x-get-photos-off-your-iphone-without-itunes/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Mac OS X + Eclipse + PDT + MAMP + Xdebug Fun</title>
		<link>http://nali.org/mac-os-x-eclipse-pdt-mamp-xdebug-fun/</link>
		<comments>http://nali.org/mac-os-x-eclipse-pdt-mamp-xdebug-fun/#comments</comments>
		<pubDate>Thu, 09 Sep 2010 21:36:47 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Web Development]]></category>

		<guid isPermaLink="false">http://nali.org/?p=422</guid>
		<description><![CDATA[Today I spent 3 hours trying to setup a new dev environment with debugging on my MacBook, consisting of Eclipse, PDT (PHP Development Tools), and MAMP. Not exactly fun. The critical part of what I wanted to set up was Xdebug. There are quite a few web designers/developers out there, who simply write code, save,...]]></description>
			<content:encoded><![CDATA[<p>Today I spent 3 hours trying to setup a new dev environment with debugging on my MacBook, consisting of Eclipse, PDT (PHP Development Tools), and MAMP. Not exactly fun.</p>
<p>The critical part of what I wanted to set up was <a href="http://www.xdebug.org/">Xdebug</a>. There are quite a few web designers/developers out there, who simply write code, save, refresh their PHP in the browser, and do a quick visual check. That might work for pretty simple stuff, but it can be hard to find tricky bugs when the web app achieves some level of sophistication. So Xdebug (or any other debugging tools like Zend) is a must for me.</p>
<p>First, you have to set up Eclipse to handle PHP. There are quite a few options here. You can download the many different IDEs based on Eclipse, download Eclipse with PDT, or install PDT as a plugin to an existing Eclipse installation. Since I already Eclipse installed, I decided to install it as a plugin.</p>
<p>In Eclipse, go to Help -&gt; Install New Software.</p>
<p>Select the drop down menu for Work with:</p>
<p><img class="aligncenter size-full wp-image-426" title="Install Eclipse PDT by Plugin" src="http://nali.org/wp-content/uploads/2010/09/Eclipse-Install-PDT-e1284060694800.png" alt="Install Eclipse PDT by Plugin" width="638" height="264" /></p>
<p>Select Helios &#8211; http://download.eclipse.org/releases/helios.</p>
<p>Find the Programming Languages option, expand it, scroll down and select <strong>PHP Development Tools (PDT) SDK Feature</strong>.</p>
<p><img class="aligncenter size-full wp-image-428" title="Selecting PDT to install in Eclipse" src="http://nali.org/wp-content/uploads/2010/09/Eclipse-Select-PDT-e1284061037247.png" alt="Selecting PDT to install in Eclipse" width="639" height="141" /></p>
<p>Hit next, agree with the license, etc, etc.</p>
<p>Next, time to set up Xdebug in php.ini. If you installed MAMP in /Applications in Mac OS X, and assuming you want to use PHP 5.3, the php.ini is in /Applications/MAMP/conf/php5.3.</p>
<p>Find the [xdebug] section towards the end of the file, and update it to:</p>
<div class="codecolorer-container bash default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #7a0874; font-weight: bold;">&#91;</span>xdebug<span style="color: #7a0874; font-weight: bold;">&#93;</span><br />
<span style="color: #007800;">zend_extension</span>=<span style="color: #ff0000;">&quot;/Applications/MAMP/bin/php5.3/lib/php/extensions/no-debug-non-zt<br />
s-20090626/xdebug.so&quot;</span><br />
xdebug.profiler_output_dir = <span style="color: #ff0000;">&quot;/tmp/xdebug/&quot;</span><br />
xdebug.profiler_enable = On<br />
xdebug.remote_enable=On<br />
xdebug.remote_host=<span style="color: #ff0000;">&quot;localhost&quot;</span><br />
xdebug.remote_port=<span style="color: #000000;">9000</span><br />
xdebug.remote_handler=<span style="color: #ff0000;">&quot;dbgp&quot;</span><br />
xdebug.idekey=ECLIPSE_DBGP</div></div>
<p>Unfortunately, the Xdebug that comes with MAMP didn&#8217;t work for me, so I needed to get a more recent version. There are Windows binaries on <a href="http://www.xdebug.org">xdebug.org</a>, but no Mac OS X ones. Turns out Komodo, another IDE, has already compiled binaries of the new versions of Xdebug. <a href="http://code.activestate.com/komodo/remotedebugging/">Download the Xdebug binaries</a> from Komodo and update the zend_extension path above or replace the xdebug.so.</p>
<p>We need to let Eclipse know it should be using MAMP PHP. Go into Preferences -&gt; PHP -&gt; PHP Executables. Edit the default. Change the executable path to the MAMP PHP, something similar to /Applications/MAMP/bin/php5.3/bin/php. Make sure PHP debugger is Xdebug.</p>
<p><img class="aligncenter size-full wp-image-431" title="Getting Eclipse PDT to Use MAMP PHP Executables" src="http://nali.org/wp-content/uploads/2010/09/eclipse-pdt-php-executables-e1284062899668.png" alt="Getting Eclipse PDT to Use MAMP PHP Executables" width="638" height="276" /></p>
<p>Below PHP Executables is PHP Servers. Lets update this to work with MAMP. MAMP&#8217;s default Apache port number is 8888, we&#8217;ll set the URL to http://localhost:8888.</p>
<p><img class="aligncenter size-full wp-image-432" title="Eclipse editing PDT Server to work with MAMP" src="http://nali.org/wp-content/uploads/2010/09/Eclipse-PDT-Edit-Server-e1284063139856.png" alt="Eclipse editing PDT Server to work with MAMP" width="638" height="275" /></p>
<p>Let&#8217;s make sure that Xdebug is working with MAMP. Create a test PHP file to spit out phpinfo, which lists configuration settings:</p>
<p><img class="aligncenter size-full wp-image-435" title="Test XDebug setup in MAMP" src="http://nali.org/wp-content/uploads/2010/09/eclipse-test-xdebug-mamp-setup.png" alt="Test XDebug setup in MAMP" width="640" height="98" /></p>
<p>Go to Run -&gt; Run As -&gt; PHP Web Page. Scroll down a bit in the browser and you should see a reference to Xdebug:</p>
<p><a href="http://nali.org/wp-content/uploads/2010/09/eclipse-pdt-xdebug-mamp-verification-e1284063580689.png"><img class="aligncenter size-full wp-image-434" title="Verifying XDebug Updated in MAMP" src="http://nali.org/wp-content/uploads/2010/09/eclipse-pdt-xdebug-mamp-verification-e1284063580689.png" alt="Verifying XDebug Updated in MAMP" width="634" height="101" /></a>The Xdebug version that comes with MAMP is 2.0.x.</p>
<p>Thats it.</p>
<span id="pty_trigger"></span>]]></content:encoded>
			<wfw:commentRss>http://nali.org/mac-os-x-eclipse-pdt-mamp-xdebug-fun/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Remove MySQL from Mac OS X Snow Leopord</title>
		<link>http://nali.org/remove-mysql-from-mac-os-x-snow-leopord/</link>
		<comments>http://nali.org/remove-mysql-from-mac-os-x-snow-leopord/#comments</comments>
		<pubDate>Tue, 07 Sep 2010 05:33:16 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Web Development]]></category>

		<guid isPermaLink="false">http://nali.org/?p=410</guid>
		<description><![CDATA[It can be a pain to remove MySQL if you are running Mac OS X Snow Leopard on a machine. A while ago, I had downloaded the for MySQL DMG from mysql.org, mounted it, installed the database server, installed the startup item, and installed the panel for System Preferences. We have been installing Ubuntu 10.04 server edition...]]></description>
			<content:encoded><![CDATA[<p><img class="aligncenter size-full wp-image-413" title="Remove MySQL from Mac OS X Snow Leopord" src="http://nali.org/wp-content/uploads/2010/09/remove-My_SQL-from-Mac-OS-X-Snow-Leopord.jpg" alt="Remove MySQL from Mac OS X Snow Leopord" width="500" height="259" /></p>
<p>It can be a pain to remove MySQL if you are running Mac OS X Snow Leopard on a machine. A while ago, I had downloaded the for MySQL DMG from mysql.org, mounted it, installed the database server, installed the startup item, and installed the panel for System Preferences.</p>
<p>We have been installing Ubuntu 10.04 server edition for our client dedicated servers and VPSs since it came out. Ubuntu 10.04 Server is going to be supported with minor bug fixes and security updates for 5 years, so its a great platform for building web applications. So I wanted to update the MySQL version running on my development machine closer to the MySQL running on Ubuntu 10.04.</p>
<p>Then I was reminded of a nasty problem that is all too common unfortunately. A lot of open source tools that have installers for Mac OS X, don&#8217;t having corresponding uninstallers. I can understand why open source developers aren&#8217;t keen on spending time to do so. Most of them are using a Linux distribution to write code, and they already have package managers (either YUM for Red Hat/Fedora or APT for Debian/Ubuntu). If you use a package manager to install an application, it can be used to uninstall easily as well.</p>
<p>It takes a few steps to remove MySQL off Snow Leopord. <em>If any of this breaks your system, <strong>don&#8217;t blame me</strong>, the following process on my machine. </em></p>
<p>First, use mysqldump to backup all the databases you want to keep.</p>
<p>Second, stop the database. There are a couple ways of doing this. If you installed the MySQL preferences panel, you can go in there and shutdown the server. Otherwise, &#8220;sudo mysqladmin shutdown&#8221;.</p>
<p>Next, lets remove the MySQL binary and configuration files:</p>
<div id="_mcePaste">
<ul>
<li>sudo rm /usr/local/mysql</li>
<li>sudo rm -rf /usr/local/mysql*</li>
</ul>
</div>
<p>If you installed the service to startup MySQL automatically at boot and the System Preferences panel, lets remove them:</p>
<div id="_mcePaste">
<ul>
<li>sudo rm -rf /Library/StartupItems/MySQLCOM</li>
<li>sudo rm -rf /Library/PreferencePanes/My*</li>
<li>rm -rf ~/Library/PreferencePanes/My*</li>
</ul>
</div>
<p>OS X keeps track of installed applications by tracking &#8220;receipts&#8221;. There are several places we need to delete references to MySQL. First:</p>
<div id="_mcePaste">
<ul>
<li>sudo rm -rf /Library/Receipts/mysql*</li>
<li>sudo rm -rf /Library/Receipts/MySQL*</li>
</ul>
</div>
<p>Next, we are going to  look for receipts in a different location. Open up /Library/Receipts/InstallHistory.plist, find the entry for MySQL, delete the entry.</p>
<p>One more location: look in /private/var/db/receipts/ and search for mysql in the directory. There should be 2 files, delete them.</p>
<p>You are done.</p>
<span id="pty_trigger"></span>]]></content:encoded>
			<wfw:commentRss>http://nali.org/remove-mysql-from-mac-os-x-snow-leopord/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Amazon EC2 Windows SQL Server Express Login Error Number: 18456</title>
		<link>http://nali.org/amazon-ec2-windows-sql-server-express-login-error-number-18456/</link>
		<comments>http://nali.org/amazon-ec2-windows-sql-server-express-login-error-number-18456/#comments</comments>
		<pubDate>Wed, 18 Aug 2010 04:22:31 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Cloud Computing]]></category>

		<guid isPermaLink="false">http://nali.org/?p=398</guid>
		<description><![CDATA[Trying to set up an Umbraco installation, using a Windows Server 2008 + SQL Server Express AMI on Amazon EC2, I kept getting Error number 18456 when trying to log in as &#8216;sa&#8217; with the SQL Server Management Studio. This is the log of the error: =================================== Cannot connect to IP-0AD1A3A5\SQLEXPRESS. =================================== Login failed for...]]></description>
			<content:encoded><![CDATA[<p><img class="aligncenter size-full wp-image-399" title="Amazon EC2 Windows" src="http://nali.org/wp-content/uploads/2010/08/Amazon_EC2_Windows.jpg" alt="Amazon EC2 Windows" width="300" height="122" /></p>
<p>Trying to set up an <a href="http://umbraco.org/">Umbraco</a> installation, using a Windows Server 2008 + SQL Server Express AMI on Amazon EC2, I kept getting Error number 18456 when trying to log in as &#8216;sa&#8217; with the SQL Server Management Studio. This is the log of the error:</p>
<div class="codecolorer-container text default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">===================================<br />
Cannot connect to IP-0AD1A3A5\SQLEXPRESS.<br />
===================================<br />
Login failed for user 'sa'. (.Net SqlClient Data Provider)<br />
------------------------------<br />
For help, click: http://go.microsoft.com/fwlink?ProdName=Microsoft+SQL+Server&amp;amp;EvtSrc=MSSQLServer&amp;amp;EvtID=18456&amp;amp;LinkId=20476<br />
------------------------------<br />
Server Name: IP-0AD1A3A5\SQLEXPRESS<br />
Error Number: 18456<br />
Severity: 14<br />
State: 1<br />
Line Number: 65536</div></div>
<p>The stacktrace wasn&#8217;t helpful, since it basically showed exceptions being thrown when trying to login.</p>
<p>What made it bizarre was that I could look at the database if I logged into SQL Server Management Studio using Windows Authentication.</p>
<p>These are all the things I checked:</p>
<ul>
<li>Server Manager -&gt; Configuration -&gt; Services -&gt; SQL Server, SQL Server Browser, started</li>
<li>SQL Server Management Studio -&gt; Security Login -&gt; sa -&gt; Properties -&gt; Status -&gt; Login, enabled</li>
<li>SQL Server Management Studio -&gt; Security Login -&gt; sa -&gt; Properties -&gt; General -&gt; enter a new password</li>
<li>SQL Server Configuration Manager -&gt; SQL Server Network Configuration -&gt; Protocols for SQLEXXPRESS -&gt; TCPIP, enabled</li>
<li>Windows Firewall -&gt; Inbound Rules -&gt; SQL Server Inbound, enabled</li>
</ul>
<p>At this point, it might be obvious you what I did wrong: SQL Server Database Engine is set to Windows Authentication mode when it should be set to <strong>SQL Server and Windows Authentication mode</strong>. To fix this:</p>
<ul>
<li>SQL Server Management Studio -&gt; Properties -&gt; Security -&gt; select SQL Server and Windows Authentication mode</li>
<li>Restart database server</li>
</ul>
<p>Then you can login as &#8216;sa&#8217;. Wohoo!</p>
<span id="pty_trigger"></span>]]></content:encoded>
			<wfw:commentRss>http://nali.org/amazon-ec2-windows-sql-server-express-login-error-number-18456/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Web Dev Fools Episode #9</title>
		<link>http://nali.org/web-dev-fools-episode-9/</link>
		<comments>http://nali.org/web-dev-fools-episode-9/#comments</comments>
		<pubDate>Sat, 14 Aug 2010 19:44:26 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Featured]]></category>
		<category><![CDATA[Video Podcast]]></category>

		<guid isPermaLink="false">http://nali.org/?p=394</guid>
		<description />
			<content:encoded><![CDATA[<p><a title="Web Dev Fools #9" rel="shadowbox;width=640;height=390;player=swf" href="http://blip.tv/play/hot1gfT4PgA%2Em4v"><img class="alignnone size-full wp-image-395" title="Web Dev Fools Episode #9" src="http://nali.org/wp-content/uploads/2010/08/Webdevfools9thumb.jpg" alt="Web Dev Fools Episode 9" width="640" height="385" /></a></p>
<span id="pty_trigger"></span>]]></content:encoded>
			<wfw:commentRss>http://nali.org/web-dev-fools-episode-9/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Web Dev Fools Episode #8</title>
		<link>http://nali.org/web-dev-fools-episode-8/</link>
		<comments>http://nali.org/web-dev-fools-episode-8/#comments</comments>
		<pubDate>Sat, 14 Aug 2010 19:33:53 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Video Podcast]]></category>

		<guid isPermaLink="false">http://nali.org/?p=386</guid>
		<description />
			<content:encoded><![CDATA[<p><a rel="shadowbox;width=640;height=390;player=swf" title="Web Dev Fools #8" href="http://blip.tv/play/hot1gfTyBwA%2Em4v"><img src="http://nali.org/wp-content/uploads/2010/08/Webdevfools8thumb.jpg" alt="Web Dev Fools Episode 8" title="Web Dev Fools Episode 8" width="640" height="385" class="alignnone size-full wp-image-388" /></a></p>
<span id="pty_trigger"></span>]]></content:encoded>
			<wfw:commentRss>http://nali.org/web-dev-fools-episode-8/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Web Dev Fools Episode #7</title>
		<link>http://nali.org/web-dev-fools-episode-7/</link>
		<comments>http://nali.org/web-dev-fools-episode-7/#comments</comments>
		<pubDate>Sat, 14 Aug 2010 19:30:46 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Video Podcast]]></category>

		<guid isPermaLink="false">http://nali.org/?p=379</guid>
		<description><![CDATA[Yeah, so we have been bit a lax in getting out epsidoes of Web Dev Fools. Not like to don&#8217;t make them, we have just been lazy posting them.]]></description>
			<content:encoded><![CDATA[<p>Yeah, so we have been bit a lax in getting out epsidoes of Web Dev Fools. Not like to don&#8217;t make them, we have just been lazy posting them.</p>
<p><a rel="shadowbox;width=640;height=390;player=swf" title="Web Dev Fools #7" href="http://blip.tv/play/hot1gfTrHQA%2Em4v"><img src="http://nali.org/wp-content/uploads/2010/08/Webdevfools7thumb.jpg" alt="Web Dev Fools Episode #7" title="Web Dev Fools Episode #7" width="640" height="385" class="alignnone size-full wp-image-382" /></a></p>
<span id="pty_trigger"></span>]]></content:encoded>
			<wfw:commentRss>http://nali.org/web-dev-fools-episode-7/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Web Dev Fools Episode #6</title>
		<link>http://nali.org/web-dev-fools-episode-6/</link>
		<comments>http://nali.org/web-dev-fools-episode-6/#comments</comments>
		<pubDate>Sat, 14 Aug 2010 19:26:24 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Video Podcast]]></category>

		<guid isPermaLink="false">http://nali.org/?p=373</guid>
		<description><![CDATA[Yeah, so we have been bit a lax in getting out epsidoes of Web Dev Fools. Not like to don&#8217;t make them, we have just been lazy posting them.]]></description>
			<content:encoded><![CDATA[<p>Yeah, so we have been bit a lax in getting out epsidoes of Web Dev Fools. Not like to don&#8217;t make them, we have just been lazy posting them.</p>
<p><a rel="shadowbox;width=640;height=390;player=swf" title="Web Dev Fools #6" href="http://blip.tv/play/hot1gfTpVwA%2Em4v"><img src="http://nali.org/wp-content/uploads/2010/08/Webdevfools6thumb.jpg" alt="Web Dev Fools Episode #6" title="Web Dev Fools Episode #6" width="640" height="385" class="alignnone size-full wp-image-375" /></a></p>
<span id="pty_trigger"></span>]]></content:encoded>
			<wfw:commentRss>http://nali.org/web-dev-fools-episode-6/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Nick Show Episode 6: July 4th 2010 Fireworks @ Lenox Square</title>
		<link>http://nali.org/nick-show-episode-6-july-4th-2010-fireworks-lenox-square/</link>
		<comments>http://nali.org/nick-show-episode-6-july-4th-2010-fireworks-lenox-square/#comments</comments>
		<pubDate>Mon, 05 Jul 2010 17:18:06 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Video Podcast]]></category>

		<guid isPermaLink="false">http://nali.org/?p=352</guid>
		<description><![CDATA[We went to the July 4th fireworks at Lenox Square, here in Atlanta, Georgia. This is a slightly edited version from our view point. Watch the last couple of minutes, lots of fun.]]></description>
			<content:encoded><![CDATA[<p>We went to the July 4th fireworks at Lenox Square, here in Atlanta, Georgia. This is a slightly edited version from our view point. Watch the last couple of minutes, lots of fun.</p>
<p><a rel="shadowbox;width=640;height=385;player=swf" title="Nick Show Episode 6 July 4th Fireworks at Lenox Square, Atlanta, GA" href="http://www.youtube.com/v/gPD0FLjOCFI&amp;hl=en_US&amp;fs=1?rel=0&amp;color1=0x5d1719&amp;color2=0xcd311b&amp;hd=1;autoplay=1"><img src="http://nali.org/wp-content/uploads/2010/07/Nick-Show-Ep-6-Fireworks-July-4th-Lenox-Square.jpg" alt="Nick Show Episode 6 July 4th Fireworks at Lenox Square, Atlanta, GA" title="Nick Show Episode 6 July 4th Fireworks at Lenox Square, Atlanta, GA" width="640" height="385" class="aligncenter size-full wp-image-356" /></a></p>
<span id="pty_trigger"></span>]]></content:encoded>
			<wfw:commentRss>http://nali.org/nick-show-episode-6-july-4th-2010-fireworks-lenox-square/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Web Dev Fools #5: 301 Redirects, VideoPress, Branding</title>
		<link>http://nali.org/web-dev-fools-5-301-redirects-videopress-branding/</link>
		<comments>http://nali.org/web-dev-fools-5-301-redirects-videopress-branding/#comments</comments>
		<pubDate>Mon, 05 Jul 2010 17:11:23 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Video Podcast]]></category>

		<guid isPermaLink="false">http://nali.org/?p=349</guid>
		<description><![CDATA[In this episode of @webdevfools, we discuss 301 redirects, iOS 4, WordPress, VideoPress, and branding.]]></description>
			<content:encoded><![CDATA[<p>In this episode of @webdevfools, we discuss 301 redirects, iOS 4, WordPress, VideoPress, and branding.</p>
<p><a rel="shadowbox;width=640;height=390;player=swf" title="Web Dev Fools #5: 301 Redirects, VideoPress, Branding" href="http://blip.tv/play/AYHpgnYA"><img src="http://nali.org/wp-content/uploads/2010/07/Web-Dev-Fools-5-301-Redirects-VideoPress-Branding.jpg" alt="Web Dev Fools #5: 301 Redirects, VideoPress, Branding" title="Web Dev Fools #5: 301 Redirects, VideoPress, Branding" width="640" height="385" class="aligncenter size-full wp-image-363" /></a></p>
<span id="pty_trigger"></span>]]></content:encoded>
			<wfw:commentRss>http://nali.org/web-dev-fools-5-301-redirects-videopress-branding/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Web Dev Fools #4</title>
		<link>http://nali.org/web-dev-fools-4/</link>
		<comments>http://nali.org/web-dev-fools-4/#comments</comments>
		<pubDate>Mon, 05 Jul 2010 17:00:57 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Video Podcast]]></category>

		<guid isPermaLink="false">http://nali.org/?p=345</guid>
		<description><![CDATA[In this episode we discuss E3, iPhone vs Spring EVO, co-working, co-oping, ad blocks screwing websites, regular expression, whats the process of going from design to WordPress.]]></description>
			<content:encoded><![CDATA[<p>In this episode we discuss E3, iPhone vs Spring EVO, co-working, co-oping, ad blocks screwing websites, regular expression, whats the process of going from design to WordPress.</p>
<p><a rel="shadowbox;width=640;height=390;player=swf" title="Web Dev Fools #4" href="http://blip.tv/play/AYHo62cA"><img src="http://nali.org/wp-content/uploads/2010/07/Web-Dev-Fools-Episode-4.jpg" alt="Web Dev Fools #4" title="Web Dev Fools #4" width="640" height="385" class="aligncenter size-full wp-image-368" /></a></p>
<span id="pty_trigger"></span>]]></content:encoded>
			<wfw:commentRss>http://nali.org/web-dev-fools-4/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Braves catcher Brian McCann supports the Georgia Lions Lighthouse</title>
		<link>http://nali.org/braves-catcher-brian-mccann-supports-the-georgia-lions-lighthouse/</link>
		<comments>http://nali.org/braves-catcher-brian-mccann-supports-the-georgia-lions-lighthouse/#comments</comments>
		<pubDate>Wed, 30 Jun 2010 23:47:04 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Lions Club]]></category>

		<guid isPermaLink="false">http://nali.org/?p=342</guid>
		<description><![CDATA[Update: Video changed.]]></description>
			<content:encoded><![CDATA[<p><object width="640" height="385"><param name="movie" value="http://www.youtube.com/v/5XVFD8eoCO4&amp;hl=en_US&amp;fs=1?rel=0&amp;color1=0x5d1719&amp;color2=0xcd311b&amp;hd=1"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/5XVFD8eoCO4&amp;hl=en_US&amp;fs=1?rel=0&amp;color1=0x5d1719&amp;color2=0xcd311b&amp;hd=1" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="640" height="385"></embed></object></p>
<p><em>Update</em>: Video changed.</p>
<span id="pty_trigger"></span>]]></content:encoded>
			<wfw:commentRss>http://nali.org/braves-catcher-brian-mccann-supports-the-georgia-lions-lighthouse/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Nick Cast Episode 5: How to Upgrade Your Blog to WordPress 3.0</title>
		<link>http://nali.org/nick-cast-episode-5-how-to-upgrade-your-blog-to-wordpress-3-0/</link>
		<comments>http://nali.org/nick-cast-episode-5-how-to-upgrade-your-blog-to-wordpress-3-0/#comments</comments>
		<pubDate>Mon, 21 Jun 2010 04:10:37 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Video Podcast]]></category>
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://nali.org/?p=314</guid>
		<description><![CDATA[In this episode, I demo how I upgrade this blog to WordPress 3.0. Like I say repeatedly in the video, make sure you backup your WordPress database and files before attempting the upgrade. Check out the WordPress Codex on how to do backups. In future episodes, I&#8217;ll cover backing up WordPress.]]></description>
			<content:encoded><![CDATA[<p>In this episode, I demo how I upgrade this blog to WordPress 3.0. Like I say repeatedly in the video, make sure you backup your WordPress database and files before attempting the upgrade. Check out the WordPress Codex on how to do <a href="http://codex.wordpress.org/WordPress_Backups">backups</a>. In future episodes, I&#8217;ll cover backing up WordPress.</p>
<p><object width="640" height="360"><param name="allowfullscreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="movie" value="http://vimeo.com/moogaloop.swf?clip_id=12725366&amp;server=vimeo.com&amp;show_title=0&amp;show_byline=0&amp;show_portrait=0&amp;color=00adef&amp;fullscreen=1" /><embed src="http://vimeo.com/moogaloop.swf?clip_id=12725366&amp;server=vimeo.com&amp;show_title=0&amp;show_byline=0&amp;show_portrait=0&amp;color=00adef&amp;fullscreen=1" type="application/x-shockwave-flash" allowfullscreen="true" allowscriptaccess="always" width="640" height="360"></embed></object></p>
<span id="pty_trigger"></span>]]></content:encoded>
			<wfw:commentRss>http://nali.org/nick-cast-episode-5-how-to-upgrade-your-blog-to-wordpress-3-0/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Web Dev Fools Episode #2</title>
		<link>http://nali.org/web-dev-fools-episode-2/</link>
		<comments>http://nali.org/web-dev-fools-episode-2/#comments</comments>
		<pubDate>Sat, 19 Jun 2010 00:35:31 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Video Podcast]]></category>

		<guid isPermaLink="false">http://nali.org/?p=306</guid>
		<description><![CDATA[So it took us a while to get Web Dev Fools Episode #2 out the door. The episode is ridiculously long, but hopefully fun to watch!]]></description>
			<content:encoded><![CDATA[<p>So it took us a while to get <a href="http://webdevfools.com/2010/06/web-dev-fools-podcast-episode-2/">Web Dev Fools Episode #2</a> out the door. The episode is ridiculously long, but hopefully fun to watch!</p>
<p><object width="640" height="360"><param name="allowfullscreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="movie" value="http://vimeo.com/moogaloop.swf?clip_id=12663438&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=0&amp;show_portrait=0&amp;color=00adef&amp;fullscreen=1" /><embed src="http://vimeo.com/moogaloop.swf?clip_id=12663438&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=0&amp;show_portrait=0&amp;color=00adef&amp;fullscreen=1" type="application/x-shockwave-flash" allowfullscreen="true" allowscriptaccess="always" width="640" height="360"></embed></object></p>
<span id="pty_trigger"></span>]]></content:encoded>
			<wfw:commentRss>http://nali.org/web-dev-fools-episode-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Nick Cast Episode 4: Prep for Webdevfools</title>
		<link>http://nali.org/nick-cast-episode-prep-for-webdevfools/</link>
		<comments>http://nali.org/nick-cast-episode-prep-for-webdevfools/#comments</comments>
		<pubDate>Wed, 16 Jun 2010 16:34:54 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Video Podcast]]></category>

		<guid isPermaLink="false">http://nali.org/?p=295</guid>
		<description><![CDATA[In Nick Cast Episode 4, I track a Webdevfools recording day, from our pre-game meal to setting up.]]></description>
			<content:encoded><![CDATA[<p>In Nick Cast Episode 4, I track a Webdevfools recording day, from our pre-game meal to setting up.</p>
<p><object width="560" height="340"><param name="movie" value="http://www.youtube.com/v/1H94UzlaTq8&#038;hl=en_US&#038;fs=1&#038;rel=0&#038;hd=1"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/1H94UzlaTq8&#038;hl=en_US&#038;fs=1&#038;rel=0&#038;hd=1" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="560" height="340"></embed></object></p>
<span id="pty_trigger"></span>]]></content:encoded>
			<wfw:commentRss>http://nali.org/nick-cast-episode-prep-for-webdevfools/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Nick Cast Episode 3: Chloe the Cat, mullets, the Sentra, Coworking</title>
		<link>http://nali.org/nick-cast-episode-chloe-cat-mullets-sentra-coworking/</link>
		<comments>http://nali.org/nick-cast-episode-chloe-cat-mullets-sentra-coworking/#comments</comments>
		<pubDate>Tue, 15 Jun 2010 14:21:47 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Video Podcast]]></category>

		<guid isPermaLink="false">http://nali.org/?p=289</guid>
		<description><![CDATA[Introducing Choe the cat, my mullet, the dirty Sentra, and Strongbox West.]]></description>
			<content:encoded><![CDATA[<p>Introducing Choe the cat, my mullet, the dirty Sentra, and Strongbox West.</p>
<p><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="560" height="340" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="allowFullScreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="src" value="http://www.youtube.com/v/dHS5LVT7Wsw&amp;hl=en_US&amp;fs=1&amp;rel=0&amp;hd=1" /><param name="allowfullscreen" value="true" /><embed type="application/x-shockwave-flash" width="560" height="340" src="http://www.youtube.com/v/dHS5LVT7Wsw&amp;hl=en_US&amp;fs=1&amp;rel=0&amp;hd=1" allowscriptaccess="always" allowfullscreen="true"></embed></object></p>
<span id="pty_trigger"></span>]]></content:encoded>
			<wfw:commentRss>http://nali.org/nick-cast-episode-chloe-cat-mullets-sentra-coworking/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Mac OS X Perl: Can’t locate Config/IniFiles.pm Error</title>
		<link>http://nali.org/perl-code/</link>
		<comments>http://nali.org/perl-code/#comments</comments>
		<pubDate>Mon, 14 Jun 2010 21:45:33 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Coding]]></category>

		<guid isPermaLink="false">http://nali.org/?p=274</guid>
		<description><![CDATA[I ran into an interesting Mac OS X Perl issue the other day. Since @runlevelmedia hosts websites for clients, its a good idea to have a backup strategy. Hoping and prayer is not really strategy. We have been working on updating our backup plan to make it more efficient. Basically, the script could be run...]]></description>
			<content:encoded><![CDATA[<p style="text-align: center;"><img class="aligncenter" src="http://nali.org/wp-content/uploads/2010/06/4700757469_fdcefc7c6e.jpg" alt="Perl Screenshot" width="500" height="400" /></p>
<p>I ran into an interesting Mac OS X Perl issue the other day. Since @runlevelmedia hosts websites for clients, its a good idea to have a backup strategy. Hoping and prayer is not really strategy.</p>
<p>We have been working on updating our backup plan to make it more efficient.  Basically, the script could be run from different machines, so we have multiple copies as a starting point.</p>
<p>Testing out the script on my Macbook threw me for a surprise. Apparently, I mostly use the basic Perl modules pre-installed with Mac OS X and I&#8217;d never run across any issues.</p>
<div class="codecolorer-container text default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">jeebus:~ nali$ ./backup.pl --config testconfig.ini<br />
Can't locate Config/IniFiles.pm in @INC (@INC contains: /Library/Perl/Updates/5.10.0 /System/Library/Perl/5.10.0/darwin-thread-multi-2level /System/Library/Perl/5.10.0 /Library/Perl/5.10.0/darwin-thread-multi-2level /Library/Perl/5.10.0 /Network/Library/Perl/5.10.0/darwin-thread-multi-2level /Network/Library/Perl/5.10.0 /Network/Library/Perl /System/Library/Perl/Extras/5.10.0/darwin-thread-multi-2level /System/Library/Perl/Extras/5.10.0 .) at ./backup.pl line 3.<br />
BEGIN failed--compilation aborted at ./backup.pl line 3.</div></div>
<p>(Yes, my Macbook name is jeebus). Quick Googling found people complaining about the Perl version installed by Mac OS X. The problem is that its not the best idea to yank out the pre-installed version because a lot of apps and systems related processes expects it all work in a certain way. One example I saw was how iTunes used a string comparison behavior that got changed in the more recent versions of Perl. So lots of folks end up installing a bunch of different versions of Perl, which is beyond confusing and unmanageable.</p>
<p>Turns the following command makes it pretty easy to install specific CPAN modules:</p>
<div class="codecolorer-container text default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">sudo perl -MCPAN -e 'install Config::IniFiles'</div></div>
<p>Another option is to kick off a CPAN shell and install that way:</p>
<div class="codecolorer-container text default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">sudo perl -MCPAN -e 'shell'<br />
Terminal does not support AddHistory.<br />
cpan shell -- CPAN exploration and modules installation (v1.9205)<br />
ReadLine support available (maybe install Bundle::CPAN or Bundle::CPANxxl?)<br />
cpan[1]&amp;gt; install Config::IniFiles<br />
CPAN: Storable loaded ok (v2.18)<br />
Going to read /Users/nali/.cpan/Metadata<br />
....</div></div>
<p>That&#8217;s it!</p>
<span id="pty_trigger"></span>]]></content:encoded>
			<wfw:commentRss>http://nali.org/perl-code/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Nick Cast Episode 2: US/England, iPhone 4, Manager/Umpire Tirade</title>
		<link>http://nali.org/nick-cast-episode-usengland-iphone-managerumpire-tirade/</link>
		<comments>http://nali.org/nick-cast-episode-usengland-iphone-managerumpire-tirade/#comments</comments>
		<pubDate>Mon, 14 Jun 2010 21:02:24 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Video Podcast]]></category>

		<guid isPermaLink="false">http://nali.org/?p=270</guid>
		<description><![CDATA[In this episode, I cover the US / England Word Cup tie, iPhone 4 features I&#8217;m excited about, Hdyropolis, and what managers and umpires yell at each other on the diamond.]]></description>
			<content:encoded><![CDATA[<p>In this episode, I cover the US / England Word Cup tie, iPhone 4 features I&#8217;m excited about, Hdyropolis, and what managers and umpires yell at each other on the diamond.</p>
<p><object width="640" height="360"><param name="allowfullscreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="movie" value="http://vimeo.com/moogaloop.swf?clip_id=12539424&amp;server=vimeo.com&amp;show_title=0&amp;show_byline=0&amp;show_portrait=0&amp;color=00adef&amp;fullscreen=1" /><embed src="http://vimeo.com/moogaloop.swf?clip_id=12539424&amp;server=vimeo.com&amp;show_title=0&amp;show_byline=0&amp;show_portrait=0&amp;color=00adef&amp;fullscreen=1" type="application/x-shockwave-flash" allowfullscreen="true" allowscriptaccess="always" width="640" height="360"></embed></object></p>
<span id="pty_trigger"></span>]]></content:encoded>
			<wfw:commentRss>http://nali.org/nick-cast-episode-usengland-iphone-managerumpire-tirade/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>404 Error Pages and Wibiya Toolbar</title>
		<link>http://nali.org/error-pages-wibiya-toolbar/</link>
		<comments>http://nali.org/error-pages-wibiya-toolbar/#comments</comments>
		<pubDate>Sat, 05 Jun 2010 05:36:52 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Video Podcast]]></category>

		<guid isPermaLink="false">http://nali.org/?p=262</guid>
		<description><![CDATA[This episode I talk about what custom 404 error pages can do for your site, are toolbars like Wibiya useful for sites, and how some popular sites looked when they were initially released.]]></description>
			<content:encoded><![CDATA[<p>This episode I talk about what <a href="http://sixrevisions.com/design-showcase-inspiration/beautiful-and-useful-404-error-pages-for-inspiration/">custom 404 error pages</a> can do for your site, are toolbars like <a href="http://www.wibiya.com">Wibiya</a> useful for sites, and <a href="http://www.telegraph.co.uk/technology/6125914/How-20-popular-websites-looked-when-they-launched.html">how some popular sites looked when they were initially released</a>.</p>
<p><object width="640" height="360"><param name="allowfullscreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="movie" value="http://vimeo.com/moogaloop.swf?clip_id=12307448&amp;server=vimeo.com&amp;show_title=0&amp;show_byline=0&amp;show_portrait=0&amp;color=00adef&amp;fullscreen=1" /><embed src="http://vimeo.com/moogaloop.swf?clip_id=12307448&amp;server=vimeo.com&amp;show_title=0&amp;show_byline=0&amp;show_portrait=0&amp;color=00adef&amp;fullscreen=1" type="application/x-shockwave-flash" allowfullscreen="true" allowscriptaccess="always" width="640" height="360"></embed></object></p>
<span id="pty_trigger"></span>]]></content:encoded>
			<wfw:commentRss>http://nali.org/error-pages-wibiya-toolbar/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Harry P. Leu Gardens, Orlando, FL</title>
		<link>http://nali.org/harry-p-leu-gardens-orlando-fl/</link>
		<comments>http://nali.org/harry-p-leu-gardens-orlando-fl/#comments</comments>
		<pubDate>Sat, 29 May 2010 20:30:48 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Video Podcast]]></category>

		<guid isPermaLink="false">http://nali.org/?p=237</guid>
		<description><![CDATA[The Harry P. Leu Gardens in Orlando is one of those places most tourists will never visit. They don&#8217;t have a budget for fancy tv ads with fireworks, or a roll coaster tied to some big Hollywood movie. Frankly, if you are ever in Central Florida, and need a break from screaming kids or just...]]></description>
			<content:encoded><![CDATA[<p>The <a href="http://www.leugardens.org/">Harry P. Leu Gardens</a> in Orlando is one of those places most tourists will never visit. They don&#8217;t have a budget for fancy tv ads with fireworks, or a roll coaster tied to some big Hollywood movie. </p>
<p>Frankly, if you are ever in Central Florida, and need a break from screaming kids or just a couple hours of down time, visit the Harry P. Leu Gardens. Its in downtown Orlando, away from all the tourist traps. Its quiet and serene. </p>
<p>Sit in the Butterfly Garden and watch them dancing away. Check out all the beautiful roses and camellias. </p>
<p><object width="640" height="360"><param name="allowfullscreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="movie" value="http://vimeo.com/moogaloop.swf?clip_id=12127884&amp;server=vimeo.com&amp;show_title=0&amp;show_byline=0&amp;show_portrait=0&amp;color=00adef&amp;fullscreen=1" /><embed src="http://vimeo.com/moogaloop.swf?clip_id=12127884&amp;server=vimeo.com&amp;show_title=0&amp;show_byline=0&amp;show_portrait=0&amp;color=00adef&amp;fullscreen=1" type="application/x-shockwave-flash" allowfullscreen="true" allowscriptaccess="always" width="640" height="360"></embed></object></p>
<span id="pty_trigger"></span>]]></content:encoded>
			<wfw:commentRss>http://nali.org/harry-p-leu-gardens-orlando-fl/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Web Dev Fools Episode #1</title>
		<link>http://nali.org/web-dev-fools-episode-1/</link>
		<comments>http://nali.org/web-dev-fools-episode-1/#comments</comments>
		<pubDate>Sat, 22 May 2010 03:49:20 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Video Podcast]]></category>

		<guid isPermaLink="false">http://nali.org/?p=226</guid>
		<description><![CDATA[Recently, @runlevelmedia has been working out of @strongboxwest (yes, yes, I am testing out Twitter&#8217;s @anywhere usage). We seriously dig it. Lots of cool people. Funny thing happened over time. A few of us started hanging out together and became fast friends. Well, you know what that leads to, right? Video podcasting of course! This...]]></description>
			<content:encoded><![CDATA[<p>Recently, @runlevelmedia has been working out of @strongboxwest (yes, yes, I am testing out Twitter&#8217;s @anywhere usage). We seriously dig it. Lots of cool people. Funny thing happened over time. A few of us started hanging out together and became fast friends. </p>
<p>Well, you know what that leads to, right?</p>
<p>Video podcasting of course!</p>
<p>This is basically @nicdev, @dmustafic, @joshcaza, and me (@iamtherealnick) babbling about web development related topics for an hour:</p>
<p><object width="640" height="360"><param name="allowfullscreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="movie" value="http://vimeo.com/moogaloop.swf?clip_id=11922718&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=0&amp;show_portrait=0&amp;color=00ADEF&amp;fullscreen=1" /><embed src="http://vimeo.com/moogaloop.swf?clip_id=11922718&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=0&amp;show_portrait=0&amp;color=00ADEF&amp;fullscreen=1" type="application/x-shockwave-flash" allowfullscreen="true" allowscriptaccess="always" width="640" height="360"></embed></object></p>
<p>Enjoy and remember to visit <a href="http://webdevfools.com">webdevfools.com</a> for the latest episodes.</p>
<span id="pty_trigger"></span>]]></content:encoded>
			<wfw:commentRss>http://nali.org/web-dev-fools-episode-1/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Nick &amp; Josh Show Episode 1</title>
		<link>http://nali.org/nick-josh-show-episode-1/</link>
		<comments>http://nali.org/nick-josh-show-episode-1/#comments</comments>
		<pubDate>Sat, 06 Mar 2010 15:37:46 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Nick & Josh Show]]></category>
		<category><![CDATA[Video Podcast]]></category>

		<guid isPermaLink="false">http://nali.org/?p=216</guid>
		<description><![CDATA[Josh and I enjoy doing videos and we&#8217;ve been out of the game for a while. Its one of those things that definitely gets us pumped up. We love talking about anything Internet related. Blogging and all the different social media outlets are wonderful, but it still doesn&#8217;t compare to face to face conversations! While...]]></description>
			<content:encoded><![CDATA[<p>Josh and I enjoy doing videos and we&#8217;ve been out of the game for a while. Its one of those things that definitely gets us pumped up. We love talking about anything Internet related. Blogging and all the different social media outlets are wonderful, but it still doesn&#8217;t compare to face to face conversations!</p>
<div style="text-align:center"><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="500" height="301" id="viddler"><param name="movie" value="http://www.viddler.com/simple_on_site/3bfc0dd8" /><param name="allowScriptAccess" value="always" /><param name="allowFullScreen" value="true" /><param name="flashvars" value="fake=1"/><embed src="http://www.viddler.com/simple_on_site/3bfc0dd8" width="500" height="301" type="application/x-shockwave-flash" allowScriptAccess="always" allowFullScreen="true" flashvars="fake=1" name="viddler" ></embed></object></div>
<p>While I&#8217;ll embed the videos here now and then, they will all get posted at <a href="http://nickandjosh.com">nickandjosh.com</a>.</p>
<span id="pty_trigger"></span>]]></content:encoded>
			<wfw:commentRss>http://nali.org/nick-josh-show-episode-1/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Favorite Wallpaper 03/06/10</title>
		<link>http://nali.org/favorite-wallpaper-030610/</link>
		<comments>http://nali.org/favorite-wallpaper-030610/#comments</comments>
		<pubDate>Sat, 06 Mar 2010 06:01:51 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Graphics]]></category>

		<guid isPermaLink="false">http://nali.org/?p=207</guid>
		<description><![CDATA[Randomly perusing, I found a list of great wallpaper sites at appstorm.net. These are a few that stuck out this morning: Shiva: Flow 2: Bokeh: cosmosition: Endeavour Lifts Off by NASA:]]></description>
			<content:encoded><![CDATA[<p>Randomly perusing, I found a list of great wallpaper sites at <a href="http://mac.appstorm.net/roundups/graphics-roundups/6-places-to-find-a-gorgeous-new-mac-wallpaper/">appstorm.net</a>. These are a few that stuck out this morning:</p>
<p style="text-align: center;"><a href="http://www.mandolux.com/archive/2009/1025.html">Shiva</a>:</p>
<p><img class="aligncenter" title="Wallpaper: Shiva" src="http://nali.org/wp-content/uploads/2010/03/4409704235_59c25044c9.jpg" alt="Wallpaper: Shiva" width="500" height="157" /></p>
<p style="text-align: center;"><a href="http://mx-steel.deviantart.com/art/Flow-2-131356675">Flow 2</a>:</p>
<p><img class="aligncenter" title="Wallpaper: Flow 2" src="http://nali.org/wp-content/uploads/2010/03/4409691985_0404270477.jpg" alt="Wallpaper: Flow 2" width="500" height="313" /></p>
<p style="text-align: center;"><a href="http://-kol.deviantart.com/art/Bokeh-116165739">Bokeh</a>:</p>
<p><img class="aligncenter" title="Wallpaper: Bokeh" src="http://nali.org/wp-content/uploads/2010/03/4410462288_c4e1f3072f.jpg" alt="Wallpaper: Bokeh" width="500" height="375" /></p>
<p style="text-align: center;"><a href="http://interfacelift.com/wallpaper_beta/details/1968/cosmosition.html">cosmosition</a>:</p>
<p><img class="aligncenter" title="Wallpaper: cosmosition" src="http://nali.org/wp-content/uploads/2010/03/4410464650_f50b93ed0e.jpg" alt="Wallpaper: cosmosition" width="500" height="313" /></p>
<p style="text-align: center;"><a href="http://mediaarchive.ksc.nasa.gov/detail.cfm?mediaid=45510">Endeavour Lifts Off by NASA</a>:</p>
<p><img class="aligncenter" title="Wallpaper: Endeavour Lifts Off by NASA" src="http://nali.org/wp-content/uploads/2010/03/4409684771_d5dabd2e9f.jpg" alt="Wallpaper: Endeavour Lifts Off by NASA" width="500" height="333" /></p>
<span id="pty_trigger"></span>]]></content:encoded>
			<wfw:commentRss>http://nali.org/favorite-wallpaper-030610/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Atlanta Lions Club Member</title>
		<link>http://nali.org/atlanta-lions-club-member/</link>
		<comments>http://nali.org/atlanta-lions-club-member/#comments</comments>
		<pubDate>Sat, 27 Feb 2010 07:34:27 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Lions Club]]></category>

		<guid isPermaLink="false">http://nali.org/?p=171</guid>
		<description><![CDATA[Yesterday, I became a Lion, aka member of the Lions Club, specifically the Atlanta Lions Club. Lets backtrack a bit here. Towards the beginning of the year, I set my New Years resolutions, just like everyone else. One of my resolutions was to try to help out in the community. I wanted to join an...]]></description>
			<content:encoded><![CDATA[<p><img class="alignleft size-full wp-image-172" style="margin-left: 10px; margin-right: 10px;" title="Lions Club" src="http://nali.org/wp-content/uploads/2010/02/lionlogo_1c.gif" alt="Lions Club" width="151" height="143" />Yesterday, I became a Lion, aka member of the <a href="http://www.lionsclubs.org/EN/index.php">Lions Club</a>, specifically the <a href="http://www.atlantalions.org/">Atlanta Lions Club</a>.</p>
<p>Lets backtrack a bit here. Towards the beginning of the year, I set my New Years resolutions, just like everyone else. One of my resolutions was to try to help out in the community. I wanted to join an organization that was interested in giving a helping hand. So I decided to look into the big 3 organizations everyone has heard of: Lions Club, <a href="http://www.kiwanis.org/">Kiwanis</a>, and <a href="http://www.rotary.org">Rotary Club</a>. I had done Key Club in high school, and wanted something different, so Kiwanis was out (nothing wrong with Kiwanis of course, but I wanted to put myself more out there).</p>
<p>So I googled &#8216;Atlanta Lions Club&#8217; and up came the <a href="http://www.atlantalions.org/">Atlanta Lions Club</a>. Well, that was easy.</p>
<p>I emailed Scott Rogers, the club president, and he invited me to their next meeting. A few days later, I walked into one of the rooms at the Capital City Club and met lots of awesome folks. Scott and I talked a few days later, trying to figure out how I wanted to be involved.</p>
<p>Vision is a huge focus for Lions Clubs (no pun intended). This goes back to Hellen Keller challenging Lions Clubs to be &#8220;<a href="http://www.lionsclubs.org/EN/about-lions/mission-and-history/our-history/helen-keller.php">knights of the blind in the crusade against darkness</a>.&#8221; This is a topic I can empathize with. Since I wear contacts most of the time, not many folks see me with my honkin&#8217; thick glasses at night or on the weekends. Without contacts or glasses, I can&#8217;t tell how many fingers you are holding up if they were a foot from my face.</p>
<p>My biggest fear is not being able to see.</p>
<p><img class="alignright size-medium wp-image-177" title="Kristie Carlson at Night of Spectacles 2009" src="http://nali.org/wp-content/uploads/2010/02/kristie-carlson-smaller-image-269x300.jpg" alt="Kristie Carlson at Night of Spectacles 2009" width="269" height="300" />So I want to get involved in anything sight-related. One awesome cause is the <a href="http://www.lionslighthouse.org">Georgia Lions Lighthouse Foundation</a>. The Lighthouse provides eye exams and glasses to folks who can&#8217;t afford them. You can <a href="http://www.lionslighthouse.org/get_involved/donate_glasses">donate old glasses</a> (usable or broken) to the Lighthouse.</p>
<p>One of the biggest fundraising events for the Lighthouse is the <a href="http://www.nightofspectacles.org/">Night of Spectacles</a>. While the event has a silent auction for raising money, the fun part is a design competition of making dresses that incorporate donated broken glasses. This year, the Night of Spectacles is being held April 22nd, at the <a href="http://www.masonmurer.com/">Mason Murer Gallery</a>.</p>
<p>The Lighthouse is raising money to open a new 4,450 square feet facility in Decatur. With so many people needing their services, this will allow more people to volunteer, and most importantly, more people to be helped.</p>
<p>And oh yeah, overhead at the Lighthouse is 6%, meaning for every dollar you donate, 94 cents goes directly to their programs!</p>
<p>I&#8217;m hoping to help out at the screenings that the Lighthouse holds all over the state.</p>
<p>Members of the Atlanta Lions Club get together once a month and volunteer at <a href="http://www.thepantrydc.com">The Pantry</a>.  The Pantry provides food to anyone in need. It isn&#8217;t limited to homeless individuals. Imagine anyone who has lost their job and can&#8217;t make ends meet. The wife and I trekked down there earlier this month to help out. Unfortunately, it was closed because of the insane snowstorm that hit the southeast. But we plan on making it out there once a month to help out.</p>
<p>The Atlanta Lions Club will also be helping out at the <a href="http://main.diabetes.org/site/Calendar/945902512?view=Detail&amp;id=9081">American Diabetes Association EXPO/Atlanta</a> on March 27th with free screenings.</p>
<p>Either way, I&#8217;m happy to be part of such a great organization. I&#8217;m happy that I&#8217;ll have the chance to help.</p>
<p>I&#8217;m proud to be a Lion.</p>
<p style="text-align: center;">
<span id="pty_trigger"></span>]]></content:encoded>
			<wfw:commentRss>http://nali.org/atlanta-lions-club-member/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Gary Vaynerchuk Book Signing in Atlanta</title>
		<link>http://nali.org/pics-from-garyvee-book-signing-in-atlanta-w-runlevelmedia-joshcaza/</link>
		<comments>http://nali.org/pics-from-garyvee-book-signing-in-atlanta-w-runlevelmedia-joshcaza/#comments</comments>
		<pubDate>Sat, 06 Feb 2010 05:29:40 +0000</pubDate>
		<dc:creator>nick</dc:creator>
				<category><![CDATA[Events]]></category>
		<category><![CDATA[Run Level Media]]></category>
		<category><![CDATA[Social Media]]></category>

		<guid isPermaLink="false">http://iamtherealnick.wordpress.com/2010/02/06/pics-from-garyvee-book-signing-in-atlanta-w-runlevelmedia-joshcaza/</guid>
		<description><![CDATA[Josh Chase and I headed to Cost Plus World Market for Gary Vaynerchuk&#8217;s book signing of Crush It!, to represent Run Level Media. Had a great time!]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.joshcaza.com">Josh Chase</a> and I headed to Cost Plus World Market for Gary Vaynerchuk&#8217;s book signing of Crush It!, to represent <a href="http://runlevelmedia.com">Run Level Media</a>. Had a great time!</p>
<p style="text-align: center;"><a title="Gary Vaynerchuk Booksigning in Atlanta" href="http://www.flickr.com/photos/47367958@N08/4335006569/"><img class="aligncenter" src="http://nali.org/wp-content/uploads/2010/02/4335006569_4b18335869.jpg" alt="Gary Vaynerchuk Booksigning in Atlanta" width="500" height="375" /></a></p>
<p style="text-align: center;"><a title="Gary Vaynerchuk Booksigning in Atlanta" href="http://www.flickr.com/photos/47367958@N08/4335749736/"><img class="aligncenter" src="http://nali.org/wp-content/uploads/2010/02/4335749736_3a19c74523.jpg" alt="Gary Vaynerchuk Booksigning in Atlanta" width="500" height="375" /></a></p>
<p style="text-align: center;"><a title="Gary Vaynerchuk Booksigning in Atlanta" href="http://www.flickr.com/photos/47367958@N08/4335749842/"><img class="aligncenter" src="http://nali.org/wp-content/uploads/2010/02/4335749842_fee64f5366.jpg" alt="Gary Vaynerchuk Booksigning in Atlanta" width="500" height="375" /></a></p>
<p style="text-align: center;"><a title="Gary Vaynerchuk Booksigning in Atlanta" href="http://www.flickr.com/photos/47367958@N08/4335006609/"><img class="aligncenter" src="http://nali.org/wp-content/uploads/2010/02/4335006609_2555638f0f.jpg" alt="Gary Vaynerchuk Booksigning in Atlanta" width="500" height="375" /></a></p>
<p style="text-align: center;"><a title="Gary Vaynerchuk Booksigning in Atlanta" href="http://www.flickr.com/photos/47367958@N08/4335749886/"><img class="aligncenter" src="http://nali.org/wp-content/uploads/2010/02/4335749886_b1e2602a50.jpg" alt="Gary Vaynerchuk Booksigning in Atlanta" width="500" height="375" /></a></p>
<span id="pty_trigger"></span>]]></content:encoded>
			<wfw:commentRss>http://nali.org/pics-from-garyvee-book-signing-in-atlanta-w-runlevelmedia-joshcaza/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Make Your Users Awesome</title>
		<link>http://nali.org/make-your-users-awesome/</link>
		<comments>http://nali.org/make-your-users-awesome/#comments</comments>
		<pubDate>Sat, 06 Feb 2010 05:29:10 +0000</pubDate>
		<dc:creator>nick</dc:creator>
				<category><![CDATA[Social Media]]></category>

		<guid isPermaLink="false">http://iamtherealnick.wordpress.com/2010/02/06/make-your-users-awesome/</guid>
		<description><![CDATA[Kathy Sierra talking about how and why consultants and businesses should make their users awesome. The end of the talk is pertinent to social media folks.]]></description>
			<content:encoded><![CDATA[<p>Kathy Sierra talking about how and why consultants and businesses should make their users awesome. The end of the talk is pertinent to social media folks.</p>
<p><object width="500" height="306"><param name="movie" value="http://www.youtube.com/v/Str2K98JnMc?fs=1"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/Str2K98JnMc?fs=1" type="application/x-shockwave-flash" width="500" height="306" allowscriptaccess="always" allowfullscreen="true"></embed></object></p>
<span id="pty_trigger"></span>]]></content:encoded>
			<wfw:commentRss>http://nali.org/make-your-users-awesome/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Fake Facebook Accounts: Do you have one?</title>
		<link>http://nali.org/fake-facebook-accounts-do-you-have-one/</link>
		<comments>http://nali.org/fake-facebook-accounts-do-you-have-one/#comments</comments>
		<pubDate>Sat, 06 Feb 2010 05:28:56 +0000</pubDate>
		<dc:creator>nick</dc:creator>
				<category><![CDATA[Social Media]]></category>

		<guid isPermaLink="false">http://iamtherealnick.wordpress.com/2010/02/06/fake-facebook-accounts-do-you-have-one/</guid>
		<description><![CDATA[Are folks going to start making fake Facebook accounts similar to creating fake email addresses for spam?]]></description>
			<content:encoded><![CDATA[<p>Are folks going to start making fake Facebook accounts similar to creating fake email addresses for spam?</p>
<p><object width="500" height="306"><param name="movie" value="http://www.youtube.com/v/ZVb5MdN50BE?fs=1"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/ZVb5MdN50BE?fs=1" type="application/x-shockwave-flash" width="500" height="306" allowscriptaccess="always" allowfullscreen="true"></embed></object></p>
<span id="pty_trigger"></span>]]></content:encoded>
			<wfw:commentRss>http://nali.org/fake-facebook-accounts-do-you-have-one/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>JetBlue and Delta on Facebook</title>
		<link>http://nali.org/jetblue-delta-on-facebook/</link>
		<comments>http://nali.org/jetblue-delta-on-facebook/#comments</comments>
		<pubDate>Sat, 06 Feb 2010 05:28:46 +0000</pubDate>
		<dc:creator>nick</dc:creator>
				<category><![CDATA[Social Media]]></category>

		<guid isPermaLink="false">http://iamtherealnick.wordpress.com/2010/02/06/jetblue-delta-on-facebook/</guid>
		<description><![CDATA[Comparing how JetBlue and Delta treat social media.]]></description>
			<content:encoded><![CDATA[<p>Comparing how JetBlue and Delta treat social media.</p>
<p><object width="500" height="306"><param name="movie" value="http://www.youtube.com/v/bkCB_4WesLY?fs=1"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/bkCB_4WesLY?fs=1" type="application/x-shockwave-flash" width="500" height="306" allowscriptaccess="always" allowfullscreen="true"></embed></object></p>
<span id="pty_trigger"></span>]]></content:encoded>
			<wfw:commentRss>http://nali.org/jetblue-delta-on-facebook/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Social Media and Insurance</title>
		<link>http://nali.org/social-media-and-insurance/</link>
		<comments>http://nali.org/social-media-and-insurance/#comments</comments>
		<pubDate>Sat, 06 Feb 2010 05:28:34 +0000</pubDate>
		<dc:creator>nick</dc:creator>
				<category><![CDATA[Business]]></category>
		<category><![CDATA[Social Media]]></category>
		<category><![CDATA[Video Podcast]]></category>

		<guid isPermaLink="false">http://iamtherealnick.wordpress.com/2010/02/06/social-media-and-insurance/</guid>
		<description />
			<content:encoded><![CDATA[<p><object width="500" height="306"><param name="movie" value="http://www.youtube.com/v/b1g9OiO-WvA?fs=1"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/b1g9OiO-WvA?fs=1" type="application/x-shockwave-flash" width="500" height="306" allowscriptaccess="always" allowfullscreen="true"></embed></object></p>
<span id="pty_trigger"></span>]]></content:encoded>
			<wfw:commentRss>http://nali.org/social-media-and-insurance/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>My New Run Level Media Business Cards</title>
		<link>http://nali.org/my-new-run-level-media-business-cards/</link>
		<comments>http://nali.org/my-new-run-level-media-business-cards/#comments</comments>
		<pubDate>Sat, 06 Feb 2010 05:27:38 +0000</pubDate>
		<dc:creator>nick</dc:creator>
				<category><![CDATA[Run Level Media]]></category>
		<category><![CDATA[Social Media]]></category>

		<guid isPermaLink="false">http://iamtherealnick.wordpress.com/2010/02/06/my-new-run-level-media-business-cards/</guid>
		<description><![CDATA[A while back, Josh had Run Level Media business cards made up. I love the red RL that covers one side. Underneath his name, he had Internet Ninja, which I thought was cool. I wanted to put something similar on mine, but I couldn&#39;t think of anything interesting. I ended up doing Internet Guru because...]]></description>
			<content:encoded><![CDATA[<p>A while back, <a href="http://twitter.com/joshcaza">Josh</a> had <a href="http://runlevelmedia.com">Run Level Media</a> business cards made up. I love the red RL that covers one side. Underneath his name, he had Internet Ninja, which I thought was cool. I wanted to put something similar on mine, but I couldn&#39;t think of anything interesting. I ended up doing Internet Guru because I wasn&#39;t smart enough to come up with anything fun and original.</p>
<p>But Internet Guru always seemed arrogant. I&#39;ve worked in Internet startups, I&#39;ve worked on huge web platforms, but calling myself Internet Guru just seemed pretentious. <a href="http://twitter.com/tessa">Tessa Horehled&#39;s</a> blog post <a href="http://tessahorehled.com/2009/how-to-identify-a-new-media-douchebag-and-save-yourself-from-becoming-one-the-inaugural-igniteatl/">How To Identify A New Media Douchebag</a> just made it worse, because she was right. I definitely don&#39;t know it all, and Guru made it seem like I did.</p>
<p>So I talked to the wife about this. To paraphrase her response &quot;Ummm, you are a geek. Call yourself an Internet Geek.&quot;</p>
<p>Now I don&#39;t feel like a prick when handing out my shiny new business cards.</p>
<p><a href="http://www.flickr.com/photos/47367958@N08/4335021637/" title="Old Run Level Media Business Cards"><img src="http://nali.org/wp-content/uploads/2010/02/4335021637_5f9071c880.jpg" width="500" height="375" alt="Old Run Level Media Business Cards" /></a></p>
<p><a href="http://www.flickr.com/photos/47367958@N08/4335764878/" title="New Run Level Media Business Cards"><img src="http://nali.org/wp-content/uploads/2010/02/4335764878_ca83a5f37e.jpg" width="500" height="375" alt="New Run Level Media Business Cards" /></a></p>
<p><a href="http://www.flickr.com/photos/47367958@N08/4335764736/" title="Run Level Media Business Cards"><img src="http://nali.org/wp-content/uploads/2010/02/4335764736_d13dd9d04f.jpg" width="500" height="375" alt="Run Level Media Business Cards" /></a></p>
<span id="pty_trigger"></span>]]></content:encoded>
			<wfw:commentRss>http://nali.org/my-new-run-level-media-business-cards/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Media Fluffer: Episode 1 Video Podcast</title>
		<link>http://nali.org/media-fluffer-episode-1-video-podcast/</link>
		<comments>http://nali.org/media-fluffer-episode-1-video-podcast/#comments</comments>
		<pubDate>Sat, 06 Feb 2010 05:27:24 +0000</pubDate>
		<dc:creator>nick</dc:creator>
				<category><![CDATA[Social Media]]></category>
		<category><![CDATA[Video Podcast]]></category>

		<guid isPermaLink="false">http://iamtherealnick.wordpress.com/2010/02/06/media-fluffer-episode-1-video-podcast/</guid>
		<description><![CDATA[Josh Chase, Chris Jordan, and I decided to kick off a new video show. Since we all dig social media and Internet culture, we thought it would be cool to talk about it and share with viewers. While we have done plenty of video podcasts before, this is going to be an experiment from the...]]></description>
			<content:encoded><![CDATA[<p>Josh Chase, Chris Jordan, and I decided to kick off a new video show. Since we all dig social media and Internet culture, we thought it would be cool to talk about it and share with viewers.  </p>
<p>While we have done plenty of video podcasts before, this is going to be an experiment from the ground up. The whole site will be perpetually under construction as we try out new tools and new ways of doing media distribution. Live streaming and BackNoise will be integrated so we can connect directly to viewers.  </p>
<p>It will all be fun! <img src='http://nali.org/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' />  </p>
<p>Leave us some feedback on what you think.</p>
<p><embed src="http://blip.tv/play/hKsCgaabBwI%2Em4v" type="application/x-shockwave-flash" width="480" height="300" allowscriptaccess="always" allowfullscreen="true"></embed> </p>
<span id="pty_trigger"></span>]]></content:encoded>
			<wfw:commentRss>http://nali.org/media-fluffer-episode-1-video-podcast/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>New Media Atlanta All Access Pass</title>
		<link>http://nali.org/new-media-atlanta-all-access-pass/</link>
		<comments>http://nali.org/new-media-atlanta-all-access-pass/#comments</comments>
		<pubDate>Sat, 06 Feb 2010 05:26:39 +0000</pubDate>
		<dc:creator>nick</dc:creator>
				<category><![CDATA[Social Media]]></category>

		<guid isPermaLink="false">http://iamtherealnick.wordpress.com/2010/02/06/new-media-atlanta-all-access-pass/</guid>
		<description><![CDATA[Awesome badges. Whoever designed them did a great job.]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.flickr.com/photos/47367958@N08/4335757138/" title="New Media Atlanta All Access Pass"><img src="http://nali.org/wp-content/uploads/2010/02/4335757138_8a2da900d0.jpg" width="500" height="375" alt="nmatl" /></a></p>
<p>Awesome badges. Whoever designed them did a great job.</p>
<span id="pty_trigger"></span>]]></content:encoded>
			<wfw:commentRss>http://nali.org/new-media-atlanta-all-access-pass/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Why Free Sucks</title>
		<link>http://nali.org/why-free-sucks/</link>
		<comments>http://nali.org/why-free-sucks/#comments</comments>
		<pubDate>Sat, 06 Feb 2010 05:25:30 +0000</pubDate>
		<dc:creator>nick</dc:creator>
				<category><![CDATA[Social Media]]></category>

		<guid isPermaLink="false">http://iamtherealnick.wordpress.com/2010/02/06/why-free-sucks/</guid>
		<description><![CDATA[Chris Brogan has a&#160;post&#160;about doing things for free and how you should charge for certain services. Offering free services can definitely be tricky. Honestly, the only time you should do it is if it isn&#8217;t going to offer you headaches. Its ok that Twitter is free, each new user doesn&#8217;t require any additional work for...]]></description>
			<content:encoded><![CDATA[<p><img src="http://nali.org/wp-content/uploads/2010/02/4340140840_28ee0a1a33.jpg" width="500" height="357" alt="Why Free Sucks" /></a></p>
<p>Chris Brogan has a&nbsp;<a href="http://www.chrisbrogan.com/the-audacity-of-free/">post</a>&nbsp;about doing things for free and how you should charge for certain services.</p>
<p>Offering free services can definitely be tricky. Honestly, the only time you should do it is if it isn&#8217;t going to offer you headaches. Its ok that Twitter is free, each new user doesn&#8217;t require any additional work for Twitter (ok, a million additional users might cause the fail whale, but thats a different problem).</p>
<p>Providing free services when it requires time and labor, especially for a one person shop or a small business, can be an exercise in futility. If you are giving free classes to a whole bunch of people, great. One person vs 10 people in a class situation probably doesn&#8217;t matter.</p>
<p>From my own experience, when you offer something from free, clients the world.&nbsp;If you are doing pro bono work for a client, it is critical to clearly define what services you will be providing for free. At least if you don&#8217;t want your hair going white! Treat the client just like a paying client. If you have a development or process cycle, do it with the free clients as well.</p>
<p>Don&#8217;t sell yourself short.</p>
<span id="pty_trigger"></span>]]></content:encoded>
			<wfw:commentRss>http://nali.org/why-free-sucks/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>What is SEO, Crawlers, Robots, and Spiders? Video By Josh | Run Level Media</title>
		<link>http://nali.org/what-is-seo-crawlers-robots-and-spiders-video-by-josh-run-level-media/</link>
		<comments>http://nali.org/what-is-seo-crawlers-robots-and-spiders-video-by-josh-run-level-media/#comments</comments>
		<pubDate>Sat, 06 Feb 2010 05:24:53 +0000</pubDate>
		<dc:creator>nick</dc:creator>
				<category><![CDATA[Social Media]]></category>
		<category><![CDATA[Video Podcast]]></category>

		<guid isPermaLink="false">http://iamtherealnick.wordpress.com/2010/02/06/what-is-seo-crawlers-robots-and-spiders-video-by-josh-run-level-media/</guid>
		<description><![CDATA[Josh kicks off a series of videos on social media, SEO, and other fun stuff. Enjoy.]]></description>
			<content:encoded><![CDATA[<p>Josh kicks off a series of videos on social media, SEO, and other fun stuff. </p>
<p>Enjoy.</p>
<p><object width="500" height="306"><param name="movie" value="http://www.youtube.com/v/RoCBtNAUpHM?fs=1"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/RoCBtNAUpHM?fs=1" type="application/x-shockwave-flash" width="500" height="306" allowscriptaccess="always" allowfullscreen="true"></embed></object></p>
<span id="pty_trigger"></span>]]></content:encoded>
			<wfw:commentRss>http://nali.org/what-is-seo-crawlers-robots-and-spiders-video-by-josh-run-level-media/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Jeff Turner: Why Social Media Is Here To Stay</title>
		<link>http://nali.org/jeff-turner-why-social-media-is-here-to-stay/</link>
		<comments>http://nali.org/jeff-turner-why-social-media-is-here-to-stay/#comments</comments>
		<pubDate>Sat, 06 Feb 2010 05:24:44 +0000</pubDate>
		<dc:creator>nick</dc:creator>
				<category><![CDATA[Social Media]]></category>

		<guid isPermaLink="false">http://iamtherealnick.wordpress.com/2010/02/06/jeff-turner-why-social-media-is-here-to-stay/</guid>
		<description />
			<content:encoded><![CDATA[<p><embed src="http://blip.tv/play/hKsCgaPjVwI%2Em4v" type="application/x-shockwave-flash" width="480" height="300" allowscriptaccess="always" allowfullscreen="true"></embed> </p>
<span id="pty_trigger"></span>]]></content:encoded>
			<wfw:commentRss>http://nali.org/jeff-turner-why-social-media-is-here-to-stay/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Chris Brogan Speaks at New Media Atlanta | Run Level Media</title>
		<link>http://nali.org/chris-brogan-speaks-at-new-media-atlanta-run-level-media/</link>
		<comments>http://nali.org/chris-brogan-speaks-at-new-media-atlanta-run-level-media/#comments</comments>
		<pubDate>Sat, 06 Feb 2010 05:24:12 +0000</pubDate>
		<dc:creator>nick</dc:creator>
				<category><![CDATA[Social Media]]></category>
		<category><![CDATA[Video Podcast]]></category>

		<guid isPermaLink="false">http://iamtherealnick.wordpress.com/2010/02/06/chris-brogan-speaks-at-new-media-atlanta-run-level-media/</guid>
		<description />
			<content:encoded><![CDATA[<p><embed src="http://blip.tv/play/hKsCgaONPAI%2Em4v" type="application/x-shockwave-flash" width="480" height="300" allowscriptaccess="always" allowfullscreen="true"></embed> </p>
<span id="pty_trigger"></span>]]></content:encoded>
			<wfw:commentRss>http://nali.org/chris-brogan-speaks-at-new-media-atlanta-run-level-media/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Social Media Strategy</title>
		<link>http://nali.org/social-media-strategy/</link>
		<comments>http://nali.org/social-media-strategy/#comments</comments>
		<pubDate>Sat, 06 Feb 2010 05:23:20 +0000</pubDate>
		<dc:creator>nick</dc:creator>
				<category><![CDATA[Social Media]]></category>

		<guid isPermaLink="false">http://iamtherealnick.wordpress.com/2010/02/06/social-media-strategy/</guid>
		<description><![CDATA[With everyone jumping on the social media bandwagon (rightfully), most companies and individuals do not have a meaningful strategy. Since social media marketing is a new field, there is no roadmap that marketers and advertisers can use to map out a strategy. Early adopters are seeing returns (more on that in a future post), but...]]></description>
			<content:encoded><![CDATA[<p>With everyone jumping on the social media bandwagon (rightfully), most companies and individuals do not have a meaningful strategy. Since social media marketing is a new field, there is no roadmap that marketers and advertisers can use to map out a strategy. Early adopters are seeing returns (more on that in a future post), but its difficult for others to figure out or even understand what to do.</p>
<p>Television networks have depended on Nielsen ratings for a long time. Nielsen breaks down how many people are watching what show and demographics of the viewers. Nielsen has been collecting data since 1950. Similarly, radio stations, newspapers, and other print media can provide detailed breakdowns of listeners and readership. Advertisers can get similar data from popular websites who are looking to sell space on their sites.</p>
<p>The old model is about broadcasting to hopefully the right people and getting them interested in products. That doesn&#8217;t work with social media. Its all about relationships. Building relationship, cultivating relationships, interacting with clients, potential clients.</p>
<p>The onus falls on the marketer to start creating organic growth.</p>
<p>So how?</p>
<p>Sean Carton, over at <a href="http://www.clickz.com/3634939">Clickz</a>, has a great article called <a href="http://www.clickz.com/3634939">A Social Media Strategy Checklist</a>. Its a great starting point for everyone, especially for folks wondering what the right questions are. To kick off any social media strategy, these questions need to be answered:</p>
<ol>
<li>What are we trying to accomplish?</li>
<li>Why social media?</li>
<li>What kind of social media will help us best achieve our goals?</li>
<li>Are we prepared to let go of control of our brand, at least a little?</li>
<li>What will we do to encourage participation?</li>
<li>Who will maintain our social media presence?</li>
<li>Do we have the resources to keep this up, or will this be a short campaign?</li>
<li>How does engaging use    rs via    social media integrate into our overall marketing/communications strategy?</li>
<li>How do we measure success? What constitutes failure?</li>
<li>What will we do less of if we&#8217;re spending resources on social media?</li>
</ol>
<p>The question of what resources to dedicate to social media (#7 above) is interesting. Attending <a href="http://newmediaatlanta.com/">New Media Atlanta</a> conference recently, Newell-Rubbermaid was involved in a panel discussion. An audience member asked what kind of resources Rubbermaid puts towards social media. The response: 50% of one full-time employee and 2 interns. Rubbermaid has a market cap of $4.2B. Its hard to believe such a well known brand, whose bottom-line is tied to consumer confidence in its brand, would not provide more resources to its public face. Still, Rubbermaid clearly understands the value of their online presence and social media and has plans for expansion.</p>
<p>The panel also discussed ROI (part of #9 above). The usual metrics of measuring views, followers, comments, or subscribers don&#8217;t apply well if the product is purchased from retailers. Rubbermaid said the only form of marketing they could successfully measure was of the in-store variety. <a href="http://www.chrisbrogan.com/">Chris Brogan</a>, who was the keynote for the New Media Atlanta conference, said the only ROI that mattered was specific dollar amounts. Show spending X amounts of dollars on social media will lead to Y dollars in savings.</p>
<p>It is important to remember that having concrete answers for all the above questions may not be possible. Knowing why and how are basic questions and can&#8217;t be pushed to the back burner. Without answers to them, no viable strategy can be created. The ROI question is tricky and there is no consensus, but Brogan&#8217;s assertion that providing a dollar value can be a good starting point.&nbsp;</p>
<span id="pty_trigger"></span>]]></content:encoded>
			<wfw:commentRss>http://nali.org/social-media-strategy/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>BarCamp Atlanta 2007 Blogs and OPML</title>
		<link>http://nali.org/barcamp_atlanta_2007_blogs_and_opml/</link>
		<comments>http://nali.org/barcamp_atlanta_2007_blogs_and_opml/#comments</comments>
		<pubDate>Tue, 16 Oct 2007 00:04:58 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[atlanta]]></category>
		<category><![CDATA[barcamp]]></category>
		<category><![CDATA[barcamp atlanta]]></category>
		<category><![CDATA[barcampatl]]></category>
		<category><![CDATA[barcampatl2007]]></category>

		<guid isPermaLink="false">http://nali.org/barcamp_atlanta_2007_blogs_and_opml/</guid>
		<description><![CDATA[These are some of the folks who attended BarCamp Atlanta 2007 and their sites/blogs. Also, I created an OPML from feeds I found at some of the sites: barcampatlanta2007.opml. If there are any errors, let me know. First Name Last Name Site/Blog Selah Abrams http://www.turnerstudios.com Nick Ali http://www.nali.org Jeb Barger http://www.jebba.net Sanjay Bhatia http://www.izenda.com Jake...]]></description>
			<content:encoded><![CDATA[<p>These are some of the folks who attended BarCamp Atlanta 2007 and their sites/blogs. Also, I created an OPML from feeds I found at some of the sites: <a href="http://www.nali.org/files/barcampatlanta2007.opml">barcampatlanta2007.opml</a>. If there are any errors, let me know.</p>
<p><TABLE CELLSPACING="0" BORDER="1"><br />
<COL WIDTH="86"><COL WIDTH="86"><COL WIDTH="86"><br />
<TBODY><br />
<TR><br />
<TD WIDTH="86" HEIGHT="17" ALIGN="LEFT"><b>First Name</b></TD><br />
<TD WIDTH="86" ALIGN="LEFT"><b>Last Name</b></TD><br />
<TD WIDTH="86" ALIGN="LEFT"><b>Site/Blog</b></TD><br />
</TR><br />
<TR><br />
<TD WIDTH="86" HEIGHT="17" ALIGN="LEFT">Selah</TD><br />
<TD WIDTH="86" ALIGN="LEFT">Abrams</TD><br />
<TD WIDTH="86" ALIGN="LEFT"><A HREF="http://www.turnerstudios.com/">http://www.turnerstudios.com</A></TD><br />
</TR><br />
<TR><br />
<TD HEIGHT="17" ALIGN="LEFT">Nick</TD><br />
<TD ALIGN="LEFT">Ali</TD><br />
<TD ALIGN="LEFT"><A HREF="http://www.nali.org/">http://www.nali.org</A></TD><br />
</TR><br />
<TR><br />
<TD HEIGHT="17" ALIGN="LEFT">Jeb</TD><br />
<TD ALIGN="LEFT">Barger</TD><br />
<TD ALIGN="LEFT"><A HREF="http://www.jebba.net/">http://www.jebba.net</A></TD><br />
</TR><br />
<TR><br />
<TD HEIGHT="17" ALIGN="LEFT">Sanjay</TD><br />
<TD ALIGN="LEFT">Bhatia</TD><br />
<TD ALIGN="LEFT"><A HREF="http://www.izenda.com/">http://www.izenda.com</A></TD><br />
</TR><br />
<TR><br />
<TD HEIGHT="17" ALIGN="LEFT">Jake</TD><br />
<TD ALIGN="LEFT">Bohall</TD><br />
<TD ALIGN="LEFT"><A HREF="http://tastevine.com/">http://tastevine.com</A></TD><br />
</TR><br />
<TR><br />
<TD HEIGHT="16" ALIGN="LEFT">Randall</TD><br />
<TD ALIGN="LEFT">Bollig</TD><br />
<TD ALIGN="LEFT"><BR></TD><br />
</TR><br />
<TR><br />
<TD HEIGHT="17" ALIGN="LEFT">Tiffany</TD><br />
<TD ALIGN="LEFT">Brown</TD><br />
<TD ALIGN="LEFT"><A HREF="http://www.tiffanybbrown.com/">http://www.tiffanybbrown.com</A></TD><br />
</TR><br />
<TR><br />
<TD HEIGHT="16" ALIGN="LEFT">Russ</TD><br />
<TD ALIGN="LEFT">Caldwell</TD><br />
<TD ALIGN="LEFT"><BR></TD><br />
</TR><br />
<TR><br />
<TD HEIGHT="17" ALIGN="LEFT">Nate</TD><br />
<TD ALIGN="LEFT">Clark</TD><br />
<TD ALIGN="LEFT"><A HREF="http://nateclark.com/">http://nateclark.com</A></TD><br />
</TR><br />
<TR><br />
<TD HEIGHT="17" ALIGN="LEFT">David</TD><br />
<TD ALIGN="LEFT">Cohen</TD><br />
<TD ALIGN="LEFT"><A HREF="http://davidscohen.wordpress.com/">http://davidscohen.wordpress.com</A></TD><br />
</TR><br />
<TR><br />
<TD HEIGHT="16" ALIGN="LEFT">Greg</TD><br />
<TD ALIGN="LEFT">Corrin</TD><br />
<TD ALIGN="LEFT"><BR></TD><br />
</TR><br />
<TR><br />
<TD HEIGHT="17" ALIGN="LEFT">Dave</TD><br />
<TD ALIGN="LEFT">Coustan</TD><br />
<TD ALIGN="LEFT"><A HREF="http://blog.extraface.com/">http://blog.extraface.com</A></TD><br />
</TR><br />
<TR><br />
<TD HEIGHT="17" ALIGN="LEFT">Brian</TD><br />
<TD ALIGN="LEFT">Culler</TD><br />
<TD ALIGN="LEFT"><A HREF="http://www.brianculler.com/">http://www.brianculler.com</A></TD><br />
</TR><br />
<TR><br />
<TD HEIGHT="17" ALIGN="LEFT">Brad</TD><br />
<TD ALIGN="LEFT">Dillon</TD><br />
<TD ALIGN="LEFT"><A HREF="http://designersbloc.com/">http://designersbloc.com</A></TD><br />
</TR><br />
<TR><br />
<TD HEIGHT="17" ALIGN="LEFT">Ptah</TD><br />
<TD ALIGN="LEFT">Dunbar</TD><br />
<TD ALIGN="LEFT"><A HREF="http://www.ptahdunbar.net/">http://www.ptahdunbar.net</A></TD><br />
</TR><br />
<TR><br />
<TD HEIGHT="17" ALIGN="LEFT">Andy</TD><br />
<TD ALIGN="LEFT">Edmonds</TD><br />
<TD ALIGN="LEFT"><A HREF="http://surfmind.com/">http://surfmind.com</A></TD><br />
</TR><br />
<TR><br />
<TD HEIGHT="17" ALIGN="LEFT">Geoff</TD><br />
<TD ALIGN="LEFT">Edwards</TD><br />
<TD ALIGN="LEFT"><A HREF="http://www.tightgrid.com/">http://www.tightgrid.com</A></TD><br />
</TR><br />
<TR><br />
<TD HEIGHT="17" ALIGN="LEFT">Dennis</TD><br />
<TD ALIGN="LEFT">Eusebio</TD><br />
<TD ALIGN="LEFT"><A HREF="http://www.thoughtandtheory.com/">http://www.thoughtandtheory.com</A></TD><br />
</TR><br />
<TR><br />
<TD HEIGHT="17" ALIGN="LEFT">Stephen</TD><br />
<TD ALIGN="LEFT">Fleming</TD><br />
<TD ALIGN="LEFT"><A HREF="http://academicvc.blogspot.com/">http://academicvc.blogspot.com</A></TD><br />
</TR><br />
<TR><br />
<TD HEIGHT="16" ALIGN="LEFT">Jonathan</TD><br />
<TD ALIGN="LEFT">Gaffke</TD><br />
<TD ALIGN="LEFT"><BR></TD><br />
</TR><br />
<TR><br />
<TD HEIGHT="17" ALIGN="LEFT">Bryan</TD><br />
<TD ALIGN="LEFT">Gay</TD><br />
<TD ALIGN="LEFT"><A HREF="http://www.dedicatedhosting.com/">http://www.dedicatedhosting.com</A></TD><br />
</TR><br />
<TR><br />
<TD HEIGHT="17" ALIGN="LEFT">Glen</TD><br />
<TD ALIGN="LEFT">Gordon</TD><br />
<TD ALIGN="LEFT"><A HREF="http://blogs.msdn.com/glengordon">http://blogs.msdn.com/glengordon</A></TD><br />
</TR><br />
<TR><br />
<TD HEIGHT="17" ALIGN="LEFT">Logan</TD><br />
<TD ALIGN="LEFT">Gray</TD><br />
<TD ALIGN="LEFT"><A HREF="http://www.intensetech.com/">http://www.intensetech.com</A></TD><br />
</TR><br />
<TR><br />
<TD HEIGHT="17" ALIGN="LEFT">Lee</TD><br />
<TD ALIGN="LEFT">Hadsock</TD><br />
<TD ALIGN="LEFT"><A HREF="http://www.dedicatedhosting.com/">http://www.dedicatedhosting.com</A></TD><br />
</TR><br />
<TR><br />
<TD HEIGHT="17" ALIGN="LEFT">William</TD><br />
<TD ALIGN="LEFT">Harris</TD><br />
<TD ALIGN="LEFT"><A HREF="http://williamharris.name/">http://williamharris.name</A></TD><br />
</TR><br />
<TR><br />
<TD HEIGHT="17" ALIGN="LEFT">Jeff</TD><br />
<TD ALIGN="LEFT">Haynie</TD><br />
<TD ALIGN="LEFT"><A HREF="http://blog.jeffhaynie.us/">http://blog.jeffhaynie.us</A></TD><br />
</TR><br />
<TR><br />
<TD HEIGHT="17" ALIGN="LEFT">Toby</TD><br />
<TD ALIGN="LEFT">Ho</TD><br />
<TD ALIGN="LEFT"><A HREF="http://futuretoby.dyndns.org/wiki/Toby">http://futuretoby.dyndns.org/wiki/Toby</A></TD><br />
</TR><br />
<TR><br />
<TD HEIGHT="17" ALIGN="LEFT">Michael</TD><br />
<TD ALIGN="LEFT">Ivey</TD><br />
<TD ALIGN="LEFT"><A HREF="http://gweezlebur.com/">http://gweezlebur.com</A></TD><br />
</TR><br />
<TR><br />
<TD HEIGHT="17" ALIGN="LEFT">Bobby</TD><br />
<TD ALIGN="LEFT">John</TD><br />
<TD ALIGN="LEFT"><A HREF="http://www.creationstep.com/">http://www.creationstep.com</A></TD><br />
</TR><br />
<TR><br />
<TD HEIGHT="17" ALIGN="LEFT">Mark</TD><br />
<TD ALIGN="LEFT">Jones</TD><br />
<TD ALIGN="LEFT"><A HREF="http://www.bravadosoft.com/">http://www.bravadosoft.com</A></TD><br />
</TR><br />
<TR><br />
<TD HEIGHT="17" ALIGN="LEFT">David</TD><br />
<TD ALIGN="LEFT">Jones</TD><br />
<TD ALIGN="LEFT"><A HREF="http://blog.lenderflex.com/">http://blog.lenderflex.com</A></TD><br />
</TR><br />
<TR><br />
<TD HEIGHT="17" ALIGN="LEFT">Russell</TD><br />
<TD ALIGN="LEFT">Jurney</TD><br />
<TD ALIGN="LEFT"><A HREF="http://www.lucision.com/">http://www.lucision.com</A></TD><br />
</TR><br />
<TR><br />
<TD HEIGHT="16" ALIGN="LEFT">Keoni</TD><br />
<TD ALIGN="LEFT">Kepner</TD><br />
<TD ALIGN="LEFT"><BR></TD><br />
</TR><br />
<TR><br />
<TD HEIGHT="17" ALIGN="LEFT">Rachel</TD><br />
<TD ALIGN="LEFT">Keslensky</TD><br />
<TD ALIGN="LEFT"><A HREF="http://lastresot.xepher.net/">http://lastresot.xepher.net</A></TD><br />
</TR><br />
<TR><br />
<TD HEIGHT="17" ALIGN="LEFT">Alex</TD><br />
<TD ALIGN="LEFT">Kira</TD><br />
<TD ALIGN="LEFT"><A HREF="http://alexkira.blogspot.com/">http://alexkira.blogspot.com</A></TD><br />
</TR><br />
<TR><br />
<TD HEIGHT="16" ALIGN="LEFT">Craig</TD><br />
<TD ALIGN="LEFT">Larson</TD><br />
<TD ALIGN="LEFT"><BR></TD><br />
</TR><br />
<TR><br />
<TD HEIGHT="17" ALIGN="LEFT">Chris</TD><br />
<TD ALIGN="LEFT">Martin</TD><br />
<TD ALIGN="LEFT"><A HREF="http://cjmart.in/">http://cjmart.in</A></TD><br />
</TR><br />
<TR><br />
<TD HEIGHT="17" ALIGN="LEFT">Michael</TD><br />
<TD ALIGN="LEFT">Mealling</TD><br />
<TD ALIGN="LEFT"><A HREF="http://masten-space.com/">http://masten-space.com</A></TD><br />
</TR><br />
<TR><br />
<TD HEIGHT="17" ALIGN="LEFT">Travis</TD><br />
<TD ALIGN="LEFT">Metcalf</TD><br />
<TD ALIGN="LEFT"><A HREF="http://travismetcalf.com/">http://travismetcalf.com</A></TD><br />
</TR><br />
<TR><br />
<TD HEIGHT="17" ALIGN="LEFT">Timothy</TD><br />
<TD ALIGN="LEFT">Moenk</TD><br />
<TD ALIGN="LEFT"><A HREF="http://tmoenk.typepad.com/">http://tmoenk.typepad.com</A></TD><br />
</TR><br />
<TR><br />
<TD HEIGHT="17" ALIGN="LEFT">Greg</TD><br />
<TD ALIGN="LEFT">Mueller</TD><br />
<TD ALIGN="LEFT"><A HREF="http://www.tastevine.com/">http://www.tastevine.com</A></TD><br />
</TR><br />
<TR><br />
<TD HEIGHT="17" ALIGN="LEFT">Jesse</TD><br />
<TD ALIGN="LEFT">Newland</TD><br />
<TD ALIGN="LEFT"><A HREF="http://soylentfoo.jnewland.com/">http://soylentfoo.jnewland.com</A></TD><br />
</TR><br />
<TR><br />
<TD HEIGHT="17" ALIGN="LEFT">Sanjay</TD><br />
<TD ALIGN="LEFT">Parekh</TD><br />
<TD ALIGN="LEFT"><A HREF="http://www.sanjayparekh.com/">http://www.sanjayparekh.com</A></TD><br />
</TR><br />
<TR><br />
<TD HEIGHT="17" ALIGN="LEFT">Tejus</TD><br />
<TD ALIGN="LEFT">Parikh</TD><br />
<TD ALIGN="LEFT"><A HREF="http://www.vijedi.net/">http://www.vijedi.net</A></TD><br />
</TR><br />
<TR><br />
<TD HEIGHT="16" ALIGN="LEFT">Alan</TD><br />
<TD ALIGN="LEFT">Pinstein</TD><br />
<TD ALIGN="LEFT"><BR></TD><br />
</TR><br />
<TR><br />
<TD HEIGHT="16" ALIGN="LEFT">Evan</TD><br />
<TD ALIGN="LEFT">Pitstick</TD><br />
<TD ALIGN="LEFT"><BR></TD><br />
</TR><br />
<TR><br />
<TD HEIGHT="17" ALIGN="LEFT">Brian</TD><br />
<TD ALIGN="LEFT">Pitts</TD><br />
<TD ALIGN="LEFT"><A HREF="http://www.polibyte.com/">http://www.polibyte.com</A></TD><br />
</TR><br />
<TR><br />
<TD HEIGHT="17" ALIGN="LEFT">William</TD><br />
<TD ALIGN="LEFT">Powell</TD><br />
<TD ALIGN="LEFT"><A HREF="http://powellizer.wordpress.com/">http://powellizer.wordpress.com</A></TD><br />
</TR><br />
<TR><br />
<TD HEIGHT="16" ALIGN="LEFT">Rob</TD><br />
<TD ALIGN="LEFT">Ragan</TD><br />
<TD ALIGN="LEFT"><BR></TD><br />
</TR><br />
<TR><br />
<TD HEIGHT="17" ALIGN="LEFT">Amber</TD><br />
<TD ALIGN="LEFT">Rhea</TD><br />
<TD ALIGN="LEFT"><A HREF="http://beingamberrhea.com/">http://beingamberrhea.com</A></TD><br />
</TR><br />
<TR><br />
<TD HEIGHT="17" ALIGN="LEFT">Steven</TD><br />
<TD ALIGN="LEFT">Romej</TD><br />
<TD ALIGN="LEFT"><A HREF="http://www.romej.com/">http://www.romej.com</A></TD><br />
</TR><br />
<TR><br />
<TD HEIGHT="17" ALIGN="LEFT">Shauvik</TD><br />
<TD ALIGN="LEFT">Roy Choudhary</TD><br />
<TD ALIGN="LEFT"><A HREF="http://www.cc.gatech.edu/~shauvik">http://www.cc.gatech.edu/~shauvik</A></TD><br />
</TR><br />
<TR><br />
<TD HEIGHT="16" ALIGN="LEFT">Murari</TD><br />
<TD ALIGN="LEFT">S</TD><br />
<TD ALIGN="LEFT"><BR></TD><br />
</TR><br />
<TR><br />
<TD HEIGHT="17" ALIGN="LEFT">Sam</TD><br />
<TD ALIGN="LEFT">Schenkman-Moore</TD><br />
<TD ALIGN="LEFT"><A HREF="http://samsm.com/">http://samsm.com</A></TD><br />
</TR><br />
<TR><br />
<TD HEIGHT="17" ALIGN="LEFT">Benjamin</TD><br />
<TD ALIGN="LEFT">Scherry</TD><br />
<TD ALIGN="LEFT"><A HREF="http://www.biggestfan.net/">http://www.biggestfan.net</A></TD><br />
</TR><br />
<TR><br />
<TD HEIGHT="16" ALIGN="LEFT">Chris</TD><br />
<TD ALIGN="LEFT">Schoon</TD><br />
<TD ALIGN="LEFT"><BR></TD><br />
</TR><br />
<TR><br />
<TD HEIGHT="16" ALIGN="LEFT">Thomas</TD><br />
<TD ALIGN="LEFT">Shanks</TD><br />
<TD ALIGN="LEFT"><BR></TD><br />
</TR><br />
<TR><br />
<TD HEIGHT="17" ALIGN="LEFT">Charles</TD><br />
<TD ALIGN="LEFT">Shapiro</TD><br />
<TD ALIGN="LEFT"><A HREF="http://tomshiro.org/">http://tomshiro.org</A></TD><br />
</TR><br />
<TR><br />
<TD HEIGHT="17" ALIGN="LEFT">Kristyn</TD><br />
<TD ALIGN="LEFT">Shayon</TD><br />
<TD ALIGN="LEFT"><A HREF="http://pleaseremainstanding.blogspot.com/">http://pleaseremainstanding.blogspot.com</A></TD><br />
</TR><br />
<TR><br />
<TD HEIGHT="17" ALIGN="LEFT">Paul</TD><br />
<TD ALIGN="LEFT">Stamatiou</TD><br />
<TD ALIGN="LEFT"><A HREF="http://paulstamatiou.com/">http://paulstamatiou.com</A></TD><br />
</TR><br />
<TR><br />
<TD HEIGHT="17" ALIGN="LEFT">Josh</TD><br />
<TD ALIGN="LEFT">Sweeney</TD><br />
<TD ALIGN="LEFT"><A HREF="http://www.securitydistro.com/">http://www.securitydistro.com</A></TD><br />
</TR><br />
<TR><br />
<TD HEIGHT="17" ALIGN="LEFT">Rusty</TD><br />
<TD ALIGN="LEFT">Tanton</TD><br />
<TD ALIGN="LEFT"><A HREF="http://www.gapodcastnetwork.com/">http://www.gapodcastnetwork.com</A></TD><br />
</TR><br />
<TR><br />
<TD HEIGHT="17" ALIGN="LEFT">Victor</TD><br />
<TD ALIGN="LEFT">Tolbert</TD><br />
<TD ALIGN="LEFT"><A HREF="http://vticonsulting.com/">http://vticonsulting.com</A></TD><br />
</TR><br />
<TR><br />
<TD HEIGHT="17" ALIGN="LEFT">Aarjav</TD><br />
<TD ALIGN="LEFT">Trivedi</TD><br />
<TD ALIGN="LEFT"><A HREF="http://aarjav.org/">http://aarjav.org</A></TD><br />
</TR><br />
<TR><br />
<TD HEIGHT="17" ALIGN="LEFT">Doug</TD><br />
<TD ALIGN="LEFT">Turnure</TD><br />
<TD ALIGN="LEFT"><A HREF="http://blogs.msdn.com/dougturn">http://blogs.msdn.com/dougturn</A></TD><br />
</TR><br />
<TR><br />
<TD HEIGHT="17" ALIGN="LEFT">Sandro</TD><br />
<TD ALIGN="LEFT">Turriate</TD><br />
<TD ALIGN="LEFT"><A HREF="http://thoughtandtheory.com/">http://thoughtandtheory.com</A></TD><br />
</TR><br />
<TR><br />
<TD HEIGHT="17" ALIGN="LEFT">Joe</TD><br />
<TD ALIGN="LEFT">Uhl</TD><br />
<TD ALIGN="LEFT"><A HREF="http://blog.gtuhl.com/">http://blog.gtuhl.com</A></TD><br />
</TR><br />
<TR><br />
<TD HEIGHT="17" ALIGN="LEFT">Josh</TD><br />
<TD ALIGN="LEFT">Watts</TD><br />
<TD ALIGN="LEFT"><A HREF="http://www.blue-violin.com/">http://www.blue-violin.com</A></TD><br />
</TR><br />
<TR><br />
<TD HEIGHT="17" ALIGN="LEFT">Lance</TD><br />
<TD ALIGN="LEFT">Weatherby</TD><br />
<TD ALIGN="LEFT"><A HREF="http://blog.weatherby.net/">http://blog.weatherby.net</A></TD><br />
</TR><br />
<TR><br />
<TD HEIGHT="17" ALIGN="LEFT">Micah</TD><br />
<TD ALIGN="LEFT">Wedemeyer</TD><br />
<TD ALIGN="LEFT"><A HREF="http://blog.aisleten.com/">http://blog.aisleten.com</A></TD><br />
</TR><br />
<TR><br />
<TD HEIGHT="17" ALIGN="LEFT">Lisa</TD><br />
<TD ALIGN="LEFT">Weldon</TD><br />
<TD ALIGN="LEFT"><A HREF="http://www.clubhouseGAS.com/">http://www.clubhouseGAS.com</A></TD><br />
</TR><br />
<TR><br />
<TD HEIGHT="16" ALIGN="LEFT">Jason</TD><br />
<TD ALIGN="LEFT">White</TD><br />
<TD ALIGN="LEFT"><BR></TD><br />
</TR><br />
<TR><br />
<TD HEIGHT="17" ALIGN="LEFT">James</TD><br />
<TD ALIGN="LEFT">Williams</TD><br />
<TD ALIGN="LEFT"><A HREF="http://griftdrift.blogspot.com/">http://griftdrift.blogspot.com</A></TD><br />
</TR><br />
<TR><br />
<TD HEIGHT="17" ALIGN="LEFT">John</TD><br />
<TD ALIGN="LEFT">Willis</TD><br />
<TD ALIGN="LEFT"><A HREF="http://johnmwillis.com/">http://johnmwillis.com</A></TD><br />
</TR><br />
<TR><br />
<TD HEIGHT="17" ALIGN="LEFT">Dan</TD><br />
<TD ALIGN="LEFT">Winship</TD><br />
<TD ALIGN="LEFT"><A HREF="http://mysterion.org/~danw/blog/">http://mysterion.org/~danw/blog/</A></TD><br />
</TR><br />
<TR><br />
<TD HEIGHT="17" ALIGN="LEFT">Dave</TD><br />
<TD ALIGN="LEFT">Wright</TD><br />
<TD ALIGN="LEFT"><A HREF="http://www.jungledisk.com/">http://www.jungledisk.com</A></TD><br />
</TR><br />
<TR><br />
<TD HEIGHT="17" ALIGN="LEFT">Rusty</TD><br />
<TD ALIGN="LEFT">Zarse</TD><br />
<TD ALIGN="LEFT"><A HREF="http://www.vitaminzproductions.com/blog">http://www.vitaminzproductions.com/blog</A></TD><br />
</TR><br />
</TBODY><br />
</TABLE></p>
<span id="pty_trigger"></span>]]></content:encoded>
			<wfw:commentRss>http://nali.org/barcamp_atlanta_2007_blogs_and_opml/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>BarCamp Atlanta 2007 Day 2</title>
		<link>http://nali.org/barcamp_atlanta_2007_day_2/</link>
		<comments>http://nali.org/barcamp_atlanta_2007_day_2/#comments</comments>
		<pubDate>Sat, 13 Oct 2007 15:16:44 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://nali.org/barcamp_atlanta_2007_day_2/</guid>
		<description><![CDATA[See some Day 1 (Friday) pictures here. Check out my pictures in Flickr. There is also a BarCamp Atlanta 2007 group on Flickr here. Pictures from Saturday at BarCamp Atlanta 2007:&#60;/p.]]></description>
			<content:encoded><![CDATA[<p><em>See some Day 1 (Friday) pictures <a href="http://www.nali.org/2007/10/barcamp-atlanta-2007-day-1.html">here</a>.</em></p>
<p>Check out my pictures in <a href="http://www.flickr.com/photos/nali/sets/72157602390998336/">Flickr</a>. There is also a BarCamp Atlanta 2007 group on Flickr <a href="http://www.flickr.com/groups/barcampatlanta/">here</a>.</p>
<p>Pictures from Saturday at BarCamp Atlanta 2007:&lt;/p.</p>
<p align="center">
<a href="http://www.flickr.com/photos/nali/1560859869/" title="Photo Sharing"><img src="http://nali.org/wp-content/uploads/2007/10/1560859869_e6cd3c8530_m.jpg" width="240" height="180" alt="BarCamp Atlanta 2007 T-Shirt" /></a><br />
<a href="http://www.flickr.com/photos/nali/1559999579/" title="Photo Sharing"><img src="http://nali.org/wp-content/uploads/2007/10/1559999579_ecfc56f123_m.jpg" width="240" height="180" alt="BarCamp Atlanta 2007 Saturday Lunch" /></a></p>
<p align="center">
<a href="http://www.flickr.com/photos/nali/1560861356/" title="Photo Sharing"><img src="http://nali.org/wp-content/uploads/2007/10/1560861356_ac313b0654_m.jpg" width="240" height="180" alt="BarCamp Atlanta 2007 Saturday Lunch" /></a><br />
<a href="http://www.flickr.com/photos/nali/1559972019/" title="Photo Sharing"><img src="http://nali.org/wp-content/uploads/2007/10/1559972019_c23070411f_m.jpg" width="240" height="180" alt="BarCamp Atlanta 2007 Saturday OLPC" /></a></p>
<p align="center">
<a href="http://www.flickr.com/photos/nali/1561589522/" title="Photo Sharing"><img src="http://nali.org/wp-content/uploads/2007/10/1561589522_957602dd9c_m.jpg" width="180" height="240" alt="BarCamp Atlanta 2007 Saturday Schedule" /></a><br />
<a href="http://www.flickr.com/photos/nali/1560709329/" title="Photo Sharing"><img src="http://nali.org/wp-content/uploads/2007/10/1560709329_68edf9acb0_m.jpg" width="180" height="240" alt="BarCamp Atlanta 2007 Saturday Schedule" /></a></p>
<span id="pty_trigger"></span>]]></content:encoded>
			<wfw:commentRss>http://nali.org/barcamp_atlanta_2007_day_2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>BarCamp Atlanta 2007 Day 1</title>
		<link>http://nali.org/barcamp_atlanta_2007_day_1/</link>
		<comments>http://nali.org/barcamp_atlanta_2007_day_1/#comments</comments>
		<pubDate>Fri, 12 Oct 2007 21:54:12 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://nali.org/barcamp_atlanta_2007_day_1/</guid>
		<description><![CDATA[See some Day 2 (Saturday) pictures here. Check out all my BarCamp Atlanta pictures in Flickr. There is also a BarCamp Atlanta 2007 group on Flickr here. Here are a few pictures from Friday night of BarCamp Atlanta 2007:&#60;/p.]]></description>
			<content:encoded><![CDATA[<p><em>See some Day 2 (Saturday) pictures <a href="http://www.nali.org/2007/10/barcamp-atlanta-2007-day-2.html">here</a>.</em></p>
<p>Check out all my BarCamp Atlanta pictures in <a href="http://www.flickr.com/photos/nali/sets/72157602390998336/">Flickr</a>. There is also a BarCamp Atlanta 2007 group on Flickr <a href="http://www.flickr.com/groups/barcampatlanta/">here</a>.</p>
<p>Here are a few pictures from Friday night of BarCamp Atlanta 2007:&lt;/p.</p>
<p align="center">
<a href="http://www.flickr.com/photos/nali/1556500179/" title="Photo Sharing"><img src="http://nali.org/wp-content/uploads/2007/10/1556500179_ebca6e2cb6_m.jpg" width="240" height="180" alt="IMG_1371" /></a><br />
<a href="http://www.flickr.com/photos/nali/1556498115/" title="Photo Sharing"><img src="http://nali.org/wp-content/uploads/2007/10/1556498115_2fda7188b1_m.jpg" width="240" height="180" alt="IMG_1373" /></a>
</p>
<p align="center">
<a href="http://www.flickr.com/photos/nali/1556496321/" title="Photo Sharing"><img src="http://nali.org/wp-content/uploads/2007/10/1556496321_23244432cf_m.jpg" width="240" height="180" alt="IMG_1372" /></a><br />
<a href="http://www.flickr.com/photos/nali/1556494279/" title="Photo Sharing"><img src="http://nali.org/wp-content/uploads/2007/10/1556494279_184e1c88d6_m.jpg" width="240" height="180" alt="IMG_1374" /></a>
</p>
<p align="center">
<a href="http://www.flickr.com/photos/nali/1556492173/" title="Photo Sharing"><img src="http://nali.org/wp-content/uploads/2007/10/1556492173_eaa655d48b_m.jpg" width="240" height="180" alt="Schedules" /></a><br />
<a href="http://www.flickr.com/photos/nali/1556487971/" title="Photo Sharing"><img src="http://nali.org/wp-content/uploads/2007/10/1556487971_a56d921199_m.jpg" width="180" height="240" alt="Friday Night Schedule" /></a>
</p>
<p align="center">
<a href="http://www.flickr.com/photos/nali/1557355336/" title="Photo Sharing"><img src="http://nali.org/wp-content/uploads/2007/10/1557355336_b79e5bbbb5_m.jpg" width="240" height="180" alt="Stephen Fleming Halfway to Anywhere" /></a></p>
<span id="pty_trigger"></span>]]></content:encoded>
			<wfw:commentRss>http://nali.org/barcamp_atlanta_2007_day_1/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>JapanFest 2007</title>
		<link>http://nali.org/japanfest_2007/</link>
		<comments>http://nali.org/japanfest_2007/#comments</comments>
		<pubDate>Sun, 30 Sep 2007 17:35:46 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://nali.org/japanfest_2007/</guid>
		<description><![CDATA[We went to JapanFest Saturday. Lots of vendors hawking their wares, a few food vendors, but we missed the good stuff and some of the lines were too long. All the pictures can be seen here: http://www.flickr.com/photos/nali/sets/72157602219546137/]]></description>
			<content:encoded><![CDATA[<p>We went to <a href="http://www.japanfest.org/">JapanFest</a> Saturday. Lots of vendors hawking their wares, a few food vendors, but we missed the good stuff and some of the lines were too long.</p>
<p>All the pictures can be seen here: <a href="http://www.flickr.com/photos/nali/sets/72157602219546137/">http://www.flickr.com/photos/nali/sets/72157602219546137/</a></p>
<div align="center">
<a href="http://www.flickr.com/photos/nali/1464089153/" title="Photo Sharing"><img src="http://nali.org/wp-content/uploads/2007/09/1464089153_d5550d3c8e.jpg" width="500" height="375" alt="JapanFest 2007 Atlanta, GA" /></a>
</div>
<div align="center">
<a href="http://www.flickr.com/photos/nali/1464104553/" title="Photo Sharing"><img src="http://nali.org/wp-content/uploads/2007/09/1464104553_ad8b0f69d0.jpg" width="500" height="375" alt="Origami Christmas Trees" /></a>
</div>
<div align="center">
<a href="http://www.flickr.com/photos/nali/1464979630/" title="Photo Sharing"><img src="http://nali.org/wp-content/uploads/2007/09/1464979630_58c2ff6077.jpg" width="375" height="500" alt="Samurai" /></a>
</div>
<span id="pty_trigger"></span>]]></content:encoded>
			<wfw:commentRss>http://nali.org/japanfest_2007/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Yellow Jackets Nest on the Deck</title>
		<link>http://nali.org/yellow_jackets_nest_on_the_dec/</link>
		<comments>http://nali.org/yellow_jackets_nest_on_the_dec/#comments</comments>
		<pubDate>Thu, 27 Sep 2007 22:54:03 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://nali.org/yellow_jackets_nest_on_the_dec/</guid>
		<description />
			<content:encoded><![CDATA[<div align="center">
<a href="http://www.flickr.com/photos/nali/1450089979/" title="Photo Sharing"><img src="http://nali.org/wp-content/uploads/2007/09/1450089979_5083a8ae10.jpg" width="500" height="375" alt="Yellow Jacket Nest" /></a>
</div>
<div align="center">
<a href="http://www.flickr.com/photos/nali/1450088973/" title="Photo Sharing"><img src="http://nali.org/wp-content/uploads/2007/09/1450088973_fa42bb7bae.jpg" width="500" height="375" alt="Yellow Jacket Nest" /></a>
</div>
<div align="center">
<a href="http://www.flickr.com/photos/nali/1450088271/" title="Photo Sharing"><img src="http://nali.org/wp-content/uploads/2007/09/1450088271_746505a288.jpg" width="375" height="500" alt="Yellow Jacket Nest" /></a>
</div>
<span id="pty_trigger"></span>]]></content:encoded>
			<wfw:commentRss>http://nali.org/yellow_jackets_nest_on_the_dec/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Fobana 2007 Wichita</title>
		<link>http://nali.org/fobana_2007_wichita/</link>
		<comments>http://nali.org/fobana_2007_wichita/#comments</comments>
		<pubDate>Thu, 27 Sep 2007 10:49:57 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://nali.org/fobana_2007_wichita/</guid>
		<description><![CDATA[See more pictures here: http://www.flickr.com/photos/nali/sets/72157601873381063/]]></description>
			<content:encoded><![CDATA[<p>See more pictures here: <a href="http://www.flickr.com/photos/nali/sets/72157601873381063/">http://www.flickr.com/photos/nali/sets/72157601873381063/</a>
</p>
<div align="center">
<a href="http://www.flickr.com/photos/nali/1325417182/" title="Photo Sharing"><img src="http://nali.org/wp-content/uploads/2007/09/1325417182_3359337fb3.jpg" width="500" height="375" alt="IMG_0846" /></a>
</div>
<div align="center">
<a href="http://www.flickr.com/photos/nali/1324696473/" title="Photo Sharing"><img src="http://nali.org/wp-content/uploads/2007/09/1324696473_a41c66f979.jpg" width="500" height="375" alt="IMG_0938" /></a>
</div>
<div align="center">
<a href="http://www.flickr.com/photos/nali/1324647403/" title="Photo Sharing"><img src="http://nali.org/wp-content/uploads/2007/09/1324647403_e1a270b78d.jpg" width="500" height="375" alt="IMG_0888" /></a>
</div>
<span id="pty_trigger"></span>]]></content:encoded>
			<wfw:commentRss>http://nali.org/fobana_2007_wichita/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Meerkat Manor Promos</title>
		<link>http://nali.org/meerkat_manor_promos/</link>
		<comments>http://nali.org/meerkat_manor_promos/#comments</comments>
		<pubDate>Wed, 26 Sep 2007 19:00:37 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://nali.org/meerkat_manor_promos/</guid>
		<description><![CDATA[I have developed an unhealthy fascination with meerkats after watching a couple episodes of the show. Here are a couple ads for season 3:]]></description>
			<content:encoded><![CDATA[<p>I have developed an unhealthy fascination with meerkats after watching a couple episodes of the show. Here are a couple ads for season 3:</p>
<p></p>
<div align="center"></div>
<div align="center"></div>
<div align="center"></div>
<span id="pty_trigger"></span>]]></content:encoded>
			<wfw:commentRss>http://nali.org/meerkat_manor_promos/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	<media:rating>nonadult</media:rating></channel>
</rss>

