<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Baroquebobcat &#187; Uncategorized</title>
	<atom:link href="http://blog.baroquebobcat.com/category/uncategorized/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.baroquebobcat.com</link>
	<description>Ruby, Computer Science, Japan and Stuff</description>
	<lastBuildDate>Thu, 19 Jan 2012 02:05:47 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>American Censorship Day</title>
		<link>http://blog.baroquebobcat.com/2011/11/15/american-censorship-day/</link>
		<comments>http://blog.baroquebobcat.com/2011/11/15/american-censorship-day/#comments</comments>
		<pubDate>Wed, 16 Nov 2011 06:59:34 +0000</pubDate>
		<dc:creator>nick</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://blog.baroquebobcat.com/?p=713</guid>
		<description><![CDATA[SOPA is getting hearings today (Nov 16th). So I added the censorship banner for the day. http://americancensorship.org/]]></description>
			<content:encoded><![CDATA[<p>SOPA is getting hearings today (Nov 16th). So I added the censorship banner for the day.</p>
<p><a href="http://americancensorship.org/">http://americancensorship.org/</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.baroquebobcat.com/2011/11/15/american-censorship-day/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Mirah Talk at Boulder Ruby Group</title>
		<link>http://blog.baroquebobcat.com/2011/05/18/mirah-talk-at-boulder-ruby-group/</link>
		<comments>http://blog.baroquebobcat.com/2011/05/18/mirah-talk-at-boulder-ruby-group/#comments</comments>
		<pubDate>Thu, 19 May 2011 04:03:54 +0000</pubDate>
		<dc:creator>nick</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://blog.baroquebobcat.com/?p=551</guid>
		<description><![CDATA[Tonight I spoke about Mirah at Boulder Ruby Group. It went well and people had a lot of good questions for me. I found answering questions about Mirah to be really fun, especially now that I&#8217;m starting to get a better handle on the language and tool chain. Here&#8217;s my slides. Mirah Talk for Boulder [...]]]></description>
			<content:encoded><![CDATA[<p>Tonight I spoke about Mirah at Boulder Ruby Group. It went well and people had a lot of good questions for me. I found answering questions about Mirah to be really fun, especially now that I&#8217;m starting to get a better handle on the language and tool chain.</p>
<p>Here&#8217;s my slides.</p>
<div id="__ss_8020701" style="width: 425px;">
<p><strong style="display: block; margin: 12px 0 4px;"><a title="Mirah Talk for Boulder Ruby Group" href="http://www.slideshare.net/baroquebobcat/mirah-talk-for-boulder-ruby-group">Mirah Talk for Boulder Ruby Group</a></strong><object id="__sse8020701" width="425" height="355"><param name="movie" value="http://static.slidesharecdn.com/swf/ssplayer2.swf?doc=brgmirah-110518224956-phpapp02&amp;stripped_title=mirah-talk-for-boulder-ruby-group&amp;userName=baroquebobcat" /><param name="allowFullScreen" value="true" /><param name="allowScriptAccess" value="always" /><embed type="application/x-shockwave-flash" width="425" height="355" src="http://static.slidesharecdn.com/swf/ssplayer2.swf?doc=brgmirah-110518224956-phpapp02&amp;stripped_title=mirah-talk-for-boulder-ruby-group&amp;userName=baroquebobcat" name="__sse8020701" allowscriptaccess="always" allowfullscreen="true"></embed></object></p>
<div style="padding: 5px 0 12px;">View more <a href="http://www.slideshare.net/">presentations</a> from <a href="http://www.slideshare.net/baroquebobcat">baroquebobcat</a>.</div>
</div>
<p><script src="http://b.scorecardresearch.com/beacon.js?c1=7&amp;c2=7400849&amp;c3=1&amp;c4=&amp;c5=&amp;c6="></script></p>
<p><strong>Links</strong></p>
<ul>
<li><a href="http://mirah.org">mirah.org</a></li>
<li><a href="http://github.com/mirah">github.com/mirah</a></li>
<li><a href="http://github.com/baroquebobcat/shatner">github.com/baroquebobcat/shatner</a> &#8211; my aspirational sinatra clone</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://blog.baroquebobcat.com/2011/05/18/mirah-talk-at-boulder-ruby-group/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Rails BugMash This Saturday</title>
		<link>http://blog.baroquebobcat.com/2011/05/06/rails-bugmash-this-saturday/</link>
		<comments>http://blog.baroquebobcat.com/2011/05/06/rails-bugmash-this-saturday/#comments</comments>
		<pubDate>Sat, 07 May 2011 01:43:35 +0000</pubDate>
		<dc:creator>nick</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://blog.baroquebobcat.com/?p=533</guid>
		<description><![CDATA[@_prakash and I are hosting a Rails BugMash at Gnip&#8217;s offices from 11-5. Hopefully it will be a lot of fun and we&#8217;ll mash some bugs. Squash them even. More seriously, it&#8217;s a good way to get involved with open source by getting together with a group of friendly people who know something about contributing [...]]]></description>
			<content:encoded><![CDATA[<p>@_prakash and I are hosting a Rails BugMash at Gnip&#8217;s offices from 11-5. Hopefully it will be a lot of fun and we&#8217;ll mash some bugs. Squash them even. More seriously, it&#8217;s a good way to get involved with open source by getting together with a group of friendly people who know something about contributing or are interesting learning about it.</p>
<p>It&#8217;s registered on plancast at <a href="http://plancast.com/p/4yvw">http://plancast.com/p/4yvw</a></p>
<p>You can read more about how bug mashes have been done in the past at <a href="http://wiki.railsbridge.org/projects/1/wiki/BugMash">RailsBridge&#8217;s Wiki page on them</a>. Rails&#8217; own <a href="http://edgeguides.rubyonrails.org/contributing_to_ruby_on_rails.html">contrib guide</a> is also a fairly good resource for getting started.</p>
<p>Zounds!</p>
<p>See everybody tomorrow.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.baroquebobcat.com/2011/05/06/rails-bugmash-this-saturday/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Mountain West Ruby Conf</title>
		<link>http://blog.baroquebobcat.com/2011/03/22/mountain-west-ruby-conf/</link>
		<comments>http://blog.baroquebobcat.com/2011/03/22/mountain-west-ruby-conf/#comments</comments>
		<pubDate>Tue, 22 Mar 2011 05:14:58 +0000</pubDate>
		<dc:creator>nick</dc:creator>
				<category><![CDATA[geekery]]></category>
		<category><![CDATA[ruby]]></category>
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://blog.baroquebobcat.com/?p=536</guid>
		<description><![CDATA[Mountain West Ruby Conf last week rocked. It was well organized as always&#8211;props to Mike Moore(@blowmage) for putting it together and Confreaks for recording it and all the other people who made it the awesome conf that I like coming to every year(e.g. Jeremy Nicoll-Smashing Photographer). CHE-UP my friends. More seriously, Zed&#8217;s talk made me [...]]]></description>
			<content:encoded><![CDATA[<p><a title="Badge &amp; Breakfast by baroquebobcat, on Flickr" href="http://www.flickr.com/photos/baroquebobcat/5549205906/"><img src="http://farm6.static.flickr.com/5093/5549205906_28d4b0f37a.jpg" alt="Badge &amp; Breakfast" width="500" height="281" /></a></p>
<p><a href="http://mtnwestrubyconf.org/2011/">Mountain West Ruby Conf</a> last week rocked. It was well organized as always&#8211;props to Mike Moore(<a href="http://twitter.com/blowmage">@blowmage</a>) for putting it together and <a href="http://confreaks.net/">Confreaks</a> for recording it and all the other people who made it the awesome conf that I like coming to every year(e.g. Jeremy Nicoll-Smashing Photographer).</p>
<h3>CHE-UP my friends.</h3>
<p>More seriously, Zed&#8217;s talk made me think more carefully about my open source contributions in terms of who benefits from my work. Am I just a sucker for working on stuff like Dubious or am I just doing it because I find it interesting and engaging. I think he crafted a really good talk and a good meme(CHE-UP) and made a good point about being aware of the motivations behind projects you contribute to. Now I just need to find some suckers/contributors to help me with my plans for world domination <img src='http://blog.baroquebobcat.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> .</p>
<h3>Mind Monkey Patching</h3>
<p>David Brady&#8217;s talk about head hacking reminded me that I need to finish Pragmatic Thinking &amp; Learning, a good book I&#8217;ve been reading off and on for more than 6 months now. I need to try using that crazy cat picture (the one with too many eyes) to trigger hardware interrupts at interesting times. Might be fun.</p>
<h3>&#8220;Web&#8221; Development</h3>
<p>Wayne Seguin&#8217;s talk was very topical as MWRC is my favorite conference to meet new and interesting Rubyists. I feel like I did some definite &#8220;web&#8221; development while I was there. I met new people and spent more time getting to know better some of the people in the community I&#8217;d met at other conferences.</p>
<p>I came away from the talk feeling inspired to do more looking at teaching and mentoring, something I looked at a little at RubyConf.</p>
<h3>Concurrency</h3>
<p>Concurrency was a big theme at the conference with Ilya Grigorick talking about more advanced concurrency models, and Preston Lee presenting about using the GPU and CUDA to solve embarrassingly parallel problems.</p>
<p>Ilya talked about the Actor model, which Erlang uses as well as Pi-Calculus/CSP which is what Go uses. Both deal with concurrency by providing constraints on what you can do within them. Interestingly, their constraints are very similar, but have different abstractions with regard to what is named.</p>
<p>In the Actor model,</p>
<ol>
<li>Name every process</li>
<li>Every process has a mailbox</li>
<li>Communicate via messages</li>
</ol>
<p>In the CSP,</p>
<ol>
<li>Processes are anonymous</li>
<li>Every channel has a name</li>
<li>Processes communicate over channels</li>
</ol>
<p>He wrote a gem that acts like CSP called <a href="https://rubygems.org/gems/agent">agent</a></p>
<p>&nbsp;</p>
<h3>5K</h3>
<p>I ran in the 5k. I slept through it last year and decided that I had to do it this year. There were 13 of us. It was very dramatic.</p>
<div id="attachment_541" class="wp-caption aligncenter" style="width: 510px"><a href="https://smashingshots.com/image_albums/38-mountain-west-ruby-conference/images/2870/slideshow"><img class="size-full wp-image-541  " title="Rounding the last corner" src="http://blog.baroquebobcat.com/wp-content/uploads/2011/03/hands_in_the_air_mwrc_5k_20111-e1300770043369.jpg" alt="Rounding the last corner" width="500" height="749" /></a><p class="wp-caption-text">Rounding the last corner (pic by smashingshots.com)</p></div>
<p>I think I was last.</p>
<h3>Mirah &amp; Dubious</h3>
<p><a href="http://mirah.org">Mirah</a> and <a href="http://github.com/mirah/dubious">Dubious</a> were represented. I did a lightning talk on Dubious Thursday and Joe O&#8217;Brien showed off what is going on with <a href="http://github.com/mirah/pindah">Pindah</a> as part of his <a href="http://mtnwestrubyconf.org/2011/sessions#objo">Ruby on Android talk</a>. I got to introduce a few people to Mirah and Dubious which was pretty cool. It seems like people are getting more interested in Mirah and projects written in it, which I think is pretty awesome.</p>
<h3>Some other thoughts</h3>
<p>Redis is a pretty cool project that I&#8217;d like to look at more than I have.</p>
<p>Wood cuts make for nifty slides.</p>
<p>Figs are killer.</p>
<p>&nbsp;</p>
<p>Thanks again everybody for a great conference.</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.baroquebobcat.com/2011/03/22/mountain-west-ruby-conf/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Cupping It Up at The Cup</title>
		<link>http://blog.baroquebobcat.com/2010/11/22/cupping-it-up-at-the-cup/</link>
		<comments>http://blog.baroquebobcat.com/2010/11/22/cupping-it-up-at-the-cup/#comments</comments>
		<pubDate>Mon, 22 Nov 2010 18:10:49 +0000</pubDate>
		<dc:creator>nick</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://blog.baroquebobcat.com/?p=505</guid>
		<description><![CDATA[I brought my cup to The Cup, so I could drink my cup of latte from The Cup in my own cup that I got from the Museum of Science and Industry. It&#8217;s got the periodic table on it. I fancy it looks quite spiffy.]]></description>
			<content:encoded><![CDATA[<p>I brought my cup to The Cup, so I could drink my cup of latte from <a href="http://www.thecupboulder.com/">The<br />
Cup</a> in my own cup that I got from the <a href="http://www.msichicago.org/">Museum of Science and<br />
Industry</a>. It&#8217;s got the periodic table on it. I fancy it looks quite spiffy.</p>
<p><a title="2010-10-29_14-38-23_921 by baroquebobcat, on Flickr" href="http://www.flickr.com/photos/baroquebobcat/5165247767/"><img src="http://farm2.static.flickr.com/1400/5165247767_5bebe9c369.jpg" alt="2010-10-29_14-38-23_921" width="281" height="500" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.baroquebobcat.com/2010/11/22/cupping-it-up-at-the-cup/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Food of the Last Few Weeks</title>
		<link>http://blog.baroquebobcat.com/2010/11/21/food-of-the-last-few-weeks/</link>
		<comments>http://blog.baroquebobcat.com/2010/11/21/food-of-the-last-few-weeks/#comments</comments>
		<pubDate>Sun, 21 Nov 2010 18:52:55 +0000</pubDate>
		<dc:creator>nick</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://blog.baroquebobcat.com/?p=503</guid>
		<description><![CDATA[Cook&#8217;s Illustrated, who I have a love-hate relationship with, has a seriously awesome cookie recipe. Just look at these suckers. Sara made these a while back and they turned out so good, we had to make a second batch. I took it to work. Sorry, I don&#8217;t have any pics of the bounty there&#8211;the morsels [...]]]></description>
			<content:encoded><![CDATA[<p>Cook&#8217;s Illustrated, who I have a love-hate relationship with, has a<br />
seriously awesome cookie recipe. Just look at these suckers.</p>
<p><a title="Cookies In Rows by baroquebobcat, on Flickr" href="http://www.flickr.com/photos/baroquebobcat/5193928204/"><img src="http://farm5.static.flickr.com/4128/5193928204_b027b809e9.jpg" alt="Cookies In Rows" width="500" height="281" /></a></p>
<p>Sara made these a while back and they turned out so good, we had to<br />
make a second batch. I took it to work. Sorry, I don&#8217;t have any pics<br />
of the bounty there&#8211;the morsels were eaten too quickly. Here&#8217;s the<br />
best I can do:</p>
<p><a title="Cookies, Eaten by baroquebobcat, on Flickr" href="http://www.flickr.com/photos/baroquebobcat/5193907848/"><img src="http://farm5.static.flickr.com/4129/5193907848_e1e5b7bece.jpg" alt="Cookies, Eaten" width="500" height="281" /></a></p>
<p>I roasted some venison, which turned out a bit bloody and was too gamey<br />
for Sara. But me and the dog liked it a lot. I really like roasting<br />
things; I&#8217;m a little obsessive about it(ask anybody whose had <a href="http://www.flickr.com/photos/baroquebobcat/5010117221/in/set-72157625001117978/">my chicken</a>). And, my favorite roasting<br />
author is <a href="http://www.bkafka.com/">Barbara Kafka</a>. If you stick large hunks of meat into ovens<br />
from time to time, you should really check out her philosophy. I&#8217;m a<br />
convert.</p>
<p><a title="DSC06172 by baroquebobcat, on Flickr" href="http://www.flickr.com/photos/baroquebobcat/5124723764/"><img src="http://farm5.static.flickr.com/4088/5124723764_7ac592a3a5.jpg" alt="DSC06172" width="500" height="375" /></a></p>
<p>Also, I did some stir fry from frozen veggies + bacon, because bacon makes everything better. Sara cooked some <a href="http://en.wikipedia.org/wiki/Jiaozi#Japanese_version">gyoza</a> to go along with it. It was really easy.</p>
<p><a href="http://www.flickr.com/photos/baroquebobcat/5193951826/" title="DSC06211 by baroquebobcat, on Flickr"><img src="http://farm5.static.flickr.com/4087/5193951826_20fe7f9266.jpg" width="500" height="375" alt="DSC06211" /></a></p>
<p>The next morning I made fried rice with the leftover rice, I think it turned out rather well. And, the smily face out of sriracha hot sauce, gives it that extra oomph.</p>
<p><a href="http://www.flickr.com/photos/baroquebobcat/5193353989/" title="Happy Fried Rice by baroquebobcat, on Flickr"><img src="http://farm5.static.flickr.com/4104/5193353989_7cb575193d.jpg" width="500" height="375" alt="Happy Fried Rice" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.baroquebobcat.com/2010/11/21/food-of-the-last-few-weeks/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>R2 Droid 2 Unboxing</title>
		<link>http://blog.baroquebobcat.com/2010/10/19/r2-droid-2-unboxing/</link>
		<comments>http://blog.baroquebobcat.com/2010/10/19/r2-droid-2-unboxing/#comments</comments>
		<pubDate>Tue, 19 Oct 2010 13:57:54 +0000</pubDate>
		<dc:creator>nick</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://blog.baroquebobcat.com/?p=481</guid>
		<description><![CDATA[I got a new phone a couple weeks ago. w00t. Behold the unboxing photos!]]></description>
			<content:encoded><![CDATA[<p>I got a new phone a couple weeks ago. w00t. Behold the unboxing photos!</p>
<p><a href="http://www.flickr.com/photos/baroquebobcat/5083406783/" title="The Box by baroquebobcat, on Flickr"><img src="http://farm5.static.flickr.com/4109/5083406783_57c16e5e5e.jpg" width="500" height="375" alt="The Box" /></a></p>
<p><a href="http://www.flickr.com/photos/baroquebobcat/5083407063/" title="Opening the box by baroquebobcat, on Flickr"><img src="http://farm5.static.flickr.com/4083/5083407063_88650f7cd6.jpg" width="500" height="375" alt="Opening the box" /></a></p>
<p><a href="http://www.flickr.com/photos/baroquebobcat/5084001966/" title="Look At All The Wonderful Accessories by baroquebobcat, on Flickr"><img src="http://farm5.static.flickr.com/4088/5084001966_38fbe42158.jpg" width="500" height="375" alt="Look At All The Wonderful Accessories" /></a></p>
<p><a href="http://www.flickr.com/photos/baroquebobcat/5083407543/" title="Behold the R2D2esque Back by baroquebobcat, on Flickr"><img src="http://farm5.static.flickr.com/4131/5083407543_86b8f8066f.jpg" width="500" height="375" alt="Behold the R2D2esque Back" /></a></p>
<p><a href="http://www.flickr.com/photos/baroquebobcat/5084002510/" title="It Even Comes With a Dock by baroquebobcat, on Flickr"><img src="http://farm5.static.flickr.com/4127/5084002510_92dac8696e.jpg" width="500" height="375" alt="It Even Comes With a Dock" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.baroquebobcat.com/2010/10/19/r2-droid-2-unboxing/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Right Scale API gem</title>
		<link>http://blog.baroquebobcat.com/2010/10/10/right-scale-api-gem/</link>
		<comments>http://blog.baroquebobcat.com/2010/10/10/right-scale-api-gem/#comments</comments>
		<pubDate>Sun, 10 Oct 2010 23:55:58 +0000</pubDate>
		<dc:creator>nick</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://blog.baroquebobcat.com/?p=439</guid>
		<description><![CDATA[I was frustrated with the client libraries available for the RightScale API, so I wrote my own. It&#8217;s reasonably complete, but doesn&#8217;t currently have tests. Mostly it arose out of a need to automate things and my desire to make something pretty clean. I didn&#8217;t like the API&#8217;s of the existing libraries much, so I wrote [...]]]></description>
			<content:encoded><![CDATA[<p>I was frustrated with the client libraries available for the RightScale API, so I wrote my own. It&#8217;s reasonably complete, but doesn&#8217;t currently have tests.</p>
<p>Mostly it arose out of a need to automate things and my desire to make something pretty clean.</p>
<p>I didn&#8217;t like the API&#8217;s of the existing libraries much, so I wrote my own.</p>
<p>It is fairly bare bones at this point, but I have been using it for a few months and it works for me.</p>
<p>Check it out:</p>
<p><a href="http://github.com/baroquebobcat/right-scale-api">github.com/baroquebobcat/right-scale-api</a></p>
<p><strong>Further reading/References(Others&#8217; Right Scale API gems &amp; libraries):</strong></p>
<p><a href="http://github.com/robertcarr/RightAPI">github.com/robertcarr/RightAPI</a> &#8212; not a gem yet</p>
<p><a href="http://github.com/moneypools/right_api">github.com/moneypools/right_api</a> &#8212; little in the way of docs, feels pretty raw</p>
<p><a href="http://github.com/joshuabates/rightscaler ">github.com/joshuabates/rightscaler </a>&#8211; pretty neat, activeresource based, have not tested though</p>
<p><a href="http://github.com/dmichael/rightscale-api">github.com/dmichael/rightscale-api</a> &#8212; uses httparty, missing most of the objects available</p>
<p><a href="http://github.com/ktheory/rightscale_api_wrapper">github.com/ktheory/rightscale_api_wrapper</a> &#8212; not gemified, not great</p>
<p><a href="http://github.com/stewartmckee/Rightscale-API-Gem">github.com/stewartmckee/Rightscale-API-Gem</a> &#8212; fuller implementation, but since it doesn&#8217;t use httparty, restclient, or activeresource, the source is really verbose</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.baroquebobcat.com/2010/10/10/right-scale-api-gem/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Mountain.rb</title>
		<link>http://blog.baroquebobcat.com/2010/10/07/mountain-rb/</link>
		<comments>http://blog.baroquebobcat.com/2010/10/07/mountain-rb/#comments</comments>
		<pubDate>Thu, 07 Oct 2010 14:23:21 +0000</pubDate>
		<dc:creator>nick</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://blog.baroquebobcat.com/?p=462</guid>
		<description><![CDATA[Today and tomorrow I&#8217;m going to be hanging out at the mountain.rb conference. First up today is Jim Weirich doing a talk called To Infinity and Beyond. It should be fairly epic. In other news I got a smart phone finally. It&#8217;s R2D2.]]></description>
			<content:encoded><![CDATA[<p>Today and tomorrow I&#8217;m going to be hanging out at the <a href="http://mountainrb.com/">mountain.rb conference</a>.</p>
<p>First up today is Jim Weirich doing a talk called<a href="http://mountainrb.com/sessions#jim"> To Infinity and Beyond</a>. It should be fairly epic.</p>
<p>In other news I got a smart phone finally. It&#8217;s <a href="http://www.engadget.com/2010/09/24/droid-2-r2-d2-edition-launch-kit-makes-emergency-landing/">R2D2</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.baroquebobcat.com/2010/10/07/mountain-rb/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>A New Gem For People Who Can&#8217;t Use HTTP Methods Other Than POST</title>
		<link>http://blog.baroquebobcat.com/2010/09/28/a-new-gem-for-people-who-cant-use-http-methods-other-than-post/</link>
		<comments>http://blog.baroquebobcat.com/2010/09/28/a-new-gem-for-people-who-cant-use-http-methods-other-than-post/#comments</comments>
		<pubDate>Wed, 29 Sep 2010 04:05:45 +0000</pubDate>
		<dc:creator>nick</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://blog.baroquebobcat.com/?p=452</guid>
		<description><![CDATA[Itch: I needed to be able to look at query params in the URL for the _method parameter Rails uses to fake different types of POST-like requests. Rails currently doesn&#8217;t do this for you as it uses Rack::MethodOverride, and that doesn&#8217;t look at GET parameters. It only looks at the X-Http-Method-Override header and POST form [...]]]></description>
			<content:encoded><![CDATA[<h4>Itch:</h4>
<p>I needed to be able to look at query params in the URL for the _method parameter Rails uses to fake different types of POST-like requests. Rails currently doesn&#8217;t do this for you as it uses Rack::MethodOverride, and that doesn&#8217;t look at GET parameters. It only looks at the X-Http-Method-Override header and POST form params. Some Rails users filed a ticket awhile ago about it, and it is an ongoing concern(see <a href="https://rails.lighthouseapp.com/projects/8994/tickets/2289-_methodput-ignored-for-xhr-and-xml-requests">#2289</a>).</p>
<h4>Scratch:</h4>
<p>Being a go getter, active, knows his way around a gemspec sort of person, I whipped up a library so if you run into this problem, you can fix it easily. Rack::MethodOverrideWithParams is the result. It is a drop-in replacement for Rack::MethodOverride, so all you have to do is replace Rack::MethodOverride in your stack with it and you&#8217;ll be rocking query param method overriding goodness.</p>
<p>&#8220;How easily&#8221;, you might ask. Let me show you. It&#8217;s just a couple of code additions:<br />
<strong>Gemfile</strong><br />
<code>gem "rack-methodoverride-with-params", "~&gt; 1"</code><br />
<strong>config/environment.rb</strong><br />
<code>config.middleware.swap Rack::MethodOverride, Rack::MethodOverrideWithParams</code></p>
<p>Done.</p>
<p>What do you think?</p>
<h4>Links</h4>
<p><a href="http://github.com/baroquebobcat/rack-methodoverride-with-params">github.com/baroquebobcat/rack-methodoverride-with-params</a></p>
<p><a href="http://rubygems.org/gems/rack-methodoverride-with-params">rubygems.org/gems/rack-methodoverride-with-params</a></p>
<p><a href="https://rails.lighthouseapp.com/projects/8994/tickets/2289-_methodput-ignored-for-xhr-and-xml-requests">Rails ticket #2289</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.baroquebobcat.com/2010/09/28/a-new-gem-for-people-who-cant-use-http-methods-other-than-post/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

