<?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>James Miller &#187; Tech</title>
	<atom:link href="http://www.bensie.com/category/tech/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.bensie.com</link>
	<description>Web Developer in San Diego, CA</description>
	<lastBuildDate>Thu, 05 Nov 2009 23:08:23 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Rails 2.3: default_scope</title>
		<link>http://www.bensie.com/2009/03/13/rails-23-default_scope/</link>
		<comments>http://www.bensie.com/2009/03/13/rails-23-default_scope/#comments</comments>
		<pubDate>Sat, 14 Mar 2009 05:12:41 +0000</pubDate>
		<dc:creator>James</dc:creator>
				<category><![CDATA[Tech]]></category>
		<category><![CDATA[Database]]></category>
		<category><![CDATA[Rails]]></category>

		<guid isPermaLink="false">http://www.bensie.com/?p=84</guid>
		<description><![CDATA[Rails 2.3 includes a new method called default_scope which provides an easy way to set default attributes on a model as it calls [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.rubyonrails.org">Rails 2.3</a> includes a new method called default_scope which provides an easy way to set default attributes on a model as it calls on records from the database.  After playing around with it a bit, I am certain that I&#8217;m going to avoid using this method for a few reasons.</p>
<p>Before I get to that, here&#8217;s the syntax:<br />
<script src="http://gist.github.com/78945.js"></script></p>
<p>You could set a default_scope for any number of conditions, but <img src='http://www.bensie.com/wp-includes/images/smilies/icon_surprised.gif' alt=':o' class='wp-smiley' /> rder is really the only thing that makes sense to me (red flag number one) because nothing else would have fixed conditions for all database queries.</p>
<p>With this default_scope in place, we&#8217;re going to get an ORDER_BY &#8216;name&#8217; ASC added to our SQL query when calling Person.all, Person.old, or Person.young.  That&#8217;s all well and good until the query gets a little complex&#8211;what happens if we specify a different <img src='http://www.bensie.com/wp-includes/images/smilies/icon_surprised.gif' alt=':o' class='wp-smiley' /> rder in the named scope or in the controller?  As you might guess, the default_scope loses out to specifying a different <img src='http://www.bensie.com/wp-includes/images/smilies/icon_surprised.gif' alt=':o' class='wp-smiley' /> rder in other methods.</p>
<p>Once your query gets complicated with includes and joins, you&#8217;ll find that suddenly the defaulted <img src='http://www.bensie.com/wp-includes/images/smilies/icon_surprised.gif' alt=':o' class='wp-smiley' /> rder option does not show up in your query and all your people are completely out of order.  At that point, you&#8217;re back to square one needing to manually specify the order in a separate named_scope or in the controller logic.</p>
<p>The inconsistency here is intolerable, and the code also loses a lot of clarity when it is implemented since it will not work under all circumstances.  Personally, I like <img src='http://www.bensie.com/wp-includes/images/smilies/icon_surprised.gif' alt=':o' class='wp-smiley' /> rder options visible in the controller (I put just about everything else in named_scopes) because the code stays clear.  Just seems to me that it&#8217;s better to leave this method out all together.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.bensie.com/2009/03/13/rails-23-default_scope/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Safari 4 Beta</title>
		<link>http://www.bensie.com/2009/02/24/safari-4-beta/</link>
		<comments>http://www.bensie.com/2009/02/24/safari-4-beta/#comments</comments>
		<pubDate>Tue, 24 Feb 2009 15:51:45 +0000</pubDate>
		<dc:creator>James</dc:creator>
				<category><![CDATA[Tech]]></category>
		<category><![CDATA[Apple]]></category>
		<category><![CDATA[Software]]></category>

		<guid isPermaLink="false">http://www.bensie.com/?p=79</guid>
		<description><![CDATA[Apple has just released a public beta of Safari 4 for Mac and Windows.  Very impressive and incredibly snappy.  It has excellent developer [...]]]></description>
			<content:encoded><![CDATA[<p>Apple has just released a public beta of <a href="http://www.apple.com/safari/">Safari 4</a> for Mac and Windows.  Very impressive and incredibly snappy.  It has excellent developer tools built-in, improved tab management, and I love the Top Sites home screen.</p>
<p>For you Mac users out there, I can pretty much guarantee that you&#8217;ll find it faster and more friendly than FireFox, but <a href="http://www.apple.com/safari/">give it a try for yourself</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.bensie.com/2009/02/24/safari-4-beta/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Amazon S3 &#8211; worth every penny</title>
		<link>http://www.bensie.com/2009/02/23/amazon-s3-worth-every-penny/</link>
		<comments>http://www.bensie.com/2009/02/23/amazon-s3-worth-every-penny/#comments</comments>
		<pubDate>Mon, 23 Feb 2009 23:33:04 +0000</pubDate>
		<dc:creator>James</dc:creator>
				<category><![CDATA[Tech]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[Storage]]></category>

		<guid isPermaLink="false">http://www.bensie.com/?p=63</guid>
		<description><![CDATA[Over the past year or two I&#8217;ve constantly been moving my data around, typically because I switch between needing lots of disk space [...]]]></description>
			<content:encoded><![CDATA[<p>Over the past year or two I&#8217;ve constantly been moving my data around, typically because I switch between needing lots of disk space to needing specific data available from anywhere&#8211;plus it&#8217;s important that it&#8217;s all kept safe.  <a title="Amazon S3" href="http://aws.amazon.com/s3" target="_blank">Amazon S3</a> provides both: unlimited pay-as-you-go storage and it&#8217;s accessible from any computer connected to the Internet.  I&#8217;ve started using it for <strong>everything</strong>.  Client work, personal backups, purchased music, and serving static content to the web.</p>
<p>Plus, it&#8217;s perfect for the web services that I&#8217;m continually developing.  I haven&#8217;t worked on a single project recently that doesn&#8217;t need file upload/storage in some capacity, so it just makes perfect sense to store all of this data on Amazon&#8217;s infrastructure.  I don&#8217;t have to deal with backups or bandwidth, I just set it and forget it.</p>
<p>As a developer, you&#8217;re really adding a substantial amount of work if you plan on setting up  <a href="http://www.danga.com/mogilefs/">MogileFS</a>, <a href="http://www.redhat.com/gfs/">GFS</a>, or <a href="http://hadoop.apache.org/core/docs/current/hdfs_design.html">HDFS</a> or even <a href="http://en.wikipedia.org/wiki/Network_File_System_%28protocol%29">NFS</a> (yuck) to store data on your own server(s).  If you&#8217;re a startup we both know you have a lack of engineers available to manage it, and I guarantee you&#8217;ll sleep better at night with the certainty that your files and your clients&#8217; files are safe and secure.  Plus the initial cost of setting up your own would be nothing short of outrageous.</p>
<p>Cost may seem like a caveat.  At $0.15/GB per month the cost can definitely become substantial, particularly if you&#8217;re just using it for personal storage (500GB = $75 / month).  But what&#8217;s it worth to know that all your family photos are stored and redundant?  Your music collection is ready for playback even if your house blows up (you never know).  The files that your clients expect you to have on hand are deliverable within minutes over the Internet.</p>
<p>It&#8217;s not enough for me to have an external hard drive on my desk backing up my data.  My stuff is too important for that.  I&#8217;m guessing you think yours is too.</p>
<p>A few recommended ways to get your hands dirty with S3: try <a title="Transmit" href="http://www.panic.com/transmit" target="_blank">Transmit</a>, <a title="Drop Box" href="http://getdropbox.com" target="_blank">Drop Box</a>, or <a title="S3Fox" href="https://addons.mozilla.org/en-US/firefox/addon/3247" target="_blank">S3Fox</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.bensie.com/2009/02/23/amazon-s3-worth-every-penny/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ZList</title>
		<link>http://www.bensie.com/2009/02/23/list/</link>
		<comments>http://www.bensie.com/2009/02/23/list/#comments</comments>
		<pubDate>Mon, 23 Feb 2009 19:12:17 +0000</pubDate>
		<dc:creator>James</dc:creator>
				<category><![CDATA[Tech]]></category>
		<category><![CDATA[GitHub]]></category>
		<category><![CDATA[Rails]]></category>
		<category><![CDATA[Software]]></category>

		<guid isPermaLink="false">http://www.bensie.com/?p=45</guid>
		<description><![CDATA[After giving Google Groups and a few other mailing lists a try, I decided to scratch the itch by writing my own.  The [...]]]></description>
			<content:encoded><![CDATA[<p>After giving Google Groups and a few other mailing lists a try, I decided to scratch the itch by writing my own.  The freely available mailing lists out there are so dated and unnecessarily complicated that it just made sense to reinvent a simpler wheel.  <a title="ZList on GitHub" href="http://github.com/bensie/zlist/tree" target="_blank">ZList </a>is open source mailing list software driven by <a title="Ruby on Rails" href="http://www.rubyonrails.org" target="_blank">Rails </a>2.3.  You can <a href="http://github.com/bensie/dlist/tree" target="_blank">view the source</a>, <a href="http://github.com/bensie/zlist/tree" target="_blank">fork and improve</a>, or <a href="http://github.com/bensie/zlist/downloads" target="_blank">download</a> and use ZList on <a href="http://github.com" target="_blank">GitHub</a>.  ZList is currently under active development.</p>
<p>And coming up in the not too distant future: <a title="ZTicket - Coming Soon" href="http://github.com/bensie/zticket/tree" target="_blank">ZTicket </a>- open source helpdesk software on Rails.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.bensie.com/2009/02/23/list/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>CCNA and beyond&#8230;</title>
		<link>http://www.bensie.com/2007/08/30/ccna-and-beyond/</link>
		<comments>http://www.bensie.com/2007/08/30/ccna-and-beyond/#comments</comments>
		<pubDate>Thu, 30 Aug 2007 14:45:00 +0000</pubDate>
		<dc:creator>James</dc:creator>
				<category><![CDATA[Tech]]></category>
		<category><![CDATA[Work]]></category>

		<guid isPermaLink="false">http://www.bensie.com/2007/08/30/ccna-and-beyond/</guid>
		<description><![CDATA[Where should I go with my career?  At this point, I feel like I could take it anywhere, but if I&#8217;m going [...]]]></description>
			<content:encoded><![CDATA[<p>Where should I go with my career?  At this point, I feel like I could take it anywhere, but if I&#8217;m going to get a business going, I need to have some experience under my belt in order for anyone to take me seriously.  I plan to get my <a href="http://www.cisco.com/web/learning/le3/current_exams/640-801.html">CCNA</a> certification this fall, and it&#8217;s possible that the <a href="http://1stpacbank.com">bank</a> will fund it.  If they do, they&#8217;ll want me to stay for awhile, which is fine I guess.  This certification will take my networking skills to a whole new level, bump up the pay grade, and give me a leg to stand on when it comes to building a reputation as a capable network engineer.  In any case, I want to get a business off the ground more than anything.  I contemplate ideas for several hours of every day (requires multitasking at work) and write them down, but nothing has really been good enough to get me going&#8230;until (hopefully) now.</p>
<p>If you&#8217;re wondering, video production/editing is out.  I think I&#8217;m capable, but it&#8217;s just not what I want to do: dealing with quality control and holding onto tapes from a one-time event makes me nervous and is just too much for one person.  Additionally, the volume of projects that I can take on is directly related to the number of people available to do the work, so the money coming in can max out quickly.</p>
<p>Ideal: I want to start an IT consulting company (preferably with a buddy/partner) that specializes in high-end networking (the stuff that the in-house IT folk do not know how to do) and that eventually has online web presence for remotely fixing individual computer issues &#8212; all done while on the golf course (ok not really about the golf, but that&#8217;d be way cool).</p>
<p>So that&#8217;s that.  And if you have any ideas for company names, I&#8217;m all ears.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.bensie.com/2007/08/30/ccna-and-beyond/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Productivity, Up A Notch</title>
		<link>http://www.bensie.com/2007/05/04/productivity-up-a-notch/</link>
		<comments>http://www.bensie.com/2007/05/04/productivity-up-a-notch/#comments</comments>
		<pubDate>Fri, 04 May 2007 18:00:59 +0000</pubDate>
		<dc:creator>James</dc:creator>
				<category><![CDATA[Tech]]></category>

		<guid isPermaLink="false">http://www.bensie.com/2007/05/04/productivity-up-a-notch/</guid>
		<description><![CDATA[
Adobe recently released a major update to their Creative Suite of applications (CS3), which is more exciting than you might think for a [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://www.bensie.com/wp-content/cs3.png" alt="CS3" /><br />
<a href="http://www.adobe.com">Adobe</a> recently released a major update to their <a href="http://www.adobe.com/products/creativesuite/">Creative Suite</a> of applications (CS3), which is more exciting than you might think for a guy like me.  I got my copy from Amazon yesterday, and let me just say, I dig it!  Finally, all of us MacBook users can use Photoshop, Illustrator, Dreamweaver, Flash, and Fireworks!  Super fast and super sweet!  Geek alert.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.bensie.com/2007/05/04/productivity-up-a-notch/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Back it up.  Please.</title>
		<link>http://www.bensie.com/2007/05/02/back-it-up-please/</link>
		<comments>http://www.bensie.com/2007/05/02/back-it-up-please/#comments</comments>
		<pubDate>Wed, 02 May 2007 18:20:49 +0000</pubDate>
		<dc:creator>James</dc:creator>
				<category><![CDATA[Tech]]></category>

		<guid isPermaLink="false">http://www.bensie.com/2007/05/02/back-it-up-please/</guid>
		<description><![CDATA[I put everything on my computer.  In fact, I do everything I can to get rid of paper by scanning my receipts, [...]]]></description>
			<content:encoded><![CDATA[<p>I put everything on my computer.  In fact, I do everything I can to get rid of paper by scanning my receipts, using digital &#8220;Stickies&#8221;, etc.  Despite my reliance on my computer and everything it holds, I can&#8217;t say I&#8217;ve been particularly good at backing up my data.  I have an external hard drive that I occasionally drag my data to, but that probably gets updated once every month or two.  What happens if the condo goes up in flames or all my stuff is stolen?  Man, losing my music library would destroy me.  In any case, the backup drive will likely be gone too, and I&#8217;ll have lost all my work and important data.</p>
<p>I&#8217;d like to introduce you to <a href="http://www.jkmillertech.com/mozy/">Mozy</a>, the coolest backup solution I&#8217;ve come across.  It&#8217;s $5 / month per computer for unlimited backup space, and it&#8217;s all stored securely in a remote data center, so there is no way you will ever lose your documents, music, photos, favorites, etc.  You can try it for free (you get 2GB storage for free), but I absolutely give it my stamp of approval above all the other backup solutions out there.</p>
<p>How does it work?  You install a tiny piece of software on your computer, you choose what you want to back up, and it continually backs up your computer while it is idle and connected to the internet.  Depending on the amount of information you are backing up, the initial backup can take several days to weeks to complete, but then it does incremental backups, only backing up the items that have been added or changed.  But you don&#8217;t have to worry about it, it just works its magic when you&#8217;re not using your computer.</p>
<p>I know from recent events that the majority of people do not take the time to back up their data, and it&#8217;s completely devastating to lose it all.  I&#8217;ve been the bringer of bad news to 3 people in the past few months that they have permanently lost their data.  No fun.  Setting this up will take less than 20 minutes of your time, and you don&#8217;t have to look at it again unless something happens to your computer.  If for some reason you need help getting it working, hit me up and I&#8217;d be happy to help.  Then if the time comes, I can give you the news that your data is completely recoverable.  It&#8217;s available for PC and Mac, just give it a shot.</p>
<p><a href="http://www.mozy.com/?ref=3f9a896b&#038;kbid=23117"><img border="0" src="http://affiliates.mozy.com/b.aspx?id=23117&#038;mm=1&#038;img=468x60_blk_unlimited_gotrig.gif"/></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.bensie.com/2007/05/02/back-it-up-please/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Google .. Again</title>
		<link>http://www.bensie.com/2006/04/10/google-again/</link>
		<comments>http://www.bensie.com/2006/04/10/google-again/#comments</comments>
		<pubDate>Tue, 11 Apr 2006 03:02:37 +0000</pubDate>
		<dc:creator>James</dc:creator>
				<category><![CDATA[Tech]]></category>

		<guid isPermaLink="false">http://www.bensie.com/2006/04/10/google-again/</guid>
		<description><![CDATA[You may recall a fairly recent post about all my favorite things that Google has released, they&#8217;ve just topped it all.  As [...]]]></description>
			<content:encoded><![CDATA[<p>You may recall a fairly recent post about all my favorite things that Google has released, they&#8217;ve just topped it all.  As you bensie users probably know by now, bensie.com email is now powered by Google&#8217;s Gmail service.  This allows me to use and manage bensie email addresses (I can choose any usernames I want &#8212; without being restricted to the millions of unavailable names), making it the new best thing since < <choose your favorite thing>>.  If you have a domain and want to manage your email with Gmail, you have to get invited to join their public beta <a href="http://www.google.com/hosted/">here</a>.  If you&#8217;d like a bensie.com email address powered by Gmail, <a href="http://www.bensie.com/contact-me/">contact me</a> and I&#8217;ll hook you up.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.bensie.com/2006/04/10/google-again/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Canon XL2</title>
		<link>http://www.bensie.com/2006/03/17/xl2/</link>
		<comments>http://www.bensie.com/2006/03/17/xl2/#comments</comments>
		<pubDate>Sat, 18 Mar 2006 01:55:48 +0000</pubDate>
		<dc:creator>James</dc:creator>
				<category><![CDATA[Tech]]></category>

		<guid isPermaLink="false">http://www.bensie.com/2006/03/18/xl2/</guid>
		<description><![CDATA[I am now the proud owner of a brand new Canon XL2 Camera, which is something that I&#8217;ve wanted to have for several [...]]]></description>
			<content:encoded><![CDATA[<p>I am now the proud owner of a brand new <a href="http://consumer.usa.canon.com/ir/controller?act=ModelDetailAct&#038;fcategoryid=165&#038;modelid=10350">Canon XL2 Camera</a>, which is something that I&#8217;ve wanted to have for several years.  I did a lot of research as to what camera to get, considered High Definition, but decided to stick with standard DV.  It is a shoulder mounted 24p capable camera with an amazing 20x zoom lens and shoots beautiful footage.  My digital studio is really coming along.  I&#8217;m filming for Cholestech next week, can&#8217;t wait to use it.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.bensie.com/2006/03/17/xl2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Changes</title>
		<link>http://www.bensie.com/2006/01/29/changes/</link>
		<comments>http://www.bensie.com/2006/01/29/changes/#comments</comments>
		<pubDate>Mon, 30 Jan 2006 05:50:39 +0000</pubDate>
		<dc:creator>James</dc:creator>
				<category><![CDATA[Tech]]></category>

		<guid isPermaLink="false">http://www.bensie.com/2006/01/29/changes/</guid>
		<description><![CDATA[I&#8217;ve decided to give bensie.com another face-lift, just changing the overall look while keeping the structure.  I also decided to make the [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve decided to give bensie.com another face-lift, just changing the overall look while keeping the structure.  I also decided to make the changes as I have time, rather than doing it all on a test site and rolling it out all at once.  So you might see some more changes over the next few days, probably mainly the addition of the same links and other goodies that were available on the last one.  Feel free to email me or leave a comment to let me know what you think!</p>
<p><strong>**Update**</strong> The form to contact me directly from the website is back up, hopefully written a little better to avoid having massive spam issues with it.  Just click &#8220;Contact&#8221; at the top-right of any page.  If you want to comment on anything written on the site, use the commenting feature, but keep in mind that whatever you say will be posted for anyone to see!</p>
<p><strong>**Update**</strong> Movie showtimes can now be accessed by typing in your city and state or zip code and choosing the Movie Showtimes option in the Google Search menu.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.bensie.com/2006/01/29/changes/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

