<?xml version="1.0" encoding="UTF-8"?><!-- generator="WordPress/2.9.1" -->
<rss version="0.92">
<channel>
	<title>Sketchpad - Dan Sketcher's personal blog</title>
	<link>http://www.dansketcher.com</link>
	<description>Dan Sketcher on Rails, computers, and other junk</description>
	<lastBuildDate>Wed, 17 Mar 2010 05:42:15 +0000</lastBuildDate>
	<docs>http://backend.userland.com/rss092</docs>
	<language>en</language>
	
	<item>
		<title>Getting Phusion Passenger to run under SELinux on Centos 5.4</title>
		<description><![CDATA[Edit 2010-03-17: Harder than it first seemed! That permission only allows Apache to load Passenger. See here for the full requirements
I&#8217;ve just started playing with SELinux on Centos, and while the idea is great, it&#8217;s not exactly what I&#8217;m used to. Take for example adding Phusion Passenger to Apache. When I first restarted, I got [...]]]></description>
		<link>http://www.dansketcher.com/2010/02/25/getting-phusion-passenger-to-run-under-selinux-on-centos-5-4/</link>
			</item>
	<item>
		<title>autocomplete sh: </title>
		<description><![CDATA[Not much of a title, I know, but something for fellow stumped google-wanderers..
I&#8217;ve been playing around with deprec for automatically provisioning new servers for my Rails applications. However, I hit a strange problem where certain command-line auto-completions did not work; I&#8217;d get an error message like this:

$ ls
temp

$ cd [hit tab to get autocomplete]
-sh: ]]></description>
		<link>http://www.dansketcher.com/2010/01/15/autocomplete-sh-compgen-d-no-such-file-or-directory/</link>
			</item>
	<item>
		<title>Free year-long SSL Certificate</title>
		<description><![CDATA[Just discovered StartSSL&#8217;s Free SSL Certificate &#8211; 1 year (chained) SSL certificate for free.
I&#8217;m not affiliated in any way &#8211; I just like free stuff.
]]></description>
		<link>http://www.dansketcher.com/2010/01/10/free-year-long-ssl-certificate/</link>
			</item>
	<item>
		<title>Thinking-Sphinx :with =&gt; @geodist returns no results</title>
		<description><![CDATA[Having just recently started using Thinking Sphinx, I&#8217;ve been toying with the geograhical search that it provides to simply do distance-based searches while querying other information. The Geo-searching part of the manual shows how to do searches limiting distance:

# Searching for places within 10km
Place.search "pancakes", :geo => [@lat, @lng],
  :with => {"@geodist" => 0..10_000}
# [...]]]></description>
		<link>http://www.dansketcher.com/2010/01/01/thinking-sphinx-with-geodist-returns-no-results/</link>
			</item>
	<item>
		<title>Rails.cache with Memcache and a File cache for fragments</title>
		<description><![CDATA[One of the things that we do at TouchLocal is provide Search Engine Optimised pages that drive traffic to the site through the UK National Directory pages. As you can imagine, there&#8217;s quite a lot of data intensive processing that is required to generate these pages, and there are an awful lot of them. As [...]]]></description>
		<link>http://www.dansketcher.com/2009/12/07/rails-cache-with-memcache-and-a-file-cache-for-fragments/</link>
			</item>
	<item>
		<title>Integrating Zeus ZXTM Load Balancer and Capistrano for Ruby on Rails websites</title>
		<description><![CDATA[At TouchLocal, one of the difficulties in automating deployment was the tight coupling between the app servers that were currently running and what the Load Balancer said was running. The implication of this is that at deployment time a human had to go into the ZXTM interface and update the list of running nodes before [...]]]></description>
		<link>http://www.dansketcher.com/2009/11/30/integrating-zeus-zxtm-load-balancer-and-capistrano-for-ruby-on-rails-websites/</link>
			</item>
	<item>
		<title>Using DataFabric to replace Masochism</title>
		<description><![CDATA[When we upgraded from Rails 1.x to 2.x, we also had to migrate from Masochism to DataFabric. Unfortunately, the DataFabric way of doing things requires adding a declaration to each of the model classes. For a site like TouchLocal, where there are literally hundreds of model classes, this was a daunting task.
I&#8217;ve just gone through [...]]]></description>
		<link>http://www.dansketcher.com/2009/11/25/using-datafabric-to-replace-masochism/</link>
			</item>
	<item>
		<title>Howto recover lost commits from a git rebase</title>
		<description><![CDATA[Yesterday, I was working on a branch of a branch in a git repository, and I wanted to merge the last branch back to master. Following chapter 3.6 of ProGit, I ran

git rebase --onto master branch1 branch2

Unfortunately for me, I seem to have either done it from the wrong place or done the wrong thing [...]]]></description>
		<link>http://www.dansketcher.com/2009/11/23/howto-recover-lost-commits-from-a-git-rebase/</link>
			</item>
	<item>
		<title>Workling support for Synchronous AMQP RabbitMQ Clients and Amazon SQS Queues</title>
		<description><![CDATA[As a part of contracting work I have been doing for TouchLocal, I have just opensourced some code I wrote to support new Workling clients. As you may know, Workling is a Rails-oriented system for performing asynchronous processing and optionally returning data from these background workers. However, because of the implementation of the original AMQP [...]]]></description>
		<link>http://www.dansketcher.com/2009/11/16/workling-support-for-synchronous-amqp-rabbitmq-clients-and-amazon-sqs-queues/</link>
			</item>
	<item>
		<title>touchlocal-openx gem released</title>
		<description><![CDATA[After the last post, I spent a bit of time integrating my work (along with other upgrades) into a fork of the openx code on github and have released a gem version of it on GemCuttter.org
As you may or may not know, GemCutter.org will be the new default gem source by becoming rubygems.org. This is [...]]]></description>
		<link>http://www.dansketcher.com/2009/11/04/touchlocal-openx-gem-released/</link>
			</item>
</channel>
</rss>

<!-- Dynamic Page Served (once) in 0.211 seconds -->
