<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Storples Blog</title>
	<atom:link href="http://blog.storples.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.storples.com</link>
	<description>Mmm, Digital(ish)</description>
	<lastBuildDate>Mon, 10 Aug 2009 05:05:20 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>That Didn&#8217;t Last Long</title>
		<link>http://blog.storples.com/2009/08/10/that-didnt-last-long/</link>
		<comments>http://blog.storples.com/2009/08/10/that-didnt-last-long/#comments</comments>
		<pubDate>Mon, 10 Aug 2009 05:05:20 +0000</pubDate>
		<dc:creator>Ryan</dc:creator>
				<category><![CDATA[Random]]></category>

		<guid isPermaLink="false">http://blog.storples.com/?p=70</guid>
		<description><![CDATA[Well, here I am &#8230; about 5 or 6 posts in, and I&#8217;m annoyed. Why? Well, I&#8217;m ready for blogging to be uncool.  I&#8217;m ready for something else &#8230; like &#8230; well, I guess if I knew I would be doing that and not writing a post.  Anyway, what I&#8217;m trying to say is that [...]]]></description>
			<content:encoded><![CDATA[<p>Well, here I am &#8230; about 5 or 6 posts in, and I&#8217;m annoyed.</p>
<p>Why? Well, I&#8217;m ready for blogging to be uncool.  I&#8217;m ready for something else &#8230; like &#8230; well, I guess if I knew I would be doing that and not writing a post.  Anyway, what I&#8217;m trying to say is that Storples will be on pause until the next cool thing comes along, or I come up with something that becomes cool.</p>
<p>The web is supposed to be fun, and posting blogs so that people I probably talk to everyday can read about something I probably told them at lunch &#8230; is not that much fun (to me).  Maybe my audience is too small, or maybe &#8230; anyway, you get the point.</p>
<p>I won&#8217;t say, <em>come back soon</em>, or any boring stuff like that.  You&#8217;ll stumble across here again someday, or I&#8217;ll tell you to check it out.  Until then, enjoy!</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.storples.com/2009/08/10/that-didnt-last-long/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Thunderbird 3 Beta 3</title>
		<link>http://blog.storples.com/2009/07/28/thunderbird-3-beta-3/</link>
		<comments>http://blog.storples.com/2009/07/28/thunderbird-3-beta-3/#comments</comments>
		<pubDate>Wed, 29 Jul 2009 03:26:30 +0000</pubDate>
		<dc:creator>Ryan</dc:creator>
				<category><![CDATA[Mozilla]]></category>
		<category><![CDATA[OS X]]></category>

		<guid isPermaLink="false">http://blog.storples.com/?p=68</guid>
		<description><![CDATA[As a OS X user, I have many Apple provided apps that are well designed, easy to use and just plain work.  Mail.app is one such app, save for one huge oversight (in my opinion) &#8230; the Mail To Do that is automatically generated on IMAP accounts.  I have tried the handful of supposed solutions, [...]]]></description>
			<content:encoded><![CDATA[<p>As a OS X user, I have many Apple provided apps that are well designed, easy to use and just plain work.  Mail.app is one such app, save for one <strong>huge</strong> oversight (in my opinion) &#8230; the <strong>Mail To Do</strong> that is automatically generated on IMAP accounts.  I have tried the handful of supposed solutions, but none have work, and that is a real shame.  Mail.app is super fast, and has a GUI than essentially has no equal.</p>
<p>Nonetheless, I was forced to find an alternative solution.  I turned to Mozilla&#8217;s offering, Thunderbird, after having been please so long with Firefox.  However, I was less than thrilled with Thurderbird 2.  Because I don&#8217;t plan on talking about Thunderbird 2, I&#8217;ll just say that it left me wanting.  And that&#8217;s when I found out about <a href="http://www.mozillamessaging.com/en-US/thunderbird/early_releases/" target="_blank">Thunderbird 3</a>.</p>
<p>I&#8217;ve been using Thunderbird 3 from the earl alpha builds until today (as beta 4 pre, or a nightly beta 3).  Essentially, it&#8217;s nearing the end of it&#8217;s beta phase, and in perhaps a few short months, it will be ready for public consumption.  Compared to TB (Thunderbird) 2, it feels like a complete redo, and it may very well be.  While it still is not a <em>beautiful</em> to look at as Mail.app, it is certainly within the realm of a good looking app.  But more than that, it just works.  There are points that I wish would be better, namely the way accounts are managed.  But overlooking that, Thunderbird 3 is simply amazing.  I recently discovered that it integrates within Spotlight on OS X, and something Mail.app has had that I did not realize TB 3 has, global searching of messages.  This alone may seem like it should be automatic, but currently it&#8217;s an option you have to enable, but once everything is indexed, finding emails across all account is stupid easy.</p>
<p>I recently was an attendee at <a href="http://en.oreilly.com/oscon2009" target="_blank">OSCON</a> and was lucky enough to meet David Ascher, CEO of Mozilla Messaging.  From David&#8217;s presentation, I learned quite a bit about TB 3, especially how things on screen are rendered.  To my surprise, I learned it was essentially HTML and a bunch of javascript.  It actually has an internal copy of <a href="http://jquery.com/" target="_blank">jQuery</a>, which makes javascript development easy, yet powerful.  I was so impressed by all of this, I have decided to start developing / bug fixing TB 3.  I look forward to helping make TB 3 a better product, so that perhaps others will find it as useful as I have.</p>
<p>Sure, there is a small part of me that hopes Apple gets it right with Mail.app in OS X 10.6, but even if they do, I very likely will stick with Thunderbird &#8230; if only due to the simple fact that is is a powerful, easy to use mail client (and is available on Windows too!) that does what it&#8217;s supposed to.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.storples.com/2009/07/28/thunderbird-3-beta-3/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>iPhone 3G + gazelle = iPhone 3GS</title>
		<link>http://blog.storples.com/2009/07/09/iphone-3g-gazelle-iphone-3gs/</link>
		<comments>http://blog.storples.com/2009/07/09/iphone-3g-gazelle-iphone-3gs/#comments</comments>
		<pubDate>Fri, 10 Jul 2009 01:23:24 +0000</pubDate>
		<dc:creator>Ryan</dc:creator>
				<category><![CDATA[Apple]]></category>
		<category><![CDATA[iPhone]]></category>

		<guid isPermaLink="false">http://blog.storples.com/?p=63</guid>
		<description><![CDATA[As pretty much all of you know, Apple again released a new iPhone for the third summer in a row. The iPhone 3GS, while seemingly feature packed, did not seem terribly worth it considering it was going to cost me $200. I already had an iPhone 3G &#8230; did I really need a 3GS?  Obviously [...]]]></description>
			<content:encoded><![CDATA[<p>As pretty much all of you know, Apple again released a new iPhone for the third summer in a row.  The iPhone 3GS, while seemingly feature packed, did not seem terribly worth it considering it was going to cost me $200.  I already had an iPhone 3G &#8230; did I really need a 3GS?  Obviously if I was coming from an original iPhone, this would be a null issue, as the 3GS is simply far (far) better than the original.</p>
<p>With this is mind, I quickly decided that going from 3G to 3GS was simply not worth the money.  The iPhone did pretty much all I needed it to do, and anything the 3GS did that the 3G didn&#8217;t do, I just didn&#8217;t care really.  Compass? Who cares.  Faster?  Probably barely noticeable.</p>
<p>Enter <a href="http://www.gazelle.com/" target="_blank">gazelle.com</a>.  Not only did they say they&#8217;ll buy my iPhone 3G from me, but they&#8217;ll give me <strong>more</strong> than a new 3GS would cost me (excluding taxes, etc).  But, could they be trusted?  It didn&#8217;t take long to find out that they had been well mentioned on such sites as <a href="http://www.wired.com/gadgetlab/2009/06/iphone-3gs-tax/" target="_blank">Wired.com</a>, and <a href="http://bits.blogs.nytimes.com/2009/06/17/used-tech-dealers-do-booming-business-in-iphone-3gs/" target="_blank">NYTimes.com</a> &#8230; I was sold.  I hoped on over to their site, answer a few questions, and within a few days I had a box to mail them back my 3G for some cash.  How easier could that be?  Back to gazelle.com in a bit.</p>
<p>With my 3G essentially sold, I wasted no time in acquiring a 3GS &#8230; and oh boy, was I completely wrong about it being marginally better than the 3G.  First off, it has <strong>twice </strong>the RAM as the 3G.  That alone makes a huge difference.  On top of that, the CPU is (essentially) 1.5x as fast as the 3G &#8230; but it&#8217;s not just raw CPU speed, but an updated processor with additional efficiencies that come along with newer processors.  No longer did I need a screen protector, which I only used to reduce finger prints.  The oleophobic (read oil fearing) glass resists finger prints so much, a screen protector just isn&#8217;t needed.  As before, the screen is high quality glass, and is scratch resistant on its own.  In addition, the compass actually adds value by being able to determine which direction you&#8217;re facing.  On top of all of that, the camera almost alone makes it worth it.  Not only is it now 3MP (up from 2MP), there is now a video recording feature.  With video editing, and ability to upload directly to YouTube via wife or 3G, it&#8217;s no wonder that there has been a huge jump in mobile videos being submitted to YouTube.  All around, if you get the full subsidy from AT&amp;T (I know, another 2 year contract, but I happen to like AT&amp;T&#8217;s service for the most part) and you can get a good enough deal via gazelle.com (or eBay, etc), I fully support any decision to upgrade to the 3GS.  You will not be disappointed whatsoever.</p>
<p>And how did selling my iPhone 3G to gazelle.com turn out?  Well, as of this writing, I have a check coming my way for &gt; $200, which essentially means I paid nothing to upgrade to the new iPhone 3GS.  You certainly can&#8217;t beat that!</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.storples.com/2009/07/09/iphone-3g-gazelle-iphone-3gs/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Windows 7 Beta</title>
		<link>http://blog.storples.com/2009/01/08/windows-7-beta/</link>
		<comments>http://blog.storples.com/2009/01/08/windows-7-beta/#comments</comments>
		<pubDate>Thu, 08 Jan 2009 13:21:32 +0000</pubDate>
		<dc:creator>Ryan</dc:creator>
				<category><![CDATA[Microsoft]]></category>

		<guid isPermaLink="false">http://blog.storples.com/?p=56</guid>
		<description><![CDATA[Real quickly &#8230; Microsoft will be releasing Windows 7 Beta to the public as a free download this Friday (January 9th, 2009). While you won&#8217;t catch me ever standing in line for a new Microsoft product, I have used Windows 7 Beta and it is honestly not all that bad. Assuming it stays the course, [...]]]></description>
			<content:encoded><![CDATA[<p>Real quickly &#8230; Microsoft will be releasing Windows 7 Beta to the public as a free download this Friday (January 9th, 2009).  While you won&#8217;t catch me ever standing in line for a new Microsoft product, I have used Windows 7 Beta and it is honestly not all that bad.  Assuming it stays the course, I just might consider replacing my XP installs I have laying around with Windows 7 &#8230; it&#8217;s that half-decent.</p>
<p>So, if you&#8217;re interested &#8230; check out Microsoft&#8217;s website on Friday, or probably 10 dozen other sites who will be following the story.</p>
<p><a href="http://blog.wired.com/gadgets/2009/01/microsoft-relea.html" target="_blank">http://blog.wired.com/gadgets/2009/01/microsoft-relea.html</a></p>
<p>Enjoy!</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.storples.com/2009/01/08/windows-7-beta/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PHP vs Perl</title>
		<link>http://blog.storples.com/2008/12/29/php-vs-perl/</link>
		<comments>http://blog.storples.com/2008/12/29/php-vs-perl/#comments</comments>
		<pubDate>Tue, 30 Dec 2008 03:49:09 +0000</pubDate>
		<dc:creator>Ryan</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[Perl]]></category>

		<guid isPermaLink="false">http://blog.storples.com/?p=47</guid>
		<description><![CDATA[Being my first real post, I thought I would show something that I really benefitted me by moving to PHP from Perl, but that ultimately helped me whenever I maintained Perl code. In pulling data from a MySQL database for example, one might use the following PHP code: 1 2 3 4 5 6 7 [...]]]></description>
			<content:encoded><![CDATA[<p>Being my first real post, I thought I would show something that I really benefitted me by moving to PHP from Perl, but that ultimately helped me whenever I maintained Perl code.</p>
<p>In pulling data from a MySQL database for example, one might use the following PHP code:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
</pre></td><td class="code"><pre class="php" style="font-family:monospace;"><span style="color: #666666; font-style: italic;">// MySQL database connection code previously defined</span>
<span style="color: #000088;">$statement</span> <span style="color: #339933;">=</span> <span style="color: #990000;">mysql_query</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;select first_name, last_name from users&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #b1b100;">while</span> <span style="color: #009900;">&#40;</span><span style="color: #000088;">$user_data</span> <span style="color: #339933;">=</span> <span style="color: #990000;">mysql_fetch_assoc</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$statement</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span>
<span style="color: #009900;">&#123;</span>
	<span style="color: #b1b100;">echo</span> <span style="color: #0000ff;">&quot;First Name: &quot;</span> <span style="color: #339933;">.</span> <span style="color: #000088;">$user_data</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'first_name'</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">.</span> <span style="color: #0000ff;">&quot; Last Name: &quot;</span> <span style="color: #339933;">.</span> <span style="color: #000088;">$user_data</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'last_name'</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">.</span> <span style="color: #0000ff;">&quot;<span style="color: #000099; font-weight: bold;">\n</span>&quot;</span><span style="color: #339933;">;</span>   
<span style="color: #009900;">&#125;</span></pre></td></tr></table></div>

<p>Line 2: this is our MySQL query.<br />
Line 4: our while loop that goes through each row of returned MySQL date. mysql_fetch_assoc puts the MySQL data into an associative array.  (see array detail below).<br />
Line 6: here we echo everything out to the browser.</p>
<p>This would obviously pull all the first and last names from a users table, and print them out nice and neatly.  Notice that I used $user_data['first_name'] and user_data['first_name'] to pull the first name and last name, respectively.  User data is built like so:</p>
<pre>
Array
(
    [first_name] => John
    [last_name] => Doe
)
</pre>
<p>So when I code $user_data['first_name'], what I&#8217;ll get is &#8220;John&#8221;.</p>
<p>The same code in Perl might go something like this:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
</pre></td><td class="code"><pre class="perl" style="font-family:monospace;"><span style="color: #666666; font-style: italic;"># $dbh, or the MySQL database connection, was defined early in the code</span>
<span style="color: #b1b100;">my</span> <span style="color: #0000ff;">$statement</span> <span style="color: #339933;">=</span> <span style="color: #ff0000;">&quot;select * from users&quot;</span><span style="color: #339933;">;</span>
<span style="color: #b1b100;">my</span> <span style="color: #0000ff;">$sth</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">$dbh</span><span style="color: #339933;">-&gt;</span><span style="color: #006600;">prepare</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">$statement</span><span style="color: #009900;">&#41;</span> <span style="color: #b1b100;">or</span> <span style="color: #000066;">die</span> <span style="color: #ff0000;">&quot;can't prepare the statement&quot;</span><span style="color: #339933;">;</span>
<span style="color: #b1b100;">my</span> <span style="color: #0000ff;">$rv</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">$sth</span><span style="color: #339933;">-&gt;</span><span style="color: #006600;">execute</span> <span style="color: #b1b100;">or</span> <span style="color: #000066;">die</span> <span style="color: #ff0000;">&quot;can't execute the query: $sth-&gt;errstr&quot;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #b1b100;">while</span> <span style="color: #009900;">&#40;</span><span style="color: #b1b100;">my</span> <span style="color: #0000ff;">$user_data</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">$sth</span><span style="color: #339933;">-&gt;</span><span style="color: #006600;">fetchrow_hashref</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span>
<span style="color: #009900;">&#123;</span>
	<span style="color: #000066;">print</span> <span style="color: #ff0000;">&quot;First Name: &quot;</span> <span style="color: #339933;">.</span> <span style="color: #0000ff;">$user_data</span><span style="color: #339933;">-&gt;</span><span style="color: #009900;">&#123;</span><span style="color: #ff0000;">'first_name'</span><span style="color: #009900;">&#125;</span> <span style="color: #339933;">.</span> <span style="color: #ff0000;">&quot; Last Name: &quot;</span> <span style="color: #339933;">.</span> <span style="color: #0000ff;">$user_data</span><span style="color: #339933;">-&gt;</span><span style="color: #009900;">&#123;</span><span style="color: #ff0000;">'last_name'</span><span style="color: #009900;">&#125;</span> <span style="color: #339933;">.</span> <span style="color: #ff0000;">&quot;<span style="color: #000099; font-weight: bold;">\n</span>&quot;</span><span style="color: #339933;">;</span>   
<span style="color: #009900;">&#125;</span></pre></td></tr></table></div>

<p>Line 2: our MySQL query.<br />
Line 3: we <em>prepare</em> the statement for execution.<br />
Line 4: we execute the query, calling die if there is an error.<br />
Line 6: similar to the PHP while, we put the MySQL data into a Perl hash, very much like a PHP associative array.<br />
Line 8: here we print it all out.</p>
<p>The output of this code is exactly the same as the PHP code.  Sadly, it took me learning PHP to realize that you could even do this with MySQL data, and so &#8230; for many years I annoyingly coded my MySQL data in perl using indexes ($user_data[0] instead of $user_data->{&#8216;first_name&#8217;}).</p>
<p>Anyway, I hope this helps understand how to make Perl do what PHP does so easily.  Enjoy!</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.storples.com/2008/12/29/php-vs-perl/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Storples reborn</title>
		<link>http://blog.storples.com/2008/12/29/storples-reborn/</link>
		<comments>http://blog.storples.com/2008/12/29/storples-reborn/#comments</comments>
		<pubDate>Tue, 30 Dec 2008 02:57:50 +0000</pubDate>
		<dc:creator>Ryan</dc:creator>
				<category><![CDATA[Random]]></category>

		<guid isPermaLink="false">http://blog.storples.com/?p=43</guid>
		<description><![CDATA[Today I decided that Storples had suffered enough.  From it&#8217;s beginnings as a place for me to learn HTML, to a place where friends would gather to gawk and my private content.  It did, however, always serve the purpose of providing me a place to learn to code &#8230; when I went from HTML to [...]]]></description>
			<content:encoded><![CDATA[<p>Today I decided that Storples had suffered enough.  From it&#8217;s beginnings as a place for me to learn HTML, to a place where friends would gather to gawk and my <em>private</em> content.  It did, however, always serve the purpose of providing me a place to learn to code &#8230; when I went from HTML to Perl, and briefly, Perl to PHP.</p>
<p>In more recent versions, I attempted to bring it up to speed with face lift after face lift, all the while not improving on the one thing it lacked &#8230; content.</p>
<p>So here we are today.  I am sadly abandoning the old ways &#8230; detailing &#8220;what I&#8217;ve been up to&#8221; or &#8220;check out this sweet car&#8221;.  No, today I turn Storples into what I have wanted it to be for quite a long time &#8230; a technology blog.</p>
<p>I am sure to alienate most, if not all my <em>long time</em> readers &#8230; and I&#8217;ve come to terms with that.  Hopefully these half-dozen or so people will find it still interesting, but if not, I appreciate the attention you gave the site all these years.  I couldn&#8217;t have done, or rather, wouldn&#8217;t have done it with out you.  Sure, there will probably never be a GOTW again, but surely you&#8217;ve found better places to find that stuff by now!</p>
<p>Anyway, here we go &#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.storples.com/2008/12/29/storples-reborn/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
