<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" version="2.0">

<channel>
	<title>Don't Forget to Plant It!</title>
	
	<link>http://blog.codeeg.com</link>
	<description />
	<lastBuildDate>Mon, 07 Sep 2009 04:43:31 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.5</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" href="http://feeds.feedburner.com/DontForgetToPlantIt" type="application/rss+xml" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com" /><item>
		<title>Installing Native Gems with Custom Library Paths</title>
		<link>http://blog.codeeg.com/2009/09/06/installing-native-gems-with-custom-library-paths/</link>
		<comments>http://blog.codeeg.com/2009/09/06/installing-native-gems-with-custom-library-paths/#comments</comments>
		<pubDate>Mon, 07 Sep 2009 04:43:31 +0000</pubDate>
		<dc:creator>Calvin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://blog.codeeg.com/?p=271</guid>
		<description><![CDATA[A few weeks ago, I started using the Patron Gem for Skribit and ran into an issue on our CentOS production servers which uses a very old version of libcurl.  I got it working by compiling a new version of libcurl and building the Gem against those binaries.  Since I didn&#8217;t want to overwrite the [...]]]></description>
			<content:encoded><![CDATA[<p></p><p>A few weeks ago, I started using the <a href="http://github.com/toland/patron/tree/master">Patron</a> Gem for Skribit and ran into an issue on our CentOS production servers which uses a very old version of libcurl.  I got it working by compiling a new version of libcurl and building the Gem against those binaries.  Since I didn&#8217;t want to overwrite the libcurl that CentOS provided, I installed the binaries in another location instead, and updated the <strong>LD_LIBRARY_PATH</strong> environment variable so Rails could properly load the Gem.</p>
<p>A couple of days ago, <a href="http://paulstamatiou.com">Paul</a> brought to my attention that <a href="http://linuxmafia.com/faq/Admin/ld-lib-path.html">using LD_LIBRARY_PATH isn&#8217;t a good thing</a>.  While I didn&#8217;t necessarily think it was a big deal, it did peak my curiosity on how I would get this work without it.  Here&#8217;s the command I finally used to get it to work:</p>
<script src="http://gist.github.com/182153.js"></script>
<p>The key part is the <strong>&#8211;with-ldflags</strong> option at the very end.  The <strong>-Wl,-R&lt;path&gt;</strong> option adds the given path to the list of paths the linker will use to find libraries at runtime.  Hopefully, someone will find this information useful, since I couldn&#8217;t find this information myself on the &#8216;nets anywhere.</p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/DontForgetToPlantIt?a=lb5zigrIjOs:hMA3ZVmUq4E:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/DontForgetToPlantIt?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/DontForgetToPlantIt?a=lb5zigrIjOs:hMA3ZVmUq4E:qjr0MKvwcKg"><img src="http://feeds.feedburner.com/~ff/DontForgetToPlantIt?d=qjr0MKvwcKg" border="0"></img></a>
</div>]]></content:encoded>
			<wfw:commentRss>http://blog.codeeg.com/2009/09/06/installing-native-gems-with-custom-library-paths/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Switching from Windows to Mac: A Retrospective</title>
		<link>http://blog.codeeg.com/2009/07/08/switching-from-windows-to-mac-a-retrospective/</link>
		<comments>http://blog.codeeg.com/2009/07/08/switching-from-windows-to-mac-a-retrospective/#comments</comments>
		<pubDate>Thu, 09 Jul 2009 00:55:27 +0000</pubDate>
		<dc:creator>Calvin</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[apple]]></category>
		<category><![CDATA[Mac]]></category>
		<category><![CDATA[MacBook Pro]]></category>
		<category><![CDATA[OS X]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://blog.codeeg.com/?p=232</guid>
		<description><![CDATA[
Just recently done a 2 week stint working on Windows while Apple Geniuses were working on my MBP, I thought it would be a good time to blog on my own Skribit Suggestion and reflect on my switch to Mac 14 months ago.
Reasons for Switching
Prior to my MBP, I&#8217;ve was working on a personal HP [...]]]></description>
			<content:encoded><![CDATA[<p><a class="post_image_link" href="http://blog.codeeg.com/2009/07/08/switching-from-windows-to-mac-a-retrospective/" title="Permanent link to Switching from Windows to Mac: A Retrospective"><img class="post_image alignnone" src="http://blog.codeeg.com/wp-content/uploads/2009/06/DSC_0081-300x199.jpg" width="300" height="199" alt="Post image for Switching from Windows to Mac: A Retrospective" /></a>
</p><p>Just recently done a 2 week stint working on Windows while Apple Geniuses were working on my MBP, I thought it would be a good time to blog on <a title="My Skribit Suggestion" href="http://skribit.com/suggestions/switching-to-from-windows-to-mac">my own Skribit Suggestion</a> and reflect on my switch to Mac 14 months ago.</p>
<h2>Reasons for Switching</h2>
<p>Prior to my MBP, I&#8217;ve was working on a personal HP laptop that was on it&#8217;s last leg.  My screen had started developing an assortment of 1 pixel vertical lines and the keyboard would randomly doouble typed keys.  I had a choice to make &#8211; I can either get another (and better) Windows laptop, or do the the switch.  Ultimately, I decided on switching.  Here were my reasons.</p>
<h3>Apple made great <span style="text-decoration: line-through;">looking</span> laptops that looks good too</h3>
<p>Apple really makes some really good looking laptops, but it&#8217;s easy to forget that they they&#8217;re functionally great laptops too.  When my wife first got her MacBook, I was amazed at how everything looked so crisp on it.  And speaking as someone that has broken a power connector on a laptop before, MagSafe is a must-have awesome feature.</p>
<h3>A Unix based Operating System</h3>
<p>When you do development, working on a Unix based environment with a real command line is a big advantage.  Cygwin can help bridge that gap on Windows, but it&#8217;s nothing like having a terminal that can size itself properly and not having to constantly translate Windows paths to Unix paths and vice versa.</p>
<p>Another benefit of having a Unix OS is that Open Source software plays much better on it than on Windows.  Most OSS is developed to target Unix first, Windows second.  When working on Elf Island on Windows, my workflow while working on the game (which is developed primarily using OSS), involved starting two different services from Windows System Tray, starting another service from the Windows Services, and finally running a few commands from Cygwin.  I can do the equivalent of all that from the command line on a Unix environment.</p>
<h3>A Paid-For Software Friendly Ecosystem</h3>
<p>For some reason, it seems that Mac users are willing to pay for software, and as a result there is a lot of <a title="TextMate Editor" href="http://macromates.com/">reasonably price</a> <a title="Transmit" href="http://www.panic.com/transmit/">software</a> for Macs.  Doing software development myself, I can appreciate and definitely want to support this line of thinking.  Sure, Windows has tons of commercial, <a href="http://downloads.com">paid-for software</a>, but I can&#8217;t say I feel comfortable about downloading them for fear of excessive ads, poor installations practices, and/or spyware.</p>
<h3>Experiencing Something New</h3>
<p>Probably the biggest reason for doing the switch is that I&#8217;ve been using Windows for years.  It was time for a change - a change for changes&#8217; sake.  Programmers are told that they should regularly learn new languages to keep their skills sharp and to explore new ways of doing things.  It should be the same with the software you use as well.  If you develop software, you owe it to yourself to see how the other side does it to gain some perspective.</p>
<h3>Conclusions</h3>
<p>So after a year of working fully on the Mac, here&#8217;s are some things I like and don&#8217;t like about my OS X:</p>
<h4>Pros</h4>
<ul>
<li><strong>Windows Management.</strong> It took a while getting used to, but I have grown to prefer <strong>Command+Tab</strong> &amp; <strong>Command+`</strong> to Windows <strong>Alt+Tab</strong> model.</li>
<li><strong>OS Degradation.</strong> With my prior laptop, Windows had greatly degraded by it&#8217;s first anniversary.  I haven&#8217;t experience that with my MBP yet.</li>
<li><strong>Great TrackPad.</strong> When programming, I try to stay on the keyboard as much as possible, but I find that transitioning between the trackpad and keyboard on my MBP the easiest of any laptop I&#8217;ve used before.</li>
</ul>
<h4>Cons</h4>
<ul>
<li><strong>Keyboard Shortcut Images. </strong>For some strange reason keyboard shortcuts are still displayed using icons (<img style="border: 0px initial initial;" title="Apple Keys" src="http://blog.codeeg.com/wp-content/uploads/2009/06/mac_keys.png" alt="Apple Keys" width="47" height="11" />) that in some cases are no longer shown on the keyboard.  Trying to remember what icon is what key can feel like akin to decipher hieroglyphics.</li>
<li><strong>Alt Key Menu Access.</strong> I miss how the <strong>Alt </strong>key in Windows gave you keyboard access to the application menu.  I often used that function keyboard shortcut.</li>
<li><strong>I Miss My Alt+Ctrl+Delete.</strong> I kind of feel that Windows does a better job of preventing errant applications from locking up the whole OS.  I attribute that to Window&#8217;s plentiful experience with crashes and lockups.  It seems that lockups on OS X are more catastrophic (requiring a hard reboot) than they should be.</li>
</ul>
<div id="_mcePaste" style="overflow: hidden; position: absolute; left: -10000px; top: 247px; width: 1px; height: 1px;">http://macromates.com/</div>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/DontForgetToPlantIt?a=PLb-RScTDJE:Fvl51PbU7sM:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/DontForgetToPlantIt?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/DontForgetToPlantIt?a=PLb-RScTDJE:Fvl51PbU7sM:qjr0MKvwcKg"><img src="http://feeds.feedburner.com/~ff/DontForgetToPlantIt?d=qjr0MKvwcKg" border="0"></img></a>
</div>]]></content:encoded>
			<wfw:commentRss>http://blog.codeeg.com/2009/07/08/switching-from-windows-to-mac-a-retrospective/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Problems Uploading Files to WordPress?</title>
		<link>http://blog.codeeg.com/2009/06/25/having-problems-uploading-files-to-wordpress/</link>
		<comments>http://blog.codeeg.com/2009/06/25/having-problems-uploading-files-to-wordpress/#comments</comments>
		<pubDate>Thu, 25 Jun 2009 23:38:06 +0000</pubDate>
		<dc:creator>Calvin</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[File Uploads]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://blog.codeeg.com/?p=252</guid>
		<description><![CDATA[A Google search seems to indicate that problems uploading files on WordPress installs is a pretty common occurrence.  Unfortunately, I had the hardest time finding the solution to my particular ailment.  Hopefully, this post will find those others who run into this problem in the future.
From the WP Admin pages, go to Settings &#62; Miscellaneous.  [...]]]></description>
			<content:encoded><![CDATA[<p></p><p>A Google search seems to indicate that problems uploading files on WordPress installs is a pretty common occurrence.  Unfortunately, I had the hardest time finding the solution to my particular ailment.  Hopefully, this post will find those others who run into this problem in the future.</p>
<p>From the WP Admin pages, go to <strong>Settings &gt; Miscellaneous</strong>.  Make sure the value for &#8216;Store uploads in this folder&#8217; is where you want your files stored (in most cases, it should be <em>wp-content/uploads</em>).</p>
<p style="text-align: center;"><a href="http://blog.codeeg.com/wp-content/uploads/2009/06/Miscellaneous-Settings-‹-Don’t-Forget-to-Plant-It-—-WordPress.jpg"><img class="aligncenter size-medium wp-image-253" title="Miscellaneous Settings ‹ Don’t Forget to Plant It! — WordPress" src="http://blog.codeeg.com/wp-content/uploads/2009/06/Miscellaneous-Settings-‹-Don’t-Forget-to-Plant-It-—-WordPress-300x117.jpg" alt="Miscellaneous Settings ‹ Don’t Forget to Plant It! — WordPress" width="300" height="117" /></a></p>
<p>In my case, this was pointing to a folder I was using for a WP install I was using to test the Thesis theme I&#8217;m using now.  Reverting it to the default fixed my problem.</p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/DontForgetToPlantIt?a=If6grSPigDU:PbsgnVN8Lgs:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/DontForgetToPlantIt?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/DontForgetToPlantIt?a=If6grSPigDU:PbsgnVN8Lgs:qjr0MKvwcKg"><img src="http://feeds.feedburner.com/~ff/DontForgetToPlantIt?d=qjr0MKvwcKg" border="0"></img></a>
</div>]]></content:encoded>
			<wfw:commentRss>http://blog.codeeg.com/2009/06/25/having-problems-uploading-files-to-wordpress/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Creating Static Pages w/ Rails ActionViews</title>
		<link>http://blog.codeeg.com/2009/05/24/creating-static-pages-w-rails-actionviews/</link>
		<comments>http://blog.codeeg.com/2009/05/24/creating-static-pages-w-rails-actionviews/#comments</comments>
		<pubDate>Mon, 25 May 2009 01:25:18 +0000</pubDate>
		<dc:creator>Calvin</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[programming]]></category>
		<category><![CDATA[rails]]></category>
		<category><![CDATA[ruby]]></category>
		<category><![CDATA[skribit]]></category>
		<category><![CDATA[Static Pages]]></category>

		<guid isPermaLink="false">http://blog.codeeg.com/?p=221</guid>
		<description><![CDATA[Recently, I needed to create some static reporting pages for Skribit.  From a quick search, I got a lot of results that talk about Rails and static pages, but none did exactly what I needed:

To be able to generate pages with different paths from one URL
Pages to persist across Rails deployments

Not seeing any solutions that [...]]]></description>
			<content:encoded><![CDATA[<p></p><p>Recently, I needed to create some static reporting pages for Skribit.  From a quick search, I got a lot of results that talk about Rails and static pages, but none did exactly what I needed:</p>
<ol>
<li>To be able to generate pages with different paths from one URL</li>
<li>Pages to persist across Rails deployments</li>
</ol>
<p>Not seeing any solutions that fit my needs, I set out to come up with my own.  Here is what I ended up with.</p>
<p>First, I needed to add a route for generating/displaying the reports:</p>
<script src="http://gist.github.com/117205.js"></script>
<p>From here, I could just use the standard <strong>caches_page :show</strong> declaration, but that would only generate the page I wanted if I used <em>/report/2009/05/25 </em>as the URL.  What if I wanted <em>/report</em> to generate the report for the current week?  Well, you can do something like this:</p>
<script src="http://gist.github.com/117328.js"></script>
<p>The magic is in the <strong>after_filter</strong> method <strong>cache_weekly_report</strong>.  We basically use the same mechanism Rails page caching uses to save our new report page.  Now, calling <em>/report</em> will generate a static report at <em>/report/2009/05/25</em>, or whatever the current day is.</p>
<p>The last thing to do is to make sure that the reports persist through new server deployments.  That can easily be done with a symlink in your capistrano script:</p>
<script src="http://gist.github.com/117331.js"></script>
<p>And that&#8217;s it!  What do you think?  I&#8217;d love to know if there are any simpler solutions to this.</p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/DontForgetToPlantIt?a=NPbUCq43PFw:9N-5NaDMJxU:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/DontForgetToPlantIt?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/DontForgetToPlantIt?a=NPbUCq43PFw:9N-5NaDMJxU:qjr0MKvwcKg"><img src="http://feeds.feedburner.com/~ff/DontForgetToPlantIt?d=qjr0MKvwcKg" border="0"></img></a>
</div>]]></content:encoded>
			<wfw:commentRss>http://blog.codeeg.com/2009/05/24/creating-static-pages-w-rails-actionviews/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Building Software to their Audiences</title>
		<link>http://blog.codeeg.com/2009/02/24/building-software-to-their-audiences/</link>
		<comments>http://blog.codeeg.com/2009/02/24/building-software-to-their-audiences/#comments</comments>
		<pubDate>Tue, 24 Feb 2009 10:35:03 +0000</pubDate>
		<dc:creator>Calvin</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[audience]]></category>
		<category><![CDATA[development]]></category>
		<category><![CDATA[software design]]></category>

		<guid isPermaLink="false">http://blog.codeeg.com/?p=201</guid>
		<description><![CDATA[When building software, it&#8217;s a good idea to identify the needs of 3 different kinds of audiences.
The first 2 kinds are obvious ones.  We know to listen to what our End Users ask for, but not necessarily build everything they ask.  And we want to balance what the Business wants with when they want it.
The [...]]]></description>
			<content:encoded><![CDATA[<p></p><p>When building software, it&#8217;s a good idea to identify the needs of 3 different kinds of audiences.</p>
<p>The first 2 kinds are obvious ones.  We know to listen to what our End Users ask for, but not necessarily build everything they ask.  And we want to balance what the Business wants with when they want it.</p>
<p>The last audience, the fellow Developer, is often forgotten.  This means writing clear and concise code.  This also means identifying the common maintenance points in your software and making it easy to work with.</p>
<p>And this also means factoring into the design the capabilities of the development team.  Just like it is unacceptable to write bad code, it should be just as unacceptable to over design software beyond the hiring practices of the company you work for.</p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/DontForgetToPlantIt?a=xdTDmHTmN3A:x5f93uejHJg:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/DontForgetToPlantIt?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/DontForgetToPlantIt?a=xdTDmHTmN3A:x5f93uejHJg:qjr0MKvwcKg"><img src="http://feeds.feedburner.com/~ff/DontForgetToPlantIt?d=qjr0MKvwcKg" border="0"></img></a>
</div>]]></content:encoded>
			<wfw:commentRss>http://blog.codeeg.com/2009/02/24/building-software-to-their-audiences/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Turning a New Page</title>
		<link>http://blog.codeeg.com/2008/11/15/turning-a-new-page/</link>
		<comments>http://blog.codeeg.com/2008/11/15/turning-a-new-page/#comments</comments>
		<pubDate>Sat, 15 Nov 2008 16:36:03 +0000</pubDate>
		<dc:creator>Calvin</dc:creator>
				<category><![CDATA[Personal]]></category>

		<guid isPermaLink="false">http://blog.codeeg.com/?p=192</guid>
		<description><![CDATA[It&#8217;s been a month now since I left my contract at AutoTrader.com.  For the most part, I&#8217;ve enjoyed my time there, but the thought of celebrating my two year anniversary there was a little frightening.  While I am very adaptable to the corporate life, it isn&#8217;t for me.  When FlickStation (the last startup I was [...]]]></description>
			<content:encoded><![CDATA[<p></p><p>It&#8217;s been a month now since I left my contract at AutoTrader.com.  For the most part, I&#8217;ve enjoyed my time there, but the thought of celebrating my two year anniversary there was a little frightening.  While I am very adaptable to the corporate life, it isn&#8217;t for me.  When FlickStation (the last startup I was a part of) desolved, the plan was to serve a year of corporate duty to get my bearings before heading back into the startup arena.  But some interesting work, interesting politics, and great co-workers kept me there longer than I expected.  But ultimately, I&#8217;m addicted to execution and delivery, both of which seem very hard to do well and often in large companies.</p>
<p>Also, for people with entrepreneurial aspirations, the corporate world has a way of slowly draining it from you, replacing it with contentedness.  And when you&#8217;re building your startup, those aspirations provides the fuel for you to push on.  I was worried that one day I wake up and find it all gone.</p>
<p>I&#8217;m now spending my time at Good Egg Studios, where we just now wrapped up our second week in private beta of <a title="Elf Island" href="http://elfisland.com">Elf Island</a>.  Working here has been like a breathe of fresh air.  The technology is familiar and not so familiar at the same time, and I&#8217;m working with some great people (including <a href="http://atlanta.startupweekend.com">Startup Weekend</a> alums <a title="Rob Kischuk" href="http://blog.kischuk.com/">Rob</a> and <a title="Amro Mousa - iPhone Developer :)" href="http://amromousa.com">Amro</a>) and leadership with great character.  As an added bonus, my commute is a lot shorter now, and also I&#8217;m much closer to <a title="Skribit - Blog Suggestion Application" href="http://skribit.com">Skribit</a>.</p>
<p>Oh, and did I mention I was working on a game!  A fscking game!</p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/DontForgetToPlantIt?a=WO9ImQbmGnI:4Q2cXDNeehk:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/DontForgetToPlantIt?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/DontForgetToPlantIt?a=WO9ImQbmGnI:4Q2cXDNeehk:qjr0MKvwcKg"><img src="http://feeds.feedburner.com/~ff/DontForgetToPlantIt?d=qjr0MKvwcKg" border="0"></img></a>
</div>]]></content:encoded>
			<wfw:commentRss>http://blog.codeeg.com/2008/11/15/turning-a-new-page/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Growl Notifications for Ant</title>
		<link>http://blog.codeeg.com/2008/10/18/growl-notifications-for-ant/</link>
		<comments>http://blog.codeeg.com/2008/10/18/growl-notifications-for-ant/#comments</comments>
		<pubDate>Sat, 18 Oct 2008 13:29:33 +0000</pubDate>
		<dc:creator>Calvin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[ant]]></category>
		<category><![CDATA[Growl]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[Mac]]></category>

		<guid isPermaLink="false">http://blog.codeeg.com/?p=187</guid>
		<description><![CDATA[It&#8217;s a real refreshing change to be doing developing on Mac these days.  Currently, our Ant builds at work are less than optimal, taking ten&#8217;s of minutes to do a full build.  Fixing it is something we definitely want to do, but because of the complexity of the build and existing deadlines, right now isn&#8217;t [...]]]></description>
			<content:encoded><![CDATA[<p></p><p>It&#8217;s a real refreshing change to be doing developing on Mac these days.  Currently, our Ant builds at work are less than optimal, taking ten&#8217;s of minutes to do a full build.  Fixing it is something we definitely want to do, but because of the complexity of the build and existing deadlines, right now isn&#8217;t the best time.  So instead of constantly checking on the progress of my build, I installed this <a href="http://blog.slimeslurp.net/2007/03/18/ant-build-notifications-via-growl/">Growl Ant build listener</a> which will display a Growl notification when a build has completed.</p>
<p>The <a href="http://code.google.com/p/growlbuildlistener/wiki/README">README</a> for the listener got me started &#8211; the only thing that didn&#8217;t work for me is setting the build listener using the <em>ANT_OPT</em> environment variable.  It looks like the default install of Ant on Leopard uses that environment variable as arguments to pass to the Java VM.  So instead, I just used an alias:</p>
<p><code>
<pre>
alias ant='ant -listener net.slimeslurp.growl.GrowlListener'
</pre>
<p></code></p>
<p>Just add this line to your <em>~/.bash_login</em> to use the build listener every time you build.</p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/DontForgetToPlantIt?a=cm1WhCyEtXk:YjLe7LSfcDA:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/DontForgetToPlantIt?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/DontForgetToPlantIt?a=cm1WhCyEtXk:YjLe7LSfcDA:qjr0MKvwcKg"><img src="http://feeds.feedburner.com/~ff/DontForgetToPlantIt?d=qjr0MKvwcKg" border="0"></img></a>
</div>]]></content:encoded>
			<wfw:commentRss>http://blog.codeeg.com/2008/10/18/growl-notifications-for-ant/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Moving Off WP.com</title>
		<link>http://blog.codeeg.com/2008/10/07/moving-off-wpcom/</link>
		<comments>http://blog.codeeg.com/2008/10/07/moving-off-wpcom/#comments</comments>
		<pubDate>Wed, 08 Oct 2008 02:44:08 +0000</pubDate>
		<dc:creator>Calvin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://blog.codeeg.com/?p=178</guid>
		<description><![CDATA[So after three months of WP.com, I&#8217;ve decided to move back to my own hosted WordPress blog.  One reason for the move was so that I can beta test our Skribit widget, which can now be easily styled to blend perfectly to your site.  Please give it a shot, and shoot us any feedback.  Right [...]]]></description>
			<content:encoded><![CDATA[<p></p><p>So after three months of WP.com, I&#8217;ve decided to move back to my own hosted WordPress blog.  One reason for the move was so that I can beta test our <a href="http://skribit.com">Skribit</a> widget, which can now be easily styled to blend perfectly to your site.  Please give it a shot, and shoot us any feedback.  Right now, this is a one off install, but I&#8217;m starting to put things together so that we can roll this new widget out to more testers.</p>
<p>Also, I felt that by moving to WP.com my blog got sort of bleh.  I had to use from one of the provided themes, and was limited in the plugins and widgets I was able to use.  It&#8217;s not like it was anything special before, but at least it wasn&#8217;t special by my choosing.  So, I&#8217;m on my own again, using the WP Subversion installation that <a href="http://paulstamatiou.com">Paul</a> recommended.  I also bought this <a title="Thesis WordPress theme" href="http://diythemes.com/thesis/">wicket cool theme</a> that is very well done and supported.  Now, I need to get some cool plugins &#8211; any recommendations?</p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/DontForgetToPlantIt?a=RjODGJp2AnM:vTObm3w4-68:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/DontForgetToPlantIt?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/DontForgetToPlantIt?a=RjODGJp2AnM:vTObm3w4-68:qjr0MKvwcKg"><img src="http://feeds.feedburner.com/~ff/DontForgetToPlantIt?d=qjr0MKvwcKg" border="0"></img></a>
</div>]]></content:encoded>
			<wfw:commentRss>http://blog.codeeg.com/2008/10/07/moving-off-wpcom/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Running FiveRuns TuneUp in a Separate Environment</title>
		<link>http://blog.codeeg.com/2008/10/05/running-fiveruns-tuneup-in-a-separate-environment/</link>
		<comments>http://blog.codeeg.com/2008/10/05/running-fiveruns-tuneup-in-a-separate-environment/#comments</comments>
		<pubDate>Mon, 06 Oct 2008 01:23:24 +0000</pubDate>
		<dc:creator>Calvin</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[FiveRuns TuneUp]]></category>
		<category><![CDATA[performance]]></category>
		<category><![CDATA[Profiling]]></category>
		<category><![CDATA[ruby on rails]]></category>

		<guid isPermaLink="false">http://blog2.codeeg.com/?p=168</guid>
		<description><![CDATA[FiveRuns&#8217; TuneUp is a great tool for profiling your Rails app, but by default it is always running in development.  This causes two issues 1) every request is slower in development as it is always collecting profiling data, and 2) the TuneUp bar can mess with the layout of your application, especially if you&#8217;re [...]]]></description>
			<content:encoded><![CDATA[<p></p><p><a href="http://www.fiveruns.com/products/tuneup">FiveRuns&#8217; TuneUp</a> is a great tool for profiling your Rails app, but by default it is always running in development.  This causes two issues 1) every request is slower in development as it is always collecting profiling data, and 2) the TuneUp bar can mess with the layout of your application, especially if you&#8217;re rendering content in iframes like we do with <a href="http://skribit.com">Skribit</a>.  So instead of having TuneUp always run in development mode, I&#8217;ve changed it to run only when the server is started in a new environment called &#8216;profiler&#8217;.   Here&#8217;s how I did it.</p>
<p>First, you need to tell TuneUp to only run in the profiler environment.  You do this by modifying <em>config/tuneup.rb</em> (create this file if it doesn&#8217;t already exist):</p>
<pre><code>Fiveruns::Tuneup.config do |config|
  config.environments.delete('development')
  config.environments &lt;&lt; 'profiler'
end</code></pre>
<p>Next, copy the development configuration block in <em>config/database.yml</em> and create a new block called <em>profiler</em>:</p>
<pre><code>profiler:
  adapter: mysql
  encoding: utf8
  database: YOUR_DATABASE
  username: YOUR_USERNAME
  password: YOUR_PASSWORD
  socket: /tmp/mysql.sock
</code></pre>
<p>Finally, create your profiler environment configs by copying your development configs:</p>
<pre><code>cp config/environments/development.rb config/environments/profiler.rb</code></pre>
<p>You&#8217;re all set!  Now, to run the server with TuneUp on, just run the server in the <em>profiler</em> environment:</p>
<pre><code>script/server -e profiler</code</pre>
<p>Now, I have TuneUp available to me only when I'm looking to optimize performance.</p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/DontForgetToPlantIt?a=ohCCb5QbOEc:LaZ7jZscdC0:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/DontForgetToPlantIt?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/DontForgetToPlantIt?a=ohCCb5QbOEc:LaZ7jZscdC0:qjr0MKvwcKg"><img src="http://feeds.feedburner.com/~ff/DontForgetToPlantIt?d=qjr0MKvwcKg" border="0"></img></a>
</div>]]></content:encoded>
			<wfw:commentRss>http://blog.codeeg.com/2008/10/05/running-fiveruns-tuneup-in-a-separate-environment/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Aptana Goes into the Clouds</title>
		<link>http://blog.codeeg.com/2008/09/07/aptana-goes-into-the-clouds/</link>
		<comments>http://blog.codeeg.com/2008/09/07/aptana-goes-into-the-clouds/#comments</comments>
		<pubDate>Sun, 07 Sep 2008 13:53:35 +0000</pubDate>
		<dc:creator>Calvin</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[AJAX]]></category>
		<category><![CDATA[aptana]]></category>
		<category><![CDATA[cloud computing]]></category>
		<category><![CDATA[eclipse]]></category>
		<category><![CDATA[radrails]]></category>
		<category><![CDATA[ruby on rails]]></category>

		<guid isPermaLink="false">http://dontforgettoplantit.wordpress.com/?p=161</guid>
		<description><![CDATA[I use Aptana for RoR development.  Not because it&#8217;s a good Ruby or Rails IDE, but because I do so much Java at my paying job and switching between Java development on Eclipse to RoR development on Aptana is a breeze.  Today, I was checking out Aptana&#8217;s website for updates when I noticed that they [...]]]></description>
			<content:encoded><![CDATA[<p></p><p>I use <a title="Aptana Website" href="http://www.aptana.com">Aptana</a> for RoR development.  Not because it&#8217;s a good Ruby or Rails IDE, but because I do so much Java at my paying job and switching between Java development on Eclipse to RoR development on Aptana is a breeze.  Today, I was checking out Aptana&#8217;s website for updates when I noticed that they now have a product called <a href="http://www.aptana.com/cloud">Aptana Cloud</a>.</p>
<p>Aptana Cloud appears to be a integrated deployment/hosting platform for Aptana.  You can write applications in PHP, Jaxer (Aptana&#8217;s AJAX framework), and Ruby on Rails (coming soon), and deploy them to a cloud with a push of a button.  Right now, it deploys to Joyent&#8217;s Cloud, but it appears that the intention is to be provider agnostic, which would be key for adoption.</p>
<p>I&#8217;m very interested in trying this out, though I&#8217;m going to wait until RoR support is ready.  Hopefully, this will lead to some standards to cloud computing, making it easier to switch from one provider to another.  No doubt this is where lightweight development frameworks should be going (looking at you Appcelerator).</p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/DontForgetToPlantIt?a=UaSNu7qezxw:aRvawJX-KiE:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/DontForgetToPlantIt?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/DontForgetToPlantIt?a=UaSNu7qezxw:aRvawJX-KiE:qjr0MKvwcKg"><img src="http://feeds.feedburner.com/~ff/DontForgetToPlantIt?d=qjr0MKvwcKg" border="0"></img></a>
</div>]]></content:encoded>
			<wfw:commentRss>http://blog.codeeg.com/2008/09/07/aptana-goes-into-the-clouds/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss><!-- Dynamic Page Served (once) in 2.114 seconds --><!-- Cached page served by WP-Cache -->
