<?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 version="2.0">
  <channel>
    <title>ChrisCodes - Where Art Meets Code!</title>
    <link>http://chriscodes.com/articles/rss</link>
    <description>recent rambles by me</description>
    <language>en-us</language>
    <atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" href="http://feeds.feedburner.com/chriscodes" type="application/rss+xml" /><item>
      <title>The Pradipta 416</title>
      <description>&lt;p&gt;&lt;a href="http://thepradipta416.com" title="Proud Member of the Pradipta 416"&gt;
&lt;img src="/images/pradipta416.gif" alt="The Few, The Proud, The Pradipta 416"/&gt;
&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;I regularly get emailed by recruiters regarding Ruby on Rails jobs.&lt;/p&gt;
&lt;p&gt;This morning I had one that topped them all. I get this email with a one liner about some Rails positions. I then notice that the genius who sent it put all the people he was sending to in the CC field instead of the BCC field.&lt;/p&gt;
&lt;p&gt;I use Thunderbird and have my messages in threaded view. I wondered why it appeared to be a thread, as I hit "reply all" to send the recruiter a &lt;em&gt;nice&lt;/em&gt; message for giving my email to over 400 people, I realize that many of those people had already done the same. Very entertaining, and one more item on my list of why I dislike recruiters.&lt;/p&gt;</description>
      <pubDate>Fri, 18 Jul 2008 00:00:00 +0000</pubDate>
      <link>http://chriscodes.com/articles/view/65</link>
      <guid>http://chriscodes.com/articles/view/65</guid>
    </item>
    <item>
      <title>New Projects</title>
      <description>&lt;p&gt;My user interface and graphic designer, Dan Vinson, and I have our hands full as we've added 3 major projects to our already heavy workload.&lt;/p&gt;
&lt;p&gt;One is a new website for a Washington D.C. based record label, that will integrate music producers with their MySpace networks via the new &lt;a href="http://developer.myspace.com/community/"&gt;MySpace Developer Platform&lt;/a&gt; and &lt;a href="http://code.google.com/apis/opensocial/"&gt;Google's OpenSocial API&lt;/a&gt; amongst other things.&lt;/p&gt;
&lt;p&gt;Unfortunately we can't say too much about the others, due to &lt;acronym title="Non-disclosure Agreements"&gt;NDA's&lt;/acronym&gt;, but they'll keep us busy for quite some time.&lt;/p&gt;</description>
      <pubDate>Thu, 21 Feb 2008 00:00:00 +0000</pubDate>
      <link>http://chriscodes.com/articles/view/64</link>
      <guid>http://chriscodes.com/articles/view/64</guid>
    </item>
    <item>
      <title>acts_as_conference</title>
      <description>&lt;p&gt;
&lt;a href="http://www.actsasconference.com" title="Rails For All presents acts_as_conference"&gt;&lt;img src="http://www.actsasconference.com/images/badge_med_attendee.png"&gt;&lt;/a&gt;
&lt;/p&gt;
&lt;div&gt;&lt;strong&gt;acts_as_conference.attendees &amp;lt;&amp;lt; self&lt;/strong&gt;&lt;/div&gt;
&lt;p&gt;Looking forward to &lt;a href="http://www.actsasconference.com" title="Rails For All presents acts_as_conference"&gt;acts_as_conference&lt;/a&gt; in Orlando this weekend.&lt;/p&gt;</description>
      <pubDate>Tue, 05 Feb 2008 00:00:00 +0000</pubDate>
      <link>http://chriscodes.com/articles/view/63</link>
      <guid>http://chriscodes.com/articles/view/63</guid>
    </item>
    <item>
      <title>So Long AWS, or ECS, or AAWS</title>
      <description>&lt;p&gt;After 4 good years, I'm saying goodbye to the Amazon Web Service store on this site. It began as an excuse to play with SOAP and PHP back in 2004. I never expected to actually make anything from the associates program, so I was shocked when I started receiving gift certificates in 2005.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://aws.amazon.com/"&gt;Amazon's web service offerings&lt;/a&gt; have grown quite a bit since then, and the original service has gone through multiple version, and name, changes. I was running an old version that reaches &lt;acronym title="End Of Life"&gt;EOL&lt;/acronym&gt; next month, and I'm currently too busy to update it.&lt;/p&gt;
