<?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/" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">

<channel>
	<title>woolie t.</title>
	
	<link>http://www.wooliet.com</link>
	<description>Floating my Boat</description>
	<lastBuildDate>Sun, 04 Jul 2010 05:58:36 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</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" type="application/rss+xml" href="http://feeds.feedburner.com/wooliet" /><feedburner:info uri="wooliet" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><item>
		<title>Patterns Schmatterns: But Don’t Forget the Fun</title>
		<link>http://feedproxy.google.com/~r/wooliet/~3/BztK6q39KG4/</link>
		<comments>http://www.wooliet.com/2010/07/03/patterns-schmatterns-but-dont-forget-the-fun/#comments</comments>
		<pubDate>Sun, 04 Jul 2010 05:58:36 +0000</pubDate>
		<dc:creator>Woolie</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[fun]]></category>
		<category><![CDATA[overengineering]]></category>
		<category><![CDATA[seanmonstar]]></category>

		<guid isPermaLink="false">http://www.wooliet.com/?p=515</guid>
		<description><![CDATA[Courtesy of SeanMonstar, I now know to guard myself against Criminal Overengineering.
The most insidious cause of overengineering is over-generalizing. We will over-generalize anything given half a chance. Writing code to work with a list of students? Well, we might want to work with teachers and the general public someday, better add a base People class [...]<p>
                             ~~~~~~~~~~~~~~~~

This has been a <a href="http://www.wooliet.com">woolie</a> posting.<br/><br/><a href="http://www.wooliet.com/2010/07/03/patterns-schmatterns-but-dont-forget-the-fun/">Patterns Schmatterns: But Don&#8217;t Forget the Fun</a></p>
]]></description>
			<content:encoded><![CDATA[<p>Courtesy of <a href="http://seanmonstar.com/post/731937222/criminal-overengineering">SeanMonstar</a>, I now know to guard myself against <a href="http://coderoom.wordpress.com/2010/06/23/criminal-overengineering/"><strong>Criminal Overengineering</strong></a>.</p>
<blockquote><p>The most insidious cause of overengineering is over-generalizing. We will over-generalize anything given half a chance. Writing code to work with a list of students? Well, we might want to work with teachers and the general public someday, better add a base People class and subclass Student from that. Or Person and then EducationPerson and then Student. Yes, that’s better, right?<br />
&#8230;<br />
We have to stop championing each ridiculous feat of overengineering and call it what it is. It’s not ‘future-proof’, because we can’t see the future. It’s not robust, it’s hard to read. Applying a generic solution to a single case isn’t good programming, it’s criminal overengineering because like it or not somebody, somewhere will pay for it.
</p></blockquote>
<p>He mentions fear as a motivator; the worry that your code won&#8217;t stand up against the unforeseen use-case.  He also describes the sense of productivity it engenders. In other words, &#8220;look at all this code I just cranked out&#8221;.  </p>
<p>And while I agree with everything he says, I do have a small point of contention: He doesn&#8217;t account for the fun factor.  This must be the exception to the rule.  The one time it is okay to shoot way high.  </p>
<p>I mean, isn&#8217;t it <em>fun</em> to create these beasts? To take a simple problem and abstract it out to this giant chain of inheritance and interfaces and abstractions?  I&#8217;m serious here.  I&#8217;m sure there exist the coders who enjoy nothing more than filling in a function stub with one <code>return</code> statement, mumbling &#8220;done&#8221; to themselves, and then moving on to the next task at hand.  But aren&#8217;t most of us the kind who <em>enjoy</em> the creating and building of these&#8230;things?</p>
<p>So yeah, while absorbing the fluorescent rays of a cubicle sun, make sure not to &#8220;makes things harder than they are&#8221; (to quote my dad) too often.  But try to find an excuse every now and again to exercise those creative muscles and think larger than the simple problem at hand.  That&#8217;s what I say.</p>
<p>
                             ~~~~~~~~~~~~~~~~

This has been a <a href="http://www.wooliet.com">woolie</a> posting.<br/><br/><a href="http://www.wooliet.com/2010/07/03/patterns-schmatterns-but-dont-forget-the-fun/">Patterns Schmatterns: But Don&#8217;t Forget the Fun</a></p>
<img src="http://feeds.feedburner.com/~r/wooliet/~4/BztK6q39KG4" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.wooliet.com/2010/07/03/patterns-schmatterns-but-dont-forget-the-fun/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.wooliet.com/2010/07/03/patterns-schmatterns-but-dont-forget-the-fun/</feedburner:origLink></item>
		<item>
		<title>A Diagnosis to Which I Relate (using a word I’ve never heard)</title>
		<link>http://feedproxy.google.com/~r/wooliet/~3/0vo7rfh-eFA/</link>
		<comments>http://www.wooliet.com/2010/06/10/a-diagnosis-to-which-i-relate-using-a-word-ive-never-heard/#comments</comments>
		<pubDate>Thu, 10 Jun 2010 18:35:45 +0000</pubDate>
		<dc:creator>Woolie</dc:creator>
				<category><![CDATA[WebDev]]></category>
		<category><![CDATA[Words]]></category>
		<category><![CDATA[ideation]]></category>
		<category><![CDATA[noahstokes]]></category>

		<guid isPermaLink="false">http://www.wooliet.com/?p=498</guid>
		<description><![CDATA[From he who is famous for this (which I just rediscovered):
Ideation Limitation
I think coding a site to upload some photos, automate them into a simple slideshow is a no brainer.  Your mom on the other hand thinks that’s about the most fan-futon-tastic thing ever.  She and all the ladies in her card group [...]<p>
                             ~~~~~~~~~~~~~~~~

This has been a <a href="http://www.wooliet.com">woolie</a> posting.<br/><br/><a href="http://www.wooliet.com/2010/06/10/a-diagnosis-to-which-i-relate-using-a-word-ive-never-heard/">A Diagnosis to Which I Relate (using a word I&#8217;ve never heard)</a></p>
]]></description>
			<content:encoded><![CDATA[<p>From he who is famous for <a href="http://noahstokes.com/">this</a> (which I just rediscovered):</p>
<p><a href="http://esbueno.noahstokes.com/post/610445362/ideation-limitation" style="letter-spacing:.6em;font-size:1.25em"><strong>Ideation Limitation</strong></a></p>
<blockquote><p>I think coding a site to upload some photos, automate them into a simple slideshow is a no brainer.  Your mom on the other hand thinks that’s about the most fan-futon-tastic thing ever.  She and all the ladies in her card group use it religiously; sharing photos of their baby grandchildren drooling and gnawing on the dogs chew toys.  Who knew.</p></blockquote>
<p>
                             ~~~~~~~~~~~~~~~~

This has been a <a href="http://www.wooliet.com">woolie</a> posting.<br/><br/><a href="http://www.wooliet.com/2010/06/10/a-diagnosis-to-which-i-relate-using-a-word-ive-never-heard/">A Diagnosis to Which I Relate (using a word I&#8217;ve never heard)</a></p>
<img src="http://feeds.feedburner.com/~r/wooliet/~4/0vo7rfh-eFA" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.wooliet.com/2010/06/10/a-diagnosis-to-which-i-relate-using-a-word-ive-never-heard/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.wooliet.com/2010/06/10/a-diagnosis-to-which-i-relate-using-a-word-ive-never-heard/</feedburner:origLink></item>
		<item>
		<title>The ReadyAgain jQuery Plugin: Re-executing Ready</title>
		<link>http://feedproxy.google.com/~r/wooliet/~3/C_MtSp5Zslw/</link>
		<comments>http://www.wooliet.com/2010/06/09/the-readyagain-jquery-plugin-re-executing-ready/#comments</comments>
		<pubDate>Wed, 09 Jun 2010 22:21:50 +0000</pubDate>
		<dc:creator>Woolie</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[WebDev]]></category>
		<category><![CDATA[bitbucket]]></category>
		<category><![CDATA[jquery]]></category>
		<category><![CDATA[readmorerighthere]]></category>
		<category><![CDATA[readyagain]]></category>

		<guid isPermaLink="false">http://www.wooliet.com/?p=475</guid>
		<description><![CDATA[I&#8217;ve been wanting to become better acquainted with the Mecurial revision control system (see Hg Init for more info).    There&#8217;s also been a jQuery related issue I&#8217;ve been wanting to investigate.  So I made the jump and
1. Created a plugin
2. Created a repository for that plugin at BitBucket
ReadyAgain at BitBucket
The ReadyAgain [...]<p>
                             ~~~~~~~~~~~~~~~~

This has been a <a href="http://www.wooliet.com">woolie</a> posting.<br/><br/><a href="http://www.wooliet.com/2010/06/09/the-readyagain-jquery-plugin-re-executing-ready/">The ReadyAgain jQuery Plugin: Re-executing Ready</a></p>
]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been wanting to become better acquainted with the <a href="http://mercurial.selenic.com/">Mecurial</a> revision control system (see <a href="http://hginit.com/index.html">Hg Init</a> for more info).    There&#8217;s also been a <a href="http://jquery.com/">jQuery</a> related issue I&#8217;ve been wanting to investigate.  So I made the jump and</p>
<p>1. Created a plugin<br />
2. Created <a href="http://www.bitbucket.org/wooliet/readyagain">a repository</a> for that plugin at <a href="http://www.bitbucket.org/">BitBucket</a></p>
<p style="text-align:center;font-size:1.75em;padding:5px;border:1px solid #333;"><a href="http://www.bitbucket.org/wooliet/readyagain">ReadyAgain at BitBucket</a></p>
<h3 style>The ReadyAgain jQuery Plugin</h3>
<p>Prior to version 1.4, the array of functions saved by jQuery for execution when the DOM is ready (i.e. those functions added by <code>$(document).ready(function...)</code>) was an accessible property of jQuery. This meant that you could reference the array directly using something like <code>$.readyList</code>.  Now, however, that array has been hidden within an anonymous, self-executing function (the deepest, darkest well of data hiding in javascript, <a href="http://briancrescimanno.com/2009/09/24/how-self-executing-anonymous-functions-work/">here&#8217;s a bit of a primer</a>).  So re-executing all of the <code>ready</code> functions by grabbing a copy of that array becomes impossible.</p>
<p>The <a href="http://www.bitbucket.org/wooliet/readyagain">ReadyAgain</a> plugin is my attempt to solve that issue.  The specifics can be seen by looking at the code, but the basic concept is to override <code>jQuery.ready</code> to intercept each function as its added, and to save it within our own internal array.</p>
<h3>Public Code</h3>
<p>So the initial commit of the code is there and I&#8217;ve typed up a page on the Wiki with some examples.  I hope that people use it and maybe even contribute to it.  It would certainly be something fun for me to be a part of and from which to learn.</p>
<p><span id="more-475"></span></p>
<h3>The Path to Here</h3>
<p>An issue that has come up a couple of times regarding my <a href="http://wordpress.org/extend/plugins/read-more-right-here/">&#8216;Read More Right Here&#8217; Wordpress plugin</a> is that, when the post content is loaded, effects like a thickbox or lightbox or whatever-box are not applied to images in the new content.  More generally speaking, <em>any</em> javascript fanciness used on <em>any</em> of the new content elements is missing.  </p>
<p>The reason is that most every javascript based modification is applied to the document within a &#8216;DOM Ready&#8217; function (and rightly so) . With jQuery, this is the <code><a href="http://api.jquery.com/ready/">jQuery.ready</a></code> function.  So a plugin might add some nifty image effects to all images on the page like so:  <code>$('img').NiftyStuff()</code>.  But the images within the content pulled down by my plugin <em>aren&#8217;t yet there</em>.  They don&#8217;t arrive to the page until <em>after</em> the &#8216;Read More&#8217; link is clicked.  </p>
<p>So how do you re-execute <code>NiftyStuff</code> and the potentially countless other plugin functions on that new content?</p>
<p><strong>Live &amp; Delegate</strong></p>
<p>One quick solution would be to make use of jQuery&#8217;s <a href="http://api.jquery.com/live/">live</a> or <a href="http://api.jquery.com/delegate/">delegate</a> functions.  When used, they will monitor the DOM for new elements and execute code as needed.  But I guess this is still a relatively new process since it&#8217;s not something I&#8217;ve noticed in any of the plugins I&#8217;ve come across.</p>
<p><strong>Rerun Ready (i.e. my plugin)</strong></p>
<p>Re-execution of each of the saved <code>ready</code> functions is another possibility.  What&#8217;s more, the <a href="http://www.bitbucket.org/wooliet/readyagain">ReadyAgain</a> plugin will allow you to execute all of the ready functions within a more specific context (instead of the default &#8216;document&#8217; context, <a href="http://www.bitbucket.org/wooliet/readyagain/wiki/Home">see the wiki for more</a>).  So potentially only the <em>new</em> content will have the saved <code>ready</code> functions applied.</p>
<h3>Risky Business: Not the final solution</h3>
<p>At this point you might be thinking to yourself &#8220;Great, so you&#8217;ve packaged this with &#8216;Read More Right Here&#8217; and everything works perfectly&#8221;.  Sorry, but no.  At least not yet.</p>
<p>I experimented with it a bit, and it&#8217;s honestly just too hazardous.  I mean, it&#8217;s a serious case of &#8220;Use at your own risk&#8221;.  It is generally assumed (and again, rightly so) that the code executed within jQuery&#8217;s <code>ready</code> function will only be executed <em>once</em>.  So you might see a new element with a static ID value added to the page over and over. Or you might see some element that&#8217;s <a href="http://api.jquery.com/animate/">animating</a> with relative values (e.g. <code>top:'+=25px'</code>), which could happen over and over.  Or any other number of possible side-effects.  </p>
<p>This plugin is really something that (at least in its current form) should only be added on an individual basis.  You <em>have</em> to examine what happens within the <code>ready</code> function of other jQuery based Wordpress plugins.   There&#8217;s just no way that I can see to have this become default behavior within the RMRH Wordpress plugin.</p>
<p>But time will tell.  Maybe creating this public repository will put some eyes on it and who knows what solutions will develop from that.</p>
<p>
                             ~~~~~~~~~~~~~~~~

This has been a <a href="http://www.wooliet.com">woolie</a> posting.<br/><br/><a href="http://www.wooliet.com/2010/06/09/the-readyagain-jquery-plugin-re-executing-ready/">The ReadyAgain jQuery Plugin: Re-executing Ready</a></p>
<img src="http://feeds.feedburner.com/~r/wooliet/~4/C_MtSp5Zslw" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.wooliet.com/2010/06/09/the-readyagain-jquery-plugin-re-executing-ready/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.wooliet.com/2010/06/09/the-readyagain-jquery-plugin-re-executing-ready/</feedburner:origLink></item>
		<item>
		<title>Conde Software Redesign</title>
		<link>http://feedproxy.google.com/~r/wooliet/~3/vAjG6Ek-ob0/</link>
		<comments>http://www.wooliet.com/2010/06/04/conde-software-redesign/#comments</comments>
		<pubDate>Fri, 04 Jun 2010 18:24:30 +0000</pubDate>
		<dc:creator>Woolie</dc:creator>
				<category><![CDATA[Miscellaneous]]></category>

		<guid isPermaLink="false">http://www.wooliet.com/?p=469</guid>
		<description><![CDATA[I just finished doing a redesign of my business site, Conde Software.  The previous design was, in my opinion, just not cutting it.  I&#8217;m hopeful that in a few months time I&#8217;ll look at this current version and still be happy with it.  
One good indicator of my own satisfaction towards a [...]<p>
                             ~~~~~~~~~~~~~~~~

This has been a <a href="http://www.wooliet.com">woolie</a> posting.<br/><br/><a href="http://www.wooliet.com/2010/06/04/conde-software-redesign/">Conde Software Redesign</a></p>
]]></description>
			<content:encoded><![CDATA[<p>I just finished doing a redesign of my business site, <a href="http://www.condesoftware.com">Conde Software</a>.  The previous design was, in my opinion, just not cutting it.  I&#8217;m hopeful that in a few months time I&#8217;ll look at this current version and still be happy with it.  </p>
<p>One good indicator of my own satisfaction towards a project like this is how I feel about it the next day.  This design has been pretty much complete the past couple of days, and when I looked it over this morning, I was still pleased.  </p>
<p>I think the Conde site now has a more professional, <em>sleek</em> feel to it.  Fingers crossed that this translates to more potential customers.</p>
<p>
                             ~~~~~~~~~~~~~~~~

This has been a <a href="http://www.wooliet.com">woolie</a> posting.<br/><br/><a href="http://www.wooliet.com/2010/06/04/conde-software-redesign/">Conde Software Redesign</a></p>
<img src="http://feeds.feedburner.com/~r/wooliet/~4/vAjG6Ek-ob0" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.wooliet.com/2010/06/04/conde-software-redesign/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.wooliet.com/2010/06/04/conde-software-redesign/</feedburner:origLink></item>
		<item>
		<title>Miter Box Slider</title>
		<link>http://feedproxy.google.com/~r/wooliet/~3/3wtwHhqzseU/</link>
		<comments>http://www.wooliet.com/2010/05/24/miter-box-slider/#comments</comments>
		<pubDate>Mon, 24 May 2010 15:19:20 +0000</pubDate>
		<dc:creator>Woolie</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[Recommendations]]></category>
		<category><![CDATA[WebDev]]></category>
		<category><![CDATA[codecanyon]]></category>
		<category><![CDATA[jquery]]></category>
		<category><![CDATA[miterbox]]></category>
		<category><![CDATA[plugin]]></category>
		<category><![CDATA[slider]]></category>
		<category><![CDATA[slideshow]]></category>

		<guid isPermaLink="false">http://www.wooliet.com/?p=458</guid>
		<description><![CDATA[I submitted a jQuery plugin to CodeCanyon before this past weekend started, and this morning I received an &#8220;it&#8217;s been accepted&#8221; email.  If you&#8217;re not already familiar with it, CodeCanyon is a marketplace for code.  It allows anyone to submit a piece of code to sell. If accepted, they set the price and [...]<p>
                             ~~~~~~~~~~~~~~~~

This has been a <a href="http://www.wooliet.com">woolie</a> posting.<br/><br/><a href="http://www.wooliet.com/2010/05/24/miter-box-slider/">Miter Box Slider</a></p>
]]></description>
			<content:encoded><![CDATA[<p>I submitted a jQuery plugin to <a href="http://codecanyon.net?ref=WoolieT">CodeCanyon</a> before this past weekend started, and this morning I received an &#8220;it&#8217;s been accepted&#8221; email.  If you&#8217;re not already familiar with it, <a href="http://codecanyon.net?ref=WoolieT">CodeCanyon</a> is a marketplace for code.  It allows anyone to submit a piece of code to sell. If accepted, they set the price and take a cut of any profits.  It&#8217;s part of the larger <a href="http://envato.com/">Envato</a> marketplace, which includes areas for selling things like <a href="http://themeforest.net?ref=WoolieT">site designs</a> and <a href="http://audiojungle.net?ref=WoolieT">audio clips</a>.  </p>
<p><a href="http://codecanyon.net/item/miter-box-slider/104871?ref=WoolieT">Miter Box Slider</a> is my submission. It&#8217;s a jQuery &#8217;slider&#8217; plugin (i.e. when there&#8217;s a slideshow display of images at websites). What&#8217;s awesome about it is that it provides the ability to create truly <em>unique</em> animation transitions. With other sliders you&#8217;ll see a set of predefined transition effects, but with <a href="http://codecanyon.net/item/miter-box-slider/104871?ref=WoolieT">Miter Box</a>, <em>you</em> create the transitions.  It&#8217;s actually very powerful.  One of the largest issues I had developing it was that I would often end up just playing with it. It&#8217;s a fun tool for experimenting. </p>
<p>Regardless of whether other people decide to use it, I really am pretty proud of it.  Remember that those who run the site review the code and set the price? Right now, mine is the <a href="http://codecanyon.net/category/javascript?x=23&#038;y=11&#038;order=desc&#038;sort_by=cost&#038;type=files&#038;categories=javascript&#038;page=1&#038;ref=WoolieT">highest priced</a> (one of only two at that price) item in the javascript section of code. I don&#8217;t know everything that goes into that price point, but I will say that I think it&#8217;s an indication of the power my plugin offers. </p>
<p>If you&#8217;ve got a site, or create sites, and are looking for some way to spice up the way you display your images, check out <a href="http://codecanyon.net/item/miter-box-slider/full_screen_preview/104871?ref=WoolieT">the Miter Box demo</a>.</p>
<p>
                             ~~~~~~~~~~~~~~~~

This has been a <a href="http://www.wooliet.com">woolie</a> posting.<br/><br/><a href="http://www.wooliet.com/2010/05/24/miter-box-slider/">Miter Box Slider</a></p>
<img src="http://feeds.feedburner.com/~r/wooliet/~4/3wtwHhqzseU" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.wooliet.com/2010/05/24/miter-box-slider/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.wooliet.com/2010/05/24/miter-box-slider/</feedburner:origLink></item>
		<item>
		<title>Yah New Look</title>
		<link>http://feedproxy.google.com/~r/wooliet/~3/xZayqi9GA-Q/</link>
		<comments>http://www.wooliet.com/2010/04/12/yah-new-look/#comments</comments>
		<pubDate>Tue, 13 Apr 2010 00:28:13 +0000</pubDate>
		<dc:creator>Woolie</dc:creator>
				<category><![CDATA[Site News]]></category>
		<category><![CDATA[design]]></category>
		<category><![CDATA[theme]]></category>

		<guid isPermaLink="false">http://www.wooliet.com/?p=451</guid>
		<description><![CDATA[As you have noticed (unless you&#8217;re reading the feed), the site has undergone a pretty hefty redesign.  It&#8217;s been two years since the last new look, and as with people, sites start to look old.

Some Details
First: be sure to notice the lettering for the header image (the &#8216;W&#8217;, &#8216;o&#8217;, &#8216;o&#8217;, etc.). It was drawn [...]<p>
                             ~~~~~~~~~~~~~~~~

This has been a <a href="http://www.wooliet.com">woolie</a> posting.<br/><br/><a href="http://www.wooliet.com/2010/04/12/yah-new-look/">Yah New Look</a></p>
]]></description>
			<content:encoded><![CDATA[<p>As you have noticed (unless you&#8217;re reading the feed), the site has undergone a pretty hefty redesign.  It&#8217;s been two years <a href="http://www.wooliet.com/2008/03/26/woolie-t-theme/#body_content">since the last new look</a>, and as with people, sites start to look old.<br />
<span id="more-451"></span></p>
<h3>Some Details</h3>
<p>First: be sure to notice the lettering for the header image (the &#8216;W&#8217;, &#8216;o&#8217;, &#8216;o&#8217;, etc.). It was drawn by my nine-year-old daughter. How fantastic is that!?  And my wife drew the now official Woolie T. mascot you see in the footer.  I&#8217;m pretty fond of my family.</p>
<p>The actual content area is larger by a couple hundred pixels, and the sidebar along the right is correspondingly smaller.  I didn&#8217;t want this blog to become a collection of sidebar widgets and ads that would overshadow and dominate the content.</p>
<p>Some posts will have an associated image to spice things up (on both the &#8216;front page&#8217; view as well as the &#8217;single page&#8217; view).  I used the Wordpress <code><a href="http://codex.wordpress.org/Function_Reference/get_post_custom_values">get_custom_values</a></code> in the backend to add those images (some of which will be mine, most of which will be via the <a href="http://www.flickr.com/creativecommons/">Creative Commons at Flickr</a>).  I&#8217;m pretty sure there&#8217;s a better way for me to use that feature (too may invidiual custom fields, I need to combine them into a single unit), but it works for now.</p>
<p>I really like (and am a bit proud of) the line that runs the length of the page, delimiting everything from the header to the footer posts and all the items in between.  One of my original goals with this design was creating some sort of linking graphic like that&#8230;.something that would tie the page together from top to bottom.  </p>
<p>Comments look a ton nicer as well now, though there&#8217;s no new functionality (no replying to an individual post, comment feeds etc.).</p>
<p>Anyone <a href="http://ie6funeral.com/">reading this with IE6</a>?  Everything is basically visible and looks somewhat the same.  The drop-down menu for &#8220;Categories&#8221; doesn&#8217;t work at all.   but I don&#8217;t plan on I&#8217;m going to touch the IE6 specific style sheet again. Peace out.</p>
<h3>Some ToDos</h3>
<p>The sidebar, though pretty small now, still needs more items. I just don&#8217;t know what I want to put there yet.  I&#8217;m trying to avoid too much of the standard stuff, because I want to keep it interesting.  It will most likely become a sort of experimental spot at which I&#8217;ll throw new code.</p>
<p>The footer area is basically blank as well.  It will probably end-up with some of the more standard sidebar type items (e.g blogroll).  But again, I just don&#8217;t know.</p>
<p>I&#8217;d like to have something more dedicated to support for <a href="http://www.wooliet.com/wp-plugins">my Wordpress plugin</a> (and any others I eventually create), but for now the <a href="http://wordpress.org/support/rss/tags/read-more-right-here">WP forums</a> is the best place to keep track.</p>
<h3>Vote for Me</h3>
<p>I hope those who stumble across this place enjoy the look.  I&#8217;d like it to be a good first impression.  If you&#8217;ve visited off-and-on in the past, then maybe the change will add a nice little jolt to your day. </p>
<p>
                             ~~~~~~~~~~~~~~~~

This has been a <a href="http://www.wooliet.com">woolie</a> posting.<br/><br/><a href="http://www.wooliet.com/2010/04/12/yah-new-look/">Yah New Look</a></p>
<img src="http://feeds.feedburner.com/~r/wooliet/~4/xZayqi9GA-Q" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.wooliet.com/2010/04/12/yah-new-look/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.wooliet.com/2010/04/12/yah-new-look/</feedburner:origLink></item>
		<item>
		<title>Puter Piano and Outside Rain</title>
		<link>http://feedproxy.google.com/~r/wooliet/~3/QTooAGpF0yU/</link>
		<comments>http://www.wooliet.com/2010/01/30/puter-piano-and-outside-rain/#comments</comments>
		<pubDate>Sat, 30 Jan 2010 19:42:57 +0000</pubDate>
		<dc:creator>Woolie</dc:creator>
				<category><![CDATA[Music]]></category>
		<category><![CDATA[Recommendations]]></category>
		<category><![CDATA[noise]]></category>
		<category><![CDATA[piano]]></category>
		<category><![CDATA[rain]]></category>

		<guid isPermaLink="false">http://www.wooliet.com/?p=440</guid>
		<description><![CDATA[The Virtual Piano is (judging by the notes that have been echoing out of a bedroom for the past hour) a big hit in our house. (courtesy of).
And while I&#8217;m here, Lifehacker recently pointed me to RainyMood.com.  On a whim I pushed play and then, after about an hour of interneting, realized it was [...]<p>
                             ~~~~~~~~~~~~~~~~

This has been a <a href="http://www.wooliet.com">woolie</a> posting.<br/><br/><a href="http://www.wooliet.com/2010/01/30/puter-piano-and-outside-rain/">Puter Piano and Outside Rain</a></p>
]]></description>
			<content:encoded><![CDATA[<p>The <a href="http://www.thevirtualpiano.com/">Virtual Piano</a> is (judging by the notes that have been echoing out of a bedroom for the past hour) a big hit in our house. (<a href="http://waxy.org/links/archive/2010/01/index.shtml">courtesy of</a>).</p>
<p>And while I&#8217;m here, <a href="http://lifehacker.com/5458197/rainymood-brings-rainstorm-ambience-to-your-office">Lifehacker</a> recently pointed me to <a href="http://www.rainymood.com/">RainyMood.com</a>.  On a whim I pushed play and then, after about an hour of interneting, realized it was still on.  Super job of drowning out ambient noise.</p>
<p>
                             ~~~~~~~~~~~~~~~~

This has been a <a href="http://www.wooliet.com">woolie</a> posting.<br/><br/><a href="http://www.wooliet.com/2010/01/30/puter-piano-and-outside-rain/">Puter Piano and Outside Rain</a></p>
<img src="http://feeds.feedburner.com/~r/wooliet/~4/QTooAGpF0yU" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.wooliet.com/2010/01/30/puter-piano-and-outside-rain/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.wooliet.com/2010/01/30/puter-piano-and-outside-rain/</feedburner:origLink></item>
		<item>
		<title>Calvin and Hobbes Documentary (make it happen!)</title>
		<link>http://feedproxy.google.com/~r/wooliet/~3/JqF58WAaIro/</link>
		<comments>http://www.wooliet.com/2009/12/30/calvin-and-hobbes-documentary-make-it-happen/#comments</comments>
		<pubDate>Wed, 30 Dec 2009 23:03:22 +0000</pubDate>
		<dc:creator>Woolie</dc:creator>
				<category><![CDATA[Movies]]></category>
		<category><![CDATA[Recommendations]]></category>
		<category><![CDATA[calvinandhobbes]]></category>
		<category><![CDATA[documentary]]></category>

		<guid isPermaLink="false">http://www.wooliet.com/?p=429</guid>
		<description><![CDATA[Calvin and Hobbes is without a doubt (and by a hefty margin) my favorite comic of all times.  
My first car had a sticker of the two of them flying in a box.
.
My only tattoo is a small one of Calvin dancing.
 
My oldest daughter started reading through some of my Calvin and Hobbes [...]<p>
                             ~~~~~~~~~~~~~~~~

This has been a <a href="http://www.wooliet.com">woolie</a> posting.<br/><br/><a href="http://www.wooliet.com/2009/12/30/calvin-and-hobbes-documentary-make-it-happen/">Calvin and Hobbes Documentary (make it happen!)</a></p>
]]></description>
			<content:encoded><![CDATA[<p>Calvin and Hobbes is without a doubt (and by a hefty margin) my favorite comic of all times.  </p>
<p>My first car had a sticker of the two of them flying in a box.</p>
<p><a href="http://www.wooliet.com/wp-content/uploads/2009/12/CalvinandHobbesbox.gif"><img src="http://www.wooliet.com/wp-content/uploads/2009/12/CalvinandHobbesbox-300x273.gif" alt="Flying Box" title="Calvin and Hobbes Box" border="0" width="300" height="273" class="aligncenter size-medium wp-image-430" /></a>.</p>
<p>My only tattoo is a small one of Calvin dancing.</p>
<p><a href="http://www.wooliet.com/wp-content/uploads/2009/12/calvin_and_hobbes_dancing.jpg"><img src="http://www.wooliet.com/wp-content/uploads/2009/12/calvin_and_hobbes_dancing.jpg" alt="" title="Calvin and Hobbes Dancing" border="0" width="157" height="134" class="aligncenter size-full wp-image-431" /></a> </p>
<p>My oldest daughter started reading through some of my <a href="http://www.amazon.com/gp/redirect.html?ie=UTF8&#038;location=http%3A%2F%2Fwww.amazon.com%2Fs%3Fie%3DUTF8%26x%3D0%26ref_%3Dnb%255Fss%255F0%255F6%26y%3D0%26field-keywords%3Dcalvin%2520and%2520hobbes%26url%3Dsearch-alias%253Dstripbooks%26sprefix%3DCalvin&#038;tag=woot0b-20&#038;linkCode=ur2&#038;camp=1789&#038;creative=390957">Calvin and Hobbes books</a><img src="https://www.assoc-amazon.com/e/ir?t=woot0b-20&#038;l=ur2&#038;o=1" width="1" height="1" border="0" alt="" style="border:none !important; margin:0px !important;" />, and seems to truly love it as well.</p>
<p>So <a href="http://www.kickstarter.com/projects/fingerprintfilms/dear-mr-watterson-a-cinematic-exploration-of-ca">here now is the Kickstarter (fund raising site) page</a> for <a href="http://web.mac.com/joelallenschroeder/DMW/dearmrwatterson.html">Dear Mr. Watterson</a>, a documentary about the strip.</p>
<blockquote><p>Dear Mr. Watterson is a film that will look to the readers and fans of Calvin &#038; Hobbes to tell the story of the strip and its creator. As we explore the art and impact of Bill Watterson through this unique perspective, the undying appreciation and love of Calvin &#038; Hobbes and the man behind it will be evident in the anecdotes, stories, and memories shared by readers of the strip and friends and colleagues of Mr. Watterson.</p>
<p>While the crew has been donating their time to make this project happen, we&#8217;ll be taking several trips to conduct interviews and collect footage, so the costs of air tickets, rental cars, meals, and motel stays will add up. The benefit of raising our goal of $12,000 all at once through Kickstarter is that we&#8217;ll be able to move forward on this film without the hurdle of funding, and the more we raise on top of that, the more we can do with the film.</p></blockquote>
<p>I would <em>love</em> to see this happen and am working on my contribution as these words type to my screen.  Consider doing the same!</p>
<p>
                             ~~~~~~~~~~~~~~~~

This has been a <a href="http://www.wooliet.com">woolie</a> posting.<br/><br/><a href="http://www.wooliet.com/2009/12/30/calvin-and-hobbes-documentary-make-it-happen/">Calvin and Hobbes Documentary (make it happen!)</a></p>
<img src="http://feeds.feedburner.com/~r/wooliet/~4/JqF58WAaIro" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.wooliet.com/2009/12/30/calvin-and-hobbes-documentary-make-it-happen/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.wooliet.com/2009/12/30/calvin-and-hobbes-documentary-make-it-happen/</feedburner:origLink></item>
		<item>
		<title>Four Dollars of Elvis</title>
		<link>http://feedproxy.google.com/~r/wooliet/~3/oHSqSAkXtq4/</link>
		<comments>http://www.wooliet.com/2009/12/30/four-dollars-of-elvis/#comments</comments>
		<pubDate>Wed, 30 Dec 2009 18:25:56 +0000</pubDate>
		<dc:creator>Woolie</dc:creator>
				<category><![CDATA[Music]]></category>
		<category><![CDATA[elvis]]></category>

		<guid isPermaLink="false">http://www.wooliet.com/?p=417</guid>
		<description><![CDATA[Amazon has a $3.99 deal on Elvis 75 happening today.  I don&#8217;t actually have any Elvis around so this seemed like as good a time as any to grab some.


                         [...]<p>
                             ~~~~~~~~~~~~~~~~

This has been a <a href="http://www.wooliet.com">woolie</a> posting.<br/><br/><a href="http://www.wooliet.com/2009/12/30/four-dollars-of-elvis/">Four Dollars of Elvis</a></p>
]]></description>
			<content:encoded><![CDATA[<p>Amazon has a $3.99 deal on <a href="http://www.amazon.com/gp/product/B0030J0P6C?ie=UTF8&#038;tag=woot0b-20&#038;linkCode=as2&#038;camp=1789&#038;creative=390957&#038;creativeASIN=B0030J0P6C">Elvis 75</a> happening today.  I don&#8217;t actually have any Elvis around so this seemed like as good a time as any to grab some.</p>
<p><a href="http://www.amazon.com/gp/product/B0030J0P6C?ie=UTF8&#038;tag=woot0b-20&#038;linkCode=as2&#038;camp=1789&#038;creative=390957&#038;creativeASIN=B0030J0P6C"><img border="0" src="http://www.wooliet.com/wp-content/uploads/2009/12/41ulCVkACfL._SL160_.jpg"></a><img src="http://www.assoc-amazon.com/e/ir?t=woot0b-20&#038;l=as2&#038;o=1&#038;a=B0030J0P6C" width="1" height="1" border="0" alt="" style="border:none !important; margin:0px !important;" /></p>
<p>
                             ~~~~~~~~~~~~~~~~

This has been a <a href="http://www.wooliet.com">woolie</a> posting.<br/><br/><a href="http://www.wooliet.com/2009/12/30/four-dollars-of-elvis/">Four Dollars of Elvis</a></p>
<img src="http://feeds.feedburner.com/~r/wooliet/~4/oHSqSAkXtq4" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.wooliet.com/2009/12/30/four-dollars-of-elvis/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		<feedburner:origLink>http://www.wooliet.com/2009/12/30/four-dollars-of-elvis/</feedburner:origLink></item>
		<item>
		<title>Silent Night by House of Heroes</title>
		<link>http://feedproxy.google.com/~r/wooliet/~3/fNUHM7hgAP8/</link>
		<comments>http://www.wooliet.com/2009/12/12/silent-night-by-house-of-heroes/#comments</comments>
		<pubDate>Sun, 13 Dec 2009 01:12:59 +0000</pubDate>
		<dc:creator>Woolie</dc:creator>
				<category><![CDATA[Music]]></category>
		<category><![CDATA[christmas]]></category>
		<category><![CDATA[houseofheros]]></category>
		<category><![CDATA[silentnight]]></category>

		<guid isPermaLink="false">http://www.wooliet.com/?p=411</guid>
		<description><![CDATA[Amazon MP3 is giving away free Christmas songs this month.  And here is, by far, my favorite so far: Silent Night by House Of Heroes. No idea who they are, but I&#8217;m now thinking they might be worth checking out.

               [...]<p>
                             ~~~~~~~~~~~~~~~~

This has been a <a href="http://www.wooliet.com">woolie</a> posting.<br/><br/><a href="http://www.wooliet.com/2009/12/12/silent-night-by-house-of-heroes/">Silent Night by House of Heroes</a></p>
]]></description>
			<content:encoded><![CDATA[<p>Amazon MP3 is giving away <a href="http://www.amazon.com/gp/redirect.html?ie=UTF8&#038;location=http%3A%2F%2Fwww.amazon.com%2Fgp%2Ffeature.html%3Fie%3DUTF8%26ref_%3Ddm%255Ftw%255F25days%26docId%3D1000453281&#038;tag=woot0b-20&#038;linkCode=ur2&#038;camp=1789&#038;creative=390957">free Christmas songs</a><img src="https://www.assoc-amazon.com/e/ir?t=woot0b-20&#038;l=ur2&#038;o=1" width="1" height="1" border="0" alt="" style="border:none !important; margin:0px !important;" /> this month.  And here is, by far, my favorite so far: <a href="http://www.amazon.com/gp/product/B002UV37UM?ie=UTF8&#038;tag=woot0b-20&#038;linkCode=as2&#038;camp=1789&#038;creative=390957&#038;creativeASIN=B002UV37UM">Silent Night</a><img src="http://www.assoc-amazon.com/e/ir?t=woot0b-20&#038;l=as2&#038;o=1&#038;a=B002UV37UM" width="1" height="1" border="0" alt="" style="border:none !important; margin:0px !important;" /> by <a href="http://www.amazon.com/gp/product/B000SZZ26E?ie=UTF8&#038;tag=woot0b-20&#038;linkCode=as2&#038;camp=1789&#038;creative=390957&#038;creativeASIN=B000SZZ26E">House Of Heroes</a><img src="http://www.assoc-amazon.com/e/ir?t=woot0b-20&#038;l=as2&#038;o=1&#038;a=B000SZZ26E" width="1" height="1" border="0" alt="" style="border:none !important; margin:0px !important;" />. No idea who they are, but I&#8217;m now thinking they might be worth checking out.</p>
<p>
                             ~~~~~~~~~~~~~~~~

This has been a <a href="http://www.wooliet.com">woolie</a> posting.<br/><br/><a href="http://www.wooliet.com/2009/12/12/silent-night-by-house-of-heroes/">Silent Night by House of Heroes</a></p>
<img src="http://feeds.feedburner.com/~r/wooliet/~4/fNUHM7hgAP8" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.wooliet.com/2009/12/12/silent-night-by-house-of-heroes/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.wooliet.com/2009/12/12/silent-night-by-house-of-heroes/</feedburner:origLink></item>
		<item>
		<title>SWFObject, IE and Dynamic Content (a problem)</title>
		<link>http://feedproxy.google.com/~r/wooliet/~3/X30deE8FEUk/</link>
		<comments>http://www.wooliet.com/2009/07/22/swfobject-ie-and-dynamic-content-a-problem/#comments</comments>
		<pubDate>Thu, 23 Jul 2009 04:43:08 +0000</pubDate>
		<dc:creator>Woolie</dc:creator>
				<category><![CDATA[WebDev]]></category>
		<category><![CDATA[firebug]]></category>
		<category><![CDATA[ie]]></category>
		<category><![CDATA[jquery]]></category>
		<category><![CDATA[readmorerighthere]]></category>
		<category><![CDATA[swfobject]]></category>

		<guid isPermaLink="false">http://www.wooliet.com/?p=388</guid>
		<description><![CDATA[I&#8217;ve got a problem.  The main players are my plugin, Internet Explorer (7, maybe 8, not 6) and SWFObject.  
The original inkling of issues came via Anon&#8217;s comment, on my previous update post, that YouTube videos pulled down as part of the &#8220;more&#8221; section were broken.  I tested this locally and saw [...]<p>
                             ~~~~~~~~~~~~~~~~

This has been a <a href="http://www.wooliet.com">woolie</a> posting.<br/><br/><a href="http://www.wooliet.com/2009/07/22/swfobject-ie-and-dynamic-content-a-problem/">SWFObject, IE and Dynamic Content (a problem)</a></p>
]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve got a problem.  The main players are <a href="http://wordpress.org/extend/plugins/read-more-right-here/">my plugin</a>, <a href="http://www.microsoft.com/windows/internet-explorer/default.aspx">Internet Explorer</a> (7, maybe 8, not 6) and <a href="http://code.google.com/p/swfobject/">SWFObject</a>.  </p>
<p>The original inkling of issues came via <a href="http://www.wooliet.com/2009/07/16/rmrh-update-for-wp-2-8-1/comment-page-1/#comment-1165">Anon&#8217;s comment</a>, on my previous update post, that YouTube videos pulled down as part of the &#8220;more&#8221; section were broken.  I tested this locally and saw that, with IE7, he/she was right.  Of course, it&#8217;s not <em>just</em> YouTube. It would be any of the <code>&lt;object&gt;/&lt;embed&gt;</code> elements video sharing sites provide.</p>
<p>That really sucks.<br />
<span id="more-388"></span></p>
<h3>The Fix (sorta)</h3>
<p>After spending one night trying to figure out what I could do to fix this, it became obvious that the generally accepted solution to dynamically adding those flash objects to a page is to use SWFObject, <a href="http://code.google.com/p/swfobject/wiki/documentation">which</a>:</p>
<blockquote><p>
Offers a JavaScript API that aims to provide a complete tool set for embedding SWF files and retrieving Flash Player related information </p></blockquote>
<p>I really (always optimistic) thought this would be a quick set of changes to the javascript file; call the <code>swfobject.embedSWF</code> method and be done with it.  Best of all, swfobject.js is already distributed with the Wordpress install (which, by the way, I don&#8217;t see mentioned <a href="http://codex.wordpress.org/Function_Reference/wp_enqueue_script">in the codex</a>, the script handle to use to enqueue or set is as a dependency is <code>'swfobject'</code>).  But I couldn&#8217;t seem to get it to work, at least not in IE7.</p>
<p>That really sucks.</p>
<h3>What IE Doesn&#8217;t Like</h3>
<p>In the end, after much debugging with the <a href="http://code.google.com/p/swfobject/downloads/list">uncompressed version of SWFobject</a>, <a href="http://getfirebug.com/lite.html">Firebug Lite</a> and <em>beaucoup de</em> calls to <code>console.log</code>, I found the issue to be SWFobject&#8217;s call to <code>outterHTML</code>.  </p>
<p>You see, when it creates this new element for the DOM, it needs someplace to put it.  You provide the id of the element which will be used as that replacement.  Sort of like the sacrificial lamb for the the new <code>&lt;object&gt;</code>.  It&#8217;s through <code>outterHTML</code> that the replacement occurs.  It sets the old element to be the new one.</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>435
</pre></td><td class="code"><pre class="javascript" style="font-family:monospace;">el.<span style="color: #660066;">outerHTML</span> <span style="color: #339933;">=</span> <span style="color: #3366CC;">'&lt;object classid=&quot;clsid:D27CDB6E-AE6D-11cf-96B8-444553540000&quot;'</span> <span style="color: #339933;">+</span> att <span style="color: #339933;">+</span> <span style="color: #3366CC;">'&gt;'</span> <span style="color: #339933;">+</span> par <span style="color: #339933;">+</span> <span style="color: #3366CC;">'&lt;/object&gt;'</span><span style="color: #339933;">;</span></pre></td></tr></table></div>

<p><code>createSWF</code><em> function (line number as of version 2.2)</em></p>
<p>My plan was to replace the original object with the new one.  When that didn&#8217;t work, I tried inserting a <code>&lt;div&gt;</code> as the target for replacement, right before the object, but that failed in the same way.  Finally, I realized what was going on, and set as the replacement an item that already existed in the DOM (in other words, it wasn&#8217;t something pulled in and added dynamically by the RMRH plugin).  That worked.</p>
<p>The problem seems to be that, when the element to be replaced has also been dynamically created, IE throws an exception when you try to change it.  In other words, I created the sacrificial lamb and IE wants for it to have always existed.</p>
<h3>The Fix Again (sorta, again)</h3>
<p>But it bugged me that the call to <code>outterHTML</code> was the point-of-failure here.  After all, I know I manipulate the DOM all the time in <a href="http://jquery.com/">jQuery</a>.  Right?  It provides <a href="http://docs.jquery.com/Manipulation/replaceWith#content"><code>replaceWith</code></a> as part of its API after all, and that always seems to work.</p>
<p>So I replaced SWFObject&#8217;s call to <code>outterHTML</code> with jQuery&#8217;s <code>replaceWith</code> (does that count as ironic?), and the problem was solved.</p>
<h3>So What Do I Do?</h3>
<p>I don&#8217;t really want to change that one line and then bundle the modified swfobject.js file with my plugin.  But that&#8217;s the only solution I can think of.  Well, that and maybe just recreate (i.e. copy) the relevant SWFObject code in my javascript, to be used only with IE.  But I can&#8217;t help but think there must be a better line of action here.</p>
<p>This has to be a relatively common situation.  I mean, pull down content using AJAX, content happens to contain an embedded flash player, use SWFObject to make sure it renders in IE.  I guess what&#8217;s missing is that in the common scenarios, an existing element is already set aside and ready to accept the new object.  But I can&#8217;t do that with my plugin. </p>
<p>So what do I do?</p>
<p>
                             ~~~~~~~~~~~~~~~~

This has been a <a href="http://www.wooliet.com">woolie</a> posting.<br/><br/><a href="http://www.wooliet.com/2009/07/22/swfobject-ie-and-dynamic-content-a-problem/">SWFObject, IE and Dynamic Content (a problem)</a></p>
<img src="http://feeds.feedburner.com/~r/wooliet/~4/X30deE8FEUk" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.wooliet.com/2009/07/22/swfobject-ie-and-dynamic-content-a-problem/feed/</wfw:commentRss>
		<slash:comments>11</slash:comments>
		<feedburner:origLink>http://www.wooliet.com/2009/07/22/swfobject-ie-and-dynamic-content-a-problem/</feedburner:origLink></item>
		<item>
		<title>RMRH Update for WP 2.8.1</title>
		<link>http://feedproxy.google.com/~r/wooliet/~3/p6-SHzpL3QU/</link>
		<comments>http://www.wooliet.com/2009/07/16/rmrh-update-for-wp-2-8-1/#comments</comments>
		<pubDate>Fri, 17 Jul 2009 04:28:34 +0000</pubDate>
		<dc:creator>Woolie</dc:creator>
				<category><![CDATA[Site News]]></category>
		<category><![CDATA[WebDev]]></category>
		<category><![CDATA[plugin]]></category>
		<category><![CDATA[readmorerighthere]]></category>
		<category><![CDATA[update]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://www.wooliet.com/?p=379</guid>
		<description><![CDATA[I had to update the Read More Right Here plugin for the recent 2.8.1 Wordpress release (details below).  The most important item to note is that now the minimum required version of WP is 2.8.

Details, Details
I previously was calling a function I wrote to set the URL to the plugin root directory. This was [...]<p>
                             ~~~~~~~~~~~~~~~~

This has been a <a href="http://www.wooliet.com">woolie</a> posting.<br/><br/><a href="http://www.wooliet.com/2009/07/16/rmrh-update-for-wp-2-8-1/">RMRH Update for WP 2.8.1</a></p>
]]></description>
			<content:encoded><![CDATA[<p>I had to update the <a href="http://wordpress.org/extend/plugins/read-more-right-here/">Read More Right Here</a> plugin for the recent 2.8.1 Wordpress release (details below).  The most important item to note is that now the minimum required version of WP is 2.8.</p>
<p><span id="more-379"></span></p>
<h3>Details, Details</h3>
<p>I previously was calling a function I wrote to set the URL to the plugin root directory. This was then used to register the script with WP and was also passed down to the javascript using <code><a href="http://www.prelovac.com/vladimir/best-practice-for-adding-javascript-code-to-wordpress-plugin">wp_localize_script</a></code>.</p>
<p>The one-liner function:</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">function</span> wt_rmrh_getBasePath<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span>
<span style="color: #009900;">&#123;</span>
    <span style="color: #b1b100;">return</span> get_bloginfo<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'wpurl'</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">.</span> <span style="color: #0000ff;">&quot;/&quot;</span> <span style="color: #339933;">.</span> PLUGINDIR <span style="color: #339933;">.</span> <span style="color: #0000ff;">&quot;/&quot;</span> <span style="color: #339933;">.</span> plugin_basename<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;read-more-right-here/&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span></pre></div></div>

<p>With the 2.8.1 update, the above no longer worked.  Before 2.8.1, the path in a page&#8217;s header was (in part):</p>
<p>&nbsp;&nbsp;&nbsp;<code>plugins/read-more-right-here/js/wt_rmrh.js</code></p>
<p>After the 2.8.1 update, the path became:</p>
<p>&nbsp;&nbsp;&nbsp;<code>plugins/read-more-right-<strong>herejs/</strong>wt_rmrh.js</code></p>
<p>Needles to say, that javascript file isn&#8217;t going to load.  </p>
<p>I looked through <em>wp-includes/plugin.php</em> and found the <code>plugin_dir</code> function which </p>
<blockquote><p>Gets the URL directory path (with trailing slash) for the plugin __FILE__ passed in</p></blockquote>
<p>(their function comment).</p>
<p>So I deleted the function (which was only being called once) and replaced</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000088;">$pluginUrl</span> <span style="color: #339933;">=</span> wt_rmrh_getBasePath<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></div></div>

<p>with</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000088;">$pluginUrl</span> <span style="color: #339933;">=</span> plugin_dir_url<span style="color: #009900;">&#40;</span><span style="color: #009900; font-weight: bold;">__FILE__</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></div></div>

<p>Everything seems to be in working order now. At least until the next Wordpress version!</p>
<p>
                             ~~~~~~~~~~~~~~~~

This has been a <a href="http://www.wooliet.com">woolie</a> posting.<br/><br/><a href="http://www.wooliet.com/2009/07/16/rmrh-update-for-wp-2-8-1/">RMRH Update for WP 2.8.1</a></p>
<img src="http://feeds.feedburner.com/~r/wooliet/~4/p6-SHzpL3QU" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.wooliet.com/2009/07/16/rmrh-update-for-wp-2-8-1/feed/</wfw:commentRss>
		<slash:comments>11</slash:comments>
		<feedburner:origLink>http://www.wooliet.com/2009/07/16/rmrh-update-for-wp-2-8-1/</feedburner:origLink></item>
		<item>
		<title>Overflowing List Elements</title>
		<link>http://feedproxy.google.com/~r/wooliet/~3/yUTmQmLdD1U/</link>
		<comments>http://www.wooliet.com/2009/07/13/overflowing-list-elements/#comments</comments>
		<pubDate>Tue, 14 Jul 2009 05:43:34 +0000</pubDate>
		<dc:creator>Woolie</dc:creator>
				<category><![CDATA[WebDev]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[help]]></category>
		<category><![CDATA[lists]]></category>
		<category><![CDATA[php]]></category>

		<guid isPermaLink="false">http://www.wooliet.com/?p=372</guid>
		<description><![CDATA[So I had a problem.  A long, unordered list of links seems to want to overflow out of their containing &#60;div&#62;.  The list items were set to display inline and were extending out past the width of that &#60;div&#62; instead of wrapping down to a new &#8220;row&#8221;. This list was being generated programmatically, [...]<p>
                             ~~~~~~~~~~~~~~~~

This has been a <a href="http://www.wooliet.com">woolie</a> posting.<br/><br/><a href="http://www.wooliet.com/2009/07/13/overflowing-list-elements/">Overflowing List Elements</a></p>
]]></description>
			<content:encoded><![CDATA[<p>So I had a problem.  A long, unordered list of links seems to want to overflow out of their containing <code>&lt;div&gt;</code>.  The list items were set to display inline and were extending out past the width of that <code>&lt;div&gt;</code> instead of wrapping down to a new &#8220;row&#8221;. This list was being generated programmatically, i.e. (simplified):</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
</pre></td><td class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000088;">$values</span> <span style="color: #339933;">=</span> get_values<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #000088;">$display</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">&quot;&lt;ul&gt;&quot;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #b1b100;">foreach</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$values</span> <span style="color: #b1b100;">as</span> <span style="color: #000088;">$value</span><span style="color: #009900;">&#41;</span>
<span style="color: #009900;">&#123;</span>
    <span style="color: #000088;">$display</span> <span style="color: #339933;">.=</span> <span style="color: #0000ff;">&quot;&lt;li&gt;<span style="color: #006699; font-weight: bold;">$value</span>&lt;/li&gt;&quot;</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span>
&nbsp;
<span style="color: #000088;">$display</span> <span style="color: #339933;">.=</span> <span style="color: #0000ff;">&quot;&lt;/ul&gt;&quot;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #b1b100;">echo</span> <span style="color: #000088;">$display</span><span style="color: #339933;">;</span></pre></td></tr></table></div>

<p>Why was my list spilling out of its well defined boundaries?  A staggering amount of time was spent fiddling with every possible CSS property for that element and those around it.  Edit, save and reload. Edit save and reload. It was driving me <em>insane</em>.</p>
<p>Solution? <strong>Append a newline after each list element.</strong></p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>6
</pre></td><td class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000088;">$display</span> <span style="color: #339933;">.=</span> <span style="color: #0000ff;">&quot;&lt;li&gt;<span style="color: #006699; font-weight: bold;">$value</span>&lt;/li&gt;<span style="color: #000099; font-weight: bold;">\n</span>&quot;</span><span style="color: #339933;">;</span></pre></td></tr></table></div>

<p>I have no idea why.  If you do, please enlighten in the comments.</p>
<p>Dear Lord I hope this helps someone else out.</p>
<p>
                             ~~~~~~~~~~~~~~~~

This has been a <a href="http://www.wooliet.com">woolie</a> posting.<br/><br/><a href="http://www.wooliet.com/2009/07/13/overflowing-list-elements/">Overflowing List Elements</a></p>
<img src="http://feeds.feedburner.com/~r/wooliet/~4/yUTmQmLdD1U" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.wooliet.com/2009/07/13/overflowing-list-elements/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.wooliet.com/2009/07/13/overflowing-list-elements/</feedburner:origLink></item>
		<item>
		<title>Watch Kings Rule</title>
		<link>http://feedproxy.google.com/~r/wooliet/~3/NbZw4Pdbbhg/</link>
		<comments>http://www.wooliet.com/2009/06/25/watch-kings-rule/#comments</comments>
		<pubDate>Fri, 26 Jun 2009 02:28:33 +0000</pubDate>
		<dc:creator>Woolie</dc:creator>
				<category><![CDATA[Recommendations]]></category>
		<category><![CDATA[TV]]></category>

		<guid isPermaLink="false">http://www.wooliet.com/?p=365</guid>
		<description><![CDATA[Is anyone else watching Kings?  I mean, is it a &#8220;hit&#8221;?  Are the ratings good?  Is it going to last for more than this first season?  I ask because I care.  I care because I really like this show, and I&#8217;m not seeing much in the way of internet chatter. [...]<p>
                             ~~~~~~~~~~~~~~~~

This has been a <a href="http://www.wooliet.com">woolie</a> posting.<br/><br/><a href="http://www.wooliet.com/2009/06/25/watch-kings-rule/">Watch Kings Rule</a></p>
]]></description>
			<content:encoded><![CDATA[<p>Is anyone else watching <a href="http://www.hulu.com/kings">Kings</a>?  I mean, is it a &#8220;hit&#8221;?  Are the ratings good?  Is it going to last for more than this first season?  I ask because I care.  I care because I <em>really</em> like this show, and I&#8217;m not seeing much in the way of internet chatter.  Granted, I haven&#8217;t actively searched for people&#8217;s reactions, but normally you come across this or that, here or there, while idly browsing around.  And I haven&#8217;t, which surprises me.</p>
<p>If you&#8217;re not familiar with it, the gist is: Story of a royal family in a modern, fictional world.  And the ruler, the king, is not a figure-head. He&#8217;s the real deal with power to spare.  And so there are the expected power struggles internally and externally.  Military action and political action.  </p>
<p>It&#8217;s all very well done and fun to watch.  A sometime small twist to it all is the idea of the king being <a href="http://en.wikipedia.org/wiki/Divine_Providence">truly &#8220;chosen&#8221; by God</a>. There is a strong undercurrent of signs and symbols the leads look for and notice.</p>
<p>I hope people are watching.  I hope the show lasts (and continues to be entertaining and interesting).  I hope I&#8217;m not the only one watching.</p>
<p>
                             ~~~~~~~~~~~~~~~~

This has been a <a href="http://www.wooliet.com">woolie</a> posting.<br/><br/><a href="http://www.wooliet.com/2009/06/25/watch-kings-rule/">Watch Kings Rule</a></p>
<img src="http://feeds.feedburner.com/~r/wooliet/~4/NbZw4Pdbbhg" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.wooliet.com/2009/06/25/watch-kings-rule/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		<feedburner:origLink>http://www.wooliet.com/2009/06/25/watch-kings-rule/</feedburner:origLink></item>
		<item>
		<title>Wordpress 2.8 Breaks RMRH Plugin</title>
		<link>http://feedproxy.google.com/~r/wooliet/~3/EMdI0-0A-iM/</link>
		<comments>http://www.wooliet.com/2009/06/17/wordpress-2-8-breaks-rmrh-plugin/#comments</comments>
		<pubDate>Thu, 18 Jun 2009 00:13:04 +0000</pubDate>
		<dc:creator>Woolie</dc:creator>
				<category><![CDATA[Site News]]></category>
		<category><![CDATA[WebDev]]></category>
		<category><![CDATA[defect]]></category>
		<category><![CDATA[jquery]]></category>
		<category><![CDATA[plugin]]></category>
		<category><![CDATA[readmorerighthere]]></category>
		<category><![CDATA[update]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://www.wooliet.com/?p=349</guid>
		<description><![CDATA[(It&#8217;s fixed&#8230;.see second update below)
I just updated this site to use the latest WP (2.8) and now my &#8220;Read More Right Here&#8221; plugin doesn&#8217;t work quite right.  When you click the &#8220;Read More&#8221; text, the rest of the post successfully downloads and is displayed. However, the next &#8220;click&#8221; takes you to the post&#8217;s single [...]<p>
                             ~~~~~~~~~~~~~~~~

This has been a <a href="http://www.wooliet.com">woolie</a> posting.<br/><br/><a href="http://www.wooliet.com/2009/06/17/wordpress-2-8-breaks-rmrh-plugin/">Wordpress 2.8 Breaks RMRH Plugin</a></p>
]]></description>
			<content:encoded><![CDATA[<p><strong><em>(It&#8217;s fixed&#8230;.see second update below)</em></strong></p>
<p>I just updated this site to use the latest WP (2.8) and now my &#8220;<a href="http://wordpress.org/extend/plugins/read-more-right-here/">Read More Right Here</a>&#8221; plugin doesn&#8217;t work quite right.  When you click the &#8220;Read More&#8221; text, the rest of the post successfully downloads and is displayed. However, the next &#8220;click&#8221; takes you to the post&#8217;s single page display instead of just collapsing the new content.  </p>
<p>I will hopefully get this sorted out soon. Whenever I do, I&#8217;ll update here.</p>
<p><strong>UPDATE:</strong></p>
<p>Unfortunately I haven&#8217;t been able to fix this.  The problem is caused by the latest version of <a href="http://jquery.com/">jQuery</a> (1.3.2), to which WP apparently updated.  Actually, it was caused somehow in the changes made in between <a href="http://docs.jquery.com/Release:jQuery_1.2.6">1.2.6</a> and <a href="http://docs.jquery.com/Release:jQuery_1.3">1.3</a>.</p>
<p>Specifically, the function <code>curCSS</code> is throwing exceptions during the animation of the new content &#8220;away&#8221; (i.e. hiding).</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>800
</pre></td><td class="code"><pre class="javascript" style="font-family:monospace;"><span style="color: #003366; font-weight: bold;">var</span> computedStyle <span style="color: #339933;">=</span> defaultView.<span style="color: #660066;">getComputedStyle</span><span style="color: #009900;">&#40;</span> elem<span style="color: #339933;">,</span> <span style="color: #003366; font-weight: bold;">null</span> <span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></td></tr></table></div>

<p>The <code>elem</code> parameter being passed to <code>getComputedStyle</code> that causes the exception is a &#8220;<strong>\n</strong>&#8220;.  With jQuery 1.2.6, I don&#8217;t see that element being passed to that function.</p>
<p>I tried some of the other animation techniques, but they I guess they all hit <code>curCSS</code> at some point or another.  Even plain old <code>hide</code> causes problems.  </p>
<p>So&#8230;..sorry.  As of right now, the RMRH plugin does not work with WP 2.8.  The only solution I can see at the moment is to include the older version of jQuery with the plugin. But I&#8217;m not sure yet how that will work out.</p>
<p><strong>UPDATE 2:  <font color="green">FIXED</font></strong><br />
<span id="more-349"></span><br />
It&#8217;s funny how a day away can make a difference.  It only took about 10 minutes to get this fixed.</p>
<p>So I knew that jQuery couldn&#8217;t have a defect that serious that wasn&#8217;t already fixed.  The most recent version has been available for more than four months now, and too many people use it for that issue to still be around.  I figured the the problem had to be how I was creating the new content that is inserted into the DOM.  </p>
<p>My previous method for doing this was:</p>

<div class="wp_syntax"><div class="code"><pre class="javascript" style="font-family:monospace;"><span style="color: #003366; font-weight: bold;">var</span> newEl <span style="color: #339933;">=</span> $j<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;&lt;p&gt; + newContent + &lt;/p&gt;&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></div></div>

<p>And the fixed method of the above code is:</p>

<div class="wp_syntax"><div class="code"><pre class="javascript" style="font-family:monospace;"><span style="color: #003366; font-weight: bold;">var</span> newEl <span style="color: #339933;">=</span> $j<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;&lt;p&gt;&quot;</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">html</span><span style="color: #009900;">&#40;</span>newContent<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></div></div>

<p>All I can think is that the use of <code>"&lt;p&gt; + newContent + &lt;/p&gt;"</code> somehow results in newline characters (<code>/n</code>) being inserted as part of the string.  The new method does not use string operators, only the <code>&lt;p&gt;</code> element and its html content are created.</p>
<p>Anyway, it&#8217;s fixed.  If you use the &#8220;Read More Right Here&#8221; plugin and have updated to Wordpress 2.8, you need to update the plugin to version 1.0.3.</p>
<p>
                             ~~~~~~~~~~~~~~~~

This has been a <a href="http://www.wooliet.com">woolie</a> posting.<br/><br/><a href="http://www.wooliet.com/2009/06/17/wordpress-2-8-breaks-rmrh-plugin/">Wordpress 2.8 Breaks RMRH Plugin</a></p>
<img src="http://feeds.feedburner.com/~r/wooliet/~4/EMdI0-0A-iM" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.wooliet.com/2009/06/17/wordpress-2-8-breaks-rmrh-plugin/feed/</wfw:commentRss>
		<slash:comments>22</slash:comments>
		<feedburner:origLink>http://www.wooliet.com/2009/06/17/wordpress-2-8-breaks-rmrh-plugin/</feedburner:origLink></item>
		<item>
		<title>Where You Fit In</title>
		<link>http://feedproxy.google.com/~r/wooliet/~3/J4WwvPs52x4/</link>
		<comments>http://www.wooliet.com/2009/06/06/where-you-fit-in/#comments</comments>
		<pubDate>Sun, 07 Jun 2009 04:12:31 +0000</pubDate>
		<dc:creator>Woolie</dc:creator>
				<category><![CDATA[Art]]></category>
		<category><![CDATA[comic]]></category>
		<category><![CDATA[smbc]]></category>

		<guid isPermaLink="false">http://www.wooliet.com/?p=344</guid>
		<description><![CDATA[I had to add another Saturday Morning Breakfast Cereal strip, as this has got to be one of the best gags ever.  




                             ~~~~~~~~~~~~~~~~

This has been [...]<p>
                             ~~~~~~~~~~~~~~~~

This has been a <a href="http://www.wooliet.com">woolie</a> posting.<br/><br/><a href="http://www.wooliet.com/2009/06/06/where-you-fit-in/">Where You Fit In</a></p>
]]></description>
			<content:encoded><![CDATA[<p>I had to add <a href="http://www.wooliet.com/2008/10/21/the-dreary-reality/">another</a> <a href="http://www.smbc-comics.com/"><strong>S</strong>aturday <strong>M</strong>orning <strong>B</strong>reakfast <strong>C</strong>ereal</a> strip, as this has got to be one of the best gags ever.  </p>
<p><span id="more-344"></span><br />
<a href="http://www.smbc-comics.com/index.php?db=comics&#038;id=1539"><br />
<img src="http://www.smbc-comics.com/comics/20090606.gif"></a></p>
<p>
                             ~~~~~~~~~~~~~~~~

This has been a <a href="http://www.wooliet.com">woolie</a> posting.<br/><br/><a href="http://www.wooliet.com/2009/06/06/where-you-fit-in/">Where You Fit In</a></p>
<img src="http://feeds.feedburner.com/~r/wooliet/~4/J4WwvPs52x4" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.wooliet.com/2009/06/06/where-you-fit-in/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.wooliet.com/2009/06/06/where-you-fit-in/</feedburner:origLink></item>
		<item>
		<title>Absolute Positioning and the Canvas Element</title>
		<link>http://feedproxy.google.com/~r/wooliet/~3/vLMHhDRe2Gs/</link>
		<comments>http://www.wooliet.com/2009/06/01/absolute-positioning-and-the-canvas-element/#comments</comments>
		<pubDate>Tue, 02 Jun 2009 04:27:46 +0000</pubDate>
		<dc:creator>Woolie</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[WebDev]]></category>
		<category><![CDATA[canvas]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[johnresig]]></category>
		<category><![CDATA[processingjs]]></category>

		<guid isPermaLink="false">http://www.wooliet.com/?p=337</guid>
		<description><![CDATA[I&#8217;ve been working on a personal &#8220;hobby time&#8221; project lately using John Resig&#8217;s port of Processing (a Java thing) to Processing.js (a javascript thing).
I was at one of those lulls where, instead of worrying about the code, I started playing with the layout.  My &#60;canvas&#62; element is sitting inside a &#60;div&#62;, whose &#8220;positioning&#8221; property [...]<p>
                             ~~~~~~~~~~~~~~~~

This has been a <a href="http://www.wooliet.com">woolie</a> posting.<br/><br/><a href="http://www.wooliet.com/2009/06/01/absolute-positioning-and-the-canvas-element/">Absolute Positioning and the Canvas Element</a></p>
]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been working on a personal &#8220;hobby time&#8221; project lately using <a href="http://ejohn.org/">John Resig&#8217;s</a> port of <a href="http://processing.org/">Processing</a> (a Java thing) to <a href="http://processingjs.org/">Processing.js</a> (a javascript thing).</p>
<p>I was at one of those lulls where, instead of worrying about the code, I started playing with the layout.  My <code>&lt;canvas&gt;</code> element is sitting inside a <code>&lt;div&gt;</code>, whose &#8220;positioning&#8221; property I changed to <code>absolute</code>.  After this edit, the top-left corner of my <code>&lt;canvas&gt;</code> was no longer <code>(0,0)</code>.  It had changed to the <code>(x,y)</code> coordinate of the <code>&lt;canvas&gt;</code> element on the page. </p>
<p>Of course, the above conclusion was only reached <em>after</em> a bunch of &#8220;W.T.F is going on? Why T.F. is everything broken?&#8221;. After some other debugging routes, it dawned on me what <em>might</em> have happened.  So I set the <a href="http://processingjs.org/reference/frameRate">frame rate</a> to 1, and used <a href="http://getfirebug.com/">Firebug</a> to <a href="http://getfirebug.com/logging.html">log</a> the <a href="http://processingjs.org/reference/mouseX"><code>mouseX</code></a> and <a href="http://processingjs.org/reference/mouseY"><code>mouseY</code></a> as I moved the mouse around.  Sure enough, my positioning of &#8220;<code>top: 200; left:200;</code>&#8221; was reflected in Firebug&#8217;s console output showing coordinates near those values while hovering around the top left corner.  Commenting out the style sheet&#8217;s absolute positioning returned the console output to the <code>(0,0)</code> area code.</p>
<p>So this is a defect, right?  I can&#8217;t imagine that&#8217;s how it&#8217;s supposed to work.  Anyway, consider this a <a href="http://www.wooliet.com/2008/08/23/heads-up-regarding-the-codeigniter-video-tutorial/">heads-up</a> if you decide to embark on a little processing.js play.</p>
<p>
                             ~~~~~~~~~~~~~~~~

This has been a <a href="http://www.wooliet.com">woolie</a> posting.<br/><br/><a href="http://www.wooliet.com/2009/06/01/absolute-positioning-and-the-canvas-element/">Absolute Positioning and the Canvas Element</a></p>
<img src="http://feeds.feedburner.com/~r/wooliet/~4/vLMHhDRe2Gs" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.wooliet.com/2009/06/01/absolute-positioning-and-the-canvas-element/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		<feedburner:origLink>http://www.wooliet.com/2009/06/01/absolute-positioning-and-the-canvas-element/</feedburner:origLink></item>
		<item>
		<title>Defect Fix for RMRH Plugin</title>
		<link>http://feedproxy.google.com/~r/wooliet/~3/cxq-hwtOZio/</link>
		<comments>http://www.wooliet.com/2009/05/02/defect-fix-for-rmrh-plugin/#comments</comments>
		<pubDate>Sun, 03 May 2009 01:03:44 +0000</pubDate>
		<dc:creator>Woolie</dc:creator>
				<category><![CDATA[Site News]]></category>
		<category><![CDATA[WebDev]]></category>
		<category><![CDATA[plugin]]></category>
		<category><![CDATA[readmorerighthere]]></category>
		<category><![CDATA[thijs]]></category>
		<category><![CDATA[update]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://www.wooliet.com/?p=324</guid>
		<description><![CDATA[Over on the post announcing my &#8220;Read More Right Here&#8221; wordpress plugin, an interesting few comments popped up by Thijs (I love these drawings).  He found that the plugin breaks when a domain lets wordpress run its root, but the actual Wordpress files are stored in a subdirectory (see this codex article for the [...]<p>
                             ~~~~~~~~~~~~~~~~

This has been a <a href="http://www.wooliet.com">woolie</a> posting.<br/><br/><a href="http://www.wooliet.com/2009/05/02/defect-fix-for-rmrh-plugin/">Defect Fix for RMRH Plugin</a></p>
]]></description>
			<content:encoded><![CDATA[<p>Over on the <a href="http://www.wooliet.com/2008/09/21/announcing-the-read-more-right-here-wordpress-plugin/comment-page-1/#comment-872">post announcing</a> my <a href="http://wordpress.org/extend/plugins/read-more-right-here/">&#8220;Read More Right Here&#8221; wordpress plugin</a>, an interesting few comments popped up by <a href="http://thijsvissia.nl/">Thijs</a> (I <em>love</em> <a href="http://thijsvissia.nl/drawing/01/">these drawings</a>).  He found that the plugin breaks when a domain lets wordpress run its root, but the actual Wordpress files are stored in a subdirectory (see <a href="http://codex.wordpress.org/Giving_WordPress_Its_Own_Directory">this codex article</a> for the how to).</p>
<p>And awesomely enough, he found the cause of the problem!<br />
<span id="more-324"></span></p>
<h3>The Defect</h3>
<p>I was constructing the path to the plugin&#8217;s directory using the Wordpress function <code>get_bloginfo</code>, and passing to that function the value <code>'url'</code>.  However, the <a href="http://codex.wordpress.org/Template_Tags/get_bloginfo">doc</a> shows that value will result in Wordpress returning the blog home URL, and <strong>not</strong> the location of the actual core Wordpress files (which is what I needed).  To get that path, you have to send in <code>'wpurl'</code>.</p>
<h3>Another Problem</h3>
<p>But this fix uncovered another problem. That same path I assumed to be correct is hardcoded in the javascript function used to create the &#8220;loading&#8221; animated gif that appears while the &#8220;read more&#8221; content is being pulled.  I fixed this issue by having the javascript asynchronously (ajax) ask Wordpress for the correct path (using the now updated function I described in the previous section).  But that&#8217;s not really how I wanted to do it.</p>
<h3>More Ideally</h3>
<p><strong>WOW, I FEEL STUPID.</strong>. I just typed a whole section here describing how I would rather have the javascript value used as the plugin URL somehow set by Wordpress.  I envisioned something similar to <code><a href="http://codex.wordpress.org/Function_Reference/wp_enqueue_script">wp_enqueue_script</a></code> that could be used to inject some javascript value to the header along with the linked script sources.</p>
<p>So of course, after I&#8217;ve spent loads o&#8217; time trying to find such a solution, figured &#8220;maybe next time&#8221; and officially updated the plugin, now I find <a href="http://www.prelovac.com/vladimir/best-practice-for-adding-javascript-code-to-wordpress-plugin">this article</a> (<em>and I quote</em>):</p>
<blockquote><p>WordPress provides an elegant way to pass parameters to your JavaScript code using <code>wp_localize_script</code> function.</p></blockquote>
<p><em>Arg</em> and <em>Doh</em> and all that.  Be on the lookout for another release!</p>
<p>
                             ~~~~~~~~~~~~~~~~

This has been a <a href="http://www.wooliet.com">woolie</a> posting.<br/><br/><a href="http://www.wooliet.com/2009/05/02/defect-fix-for-rmrh-plugin/">Defect Fix for RMRH Plugin</a></p>
<img src="http://feeds.feedburner.com/~r/wooliet/~4/cxq-hwtOZio" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.wooliet.com/2009/05/02/defect-fix-for-rmrh-plugin/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		<feedburner:origLink>http://www.wooliet.com/2009/05/02/defect-fix-for-rmrh-plugin/</feedburner:origLink></item>
		<item>
		<title>I Missed the Guster Boat</title>
		<link>http://feedproxy.google.com/~r/wooliet/~3/zDCfC8Do8-g/</link>
		<comments>http://www.wooliet.com/2009/03/24/i-missed-the-guster-boat/#comments</comments>
		<pubDate>Wed, 25 Mar 2009 04:33:25 +0000</pubDate>
		<dc:creator>Woolie</dc:creator>
				<category><![CDATA[Music]]></category>
		<category><![CDATA[Recommendations]]></category>
		<category><![CDATA[awesome]]></category>
		<category><![CDATA[dewey]]></category>
		<category><![CDATA[guster]]></category>

		<guid isPermaLink="false">http://www.wooliet.com/?p=314</guid>
		<description><![CDATA[This is a little convoluted, but it&#8217;s the journey not the destination. Apologies.
A couple months back, I came across Dewey (via Waxy, Feb 2, 2009). It offers a new, web-two-ohee method of navigating the music available at Archive.org. I wanted something to listen to at work and so started looking for some familiar names.  [...]<p>
                             ~~~~~~~~~~~~~~~~

This has been a <a href="http://www.wooliet.com">woolie</a> posting.<br/><br/><a href="http://www.wooliet.com/2009/03/24/i-missed-the-guster-boat/">I Missed the Guster Boat</a></p>
]]></description>
			<content:encoded><![CDATA[<p>This is a little convoluted, but it&#8217;s the journey not the destination. Apologies.</p>
<p>A couple months back, I came across <a href="http://deweymusic.org/">Dewey</a> (via <a href="http://waxy.org/links">Waxy</a>, <a href="http://waxy.org/links/archive/2009/02/index.shtml">Feb 2, 2009</a>). It offers a new, web-two-ohee method of navigating the music available at <a href="http://www.archive.org/">Archive.org</a>. I wanted something to listen to at work and so started looking for some familiar names.  I eventually stumbled on some <a href="http://www.guster.com/index2.shtml">Guster</a> shows.<br />
<span id="more-314"></span><br />
All my knowledge of Guster consists of two songs: <em>Amsterdam</em> and <em>I&#8217;ve Got To Be Clean</em>. <em>Amsterdam</em> got decent airplay however long ago that was, but the only reason I noticed <em>that</em> was because of <em>I&#8217;ve Got To Be Clean</em>.  This was, by far, my favorite song on the first <a href="http://www.amazon.com/gp/product/B00006L7QX?ie=UTF8&#038;tag=woot0b-20&#038;linkCode=as2&#038;camp=1789&#038;creative=390957&#038;creativeASIN=B00006L7QX">For the Kids</a><img src="http://www.assoc-amazon.com/e/ir?t=woot0b-20&#038;l=as2&#038;o=1&#038;a=B00006L7QX" width="1" height="1" border="0" alt="" style="border:none !important; margin:0px !important;" /> CD that came out in 2002. I listened to it a <em>lot</em>. My daughter and I have listened to it a <em>lot</em>. When you listen to that CD, it&#8217;s just impossible not to gravitate to that song as the funnest, catchiest tune on there.  And so I always had &#8220;Guster&#8221; stuck in my head as a band I needed to check out.  <em>Amsterdam</em> hit my radar later, but it didn&#8217;t catch my interest and so Guster slipped away.</p>
<p>Back at my Dewey browsing, I somewhat randomly decided to <a href="http://deweymusic.org/?genre=0&#038;artist=708&#038;album=14347">download a 2007 Boston show</a>. And <strong>It Is Awesome</strong>. I have listened to it on my crappy laptop speakers at work many, <em>many</em> times. It&#8217;s just been addictive. </p>
<p>So of course now I have to get some of their albums.  I think once a month (gotta budget!) I&#8217;m going to download one.  Last week I downloaded <a href="http://www.amazon.com/gp/product/B00122L2B6?ie=UTF8&#038;tag=woot0b-20&#038;linkCode=as2&#038;camp=1789&#038;creative=390957&#038;creativeASIN=B00122L2B6">Ganging Up On The Sun</a><img src="http://www.assoc-amazon.com/e/ir?t=woot0b-20&#038;l=as2&#038;o=1&#038;a=B00122L2B6" width="1" height="1" border="0" alt="" style="border:none !important; margin:0px !important;" /> from Amazon. And <strong>It Is Awesome</strong>.</p>
<p>Next month will be <a href="http://www.amazon.com/gp/product/B00122HV4I?ie=UTF8&#038;tag=woot0b-20&#038;linkCode=as2&#038;camp=1789&#038;creative=390957&#038;creativeASIN=B00122HV4I">Keep It Together</a><img src="http://www.assoc-amazon.com/e/ir?t=woot0b-20&#038;l=as2&#038;o=1&#038;a=B00122HV4I" width="1" height="1" border="0" alt="" style="border:none !important; margin:0px !important;" />, mainly because it has both <em>Diane</em> and <em>Come Downstairs And Say Hello</em>, two of my favorites from the show I downloaded. (<a href="http://www.seeqpod.com/search/?plid=dd4639a4ba">Here&#8217;s a Seeqpod link to <em>Diane</em></a>, give it a listen. <strong>It Is Awesome</strong>.).</p>
<p>All that to say, I really can&#8217;t believe it&#8217;s only now that I&#8217;m enjoying their music. </p>
<p>
                             ~~~~~~~~~~~~~~~~

This has been a <a href="http://www.wooliet.com">woolie</a> posting.<br/><br/><a href="http://www.wooliet.com/2009/03/24/i-missed-the-guster-boat/">I Missed the Guster Boat</a></p>
<img src="http://feeds.feedburner.com/~r/wooliet/~4/zDCfC8Do8-g" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.wooliet.com/2009/03/24/i-missed-the-guster-boat/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.wooliet.com/2009/03/24/i-missed-the-guster-boat/</feedburner:origLink></item>
		<item>
		<title>No Cells at Subway</title>
		<link>http://feedproxy.google.com/~r/wooliet/~3/eeFjpFVu-_M/</link>
		<comments>http://www.wooliet.com/2009/03/24/no-cells-at-subway/#comments</comments>
		<pubDate>Wed, 25 Mar 2009 03:33:02 +0000</pubDate>
		<dc:creator>Woolie</dc:creator>
				<category><![CDATA[Food]]></category>
		<category><![CDATA[cellphoone]]></category>
		<category><![CDATA[restriction]]></category>
		<category><![CDATA[sign]]></category>
		<category><![CDATA[subway]]></category>

		<guid isPermaLink="false">http://www.wooliet.com/?p=306</guid>
		<description><![CDATA[There&#8217;s a Subway just down the street from where I work, which is just next door to a large university.  Whoever franchised that spot struck gold because it pulls in huge crowds during the lunch time hours.  They actually have two lines leading to two sets of sandwich artistry going on at the [...]<p>
                             ~~~~~~~~~~~~~~~~

This has been a <a href="http://www.wooliet.com">woolie</a> posting.<br/><br/><a href="http://www.wooliet.com/2009/03/24/no-cells-at-subway/">No Cells at Subway</a></p>
]]></description>
			<content:encoded><![CDATA[<p>There&#8217;s a <a href="http://www.subway.com/subwayroot/index.aspx">Subway</a> just down the street from where I work, which is just next door to a large university.  Whoever franchised that spot struck gold because it pulls in huge crowds during the lunch time hours.  They actually have two lines leading to two sets of sandwich artistry going on at the same time, as well as a drive-thru. It&#8217;s bustling.</p>
<p>You ever had a co-worker run to pick up food for the group?  Or maybe dad&#8217;s got a family to feed and will just go it alone? The modern age affords those individuals the ability to quickly and easily confirm or update orders via the cell phone. Just recently my own dad called to ask what I wanted on the sub he was picking up for me. It&#8217;s like the folks you see wandering around <a href="http://www.blockbuster.com/">Blockbuster</a>, carefully scanning the rows and recounting what&#8217;s available to whomever is listening on the other end. But at Blockbuster you&#8217;re not doing this while the director is carefully crafting the movie just for you.  At Subway you&#8217;ve got the sandwich artist to consider, as well as those standing behind you.</p>
<p>So they posted a sign:<br />
<span id="more-306"></span><br />
<a href="http://www.flickr.com/photos/kajj/3383418297/" title="No Cells at Subway"><img src="http://farm4.static.flickr.com/3625/3383418297_0b30ab735e.jpg" width="450" height="375" alt="No Cells at Subway" /></a></p>
<p>It says:</p>
<blockquote><p>Attention:<br />
Please no use of cell phones while placing and paying for your order&#8230;<br />
Thank you, mgmt.</p></blockquote>
<p>Note that the photo above was taken with my cell phone.  But I was <em>not</em> ordering <em>nor</em> was I paying. I was well within my rights.</p>
<p>
                             ~~~~~~~~~~~~~~~~

This has been a <a href="http://www.wooliet.com">woolie</a> posting.<br/><br/><a href="http://www.wooliet.com/2009/03/24/no-cells-at-subway/">No Cells at Subway</a></p>
<img src="http://feeds.feedburner.com/~r/wooliet/~4/eeFjpFVu-_M" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.wooliet.com/2009/03/24/no-cells-at-subway/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		<feedburner:origLink>http://www.wooliet.com/2009/03/24/no-cells-at-subway/</feedburner:origLink></item>
	</channel>
</rss>
