<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss 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/" version="2.0">

<channel>
	<title>not so silent (e)</title>
	
	<link>http://notso.silent-e.com</link>
	<description>Be who you are and say what you feel, because those who mind don't matter and those who matter don't mind. - Dr. Seuss</description>
	<lastBuildDate>Sat, 04 Jul 2009 22:29:09 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" href="http://feeds.feedburner.com/not_so_silent_e" type="application/rss+xml" /><item>
		<title>jQuery Tools’ Scrollable as a circular carousel</title>
		<link>http://notso.silent-e.com/2009/07/04/jquery-tools-scrollable-as-a-circular-carousel/</link>
		<comments>http://notso.silent-e.com/2009/07/04/jquery-tools-scrollable-as-a-circular-carousel/#comments</comments>
		<pubDate>Sat, 04 Jul 2009 22:29:09 +0000</pubDate>
		<dc:creator>matte</dc:creator>
				<category><![CDATA[programming]]></category>

		<guid isPermaLink="false">http://notso.silent-e.com/?p=766</guid>
		<description><![CDATA[
I recently discovered a new jQuery effect library named jQuery Tools.  It&#8217;s like jQuery UI but more focused on the core items that can improve the usefulness of a website.  Tabs, tooltips, scrollables, overlays, and a few more.  I began using it this week to replace a carousel on my website at [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://notso.silent-e.com/images/jqt_scrollable.png" alt="jQuery Tools - Scrollable" title="jQuery Tools - Scrollable" width="400" height="138" class="clean center" /><br />
I recently discovered a new jQuery effect library named <a href="http://flowplayer.org/tools/">jQuery Tools</a>.  It&#8217;s like jQuery UI but more focused on the core items that can improve the usefulness of a website.  <a href="http://flowplayer.org/tools/tabs.html">Tabs</a>, <a href="http://flowplayer.org/tools/tooltip.html">tooltips</a>, <a href="http://flowplayer.org/tools/scrollable.html">scrollables</a>, <a href="http://flowplayer.org/tools/overlay.html">overlays</a>, and a few more.  I began using it this week to replace a carousel on <a href="http://www.ruckuswireless.com">my website at work</a>.  My website uses several different javascript libraries for these very same techniques but they&#8217;re all from different authors.  I like the idea of having a single library instead of tracking several so I&#8217;ve started converting those libraries over to jQuery Tools.  The first to go was the homepage carousel.</p>
<p>After replacing the old carousel with the new one, I discovered that the new code didn&#8217;t provide a way to do circular carousels.  It had a fixed beginning and an end.  You could program it to loop but when you got to the end and told it to move to the right again it would actually scroll really fast to the left until the first item was back on the left edge.  In a circular carousel, if you&#8217;re on the last item, you want the first item to show up to the right of the last item if you move past the end, looping forever.</p>
<p>So, with the code being released under the GPL opensource license, I did what any self-respecting developer would do.  I patched the code to make it circular when you told it you wanted it to loop.  This is a change from the old way it worked so people using this library and expecting the old functionality should be warned.  I could have added a &#8220;loopmethod&#8221; config variable but I didn&#8217;t want to introduce any new configuration variables without approval from the true author.  As it is, I only added one new method &ndash; a way to move a specific item to the left most item using an unnoticeable jump, instead of the default scroll.  This is part of the magic that makes it able to simulate a circular loop.  Compressed with the YUI Javascript Compressor, it only adds 600-ish bytes to the code.  Even less, when you finally gzip it.  Acceptable for the return in functionality, IMNSHO.</p>
<p>I haven&#8217;t tested it 100%, notably the code where you are using the custom API methods, but it SHOULD be good to go by just replacing your old version.  YMMV.  I will be submitting this to the author of jQuery Tools so he can evaluate it for the next revision of Scrollable.  In the mean time, test it, use it, let me know what you think.</p>
<p><a href="http://www.silent-e.com/code/javascript/tools.scrollable-1.0.5.js">Download the Scrollable javascript</a></p>
]]></content:encoded>
			<wfw:commentRss>http://notso.silent-e.com/2009/07/04/jquery-tools-scrollable-as-a-circular-carousel/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Let us ride to Camelot!</title>
		<link>http://notso.silent-e.com/2009/06/06/let-us-ride-to-camelot/</link>
		<comments>http://notso.silent-e.com/2009/06/06/let-us-ride-to-camelot/#comments</comments>
		<pubDate>Sat, 06 Jun 2009 20:37:10 +0000</pubDate>
		<dc:creator>matte</dc:creator>
				<category><![CDATA[whatever]]></category>

		<guid isPermaLink="false">http://notso.silent-e.com/2009/06/06/let-us-ride-to-camelot/</guid>
		<description><![CDATA[
It&#8217;s only a model&#8230; shhhh.
I uploaded this through 
]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.flickr.com/photos/silent_e/3600903221/" title="flickr photo"><img src="http://farm4.static.flickr.com/3324/3600903221_4ae41c7b58.jpg" class="flickr-photo" alt="Let us ride to Camelot!" title="Let us ride to Camelot!" /></a></p>
<p class="flickr-yourcomment">It&#8217;s only a model&#8230; shhhh.</p>
<p>I uploaded this through <a href="http://www.flickr.com/photos/silent_e/"><img alt="flickr" title="flickr" class="clean" src="http://www.flickr.com/images/flickr_logo_blog.gif" width="41" height="18" border="0" align="absmiddle" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://notso.silent-e.com/2009/06/06/let-us-ride-to-camelot/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Mini (lemon) me and Andre the Giant (lemon)</title>
		<link>http://notso.silent-e.com/2009/05/24/mini-lemon-me-and-andre-the-giant-lemon/</link>
		<comments>http://notso.silent-e.com/2009/05/24/mini-lemon-me-and-andre-the-giant-lemon/#comments</comments>
		<pubDate>Sun, 24 May 2009 22:09:45 +0000</pubDate>
		<dc:creator>matte</dc:creator>
				<category><![CDATA[cool]]></category>
		<category><![CDATA[mobile]]></category>
		<category><![CDATA[our house]]></category>
		<category><![CDATA[photography]]></category>

		<guid isPermaLink="false">http://notso.silent-e.com/2009/05/24/mini-lemon-me-and-andre-the-giant-lemon/</guid>
		<description><![CDATA[
On the left, store bought.  From our tree is on the right.  Accept no
substitutes.
I uploaded this through 
]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.flickr.com/photos/silent_e/3561086454/" title="flickr photo"><img src="http://farm3.static.flickr.com/2428/3561086454_7d864364fb.jpg" class="flickr-photo" alt="Mini (lemon) me and Andre the Giant (lemon)" title="Mini (lemon) me and Andre the Giant (lemon)" /></a></p>
<p class="flickr-yourcomment">On the left, store bought.  From our tree is on the right.  Accept no<br />
substitutes.</p>
<p>I uploaded this through <a href="http://www.flickr.com/photos/silent_e/"><img alt="flickr" title="flickr" class="clean" src="http://www.flickr.com/images/flickr_logo_blog.gif" width="41" height="18" border="0" align="absmiddle" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://notso.silent-e.com/2009/05/24/mini-lemon-me-and-andre-the-giant-lemon/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Date night</title>
		<link>http://notso.silent-e.com/2009/05/01/date-night/</link>
		<comments>http://notso.silent-e.com/2009/05/01/date-night/#comments</comments>
		<pubDate>Sat, 02 May 2009 03:00:58 +0000</pubDate>
		<dc:creator>matte</dc:creator>
				<category><![CDATA[cathy]]></category>
		<category><![CDATA[me me me]]></category>
		<category><![CDATA[mobile]]></category>
		<category><![CDATA[photography]]></category>

		<guid isPermaLink="false">http://notso.silent-e.com/2009/05/01/date-night/</guid>
		<description><![CDATA[

I uploaded this through 
]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.flickr.com/photos/silent_e/3492375411/" title="flickr photo"><img src="http://farm4.static.flickr.com/3387/3492375411_9492b27582.jpg" class="flickr-photo" alt="Date night" title="Date night" /></a></p>
<p class="flickr-yourcomment">
<p>I uploaded this through <a href="http://www.flickr.com/photos/silent_e/"><img alt="flickr" title="flickr" class="clean" src="http://www.flickr.com/images/flickr_logo_blog.gif" width="41" height="18" border="0" align="absmiddle" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://notso.silent-e.com/2009/05/01/date-night/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Winning tickets to a concert makes my wife go a little crazy</title>
		<link>http://notso.silent-e.com/2009/04/29/winning-tickets-to-a-concert-makes-my-wife-go-a-little-crazy/</link>
		<comments>http://notso.silent-e.com/2009/04/29/winning-tickets-to-a-concert-makes-my-wife-go-a-little-crazy/#comments</comments>
		<pubDate>Wed, 29 Apr 2009 23:25:33 +0000</pubDate>
		<dc:creator>matte</dc:creator>
				<category><![CDATA[cathy]]></category>
		<category><![CDATA[concerts]]></category>
		<category><![CDATA[cool]]></category>
		<category><![CDATA[funny]]></category>
		<category><![CDATA[music]]></category>
		<category><![CDATA[wtf?]]></category>

		<guid isPermaLink="false">http://notso.silent-e.com/?p=737</guid>
		<description><![CDATA[&#8230; it makes her say things she NEVER says, like &#8220;Right on!&#8221;  
]]></description>
			<content:encoded><![CDATA[<p>&#8230; it makes her say things she NEVER says, like &#8220;Right on!&#8221; <img src='http://notso.silent-e.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://notso.silent-e.com/2009/04/29/winning-tickets-to-a-concert-makes-my-wife-go-a-little-crazy/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
<enclosure url="http://notso.silent-e.com/images/winning_wilco.mp3" length="33063" type="audio/mpeg" />
		</item>
		<item>
		<title>A Coke and a body bag</title>
		<link>http://notso.silent-e.com/2009/04/22/a-coke-and-a-body-bag/</link>
		<comments>http://notso.silent-e.com/2009/04/22/a-coke-and-a-body-bag/#comments</comments>
		<pubDate>Thu, 23 Apr 2009 04:08:04 +0000</pubDate>
		<dc:creator>matte</dc:creator>
				<category><![CDATA[funny]]></category>
		<category><![CDATA[mobile]]></category>
		<category><![CDATA[photography]]></category>

		<guid isPermaLink="false">http://notso.silent-e.com/2009/04/22/a-coke-and-a-body-bag/</guid>
		<description><![CDATA[

I uploaded this through 
]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.flickr.com/photos/silent_e/3466839601/" title="flickr photo"><img src="http://farm4.static.flickr.com/3616/3466839601_4b5b4247c1.jpg" class="flickr-photo" alt="A Coke and a body bag" title="A Coke and a body bag" /></a></p>
<p class="flickr-yourcomment">
<p>I uploaded this through <a href="http://www.flickr.com/photos/silent_e/"><img alt="flickr" title="flickr" class="clean" src="http://www.flickr.com/images/flickr_logo_blog.gif" width="41" height="18" border="0" align="absmiddle" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://notso.silent-e.com/2009/04/22/a-coke-and-a-body-bag/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Clement Freud’s funniest joke</title>
		<link>http://notso.silent-e.com/2009/04/20/clement-freuds-funniest-joke/</link>
		<comments>http://notso.silent-e.com/2009/04/20/clement-freuds-funniest-joke/#comments</comments>
		<pubDate>Mon, 20 Apr 2009 17:26:27 +0000</pubDate>
		<dc:creator>matte</dc:creator>
				<category><![CDATA[funny]]></category>
		<category><![CDATA[video]]></category>

		<guid isPermaLink="false">http://notso.silent-e.com/?p=731</guid>
		<description><![CDATA[
from The Telegraph via Boing Boing
]]></description>
			<content:encoded><![CDATA[<p><embed src="http://c.brightcove.com/services/viewer/federated_f8/1137883380" bgcolor="#FFFFFF" flashVars="videoId=19980405001&#038;playerId=1137883380&#038;viewerSecureGatewayURL=https://console.brightcove.com/services/amfgateway&#038;servicesURL=http://services.brightcove.com/services&#038;cdnURL=http://admin.brightcove.com&#038;domain=embed&#038;autoStart=false&#038;" base="http://admin.brightcove.com" name="flashObj" width="486" height="412" seamlesstabbing="false" type="application/x-shockwave-flash" swLiveConnect="true" pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash"></embed></p>
<p>from <a href="http://www.telegraph.co.uk/culture/tvandradio/5169932/Did-Clement-Freud-tell-the-funniest-joke-ever-told.html">The Telegraph</a> via <a href="http://www.boingboing.net/2009/04/19/clement-freuds-funni.html">Boing Boing</a></p>
]]></content:encoded>
			<wfw:commentRss>http://notso.silent-e.com/2009/04/20/clement-freuds-funniest-joke/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Fixing Snarl and autotest_menu in windows</title>
		<link>http://notso.silent-e.com/2009/04/09/fixing-snarl-and-autotest-menu-in-windows/</link>
		<comments>http://notso.silent-e.com/2009/04/09/fixing-snarl-and-autotest-menu-in-windows/#comments</comments>
		<pubDate>Thu, 09 Apr 2009 19:33:24 +0000</pubDate>
		<dc:creator>matte</dc:creator>
				<category><![CDATA[me me me]]></category>
		<category><![CDATA[programming]]></category>
		<category><![CDATA[ruby on rails]]></category>
		<category><![CDATA[tips]]></category>

		<guid isPermaLink="false">http://notso.silent-e.com/?p=721</guid>
		<description><![CDATA[I&#8217;ve been trying to get ZenSpider autotest and Windows to play nice for a while.  First, I had the problem where autotest would only run once and not stick around waiting for updates to my code.  That was fixed by Luke Pearce.  He commented on a previous post with his fix and [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been trying to get ZenSpider autotest and Windows to play nice for a while.  First, I had the problem where autotest would only run once and not stick around waiting for updates to my code.  That was fixed by <a href="http://www.kulesolutions.com/" target="_blank">Luke Pearce</a>.  He <a href="http://notso.silent-e.com/2009/04/06/turning-off-the-rails-232-backtracecleaner/#comment-9523" target="_blank">commented on a previous post</a> with his fix and I can confirm that it works.  Thanx Luke!</p>
<p>I encountered another problem now.  When I ran my autotest but tried to shut it down by hitting Control-C twice in a row, the tests would just reset and run again.  Double Control-C is supposed to interrupt the process and allow me to shut it down.  This it did not do.<br />
<span id="more-721"></span><br />
I am also running the autotest/menu plugin that is supposed to explicitly ask you whether you want to quit, restart or just keep going when you hit Control-C, even if it&#8217;s just hitting it once.  This is the best possible option and is what I recommend, but it wasn&#8217;t happening.  There were no prompts to quit, continue, or restart.  Just restarting the entire test suite EVERY time I hit Control-C, whether it was two quick hits or 10 hits a row.</p>
<p>I originally looked at the code thinking that I should fix it there.  Autotest provides hooks into it&#8217;s process.  Run, interrupt, quit, etc.  I figured it had to do with one of those so I first tried just commenting out the :interrupt hook code on lines 39-41 in ZenTest-4.0.0/lib/autotest/snarl.rb.  This worked and I was happy.  However it still didn&#8217;t feel right.  I didn&#8217;t want to hack the code and ask them to fix it.  It must be working for other people because I haven&#8217;t seen other people complaining about it.</p>
<p>Turns out the fix is a really easy one and requires no hacking on the gem code at all.  It was just a problem with the order of my &#8220;require&#8221; lines in my .autotest file.  My original .autotest file looked like this&#8230;</p>
<p><code>require 'redgreen/autotest'<br />
require 'Win32/Console/ANSI'<br />
require 'autotest/snarl'<br />
require 'autotest/menu'<br />
require 'autotest/timestamp'</code></p>
<p>The .autotest file that WORKS swaps the &#8220;snarl&#8221; and &#8220;menu&#8221; lines around, like so&#8230;</p>
<p><code>require 'redgreen/autotest'<br />
require 'Win32/Console/ANSI'<br />
require 'autotest/menu'<br />
require 'autotest/snarl'<br />
require 'autotest/timestamp'</code></p>
]]></content:encoded>
			<wfw:commentRss>http://notso.silent-e.com/2009/04/09/fixing-snarl-and-autotest-menu-in-windows/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Turning off the Rails 2.3.2 BacktraceCleaner</title>
		<link>http://notso.silent-e.com/2009/04/06/turning-off-the-rails-232-backtracecleaner/</link>
		<comments>http://notso.silent-e.com/2009/04/06/turning-off-the-rails-232-backtracecleaner/#comments</comments>
		<pubDate>Mon, 06 Apr 2009 23:27:38 +0000</pubDate>
		<dc:creator>matte</dc:creator>
				<category><![CDATA[me me me]]></category>
		<category><![CDATA[programming]]></category>
		<category><![CDATA[ruby on rails]]></category>
		<category><![CDATA[tips]]></category>

		<guid isPermaLink="false">http://notso.silent-e.com/?p=714</guid>
		<description><![CDATA[I had a situation today where, when running some functional tests, the error backtrace being displayed was not helpful at ALL.  I was defining a layout for a controller as a symbol instead of a string like I should have been using.  You use a string when you are just saying &#8220;Use this [...]]]></description>
			<content:encoded><![CDATA[<p>I had a situation today where, when running some functional tests, the error backtrace being displayed was not helpful at ALL.  I was defining a layout for a controller as a symbol instead of a string like I should have been using.  You use a string when you are just saying &#8220;Use this layout&#8221; and you use a symbol when you have a method to call that responds with the layout to use.  The error I was getting was &#8230;</p>
<p><code>NoMethodError: undefined method `admin' for #&lt;Admin::RegistrationsController&gt;</code></p>
<p>but what was the first line that came up in the backtrace?</p>
<p><code>app/controllers/admin/registrations_controller.rb:18:in `show'</code></p>
<p>This was giving me fits.  There&#8217;s no call to &#8216;admin&#8217; in the &#8217;show&#8217; method.  I knew there had to be something else so I searched for how to see more of the backtrace.</p>
<p>The BacktraceCleaner <a href="http://guides.rubyonrails.org/2_3_release_notes.html#quieter-backtraces" target="_blank">introduced in Rails 2.3.2</a> cleans out backtrace lines coming from the Rails framework (Railties, etc).  This is usually what you want.  However, I was sure that my error was coming from somewhere in the framework.  Turns out it&#8217;s really simple to turn off the backtrace cleaner.  Add this line in a &#8217;setup&#8217; method in your test_helper.rb file.</p>
<p><code>Rails.backtrace_cleaner.remove_silencers!</code></p>
<p>Very simple, very easy.  My name is Chef Tell.  <img src='http://notso.silent-e.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://notso.silent-e.com/2009/04/06/turning-off-the-rails-232-backtracecleaner/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Gun range owners need to print up some of these</title>
		<link>http://notso.silent-e.com/2009/04/06/gun-range-owners-need-to-print-up-some-of-these/</link>
		<comments>http://notso.silent-e.com/2009/04/06/gun-range-owners-need-to-print-up-some-of-these/#comments</comments>
		<pubDate>Mon, 06 Apr 2009 18:41:06 +0000</pubDate>
		<dc:creator>matte</dc:creator>
				<category><![CDATA[cathy]]></category>
		<category><![CDATA[cool]]></category>
		<category><![CDATA[design]]></category>
		<category><![CDATA[funny]]></category>
		<category><![CDATA[me me me]]></category>
		<category><![CDATA[sports]]></category>

		<guid isPermaLink="false">http://notso.silent-e.com/2009/04/06/gun-range-owners-need-to-print-up-some-of-these/</guid>
		<description><![CDATA[Cathy and I have, off and on, talked about going to a gun range to see what it&#8217;s like.  I&#8217;ve shot a rifle before but only once.  It was skeet shooting and to say I wasn&#8217;t anywhere near the target is an understatement.  I&#8217;m much better at the Wii Sports target shooting [...]]]></description>
			<content:encoded><![CDATA[<p>Cathy and I have, off and on, talked about going to a gun range to see what it&#8217;s like.  I&#8217;ve shot a rifle before but only once.  It was skeet shooting and to say I wasn&#8217;t anywhere near the target is an understatement.  I&#8217;m much better at the Wii Sports target shooting game.</p>
<p>I bet if gun range owners got <a href="http://www.inprnt.com/details/1623/" target="_blank">a few of these for targets</a>, I&#8217;d be able to hit &#8216;em.  <img src='http://notso.silent-e.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://notso.silent-e.com/2009/04/06/gun-range-owners-need-to-print-up-some-of-these/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
