<?xml version="1.0" encoding="UTF-8"?><!-- generator="WordPress/2.9.2" -->
<rss version="0.92">
<channel>
	<title>Sean's Obsessions</title>
	<link>http://ertw.com/blog</link>
	<description>Just another WordPress weblog</description>
	<lastBuildDate>Thu, 15 Jul 2010 12:57:25 +0000</lastBuildDate>
	<docs>http://backend.userland.com/rss092</docs>
	<language>en</language>
	
	<item>
		<title>Load testing a Rails app with JMeter and the authenticity_token</title>
		<description><![CDATA[I have been slowly learning how to use JMeter to load test the Small Payroll application. One of the problems has been getting around the CSRF protection that Rails puts in with the authenticity_token parameter.
Each form has a hidden form element:
&#60;div style="margin:0;padding:0;display:inline">
&#60;input name="authenticity_token" type="hidden"
value="16iUP1J2tdSKyvHKgYR/I/og6K7NgPPmTHCZ+idQP4k=" />
&#60;/div>
The token is also encrypted in the session so that the [...]<p>a</p>
]]></description>
		<link>http://ertw.com/blog/2010/06/29/load-testing-a-rails-app-and-the-authenticity_token/</link>
			</item>
	<item>
		<title>Piping with the find command and dealing with spaces</title>
		<description><![CDATA[I often use the find command as such:
grep foo `find . -name \*.php`
which looks for foo in all the PHP files. If the list of files gets too long for the shell, then xargs is the better option:
find . -name \*.php &#124; xargs grep foo /dev/null
This breaks up the command into manageable chunks. The /dev/null [...]<p>a</p>
]]></description>
		<link>http://ertw.com/blog/2010/04/07/piping-with-the-find-command-and-dealing-with-spaces/</link>
			</item>
	<item>
		<title>Command line geolocation</title>
		<description><![CDATA[A comment in a Slashdot article lead me to iploc.org, specifically Country names zone which lets you get the country for a given IP address over DNS.
I wrapped it in a bash function&#8230; throw this at the end of your .bashrc:
geo() { dig +short TXT `echo $1 &#124; \
 awk -F. '{print $4"."$3"."$2"."$1".cc.iploc.org"}'`;}
and you can [...]<p>a</p>
]]></description>
		<link>http://ertw.com/blog/2010/01/25/command-line-geolocation/</link>
			</item>
	<item>
		<title>A shameless plug for SaaS</title>
		<description><![CDATA[In 2008 and 2009, my wife and I hired a nanny a few days a week to take care of our three children. Nothing exciting there. Part of hiring a nanny is that you have to deduct and remit taxes, CPP, and EI. All easy stuff; I&#8217;ve taken a payroll course before and the calculators [...]<p>a</p>
]]></description>
		<link>http://ertw.com/blog/2009/12/07/a-shameless-plug-for-saas/</link>
			</item>
	<item>
		<title>Top 1 best database management tool &#8211; and how to use it</title>
		<description><![CDATA[I&#8217;m noticing that more and more of the items that pop up in my feed reader are of the &#8220;Top N&#8221; variety. Some are decent, where the author breaks the topic down into subgroups and then shows one or two tools for each purpose. However some of them are just silly, such as the &#8220;top [...]<p>a</p>
]]></description>
		<link>http://ertw.com/blog/2009/11/15/top-1-best-database-management-tool-and-how-to-use-it/</link>
			</item>
	<item>
		<title>Moving from github to gemcutter for your rails app&#8217;s gems</title>
		<description><![CDATA[Much hoopla has been made over Github stopping their gem building service, and for people to use Gemcutter.
All the stuff I&#8217;ve read has been that gemcutter is much better for publishing Gems, and that it&#8217;s easier to find the canonical gem (instead of deciding whether fred-mygem is better than barney-mygem)
Fair enough, but what about slobs [...]<p>a</p>
]]></description>
		<link>http://ertw.com/blog/2009/10/21/moving-from-github-to-gemcutter/</link>
			</item>
	<item>
		<title>Shoulda, nested contexts, and should_change_by</title>
		<description><![CDATA[I love some of shoulda&#8217;s macros, partially because it forces me to think about my tests and put them in setup blocks, which ends up making things cleaner.
So I ran into a case where I do an action and use should_change to make sure that a certain number of rows were added to a table, [...]<p>a</p>
]]></description>
		<link>http://ertw.com/blog/2009/09/03/shoulda-nested-contexts-and-should_change_by/</link>
			</item>
	<item>
		<title>svn merge</title>
		<description><![CDATA[(this is one of those &#8220;so I remember it&#8221; posts that might help others)
Edit: See below for a more accurate way to merge the trunk back into HEAD
I&#8217;ve got some code that I&#8217;m storing in SVN. In traditional SVN form, I&#8217;ve got my repo set up as
/trunk
/branches 
So my work is done out of trunk, [...]<p>a</p>
]]></description>
		<link>http://ertw.com/blog/2009/08/27/svn-merge/</link>
			</item>
	<item>
		<title>Automatic uploading of subid stats for Tracking 202</title>
		<description><![CDATA[Tracking202 is a great piece of web tracking software. The thing that annoys me though is that I have to upload subid stats (&#8220;Optional Info&#8221;) to load in the conversions, unless I use the postback or tracking pixel method (which I don&#8217;t always have the option to do, and I&#8217;m not a high volume guy [...]<p>a</p>
]]></description>
		<link>http://ertw.com/blog/2009/02/23/automatic-uploading-of-subid-stats-for-tracking-202/</link>
			</item>
	<item>
		<title>How many Mongrels or FastCGI processes do I need?</title>
		<description><![CDATA[I&#8217;m sitting in a course on call centre design, and yesterday there was mention of Erlangs, which are a unit of measure of the volume of traffic on a telecommunications network.  These Erlangs can be used to calculate how many agents a call centre needs (or, given the number of agents, what service level [...]<p>a</p>
]]></description>
		<link>http://ertw.com/blog/2008/11/19/how-many-mongrels-or-fastcgi-processes-do-i-need/</link>
			</item>
</channel>
</rss>
