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

<channel>
	<title>The Unix Curmudgeon</title>
	<atom:link href="http://blogs.info-engineering-svc.com/larye/?feed=rss2" rel="self" type="application/rss+xml" />
	<link>http://blogs.info-engineering-svc.com/larye</link>
	<description>Musings on Unix, Bicycling, Quilting,  Weaving, Old Houses, and other diversions</description>
	<lastBuildDate>Tue, 01 May 2012 19:53:22 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=</generator>
		<item>
		<title>Seasonal Affect</title>
		<link>http://blogs.info-engineering-svc.com/larye/?p=751</link>
		<comments>http://blogs.info-engineering-svc.com/larye/?p=751#comments</comments>
		<pubDate>Tue, 01 May 2012 01:19:57 +0000</pubDate>
		<dc:creator>larye</dc:creator>
				<category><![CDATA[Travel]]></category>
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://blogs.info-engineering-svc.com/larye/?p=751</guid>
		<description><![CDATA[No seasonal affective disorders here, just a brief return to winter.  On this last day of April, a quiet Monday, when most of the skiers have gone home and the golfers, mountain bikers, hikers, and fly fishers have not yet &#8230; <a href="http://blogs.info-engineering-svc.com/larye/?p=751">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<div id="attachment_752" class="wp-caption alignright" style="width: 610px"><a href="http://blogs.info-engineering-svc.com/larye/wp-content/uploads/2012/04/upper_kananaskis_3781.jpg"><img class="size-full wp-image-752" title="upper_kananaskis_3781" src="http://blogs.info-engineering-svc.com/larye/wp-content/uploads/2012/04/upper_kananaskis_3781.jpg" alt="" width="600" height="450" /></a><p class="wp-caption-text">Upper Kananaskis Lake</p></div>
<p>No seasonal affective disorders here, just a brief return to winter.  On this last day of April, a quiet Monday, when most of the skiers have gone home and the golfers, mountain bikers, hikers, and fly fishers have not yet arrived, we took advantage of the solitude to venture up into the Kananaskis Country, south of Canmore, climbing to an elevation of 1724 meters (5600 ft), where winter was in full force yet at the Kananaskis Lakes, which won&#8217;t begin to fill with snow melt for many weeks yet.</p>
<div id="attachment_753" class="wp-caption alignright" style="width: 610px"><a href="http://blogs.info-engineering-svc.com/larye/wp-content/uploads/2012/04/lower_kananaskis_3780.jpg"><img class="size-full wp-image-753" title="lower_kananaskis_3780" src="http://blogs.info-engineering-svc.com/larye/wp-content/uploads/2012/04/lower_kananaskis_3780.jpg" alt="" width="600" height="450" /></a><p class="wp-caption-text">Lower Kananaskis Lake</p></div>
<p>We chose not to bring our bicycle on this trip, figuring the bike trails would not yet be open. Well, we were partly right. Although there is an extensive trail system throughout Kananaskis Country, some trails are closed to bicycles, as seen here, and some are just closed, anyway, along with many roads, services, and all the campgrounds.</p>
<div id="attachment_754" class="wp-caption alignright" style="width: 610px"><a href="http://blogs.info-engineering-svc.com/larye/wp-content/uploads/2012/04/no_bikes_3784.jpg"><img class="size-full wp-image-754" title="no_bikes_3784" src="http://blogs.info-engineering-svc.com/larye/wp-content/uploads/2012/04/no_bikes_3784.jpg" alt="" width="600" height="401" /></a><p class="wp-caption-text">No Bikes Allowed on this trail, even if you can find it...</p></div>
<p>We had set out for the day up Alberta Highway 40, which was still closed for the winter about 50Km up the valley. After a short hike for views of the lakes, we headed back, following the GPS, which pointed out the shortest route back was via the Spray Lakes, most of which was unpaved, but, for the first 50 Km or so, was very wide and relatively smooth and empty of traffic.</p>
<div id="attachment_755" class="wp-caption alignright" style="width: 610px"><a href="http://blogs.info-engineering-svc.com/larye/wp-content/uploads/2012/04/open_road_3786.jpg"><img class="size-full wp-image-755" title="open_road_3786" src="http://blogs.info-engineering-svc.com/larye/wp-content/uploads/2012/04/open_road_3786.jpg" alt="" width="600" height="257" /></a><p class="wp-caption-text">Spray Trail, along the Spray Lakes Reservoir</p></div>
<p>The scenery was great, even though visibility was low.</p>
<div id="attachment_756" class="wp-caption alignright" style="width: 610px"><a href="http://blogs.info-engineering-svc.com/larye/wp-content/uploads/2012/04/spray_lakes_3785.jpg"><img class=" wp-image-756" title="spray_lakes_3785" src="http://blogs.info-engineering-svc.com/larye/wp-content/uploads/2012/04/spray_lakes_3785.jpg" alt="" width="600" height="450" /></a><p class="wp-caption-text">Spray Lakes Reservoir</p></div>
<p>Despite having dropped quite a bit in altitude, the lakes were still frozen, and we were getting quite close to town. At the dam at the head of the main reservoir, the road narrowed and deteriorated, and, more ominously, quit descending, until we came to Whitemans Pond, perched on the edge of a cliff, 400 meters (1300 ft) directly above our resort. The narrow gravel road turned sharply left across the face of the cliff and descended at a double-digit grade. Suffice it to say that, had we chosen this route outbound to the high country, we would not have attempted the journey. As it was, we were within 5Km of town and no turn-arounds, so we plummeted down the slope, transmission screaming in low gear (but, to her credit, the Nice Person, white-knuckled in the infelicitous downward-view seat, was not&#8211;screaming, that is).</p>
<div id="attachment_758" class="wp-caption alignright" style="width: 610px"><a href="http://blogs.info-engineering-svc.com/larye/wp-content/uploads/2012/04/slope_3787.jpg"><img class="size-full wp-image-758" title="slope_3787" src="http://blogs.info-engineering-svc.com/larye/wp-content/uploads/2012/04/slope_3787.jpg" alt="" width="600" height="300" /></a><p class="wp-caption-text">Spray Trail (diagonal cut above the trees in the forground)</p></div>
<p>Meanwhile, between adventures in the wilderness, work goes on for the Unix Curmudgeon. Email correspondence tended, files uploaded, advice rendered, and life goes on. Hmmm, wonder where to go tomorrow on coffee break?</p>
]]></content:encoded>
			<wfw:commentRss>http://blogs.info-engineering-svc.com/larye/?feed=rss2&#038;p=751</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Northern Exposure</title>
		<link>http://blogs.info-engineering-svc.com/larye/?p=742</link>
		<comments>http://blogs.info-engineering-svc.com/larye/?p=742#comments</comments>
		<pubDate>Mon, 30 Apr 2012 02:19:44 +0000</pubDate>
		<dc:creator>larye</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://blogs.info-engineering-svc.com/larye/?p=742</guid>
		<description><![CDATA[Every now and then, when the country seems a bit skewed, we feel drawn northward, to spend some time among our more bucolic neighbors, the Canadians.  Also, they have terrific scenery.  Actually, domestic chaos aside, the real reason for our &#8230; <a href="http://blogs.info-engineering-svc.com/larye/?p=742">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Every now and then, when the country seems a bit skewed, we feel drawn northward, to spend some time among our more bucolic neighbors, the Canadians.  Also, they have terrific scenery.  Actually, domestic chaos aside, the real reason for our periodic escapes is that we invested in a timeshare scheme a number of years ago, which forces us to go on holiday now and then.  Such is the current excursion, and the timing.  We had &#8220;use or lose time,&#8221; and decided to revisit the Canadian Rockies, which we last viewed from our trusty old Santana tandem bicycle in the summer of 1988.</p>
<p>So, we found ourselves, after several days of leisurely travel, in Canmore Alberta, having retraced some of our celebrated bike tour before heading east from Banff.  Of course, not being exactly ready for vacation&#8211;again&#8211;we have brought work with us.  Such is the magic and curse of the Internet&#8230;</p>
<div id="attachment_743" class="wp-caption alignright" style="width: 610px"><a href="http://blogs.info-engineering-svc.com/larye/wp-content/uploads/2012/04/columbia_3764.jpg"><img class="size-full wp-image-743" title="columbia_3764" src="http://blogs.info-engineering-svc.com/larye/wp-content/uploads/2012/04/columbia_3764.jpg" alt="" width="600" height="450" /></a><p class="wp-caption-text">Columbia Lake, looking south to the headwaters of the Columbia River</p></div>
<p>It&#8217;s always a treat to journey to the headwaters of the mighty Columbia River, which is only a few kilometers from its eventual tributary, the Kootenay, already a mighty river as it passes through Canal Flats, near the head of Lake Columbia.  Canal Flats is called thus because David Thompson, for whom Thompson Falls, Montana is named, built a canal between Lake Columbia and the Kootenay to create a water trade route through eastern British Columbia, Montana, and Idaho.</p>
<div id="attachment_744" class="wp-caption alignright" style="width: 610px"><a href="http://blogs.info-engineering-svc.com/larye/wp-content/uploads/2012/04/sinclair_pass_3766.jpg"><img class="size-full wp-image-744" title="sinclair_pass_3766" src="http://blogs.info-engineering-svc.com/larye/wp-content/uploads/2012/04/sinclair_pass_3766.jpg" alt="" width="600" height="318" /></a><p class="wp-caption-text">Kootenay National Park, Canada, looking north from Sinclair Pass</p></div>
<p>Moving on north along the Columbia (which flows north before turning south toward Washington), we climb through Sinclair Canyon into the Kootenay National Park, following our bike tour path of so long ago.  This view up the Kootenay from Sinclair Pass is near where we cracked a rim riding over a slip in the road surface.  We rode on it, with minor adjustments at Banff, another 400 kilometers to Jasper, getting a new rim on our return.</p>
<div id="attachment_745" class="wp-caption alignright" style="width: 610px"><a href="http://blogs.info-engineering-svc.com/larye/wp-content/uploads/2012/04/bow_falls_banff_3770.jpg"><img class="size-full wp-image-745" title="bow_falls_banff_3770" src="http://blogs.info-engineering-svc.com/larye/wp-content/uploads/2012/04/bow_falls_banff_3770.jpg" alt="" width="600" height="450" /></a><p class="wp-caption-text">Bow Falls, in Banff, Alberta</p></div>
<p>On this trip, we traversed what was a three-day bike ride from Radium Hot Springs into Banff in about 90 minutes in the car.  After lunch, we did a bit of site-seeing around Banff before moving on to our destination in Canmore.</p>
<div id="attachment_746" class="wp-caption alignright" style="width: 610px"><a href="http://blogs.info-engineering-svc.com/larye/wp-content/uploads/2012/04/confluence_bow_spray_3769.jpg"><img class="size-full wp-image-746" title="confluence_bow_spray_3769" src="http://blogs.info-engineering-svc.com/larye/wp-content/uploads/2012/04/confluence_bow_spray_3769.jpg" alt="" width="600" height="450" /></a><p class="wp-caption-text">Looking east at the confluence of the Bow and Spray rivers, Banff</p></div>
<p>&nbsp;</p>
<div id="attachment_747" class="wp-caption alignright" style="width: 610px"><a href="http://blogs.info-engineering-svc.com/larye/wp-content/uploads/2012/04/banff_3776.jpg"><img class="size-full wp-image-747" title="banff_3776" src="http://blogs.info-engineering-svc.com/larye/wp-content/uploads/2012/04/banff_3776.jpg" alt="" width="600" height="450" /></a><p class="wp-caption-text">Mt. Rundle, from the Tunnel Mountain Road, Banff</p></div>
<p>&nbsp;</p>
<div id="attachment_748" class="wp-caption alignright" style="width: 610px"><a href="http://blogs.info-engineering-svc.com/larye/wp-content/uploads/2012/04/worldmark_3779.jpg"><img class="size-full wp-image-748" title="worldmark_3779" src="http://blogs.info-engineering-svc.com/larye/wp-content/uploads/2012/04/worldmark_3779.jpg" alt="" width="600" height="450" /></a><p class="wp-caption-text">Worldmark Canmore</p></div>
<p>So, here we are, an extension of Chaos Central in the far north.  It is not quite spring here.  This morning in Cranbrook, there was frost on the car, and snow in sheltered areas, and we experienced a few flurries while taking pictures on Tunnel Mountain, though the temps reached the teens (C) in the valleys.  We have a week to explore the area, and try to get some work done, before returning to the normal hectic pace.</p>
]]></content:encoded>
			<wfw:commentRss>http://blogs.info-engineering-svc.com/larye/?feed=rss2&#038;p=742</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>$50 Coffee</title>
		<link>http://blogs.info-engineering-svc.com/larye/?p=737</link>
		<comments>http://blogs.info-engineering-svc.com/larye/?p=737#comments</comments>
		<pubDate>Sun, 25 Mar 2012 22:45:43 +0000</pubDate>
		<dc:creator>larye</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://blogs.info-engineering-svc.com/larye/?p=737</guid>
		<description><![CDATA[We love Starbucks.  Not that they are the greatest coffee company ever, but because they are literally everywhere and consistent.  When we travel, we know what we can get at the sign of the Mermaid.  We also use the Starbucks &#8230; <a href="http://blogs.info-engineering-svc.com/larye/?p=737">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>We love Starbucks.  Not that they are the greatest coffee company ever, but because they are literally everywhere and consistent.  When we travel, we know what we can get at the sign of the Mermaid.  We also use the Starbucks Gold Card, a debit card that saves a lot of hassle with carrying cash or putting up with credit card transaction fees per cup.</p>
<p>So, when we were in Seattle, the ancestral home and headquarters of Starbucks, for an IT conference, we had a need for &#8220;one for the road&#8221; when heading home.  There was a Starbucks just around the corner, but, being in a hurry, we elected to drive (us, the intrepid bike tourists?  What were we thinking?), with the excuse that it&#8217;s &#8220;on the way.&#8221;  Of course, urban shops don&#8217;t have drive-up windows (which we almost never use, anyway&#8211;half the enjoyment is ogling the pastry case and the coffee accessory displays arrayed to direct and slow traffic flow), and there is no parking on the street except a slot about two feet shorter than our not-so-big Jeep.  No problem, there&#8217;s another Starbucks just a few short blocks away, walkable in less time that it takes to chug a Venti caramel latte.  Such is life in big cities on the west coast: if you can see a Starbucks, odds are very good that you are in one already.</p>
<p>So, off we go, straight ahead.  And, lo, there is a parking spot directly in front of the store.  It&#8217;s about 5:30pm on a Saturday; the parking permit machine is halfway down the block.  It&#8217;s gotta be after hours, right?  So, we dash in, order coffee and a pastry, depleting our gold card balance by about $6.  But, by the time the pastry comes out of the microwave and we dash back to our car, there&#8217;s a $44 ticket stuck in the wiper blade, with the ink still drying, and a date stamp of 5:27, about 20 seconds ago.</p>
<p>Of course, the $50 coffee pales in comparison to staying at the conference hotel.  Oh, it was a very nice hotel, to be sure, but city real estate is at a premium, so everything is compact.  Double bed, up against the wall, and bathroom so small that you had to step into the tub to close the door.  But, big closet, complete with complementary (with $20 deposit) umbrella (this is the Emerald City, after all), and corresponding big price tag, at nearly $200 a night, bring your own iPod if you want to wake to music.  But, for this, we got a spectacular view of the sunset over the Olympic Mountains (they&#8217;re to the north from our windows at home).</p>
<p>And, the conference was terrific: so much talent in the Silicon Rain Forest: most of the  instructors were fairly local, and absolutely tops in their fields.  I took classes in network troubleshooting and server configuration management from local folks (Portland, OR being fairly local) and VM cluster management from one of Google&#8217;s top New York sysadmins, whose books line my office shelves.  Will we back? You bet, but next time, we take the ferry and the bus, like we used to when we worked here, back in the 90s.  Parking in the city is a non-starter.</p>
]]></content:encoded>
			<wfw:commentRss>http://blogs.info-engineering-svc.com/larye/?feed=rss2&#038;p=737</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Warp Speed and Time Dilation</title>
		<link>http://blogs.info-engineering-svc.com/larye/?p=730</link>
		<comments>http://blogs.info-engineering-svc.com/larye/?p=730#comments</comments>
		<pubDate>Thu, 15 Mar 2012 20:03:52 +0000</pubDate>
		<dc:creator>larye</dc:creator>
				<category><![CDATA[Fiber Arts]]></category>
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://blogs.info-engineering-svc.com/larye/?p=730</guid>
		<description><![CDATA[Exactly 11 months ago, we announced our new fascination with strings, regular expressions, and patterns&#8211;using yarn instead of bytes, in the blog article  Strung Out and Warped. The process of warping a loom is much like writing computer programs.  First, &#8230; <a href="http://blogs.info-engineering-svc.com/larye/?p=730">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Exactly 11 months ago, we announced our new fascination with strings, regular expressions, and patterns&#8211;using yarn instead of bytes, in the blog article  <a href="http://blogs.info-engineering-svc.com/larye/?p=344">Strung Out and Warped</a>. The process of warping a loom is much like writing computer programs.  First, you decide what you want the project to do, then select the materials, write a flow diagram (in weaving, called a draft), then code (wind and thread the warp).  Testing is a matter of running through each combination of inputs and outputs, then fixing or redesigning as necessary. In the weaving process (and, sometimes in the programming process as well), a poorly plannned and/or badly executed project sometimes runs out of budget, and the project either gets terminated or shelved and put back in the budget cycle if it is important.</p>
<p>And, so it went.  After weaving a couple inches of weft and examining the results, the pattern had some glitches in it.  I discovered I had skipped a step in the threading pattern, about 1/3 of the way across the warp. Correcting this problem required unthreading about 100 threads and moving them to the next harness.  About 3/4 of the way through this process, real work crept in, and the time budget ran out.</p>
<p>The project sat idle for about nine months.  Finally, when a similar fate befell an actual programming project, the Unix Curmudgeon (under some prodding from the Nice Person, who wanted to use the loom the stalled project was tying up) reopened the project and finished threading those last couple dozen warp threads, retied the warp, and started weaving.  Again, the testing cycle, a couple of inches of weft later, showed a break in the pattern.  This time, it was only a couple threads in the wrong harnesses.  Clipping the heddle and tying a new one on the proper harness fixed the problem, and the project proceeded.</p>
<p>The project is a stitched doubleweave, with 8/2 wool on top at 12epi, and 20/2 Tencel at 24epi on the bottom. A short video of the weaving process is <a href="https://vimeo.com/38141247">here.</a></p>
<p>The weaving process, once &#8220;debugged,&#8221; proceeded swiftly.  Other than a few issues with maintaining uniform tension between the two different fibers (wool grabs <em>everything</em>, and I broke a warp thread that got doubled over when I advanced the warp), and a couple of weft floats caused by not having enough warp tension (helped by sticky wool warp), the project turned out well.  Documentation of projects is also helpful: the first hem end is tabby, while the second hem end is pattern weave, the weaver having forgotten what he did several weeks ago&#8230;</p>
<p>The finished product was &#8220;fulled&#8217; (rinsed in hot water to let the fiber tension even out and the fabric shrink a bit), and laid out flat to dry.  It turned out just a bit wider than planned (the weft tension was not as high as estimated), but exactly the planned length, which was measured while weaving, with a 10% shrinkage allowance.</p>
<div id="attachment_732" class="wp-caption alignright" style="width: 610px"><a href="http://blogs.info-engineering-svc.com/larye/wp-content/uploads/2012/03/scarf_3716w.jpg"><img class="size-full wp-image-732" title="scarf_3716w" src="http://blogs.info-engineering-svc.com/larye/wp-content/uploads/2012/03/scarf_3716w.jpg" alt="" width="600" height="450" /></a><p class="wp-caption-text">Finished wool-tencel scarf</p></div>
<p>The completed scarf is a &#8220;re-imagining&#8221; of a World War I aviators scarf. Modern aviator scarves are silk, but in the original open-cockpit planes of the 1914-1918 era, wool was needed for warmth, and silk for wiping engine oil from goggles and instruments. Most of the early combat planes on both sides used rotary engines (not to be confused with the Wankel rotor engine). These engines used a lot of oil, which was usually castor oil, which does not dissolve in gasoline. Without a model to work from, I decided to try to create a two-sided scarf using stitched double-weave. The weave structure does not separate the fibers, but the wool is dominant on one side and the tencel, a modern silk substitute, is dominant on the other. The result is interesting, if not quite what I expected.</p>
<p>Unlike computer software, where the bugs can be removed by patching and performance improved by refactoring, a woven cloth is what it is, unless the errors are caught and corrected while weaving. The knot where the warp thread broke shows as a woolly spot on the tencel side and the inadvertent weft floats show as well in the pattern. The two misthreading errors were corrected, but the item was not rewoven, so they show in the first couple of inches. But, the discipline required to weave well should also improve my coding skills, as coding errors are easier to correct if caught early, and refactoring during development (like reweaving to remove mistakes) results in a better product.</p>
]]></content:encoded>
			<wfw:commentRss>http://blogs.info-engineering-svc.com/larye/?feed=rss2&#038;p=730</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Web Evolution</title>
		<link>http://blogs.info-engineering-svc.com/larye/?p=724</link>
		<comments>http://blogs.info-engineering-svc.com/larye/?p=724#comments</comments>
		<pubDate>Fri, 02 Mar 2012 16:46:12 +0000</pubDate>
		<dc:creator>larye</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Webcraft]]></category>

		<guid isPermaLink="false">http://blogs.info-engineering-svc.com/larye/?p=724</guid>
		<description><![CDATA[One of the conundrums of the past month at Chaos Central has been the problem of making changes to a web site for which the Unix Curmudgeon is the content editor but not the programmer. The site, a few years &#8230; <a href="http://blogs.info-engineering-svc.com/larye/?p=724">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>One of the conundrums of the past month at Chaos Central has been the problem of making changes to a <a href="http://www.olympiaweaversguild.org">web site</a> for which the Unix Curmudgeon is the content editor but not the programmer. The site, a few years old, was a set of custom pages with a simple content editor that allowed the web editor to create, update, or delete some of the entries on some of the pages. The tool allowed photos to be inserted in some of the forms, and some of them were in calendar format, with input boxes for dates. The problem was updating documents in the download section, for which there was no editing form. This was becoming an acute problem because the documents in question tend to change year to year.</p>
<p>At first, the solution to the problem seemed to be to modify the source code to add the required functionality, which involved getting the source code from the author and permission to modify it, something we had done before to change a static list page to read from a tab delimited file.  But, the types of changes didn&#8217;t always fit with the format of the administration forms and still required sending files to the server administrator, as we didn&#8217;t have FTP or SSH access to the site.  Then, we noticed that the web hosting service had recently added WordPress to the stable of offerings.  The solution was obvious: convert the entire site to WordPress.  Of course, the convenience of fill-in-the-blank forms would be gone, but we would have the ability to create new pages, add member accounts, create limited-access content, and upload both documents and photos.</p>
<p>The process was fairly simple:  using the stock, standard WordPress template, the content of the current site was simply copied and pasted into new pages, and the site configured as a web site with a blog rather than the default blog with pages format.  Some editing of the content to fit with the standard WordPress theme style models, and juggling the background and header to fit with the color scheme and appearance of the old site, and incorporate the organization&#8217;s logo in the header, and it was done: the system administrator replaced the old site with the new, with appropriate redirection mapping from the old PHP URLs to the corresponding WordPress pages. This migration represented yet another step in the evolution of the web, or, more properly, in our experience with on-line content.</p>
<p>In the beginning, there was the concept of markup languages.  My first encounter with such was in the mid 1980s with the formatting tags in Ventura Publisher, which was the first desktop publishing tool, introduced in GEM (Graphical Environment Manager), a user interface orginally developed for CP/M, the first microcomputer operating system, preceding MS-DOS by a few years (MS-DOS evolved from a 16-bit port of the 8-bit CP/M).  Markup tags grew from the penciled editing marks used in the typewriter age, by which editors indicated changes to retype copy:  Capitalize this, underline (bold) this, start a new paragraph, etc.  In typesetting, markups indicated the composition element, i.e., chapter heading, subparagraph heading, bullet list, etc, rather than specific indent, typeface and size, etc.  In electronic documents, tags were inserted as part of the text, like &lt;tag&gt;this&lt;/tag&gt;.  Where the tag delimiters needed to be installed in the text, they were described as special characters, like &amp;gt;tag&amp;lt; to print &#8220;&lt;tag&gt;&#8221; (which, if you look at the page source for this document, you will see nested several layers deep, since printing &#8220;&amp;&#8221; requires yet another &#8220;escape,&#8221; &amp;amp;).</p>
<p>One of the reasons for the rise of markup languages as plain-text tags in documents was the proliferation of software systems, all of which were incompatible, and for which the markup tags were generally binary, i.e., not human readable.  Gradually, the tags became standardized.  When the World Wide Web was conceived, an augmented subset of the newly-minted Standardized Generalized Markup Language (SGML) was christened  HyperText Markup Language (HTML).  HTML used markup tags primarily to facilitate linking different parts of text out of order, or even enable jumping to different documents.  Later, the anchor (&lt;A&gt;) tag  and its variants were expanded to allow insertion of images and other elements.</p>
<p>Of course, these early web documents were static, and editors and authors had to memorized and type dozens of different markup tags.  To make matters worse, the primary advantage of markup tags, the identification of composition elements independent of style, became subverted as browser software proliferated.  In the beginning, the interpretation of tags was controlled by the Document Type Definition (DTD), the &#8220;back end&#8221; part of the markup language concept.  The DTD is a fairly standard description of how to render the tags in a particular typesetting or display system.  Each HTML document is supposed to include a tag that identifies the DTD for the set of tags used in the rest of the document.  But, since different browsers might display a particular tag with different fonts&#8211;size, typeface, color, etc.&#8211;the HTML tags allowed style modifiers to specify how the particular element enclosed by that one tag would be displayed.  This not only invites chaos, i.e., allows every instance of the same tag to be displayed differently, but most word processors, when converting from internal format to HTML, surround every text element with the precise style that applies to that text element, making it virtually impossible to edit for style in HTML form.  To combat this proclivity toward creative styling, the Cascading Style Sheet (CSS) was invented, allowing authors and editors to globally define a specific style for a tag, or locally define styles within a cascade, by using the &lt;DIV&gt; and &lt;SPAN&gt; tags to define a block of text or subsection within a tag.</p>
<p>It quickly became obvious that HTML, as a static markup, was not adequate for the dynamic growth of information on the Web.  Web pages could interact with users, by transmitting snippets of programming script code (between &lt;SCRIPT&gt;&lt;/SCRIPT&gt; tags) bound to markup tags by modifiers to create effects like changing text color when the mouse is over the enclosed text, or preprocess form input to validate data entry before transmitting it to the server.  The most popular scripting language for this is Javascript.  Of course, in the beginning, competing browsers interpreted the code differently or even supported different dialects of the language, which caused no end of grief for web programmers.  Fortunately, the popularity and proliferation of non-Microsoft browsers in recent years has caused Microsoft to tone down that aspect of their quest for world domination, so Javascript is now more or less standardized.</p>
<p>In order to use the Web as an interactive tool, and an interface for applications running on the server, it was necessary to augment the HyperText Transmission Protocol (HTTP), the language that the server uses to process requests from the browser, to pass requests to internal programs on the server.  This was implemented through the Computer Gateway Interface (CGI &#8212; not to be confused with Computer Generated Imagery used in movie-making animation and special effects).  Originally, it was necessary to write all of the code to generate HTML documents from the CGI code and to parse the input from the browser. But, thanks to a Perl module, CGI.pm, written by renowned scientist Dr. Lincoln Stein, this became a lot easier and established the Perl scripting language as the <em>de facto</em> web programming language.</p>
<p>But, as the Web became ubiquitous, most content on the web was still static HTML, created by individuals using simple HTML tags in a text editor or saving their word processing documents as HTML, or using PC-based HTML editors like Homesite or Dreamweaver.  Adding interactive elements to these pages required them to be rewritten as CGI programs that emitted (programmer-eze for &#8220;printed&#8221;) the now-dynamic content.  By now, however, web servers had incorporated internal modules that could run CGI programs directly without calling the external interpreter software and incurring extra memory overhead.  By adding special HTML tags interpreted by the server, snippets of script code could be added in-line with the page content, making it much easier to convert static pages to dynamic ones.  Since the primary need was to add the ability to process form input, this led to the development of specialized server-side scripting languages, such as Rasmus Lerdorf&#8217;s PHP.</p>
<p>But, now that creating web pages was becoming a programming task more than a word-smithing task, there was a need for better authoring tools.  The proliferation of PHP and the spread of high-speed Internet access made it more feasible to actually put interactive user applications on web servers.  Web editing moved from the personal computer to the Web itself, as the concept of content management systems took hold.  Early forms were Wikis, where users could enter data with Yet Another Markup Standard, that would be stored on the server and displayed as HTML.  More free-form text form processors followed, making possible forums of dialogue and whole web formats for group interaction, using engines like PHP-Nuke and others, that used a database back-end to store input and PHP to render the stored content and collect new content. The expansion of the forums into tools for diarists and essayists in the form of blogs (from weB LOG) led to development of even more powerful content management systems, like Joomla and WordPress, capable of developing powerful web sites without programming.</p>
<p>So, we have progressed in evolution from desktop publishing to the Web, to interactive applications, to converting static sites to dynamic ones, and finally, to converting custom programs to templates for generalized site-building engines.  The Web, through new web forums for social interaction between friends and relatives who have never seen raw HTML code, allows ordinary folks to converse with friends and relatives across the world, to post photos, videos, and links to other sites of interest, just as the original hypertext designers intended.  What seemed arcane and innovative thinking 30 years ago is now just another form of natural human interaction.</p>
<p>But, for those of us who make our living interpreting dreams in current technology, the bar moves up again.  As we no longer think about the double newline needed at the beginning of every HTML document after the &#8220;Content-type&#8221; line and before the &lt;HTML&gt; tag, which is the first code emitted from a CGI program or from the server itself, we no longer need to write CSS files from scratch or PHP functions to perform common actions.  But, we need to learn the new tools and still remember how to tweak the code for those distinctive touches that separate the ordinary from the special.  And, there are still lots of sites to upgrade&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://blogs.info-engineering-svc.com/larye/?feed=rss2&#038;p=724</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>After the Storm:  Powering up the Virtual Data Center</title>
		<link>http://blogs.info-engineering-svc.com/larye/?p=699</link>
		<comments>http://blogs.info-engineering-svc.com/larye/?p=699#comments</comments>
		<pubDate>Sat, 21 Jan 2012 00:44:17 +0000</pubDate>
		<dc:creator>larye</dc:creator>
				<category><![CDATA[All things Unix]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://blogs.info-engineering-svc.com/larye/?p=699</guid>
		<description><![CDATA[There is something to be said for colocation and cloud services, where organizations keep their data and maybe even physical servers in remote facilities that share backup generators, redundant air handlers, multiple network paths, and distributed systems with fail-over redundancy. &#8230; <a href="http://blogs.info-engineering-svc.com/larye/?p=699">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>There is something to be said for colocation and cloud services, where organizations keep their data and maybe even physical servers in remote facilities that share backup generators, redundant air handlers, multiple network paths, and distributed systems with fail-over redundancy.  But, ultimately, unless you are a true road warrior and connect  wirelessly from coffee shops and airline waiting areas to your exclusively cloud-based or colocated resources, you will need to manage your own network in the face of long-term power outages.</p>
<p>Here at Chaos Central, we have the usual UPS units lurking under the desks, which we largely ignore until the power goes out and they start beeping.  The home office/small office versions of these small units that more or less promise Uninteruptible Power to your computers are best for those momentary power glitches that plague any power grid during uncertain weather or simply human error at the control center: the lights blink, the power supplies beep, and computing goes on.   During winter ice storms and summer heat waves, when everything goes dark for minutes or hours, one of two things happens:</p>
<p>Ideally, you have a flashlight nearby so you can see the keyboards of the servers and workstations well enough to save your current work and run through shutdown cycles (for those machines that don&#8217;t have software wired to the power supply that automatically do this) before the batteries run down.  If you have done your system design correctly, you have purchased enough capacity to run the systems for five to fifteen minutes on battery, long enough to shut down the systems gracefully.</p>
<p>On the other hand, if you haven&#8217;t provisioned properly, or if you have not paid attention to the age of that black or beige box under your desk, the systems will shut down ungracefully, sometimes in mid keystroke.  Batteries need to be replaced every 3-5 years: the units themselves continue to improve, and the electronics also have been known to fail, so replacing the entire unit is sometimes easier and not that much more expensive.  A good rule of thumb is to get a new UPS when you buy a new computer.  Laptops have a built-in UPS, the battery, so all you need is a surge protector.</p>
<p>In either case&#8211;orderly or disorderly shutdown&#8211;in an extended outage, the UPS units need to be turned off and everything gets quiet.  When the power is restored, it all needs to be turned back on manually.  (Tip:  if you work from a home office and travel often during &#8220;the season,&#8221; it is a good idea to have a &#8220;network sitter,&#8221; someone you trust who can go to your house and turn the critical systems back on after an outage, if you need remote access to your network: we&#8217;ve been left &#8220;out in the cold&#8221; several times over the years, and, yes, have had a network sitter from time to time and it has paid off).</p>
<p>At Chaos Central, some systems come on with the line power, but some need to be manually started as well.  Our main server is a Citrix XenServer, which hosts a variety of systems, some of which are used for network services and some for experiments and development projects, so we leave those to be manually started from the XenServer console.  But, the NFS shares and system image shares need to be connected from the XenCenter GUI, which only runs on Windows.  We keep a Microsoft Windows XP image (converted to VM from an old PC that now runs Linux) in the virtual machine stack for that, but, in order to use it, we have to attach to it from a Linux system that runs XVP.  Finally, after all the network shares, DNS server, and DHCP server are started, we can boot up the rest of the VMs and physical machines.</p>
<p>The next step in the process is to prime the backup system.  Here at Chaos Central, we use rsnapshot to do backups, with SSH agents to permit the backup server to access the clients.  The agent needs to be primed and passphrases entered into it.  The agent environment is kept in a file, accessed by the cron jobs that run the backup process.</p>
<pre>ssh-agent &gt; my_agent_env; source my_agent_env; ssh-add</pre>
<p>starts the agent and puts the socket id in a file, then sets the environment from the file and adds credentials to it.  Previously, each backup client has had the public key installed in the .ssh/authorized_keys file.  And, of course, since we use inexpensive USB drives instead of expensive tape drives, we need to manually mount the drives: those things never seem to come up fast enough to be mounted from /etc/fstab.   There is a setting in /etc/rsnapshot.conf to prevent writing to the root drive in  case you forget this step&#8230;</p>
<p>We also permit remote logins to our bastion server so we can access our files while on travel.  After the system has been off-line for a while, we can&#8217;t count on getting the same IP address for our network from our provider, so we have a cron job in the system that queries the router periodically for the current IP address, then posts changes to a file on our external web server shell account.  This also requires setting up an SSH agent.</p>
<p>Now, we are all up and running, usually just in time for the next power outage: here in the Pacific Northwest, winter ice storms usually result in several days of rolling blackouts.  Yesterday was up and down, today has been stable, except for a few blinks that don&#8217;t take down the network, so the backups are running and all the services are up.  Our son and grandsons have arrived with a pile of dead computers, cell phones, and rechargeable lighting, having endured two days of continuous blackout in their larger city.  The network is abuzz as everyone jacks in  to catch up on work, news, mail, etc.</p>
<p>It&#8217;s a lot of work to run a multi-platform network in a home office, but worth it, when you consider that we didn&#8217;t have to scrape snow and ice off the car, shovel the driveway, or brave icy streets and snarled traffic to get to &#8220;the office.&#8221;</p>
<div id="attachment_705" class="wp-caption alignright" style="width: 610px"><a href="http://blogs.info-engineering-svc.com/larye/wp-content/uploads/2012/01/3609_telecommuter.jpg"><img class="size-full wp-image-705" title="3609_telecommuter" src="http://blogs.info-engineering-svc.com/larye/wp-content/uploads/2012/01/3609_telecommuter.jpg" alt="" width="600" height="450" /></a><p class="wp-caption-text">The benefits of telecommuting outweigh the chore of keeping up the network.</p></div>
]]></content:encoded>
			<wfw:commentRss>http://blogs.info-engineering-svc.com/larye/?feed=rss2&#038;p=699</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Why Snow Paralyzes Puget Sound</title>
		<link>http://blogs.info-engineering-svc.com/larye/?p=694</link>
		<comments>http://blogs.info-engineering-svc.com/larye/?p=694#comments</comments>
		<pubDate>Fri, 20 Jan 2012 05:05:56 +0000</pubDate>
		<dc:creator>larye</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://blogs.info-engineering-svc.com/larye/?p=694</guid>
		<description><![CDATA[Note:  This was written on battery, in the dark, during the obligatory post-snowfall power outage at Chaos Central. The folks who live on the Great Plains and along the Great Lakes snicker a bit at news reports on the mass &#8230; <a href="http://blogs.info-engineering-svc.com/larye/?p=694">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><em>Note:  This was written on battery, in the dark, during the obligatory post-snowfall power outage at Chaos Central.</em></p>
<p>The folks who live on the Great Plains and along the Great Lakes snicker a bit at news reports on the mass closures in Seattle when snow comes to the the Puget Sound region. Of course, the standard excuse is, “It doesn&#8217;t snow that much here, so we don&#8217;t have enough snow removal equipment.” But, wait, there&#8217;s more&#8230;</p>
<p>Most of us live in the Pacific Northwest because of the geography and the climate. The climate is temperate, with few days below freezing in the winter and few days in the 90s in the summer. Most of us live within 20 miles of either salt water or a fresh-water lake. If you want snow, you can find it in the nearby Olympic or Cascade mountain ranges, 12 months out of the year. The rest of the year, the lush green mountains invite backpackers, the flat river valleys attract bicyclists, lakes and estuaries fill with kayakers and canoeists, rivers with rafters, and the larger lakes and the Salish Sea (the accepted name for the inland sea that stretches from Olympia, Washington to Prince Rupert, BC, bounded by the Olympic Peninsula and Vancouver Island) fills with sailboats and motor craft of all sizes.</p>
<p>For all of this, we are willing to put up with the moisture that is a natural consequence of air warmed by the Pacific ocean currents flowing up the coast from the south. Rainwear is a fashion statement, and umbrellas are considered a mostly ineffective and cumbersome nuisance in a land where the average day ranges between swirling mist that clings to everything and fire-hose-like sideways blasts with downpours so heavy that motorists have to brake for migrating salmon. And, for a few days every odd year or so, cold and wet coincide in a heavy snowfall like those that come in waves winter-long in places like Minneapolis and Chicago. But, this is not the midwest.</p>
<div id="attachment_696" class="wp-caption alignright" style="width: 610px"><a href="http://blogs.info-engineering-svc.com/larye/wp-content/uploads/2012/01/3596_road_closed.jpg"><img class="size-full wp-image-696" title="3596_road_closed" src="http://blogs.info-engineering-svc.com/larye/wp-content/uploads/2012/01/3596_road_closed.jpg" alt="" width="600" height="450" /></a><p class="wp-caption-text">Double-digit grades and ice do not mix: the street in front of Chaos Central</p></div>
<p>First, because of the geography: the region is characterized by foothills of the mountain ranges that frame the inland sea. The foothills give way to steep bluffs of glacial till that fall off sharply into the river valleys and sea, up which rise city grids on double-digit grades more suited to Olympic ski jump ramps than walking, driving, or pedaling. And second, because of the climate: the temperate nature of the climate dictates that, when the temperature does dip to the low end of the range, it hovers back and forth across the freezing line. The mass of the inland sea also helps moderate the temperature: when the wind is calm, the snow level is measured in not less than a couple hundred feet above sea level. But, the wind is never that calm, which means the rain that falls on the lower elevations, itself barely melted snow, falls on frozen snow, and therein lies the root of the problem.</p>
<div id="attachment_697" class="wp-caption alignright" style="width: 610px"><a href="http://blogs.info-engineering-svc.com/larye/wp-content/uploads/2012/01/3592camellia.jpg"><img class="size-full wp-image-697" title="3592camellia" src="http://blogs.info-engineering-svc.com/larye/wp-content/uploads/2012/01/3592camellia.jpg" alt="" width="600" height="450" /></a><p class="wp-caption-text">Our camellia bends over under the weight of clear ice on top of snow</p></div>
<p>Steep slopes plus ice plus a preponderance of evergreen foilage combine for interesting times. The foilage includes firs, pine, and cedar, which are better-adapted to snowy conditions but less so to strong winds, since the wet climate promotes shallow root structures. Other temperate evergreens include broad-leaf plants like the native rhododendron, holly, and other ornamental shrubs found in cities. Deciduous trees in cities tend to become infested with English ivy and other climbing evergreen vines, which make them vulnerable to wind and snowload as well.</p>
<p>So, in the aftermath of one of these snow episodes, the snow plowing efforts, inadequate to begin with, leave many streets unplowed and packed down by adventuresome traffic. Trees are heavy with snow. And then, it rains. At first, since snow is an insulator, the rain simply combines with the snow to form a heavy crust of ice on top of a fluffy layer of loosely-packed flakes. This results in two different effects: first, the leaves and needles of the trees hold the snowballs in place until they become ice balls, at which point the tree either breaks apart or falls over, usually on a power line. Buildings designed for “normal” snow loads may collapse as well as the ice builds up. Second, on steep slopes where there are no trees (because this happens often enough to discourage their growth), the weight of the ice overcomes the integrity of the fluff beneath, and the whole mass heads downhill, picking up speed and mass as it goes, sweeping everything and everyone before it, often ending up in a solid mass of lumpy ice and boulders across a major highway.</p>
<p>While major power transmission lines have usually been built well clear of historic avalanche zones, the metropolitan and rural power grids are not so fortunate, being in the midst of so many snow and ice-laden trees: power outages soon follow, lasting anywhere from several hours to several days, depending on the distance from the substation to the consumer. Getting to the site of the outage to repair the damage or getting to a location where there is power is also problematic. Where the roads have been plowed and walkways shoveled, the rain freezes directly on the surface, creating a virtually frictionless surface not suitable for either walking or driving. New power outages crop up where cars skid off icy roads into power poles or trees.</p>
<p>Meanwhile, the temperature continues to rise, and the snow level moves higher, leaving behind a slushy mixture that begins to be more water than ice. The water moves downhill: the ice holds it back. Water backs up into basements and garages and fills dips in streets and roadways. Then, it all ends up suddenly in streams and rivers, which quickly overflow onto low-lying areas that may have been spared the heavy snow and ice loads but now find themselves underwater.</p>
<p>If the snow load was large enough and the rains continue, the clay bluffs continue to absorb water until they, too, become too heavy and slippery, and the hillsides collapse into the bays, taking trees, houses, and roads with them. Fortunately, the combination of wet and cold winters happen only once a decade or two in this area, so people rebuild and forget the troubles by the next sunny day when the “mountains are out” and they head for the beaches, marinas, backroads, or trails.</p>
]]></content:encoded>
			<wfw:commentRss>http://blogs.info-engineering-svc.com/larye/?feed=rss2&#038;p=694</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Teaching New Dogs Old Tricks: Ubuntu for Unix hacks</title>
		<link>http://blogs.info-engineering-svc.com/larye/?p=690</link>
		<comments>http://blogs.info-engineering-svc.com/larye/?p=690#comments</comments>
		<pubDate>Fri, 13 Jan 2012 06:41:12 +0000</pubDate>
		<dc:creator>larye</dc:creator>
				<category><![CDATA[All things Unix]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://blogs.info-engineering-svc.com/larye/?p=690</guid>
		<description><![CDATA[Here at Chaos Central, we&#8217;ve been wildly excited about our new crop of Ubuntu 11.10 Linux computers from Zareason, the arrival of which was discussed here a couple of weeks ago.  But, thrilled as we are with the speed and &#8230; <a href="http://blogs.info-engineering-svc.com/larye/?p=690">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Here at Chaos Central, we&#8217;ve been wildly excited about our new crop of Ubuntu 11.10 Linux computers from <a title="Zareason" href="http://www.zareason.com">Zareason</a>, the arrival of which was discussed here a couple of weeks ago.  But, thrilled as we are with the speed and capacity of these boxes, there is a learning curve&#8211;for the box, not the user.  Unix, and, by extension, Linux, has been evolving for more than 40 years now, and has a huge library of Useful Things accumulated, and a history of competing distributions, each with its own &#8220;flavor&#8221; and set of favorite tools.</p>
<p>In the beginning, Unix was a toolbox for scientists and engineers to build things quickly and cheaply: initially, document processors, and utility software, and, later, the Internet itself.  The growing popularity of Linux, and particularly the Ubuntu distribution, has driven the need to make it useful for the things &#8220;ordinary&#8221; people&#8211;i.e., those who don&#8217;t make a living from tweaking the innards of Big Iron computing&#8211;like to do, like surf the net and manage their music, video, and image collections.  And, since Linux is still what to do with your old PC when it gets too bloated with malware and  spyware, the popular distributions still need to fit on a CD.</p>
<p>Most industrial-strength distros now come on DVDS, sometimes more than one, containing the entire Linux collection of free software. but, for the masses, armed with CD-only PCs, something has to give, which often are the venerable, legacy Unix features that most home users will never need.  But, many of those are what we&#8217;ve been lugging around on our hard drives for 20 years or more:  venerable editors like emacs and vi, superceded by menu-driven simple editors or integrated graphical development environments but still more powerful and with more features than anyone will ever use, and for which the ones I&#8217;ve learned, are extremely useful and well-practiced enough to be second nature, so I keep using them, even if they don&#8217;t come with the system anymore.  And, more recently, enterprise-level tools for building massive compute clusters, like GridEngine and MPICH2, along with software development libraries and specialized utility libraries for science and engineering.  We also need a lot more development tools than come with a standard desktop, since we develop software for the web and for high-performance computing clusters.</p>
<p>Fortunately, the Ubuntu software repositories have a lot of those tools packaged up and loadable from the Software Center application, so we don&#8217;t need to go through the ritual of downloading, unpacking, configuring, compling, and installing nested sets of dependent programs like the old days.  But, our old computers have accumulated a unique set of software over the four or five years of their busy lives, so the new ones have a lot to learn:  we first had to load the no-longer-included Synaptic Package Manager to grab some of the software libraries and utilities not available in the Software Center catalog.  And, of course, get rid of that silly Unity desktop that only works well for folks who only do one thing at a time with their computers.  We have to have lots of toolbars visible and lots of  workspaces to which we can jump with a single click, which Gnome gives us.</p>
<p>Not surprisingly, some of the more esoteric and least-used packaged software still have a few surprise unresolved dependency issues.  To my delight, GridEngine, a distributed job control system for compute clusters created by Sun Microsystems a dozen or more years ago, was available in the Software Center.  Since Oracle bought Sun a couple years ago, a lot of these tools have disappeared off the free download list at Oracle, folded back into the supported product lines, and the old packages are sometmes hard to find.</p>
<p>GridEngine is one of those transitional systems that, unlike the new applications designed to run under Gnome or KDE desktop management systems, was born and developed during the days of OpenWindows (contemporary with Microsoft Windows 2) and the Common Desktop Environment (CDE, which predates Windows 95), both high-end X-Window System desktop managers in their day.  X11 programs used to be a lot harder to write, and designed for networking more than having the client and server on the same workstation, so they tended to leverage the Unix philosophy of lots of little programs, each doing one thing well, working together, much more than the more integrated and abstracted desktop applications of today.</p>
<p>GridEngine is more likely to be installed on an Ubuntu machine as a client or, at most, an execution node in an ad hoc cluster, rather than a master host, so would not usually run the graphical grid manager, qmon.  But, Open Source being what it is, the whole package is available.  However, the &#8220;just works&#8221; philosophy of Ubuntu breaks down here, as the dependencies of the archaic and arcane OpenWindows flavor of the graphical component aren&#8217;t checked very thoroughly, and there is a bit of a problem.  The application depends on the X11 font server, a client-server application designed to facilitate running X11 clients on a server and displaying them on a different X11 server that might not have all of the requisite fonts loaded.  Also, because CDE relied heavily on licensed Adobe Truetype fonts, the chain of dependency gets broken when it comes to fitting old non-GPL&#8217;d software into a Linux distribution.</p>
<p>When you get a GNU/Linux system distribution, everything in it is licensed under the GNU Public License.  You can install anything you want in addition to that, but you can&#8217;t package the extras and redistribute it  This also extends to the packaging system.  The Ubuntu Software Center has provisions for adding non-free (i.e., non-GPL) software repositories, but they aren&#8217;t going to intereact with each other, so complex packages like GridEngine, that depend on non-free components, come with &#8220;some assembly required.&#8221;  In my case, someone had already solved the problem for Ubuntu, so a Google search turned up a list of the missing packages and how to install them.  I&#8217;ve used GridEngine for years, but on Solaris and RedHat Linux systems.  Solaris, of course, was licensed from Sun (now Oracle) and had full support.  The old Sun GridEngine for Linux packages came with the non-free fonts and dependent packages integrated, because you got them from Sun&#8211;they weren&#8217;t on any of the five or six CDs (now two DVDs) that comprise the full Red Hat Enterprise Linux (or, as many of us who don&#8217;t need any hand-holding support from Red Hat use&#8211;CentOS).</p>
<p>So, at Chaos Central, the new dogs are gradually getting housebroken and have largely quit chewing on the furniture, i.e, have learned enough so they&#8211;to use another analogy, don&#8217;t respond&#8211;like HAL9000 from &#8220;2001: A Space Odyssey,&#8221; &#8220;I&#8217;m afraid I can&#8217;t do that&#8230;&#8221; when asked to perform tasks the other computers have been doing for years.  They&#8217;ve even learned, with larger memory and faster processors, to do new things.</p>
]]></content:encoded>
			<wfw:commentRss>http://blogs.info-engineering-svc.com/larye/?feed=rss2&#038;p=690</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Upgrade Challenges: Avoiding the &#8220;Microsoft Tax&#8221; and Buying American</title>
		<link>http://blogs.info-engineering-svc.com/larye/?p=672</link>
		<comments>http://blogs.info-engineering-svc.com/larye/?p=672#comments</comments>
		<pubDate>Thu, 29 Dec 2011 17:28:22 +0000</pubDate>
		<dc:creator>larye</dc:creator>
				<category><![CDATA[All things Unix]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://blogs.info-engineering-svc.com/larye/?p=672</guid>
		<description><![CDATA[The signs that the Great Recession is receding can be found in the return of a tradition taken from the pages of the Christian scripture, the Christmas Shopping Frenzy.  We&#8217;ve never understood how the one-paragraph note in the Gospel of &#8230; <a href="http://blogs.info-engineering-svc.com/larye/?p=672">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>The signs that the Great Recession is receding can be found in the return of a tradition taken from the pages of the Christian scripture, the Christmas Shopping Frenzy.  We&#8217;ve never understood how the one-paragraph note in the Gospel of Matthew&#8211;that describes the arrival of the Magi bringing gifts to the infant Jesus&#8211;has created, two thousand years down the vortex of time, a world-wide phenomena, a seasonal gifting orgy of conspicuous consumption that transcends and even obscures the religious symbology of the gifts.  Not to mention that the original story ended badly: the local political power (Herod) subsequently engaged in an horrific massacre of male infants in an attempt to eliminate a perceived threat of competition from the giftee, while the gift-givers fled to avoid interrogation and the target of the pogram was whisked  away to a foreign country.</p>
<p style="text-align: left;">Here at Chaos Central, we observe the Christmas tradition in a more subdued manner: a small celebration with close family who are practicing Christians, with small gifts, some hand-made, and exchanging end-of-the-year greetings with friends.  And, since, by coincidence, the holiday does happen at the end of the calendar (and tax) year, we do evaluate our balance sheet and make a few last-minute gifts to charities, as well as gifting ourselves with any tax deductible business purchases that were on the near-term planning cycle.  A truly secular side to the &#8220;shopping season.&#8221;</p>
<p style="text-align: left;">In this topsy-turvy economy, where millions are unemployed but there is no shortage of merchandise made &#8220;off-shore,&#8221; and the number two and three brands sell well only because the number one brand sold out during the enforced shopping frenzy, it makes sense to consider making small changes to how we buy things, to reverse the economic trends that have brought us to the brink.  Competition is healthy: the existence of near-monopolies stifles innovation, despite the fact that innovation may have created the monopoly in the first place.  That&#8217;s one reason we put off buying computers: There are simply too few alternate choices.  It is much too late to &#8220;Buy American,&#8221; because very little manufacturing is done in this country anymore.  Almost all computers, whether running Microsoft Windows or Apple OS/X, are manufactured offshore.  And, those are the only choices of operating systems in the big-box stores. But, we can at least buy things assembled in America, and with a choice of open operating systems, if we look for them.</p>
<p style="text-align: left;">In our case, it is time to upgrade our aging stable of computers, reassigning an 8-year-old workstation now suitable only as a graphics terminal for virtual machines (and not very good at that), and a 4-year-old laptop with limited memory and disk size.  We need a laptop suitable for hosting multiple virtual machines and a full multi-media desktop to adequately support our business projects. These are overdue, postponed while we weathered the deepest and most personal effects of the Recession.  Things fall apart.  Not literally, but the thread of progress gets unraveled when there is no growth due to lack of capital.  [Lest we get confused, capital is not profit--what is wrong with much of America is the failure to invest in capital, in an attempt to keep up the appearance of profit during downturns.]  Computers last upwards of ten years or more if properly maintained (we have one, a Sun workstation, still running after ten years, and 15 and 20-year-old &#8220;retired&#8221; computers that will still boot up), but they are not cost-effective after four or five years, as they simply cannot do the work to remain competitive against newer systems, and are often not able to run newer software efficiently, if at all.</p>
<p style="text-align: left;">For some years now, adding a new computer running Unix or Linux to the network at Chaos Central has usually involved buying an off-the-shelf machine and stripping off the unwanted default operating software&#8211;i.e., the currently shipping version of Microsoft Windows&#8211;or ordering piece parts and building a bare machine from scratch, which is possible for desktop machines but difficult in the case of laptops.  In both strategies, the machine is not ready for use until a suitable replacement environment has been installed. Server-class machines can be (and have been) ordered with no installed operating environment, but the choice of portable systems and compatible desktop workstations has been limited to systems manufactured by Apple, running the OS/X operating system, or a wide variety of other Intel and AMD-based machines&#8211;all running Microsoft.  While OS/X is a variant of Unix (the Darwin microkernel port of BSD),  GNU/Linux, Oracle Solaris, and FreeBSD are more commonly compatible with the server systems that we administer and program for clients, so those are what we want on our desk and in our luggage.</p>
<p style="text-align: left;"><a href="http://blogs.info-engineering-svc.com/larye/wp-content/uploads/2011/12/3577_strata.jpg"><img class="alignright size-full wp-image-683" title="3577_strata" src="http://blogs.info-engineering-svc.com/larye/wp-content/uploads/2011/12/3577_strata.jpg" alt="" width="600" height="436" /></a>Fortunately, there is a large enough market, 20 years into the GNU/Linux revolution, so a number of enterprises have sprung up to build and sell systems that run Linux &#8220;out of the box.&#8221;  A few major manufacturers, like Dell, did offer Linux choices at one time, but for various reasons&#8211;too small a segment of the commodity desktop/laptop business at that time to diversify software choices; and/or problems with Microsoft OEM licensing agreements that applied to product lines rather than individual machines&#8211;they dropped the offerings, except for the much smaller and more customized server product lines, in which case they only sell licenses and media: installation and configuration is left up to the buyer.</p>
<div id="attachment_682" class="wp-caption alignright" style="width: 266px"><a href="http://blogs.info-engineering-svc.com/larye/wp-content/uploads/2011/12/3578_zara.jpg"><img class="size-full wp-image-682" title="3578_zara" src="http://blogs.info-engineering-svc.com/larye/wp-content/uploads/2011/12/3578_zara.jpg" alt="" width="256" height="533" /></a><p class="wp-caption-text">Small-footprint desktop, preloaded with Ubuntu</p></div>
<p style="text-align: left;">However, near west coast port cities, like Seattle, San Francisco, and Long Beach, the ready availability of computer piece parts in economical small lots from tier 1 importers makes it possible for small businesses to build custom non-Microsoft computer systems at nearly-competitive prices.  As it turns out, the market for Linux workstations overlaps with the market for high-end video game machines&#8211;with powerful graphics, multi-core processors, and lots of memory&#8211;so there is a plentiful supply of components, most of which aren&#8217;t found in commodity desktop machines anyway, so the price difference is well within reason.</p>
<p style="text-align: left;">We like a bargain as well as anyone else, but, as a small home-based business ourselves, we prefer paying a little more, knowing that that extra is providing a living wage to fellow entrepreneurs and folks who love what they do, not boosting the portfolio of an executive as a bonus for outsourcing the entire product and support pipeline to southeast Asia.  We bought our new machines, a high-end laptop and a workstation powerful enough to serve multimedia applications, from Zareason, a small company whose owners we met at Linuxfest Northwest last spring, where we got to check out their offerings.</p>
<p style="text-align: left;">Buying locally-assembled products isn&#8217;t bringing back &#8220;Made in America&#8221; factories, but it&#8217;s a start toward turning a nation of consumers into a nation of producers who take pride in what they make with their own hands and minds.    We&#8217;ve written here a lot, recently, about our adventures on our &#8220;Made in Oregon&#8221; tandem bicycle, and we&#8217;re now configuring the next generation of Linux computers, &#8220;Made in California.&#8221;</p>
]]></content:encoded>
			<wfw:commentRss>http://blogs.info-engineering-svc.com/larye/?feed=rss2&#038;p=672</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Restoring Chaos, Post-Tour: Settling in for the Winter</title>
		<link>http://blogs.info-engineering-svc.com/larye/?p=663</link>
		<comments>http://blogs.info-engineering-svc.com/larye/?p=663#comments</comments>
		<pubDate>Wed, 07 Dec 2011 15:27:59 +0000</pubDate>
		<dc:creator>larye</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://blogs.info-engineering-svc.com/larye/?p=663</guid>
		<description><![CDATA[After our impromptu grand tour of the U.S., through 19 states by car and bicycle, we are home at Chaos Central at last. Our 30-day adventure evolved when the planned fall bicycle tour of Upper Michigan got derailed in September, &#8230; <a href="http://blogs.info-engineering-svc.com/larye/?p=663">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>After our impromptu grand tour of the U.S., through 19 states by car and bicycle, we are home at Chaos Central at last. Our 30-day adventure evolved when the planned fall bicycle tour of Upper Michigan got derailed in September, and just simply overtook our lives for several months. We had returned home at the end of September, having traveled over 6000 miles in our loop from Washington to Wisconsin to California, with only 30 days to plan our next trip.</p>
<p>Faced with a longer, more difficult bike trip, we augmented our bicycle camping equipment and actually managed to work in an overnight bicycle camping trip to test our gear and our fitness, after having not ridden for a month. A week or so before leaving, we had hosted a succession of late-season bicycle tourists headed south on the Pacific Coast bike trail, and had ridden with the last group on a final 30-mile &#8220;training ride,&#8221; not exactly a proper training and conditioning regimen for a planned 400-mile fully-loaded tour.</p>
<p>One of the factors affecting our pre-tour training was the need to catch up on work projects largely shelved for our September excursion. The other was the onset of cool, wet weather in the Pacific Northwest. When we finally left on the final stage of Tour 2011, headed east through Montana before angling southwest toward Florida, morning frost followed us as far as St. Louis. Finding ourselves riding 60 miles a day in 80-degree heat and searing sun was, quite frankly, a shock. That, combined with road conditions unsuitable to our equipment, led to modifying our tour to suit our capabilities, in mid-tour, well documented in earlier posts, as was the long trip home across I-10, I-8, and I-5.</p>
<p>When we at last arrived back at Chaos Central, we found our network down, from a power outage incurred several days earlier during the first winter storm of the season. Getting the services back on line was necessary before resuming work projects. While we were gone, our landscape contractor had been busy, with most of the major digging, rock work, and large plantings done. But, much detail remained, taking a couple of weeks of distraction. A scheduled servicing of our now-not-so-new Jeep Patriot showed that the 35,000 miles we had driven since January, mostly at freeway speeds, had worn out the factory tires. Indeed, the noise level in the car had grown steadily on the trip home, as the wear bands moved closer to the road.</p>
<p>In the midst of the emergent work, which included some software issues on one customer&#8217;s server, email issues with another, and web updates and issues for several others, we began to unpack, finding places to stow our newly-revised camping gear complement, and performing cleanup, tuning, and reassembly of the Bike Friday &#8220;Q.&#8221; The rain fly on the tent was a bit musty, having been packed since that last dew-soaked morning on the shores of Lake Okeechobee nearly two weeks before, but aired out fine and was repacked. The bike did not seem to suffer as much as we feared, after its dowsing with brackish water on the ill-maintained bike trails in South Florida. Application of an aircraft anti-corrosion treatment (ACF-50) on the trailer parts and some of the lower frame parts seemed to take care of visible effects. But, the real shock was the discovery of a broken spoke on the rear wheel: this had undoubtedly occurred during our mad dash down the Overseas Highway which had resulted in three flat tires, and loosened the headset and the trailer hitch. I had probably ridden the 76-mile day on it, but hadn&#8217;t noticed any handling problems, since the wheel is built for tandem loads.</p>
<div id="attachment_664" class="wp-caption alignright" style="width: 610px"><a href="http://blogs.info-engineering-svc.com/larye/wp-content/uploads/2011/12/spoke2_3532.jpg"><img class="size-full wp-image-664" title="spoke2_3532" src="http://blogs.info-engineering-svc.com/larye/wp-content/uploads/2011/12/spoke2_3532.jpg" alt="" width="600" height="455" /></a><p class="wp-caption-text">Another casualty of the Marathon Gauntlet: a broken spoke on the rear wheel.</p></div>
<p>Fortunately, the broken spoke was on the left side, so could be replaced without removing the freewheel cassette. Bike Friday does include two spare spokes of each of the three sizes needed. But, we did not have the freewheel removal tool in our kit, an omission we quickly remedied with a stop at REI on our next trip into the Big City, along with other supplies to finish the post-tour grooming of the bike, something that is progressing slowly.</p>
<p>Work still hasn&#8217;t caught up: a couple of projects have yet to be restarted; planned end-of-the-year computer upgrades have not yet been ordered. When the bike is finally assembled, we need to construct indoor window inserts for the winter, an alternative to simply taping plastic to the old single-pane windows at Chaos Central. The lumber and plastic film awaits. All we need is time&#8230;</p>
<div id="attachment_665" class="wp-caption alignright" style="width: 610px"><a href="http://blogs.info-engineering-svc.com/larye/wp-content/uploads/2011/12/cao_3533.jpg"><img class="size-full wp-image-665" title="cao_3533" src="http://blogs.info-engineering-svc.com/larye/wp-content/uploads/2011/12/cao_3533.jpg" alt="" width="600" height="448" /></a><p class="wp-caption-text">End of a hard season: salt-crusted bike cap</p></div>
]]></content:encoded>
			<wfw:commentRss>http://blogs.info-engineering-svc.com/larye/?feed=rss2&#038;p=663</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

