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

<channel>
	<title>aron cares</title>
	<atom:link href="http://aroncares.dnsdojo.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://aroncares.dnsdojo.com</link>
	<description>Because I do, really.</description>
	<pubDate>Wed, 25 Mar 2009 15:51:37 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.7.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Year in review: 2008</title>
		<link>http://aroncares.dnsdojo.com/2009/01/04/year-in-review-2008/</link>
		<comments>http://aroncares.dnsdojo.com/2009/01/04/year-in-review-2008/#comments</comments>
		<pubDate>Sun, 04 Jan 2009 20:04:31 +0000</pubDate>
		<dc:creator>aron</dc:creator>
		
		<category><![CDATA[Personal]]></category>

		<category><![CDATA[blog/site]]></category>

		<category><![CDATA[web 2.0]]></category>

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

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

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

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

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

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

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

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

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

		<guid isPermaLink="false">http://aroncares.dnsdojo.com/?p=43</guid>
		<description><![CDATA[2008 was a pretty busy year &#8212; a lot of things happened that made it quite a ride.  I thought I would take a moment to go over some of the more notable events that have occurred in the last 366 days.
UPDATE: It took me almost three months to realize that last year was [...]]]></description>
			<content:encoded><![CDATA[<p>2008 was a pretty busy year &#8212; a lot of things happened that made it quite a ride.  I thought I would take a moment to go over some of the more notable events that have occurred in the last 366 days.</p>
<p>UPDATE: It took me almost three months to realize that last year was a leap year. My apologies to 02/29!</p>
<p><span id="more-43"></span></p>
<p>January started the year off nicely, I purchased my Mac mini and then my Pioneer plasma TV.  My home theater had never been more excited!  At the time I used Front Row + <a href="http://appletv.nanopi.net/" target="_blank">Sapphire</a> for watching TV shows in HD since my complex&#8217;s cable provider is pretty crummy.</p>
<p>February was kind of a blur that mostly involved our puppy, <a href="http://www.flickr.com/photos/aron_t/2459506973/" target="_blank">Bella</a>, peeing everywhere.  She was potty-trained at that point but she had a bit of a bladder infection that would not go away.  We were worried about her for a while but she, like a champ, overcame.</p>
<p>In March I joined the real (internet) world and activated an account with <a href="http://twitter.com/aront">Twitter</a>.  Unfortunately for the internet my personal life is now all over the place!  I actually really enjoy Twitter; and, as a result I have <a href="http://christinawarren.com" target="_blank">met</a> <a href="http://ericasadun.com" target="_blank">many</a> <a href="http://corybohon.com" target="_blank">talented</a> <a href="http://geekparent.com/" target="_blank">people</a> which I would have never known otherwise.</p>
<p>The following month, April, is when I started this site.  At the genesis of aron cares the site was unattractive and I didn&#8217;t even own my domain!  Since then I have <a href="http://aroncares.dnsdojo.com/2008/07/22/now-featuring-pretty-permalinks/" target="_blank">learned</a> a lot and even purchased my domain name.  I still like hosting my own site because, honestly, it&#8217;s fun.</p>
<p>In May our economy was [not] in a &#8220;recession,&#8221; so the government sent everyone &#8220;economic stimulus&#8221; money; because I&#8217;m a good American I <a href="http://aroncares.dnsdojo.com/2008/05/12/im-a-consumer-whore/" target="_blank">spent</a> that money rather than saving it.  I ended up purchasing a Playstation 3 for use as a Blu-ray player; it was a great decision and I don&#8217;t know why I waited as long as I did.</p>
<p>June rolled around and I went to <a href="http://www.flickr.com/photos/aron_t/2581085568/" target="_blank">Florida</a> for my yearly vacation to Navarre Beach.  It was incredible weather every day (except for one), and it was extremely relaxing.  During that week iPhone 3G was announced for release in July; it was a very exciting announcement.  This was also the month in which I <a href="http://aroncares.dnsdojo.com/2008/06/03/now-with-more-validation/" target="_blank">overhauled</a> the site&#8217;s PHP and CSS so that everything was standards-compliant.</p>
<p>Beginning early July I started working on Project SelliPhonesOnEBay in which I unlocked and sold 1st-gen. iPhones for all of my family members.  The resulting revenues were used to purchase previously mentioned <a href="http://aroncares.dnsdojo.com/2008/07/11/iphone-3g-unboxing-pictures-now-with-more-indecisiveness/" target="_blank">iPhone 3Gs</a> when released on July 11.  The project was a success with every member able to purchase a 16 GB iPhone 3G &#8212; we actually netted about $100 profit!  On the 25th of July I was in my best man&#8217;s wedding.  It was a lot of fun and very tiring.  It wasn&#8217;t until that day that I really appreciated my groomsmen.</p>
<p>In August I was supposed to go to another friend&#8217;s wedding but I ended up missing it entirely.  As it turns out going to the <a href="http://www.facebook.com/album.php?aid=2123506&#038;l=91bb4&#038;id=34400351" target="_blank">rifle range</a> the same day you are supposed to go to a wedding is not a good idea.</p>
<p>In September iTunes 8 landed and brought with it HD TV shows and HD movie rentals for Apple TV owners.  Of greater significance is the hurricane that hit Houston.  Ike <a href="http://twitter.com/AronT/status/920130023" target="_blank">affected</a> many people in bad ways; my family <a href="http://twitter.com/AronT/status/923732915" target="_blank">evacuated</a> to San Antonio.  Luckily, it did not affect my friend&#8217;s wedding for which I flew to Kentucky.  I was a groomsmen and <a href="http://twitter.com/AronT/status/937698363" target="_blank">good times</a> were had by all.</p>
<p>Weezer came to town in October and my awesome wife took me to the show for my birthday.  I left work early to get in line 6 hours before the <a href="http://twitter.com/AronT/status/972649668" target="_blank">doors</a> opened; I had general admission, standing room only tickets.  It was a huge <a href="http://www.facebook.com/album.php?aid=2138479&#038;l=a581c&#038;id=34400351" target="_blank">success</a>, I was at the very front in the middle of the stage!</p>
<p>I turned 23 in November and it was fan-freaking-tastic!  This was also the month that we put an offer on a house; it was scary but exciting.  In November I also began blogging over at <a href="http://tuaw.com/bloggers/aron-trimble" target="_blank">TUAW</a>, that has been such a blast!  Thanksgiving was enjoyable and stressful, being with family is always bittersweet.  I love them though and count each one of them a blessing.</p>
<p>The jingle bells had been ringing since October but it wasn&#8217;t until December that it really felt like Christmas.  It <a href="http://twitter.com/AronT/status/1050595351" target="_blank">snowed</a> in Houston, which was crazy!  I went on a business trip to Sacramento and had a relatively good time.  Immediately after that I drove to Austin for family Christmas #1of4.  The end of December featured 6 days of vacation + 3 company holidays which totaled 2 weeks off of work.  During those 2 weeks my wife and I closed on our house which we&#8217;re very excited to move into in the coming weeks in January.</p>
<p>2008 has been a blast and sure there were some negatives in there too but overall it was very positive.  I&#8217;m looking forward to being a homeowner in 2009, my wife graduating, and continuing to blog for TUAW.</p>
<p><a href="http://geekparent.com/" target="_blank"></a></p>
]]></content:encoded>
			<wfw:commentRss>http://aroncares.dnsdojo.com/2009/01/04/year-in-review-2008/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Remotely controlling a Mac at home: e-mail style!</title>
		<link>http://aroncares.dnsdojo.com/2008/10/21/remotely-controlling-a-mac-at-home-e-mail-style/</link>
		<comments>http://aroncares.dnsdojo.com/2008/10/21/remotely-controlling-a-mac-at-home-e-mail-style/#comments</comments>
		<pubDate>Tue, 21 Oct 2008 18:04:00 +0000</pubDate>
		<dc:creator>aron</dc:creator>
		
		<category><![CDATA[programming]]></category>

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

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

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

		<guid isPermaLink="false">http://aroncares.dnsdojo.com/?p=27</guid>
		<description><![CDATA[Wouldn&#8217;t it be great if you could restart your Mac at home or find its IP address just by sending an e-mail?  I got the idea for this from Cory Bohon&#8217;s article at TUAW (read) written back in April on the same subject.  I liked the idea of being able to send a simple e-mail [...]]]></description>
			<content:encoded><![CDATA[<p>Wouldn&#8217;t it be great if you could restart your Mac at home or find its IP address just by sending an e-mail?  I got the idea for this from Cory Bohon&#8217;s article at TUAW (<a href="http://www.tuaw.com/2008/04/07/applescript-control-your-mac-with-an-e-mail/" target="_blank">read</a>) written back in April on the same subject.  I liked the idea of being able to send a simple e-mail message and having my Mac mini do some task.  It&#8217;s a lot quicker than firing up a VNC or SSH session and doing it the long way.</p>
<p>First I would like to begin by explaining the problems I had that needed resolution:</p>
<ol>
<li>My Dyndns Dashboard widget is supposed to automatically update Dyndns with the public IP address at home where my Mac mini lives.  Sometimes (rarely [only once]) the widget will hang and Dyndns will not get my latest IP address resulting in 404 when I try to access the various sites running on the mini.</li>
<li>I have an applescript application that will remotely update my Plex library as well as a cron job on the mini that will do the same thing locally.  Occasionally running this script, either remotely or as a cron job, will cause Plex to crash - no idea why.</li>
<li>Sometimes I just need the blasted thing to restart.  It&#8217;s OS X, not God.</li>
</ol>
<p>I&#8217;m going to go through these in order of the easiest to tackle to the most difficult.  Also, I&#8217;m only going to cover the scripts I created themselves, you can read Cory&#8217;s <a href="http://www.tuaw.com/2008/04/07/applescript-control-your-mac-with-an-e-mail/" target="_blank">article</a> for setting up the mail rules; he does a lot better job than I at explaining it.</p>
<p>Here is the script I used to call up Plex.  It&#8217;s incredibly simple and really speaks to the ease of Applescript.</p>
<blockquote><p>tell application &#8220;Plex&#8221;<br />
activate<br />
end tell</p></blockquote>
<p>Yup, that&#8217;s it.  Simple, yet powerful.  All I have to do is send off an email and boom Plex launches.  Definitely quicker than loading up VNC and doing it through the GUI remotely.  This is especially true given that VNC is somewhat bandwidth heavy and can be slow to respond if the client or server have a lot of network traffic with which to compete.</p>
<p>The article I referenced above has a script for restarting a remote Mac; however, things can go haywire if you have an app that won&#8217;t quit.  Some people commented on Cory&#8217;s article and mentioned his script would not work if Safari was open with multiple tabs, and they are correct.  In my case I have Transmission running and it wants the user to confirm a &#8220;quit&#8221; before complying.  I had to find a way around that as it was preventing the script from being useful.  Without further adieu here is the script:</p>
<blockquote><p>set pwd to &#8220;YourPassw0rd&#8221;<br />
set cmd to &#8220;shutdown -r NOW&#8221;<br />
do shell script cmd password pwd with administrator privileges</p></blockquote>
<p>Pretty cool, only three lines for this piece of magic.  The first line creates a variable &#8220;pwd&#8221; for storing your password.  This is necessary because OS X only allows a user with administrative privileges to run the shutdown command.  The next line creates a veriable &#8220;cmd&#8221; that stores the Termainal (UNIX shell) script we will run in line 3.  If you open up Terminal.app and type in &#8220;shutdown -r NOW&#8221; you will be told the command cannot complete because you aren&#8217;t a super user (sorry mate).  Luckily, though, in the terminal you can append &#8220;sudo&#8221; to the beginning of the shutdown command to run it as an administrator.  The result is that the shutdown command will reboot (-r flag) the Mac at a specified time (NOW).  For information on sudo and shutdown check out <a href="http://en.wikipedia.org/wiki/Sudo" target="_blank">here</a> and <a href="http://userpages.umbc.edu/~jack/ifsm498d/shutdown.html" target="_blank">here</a>, respectively.  The last line is a whirlwind of coding genius; actually, not really.  It basically runs &#8220;sudo shutdown -r NOW&#8221; and passes in the password we used on the first line.  Thanks go to Cory for helping me to figure out passing in the password for another script I have.</p>
<p>The last problem, getting my IP address e-mailed back to me, was the hardest to figure out and is the &#8220;kludgiest&#8221; of the three.  The short version is that an Applescript calls another Applescript, fancy.  Actually, it&#8217;s Leopard&#8217;s fault; Mail 3 does not process mail rules with Applescripts the way it did previously in Tiger and earlier versions of OS X.  It used to be that the Applescript that gets called could actually reply to the message which triggered the rule; however, that is no longer the case and Mail limits what can and cannot be done in the Applescript.  Unfortunately, I don&#8217;t know what these limits are sufficed to say that what I need to do is not permitted.</p>
<p>OK, here we go; the Mail rule calls a script which looks like this:</p>
<blockquote><p>do shell script &#8220;osascript /Users/Aron/Scripts/HomeIP.scpt&#8221;</p></blockquote>
<p>That script says run the Applescript found at this location.  The script it calls, the one that gets the IP address and emails it, is here:</p>
<blockquote><p>set cmd to &#8220;curl -s http://www.whatismyip.com/automation/n09230945.asp&#8221;<br />
set my_ip to (do shell script cmd)<br />
set my_dest to &#8220;youraddress@somedomain.com&#8221;<br />
set my_subj to &#8220;My IP at home&#8221;</p>
<p>tell application &#8220;Mail&#8221;<br />
activate<br />
GetURL (&#8221;mailto:&#8221; &amp; my_dest &amp; &#8220;?subject=&#8221; &amp; my_subj &amp; &#8220;&amp;body=&#8221; &amp; my_ip)<br />
tell application &#8220;System Events&#8221; to keystroke &#8220;D&#8221; using command down<br />
end tell</p></blockquote>
<p>So this one is a little meatier, but if you&#8217;ve made it this far I would be remiss to not go further.  The first line is fairly obvious, it stores a Terminal command we&#8217;re going to use later; if you copy that command into the terminal and run it the output will be you current public IP address.  It atually took me awhile to find out whatismyip.com provided that neat little service.  Before I finished the script I was using a combination of sed and awk to format my curl output.  Anyways, my loss is your gain.  The next line takes the standard output from the command that we called &#8220;cmd&#8221; in line 1 and stores it as a variable called &#8220;my_ip&#8221;.  Next, we initialize and set two more variables - &#8220;my_dest&#8221; gets the e-mail address to which you want your IP address sent and &#8220;my_subj&#8221; stores the subject of e-mail which will be sent.  I could have used my_ip as the subject of the email, but for my purposes I prefer a pretty subject with the IP address in the body of the message.</p>
<p>The next part of this script launches Mail (if it is not already launched) and has it load a &#8220;mailto:&#8221; URL.  The URL gets dynamically created based on the variables we used above so the URL actually ends up looking like this:</p>
<blockquote><p>&#8220;mailtoo:youraddress@somedomain.com?subject=&#8221;My IP at home&#8221;&amp;body=<em>someIPaddress</em>&#8220;.</p></blockquote>
<p>When Mail loads that URL it actually creates a new mail message with the properties (recipient, subject, body) we specified.  After that it uses Universal Access to automagically press &#8220;shift+command+D&#8221; to send the message we just created.</p>
<p>All in all, a pretty useful set of scripts if I do say so myself.  Hopefully someone will find this helpful to them.  If you know of a better way to make Mail send an e-mail any way other than my kludge-tastic Universal Access method feel free to let me know!</p>
]]></content:encoded>
			<wfw:commentRss>http://aroncares.dnsdojo.com/2008/10/21/remotely-controlling-a-mac-at-home-e-mail-style/feed/</wfw:commentRss>
		</item>
		<item>
		<title>iTunes 8 and the ridiculous hardware requirements</title>
		<link>http://aroncares.dnsdojo.com/2008/09/09/itunes-8-and-the-ridiculous-hardware-requirements/</link>
		<comments>http://aroncares.dnsdojo.com/2008/09/09/itunes-8-and-the-ridiculous-hardware-requirements/#comments</comments>
		<pubDate>Tue, 09 Sep 2008 20:11:00 +0000</pubDate>
		<dc:creator>aron</dc:creator>
		
		<category><![CDATA[apple]]></category>

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

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

		<category><![CDATA[technology and gadgets]]></category>

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

		<category><![CDATA[web 2.0]]></category>

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

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

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

		<guid isPermaLink="false">http://aroncares.dnsdojo.com/?p=26</guid>
		<description><![CDATA[I knew Apple hated you if your hardware was old, but I didn&#8217;t think iTunes hated you too!  Apparently, if you want to watch HD TV shows using iTunes you are going to need at least a 2.0ghz Core 2 Duo processor.  Now I don&#8217;t know about you, but 2 of my 3 Macs (purchased [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://img127.imageshack.us/img127/7941/itunes8wtfql2.png"><img class="alignright" style="float: right;" src="http://img67.imageshack.us/img67/2073/thumbitunes8wtfde7.png" alt="" /></a>I knew Apple hated you if your hardware was old, but I didn&#8217;t think iTunes hated you too!  Apparently, if you want to watch HD TV shows using iTunes you are going to need at <em>least</em> a 2.0ghz Core 2 Duo processor.  Now I don&#8217;t know about you, but 2 of my 3 Macs (purchased within the last 2 years) do not meet this requirement.  And to be perfectly honest, I&#8217;m a little offended!  One of the two is a 2-year old MacBook PRO.  The Applecare hasn&#8217;t even expired on that bad boy and already I need to upgrade if I want to watch HD on it.  Wow.</p>
<p>I plan on doing some further testing of this to verify, hopefully the dire warning is all smoke and mirrors.  If there is a true limit I may need to go ape on somebody&#8217;s face.</p>
<p>UPDATE: News of iTunes 8 ridiculous hardware requirements were greatly exaggerated.  I tested HD TV shows on a 1.83ghz Core 2 Duo Mac mini and a 2.0ghz Core Duo MacBook Pro and in both cases the episode played without issues.</p>
]]></content:encoded>
			<wfw:commentRss>http://aroncares.dnsdojo.com/2008/09/09/itunes-8-and-the-ridiculous-hardware-requirements/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Google Chrome brings excitement for all</title>
		<link>http://aroncares.dnsdojo.com/2008/09/01/google-chrome-brings-excitement-for-all/</link>
		<comments>http://aroncares.dnsdojo.com/2008/09/01/google-chrome-brings-excitement-for-all/#comments</comments>
		<pubDate>Tue, 02 Sep 2008 02:20:52 +0000</pubDate>
		<dc:creator>aron</dc:creator>
		
		<category><![CDATA[internet]]></category>

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

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

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

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

		<guid isPermaLink="false">http://aroncares.dnsdojo.com/?p=25</guid>
		<description><![CDATA[The early announcement of Google&#8217;s Chrome project details have brought tears of joy excitement to the World Wide Web.  I am extremely intrigued by the idea of a multi-process browser; I cannot express the frustration I have when FireFox crashes because of some rogue website or Safari slows to a crawl because of all of [...]]]></description>
			<content:encoded><![CDATA[<p>The early announcement of Google&#8217;s Chrome project details have brought <span style="text-decoration: line-through;">tears of joy</span> excitement to the World Wide Web.  I am extremely intrigued by the idea of a multi-process browser; I cannot express the frustration I have when FireFox crashes because of some rogue website or Safari slows to a crawl because of all of the tabs that have been opened and closed.  Google&#8217;s Chrome hopes to solve many of those problems by bringing a new open source game to the playground.  Many of the exact details are pretty scarce so far but what is known is brought to us courtesy of a 38-page comic created by Scott McCloud.  I&#8217;ve posted a link to my hosted version of a PDF containing all of the pages.  <a href="http://aroncares.dnsdojo.com/wp-content/comic/chrome.pdf" target="_blank">Enjoy.</a></p>
]]></content:encoded>
			<wfw:commentRss>http://aroncares.dnsdojo.com/2008/09/01/google-chrome-brings-excitement-for-all/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Now Featuring Pretty Permalinks!</title>
		<link>http://aroncares.dnsdojo.com/2008/07/22/now-featuring-pretty-permalinks/</link>
		<comments>http://aroncares.dnsdojo.com/2008/07/22/now-featuring-pretty-permalinks/#comments</comments>
		<pubDate>Tue, 22 Jul 2008 20:27:45 +0000</pubDate>
		<dc:creator>aron</dc:creator>
		
		<category><![CDATA[Personal]]></category>

		<category><![CDATA[blog/site]]></category>

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

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

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

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

		<guid isPermaLink="false">http://aroncares.dnsdojo.com/?p=24</guid>
		<description><![CDATA[In case you weren&#8217;t already aware this site or blog, whichever you prefer, is running on Mac OS X Leopard 10.5.2 (not server) and is powered by the Wordpress blogging engine.  Because this site is running on a simple Mac mini with Apache enabled the project is extremely &#8220;DIY&#8221; and as such I have had [...]]]></description>
			<content:encoded><![CDATA[<p>In case you weren&#8217;t already aware this site or blog, whichever you prefer, is running on Mac OS X Leopard 10.5.2 (not server) and is powered by the Wordpress blogging engine.  Because this site is running on a simple Mac mini with Apache enabled the project is extremely &#8220;DIY&#8221; and as such I have had to figure it out as I go along.  No fancy hosts or one-click installs here, everything has been extremely manual; except, of course, the <a href="http://codex.wordpress.org/Installing_WordPress" target="_blank">Famous 5 minute Wordpress Installation</a>!</p>
<p>One hurdle I have had to overcome is being able to use pretty permalinks to make my site more friendly.  Permalinks (short for permanent link, get it?) is a static URL to some content on a site.  That content can be a specific page, a particular article/post, or a collection of posts within a certain category.  </p>
<p>By default Wordpress&#8217;s permalinks follow this format: <em>http://somesite.com/index.php?p=1</em> and unfortunately that format is just plain ugly.  Having a pretty permalink like this: <em>http://somesite.com/2008/01/01/sample-post/</em> means hyperlinks on your site and around the web will be more attractive and usable to others.</p>
<p>Read on if you want to know my story about the trouble and success I had with getting pretty permalinks working on my site.</p>
<p><span id="more-24"></span></p>
<p>For those of you with nice hosts that integrate well with Wordpress and have fancy one-click installers chances are that all you have to do to enable pretty permalinks is choose your format and turn them on under settings.  I hate you.</p>
<p>When I tried to enable them the first problem I received was that the directory was not writable.  An <a href="http://laughingsquid.net/faq/wordpress/#wp-permalinks" target="_blank">FAQ entry</a> I found at Laughing Squid Web Hosting is where I started my search for a solution.  It turns out Wordpress needed to change my .htaccess file and the permissions on my server wouldn&#8217;t allow it.  Well, because my level of knowledge was basically non-existent on the subject I started fiddling around and doing research on permissions.</p>
<p>One of the best articles I found was one over at elated.com and introduced to me by Google (thanks!); the article is <a href="http://elated.com/articles/understanding-permissions/" target="_blank">here</a> and if you are curious about permissions in a UNIX-based operating system it&#8217;s a very good read. Besides being written in fairly plain english it even provides a handy chart so you can know what permissions will be set when you &#8220;<em>chmod 755 directory</em>&#8220;.</p>
<p>Armed with enough knowledge to be dangerous I created a blank .htaccess file in my site&#8217;s root folder (pro tip: in Leopard, the root folder for Apache is <em>/Library/WebServer/Documents</em>, for your server this may be different and it is entirely possible to change it as well).  Lastly I set its permissions to 666 (scary, I know) so Wordpress could edit the file.</p>
<blockquote><p>touch .htaccess</p>
<p>chmod 666 .htaccess</p></blockquote>
<p>Once this was done I went to settings and enabled permalinks; then I went to the main page and tested it out by excitedly selecting a post.  404. Not exciting at all.  There was clearly a problem.  Besides being flustered I had to disable permalinks so my <span style="text-decoration: line-through;">readers</span> reader (Hi Dad!) could actually access content on the site without a confrontation with the aforementioned 404.</p>
<p>Stumped and discouraged, I gave up for awhile&#8230; Until recently, as it turns out there was an email I had received from the famous <a href="http://www.christinawarren.com" target="_blank">Christina Warren</a> that mentioned the vast amount of help articles available in the Wordpress Community.  </p>
<p>I scoured them and quickly found <a href="http://codex.wordpress.org/Using_Permalinks">this</a> article hepfully titled &#8220;Using Permalinks&#8221;.  Reading through the article I came across some points that seemed relevant but were far over my head; they mentioned something about &#8220;FollowSymLinks&#8221; and &#8220;Directives&#8221;.  Down but not out I pressed on and learned that my httpd.conf file, Apache&#8217;s configuration file, needed some work.</p>
<p>In Leopard, this file is located at /etc/apache2/httpd.conf - and you&#8217;re welcome because it took me awhile to realize it had moved from its old location in Tiger.  The first thing I had to do was to check to ensure that mod_rewrite was enabled; according to Wordpress mod_rewrite is an extension module of the Apache web server software which allows for &#8220;rewriting&#8221; of URLs on-the-fly.  This, simply put, is what makes it possible for the server to translate and understand a pretty permalink.</p>
<p>To enable this you have to uncomment the following, which can be found at line 112:</p>
<blockquote><p>LoadModule rewrite_module libexec/apache2/mod_rewrite.so</p></blockquote>
<p>and then restart Apache.</p>
<blockquote><p>sudo apachectl graceful</p></blockquote>
<p>This will probably ask you for your password, so type it in and hit &lt;enter&gt;.  Once you have done that Apache will gracefully shutdown and restart with mod_rewrite enabled.  At this point I was not done, but you are free to go ahead and try to enable permalinks and see if you don&#8217;t get a 404; if you do then you are probably in the same boat I was and need to make some more changes to your httpd.conf file.</p>
<p>According to my handy, dandy permalinks help article I needed to enable a directive that would tell Apache to look at my .htaccess file that was created earlier and then edited by Wordpress when permalinks were enabled.  Here is an example of the AllowOverride directive enabled in httpd.conf in Leopard, it is at line 173:</p>
<blockquote><p>&lt;Directory /&gt;<br />
    Options FollowSymLinks<br />
    AllowOverride All<br />
    Order deny,allow<br />
    Deny from all<br />
&lt;/Directory&gt;</p></blockquote>
<p>It was also necessary to enable the override in Apache&#8217;s root folder.  In Leopard&#8217;s default httpd.conf file the directives for Apache&#8217;s root folder have lots of comments around them unlike the directives for the OS root &#8220;/&#8221;.  In httpd.conf scroll down to line 210 and change it to be &#8220;AllowOverride All&#8221;.</p>
<p>When you have finished editing the httpd.conf file restart Apache like we did above.  At this point, with fingers crossed, I re-enabled pretty permalinks; Wordpress said it was successful but history dictated otherwise.  I pulled up the main page, selected a blog entry and Boom!  Ugly permalinks were a thing of the past!  I discovered that this effected not just my blog posts but my pages, category view, and tag view as well.</p>
<p>This site and its underpinnings are continually changing and, in my opinion, improving.  I am learning a lot every time I dig into it.  I hope this helps somebody because I know I couldn&#8217;t find one resource that had all of this information anywhere!  If you have any questions feel free to leave them in the comments or get a hold of me <a href="http://aroncares.dnsdojo.com/contact/" target="_self">directly</a> via Twitter or email.</p>
]]></content:encoded>
			<wfw:commentRss>http://aroncares.dnsdojo.com/2008/07/22/now-featuring-pretty-permalinks/feed/</wfw:commentRss>
		</item>
		<item>
		<title>iPhone 3G unboxing pictures, now with more indecisiveness</title>
		<link>http://aroncares.dnsdojo.com/2008/07/11/iphone-3g-unboxing-pictures-now-with-more-indecisiveness/</link>
		<comments>http://aroncares.dnsdojo.com/2008/07/11/iphone-3g-unboxing-pictures-now-with-more-indecisiveness/#comments</comments>
		<pubDate>Fri, 11 Jul 2008 12:34:54 +0000</pubDate>
		<dc:creator>aron</dc:creator>
		
		<category><![CDATA[apple]]></category>

		<category><![CDATA[technology and gadgets]]></category>

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

		<category><![CDATA[iphone 3g]]></category>

		<guid isPermaLink="false">http://aroncares.dnsdojo.com/?p=22</guid>
		<description><![CDATA[
Ameoma.com has posted what seems to be the first set of unboxing pictures featuring TWO iPhones 3G of differing color.  Impressive, somebody is doing very well for themselves!  And since I am still unsure with what color I am going to go (you don&#8217;t know either!) I thought it would be good to point this [...]]]></description>
			<content:encoded><![CDATA[<p><img style="vertical-align: middle;" src="http://img294.imageshack.us/img294/6057/iphone3sw5.jpg" alt="iPhone 3G" width="515" height="420" /></p>
<p>Ameoma.com has posted what seems to be the first set of unboxing pictures featuring TWO iPhones 3G of differing color.  Impressive, somebody is doing very well for themselves!  And since I am still unsure with what color I am going to go (you don&#8217;t know either!) I thought it would be good to point this out.  Oh, and props to Ameo for taking some cool photos - I need to find out what his(her) setup is.</p>
<p>Update: It looks like Ameo is having some trouble so I am going to help out and mirror the files here.  Check them out after the break.</p>
<p><span id="more-22"></span><br />
<img src="http://img294.imageshack.us/img294/1976/iphone2co9.jpg"></p>
<p><img src="http://img294.imageshack.us/img294/6057/iphone3sw5.jpg"></p>
<p><img src="http://img294.imageshack.us/img294/3674/iphone4jz7.jpg"></p>
<p><img src="http://img294.imageshack.us/img294/94/iphone5sq0.jpg"></p>
<p><img src="http://img294.imageshack.us/img294/5863/iphone6li6.jpg"></p>
<p><img src="http://img124.imageshack.us/img124/336/iphone26rj2.jpg"></p>
<p><img src="http://img167.imageshack.us/img167/8317/iphone7bb2.jpg"></p>
<p><img src="http://img167.imageshack.us/img167/3585/iphone8cr3.jpg"></p>
<p><img src="http://img167.imageshack.us/img167/5884/iphone9or2.jpg"></p>
<p><img src="http://img294.imageshack.us/img294/6789/iphone10db2.jpg"></p>
<p><img src="http://img149.imageshack.us/img149/8884/iphone11ob0.jpg"></p>
<p><img src="http://img149.imageshack.us/img149/7734/iphone12lo6.jpg"></p>
<p><img src="http://img149.imageshack.us/img149/5113/iphone13tg7.jpg"></p>
<p><img src="http://img403.imageshack.us/img403/3839/iphone14ik1.jpg"></p>
<p><img src="http://img124.imageshack.us/img124/7946/iphone15hy5.jpg"></p>
<p><img src="http://img120.imageshack.us/img120/6350/iphone16qo9.jpg"></p>
<p><img src="http://img124.imageshack.us/img124/4939/iphone17zs2.jpg"></p>
<p><img src="http://img124.imageshack.us/img124/7334/iphone18mg9.jpg"></p>
<p><img src="http://img124.imageshack.us/img124/5351/iphone19pv1.jpg"></p>
<p><img src="http://img166.imageshack.us/img166/7178/iphone20sh9.jpg"></p>
<p><img src="http://img166.imageshack.us/img166/4876/iphone21wb0.jpg"></p>
<p><img src="http://img166.imageshack.us/img166/7647/iphone23pu0.jpg"></p>
<p><img src="http://img166.imageshack.us/img166/6791/iphone24ry3.jpg"></p>
<p><img src="http://img124.imageshack.us/img124/1379/iphone25yp2.jpg"></p>
]]></content:encoded>
			<wfw:commentRss>http://aroncares.dnsdojo.com/2008/07/11/iphone-3g-unboxing-pictures-now-with-more-indecisiveness/feed/</wfw:commentRss>
		</item>
		<item>
		<title>I [heart] Fail Whale</title>
		<link>http://aroncares.dnsdojo.com/2008/07/01/i/</link>
		<comments>http://aroncares.dnsdojo.com/2008/07/01/i/#comments</comments>
		<pubDate>Tue, 01 Jul 2008 19:42:17 +0000</pubDate>
		<dc:creator>aron</dc:creator>
		
		<category><![CDATA[web 2.0]]></category>

		<category><![CDATA[Fail Whale]]></category>

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

		<guid isPermaLink="false">http://aroncares.dnsdojo.com/?p=21</guid>
		<description><![CDATA[If you aren&#8217;t on Twitter or are living under a rock (or both, perhaps) you may not know my latest love interest.  In any case Fail Whale is Twitter&#8217;s faithful representative bringing joy to the hearts of those in pain when there are too many tweets.
If you want more information or just to be part [...]]]></description>
			<content:encoded><![CDATA[<p>If you aren&#8217;t on Twitter or are living under a rock (or both, perhaps) you may not know my latest love interest.  In any case Fail Whale is Twitter&#8217;s faithful representative bringing joy to the hearts of those in pain when there are too many tweets.</p>
<p>If you want more information or just to be part of something special go visit the Fail Whale fan club site <a title="Fail Whale fan club" href="http://failwhale.com" target="_blank">here</a> or peep the banner to the right.  Also don&#8217;t forget to give some love to <a href="http://www.yiyinglu.com/">Yiying Lu</a>, the famed creator of the comforting whale; you can peep the original illustration along with some other great work <a href="http://www.yiyinglu.com/sc/illustration">here</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://aroncares.dnsdojo.com/2008/07/01/i/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Now with more validation!</title>
		<link>http://aroncares.dnsdojo.com/2008/06/03/now-with-more-validation/</link>
		<comments>http://aroncares.dnsdojo.com/2008/06/03/now-with-more-validation/#comments</comments>
		<pubDate>Tue, 03 Jun 2008 17:32:00 +0000</pubDate>
		<dc:creator>aron</dc:creator>
		
		<category><![CDATA[blog/site]]></category>

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

		<guid isPermaLink="false">http://aroncares.dnsdojo.com/?p=19</guid>
		<description><![CDATA[In case you haven&#8217;t been following along during this journey of mine I&#8217;ll go ahead and spill it out for you - I have no idea what I&#8217;m doing with this whole &#8220;blog&#8221; thing.  However, I am learning a LOT&#8230;  It seems everytime I make a change something breaks and I get to learn how [...]]]></description>
			<content:encoded><![CDATA[<p>In case you haven&#8217;t been following along during this journey of mine I&#8217;ll go ahead and spill it out for you - I have no idea what I&#8217;m doing with this whole &#8220;blog&#8221; thing.  However, I am learning a LOT&#8230;  It seems everytime I make a change something breaks and I get to learn how to fix it.</p>
<p>Well, today, I finally passed another milestone; one which I have been tinkering with for quite some time.  My site is now valid W3C XHTML (transitional) and CSS!!  This is something I really wanted and because of my limited knowledge has been slow in coming.  I&#8217;m very glad that I have reached this milestone as interoperability is extremely important to me.  I don&#8217;t want to learn/use code that only works correctly in some environments, instead I want to learn things the right way!</p>
<p>If you want to run the test yourself and celebrate along with me you can scroll to the bottom of my page.  I have placed links to both the XHTML and CSS validation tests in the footer as a trophy to remind myself of this amazing (to me at least) feat!</p>
]]></content:encoded>
			<wfw:commentRss>http://aroncares.dnsdojo.com/2008/06/03/now-with-more-validation/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Automagically resize your windows</title>
		<link>http://aroncares.dnsdojo.com/2008/05/22/automagically-resize-your-windows/</link>
		<comments>http://aroncares.dnsdojo.com/2008/05/22/automagically-resize-your-windows/#comments</comments>
		<pubDate>Thu, 22 May 2008 14:30:48 +0000</pubDate>
		<dc:creator>aron</dc:creator>
		
		<category><![CDATA[programming]]></category>

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

		<guid isPermaLink="false">http://aroncares.dnsdojo.com/?p=17</guid>
		<description><![CDATA[Automatically resizing your application windows based on resolution is a topic that I find pretty interesting and has been covered by two of my favorite sites here and here.  The script was originally written by Jeff Kelley on his blog.  After playing with the script for a few hours I finally got something together that [...]]]></description>
			<content:encoded><![CDATA[<p>Automatically resizing your application windows based on resolution is a topic that I find pretty interesting and has been covered by two of my favorite sites <a href="http://www.tuaw.com/2008/05/22/applescript-to-arrange-your-desktop/#comments" target="_blank">here</a> and <a href="http://lifehacker.com/392458/maximize-screen-real-estate-with-applescript" target="_blank">here</a>.  The script was originally written by Jeff Kelley on his <a href="http://slaunchaman.wordpress.com/2008/05/20/resize-your-windows-automatically-for-different-resolutions/" target="_blank">blog</a>.  After playing with the script for a few hours I finally got something together that I like.  I wanted to post my version of the script and a few notes for people to review if they want to tweak the original script.</p>
<p>I will start by saying I like my windows to be as small as possible so I can have as many open apps visible at a time; but here are a few things I ran into&#8230;</p>
<p>1) The quotation marks are not copying correctly from the site into script editor so you will have to replace them manually prior to compiling.</p>
<p>2) The format of the bounds for the windows is also useful to know.  First notice that the very top of the desktop (just below the menu bar) is y=0 and the very left the desktop is x=0.  The window bounds follow this format (dist x left, dist y top, dist x right, dist y bottom).  Distance from x(y)=0 to [window side].  If that doesn&#8217;t make sense I&#8217;ll try to make a visual diagram.</p>
<p>3) You can quickly find the values of distances using CMD+SHIFT+3 and looking at the coordinates as you drag the selector around the screen.</p>
<p>4) Because of how I like my windows I found it easier to do all of the resizing within two if-statements.  ie. If Width = 1920 size the windows this way, If Width = 1440 size the windows that way.</p>
<p>View the full entry to see my script.</p>
<p><span id="more-17"></span></p>
<blockquote><p>tell application &#8220;Finder&#8221;<br />
set _b to bounds of window of desktop<br />
set _width to item 3 of _b<br />
set _height to item 4 of _b<br />
end tell</p>
<p>if _width is equal to 1920 then</p>
<p>try<br />
tell application &#8220;Safari&#8221;<br />
activate<br />
set the bounds of the first window to {940, 0, 1790, 1200}<br />
end tell<br />
end try</p>
<p>try<br />
tell application &#8220;NetNewsWire&#8221;<br />
activate<br />
set the bounds of the first window to {90, 0, 1240, 624}<br />
end tell<br />
end try</p>
<p>try<br />
tell application &#8220;Mail&#8221;<br />
activate<br />
set the bounds of the first window to {90, 658, 926, 1200}<br />
end tell<br />
end try<br />
end if</p>
<p>if _width is equal to 1440 then</p>
<p>try<br />
tell application &#8220;Safari&#8221;<br />
activate<br />
set the bounds of the first window to {450, 0, 1300, 900}<br />
end tell<br />
end try</p>
<p>try<br />
tell application &#8220;NetNewsWire&#8221;<br />
activate<br />
set the bounds of the first window to {80, 0, 1230, 624}<br />
end tell<br />
end try</p>
<p>try<br />
tell application &#8220;Mail&#8221;<br />
activate<br />
set the bounds of the first window to {80, 315, 915, 857}<br />
end tell<br />
end try<br />
end if</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://aroncares.dnsdojo.com/2008/05/22/automagically-resize-your-windows/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Green Plug, a really good idea</title>
		<link>http://aroncares.dnsdojo.com/2008/05/20/green-plug-a-really-good-idea/</link>
		<comments>http://aroncares.dnsdojo.com/2008/05/20/green-plug-a-really-good-idea/#comments</comments>
		<pubDate>Wed, 21 May 2008 02:08:34 +0000</pubDate>
		<dc:creator>aron</dc:creator>
		
		<category><![CDATA[technology and gadgets]]></category>

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

		<guid isPermaLink="false">http://aroncares.dnsdojo.com/?p=16</guid>
		<description><![CDATA[Green Plug featured here and here is a new technology from the up and coming startup of the same name.  It&#8217;s mantra &#8220;One Plug. One Planet.&#8221; is indicative of the eco-friendliness on which the company is found.  Green Plug wants to change the way consumers and manufacturers think about AC adapters, batteries, and basically things that [...]]]></description>
			<content:encoded><![CDATA[<p>Green Plug featured <a href="http://www.engadget.com/2008/05/10/swtched-on-green-plug-tries-to-replace-the-worry-warts-part-1/" target="_blank">here</a> and <a href="http://www.engadget.com/2008/05/20/switched-on-green-plug-tries-to-replace-the-worry-warts-part-2/" target="_blank">here</a> is a new technology from the up and coming startup of the same name.  It&#8217;s mantra &#8220;One Plug. One Planet.&#8221; is indicative of the eco-friendliness on which the company is found.  Green Plug wants to change the way consumers and manufacturers think about AC adapters, batteries, and basically things that plug into the wall.  </p>
<p>The general idea is that all devices will use a truly universal AC adapter and that this will cut down on waste.  Green Plug takes this idea further by making their plugs &#8220;smart&#8221;.  Essentially, a Green Plug would feature an LCD status display and when paired with a compatible device provide information about the charge status.  Further, because the Green Plug-enabled device would also be &#8220;smart&#8221; the Green Plug would cut the flow of power when the battery was fully charged and thus resulting in a reduction of power usage.</p>
<p>Currently there is a movement to standardize mini-USB as a power plug for many devices.  An unfortunate limitation of this tech is that USB simply cannot handle the load required by most devices larger than a cell phone.  Green Plug-enabled devices would be able to notify the Green Plug of its specific power requirements and in this way it is more intelligent and more capable than the USB-powered counterparts.</p>
<p>Green Plug is versatile and wants to be integrated into hubs, shops, offices and even homes.  Aftermarket AC adapter providers like Targus could use Green Plug to create hubs capable of powering multiple devices at a time.  The LCD read-out would provide status information for each connected device.  Retail locations and offices could implement Green Plug to save energy and allow anyone with a Green Plug device to sip some juice from the power grid.</p>
<p>A big benefit that seems to be over-looked is integration with <a href="http://www.xcelenergy.com/XLWEB/CDA/0,3080,1-1-1_15531_43141_46932-39884-0_0_0-0,00.html" target="_blank">Smart Grid</a> technology.  Smart Grid is an idea being implemented by many major power companies to provide transparency to end-users regarding real-time pricing and usage of power.  In other words, Smart Grid aims to have a household&#8217;s appliances use more power when the price of electricity is low and use less power when the price of electricity is high.  Green Plug is smart too and could be integrated with Smart Grid to reduce load based on the information provided by the user&#8217;s power company.  Some devices can be charged less quickly by limiting the amount of power that is provided.  In this way it would be possible to charge a device and specify whether charging speed or energy savings are a priority.</p>
<p>While Green Plug has a lot to over come it has the right idea with its focus on energy savings and universal access for the end-user.  Green Plug&#8217;s Earth first principles have come at a great time when energy prices are constantly on the rise.</p>
]]></content:encoded>
			<wfw:commentRss>http://aroncares.dnsdojo.com/2008/05/20/green-plug-a-really-good-idea/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>
