<?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>Ramblings &#187; gotchas</title>
	<atom:link href="http://matthewkwilliams.com/index.php/tag/gotchas/feed/" rel="self" type="application/rss+xml" />
	<link>http://matthewkwilliams.com</link>
	<description>Musings of Matt Williams</description>
	<lastBuildDate>Thu, 04 Nov 2010 18:05:30 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2</generator>
		<item>
		<title>JBoss port confusion</title>
		<link>http://matthewkwilliams.com/index.php/2009/07/29/jboss-port-confusion/</link>
		<comments>http://matthewkwilliams.com/index.php/2009/07/29/jboss-port-confusion/#comments</comments>
		<pubDate>Wed, 29 Jul 2009 14:16:30 +0000</pubDate>
		<dc:creator>Matt Williams</dc:creator>
				<category><![CDATA[gotchas]]></category>
		<category><![CDATA[jboss]]></category>
		<category><![CDATA[dns]]></category>
		<category><![CDATA[Java]]></category>

		<guid isPermaLink="false">http://matthewkwilliams.com/?p=233</guid>
		<description><![CDATA[Sometimes, JBoss reports that it is unable to bind to a port, saying it is already in use.  However, this is not always the case.]]></description>
		<wfw:commentRss>http://matthewkwilliams.com/index.php/2009/07/29/jboss-port-confusion/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>YUI Datasources</title>
		<link>http://matthewkwilliams.com/index.php/2008/11/11/yui-datasources/</link>
		<comments>http://matthewkwilliams.com/index.php/2008/11/11/yui-datasources/#comments</comments>
		<pubDate>Tue, 11 Nov 2008 18:13:56 +0000</pubDate>
		<dc:creator>Matt Williams</dc:creator>
				<category><![CDATA[gotchas]]></category>
		<category><![CDATA[yui]]></category>

		<guid isPermaLink="false">http://matthewkwilliams.com/?p=188</guid>
		<description><![CDATA[Been a while since I&#8217;ve written.  I&#8217;ve been sick and working on a side project.  That said, I&#8217;ll be writing more&#8230;&#8230; Today&#8217;s note/reminder is a gotcha about YUI datasources.  If you have JSON feeding the datasource and you&#8217;re getting back more fields in the results than you&#8217;re expecting, the datasource will not behave properly.  For [...]]]></description>
		<wfw:commentRss>http://matthewkwilliams.com/index.php/2008/11/11/yui-datasources/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>JBoss run.sh may be harmful</title>
		<link>http://matthewkwilliams.com/index.php/2008/09/25/jboss-runsh-may-be-harmful/</link>
		<comments>http://matthewkwilliams.com/index.php/2008/09/25/jboss-runsh-may-be-harmful/#comments</comments>
		<pubDate>Thu, 25 Sep 2008 19:39:38 +0000</pubDate>
		<dc:creator>Matt Williams</dc:creator>
				<category><![CDATA[gotchas]]></category>
		<category><![CDATA[jboss]]></category>
		<category><![CDATA[shell]]></category>

		<guid isPermaLink="false">http://matthewkwilliams.com/?p=175</guid>
		<description><![CDATA[A coworker and I discovered an issue with jboss&#8217; run.sh (which starts the app server).  The problem lies in different flavours of unix (or unix-like) shells returning different values for wait. The relevant code is: # Wait until the background process exits WAIT_STATUS=0 while [ &#34;$WAIT_STATUS&#34; -ne 127 ]; do JBOSS_STATUS=$WAIT_STATUS wait $JBOSS_PID 2&#62;/dev/null WAIT_STATUS=$? [...]]]></description>
		<wfw:commentRss>http://matthewkwilliams.com/index.php/2008/09/25/jboss-runsh-may-be-harmful/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Class is Class, and Instance, Instance, and never the twain shall meet</title>
		<link>http://matthewkwilliams.com/index.php/2008/09/12/class-is-class-and-instance-instance-and-never-the-twain-shall-meet/</link>
		<comments>http://matthewkwilliams.com/index.php/2008/09/12/class-is-class-and-instance-instance-and-never-the-twain-shall-meet/#comments</comments>
		<pubDate>Fri, 12 Sep 2008 15:09:29 +0000</pubDate>
		<dc:creator>Matt Williams</dc:creator>
				<category><![CDATA[eating crow]]></category>
		<category><![CDATA[gotchas]]></category>
		<category><![CDATA[programming]]></category>
		<category><![CDATA[ruby]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[crow]]></category>

		<guid isPermaLink="false">http://matthewkwilliams.com/?p=154</guid>
		<description><![CDATA[More about methods, it&#8217;s inspired/spurred by a comment on methods, public_methods, and private_methods by Pit Captain. It also corrects some misconceptions I had (and may have (wrongly) given others). I&#8217;ve added a new category, &#8220;eating crow&#8221; for this and any other postings where I step back and re-evaluate my posts. This is to keep me [...]]]></description>
		<wfw:commentRss>http://matthewkwilliams.com/index.php/2008/09/12/class-is-class-and-instance-instance-and-never-the-twain-shall-meet/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>CSS tooltips using CSS Sprites</title>
		<link>http://matthewkwilliams.com/index.php/2008/08/29/css-tooltips-using-css-sprites/</link>
		<comments>http://matthewkwilliams.com/index.php/2008/08/29/css-tooltips-using-css-sprites/#comments</comments>
		<pubDate>Fri, 29 Aug 2008 19:37:59 +0000</pubDate>
		<dc:creator>Matt Williams</dc:creator>
				<category><![CDATA[css]]></category>
		<category><![CDATA[gotchas]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[web design]]></category>
		<category><![CDATA[sprites]]></category>

		<guid isPermaLink="false">http://matthewkwilliams.com/?p=111</guid>
		<description><![CDATA[For a project I&#8217;m currently working on I wanted to make some &#8220;bubble&#8221; tooltips.  In order to cut down on the size/number of images, I&#8217;m using css sprites.  A quick google reveals that nobody else has (at least on the first page) put together tooltips using sprites.  The technique will work with any sort of [...]]]></description>
		<wfw:commentRss>http://matthewkwilliams.com/index.php/2008/08/29/css-tooltips-using-css-sprites/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>CSS &#8220;width&#8221; gotcha</title>
		<link>http://matthewkwilliams.com/index.php/2008/08/28/css-width-gotcha/</link>
		<comments>http://matthewkwilliams.com/index.php/2008/08/28/css-width-gotcha/#comments</comments>
		<pubDate>Thu, 28 Aug 2008 21:56:46 +0000</pubDate>
		<dc:creator>Matt Williams</dc:creator>
				<category><![CDATA[css]]></category>
		<category><![CDATA[gotchas]]></category>
		<category><![CDATA[web]]></category>
		<category><![CDATA[web design]]></category>

		<guid isPermaLink="false">http://matthewkwilliams.com/?p=109</guid>
		<description><![CDATA[I found out something interesting today.  Per the W3C, the total &#8220;width&#8221; that a block element uses is: If &#8216;left&#8217; or &#8216;right&#8217; are given as &#8216;auto&#8217;, their computed value is 0. The following constraints must hold between the other properties: &#8216;margin-left&#8217; + &#8216;border-left-width&#8217; + &#8216;padding-left&#8217; + &#8216;width&#8217; + &#8216;padding-right&#8217; + &#8216;border-right-width&#8217; + &#8216;margin-right&#8217; = width [...]]]></description>
		<wfw:commentRss>http://matthewkwilliams.com/index.php/2008/08/28/css-width-gotcha/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Why my code is broken&#8230;.. (break my code redux)</title>
		<link>http://matthewkwilliams.com/index.php/2008/08/26/why-my-code-is-broken-break-my-code-redux/</link>
		<comments>http://matthewkwilliams.com/index.php/2008/08/26/why-my-code-is-broken-break-my-code-redux/#comments</comments>
		<pubDate>Tue, 26 Aug 2008 06:47:17 +0000</pubDate>
		<dc:creator>Matt Williams</dc:creator>
				<category><![CDATA[gotchas]]></category>
		<category><![CDATA[programming]]></category>
		<category><![CDATA[ruby]]></category>

		<guid isPermaLink="false">http://matthewkwilliams.com/?p=99</guid>
		<description><![CDATA[Yesterday, I posted an article entitled Break my code, please, wherein I posted a very fragile piece of code, with the challenge to find ways in which to break it. What follows is a discussion of the code and why it is bad/fragile/easily broken&#8230;.. In the first place, methods like tr! and slice! behave differently [...]]]></description>
		<wfw:commentRss>http://matthewkwilliams.com/index.php/2008/08/26/why-my-code-is-broken-break-my-code-redux/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>rspec, restful_authentication, and login_required</title>
		<link>http://matthewkwilliams.com/index.php/2008/08/19/rspec-restful_authentication-and-login_required/</link>
		<comments>http://matthewkwilliams.com/index.php/2008/08/19/rspec-restful_authentication-and-login_required/#comments</comments>
		<pubDate>Tue, 19 Aug 2008 21:55:24 +0000</pubDate>
		<dc:creator>Matt Williams</dc:creator>
				<category><![CDATA[rails]]></category>
		<category><![CDATA[tips]]></category>
		<category><![CDATA[controller]]></category>
		<category><![CDATA[gotchas]]></category>
		<category><![CDATA[restful_authentication]]></category>
		<category><![CDATA[rspec]]></category>

		<guid isPermaLink="false">http://matthewkwilliams.com/?p=76</guid>
		<description><![CDATA[This is partly for myself, and partly for anyone after me&#8230;.. I have a controller generated via rspec_scaffold &#8212; yes, I know, it might not be what all the cool kids are doing, but it works.  I also have restful_authentication set up to use rspec.  So, when I go to add before_filter :login_required, autotest frowns [...]]]></description>
		<wfw:commentRss>http://matthewkwilliams.com/index.php/2008/08/19/rspec-restful_authentication-and-login_required/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>autotest reminder (or why did it go boom?)</title>
		<link>http://matthewkwilliams.com/index.php/2008/08/19/autotest-reminder-or-why-did-it-go-boom/</link>
		<comments>http://matthewkwilliams.com/index.php/2008/08/19/autotest-reminder-or-why-did-it-go-boom/#comments</comments>
		<pubDate>Tue, 19 Aug 2008 17:06:16 +0000</pubDate>
		<dc:creator>Matt Williams</dc:creator>
				<category><![CDATA[gotchas]]></category>
		<category><![CDATA[rails]]></category>
		<category><![CDATA[ruby]]></category>
		<category><![CDATA[tips]]></category>
		<category><![CDATA[autotest]]></category>
		<category><![CDATA[zentest]]></category>

		<guid isPermaLink="false">http://matthewkwilliams.com/?p=74</guid>
		<description><![CDATA[autotest / zentest are really useful tools.  However, it&#8217;s important to remember to run migrations for the test database &#8212; otherwise your tests will fail (miserably!) I&#8217;ve found the following to be helpful for using autotest: Getting started with Autotest &#8211; Continuous Testing Autotest RSpec Notifications for Ubuntu « My Pragmatig life]]></description>
		<wfw:commentRss>http://matthewkwilliams.com/index.php/2008/08/19/autotest-reminder-or-why-did-it-go-boom/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The trouble with injection</title>
		<link>http://matthewkwilliams.com/index.php/2008/08/13/the-trouble-with-injection/</link>
		<comments>http://matthewkwilliams.com/index.php/2008/08/13/the-trouble-with-injection/#comments</comments>
		<pubDate>Wed, 13 Aug 2008 19:49:02 +0000</pubDate>
		<dc:creator>Matt Williams</dc:creator>
				<category><![CDATA[gotchas]]></category>
		<category><![CDATA[tips]]></category>
		<category><![CDATA[ruby]]></category>

		<guid isPermaLink="false">http://matthewkwilliams.com/?p=46</guid>
		<description><![CDATA[Ruby&#8217;s injection is very useful, but if you don&#8217;t remember one key fact, you&#8217;ll shoot yourself in the foot. The inject method allows you to perform an operation over all the members of an Enumerable, keeping track of a value throughout.  However, the caveat is that you must return the value at each step. Suppose [...]]]></description>
		<wfw:commentRss>http://matthewkwilliams.com/index.php/2008/08/13/the-trouble-with-injection/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

