<?xml version="1.0" encoding="UTF-8"?><rss version="0.92">
<channel>
	<title>Shep Agile Development LLC</title>
	<link>http://shep-dev.com</link>
	<description>Linux, Web Development, and other geek stuff</description>
	<lastBuildDate>Tue, 03 Aug 2010 22:26:10 +0000</lastBuildDate>
	<docs>http://backend.userland.com/rss092</docs>
	<language>en</language>
	<!-- generator="WordPress/3.0.1" -->

	<item>
		<title>Prototype JS default function arguments</title>
		<description><![CDATA[$H() is just one more reason to use Prototype. Coming from a Ruby background, I&#8217;ve become very fond of using hashes. I often use them in handling optional arguments to methods, and setting default values for those arguments. I was creating a function in JS, and realized using such methodology would allow for a much [...]]]></description>
		<link>http://shep-dev.com/?p=148</link>
			</item>
	<item>
		<title>Handy ActiveRecord Migration Methods</title>
		<description><![CDATA[We are undergoing a massive DB schema redesign. Much of the work is just tightening up the schema through optimizing indexes, setting default boolean and integer fields, and updating NULL allowed fields. Here is a little module I wrote to save massive amounts of code. module MigrationHelper def index_exists?&#40;table, lookup&#41; lookup = Hash&#91;:columns, Array&#40;lookup&#41;&#93; unless [...]]]></description>
		<link>http://shep-dev.com/?p=119</link>
			</item>
	<item>
		<title>Rails ActiveRecord MySql varbinary</title>
		<description><![CDATA[Although ActiveRecord has the following warning about database specific column types: &#8220;You may use a type not in this list as long as it is supported by your database (for example, &#8220;polygon&#8221; in MySQL), but this will not be database agnostic and should usually be avoided. ActiveRecord&#8221; You may have optimizations specific to a database [...]]]></description>
		<link>http://shep-dev.com/?p=115</link>
			</item>
	<item>
		<title>Solr 1.4 Upgrade P2 &#8211; Out with Rsync CollectionDistribution in with JavaReplication</title>
		<description><![CDATA[Solr 1.4 made replication from Master to Slave servers a whole lot easier.  Before solr1.4 we were using rsync via the snapshooter and snappuller scripts As seen here.  This method worked OK, but intermittently we would see the snapshooter or puller fail for various Java reasons (Memory usually). Please see Solr Java-Based Replication for setup [...]]]></description>
		<link>http://shep-dev.com/?p=108</link>
			</item>
	<item>
		<title>Solr 1.4 Upgrade &#8211; Out with Faceting, In with MultiCore</title>
		<description><![CDATA[I finally found some time, though it was a bit forced, to look into the new CoreAdmin functionality released in Solr 1.4.  Our app was using the same index for multiple apps distinguished through Faceting.  This worked fine for a while, but the larger our indexed data got, the slower the queries were returned.  The [...]]]></description>
		<link>http://shep-dev.com/?p=86</link>
			</item>
	<item>
		<title>iPhone 3g 3.1.2 jailbreak update PwnageTool</title>
		<description><![CDATA[I updated my jailbroken iPhone to 3.1 when it first came out and had some major issues that required almost a daily hard reboot.  I successfully downgraded it to 3.0.1, but still had some baseband issues with the service (phone and sms) not working.  I was very excited to see the iPhone Dev Team came [...]]]></description>
		<link>http://shep-dev.com/?p=83</link>
			</item>
	<item>
		<title>Aggregation with MySQL and ActiveRecord</title>
		<description><![CDATA[I had some data that I wanted to aggregate by year for a flash graphing app called amCharts. Here was the SQL query I used to gather the data: SELECT AVG&#40;column1&#41; AS column1, AVG&#40;column2&#41; AS column2 FROM table1 t1 JOIN table2 t2 ON t2.id = t1.tabel2_id GROUP BY YEAR&#40;t2.datetime_field&#41; Rather than using this sql in [...]]]></description>
		<link>http://shep-dev.com/?p=81</link>
			</item>
	<item>
		<title>RJS redirect_to params contain &amp;</title>
		<description><![CDATA[I came across this today when I added a parameter to a RJS page.redirect_to call.  It appears that prototype or rails is not properly handling the parameters when there are more than 2.  I got around it by using a defined route in the routes.rb that looks like this: map.route_name 'controller_name/action_name/:foo_id', :controller =&#62; 'controller_name', :action [...]]]></description>
		<link>http://shep-dev.com/?p=79</link>
			</item>
	<item>
		<title>Jailbroken iPhone 3g 3.0 firmware</title>
		<description><![CDATA[Thanks to the iPhone Dev-Team for releasing the Pwnage Tool 3.0, I was able to upgrade to the jailbroken 3.0 firmware. The install process went very smoothly. I followed a similar procedure to what they demo&#8217;d on their youtube video. Some of my favorite jailbroken apps don&#8217;t work with the new firmware. Here are my [...]]]></description>
		<link>http://shep-dev.com/?p=72</link>
			</item>
	<item>
		<title>Ruby on Rails background process: MySQL server has gone away</title>
		<description><![CDATA[Using workling and starling to handle background tasks is very nice. Check out this link for info on setting it up.  However, I encountered the error: &#8220;Mysql::Error: MySQL server has gone away&#8221; when accessing an external DB tables like users and roles.  I found that someone recommended using verify_active_connections!, however the table the connection error [...]]]></description>
		<link>http://shep-dev.com/?p=67</link>
			</item>
</channel>
</rss>