&lt;p&gt;I'll still be working with the API in some fashion, but the time has come to remove it from this site.&lt;/p&gt;</description>
      <pubDate>Sun, 03 Feb 2008 00:00:00 +0000</pubDate>
      <link>http://chriscodes.com/articles/view/62</link>
      <guid>http://chriscodes.com/articles/view/62</guid>
    </item>
    <item>
      <title>Sluice, the 'River of News' style feed reader</title>
      <description>&lt;p&gt;&lt;a href="http://sluice.somewhatuseful.com"&gt;&lt;img src="/images/sluice_logo.png" alt="Sluice Logo" /&gt;&lt;/a&gt;
We've just setup the &lt;a href="http://sluice.somewhatuseful.com"&gt;public website for Sluice&lt;/a&gt;, the &lt;a href="http://vote.railsrumble.com/teams/sluice"&gt;application we built&lt;/a&gt; for the &lt;a href="http://railsrumble.com"&gt;Rails Rumble&lt;/a&gt;.&lt;br /&gt;
Stay tuned for details, and once the rumble settles down, we'll be adding features to the application there.&lt;/p&gt;</description>
      <pubDate>Fri, 14 Sep 2007 00:00:00 +0000</pubDate>
      <link>http://chriscodes.com/articles/view/60</link>
      <guid>http://chriscodes.com/articles/view/60</guid>
    </item>
    <item>
      <title>Rails Rumble, Officially Over... Again, For Real This Time!</title>
      <description>&lt;p&gt;&lt;a href="http://railsrumble.com"&gt;&lt;img src="/images/railsrumble_black_120.png" alt="Rails Rumble Logo" /&gt;&lt;/a&gt;
Last weekend &lt;a href="http://trevorbramble.com/"&gt;Trevor Bramble&lt;/a&gt; and I competed in the &lt;a href="http://railsrumble.com"&gt;Rails Rumble&lt;/a&gt;. Originally we had a &lt;a href="http://vote.railsrumble.com/teams/sluice"&gt;team&lt;/a&gt; of 4, but two bailed on us at the last minute, so it wound up being 2 to build an application in rails in 48 hours.&lt;/p&gt;
&lt;p&gt;What came out of it was &lt;a href="http://sluice.railsrumble.com"&gt;Sluice&lt;/a&gt;, an alternative to Google Reader. The original intent was to build a lighter feed reader, with search capabilities, and no sidebar. Ironically, Google added those same features to Reader the day before the competition started.&lt;/p&gt;
&lt;p&gt;Anyway, with only two of us working on it, we had to cut many of the features we had planned. Nevertheless, we got a good start on an application we've both been talking about for awhile. We'll continue to work on it over at &lt;a href="http://sluice.somewhatuseful.com"&gt;sluice.somewhatuseful.com&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Voting started today, so &lt;a href="http://vote.railsrumble.com/"&gt;check out all the applications&lt;/a&gt;, but remember to &lt;a href="http://vote.railsrumble.com/teams/sluice"&gt;vote for sluice!&lt;/a&gt;&lt;/p&gt;</description>
      <pubDate>Fri, 14 Sep 2007 00:00:00 +0000</pubDate>
      <link>http://chriscodes.com/articles/view/61</link>
      <guid>http://chriscodes.com/articles/view/61</guid>
    </item>
    <item>
      <title>Rails Rumble</title>
      <description />
      <pubDate>Sun, 09 Sep 2007 00:00:00 +0000</pubDate>
      <link>http://chriscodes.com/articles/view/59</link>
      <guid>http://chriscodes.com/articles/view/59</guid>
    </item>
    <item>
      <title>Rails Plugin Repository Temporarily Offline</title>
      <description>&lt;p&gt;I've recently moved and as a result the subversion repository (svn://chriscodes.homelinux.org) that holds my Rails plugins has been offline.&lt;/p&gt;
