<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="wordpress/2.1" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	>

<channel>
	<title>Johnvey.com - Purveyor of Fine Words</title>
	<link>http://www.johnvey.com</link>
	<description>Purveyor of Fine Words</description>
	<pubDate>Mon, 24 Dec 2007 05:10:43 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.1</generator>
	<language>en</language>
			<item>
		<title>The best page in the universe</title>
		<link>http://www.johnvey.com/blog/2007/12/the-best-page-in-the-universe</link>
		<comments>http://www.johnvey.com/blog/2007/12/the-best-page-in-the-universe#comments</comments>
		<pubDate>Mon, 24 Dec 2007 05:10:43 +0000</pubDate>
		<dc:creator>Johnvey</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.johnvey.com/blog/2007/12/the-best-page-in-the-universe</guid>
		<description><![CDATA[
According to Google, I am the second-most popular &#8220;purveyor of [insert genre here]&#8221; in the world, bested only by the purveyor of the world&#8217;s finest teas, Upton Tea Import.  Being second in this list is lamentable, but under the circumstances not a terrible position considering that I have a better rank than the leading [...]]]></description>
			<content:encoded><![CDATA[<p>
According to Google, I am the <a href="http://www.google.com/search?hl=en&#038;q=%22purveyor+of%22">second-most popular &#8220;purveyor of [insert genre here]&#8221;</a> in the world, bested only by the purveyor of the world&#8217;s finest teas, Upton Tea Import.  Being second in this list is lamentable, but under the circumstances not a terrible position considering that I have a better rank than the leading purveyor of fine needlework and supplies, and the purveyor of EarthBalls and Giant Globes.  Gloating aside, how the moniker &#8220;purveyor of&#8221; came into being merits some discussion.  C.M. recently asked,
</p>
<blockquote><p>
You use the line &#8220;purveyor of fine words.&#8221; Before commandeering this line, did you look into its etymology? For example, what is correct &#8220;fine purveyor of&#8230;&#8221; or &#8220;purveyor of fine&#8230;&#8221;? Oddly, there is not much online by way of a discussion. There are of course several instances of people using the phrases both ways. I did come across a book about the history of purveyance and it talked about &#8220;fine purveyors&#8221; as those who procured better cuts of meat or poultry, as opposed to the &#8220;coarse purveyors.&#8221; However, these days, everyone claims to be a &#8220;purveyor of fine something&#8221;. I just wonder if they are interchangeable or if one is more correct than the other. For obvious reasons, you seemed like a good person to ask, being a self-titled &#8220;purveyor of fine words&#8221; and all.
</p></blockquote>
<p>
Well, I chose the tagline &#8216;purveyor of fine words&#8217; as a response to the typical self-deprecating blog name that is so common these days &#8212; ones that mix and match words like &#8216;rambling&#8217;, &#8216;thoughts&#8217;,  &#8216;random&#8217;, &#8216;drivel&#8217;, &#8216;brain farts&#8217;.  I subscribe to one blog that is titled, &#8220;<a href="http://alex.dojotoolkit.org/">Continuing Intermittent Incoherency</a>&#8220;, which sounds like the author picked up some kind of Mad-Lib for blog names for inspiration.  &#8220;<a href="http://www.gringod.com/">Randomised nonsense</a>&#8221; and &#8220;<a href="http://secularskeptic.blogspot.com/">The Solipsistic Sayings of a Random Infidel</a>&#8221; also seem to have been derived from the same template.
</p>
<p>
Perhaps these titles are a byproduct of today&#8217;s disclaimer-ridden society, where consumers are too moronic to realize that a cup of coffee contains scalding hot liquid, or that a pack of peanuts &#8220;may contain nuts&#8221;, or that power tool enthusiasts should not &#8220;attempt to stop a chainsaw with [their] hand&#8221;.  In the online world, this warning zealotry translates into prefacing statements with redundant <a href="http://www.geocities.com/CollegePark/Campus/4642/irchat.html">acronyms</a> like FWIW or IMHO, which authors use to ostensibly indemnify themselves against criticism.  &#8220;IMHO, you&#8217;re nothing but a fucktard and the best part of you ran down the crack of your momma&#8217;s ass&#8221;, becomes a quaint jest I suppose.  In order to buck this trend, I opted to go big instead and inflate myself to gourmet proportions, and thus I promoted myself to a purveyor of fine words.
</p>
<p>
In response to C.M.&#8217;s question, I don&#8217;t have any more insight into the etymology of the phrase, as mine merely parodies Dean &#038; Deluca&#8217;s tag line of &#8220;Purveyors of Fine Foods and Kitchenware&#8221;.  I would say that &#8220;purveyors of fine&#8230;&#8221; is much more prevalent than &#8220;fine purveyors&#8230;&#8221; insofar as it&#8217;s difficult to explain the difference between a &#8220;purveyor&#8221; and a &#8220;fine purveyor&#8221; (maybe the purveyor is very attractive?), whereas the difference between &#8220;food&#8221; and &#8220;fine food&#8221; immediately conjures up contrasting images of corn dogs and Iranian caviar.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.johnvey.com/blog/2007/12/the-best-page-in-the-universe/feed/</wfw:commentRss>
		</item>
		<item>
		<title>IE does not bubble form &#60;select&#62; element onchange events</title>
		<link>http://www.johnvey.com/blog/2007/07/ie-does-not-bubble-form-select-element-onchange-events</link>
		<comments>http://www.johnvey.com/blog/2007/07/ie-does-not-bubble-form-select-element-onchange-events#comments</comments>
		<pubDate>Mon, 16 Jul 2007 20:05:15 +0000</pubDate>
		<dc:creator>Johnvey</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.johnvey.com/blog/2007/07/ie-does-not-bubble-form-select-element-onchange-events</guid>
		<description><![CDATA[When developing dynamically generated forms, you often want to attach a single event handler to the main form object, and have that handle the events generated by the form elements, thus saving you the trouble of constantly attaching event handlers to newly generated elements.  However, IE 6 and 7 do not bubble the onchange [...]]]></description>
			<content:encoded><![CDATA[<p>When developing dynamically generated forms, you often want to attach a single event handler to the main form object, and have that handle the events generated by the form elements, thus saving you the trouble of constantly attaching event handlers to newly generated elements.  However, IE 6 and 7 do not bubble the <em>onchange</em> event beyond the originating select element, meaning that you have to explicitly attach an <em>onchange</em> handler to every select you generate.  All other current browsers bubble the event properly.</p>

<p>Here is a test form for checking if your browser registers the <em>onchange</em> event beyond the firing select element.  Changing the select options should trigger an alert dialog box.</p>	
	
<p><em>onchange</em> listener attached to parent &lt;div&gt; node</p>
<div id="xwrapper1">
	<select id="xselect1">
		<option>option1</option>
		<option>option2</option>
		<option>option3</option>
	</select>
</div>

<p><em>onchange</em> listener attached to parent &lt;form&gt; node</p>
<form id="xwrapper2">
	<select id="xselect2">
		<option>option1</option>
		<option>option2</option>
		<option>option3</option>
	</select>
</form>

<p><em>onchange</em> listener attached to actual &lt;select&gt; node</p>
<form id="xwrapper3">
	<select id="xselect3">
		<option>option1</option>
		<option>option2</option>
		<option>option3</option>
	</select>
</form>

<script type="text/javascript">
<!--
	// credit to John Resig,
	function xaddEvent (obj, type, fn ) {
		if (obj.addEventListener)
			obj.addEventListener( type, fn, false );
		else if (obj.attachEvent) {
			obj["e"+type+fn] = fn;
			obj[type+fn] = function() { obj["e"+type+fn]( window.event ); }
			obj.attachEvent( "on"+type, obj[type+fn] );
		}
	}

	function xhandleOnChange(evt) {
		var evt = evt || window.event;
		var target = evt.target || evt.srcElement;
		alert('Onchange has been fired by element id=' + target.id);
	}
	
	xaddEvent(document.getElementById('xwrapper1'), 'change', xhandleOnChange);
	xaddEvent(document.getElementById('xwrapper2'), 'change', xhandleOnChange);
	xaddEvent(document.getElementById('xselect3'), 'change', xhandleOnChange);
// -->
</script>
]]></content:encoded>
			<wfw:commentRss>http://www.johnvey.com/blog/2007/07/ie-does-not-bubble-form-select-element-onchange-events/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Concise Adblock Filter Set Explained</title>
		<link>http://www.johnvey.com/blog/2007/01/concise-adblock-filter-set-explained</link>
		<comments>http://www.johnvey.com/blog/2007/01/concise-adblock-filter-set-explained#comments</comments>
		<pubDate>Mon, 15 Jan 2007 01:55:25 +0000</pubDate>
		<dc:creator>Johnvey</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.johnvey.com/blog/2007/01/concise-adblock-filter-set-explained</guid>
		<description><![CDATA[
Adblock is the single most useful Firefox plugin available today.  Just like watching sitcoms with automatic commercial-skip, adblock&#8217;s banner ad supression system elicits a smug sense of satisfaction even after browsing through your 10,000th ad-free web page.  However, a huge barrier to adoption seems to be the lack of a default filter set, [...]]]></description>
			<content:encoded><![CDATA[<p>
<a href="http://adblock.mozdev.org/">Adblock</a> is the single most useful Firefox plugin available today.  Just like watching sitcoms with automatic commercial-skip, adblock&#8217;s banner ad supression system elicits a smug sense of satisfaction even after browsing through your 10,000th ad-free web page.  However, a huge barrier to adoption seems to be the lack of a default filter set, so when you first install adblock, nothing happens.
</p>
<p>
The main issue is that adblock does not have any intelligence as to the content that is included with a webpage; it is just a generic regex-based filter system, so it is only as effective as the filters that you provide.  There are plenty of pre-made lists available but they tend to be overly-aggressive in what is supressed, resulting in occasional broken pages and/or pages that dead-end because adblock has removed the &#8220;Next&#8221; button.  The most dangerous public set seems to be the <a href="http://easylist.adblockplus.org/">EasyList</a>, which has a <a href="http://easylist.adblockplus.org/adblock_rick752.txt">360+ item block list</a>.  Evidence that the creators know of its greedy nature is their inclusion of a 20+ item whitelist to manually compensate what was initially blocked.  Even more unstable is the EasyElement list that searches through the DOM to remove suspected elements directly from the main document &#8212; a <a href="http://easylist.adblockplus.org/easylist-element_rick752.txt">list of 570+ substrings</a> to search for.
</p>
<p>
Intead of using such a large, reactive list of simple and site-specific string matches that tries to supress 100% of ads, I posit that you only need 2 adblock filters to eliminate 70-80% of ads, and still be confident that legitimate content isn&#8217;t being flagged as a false positive.  By getting into the heads of HTML writers, we can pick out the most common patterns used to include ads and create regex patterns to suppress the ads.
</p>
<ol>
<li><strong><code>/(\b|_)ad(x|s?)(\b|_)/</code></strong><br />This regex looks for any element that contains the string &#8216;ad&#8217;, &#8216;ads&#8217;, or &#8216;adx&#8217; surrounded by a word boundary, because the vast majority of web sites partition their ads into a single directory or serve them through a single script.  The word boundary check is crucial to this filter because just searching for the characters &#8216;ad&#8217; is ineffective.  Instead, the word boundary restriction means that adblock will supress elements that contain strings like &#8216;ads.server.com&#8217; or &#8216;www.server.com/ads/&#8217; or &#8217;server.com/ad_server.php&#8217;, but not &#8216;adobe.com&#8217; or &#8217;server.com/adjustment&#8217;.</li>
<li><strong><code>/ad.*\d+[xX]\d+/</code></strong><br />This regex exploits the common technique of ad designers to use the image dimensions in their element name, i.e., &#8220;server.com/newads.php?location=top&#038;size=468&#215;80&#8243;.  Like the previous rule, we don&#8217;t just exclude any element that has dimensions, but qualify that by searching for the string &#8216;ad&#8217; as well.</li>
</ol>
<p>At this point, your browsing experience will be significantly improved, but you can bump up your block rate to about 80-90% with a few more simple substring matches.  There are many well known ad providers that exist solely to deliver ads, so we can consildate those in composite filter rules:
</p>
<ol>
<li><strong><code>/a(2\.yimg|dserv|dvert|tdmt|twola)/</code></strong><br />This rule collects all the ad serving systems that start with &#8216;a&#8217;: Yahoo, Atlas, AOLTimeWarner, and generic ad serving systems.</li>
<li><strong><code>/b(anners|logads)/<br />falkag.net</code></strong><br />These pick up anything labeled with &#8216;banner&#8217;, the &#8216;blogads&#8217; network, or Falk AdSolutions.</li>
</ol>
<p>
Realistically, reducing the ad load by 90% should be more than sufficient for anyone.  Chasing that last 10% &#8212; and whitelisting the collateral damage &#8212; will always be a losing battle.  Your time is better used reading the content that is on the page you requested in the first place.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.johnvey.com/blog/2007/01/concise-adblock-filter-set-explained/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Positions filled</title>
		<link>http://www.johnvey.com/blog/2006/09/positions-filled</link>
		<comments>http://www.johnvey.com/blog/2006/09/positions-filled#comments</comments>
		<pubDate>Sat, 09 Sep 2006 21:16:53 +0000</pubDate>
		<dc:creator>Johnvey</dc:creator>
		
		<guid isPermaLink="false">http://johnvey.com/blog/2006/09/positions-filled</guid>
		<description><![CDATA[Effective immediately, I have a new title at work &#8212; actually 6 new titles&#8230;
Internets Strategerist

Sr. Tube Developer

The Decider

Guapo

Scrabblista

Assistant to the Regional Manager


Bonus points if you can match all the cards with their respective references:

The Office
Senator Ted Stevens
G.W. Bush &#38; Will Ferrell
Victor&#8217;s Taqueria
G.W. Bush
My desk at work

]]></description>
			<content:encoded><![CDATA[<p>Effective immediately, I have a new title at work &#8212; actually 6 new titles&#8230;</p>
<p><img src="/images/etc/splunk_card.jpg" width="400" height="208" alt="Internets Strategerist" style="border:1px solid #ccc" /><br />Internets Strategerist</p>
<p>
<img src="/images/etc/splunk_card_tube.jpg" width="346" height="55" alt="Sr. Tube Developer" style="border:1px solid #ccc" /><br />Sr. Tube Developer<br />
<br />
<img src="/images/etc/splunk_card_decider.jpg" width="346" height="55" alt="The Decider" style="border:1px solid #ccc" /><br />The Decider<br />
<br />
<img src="/images/etc/splunk_card_guapo.jpg" width="346" height="55" alt="Guapo" style="border:1px solid #ccc" /><br />Guapo<br />
<br />
<img src="/images/etc/splunk_card_scrabble.jpg" width="346" height="55" alt="Scrabblista" style="border:1px solid #ccc" /><br />Scrabblista<br />
<br />
<img src="/images/etc/splunk_card_assistant.jpg" width="346" height="55" alt="Assistant to the Regional Manager" style="border:1px solid #ccc" /><br />Assistant to the Regional Manager<br />

</p>
<p>Bonus points if you can match all the cards with their respective references:</p>
<ul>
<li>The Office</li>
<li>Senator Ted Stevens</li>
<li>G.W. Bush &amp; Will Ferrell</li>
<li>Victor&#8217;s Taqueria</li>
<li>G.W. Bush</li>
<li>My desk at work</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.johnvey.com/blog/2006/09/positions-filled/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Yum install GPG error</title>
		<link>http://www.johnvey.com/blog/2006/08/yum-install-gpg-error</link>
		<comments>http://www.johnvey.com/blog/2006/08/yum-install-gpg-error#comments</comments>
		<pubDate>Mon, 21 Aug 2006 17:40:43 +0000</pubDate>
		<dc:creator>Johnvey</dc:creator>
		
		<guid isPermaLink="false">http://johnvey.com/blog/2006/08/yum-install-gpg-error</guid>
		<description><![CDATA[
When using yum install, sometimes the old GPG keys installed with rpm are obsolete, resulting in an error like the following:

warning: rpmts_HdrFromFdno: Header V3 DSA signature: NOKEY, key ID db42a60e
public key not available for autoconf-2.59-5.noarch.rpm
Retrieving GPG key from file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora
The GPG key at file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora (0&#215;4F2A6FD2)
is already installed but is not the correct key for this package.
Check [...]]]></description>
			<content:encoded><![CDATA[<p>
When using <code>yum install</code>, sometimes the old GPG keys installed with rpm are obsolete, resulting in an error like the following:
</p>
<blockquote><p><code>warning: rpmts_HdrFromFdno: Header V3 DSA signature: NOKEY, key ID db42a60e<br />
public key not available for autoconf-2.59-5.noarch.rpm<br />
Retrieving GPG key from file://<strong>/etc/pki/rpm-gpg/RPM-GPG-KEY-fedora</strong><br />
The GPG key at file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora (0&#215;4F2A6FD2)<br />
is already installed but is not the correct key for this package.<br />
Check that this is the correct key for the &#8220;Fedora Core 4 - i386 - Base&#8221; repository.<br />
</code></p></blockquote>
<p>To fix, just add the new keys to rpm (changing the path for you particular install):</p>
<p><code>rpm --import <strong>/etc/pki/rpm-gpg/RPM*</strong></code></p>
<p>Some forum posts have suggested disabling GPG (i.e. <code>gpgcheck=0</code>), which can be a foolish thing to do.  You want to maintain <em>some</em> level of assurance that what you&#8217;re downloading is legit.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.johnvey.com/blog/2006/08/yum-install-gpg-error/feed/</wfw:commentRss>
		</item>
		<item>
		<title>del.icio.us direc.tor update</title>
		<link>http://www.johnvey.com/blog/2006/07/delicious-director-update</link>
		<comments>http://www.johnvey.com/blog/2006/07/delicious-director-update#comments</comments>
		<pubDate>Sat, 01 Jul 2006 21:30:02 +0000</pubDate>
		<dc:creator>Johnvey</dc:creator>
		
		<guid isPermaLink="false">http://johnvey.com/blog/2006/07/delicious-director-update</guid>
		<description><![CDATA[del.icio.us has changed their API host, which breaks the current direc.tor because of the xmlHTTPRequest&#8217;s domain security policy.  To fix this, the del.icio.us guys have added a couple public pages to allow direc.tor to continuing functioning.  Now, you must first browse to https://api.del.icio.us before starting the direc.tor bookmarklet.  Let me know if [...]]]></description>
			<content:encoded><![CDATA[<p>del.icio.us has <a href="http://blog.del.icio.us/blog/2006/05/feel_secure.html">changed their API host</a>, which breaks the current <a href="/features/deliciousdirector">direc.tor</a> because of the xmlHTTPRequest&#8217;s domain security policy.  To fix this, the del.icio.us guys have added a couple public pages to allow direc.tor to continuing functioning.  Now, you must first browse to https://api.del.icio.us before starting the direc.tor bookmarklet.  Let me know if you are having any issues.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.johnvey.com/blog/2006/07/delicious-director-update/feed/</wfw:commentRss>
		</item>
		<item>
		<title>How to create PHP extensions (aka .so objects)</title>
		<link>http://www.johnvey.com/blog/2006/05/how-to-create-php-extensions-aka-so-objects</link>
		<comments>http://www.johnvey.com/blog/2006/05/how-to-create-php-extensions-aka-so-objects#comments</comments>
		<pubDate>Wed, 24 May 2006 23:51:01 +0000</pubDate>
		<dc:creator>Johnvey</dc:creator>
		
		<guid isPermaLink="false">http://johnvey.com/blog/2006/05/how-to-create-php-extensions-aka-so-objects</guid>
		<description><![CDATA[
Although PHP has a great library of functions, many of them are not included in the standard build, or haven&#8217;t been included into the popular package installers like yum or apt-get.  The man page doesn&#8217;t leave you with much instruction, other than something like &#8220;compile PHP with the flag &#8211;with-pspell[=dir]&#8221;.  At this point [...]]]></description>
			<content:encoded><![CDATA[<p>
Although PHP has a great library of functions, many of them are not included in the standard build, or haven&#8217;t been included into the popular package installers like yum or apt-get.  The man page doesn&#8217;t leave you with much instruction, other than something like &#8220;compile PHP with the flag &#8211;with-pspell[=dir]&#8221;.  At this point you have 2 options:
</p>
<ul>
<li><strong>Recompile PHP</strong><br />
Find your existing PHP configure command and append this new flag, and recompile PHP.  This takes a while and is generally quite bothersome, if not unacceptable like when you&#8217;re in a production environment.
</li>
<li><strong>Create a dynamic extension</strong><br />
Compile a separate file (usually ending in <code>.so</code>) that you copy into a PHP directory, and edit php.ini.  If you are running multiple machines on the same OS, you can just copy the file to all those machines as well.  Much easier, and you can turn it on and off at will.
</li>
</ul>
<p>Here&#8217;s how to create the extension for modules that appear in the PHP manual on a linux-based system (for third-party extensions, it&#8217;s most likely the same).</p>
<ol>
<li>Check that you have the PHP development package, which often comes in a separate package.  Yum lists it as <code>php-devel</code>.  You&#8217;ll need its components in a few steps.</li>
<li><a href="http://www.php.net/downloads.php">Download</a> the PHP source code for whatever version you&#8217;re currently running</li>
<li>In the source code, there is an <code>ext/</code> directory that should contain a subdirectory for the module that you&#8217;re looking for.  Change to that subdirectory, i.e. <code>ext/pspell/</code>.</li>
<li>Type <code>phpize</code><br />(This won&#8217;t work if you didn&#8217;t verify step 1)</li>
<li>Type <code>./configure <span style="color:#800;font-weight:bold">&#8211;with-pspell=/usr</span></code><br />Replace the red portion with the text that is specified in the PHP man page for the module you want.  For example, MySQL improved would be something like <code>--with-mysqli=/usr/local/mysql/bin/mysql_config</code>.  Be aware that the path is sometimes a base directory, and sometimes needs to point to a specific file.  Read the PHP docs carefully.</li>
<li>Type <code>make</code></li>
<li>When finished, the compiler should tell you where it created the <code>.so</code> file (most likely in the <code>modules/</code> subdirectory of your current location).  Copy the <code>.so</code> file to your PHP extensions directory, i.e. <code>/usr/lib/php/modules</code>.  If you don&#8217;t know this, it&#8217;s listed in your php.ini file under the <code>extension_dir</code> parameter.  You&#8217;ll need root access to do this.</li>
<li>Finally, tell PHP about your new extension by adding one line to php.ini:<br />
<code>extension=pspell.so</code><br />
Alternatively, if you already have a bunch of extensions installed, you can place it in your <code>/etc/php.d</code> directory in it&#8217;s own ini file for a cleaner installation approach.
</li>
<li>Restart apache, if you&#8217;re using it</li>
<li>Check <code>phpinfo()</code> to verify that your new module is installed</li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://www.johnvey.com/blog/2006/05/how-to-create-php-extensions-aka-so-objects/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Ajax spell check as you type</title>
		<link>http://www.johnvey.com/blog/2006/05/ajax-spellcheck-as-you-type</link>
		<comments>http://www.johnvey.com/blog/2006/05/ajax-spellcheck-as-you-type#comments</comments>
		<pubDate>Wed, 24 May 2006 22:51:05 +0000</pubDate>
		<dc:creator>Johnvey</dc:creator>
		
		<guid isPermaLink="false">http://johnvey.com/blog/2006/05/ajax-spellcheck-as-you-type</guid>
		<description><![CDATA[
I&#8217;ve been looking for a nice web Javascript spell checker, and came across a great implementation by Emil that he named LiteSpellChecker.  It mimics the spell checker in MS Word by underlining misspelled words and presenting a nice substitute word selection menu.  The javascript takes a standard &#60;textarea&#62; element, erases the background, and [...]]]></description>
			<content:encoded><![CDATA[<p>
I&#8217;ve been looking for a nice web Javascript spell checker, and came across a great implementation by Emil that he named <a href="http://me.eae.net/archive/2005/07/26/litespellchecker/">LiteSpellChecker</a>.  It mimics the spell checker in MS Word by underlining misspelled words and presenting a nice substitute word selection menu.  The javascript takes a standard <code>&lt;textarea&gt;</code> element, erases the background, and inserts a shadow <code>&lt;div&gt;</code> underneath that holds the redline segments.<br />
<img src="/images/etc/litespellchecker.gif" width="425" height="288" alt="spell check screenshot in Firefox OS X" style="border:1px solid #999;padding:4px" />
</p>
<h4>Bug Fixes (based on 2005-7-24 version of LiteSpellChecker)</h4>
<p>
The current implementation on his site has some bugs, so I&#8217;ve started to tackle some of them:
</p>
<ul>
<li>
<strong>Fixed: Redlines get misaligned when scrolling with arrow keys in Firefox</strong><br />
When scrolling long text using Firefox, the redlines become misaligned as you move towards the bottom of the page.  Once they begin to misalign, you have to manually refresh in order get it right again.
</li>
<li><strong>Fixed: Ignore word function breaks if there are non-word segments in the text</strong><br />
If the text contains characters like ++ or @@, then the ignore words function fails.  This problem crops up whenever you have wiki markup syntax.
</li>
<li><strong>Fixed: Numbers are flagged as misspelled</strong><br />
Any word that contains a number is now ignored by the spell checker.
</li>
</ul>
<h4>Performance Improvements</h4>
<p>Since many of my users will be working with long documents, performance is key. </p>
<ul>
<li><strong>Sped up ignore function by almost 5x</strong><br />
The ignore word function loops through all words and feeds it back into the spellchecker.  In long documents, the lag becomes noticable, and also causes a flicker of all the redlines.  Instead of blindly looping through all words, I changed it to a case-insensitive search for the ignored word, and only processed the matching words.  Venkman reports a speed up from 278.2ms to 57.95ms on a Powerbook G4.
</li>
<li><strong>Improved responsiveness while editing long text</strong><br />
Since the spell checker updates the spelling status on <em>every</em> keystroke, the UI becomes unusable when editing long text.  I added a spell check delay that suspends the spell checker while typing continuously.  You can adjust the sensitivity via the <code>SPELL_CHECK_DELAY</code> variable.</li>
</ul>
<p>Download my source code.  <strong>Important:</strong> read <a href="http://me.eae.net/archive/2005/07/26/litespellchecker/">Emil&#8217;s demo page</a> before attempting to do anything with these files.</p>
<ul>
<li><a href="/etc/litespellchecker.js">litespellchecker.js</a></li>
<li><a href="/etc/spellcheckerbase.js">spellcheckerbase.js</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.johnvey.com/blog/2006/05/ajax-spellcheck-as-you-type/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Flickr Prints Review</title>
		<link>http://www.johnvey.com/blog/2005/12/flickr-prints-review</link>
		<comments>http://www.johnvey.com/blog/2005/12/flickr-prints-review#comments</comments>
		<pubDate>Thu, 08 Dec 2005 07:27:18 +0000</pubDate>
		<dc:creator>Johnvey</dc:creator>
		
		<guid isPermaLink="false">http://johnvey.com/blog/2005/12/flickr-prints-review</guid>
		<description><![CDATA[I ordered a couple prints from Flickr&#8217;s new print service to check out the quality.  Here are my comments:

Wait time: 8 days via USPS: 11/28 - submitted order; 11/30 - order shipped; 12/7 - order received; The package was delivered from Norcross, GA, so I&#8217;m assuming that the west coast has the longest wait.
Package [...]]]></description>
			<content:encoded><![CDATA[<p>I ordered a couple prints from Flickr&#8217;s new <a href="http://flickr.com/help/printing/">print service</a> to check out the quality.  Here are my comments:</p>
<ul>
<li><strong>Wait time</strong>: 8 days via USPS: 11/28 - submitted order; 11/30 - order shipped; 12/7 - order received; The package was delivered from Norcross, GA, so I&#8217;m assuming that the west coast has the longest wait.</li>
<li><strong>Package contents</strong>: index print, photos, Flickr sticker, &#8220;Inspected by #179&#8243; note.</li>
<li><strong>Print quality</strong>: The glossy 4&#215;6 prints I ordered were printed on Fujifilm Fujicolor Crystal Archive paper, most likey by a Frontier laser system.  The photo quality is what you&#8217;d expect from this standard pairing, and works great for snsapshot prints.  No Ofoto-style color tweaking going on here.</li>
<li><strong>Metadata</strong>: Neither the index print or the text on the back of the photos show the title that you enter into Flickr, or the EXIF capture date. Only the date of development is printed, along with &#8220;Yahoo!_Flickr&#8221; on the back &#8212; not too helpful.</li>
</ul>
<p><img src="/images/etc/flickr_prints.jpg" width="300" alt="Flickr print service sample" style="border:1px solid #999" /></p>
<p>Overall, a well executed service that has been long awaited on Flickr.  I&#8217;ll probably try a matte print, and larger sizes soon.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.johnvey.com/blog/2005/12/flickr-prints-review/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Death Valley</title>
		<link>http://www.johnvey.com/blog/2005/12/death-valley</link>
		<comments>http://www.johnvey.com/blog/2005/12/death-valley#comments</comments>
		<pubDate>Thu, 01 Dec 2005 19:14:58 +0000</pubDate>
		<dc:creator>Johnvey</dc:creator>
		
		<guid isPermaLink="false">http://johnvey.com/blog/2005/12/death-valley</guid>
		<description><![CDATA[
This year I spent Thanksgiving not sitting at home in front of a heaping pile of white and dark meat, but rather in the middle of the desert &#8212; Death Valley to be exact. Although the valley is the hottest place in the world, it was a fantastic 75 degrees the whole time.  See [...]]]></description>
			<content:encoded><![CDATA[<div class="blogPicFrame"><p><a href="/photos/deathvalley/"><img src="/images/deathvalley/th/20051126-1404-2252.jpg" alt="Death Valley" /></a></div>
<p>This year I spent Thanksgiving not sitting at home in front of a heaping pile of white and dark meat, but rather in the middle of the desert &#8212; Death Valley to be exact. Although the valley is the hottest place in the world, it was a fantastic 75 degrees the whole time.  <a href="/photos/deathvalley/">See the pictures</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.johnvey.com/blog/2005/12/death-valley/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>
