<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title>Ruby Best Practices Blog - Latest Comments in http://blog.rubybestpractices.com/posts/jamesbritt/2009-04-13-solving-the-problem.rc.html</title><link>http://rbp-blog.disqus.com/</link><description>Ruby Best Practices Blog</description><atom:link href="https://rbp-blog.disqus.com/httpblogrubybestpracticescompostsjamesbritt2009_04_13_solving_the_problemrchtml/latest.rss" rel="self"></atom:link><language>en</language><lastBuildDate>Thu, 17 Sep 2009 07:08:03 -0000</lastBuildDate><item><title>Re: http://blog.rubybestpractices.com/posts/jamesbritt/2009-04-13-solving-the-problem.rc.html</title><link>http://blog.rubybestpractices.com/posts/jamesbritt/2009-04-13-solving-the-problem.rc.html#comment-16805407</link><description>&lt;p&gt;Thank you for the link Sandal, it describes it all! thank you.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">PSD To Wordpress</dc:creator><pubDate>Thu, 17 Sep 2009 07:08:03 -0000</pubDate></item><item><title>Re: http://blog.rubybestpractices.com/posts/jamesbritt/2009-04-13-solving-the-problem.rc.html</title><link>http://blog.rubybestpractices.com/posts/jamesbritt/2009-04-13-solving-the-problem.rc.html#comment-8245785</link><description>&lt;p&gt;Now that question is definitely more to the point! :)&lt;/p&gt;&lt;p&gt;Grit isn't super necessary here, and may reflect a bit of Korma's git-wiki ancestry.   I used it to grab post creation times from the changelogs, but it could be factored out and an alternative approach could be used for retrieving post timestamps.&lt;/p&gt;&lt;p&gt;Another good feature is that because the content is generated only from what's in the git repository, we lower the risk of local file modifications or cruft.   But that's admittedly, a small beneficial side effect.&lt;/p&gt;&lt;p&gt;Anyway. Feel free to fork and drop that dependency if you want.  Not sure if we'll pull it back upstream or not, but it seems like a reasonable suggestion to me.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Gregory Brown</dc:creator><pubDate>Wed, 15 Apr 2009 20:26:20 -0000</pubDate></item><item><title>Re: http://blog.rubybestpractices.com/posts/jamesbritt/2009-04-13-solving-the-problem.rc.html</title><link>http://blog.rubybestpractices.com/posts/jamesbritt/2009-04-13-solving-the-problem.rc.html#comment-8245578</link><description>&lt;p&gt;to james and sandal:&lt;/p&gt;&lt;p&gt;As a developer, I totally understand why you'd want to roll your own solution! :)&lt;/p&gt;&lt;p&gt;I'm in the process of updating my blog so I'm looking at different solutions. I was wondering if there was something about Webby that made it seem like a bad choice for this site.&lt;/p&gt;&lt;p&gt;But probably the thing that confuses me the most is why you're using grit. I mean it's natural to use git to version the text files of the posts, but when generating the site, why do you need to access the git objects, instead of working directly with the files?&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">jfcouture</dc:creator><pubDate>Wed, 15 Apr 2009 20:16:30 -0000</pubDate></item><item><title>Re: http://blog.rubybestpractices.com/posts/jamesbritt/2009-04-13-solving-the-problem.rc.html</title><link>http://blog.rubybestpractices.com/posts/jamesbritt/2009-04-13-solving-the-problem.rc.html#comment-8244015</link><description>&lt;p&gt;Korma was actually assembled by pulling together bits of git-wiki and my former blog engine, Blaag (which I admit was written only because I didn't know Webby existed), to provide exactly what I wanted.  For the RBP Blog, I needed some custom features, and I didn't know whether or not Webby would easily support author specific feeds and things like that.&lt;/p&gt;&lt;p&gt;Considering that Korma was put together in a night in a half from soup to nuts, I definitely trust &amp;lt; 250 lines of my own code to be easier to hack on than a couple thousand lines of someone elses code (for me, at least :).&lt;/p&gt;&lt;p&gt;&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Gregory Brown</dc:creator><pubDate>Wed, 15 Apr 2009 19:09:28 -0000</pubDate></item><item><title>Re: http://blog.rubybestpractices.com/posts/jamesbritt/2009-04-13-solving-the-problem.rc.html</title><link>http://blog.rubybestpractices.com/posts/jamesbritt/2009-04-13-solving-the-problem.rc.html#comment-8242938</link><description>&lt;p&gt;One of the reasons I liked Nitro, and now Ramaze, is exactly that aesthetic  of feature selection.&lt;/p&gt;&lt;p&gt;&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">James Britt / Neurogami</dc:creator><pubDate>Wed, 15 Apr 2009 18:23:06 -0000</pubDate></item><item><title>Re: http://blog.rubybestpractices.com/posts/jamesbritt/2009-04-13-solving-the-problem.rc.html</title><link>http://blog.rubybestpractices.com/posts/jamesbritt/2009-04-13-solving-the-problem.rc.html#comment-8242893</link><description>&lt;p&gt;Fewer features, smaller code, in Korma.&lt;/p&gt;&lt;p&gt;Korma focuses on a specific set of requirements, making it easier for someone to jump in and get started with it for particular tasks.&lt;/p&gt;&lt;p&gt;I like Webby, use it for several sites, and after seeing Korma thought about wiring git into Webby to possibly automate certain tasks, but Webby has it's own quirks and requirements.&lt;/p&gt;&lt;p&gt;An interesting aspect of Ruby (and similar languages) is that there is less need to contrive a one-size-fits all app because many things are getting easier and easier to hand roll.&lt;/p&gt;&lt;p&gt;EDIT:  regarding Gregory's subsequent comment, I did not write Korma, so I'm suggesting why one might start form scratch on something rather than adapt existing code.  I was already experience with Webby when I saw Korma, and it seemed such a simple, direct, fit for the needs that the idea of using Webby never crossed my mind.&lt;/p&gt;&lt;p&gt;Later, when digging into the code and writing my post I thought about Webby + git, but it would serve different needs than Korma.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">James Britt / Neurogami</dc:creator><pubDate>Wed, 15 Apr 2009 18:21:14 -0000</pubDate></item><item><title>Re: http://blog.rubybestpractices.com/posts/jamesbritt/2009-04-13-solving-the-problem.rc.html</title><link>http://blog.rubybestpractices.com/posts/jamesbritt/2009-04-13-solving-the-problem.rc.html#comment-8241148</link><description>&lt;p&gt;I'm not sure I understand why you built Korma. What's the difference between Korma and using Webby along with git?&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">jfcouture</dc:creator><pubDate>Wed, 15 Apr 2009 17:20:55 -0000</pubDate></item><item><title>Re: http://blog.rubybestpractices.com/posts/jamesbritt/2009-04-13-solving-the-problem.rc.html</title><link>http://blog.rubybestpractices.com/posts/jamesbritt/2009-04-13-solving-the-problem.rc.html#comment-8225190</link><description>&lt;p&gt;Interesting point of view, interesting approach. Loved "no code is easier to maintain than no code."... :) I think i'm going to follow this blog.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Luca Pette</dc:creator><pubDate>Wed, 15 Apr 2009 09:06:59 -0000</pubDate></item><item><title>Re: http://blog.rubybestpractices.com/posts/jamesbritt/2009-04-13-solving-the-problem.rc.html</title><link>http://blog.rubybestpractices.com/posts/jamesbritt/2009-04-13-solving-the-problem.rc.html#comment-8210770</link><description>&lt;p&gt;Oh wow, only just read the comment about where the name of this blog engine came from... Damn, that used to be one of my favorite foods, still like it quite a bit! My aunt and grandma still make it for me if we happen to be in the same city. Good stuff!&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">ehsanul</dc:creator><pubDate>Tue, 14 Apr 2009 17:50:39 -0000</pubDate></item><item><title>Re: http://blog.rubybestpractices.com/posts/jamesbritt/2009-04-13-solving-the-problem.rc.html</title><link>http://blog.rubybestpractices.com/posts/jamesbritt/2009-04-13-solving-the-problem.rc.html#comment-8210548</link><description>&lt;p&gt;You guys should be in charge of what goes into Rails 3. Nice write-up, loving the minimalism in coding. &lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">ehsanul</dc:creator><pubDate>Tue, 14 Apr 2009 17:42:27 -0000</pubDate></item><item><title>Re: http://blog.rubybestpractices.com/posts/jamesbritt/2009-04-13-solving-the-problem.rc.html</title><link>http://blog.rubybestpractices.com/posts/jamesbritt/2009-04-13-solving-the-problem.rc.html#comment-8200309</link><description>&lt;p&gt;&amp;gt; If you are wondering why working code was removed, consider that any code you have is something you have to maintain. As bug-free and robust as you may like to think it, no code is easier to maintain than no code.&lt;/p&gt;&lt;p&gt;A valuable lesson - something I really should keep in mind more often. &lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Martin DeMello</dc:creator><pubDate>Tue, 14 Apr 2009 12:56:43 -0000</pubDate></item><item><title>Re: http://blog.rubybestpractices.com/posts/jamesbritt/2009-04-13-solving-the-problem.rc.html</title><link>http://blog.rubybestpractices.com/posts/jamesbritt/2009-04-13-solving-the-problem.rc.html#comment-8199723</link><description>&lt;p&gt;James, I _really_ like this approach. I still haven't recovered my Mephisto install, and I've been looking to move to something akin to Webby or Jekyl. But I haven't found a decent way to get them to generate the tag pages from my entry's metadata and was about to roll my own solution. I love the idea of using a post-commit hook to generate the site. Very clever.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Mike Moore</dc:creator><pubDate>Tue, 14 Apr 2009 12:38:46 -0000</pubDate></item><item><title>Re: http://blog.rubybestpractices.com/posts/jamesbritt/2009-04-13-solving-the-problem.rc.html</title><link>http://blog.rubybestpractices.com/posts/jamesbritt/2009-04-13-solving-the-problem.rc.html#comment-8198769</link><description>&lt;p&gt;Isn't that the logo for the Dharma Initiative in Lost?  That could explain a lot…  ;)&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">James Edward Gray II</dc:creator><pubDate>Tue, 14 Apr 2009 12:07:43 -0000</pubDate></item><item><title>Re: http://blog.rubybestpractices.com/posts/jamesbritt/2009-04-13-solving-the-problem.rc.html</title><link>http://blog.rubybestpractices.com/posts/jamesbritt/2009-04-13-solving-the-problem.rc.html#comment-8136938</link><description>&lt;p&gt;For those interested in where the inspiration for Korma came from: Have a look at git-wiki, specifically the decklin fork:&lt;/p&gt;&lt;p&gt;&lt;a href="http://github.com/decklin/git-wiki" rel="nofollow noopener" target="_blank" title="http://github.com/decklin/git-wiki"&gt;http://github.com/decklin/g...&lt;/a&gt;&lt;/p&gt;&lt;p&gt;So a key part of solving the problem here was looking at how someone else solved a tangentially related problem.   If you're wondering about where the name came from, I was very sick from the previous night's Indian food when I made the first commit on this project.   Romantic, huh?&lt;/p&gt;&lt;p&gt;Thanks James for a great writeup.  It'll be interesting to see if others end up using Korma and hacking it for their own needs.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Gregory Brown</dc:creator><pubDate>Mon, 13 Apr 2009 19:11:33 -0000</pubDate></item></channel></rss>