&lt;p&gt;
If you're looking for the &lt;a href="http://agilewebdevelopment.com/plugins/chris_martin"&gt;generate_sitemap&lt;/a&gt; plugin, I do have a tarball of the latest available here.&lt;br /&gt;
&lt;a href="http://chriscodes.com/generate_sitemap.tar.gz"&gt;http://chriscodes.com/generate_sitemap.tar.gz&lt;/a&gt;
&lt;/p&gt;
&lt;p&gt;I'll post here once the subversion repository is back online.&lt;/p&gt;</description>
      <pubDate>Tue, 24 Jul 2007 00:00:00 +0000</pubDate>
      <link>http://chriscodes.com/articles/view/58</link>
      <guid>http://chriscodes.com/articles/view/58</guid>
    </item>
    <item>
      <title>Rotate Rails application logs with logrotate on Debian</title>
      <description>&lt;p&gt;Here's a logrotate script to keep your Rails application's logs from getting out of hand. This is from a Debian GNU/Linux box, but should be similar on other Linux systems, give or take a path or two.&lt;/p&gt;
&lt;p&gt;Create a file in the &lt;em&gt;/etc/logrotate.d&lt;/em&gt; directory, eg. &lt;em&gt;/etc/logrotate.d/rails-apps&lt;/em&gt;, with the following&lt;/p&gt;
&lt;div&gt;
&lt;pre&gt;
/rails-apps/*/log/*.log {
        weekly
        missingok
        copytruncate
        rotate 12
        compress
        notifempty
        sharedscripts
        postrotate
           if [ -f /var/run/lighttpd.pid ]; then \
             if [ -x /usr/sbin/invoke-rc.d ]; then \
                invoke-rc.d lighttpd force-reload &gt; /dev/null; \
             else \
                /etc/init.d/lighttpd force-reload &gt; /dev/null; \
             fi; \
           fi;
        endscript
}
&lt;/pre&gt;
&lt;/div&gt;
&lt;p&gt;This will run weekly, so if you want to test it to be sure it works first, just run:&lt;/p&gt;
&lt;div&gt;&lt;pre&gt;sudo /usr/sbin/logrotate -f /etc/logrotate.d/rails-apps&lt;/pre&gt;&lt;/div&gt;
&lt;p&gt;The first line will look in each directory in &lt;em&gt;/rails-apps&lt;/em&gt; for the &lt;em&gt;log/&lt;/em&gt; directory. It will rotate all files ending with .log, so if you store the rails logs, lighttpd (or Apache) access/error logs in your app's log directory, they're all taken care of.&lt;br /&gt;This way multiple applications (and applications added in the future) are covered.&lt;/p&gt;
&lt;p&gt;I'm using lighttpd, so after rotating the server is restarted&lt;/p&gt;
&lt;p&gt;As with any Linux utility, logrotate is very configurable, so be sure and check &lt;em&gt;man logrotate&lt;/em&gt; for all of the glorious options. Or check out &lt;a href="http://www.debian-administration.org/articles/117"&gt;one of&lt;/a&gt; &lt;a href="http://www.google.com/search?q=logrotate+howto"&gt;the many&lt;/a&gt; articles and tutorials available&lt;/p&gt;</description>
      <pubDate>Tue, 22 May 2007 00:00:00 +0000</pubDate>
      <link>http://chriscodes.com/articles/view/57</link>
      <guid>http://chriscodes.com/articles/view/57</guid>
    </item>
    <item>
      <title>Generate Sitemap Plugin Updated</title>
      <description>&lt;p&gt;I've updated my &lt;a href="http://agilewebdevelopment.com/plugins/chris_martin"&gt;generate_sitemap plugin&lt;/a&gt; for Rails.&lt;/p&gt;
&lt;p&gt;Little changes that ensure nil anchor tags aren't crawled, as well as links that begin with '#'.&lt;br /&gt;
I've also incorporated changes submitted from &lt;a href="http://b.lesseverything.com/"&gt;Steven Bristol&lt;/a&gt; of &lt;a href="http://lesseverything.com/"&gt;less everything&lt;/a&gt;. Steven added code to allow for full urls but still keep you in DOMAIN, and  a bit that will keep going even if Hpricot chokes on a
url. Thanks Steven!&lt;/p&gt;
&lt;p&gt;More on the plugin can be found in &lt;a href="/articles/view/54"&gt;my initial announcement&lt;/a&gt;, and on &lt;a href="http://agilewebdevelopment.com/plugins/chris_martin"&gt;AgileWebDevelopment.com&lt;/a&gt;&lt;/p&gt;</description>
      <pubDate>Mon, 21 May 2007 00:00:00 +0000</pubDate>
      <link>http://chriscodes.com/articles/view/56</link>
      <guid>http://chriscodes.com/articles/view/56</guid>
    </item>
  </channel>
</rss>
