<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	>

<channel>
	<title>Earnest Apathy</title>
	<atom:link href="http://blog.pyrolupus.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.pyrolupus.com</link>
	<description>The meaning of one life</description>
	<pubDate>Wed, 19 Nov 2008 08:01:27 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.2</generator>
	<language>en</language>
			<item>
		<title>Real State of Our Union, Part 1</title>
		<link>http://blog.pyrolupus.com/2008/11/real-state-of-our-union-part-1/</link>
		<comments>http://blog.pyrolupus.com/2008/11/real-state-of-our-union-part-1/#comments</comments>
		<pubDate>Wed, 19 Nov 2008 08:01:27 +0000</pubDate>
		<dc:creator>pyrolupus</dc:creator>
		
		<category><![CDATA[philosophy]]></category>

		<category><![CDATA[politics]]></category>

		<guid isPermaLink="false">http://blog.pyrolupus.com/?p=18</guid>
		<description><![CDATA[I&#8217;ve begun writing a collection of my thoughts about the problems that we presently face in these United States.  I have not edited, proofed, or censored these writings.
Allow me to start with Politics.
Politicians have too much power.  This has led to several problems:

Lobbyists and the corporations that back them have incentive to win the [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve begun writing a collection of my thoughts about the problems that we presently face in these United States.  I have not edited, proofed, or censored these writings.</p>
<p>Allow me to start with Politics.</p>
<p>Politicians have too much power.  This has led to several problems:</p>
<ul>
<li>Lobbyists and the corporations that back them have incentive to win the favor&#8211;and vote&#8211;of representatives and senators.  In a climate where this sort of thing is possible, it leads to a competitive atmosphere where it becomes necessary to have lobbyists in Washington in order to remain on equal footing with other corporations.</li>
<li>Career politicians and the power of pull.  Rather that being merely equals amongst Americans, congressmen have power, money, prestige, and distinction.  All that political positions should entail is taking care of the minutia of government that the vast majority of the populace lacks the time to attend.</li>
</ul>
<p><span id="more-18"></span>A country of entitlements.  Every productive citizen in the country is pulling the weight of unproductive citizens.  We&#8211;Americans!&#8211;exist in a culture of wasting the energies of our best and brightest to drag along the least and laziest.  In any system where there are handouts to be had, there are bums who will put their hands out rather than put forth effort or ingenuity to produce goods or services that render them useful to the society upon which they instead feed, like parasites.</p>
<p>The waiting-with-hands-out parasites aren&#8217;t even the worst of us.  Is it worse for there to be people who are willing to find excuses to subsist on the sweat of others, or for the ones who toil and produce useful goods and services to be the very instruments of their undoing?  That is, we who work and create have instituted the very structures that feed the parasites.  It is as though we were jungle travelers who actively, avidly sought leeches, ticks, fleas, and tapeworms in order to affix them to our bodies.</p>
<p>Of course, that is not how it began.  In the beginning, it all sounded marvelous:  the Great Society, eliminating hardship and poverty for all generations to come.  As it turns out, there is still poverty&#8211;only now we pay must exert even greater effort in the workplace to achieve reduced output at poorer quality.  A significant portion of every business and individual effort is excised from a positive productive output in order to be redirected to maintaining a ghastly overgrown government and an increasingly burdensome body of the entitled.</p>
<hr />I am not done with describing politics and its policies.  Just done for tonight.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.pyrolupus.com/2008/11/real-state-of-our-union-part-1/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Watermelon Pancakes</title>
		<link>http://blog.pyrolupus.com/2008/08/watermelon-pancakes/</link>
		<comments>http://blog.pyrolupus.com/2008/08/watermelon-pancakes/#comments</comments>
		<pubDate>Sun, 03 Aug 2008 19:40:00 +0000</pubDate>
		<dc:creator>pyrolupus</dc:creator>
		
		<category><![CDATA[food]]></category>

		<category><![CDATA[kids]]></category>

		<category><![CDATA[pancakes]]></category>

		<category><![CDATA[recipe]]></category>

		<guid isPermaLink="false">http://blog.pyrolupus.com/?p=11</guid>
		<description><![CDATA[My two-year-old, who normally eats very little if anything at all, just ate three pancakes!  I also had some, and I must admit that they were awfully tasty. We ate them all up in one sitting!

Watermelon Pancakes

1/2 c whole wheat flour
1/2 c white flour
1/2 tsp baking powder
1/2 tsp cinnamon
1 egg
2/3 c milk
1/2 tsp vanilla [...]]]></description>
			<content:encoded><![CDATA[<p>My two-year-old, who normally eats very little if anything at all, just ate three pancakes!  I also had some, and I must admit that they were awfully tasty. We ate them all up in one sitting!<br />
<span id="more-13"></span><br />
<strong>Watermelon Pancakes</strong></p>
<ul style="padding-top: 0; padding-left: 8px; list-style-type: none;">
<li><sup>1</sup>/<sub>2</sub> c whole wheat flour</li>
<li><sup>1</sup>/<sub>2</sub> c white flour</li>
<li><sup>1</sup>/<sub>2</sub> tsp baking powder</li>
<li><sup>1</sup>/<sub>2</sub> tsp cinnamon</li>
<li>1 egg</li>
<li><sup>2</sup>/<sub>3</sub> c milk</li>
<li><sup>1</sup>/<sub>2</sub> tsp vanilla extract</li>
<li>1 tbsp vegetable oil <em>(I used sunflower)</em></li>
<li>1 tbsp molasses</li>
<li><sup>1</sup>/<sub>2</sub> c watermelon</li>
</ul>
<p>Combine the flour, baking powder, and cinnamon together in a quart-sized mixing bowl.  In a separate bowl, beat the egg, then add the milk and vanilla.  Add the egg and milk mixture to the dry ingredients and mix together.  Add the oil, molasses, and watermelon.</p>
<p>Use a <sup>1</sup>/<sub>4</sub> measure cup to add the batter to a low-medium heated and oiled (or buttered) saucepan.  Flip over once the pancakes begin to bubble, and remove once they are browned.</p>
<p>Serve with a tiny bit of maple syrup (the real stuff, not the flavored corn syrup variety!).</p>
<p><strong>Tips:</strong></p>
<ul>
<li>I prefer to use solely whole wheat pastry flour, <em>i.e.</em>, no white flour, but I am out. The taste of whole wheat is well complimented by the molasses, though, so if the heartiness is too much for you, then simply change the ratios—say, 1:2 (<sup>1</sup>/<sub>3</sub>-to-<sup>2</sup>/<sub>3</sub>) or 1:3 (<sup>1</sup>/<sub>4</sub>-to-<sup>3</sup>/<sub>4</sub>) whole wheat-to-white—rather than eliminate it entirely.</li>
<li>Use the same tablespoon to add the molasses as you did for the oil; the oil remaining on the measuring spoon will make the molasses slide right off.</li>
<li>The heat of the saucepan must be kept fairly low: the moisture in the watermelon will tend to cause the batter surrounding it to cook more slowly. Turn it up too high and you&#8217;ll end up with burnt outside and gooey inside—which is much more appropriate for chocolate candies than for pancakes.</li>
</ul>
<p><strong>Note:</strong> Though I do enjoy cooking, I readily acknowledge that I don&#8217;t know the correct terminology for a recipe. Corrections to my ignorance-laden mistakes will be happily incorporated.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.pyrolupus.com/2008/08/watermelon-pancakes/feed/</wfw:commentRss>
		</item>
		<item>
		<title>jQuery Detector Overkill</title>
		<link>http://blog.pyrolupus.com/2008/07/jquery-detector-overkill/</link>
		<comments>http://blog.pyrolupus.com/2008/07/jquery-detector-overkill/#comments</comments>
		<pubDate>Thu, 31 Jul 2008 02:28:10 +0000</pubDate>
		<dc:creator>pyrolupus</dc:creator>
		
		<category><![CDATA[jQuery]]></category>

		<category><![CDATA[javascript]]></category>

		<category><![CDATA[userscript]]></category>

		<guid isPermaLink="false">http://blog.pyrolupus.com/?p=10</guid>
		<description><![CDATA[With the ideas, help, and suggestions of some very smart folks, I&#8217;ve been able to put together a userscript that displays whether jQuery is used on the current page&#8212;along with version&#8212;and can also load jQuery into the current page by clicking the indicator if jQuery is not already present.

In early 2007, Paul Bakaus wrote a [...]]]></description>
			<content:encoded><![CDATA[<p>With the ideas, help, and suggestions of some very smart folks, I&#8217;ve been able to put together a userscript that displays whether jQuery is used on the current page&#8212;along with version&#8212;and can also load jQuery into the current page by clicking the indicator if jQuery is not already present.<br />
<span id="more-12"></span><br />
In early 2007, Paul Bakaus wrote a <a href="http://paul.jquery.com/jquerydetector.user.js">nifty userscript</a> that displays the jQuery icon (<img src='http://jquery.com/images/favicon.png' width='14' height='14' alt='jQuery Logo' class='alignnone' style='border:0;margin:0;padding:0 2px;vertical-align: middle;' />) at the bottom right hand side of the browser window when the page contains <a href="http://jquery.com">jQuery</a>.  (You need either <a href="http://opera.com/">Opera</a> or the <a href="http://www.greasespot.net/">Greasemonkey</a> plugin for <a href="http://getfirefox.com/">Firefox</a> to run userscripts.)</p>
<p>In a thread on the <a href="http://groups.google.com/group/jquery-en">jQuery discussion group</a> that (re)announced Paul&#8217;s userscript, <a href="http://groups.google.com/group/jquery-en/browse_thread/thread/2439fc066ea47d9a/5c4b95261f8206bd#dcbc48cfe398cf9f">Karl Swedberg suggested</a> putting the version of jQuery in the image&#8217;s title attribute so it would show as a tooltip when you hover over it. As I am curious about when each site started using jQuery and what capabilities they have available on their site, I thought that was a fantastic idea. So, I copied <a href="http://paul.jquery.com/jquerydetector.js">Paul&#8217;s detector script</a> to my own server, and added in Karl&#8217;s suggestion (modifying my userscript to point to my modded detector script).</p>
<p>I had been (and am still) having some problems with the version tooltip showing on my home browser&#8211;some plug-in or configuration issue, no doubt&#8211;so I cobbled together something that would display the <a href="http://pyrolupus.com/js/jquerydetector.version.js">page&#8217;s jQuery version</a> in a div when I clicked on the icon.</p>
<p>Now, on a separate track, Karl had talked about how to create a <a href="http://www.learningjquery.com/2006/12/jquerify-bookmarklet">jQuery bookmarklet</a> that would insert jQuery into pages that do not have it, in order to have jQuery&#8217;s power on the console in <a href="http://getfirebug.com/">Firebug</a> or <a href="http://opera.com/products/dragonfly/">Dragonfly</a>&#8211;or slightly more painstakingly with &#8220;javascript:&#8221; statements in the address bar for <a href="http://www.microsoft.com/windows/products/winfamily/ie/default.mspx">Internet Exploder</a> and <a href="http://www.apple.com/safari/">Safari</a> (does Safari have its own console?).  I&#8217;ve been using and loving it ever since I found it.</p>
<p>Karl recently wrote about an <a href="http://www.learningjquery.com/2008/06/updated-jquery-bookmarklet">updated jQuery bookmarklet</a> that has things like a spiffy div that pops up and tells you what it&#8217;s doing.  When I saw that and thought about the display-on-click that I&#8217;d added to my jQuery Detector, I just knew that these were two great tastes that had to, er, play golf together.</p>
<p>So, here is the &#8220;debug&#8221; version of the script, <i>i.e.</i>, with line breaks and long(er) variables names:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
</pre></td><td class="code"><pre class="javascript javascript" style="font-family:monospace;"><span style="color: #009900;">&#40;</span><span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
  <span style="color: #003366; font-weight: bold;">var</span> version<span style="color: #339933;">=</span><span style="color: #CC0000;">0.3</span><span style="color: #339933;">,</span> <span style="color: #006600; font-style: italic;">//cheaply find version when compressed</span>
    b<span style="color: #339933;">=</span>document.<span style="color: #660066;">getElementsByTagName</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'body'</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#91;</span>0<span style="color: #009900;">&#93;</span><span style="color: #339933;">,</span>
    el<span style="color: #339933;">=</span>document.<span style="color: #660066;">createElement</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'div'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">,</span>
    img <span style="color: #339933;">=</span> document.<span style="color: #660066;">createElement</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'img'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">,</span>
    els <span style="color: #339933;">=</span> el.<span style="color: #660066;">style</span><span style="color: #339933;">,</span> ims <span style="color: #339933;">=</span> img.<span style="color: #660066;">style</span><span style="color: #339933;">,</span>
    <span style="color: #006600; font-style: italic;">//&quot;jquery is present&quot; image</span>
    jqimg<span style="color: #339933;">=</span><span style="color: #3366CC;">'http://jquery.com/images/favicon.png'</span>;
&nbsp;
  <span style="color: #006600; font-style: italic;">// style info div</span>
  els.<span style="color: #660066;">position</span><span style="color: #339933;">=</span><span style="color: #3366CC;">'fixed'</span>;
  els.<span style="color: #660066;">bottom</span><span style="color: #339933;">=</span><span style="color: #3366CC;">'2px'</span>;
  els.<span style="color: #660066;">right</span><span style="color: #339933;">=</span><span style="color: #3366CC;">'20px'</span>;
  els.<span style="color: #660066;">width</span><span style="color: #339933;">=</span><span style="color: #3366CC;">'200px'</span>;
  els.<span style="color: #660066;">height</span><span style="color: #339933;">=</span><span style="color: #3366CC;">'24px'</span>;
  els.<span style="color: #660066;">margin</span><span style="color: #339933;">=</span><span style="color: #3366CC;">'0 auto 0 auto'</span>;
  els.<span style="color: #660066;">padding</span><span style="color: #339933;">=</span><span style="color: #3366CC;">'5px 10px 5px 10px'</span>;
  els.<span style="color: #660066;">backgroundColor</span><span style="color: #339933;">=</span><span style="color: #3366CC;">'#c33'</span>;
  els.<span style="color: #660066;">color</span><span style="color: #339933;">=</span><span style="color: #3366CC;">'#fff'</span>;
  els.<span style="color: #660066;">fontSize</span><span style="color: #339933;">=</span><span style="color: #3366CC;">'8pt'</span>;
  els.<span style="color: #660066;">textAlign</span><span style="color: #339933;">=</span><span style="color: #3366CC;">'center'</span>;
  els.<span style="color: #660066;">display</span><span style="color: #339933;">=</span><span style="color: #3366CC;">'none'</span>;
&nbsp;
  <span style="color: #006600; font-style: italic;">// style jquery detector icon</span>
  ims.<span style="color: #660066;">position</span><span style="color: #339933;">=</span><span style="color: #3366CC;">'fixed'</span>;
  ims.<span style="color: #660066;">bottom</span><span style="color: #339933;">=</span><span style="color: #3366CC;">'2px'</span>;
  ims.<span style="color: #660066;">right</span><span style="color: #339933;">=</span><span style="color: #3366CC;">'2px'</span>;
  ims.<span style="color: #660066;">zIndex</span><span style="color: #339933;">=</span><span style="color: #3366CC;">'5'</span>;
  ims.<span style="color: #660066;">cursor</span><span style="color: #339933;">=</span><span style="color: #3366CC;">'pointer'</span>;
  ims.<span style="color: #660066;">border</span><span style="color: #339933;">=</span><span style="color: #3366CC;">'0'</span>;
&nbsp;
  b.<span style="color: #660066;">appendChild</span><span style="color: #009900;">&#40;</span>img<span style="color: #009900;">&#41;</span>;
  b.<span style="color: #660066;">appendChild</span><span style="color: #009900;">&#40;</span>el<span style="color: #009900;">&#41;</span>;
&nbsp;
  <span style="color: #006600; font-style: italic;">// function overhead in order to rebind click event after loading jQuery</span>
  <span style="color: #006600; font-style: italic;">// showJq(): img.click = display version of jQuery currently loaded</span>
  <span style="color: #003366; font-weight: bold;">function</span> showJq<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
    <span style="color: #003366; font-weight: bold;">var</span> jq<span style="color: #339933;">=</span>jQuery<span style="color: #339933;">,</span> v <span style="color: #339933;">=</span> jq.<span style="color: #660066;">fn</span>.<span style="color: #660066;">jquery</span>;
    <span style="color: #006600; font-style: italic;">//&quot;if&quot; protects jquery.com from needless rechecking</span>
    <span style="color: #000066; font-weight: bold;">if</span><span style="color: #009900;">&#40;</span>img.<span style="color: #660066;">src</span><span style="color: #339933;">!=</span>jqimg<span style="color: #009900;">&#41;</span> img.<span style="color: #660066;">src</span><span style="color: #339933;">=</span>jqimg;
    img.<span style="color: #660066;">title</span><span style="color: #339933;">=</span>v;
    el.<span style="color: #660066;">innerHTML</span><span style="color: #339933;">=</span><span style="color: #3366CC;">'Using jQuery v'</span><span style="color: #339933;">+</span>v;
    jq<span style="color: #009900;">&#40;</span>img<span style="color: #009900;">&#41;</span>.<span style="color: #660066;">click</span><span style="color: #009900;">&#40;</span><span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span>
      els.<span style="color: #660066;">display</span><span style="color: #339933;">=</span><span style="color: #3366CC;">'block'</span>;
      window.<span style="color: #660066;">setTimeout</span><span style="color: #009900;">&#40;</span><span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
        jq<span style="color: #009900;">&#40;</span>el<span style="color: #009900;">&#41;</span>.<span style="color: #660066;">fadeOut</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'slow'</span><span style="color: #009900;">&#41;</span>;
      <span style="color: #009900;">&#125;</span><span style="color: #339933;">,</span> <span style="color: #CC0000;">1000</span><span style="color: #009900;">&#41;</span>;
    <span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span>;
  <span style="color: #009900;">&#125;</span>
  <span style="color: #006600; font-style: italic;">//jquery exists; display version on icon click</span>
  <span style="color: #000066; font-weight: bold;">if</span> <span style="color: #009900;">&#40;</span><span style="color: #000066; font-weight: bold;">typeof</span> jQuery <span style="color: #339933;">!=</span> <span style="color: #3366CC;">'undefined'</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
    showJq<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span>;
  <span style="color: #006600; font-style: italic;">//no jquery; show bland icon and load jquery on click</span>
  <span style="color: #009900;">&#125;</span> <span style="color: #000066; font-weight: bold;">else</span> <span style="color: #009900;">&#123;</span>
    img.<span style="color: #660066;">src</span><span style="color: #339933;">=</span><span style="color: #3366CC;">'http://jquery.com/images/ics.png'</span>;
    img.<span style="color: #660066;">title</span><span style="color: #339933;">=</span><span style="color: #3366CC;">'Load jQuery'</span>;
    img.<span style="color: #660066;">onclick</span><span style="color: #339933;">=</span><span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span> <span style="color: #006600; font-style: italic;">//todo: rebind click event to above</span>
      <span style="color: #003366; font-weight: bold;">var</span> s<span style="color: #339933;">=</span>document.<span style="color: #660066;">createElement</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'script'</span><span style="color: #009900;">&#41;</span>;
      s.<span style="color: #660066;">setAttribute</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'src'</span><span style="color: #339933;">,</span><span style="color: #3366CC;">'http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js'</span><span style="color: #009900;">&#41;</span>;
      document.<span style="color: #660066;">getElementsByTagName</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'head'</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#91;</span>0<span style="color: #009900;">&#93;</span>.<span style="color: #660066;">appendChild</span><span style="color: #009900;">&#40;</span>s<span style="color: #009900;">&#41;</span>;
      <span style="color: #003366; font-weight: bold;">var</span> i <span style="color: #339933;">=</span> 0;
      <span style="color: #006600; font-style: italic;">// loadJQuery(): recursive calls until jQuery finishes loading</span>
      <span style="color: #003366; font-weight: bold;">function</span> loadJQuery<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
        el.<span style="color: #660066;">innerHTML</span><span style="color: #339933;">=</span><span style="color: #3366CC;">'jQuery Loading...'</span>;els.<span style="color: #660066;">display</span><span style="color: #339933;">=</span><span style="color: #3366CC;">'block'</span>;
        <span style="color: #000066; font-weight: bold;">if</span> <span style="color: #009900;">&#40;</span><span style="color: #339933;">++</span>i <span style="color: #339933;">&lt;</span> <span style="color: #CC0000;">10</span> <span style="color: #339933;">&amp;</span>#038;&amp; <span style="color: #000066; font-weight: bold;">typeof</span> jQuery <span style="color: #339933;">==</span> <span style="color: #3366CC;">'undefined'</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
          window.<span style="color: #660066;">setTimeout</span><span style="color: #009900;">&#40;</span>loadJQuery<span style="color: #339933;">,</span> <span style="color: #CC0000;">50</span><span style="color: #009900;">&#41;</span>;  <span style="color: #006600; font-style: italic;">//recheck every x milliseconds</span>
        <span style="color: #009900;">&#125;</span> <span style="color: #000066; font-weight: bold;">else</span> <span style="color: #000066; font-weight: bold;">if</span> <span style="color: #009900;">&#40;</span>i <span style="color: #339933;">&gt;=</span> <span style="color: #CC0000;">10</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span>    <span style="color: #006600; font-style: italic;">//don't try rechecking more than y times</span>
          el.<span style="color: #660066;">innerHTML</span><span style="color: #339933;">=</span><span style="color: #3366CC;">'Load jQuery failed&lt;br/&gt;(try again?)'</span>;
        <span style="color: #009900;">&#125;</span> <span style="color: #000066; font-weight: bold;">else</span> <span style="color: #009900;">&#123;</span>    <span style="color: #006600; font-style: italic;">//finished loading; show version and fade out</span>
          img.<span style="color: #660066;">onclick</span><span style="color: #339933;">=</span>showJq; <span style="color: #006600; font-style: italic;">//rebind to just show version</span>
          el.<span style="color: #660066;">innerHTML</span><span style="color: #339933;">=</span><span style="color: #3366CC;">'jQuery loaded, v'</span><span style="color: #339933;">+</span>jQuery.<span style="color: #660066;">fn</span>.<span style="color: #660066;">jquery</span>;
          img.<span style="color: #660066;">src</span><span style="color: #339933;">=</span>jqimg;  <span style="color: #006600; font-style: italic;">//reset img url to jquery icon</span>
          window.<span style="color: #660066;">setTimeout</span><span style="color: #009900;">&#40;</span><span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
            jQuery<span style="color: #009900;">&#40;</span>el<span style="color: #009900;">&#41;</span>.<span style="color: #660066;">fadeOut</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'slow'</span><span style="color: #009900;">&#41;</span>;
          <span style="color: #009900;">&#125;</span><span style="color: #339933;">,</span> <span style="color: #CC0000;">1000</span><span style="color: #009900;">&#41;</span>;
        <span style="color: #009900;">&#125;</span>
      <span style="color: #009900;">&#125;</span>
      loadJQuery<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span>;   <span style="color: #006600; font-style: italic;">//start loading jquery</span>
    <span style="color: #009900;">&#125;</span>;
  <span style="color: #009900;">&#125;</span>
<span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span>;</pre></td></tr></table></div>

<p>Once that&#8217;s done, all that&#8217;s left is to churn this (much heavier than Paul&#8217;s original) script through the <a href="http://developer.yahoo.com/yui/compressor/">YUI Compressor</a> to cut its size down a bit.  I also turned on compression for my scripts directory to get even more mileage out of it.</p>
<p>I have not yet gotten this working in Opera 9.5x, though Paul&#8217;s original script worked fine in 9.2x.</p>
<p>Each of the resulting scripts are available below:</p>
<ul>
<li><a href="http://pyrolupus.com/js/jquerydetector.user.js">jQuery Detector userscript</a> (for Greasemonkey/user scripts)</li>
<li><a href="http://pyrolupus.com/js/jqd.js">jQuery Detector Script</a> (referenced by the userscript)</li>
<li><a href="http://pyrolupus.com/js/jqd.debug.js">jQuery Detector Script - debug</a> (verbose)</li>
</ul>
<p>Can you find problems or think of improvements&#8212;or give me tips on why I&#8217;ve broken it in Opera?</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.pyrolupus.com/2008/07/jquery-detector-overkill/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Microsoft on Windows 2008 and Linux</title>
		<link>http://blog.pyrolupus.com/2008/05/microsoft-on-windows-2008-and-linux/</link>
		<comments>http://blog.pyrolupus.com/2008/05/microsoft-on-windows-2008-and-linux/#comments</comments>
		<pubDate>Thu, 22 May 2008 16:54:24 +0000</pubDate>
		<dc:creator>pyrolupus</dc:creator>
		
		<category><![CDATA[fud]]></category>

		<category><![CDATA[linux]]></category>

		<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://blog.pyrolupus.com/archives/7/microsoft-on-windows-2008-and-linux/</guid>
		<description><![CDATA[Microsoft would like us to believe it can help us &#8220;See How Windows Server 2008 Stacks up versus Linux.&#8221;  Let me see, how can I can sum up the entire site for you&#8230;

Ah, yes&#8230;that does the trick.
It is not at all surprising that the comparisons drawn by Microsoft favor Microsoft.  Red Hat’s own [...]]]></description>
			<content:encoded><![CDATA[<p>Microsoft would like us to believe it can help us &#8220;<span style="font-weight: 700; color: #ff0000;"><a href="http://www.microsoft.com/windowsserver/compare/windows-server-comparison-industry-perspectives.mspx">See How Windows Server 2008 Stacks up versus Linux</a></span>.&#8221;  Let me see, how can I can sum up the entire site for you&#8230;</p>
<p><img src="http://pyrolupus.com/img/linux-too-risky.jpg" alt="Microsoft sez: Linux Is Too Risky" /></p>
<p>Ah, yes&#8230;that does the trick.</p>
<p>It is not at all surprising that the comparisons drawn by Microsoft favor Microsoft.  Red Hat’s own site contains or points to anti-Microsoft articles and op-ed pieces.<br />
<span id="more-11"></span><br />
The white papers on Group Policy versus SELinux and User Account Control versus sudo are both, in my opinion, ineffective at the comparisons they are attempting to draw, because they fail to make the paradigm shift between the entirely different methods of security between Windows and Linux.</p>
<p>The case studies are very limited in information and in all cases do not provide a complete description of the process that the municipalities went through to make their decision.  For example, Lower Saxony’s Ministry of Justice migrated 15,000 users to Windows, but Lower Saxony’s tax authority migrated 12,000 workstations to SuSE Linux <em>in the same year</em>.  In both cases, it was due primarily to the technology already in use (Windows in the MoJ, Solaris in the tax authority) rather than any qualitative differences between the two operating systems and network technologies.</p>
<p>In most cases, the choice to move to a <em>new</em> operating system and network technology must consider the existing infrastructure.  Telling, then, is Munich, Germany’s decision to forgo its existing Windows infrastructure for SuSE (and later, Debian) Linux, beginning in 2003 (scheduled to complete next year).</p>
<blockquote><p>According to the cost study carried out by the Munich administration[1], training and migration are two of the biggest costs involved in migrating to Linux and open source applications, while the personnel, hardware, licences and operating costs were relatively low.[2]</p></blockquote>
<p>So, TCO (total cost of ownership) was a pivotal consideration—a point often repeated by Microsoft in its marketing campaign against Linux—in spite of the migration effort, time, and cost necessary:</p>
<blockquote><p>…the arduous process that led to the decision to migrate to Linux was actually based on Microsoft&#8217;s policies on Windows NT, and a subsequent study to determine the best course of action pursuant to the unexpectedly short life support cycle for NT.<br />
Microsoft announced an end-of-life support plan for NT that would prevent the operating system from surviving through the life cycle than the IT officials in Munich had anticipated.[3]</p></blockquote>
<p>For the country of Germany as recently as 2006:</p>
<blockquote><p>The German public sector has embraced open source enthusiastically. Nine out of every 10 German local authorities are using open source software, according to the MERIT survey, and OpenOffice.org is being run on more than 50,000 PCs in the German public sector, according to Erwin Tenhumberg, a product marketing manager at Sun.</p>
<p>A number of German cities are using, or planning to use, open source software, including Schwäbisch Hall, Mannheim, Treuchtlingen, Leonberg and Isernhagen. Schwäbisch Hall switched to Linux on more than 400 workstations and Mannheim plans to deploy Linux on 110 servers and 3,700 desktops.[4]</p></blockquote>
<p>Also, Microsoft downplays Linux’s effectiveness when that Linux sold by Red Hat, but explicitly endorses it when it is sold by another vendor (Novell/SuSE)[5].  (For the record, I&#8217;m not a big fan of Red Hat, either.  Haven&#8217;t been for many years.)</p>
<p>In closing, I am a huge fan of Linux.  I enjoy its longevity for any given installation, its licensing, and the culture of innovation and camaraderie that permeates its user base.  I feel like I can get more work done in Linux, because I’m more comfortable with it.  I <em>also</em> see great benefit in mixed environments that include both Windows <em>and</em> Linux servers and desktops.</p>
<p>[1] http://www.muenchen.de/vip8/prod2/mde/_de/rubriken/Rathaus/40_dir/limux/publikationen/clientstudie_kurz.pdf (in German)<br />
[2] http://news.zdnet.co.uk/software/0,1000000121,39171380,00.htm<br />
[3] http://www.linuxworld.com.au/index.php/id%3B2120885092%3Bfp%3B4%3Bfpid%3B4<br />
[4] http://news.zdnet.co.uk/software/0,1000000121,39274196,00.htm<br />
[5] http://www.moreinterop.com/</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.pyrolupus.com/2008/05/microsoft-on-windows-2008-and-linux/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Email Validation RegExp</title>
		<link>http://blog.pyrolupus.com/2007/11/email-validation-regexp/</link>
		<comments>http://blog.pyrolupus.com/2007/11/email-validation-regexp/#comments</comments>
		<pubDate>Fri, 02 Nov 2007 21:40:34 +0000</pubDate>
		<dc:creator>pyrolupus</dc:creator>
		
		<category><![CDATA[javascript]]></category>

		<category><![CDATA[regexp]]></category>

		<guid isPermaLink="false">http://blog.pyrolupus.com/archives/5/email-validation-regexp/</guid>
		<description><![CDATA[I had to search my desktop files and email history for forty minutes before I turned this up:


var rfc2822 =
/^&#91;\w!#$%&#38;'*+/=?^`{&#124;}~-]+(?:\.[\w!#$%&#38;'*+/=?^`&#123;&#124;&#125;~-&#93;+&#41;*@&#40;?:&#91;a-z0-9&#93;&#40;?:&#91;a-z0-9-&#93;*&#91;a-z0-9&#93;&#41;*&#41;+\.&#40;?:&#91;a-z&#93;&#123;2,4&#125;&#124;museum&#124;travel&#41;$/i;


That&#8217;s a JavaScript  variable declaration, but the RegExp is valid for Perl and can be quickly translated for other languages.
]]></description>
			<content:encoded><![CDATA[<p>I had to search my desktop files and email history for forty minutes before I turned this up:<br />
<font size="-1"></p>

<div class="wp_syntax"><div class="code"><pre class="javascript javascript" style="font-family:monospace;"><span style="color: #003366; font-weight: bold;">var</span> rfc2822 <span style="color: #339933;">=</span>
<span style="color: #339933;">/^</span><span style="color: #009900;">&#91;</span>\w<span style="color: #339933;">!</span>#$<span style="color: #339933;">%&amp;</span><span style="color: #3366CC;">'*+/=?^`{|}~-]+(?:<span style="color: #000099; font-weight: bold;">\.</span>[<span style="color: #000099; font-weight: bold;">\w</span>!#$%&amp;'</span><span style="color: #339933;">*+/=?^</span>`<span style="color: #009900;">&#123;</span>|<span style="color: #009900;">&#125;</span>~<span style="color: #339933;">-</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">+</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">*@</span><span style="color: #009900;">&#40;</span><span style="color: #339933;">?:</span><span style="color: #009900;">&#91;</span>a<span style="color: #339933;">-</span>z0<span style="color: #339933;">-</span><span style="color: #CC0000;">9</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#40;</span><span style="color: #339933;">?:</span><span style="color: #009900;">&#91;</span>a<span style="color: #339933;">-</span>z0<span style="color: #339933;">-</span><span style="color: #CC0000;">9</span><span style="color: #339933;">-</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">*</span><span style="color: #009900;">&#91;</span>a<span style="color: #339933;">-</span>z0<span style="color: #339933;">-</span><span style="color: #CC0000;">9</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">*</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">+</span>\.<span style="color: #009900;">&#40;</span><span style="color: #339933;">?:</span><span style="color: #009900;">&#91;</span>a<span style="color: #339933;">-</span>z<span style="color: #009900;">&#93;</span><span style="color: #009900;">&#123;</span><span style="color: #CC0000;">2</span><span style="color: #339933;">,</span><span style="color: #CC0000;">4</span><span style="color: #009900;">&#125;</span>|museum|travel<span style="color: #009900;">&#41;</span>$<span style="color: #339933;">/</span>i;</pre></div></div>

<p></font><br />
That&#8217;s a JavaScript  variable declaration, but the RegExp is valid for Perl and can be quickly translated for other languages.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.pyrolupus.com/2007/11/email-validation-regexp/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Not wasting (my) time</title>
		<link>http://blog.pyrolupus.com/2007/09/not-wasting-my-time/</link>
		<comments>http://blog.pyrolupus.com/2007/09/not-wasting-my-time/#comments</comments>
		<pubDate>Thu, 06 Sep 2007 02:53:25 +0000</pubDate>
		<dc:creator>pyrolupus</dc:creator>
		
		<category><![CDATA[drek]]></category>

		<guid isPermaLink="false">http://blog.pyrolupus.com/archives/3/not-wasting-my-time/</guid>
		<description><![CDATA[I wasn&#8217;t getting enough sleep or anything done around the corners of my life, so I created a blog.  I figured it was the most productive thing I could do with my free time.
I read somewhere&#8211;was it V?&#8211;who said something to the effect that bad writers create a blog so that they can pretend [...]]]></description>
			<content:encoded><![CDATA[<p>I wasn&#8217;t getting enough sleep or anything done around the corners of my life, so I created a blog.  I figured it was the most productive thing I could do with my free time.</p>
<p>I read somewhere&#8211;was it <a href="http://violentacres.com">V</a>?&#8211;who said something to the effect that bad writers create a blog so that they can pretend that they&#8217;re working on their writing.  Good for them.</p>
<p>By the way, I&#8217;m a bad writer.  Pleased to meet you.</p>
<p>So why am I here?  Well, because I have something to say.  Not right <em>now</em>, mind you, but in general, I do. I think the world is a messed up place, and not for (all of) the same reasons that everyone else seems to think it is.</p>
<p>More importantly, I need a place to collect my thoughts because I keep losing the slips of paper. No, that&#8217;s only partially true.  I don&#8217;t usually lose the scraps: I either forget about them or find them while sifting through old junk but the pencil lines are difficult to read. This way, at least, I have a semi-permanent place to keep all my stuff so I can search it without getting dust up my nose.</p>
<p>Okay, seal&#8217;s broken.  Next post might be more meaningful.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.pyrolupus.com/2007/09/not-wasting-my-time/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>
