<?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:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" version="2.0">

<channel>
	<title>Nicholas C. Johnson</title>
	
	<link>http://www.nicholascjohnson.com/blog</link>
	<description />
	<lastBuildDate>Mon, 14 Sep 2009 02:10:59 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<geo:lat>40.10637</geo:lat><geo:long>-111.654082</geo:long><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" href="http://feeds.feedburner.com/NicholasCJohnson" type="application/rss+xml" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com" /><item>
		<title>MySQL 5.1, PHP 5.3, and Mac OS X 10.6</title>
		<link>http://www.nicholascjohnson.com/blog/2009/09/13/mysql-5-1-php-5-3-and-mac-os-x-10-6/</link>
		<comments>http://www.nicholascjohnson.com/blog/2009/09/13/mysql-5-1-php-5-3-and-mac-os-x-10-6/#comments</comments>
		<pubDate>Mon, 14 Sep 2009 02:10:59 +0000</pubDate>
		<dc:creator>Nic</dc:creator>
				<category><![CDATA[Apple]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://www.nicholascjohnson.com/blog/?p=165</guid>
		<description>After upgrading to Snow Leopard (Mac OS X 10.6) I found that my local MySQL [...]</description>
			<content:encoded><![CDATA[<p>After upgrading to Snow Leopard (Mac OS X 10.6) I found that my local MySQL installation no longer worked. Also, my local Apache server using PHP 5.2 no longer interpreted .html files as PHP as I&#8217;d set up before. I did some digging and came up with the following things to get it working again. Hope this helps.</p>
<h3>MySQL</h3>
<p>There isn&#8217;t a MySQL installer package for Snow Leopard yet so you&#8217;ll have to build it from source. (I know, really scary sounding, huh. I hadn&#8217;t compiled anything before this and was intimidated. But it&#8217;s easy. Promise.) Follow <a title="Compile MySQL from source" href="http://hivelogic.com/articles/compiling-mysql-on-snow-leopard/">this extremely easy-to-follow tutorial</a> by <a title="About Dan Benjamin" href="http://hivelogic.com/about">Dan Benjamin</a> and then come right back here for the rest.</p>
<h3>Apache &amp; PHP</h3>
<p>Welcome back. By now you should be able to connect to your shiny new MySQL instance. Now, if you load any PHP pages that use any of the date functions you&#8217;ll see this error (or something similar):</p>
<p><code>Warning: date() [function.date]: It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier.</code></p>
<p>PHP 5.3 now requires the timezone to be specified instead of trying to guess at it.</p>
<ol>
<li>Open Terminal (/Applications/Utilities/Terminal).</li>
<li>Copy the built-in <code>php.ini.default</code> file to <code>php.ini</code> by typing <code>sudo cp php.ini.default php.ini</code> and pressing Return. Supply your password.</li>
<li>Edit <code>php.ini</code> by typing <code>sudo open php.ini</code>. It should open in your default text editor.</li>
<li>Search the file for the phrase &#8220;timezone&#8221;.  You&#8217;ll find a line that reads <code>;date.timezone =</code>. Change it to <code>date.timezone = America/Denver</code> (or whatever timezone you choose from <a href="http://us3.php.net/manual/en/timezones.php">this list</a>). Remember to delete the semicolon from the beginning of the line.</li>
<li>Because of some code I share with colleagues, I ended up needing to restore the <code>short_open_tag</code> attribute by finding that phrase and setting the value to <code>On</code>.</li>
<li>Also, MySQL couldn&#8217;t connect to anything until I commented out the <code>mysql.default_socket</code> property by placing a semicolon at the beginning of the line. This lets it use the built-in value instead.</li>
<li>After making these changes to your <code>php.ini</code> file you need to restart Apache to get it to read the new values in. In Terminal type <code>sudo apachectl graceful</code> and test your local php code in your browser.</li>
</ol>
<p>Happy coding!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.nicholascjohnson.com/blog/2009/09/13/mysql-5-1-php-5-3-and-mac-os-x-10-6/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>OS X Terminal Mail directory</title>
		<link>http://www.nicholascjohnson.com/blog/2008/11/21/os-x-terminal-mail-directory/</link>
		<comments>http://www.nicholascjohnson.com/blog/2008/11/21/os-x-terminal-mail-directory/#comments</comments>
		<pubDate>Fri, 21 Nov 2008 16:00:14 +0000</pubDate>
		<dc:creator>Nic</dc:creator>
				<category><![CDATA[Asides]]></category>
		<category><![CDATA[Development]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[mac]]></category>
		<category><![CDATA[mail]]></category>
		<category><![CDATA[os x]]></category>
		<category><![CDATA[terminal]]></category>

		<guid isPermaLink="false">http://www.nicholascjohnson.com/blog/?p=153</guid>
		<description>In case anyone is searching for this: the mail for terminal directory (i.e. the mail [...]</description>
			<content:encoded><![CDATA[<p>In case anyone is searching for this: the mail for terminal directory (i.e. the mail that shows up when you have cron jobs running) is /var/mail/username where username is your account name. I was trying to get rid of some old mail files and couldn&#8217;t find this very easily with a simple search. HTH!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.nicholascjohnson.com/blog/2008/11/21/os-x-terminal-mail-directory/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>“Add to Shelfari” bookmarklet for Amazon.com</title>
		<link>http://www.nicholascjohnson.com/blog/2008/11/10/add-to-shelfari-bookmarklet-for-amazoncom/</link>
		<comments>http://www.nicholascjohnson.com/blog/2008/11/10/add-to-shelfari-bookmarklet-for-amazoncom/#comments</comments>
		<pubDate>Mon, 10 Nov 2008 20:38:29 +0000</pubDate>
		<dc:creator>Nic</dc:creator>
				<category><![CDATA[Development]]></category>

		<guid isPermaLink="false">http://www.nicholascjohnson.com/blog/?p=148</guid>
		<description>I wrote a little bookmarklet (based on the one I found from goodreads.com) to add [...]</description>
			<content:encoded><![CDATA[<p>I wrote a little bookmarklet (based on the one I found from goodreads.com) to add to your bookmarks/favorites bar that lets you quickly add a book from an amazon.com page right to your shelfari account. Simply drag this link: <a href="javascript:%20var%20array%20=%20document.URL.match(/amazon\.(.*?)\/.*?\/.*?\/(\d{10})/);%20if%20(array%20==%20null)%20{%20alert('Sorry,%20this%20doesn\'t%20appear%20to%20be%20an%20Amazon%20book%20page.');%20}%20else%20{%20var%20x%20=%20window.open('http://www.shelfari.com/booksearch.aspx?Adv=True&amp;SearchAmazon=True&amp;Title=&amp;Author=&amp;Isbn='+%20array[2],%20'add_review');%20x.focus();%20}">Add to Shelfari</a>, to your bookmarks bar and while browsing amazon.com, click it to add that book to your shelf.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.nicholascjohnson.com/blog/2008/11/10/add-to-shelfari-bookmarklet-for-amazoncom/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Come, let us listen to a prophet’s voice regarding the economy.</title>
		<link>http://www.nicholascjohnson.com/blog/2008/09/29/come-listen-prophets-voice-economy/</link>
		<comments>http://www.nicholascjohnson.com/blog/2008/09/29/come-listen-prophets-voice-economy/#comments</comments>
		<pubDate>Tue, 30 Sep 2008 05:26:08 +0000</pubDate>
		<dc:creator>Nic</dc:creator>
				<category><![CDATA[Economy]]></category>

		<guid isPermaLink="false">http://www.nicholascjohnson.com/blog/?p=141</guid>
		<description>Gordon B. Hinckley warned the world about the dangers of living beyond one&amp;#8217;s means. I&amp;#8217;ve [...]</description>
			<content:encoded><![CDATA[<p>Gordon B. Hinckley warned the world about the dangers of living beyond one&#8217;s means. I&#8217;ve pulled together pieces from his <a title="Gordon B. Hinckley: To the Boys and to the Men" href="http://www.lds.org/ldsorg/v/index.jsp?vgnextoid=2354fccf2b7db010VgnVCM1000004d82620aRCRD&amp;locale=0&amp;sourceId=cac5605ff590c010VgnVCM1000004d82620a____&amp;hideNav=1">talk</a> addressing the men and boys of the Mormon Church back in October of <em>1998</em>.</p>
<blockquote><p>I am suggesting that the time has come to get our houses in order.</p>
<p>So many of our people are living on the very edge of their incomes. In fact, some are living on borrowings.</p>
<p>We have witnessed in recent weeks wide and fearsome swings in the markets of the world. The economy is a fragile thing. A stumble in the economy in Jakarta or Moscow can immediately affect the entire world. It can eventually reach down to each of us as individuals. There is a portent of stormy weather ahead to which we had better give heed.</p>
<p>I hope with all my heart that we shall never slip into a depression.</p>
<p>&#8230;</p>
<p>I am troubled by the huge consumer installment debt which hangs over the people of the nation, including our own people. In March 1997 that debt totaled $1.2 trillion, which represented a 7 percent increase over the previous year. In December of 1997, 55 to 60 million households in the United States carried credit card balances. These balances averaged more than $7,000 and cost $1,000 per year in interest and fees. Consumer debt as a percentage of disposable income rose from 16.3 percent in 1993 to 19.3 percent in 1996.</p>
<p>Everyone knows that every dollar borrowed carries with it the penalty of paying interest. When money cannot be repaid, then bankruptcy follows. There were 1,350,118 bankruptcies in the United States last year. This represented a 50 percent increase from 1992. In the second quarter of this year, nearly 362,000 persons filed for bankruptcy, a record number for a three-month period.</p>
<p><strong>I recognize that it may be necessary to borrow to get a home, of course. But let us buy a home that we can afford and thus ease the payments which will constantly hang over our heads without mercy or respite for as long as 30 years.</strong></p>
<p>What a wonderful feeling it is to be free of debt, to have a little money against a day of emergency put away where it can be retrieved when necessary.</p>
<p>I urge you, brethren, to look to the condition of your finances. I urge you to be modest in your expenditures; discipline yourselves in your purchases to avoid debt to the extent possible. Pay off debt as quickly as you can, and free yourselves from bondage.</p></blockquote>
<p>Perhaps it doesn&#8217;t take a prophet of God to recognize the signs of a failing economy based on the greed and insatiable appetite of the people. However, it seems we (as a whole) still failed to heed the warnings. Let&#8217;s hope that we learn our lesson early, suffer the consequences of our ridicuous spending, and get back on the track of common sense.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.nicholascjohnson.com/blog/2008/09/29/come-listen-prophets-voice-economy/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Blender / Lemony Snicket on Libraries…</title>
		<link>http://www.nicholascjohnson.com/blog/2008/09/24/lemony-snicket-on-libraries/</link>
		<comments>http://www.nicholascjohnson.com/blog/2008/09/24/lemony-snicket-on-libraries/#comments</comments>
		<pubDate>Wed, 24 Sep 2008 18:41:27 +0000</pubDate>
		<dc:creator>Nic</dc:creator>
				<category><![CDATA[Design]]></category>
		<category><![CDATA[Humor]]></category>

		<guid isPermaLink="false">http://www.nicholascjohnson.com/blog/?p=130</guid>
		<description>I&amp;#8217;ve just finished reading Lemony Snicket&amp;#8217;s Horseradish. I rendered one of the quotes in Blender. [...]</description>
			<content:encoded><![CDATA[<p>I&#8217;ve just finished reading Lemony Snicket&#8217;s <strong>Horseradish</strong>. I rendered one of the quotes in <a href="http://www.blender.org">Blender</a>. I absolutely love that Blender is as awesome as it is and absolutely free.</p>
<p><img class="alignnone size-full wp-image-133" title="Lemony Snicket on libraries" src="http://www.nicholascjohnson.com/blog/wp-content/uploads/2008/09/snicket-library1.jpg" alt="" /></p>
<p>I&#8217;ve only scratched the surface but I do love the ability to render text in three dimensions.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.nicholascjohnson.com/blog/2008/09/24/lemony-snicket-on-libraries/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>An Event Apart (San Francisco)</title>
		<link>http://www.nicholascjohnson.com/blog/2008/08/18/an-event-apart-san-francisco/</link>
		<comments>http://www.nicholascjohnson.com/blog/2008/08/18/an-event-apart-san-francisco/#comments</comments>
		<pubDate>Mon, 18 Aug 2008 16:45:58 +0000</pubDate>
		<dc:creator>Nic</dc:creator>
				<category><![CDATA[Design]]></category>
		<category><![CDATA[Conferences]]></category>
		<category><![CDATA[Web Design]]></category>

		<guid isPermaLink="false">http://www.nicholascjohnson.com/blog/?p=118</guid>
		<description>Just sitting here waiting for the keynote by Jeffery Zeldman. It&amp;#8217;s really exciting finally being [...]</description>
			<content:encoded><![CDATA[<p><img class="alignnone size-full wp-image-112" title="An Event Apart (San Francisco)" src="http://www.nicholascjohnson.com/blog/wp-content/uploads/2008/08/sf.jpg" alt="" width="253" height="100" /></p>
<p>Just sitting here waiting for the keynote by Jeffery Zeldman. It&#8217;s really exciting finally being able to attend these events that I&#8217;d only dream and pout about just last year. They really go all-out with the venue and ambient. It&#8217;s at the <a href="http://www.sfpalace.com/photos.php">Palace Hotel</a> this year and it&#8217;s super ritzy.</p>
<p>I&#8217;m sure it&#8217;s been said before but, Zeldman is a lot shorter in person that I thought and he&#8217;s wearing pink Crocs today <img src='http://www.nicholascjohnson.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> . Also, Eric Meyer&#8217;s hair is super long&#8230;weird.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.nicholascjohnson.com/blog/2008/08/18/an-event-apart-san-francisco/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Service Generator</title>
		<link>http://www.nicholascjohnson.com/blog/2008/06/26/service-generator/</link>
		<comments>http://www.nicholascjohnson.com/blog/2008/06/26/service-generator/#comments</comments>
		<pubDate>Thu, 26 Jun 2008 14:34:16 +0000</pubDate>
		<dc:creator>Nic</dc:creator>
				<category><![CDATA[Design]]></category>
		<category><![CDATA[Green Design]]></category>
		<category><![CDATA[Humanity]]></category>
		<category><![CDATA[Type]]></category>
		<category><![CDATA[Africa]]></category>
		<category><![CDATA[innovation]]></category>
		<category><![CDATA[Sustainability]]></category>

		<guid isPermaLink="false">http://www.nicholascjohnson.com/blog/?p=90</guid>
		<description>Ben Markham, a BYU alumnus who served as an LDS missionary in Ghana discovered a [...]</description>
			<content:encoded><![CDATA[<p><img class="alignnone size-full wp-image-92" title="Playground Generator" src="http://www.nicholascjohnson.com/blog/wp-content/uploads/2008/06/ghana.jpg" alt="Playground Generator" width="500" height="214" /></p>
<p>Ben Markham, a <a title="Brigham Young University" href="http://www.byu.edu">BYU</a> alumnus who served as an LDS missionary in Ghana discovered a serious problem: as many as 10,000 schools operate without any electricity. So, he collaborated with the BYU School of Engineering and Technology and <a title="News video" href="http://news.byu.edu/releases/archive08/Jun/video-Ghana_Long-H.264LANStreaming.mov.html">created a design-based solution</a>. Using existing and affordable parts, he and the students constructed a merry-go-round that acts as a generator. The energy from the spinning playground toy is stored in a battery which in turn powers the school&#8217;s low-power LED lights. Brilliant!</p>
<p>The kids get a toy (which are, sadly, rare) and the school gets resources for more effective teaching. As another stroke of genius, the LED lights are themselves rechargeable so the students can take them home with them to continue their studies.</p>
<p>I was touched by the generosity and intelligence displayed through this act of service. It&#8217;s stories like these that convince me that there is always something to improve by way of design and God makes it possible for those willing to listen and follow through.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.nicholascjohnson.com/blog/2008/06/26/service-generator/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Wordpress MU 1.5.1 Released</title>
		<link>http://www.nicholascjohnson.com/blog/2008/05/12/wordpress-mu-151-released/</link>
		<comments>http://www.nicholascjohnson.com/blog/2008/05/12/wordpress-mu-151-released/#comments</comments>
		<pubDate>Mon, 12 May 2008 19:28:53 +0000</pubDate>
		<dc:creator>Nic</dc:creator>
				<category><![CDATA[Asides]]></category>
		<category><![CDATA[wordpress]]></category>
		<category><![CDATA[wordpress mu]]></category>

		<guid isPermaLink="false">http://www.nicholascjohnson.com/blog/?p=89</guid>
		<description>Doncha has done a great job getting Wordpress 2.5 ported over to MU. MU 1.5.1 [...]</description>
			<content:encoded><![CDATA[<p>Doncha has done a great job getting Wordpress 2.5 <a href="http://ocaoimh.ie/2008/05/12/wordpress-mu-151/">ported over to MU</a>. MU 1.5.1 is <a href="http://mu.wordpress.org/download/">available now</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.nicholascjohnson.com/blog/2008/05/12/wordpress-mu-151-released/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Online LDS Scriptures now available in Portuguese</title>
		<link>http://www.nicholascjohnson.com/blog/2008/02/15/online-lds-scriptures-now-available-in-portuguese/</link>
		<comments>http://www.nicholascjohnson.com/blog/2008/02/15/online-lds-scriptures-now-available-in-portuguese/#comments</comments>
		<pubDate>Fri, 15 Feb 2008 16:26:05 +0000</pubDate>
		<dc:creator>Nic</dc:creator>
				<category><![CDATA[Asides]]></category>
		<category><![CDATA[LDS Church]]></category>

		<guid isPermaLink="false">http://www.nicholascjohnson.com/blog/2008/02/15/online-lds-scriptures-now-available-in-portuguese/</guid>
		<description>Hooray! The Portuguese edition of the LDS Scriptures is now online.</description>
			<content:encoded><![CDATA[<p>Hooray! The Portuguese edition of the LDS Scriptures is now <a href="http://scriptures.lds.org/pt/" title="LDS Scriptures in Portuguese">online</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.nicholascjohnson.com/blog/2008/02/15/online-lds-scriptures-now-available-in-portuguese/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Get Daemon Tools working after Vista Ultimate upgrade</title>
		<link>http://www.nicholascjohnson.com/blog/2007/11/05/get-daemon-tools-working-after-vista-ultimate-upgrade/</link>
		<comments>http://www.nicholascjohnson.com/blog/2007/11/05/get-daemon-tools-working-after-vista-ultimate-upgrade/#comments</comments>
		<pubDate>Tue, 06 Nov 2007 02:42:14 +0000</pubDate>
		<dc:creator>Nic</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[daemon-tools]]></category>
		<category><![CDATA[issues]]></category>
		<category><![CDATA[software]]></category>
		<category><![CDATA[Vista]]></category>

		<guid isPermaLink="false">http://www.nicholascjohnson.com/blog/2007/11/05/get-daemon-tools-working-after-vista-ultimate-upgrade/</guid>
		<description>It took me a few days of scouring Google searches to find the solution to [...]</description>
			<content:encoded><![CDATA[<p>It took me a few days of scouring Google searches to find the solution to my problem and I&#8217;ll just share it here in case anyone ends up in the same predicament.</p>
<p>My precious <a href="http://www.daemon-tools.cc/dtcc/download.php?mode=ViewCategory&amp;catid=5" title="Daemon TOols download page">Daemon Tools</a> (DT) software mysteriously disappeared after an upgrade from Windows Vista Home Premium to Vista Ultimate (the only reason for the upgrade was the need for remote desktop). I figured it was a simple glitch during the upgrade process so I simply went to reinstall it. I was met with an endless loop of installation screens telling me that the computer needed to reboot to continue the installation. Apparently the STPD driver that DT uses was having a problem installing itself. Finally I found the <a href="http://www.daemon-tools.cc/dtcc/showpost.php?p=88936&amp;postcount=14" title="Solution to DT install on Vista Ultimate">solution</a>! (This only seems to happen when upgrading to Ultimate from a previous Vista version.)</p>
<p>Open the registry by pressing <code>Windows Key + R</code> then typing <code>regedit</code>. Once inside the registry editor navigate to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\sptd. Right-click on sptd and choose <code>Delete</code>. Here you may need to right-click on the folders under sptd, choose <code>Permissions...</code> and then set all of the users to Full Control. (You&#8217;re going to delete them all in a few seconds so it doesn&#8217;t matter who has rights to them.)</p>
<p>Reboot and run the DT installer as Administrator (right-click, choose <code>Run as administrator...</code>). That solved my problem and hopefully it helps you too.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.nicholascjohnson.com/blog/2007/11/05/get-daemon-tools-working-after-vista-ultimate-upgrade/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss><!-- Dynamic page generated in 0.662 seconds. --><!-- Cached page generated by WP-Super-Cache on 2009-11-15 10:26:06 -->
