<?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/"
	xmlns:creativeCommons="http://backend.userland.com/creativeCommonsRssModule">

<channel>
	<title>Ted Roche's weblog</title>
	<atom:link href="http://www.tedroche.com/blog/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.tedroche.com/blog</link>
	<description>Mission: Interoperable. Competition breeds Innovation. Monopolies breed stagnation. Working Well with Others is Good.</description>
	<lastBuildDate>Tue, 02 Feb 2010 16:51:27 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<creativeCommons:license>http://creativecommons.org/licenses/by-nc-sa/3.0/us/</creativeCommons:license>		<item>
		<title>Notes from CentraLUG, 1-Feb-2010</title>
		<link>http://www.tedroche.com/blog/2010/02/02/notes-from-centralug-1-feb-2010/</link>
		<comments>http://www.tedroche.com/blog/2010/02/02/notes-from-centralug-1-feb-2010/#comments</comments>
		<pubDate>Tue, 02 Feb 2010 16:51:27 +0000</pubDate>
		<dc:creator>tedroche</dc:creator>
				<category><![CDATA[LAMP]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[OpenSource]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[CentraLUG]]></category>
		<category><![CDATA[email spam bounce backscatter]]></category>
		<category><![CDATA[spam]]></category>

		<guid isPermaLink="false">http://www.tedroche.com/blog/?p=3386</guid>
		<description><![CDATA[Five people attended the February 1st meeting of the Central  New Hampshire Linux User Group. We met at Room 146 of the New Hampshire Technical Institute&#8217;s Library from 7 to 9 PM.
There were lots of interesting discussion. Ed was attending for the first time, and is getting back into software engineering after some time [...]]]></description>
			<content:encoded><![CDATA[<p>Five people attended the February 1st meeting of the <a href="http://www.centralug.org">Central  New Hampshire Linux User Group</a>. We met at Room 146 of the New Hampshire Technical Institute&#8217;s Library from 7 to 9 PM.</p>
<p>There were lots of interesting discussion. Ed was attending for the first time, and is getting back into software engineering after some time in another career. He had some questions on what the different distros were and how they worked, and there were, of course, plenty of opinions. Susan had some updates on her research on the BF scheduler, the bleeding-edge Ubuntu releases, realtime kernels, and the Dragon Naturally Speaking application. I reviewed some of the upcoming meetings, and there was a lot of interest in the Seacoast LUG&#8217;s &#8220;Sugar on a Stick&#8221; presentation and the Cascading Stylesheet presentation at PySIG at the end of the month.</p>
<p>Mark McSweeney made the main presentation. Mark works in a small office with a few partners, and budgets are tight. A few years ago, they had deployed a Microsoft back end and discovered that there were no satisfactory solutions for spam filtering on the Exchange server they had as a mail server. Mark came up with a very effective and economical solution using PostFix, Amavisd-new, ClamAV, DCC, Razor, Pyzor and SpamAssassin. Mark&#8217;s slides can be found at <a rel="nofollow" href="http://wiki.gnhlug.org/twiki2/bin/view/Www/SpamFilter," target="_top">http://wiki.gnhlug.org/twiki2/bin/view/Www/SpamFilter,</a> including links to the solution he followed, an updated version of which can be found at <a rel="nofollow" href="http://www.freespamfilter.org/" target="_top">http://www.freespamfilter.org/</a></p>
<p>Member Susan Cragin will be making the presentation at out March 1st meeting, on the Dragon Naturally Speaking 10 program running on WINE. Stay tuned for more details.</p>
<p>Thanks for Mark for his great presentation, to the NHTI and Library staff for the great facilities, to Dave Rose for bringing the projector, and to all for attending and participating!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.tedroche.com/blog/2010/02/02/notes-from-centralug-1-feb-2010/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Visibone, a source of great reference guides and online utilities</title>
		<link>http://www.tedroche.com/blog/2010/01/14/visibone-a-source-of-great-reference-guides-and-online-utilities/</link>
		<comments>http://www.tedroche.com/blog/2010/01/14/visibone-a-source-of-great-reference-guides-and-online-utilities/#comments</comments>
		<pubDate>Thu, 14 Jan 2010 16:31:28 +0000</pubDate>
		<dc:creator>tedroche</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[Home Page]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Web Development]]></category>
		<category><![CDATA[cheatsheet]]></category>
		<category><![CDATA[DOM]]></category>
		<category><![CDATA[reference]]></category>
		<category><![CDATA[XHTML]]></category>

		<guid isPermaLink="false">http://www.tedroche.com/blog/?p=3373</guid>
		<description><![CDATA[
One of my favorite tools for the past couple of years has been a web developer&#8217;s reference guide from Visibone. The book has rarely left my desk, within arm&#8217;s reach, to help out when I just can&#8217;t remember all the options for an HTML tag or a CSS style. While there are some great online [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.tedroche.com/blog/wp-content/uploads/2010/01/info-everythingbook.jpg"><img class="alignnone size-full wp-image-3376" title="info-everythingbook" src="http://www.tedroche.com/blog/wp-content/uploads/2010/01/info-everythingbook.jpg" alt="Visibone's Everything Book" width="234" height="384" /></a><br />
One of my favorite tools for the past couple of years has been a <a href="http://www.visibone.com/catalog/product_info.php?products_id=48">web developer&#8217;s reference guide</a> from <a title="Link to Visibone the publisher" href="http://www.visibone.com">Visibone</a>. The book has rarely left my desk, within arm&#8217;s reach, to help out when I just can&#8217;t remember all the options for an HTML tag or a CSS style. While there are some great online references, having it all in a couple sheets of paper makes it easy to find what I&#8217;m looking for (especially if I couldn&#8217;t remember if it was text-<em>something</em> or font-<em>mumble</em>) and the reference has also let me browse around the dusty corners and learn something I didn&#8217;t know.</p>
<p>Recently, I did some web development using XHTML 1.1 and CSS 2.1 and realized my 2004 version of the guide was getting out of date. I was pleased to see many of the pages had been updated to a 2009 version. After reviewing the many options, I chose to go all in and bought the <a href="http://www.visibone.com/catalog/product_info.php?products_id=66">Everything Book</a>, a step up from my earlier version. This one includes cheatsheets for PHP, MySQL, JavaScript, DOM, HTML, CSS, HTML special characters, web colors and a great index. The reference not only includes broad coverage of each topic but many side notes and compatibility guides (for CSS, the IE-Netscape-Opera-FireFox-Safari compatibility color coding is tremendously useful!)</p>
<p>There are a number of bonus references available on the Visibone site at no cost. Check out the <a href="http://www.visibone.com/colorlab/big.html">color lab</a>, the <a href="http://www.visibone.com/swatches/">color swatches</a> for many of the common graphics programs, the online <a href="http://html-color-codes.com/">color codes reference</a>, and excerpts from all of the various reference materials. In addition to reference book, Visibone offers posters, charts and mouse pads. The web site is worth a visit; it&#8217;s charmingly quirky, retro, opinionated and clearly individualistic.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.tedroche.com/blog/2010/01/14/visibone-a-source-of-great-reference-guides-and-online-utilities/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Semantic markup and styling of data entry forms, IE falls short</title>
		<link>http://www.tedroche.com/blog/2010/01/08/html_fieldset_legend_data_forms/</link>
		<comments>http://www.tedroche.com/blog/2010/01/08/html_fieldset_legend_data_forms/#comments</comments>
		<pubDate>Fri, 08 Jan 2010 19:21:09 +0000</pubDate>
		<dc:creator>tedroche</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[Home Page]]></category>
		<category><![CDATA[Web Development]]></category>
		<category><![CDATA[markup]]></category>
		<category><![CDATA[semantic]]></category>

		<guid isPermaLink="false">http://www.tedroche.com/blog/?p=3361</guid>
		<description><![CDATA[The HTML tags fieldset and legend let you create semantic markup of groups of input fields in data entry forms and can be styled attractively. Read more...]]></description>
			<content:encoded><![CDATA[<p><span style="color: #000000;">Somehow, in my 10 years of working with HTML, I had missed the <a title="Sitepoint reference for fieldset tag" href="http://reference.sitepoint.com/html/fieldset">fieldset</a> and <a title="Sitepoint reference for legend" href="http://reference.sitepoint.com/html/legend">legend</a> tags. I&#8217;ve just started in on a web site redesign where they can be used to great effect and nice semantic markup. The fieldset tag is intended to be used as a container for grouping related input items in a form. By default, the fieldset has a transparent background and a thin black outline around the fields. The fieldset can contain a legend tag that appears by default in the upper left corner of the black outline as a title for the grouping. Both elements can be be modified with CSS styles to match and complement the rest of the page design. Here&#8217;s the basic HTML snippet:</span></p>
<pre><span style="color: #0000ff;">&lt;form...</span>&gt;
 <span style="color: #0000ff;">&lt;fieldset&gt;&lt;legend&gt;</span>Ship To Address<span style="color: #0000ff;">&lt;/legend&gt;</span>
 <span style="color: #0000ff;">&lt;br</span> <span style="color: #33cccc;">clear</span>="<span style="color: #ff00ff;">all"</span> <span style="color: #0000ff;">/&gt;</span>

 <span style="color: #0000ff;">&lt;label</span> <span style="color: #33cccc;">for</span>=<span style="color: #ff00ff;">"Building_or_Hotel"</span>&gt;Name of Building/Hotel:<span style="color: #0000ff;">&lt;/label&gt;</span>
 <span style="color: #0000ff;">&lt;input</span> <span style="color: #33cccc;">type</span>="text" <span style="color: #33cccc;">id</span>="<span style="color: #ff00ff;">Building_or_Hotel"</span> <span style="color: #33cccc;">size</span>=<span style="color: #ff00ff;">"25"</span> <span style="color: #33cccc;">maxlength</span>=<span style="color: #ff00ff;">"50"</span><span style="color: #0000ff;"> /&gt;</span>
 <span style="color: #0000ff;">&lt;br</span> <span style="color: #33cccc;">clear</span>=<span style="color: #ff00ff;">"all"</span> <span style="color: #0000ff;">/&gt;
...</span></pre>
<pre><span style="color: #0000ff;">&lt;/fieldset&gt;
</span></pre>
<p>And the applicable CSS to make the form look pretty includes:</p>
<pre><span style="color: #339966;">/* Styles for legends, the title atop the fieldset */</span>
.dataform <strong><span style="color: #0000ff;">legend</span></strong> {
 <span style="color: #3366ff;">background-color</span>:<span style="color: #ff00ff;">rgb(137,111,43)</span>;
 <span style="color: #3366ff;">color</span>:<span style="color: #ff00ff;">white</span>;
 <span style="color: #3366ff;">font-weight</span>:<span style="color: #ff00ff;">bold</span>;
 <span style="color: #3366ff;">margin-left</span>: <span style="color: #ff00ff;">0.5em</span>;
<span style="color: #3366ff;"> padding</span>:<span style="color: #ff00ff;">0 1em 0 1em</span>;
 }
<span style="color: #339966;">/* Fieldset groups a set of inputs in a visual container */</span>
.dataform <span style="color: #0000ff;"><strong>fieldset</strong></span> {
 <span style="color: #3366ff;">border-color</span>:<span style="color: #ff00ff;">rgb(137,111,43)</span>;
 <span style="color: #3366ff;">border-style</span>:<span style="color: #ff00ff;">solid</span>;
 <span style="color: #3366ff;">border-width</span>:<span style="color: #ff00ff;">1px</span> ;
 <span style="color: #3366ff;">background-color</span>: <span style="color: #ff00ff;">rgb(93%,89%,78%)</span>;
 }</pre>
<p>Results in a data entry form that looks like this:</p>
<p><a href="http://www.tedroche.com/blog/wp-content/uploads/2010/01/DataFormLayout1.png"><img class="alignnone size-full wp-image-3364" title="DataFormLayout" src="http://www.tedroche.com/blog/wp-content/uploads/2010/01/DataFormLayout1.png" alt="HTML form layout with fieldset and legend tags" width="813" height="510" /></a></p>
<p>Using CSS to add visual effects to the elements can yield some pretty sharp results while still having the speed and minimal bandwith of lightweight HTML and CSS text files. In addition, using the semantic fieldset and legend elements provides additional information about the form fields and their relationships in a machine-readable format, rather than just splattering a bunch of colored div boxes and styled text on the form. This is a great aid to tools used by the vision-impaired to provide more context to their users, and to search engines trying to derive the context of your forms.</p>
<p>Compatibility between different browsers is not too bad, though things could improve a bit. FireFox 3.5x, Chromium 4.0.285.0 (on Fedora, thanks, Spot!) and Safari 4.x appear dead-on the same (the screenshot above is FireFox 3.5.5), but there is an outlier and no one should be surprised to discover it&#8217;s Internet Explorer. Even in version 8, perhaps the most compatible browser Microsoft has shipped since the now-legendary IE5.5/Mac, things are just different. For some reason, the IE8 developers decided that the background color of the frameset should extend out over the border, to the edge of the legend, resulting in this less attractive appearance instead:</p>
<p><a href="http://www.tedroche.com/blog/wp-content/uploads/2010/01/DataFormIE8.png"><img class="alignnone size-full wp-image-3367" title="DataFormIE8" src="http://www.tedroche.com/blog/wp-content/uploads/2010/01/DataFormIE8.png" alt="IE8 fieldset background colors overflow the border at the top." width="339" height="126" /></a></p>
<p><span style="text-decoration: line-through;">For IE7, the background color doesn&#8217;t appear at all, which might actually be better than to have it appear incorrectly</span>. (Update: no, my bad, it just doesn&#8217;t like rgb values expressed as percentages.) So the appearance definitely won&#8217;t be as sharp for your IE users as for any other browser user. (Yet another reason to encourage your clients, friends, associates, neighbors and strangers on the street to avoid Internet Explorer. We can eliminate it in our lifetimes.) (UPDATE: there are, of course, work-arounds. Here are a few suggestions that might work for you from <a href="http://articles.sitepoint.com/article/fancy-form-design-css/4#">Sitepoint</a> and <a href="http://www.communitymx.com/content/article.cfm?cid=DD9F3">CommunityMX</a> and <a href="http://www.mattheerema.com/web-design/2006/04/getting-fieldset-backgrounds-and-legends-to-behave-in-ie/">Matt Heerema</a>.)</p>
<p>So, the next time you&#8217;re called upon to draw up an HTML data entry form, keep in mind that you can group your elements with fieldsets and use legends to add more contextual information to your design.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.tedroche.com/blog/2010/01/08/html_fieldset_legend_data_forms/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>&#8220;Web Form Design: Filling in the Blanks&#8221; &#8211; a review</title>
		<link>http://www.tedroche.com/blog/2010/01/06/web-form-design-filling-in-the-blanks-a-review/</link>
		<comments>http://www.tedroche.com/blog/2010/01/06/web-form-design-filling-in-the-blanks-a-review/#comments</comments>
		<pubDate>Wed, 06 Jan 2010 18:55:39 +0000</pubDate>
		<dc:creator>tedroche</dc:creator>
				<category><![CDATA[Home Page]]></category>
		<category><![CDATA[Web Development]]></category>

		<guid isPermaLink="false">http://www.tedroche.com/blog/?p=3353</guid>
		<description><![CDATA["Web Form Design: Filling in the Forms" is a book of concepts and user interaction metrics, not a cookbook of HTML and CSS solutions. If you need construction advice, look elsewhere. But if you need to see the big picture of how to make your forms better, this is the book. Read more...]]></description>
			<content:encoded><![CDATA[<p><a href="http://rosenfeldmedia.com/books/webforms/"><img class="size-full wp-image-3354" title="WebForms book cover" src="http://www.tedroche.com/blog/wp-content/uploads/2010/01/webforms-md.gif" border="5" alt="WebForms book cover" width="100" height="150" /></a></p>
<h1 style="text-align: left;">Title: <a title="Link to publisher's website" href="http://www.rosenfeldmedia.com/books/webforms">Web Form Design: Filling in the Blanks</a></h1>
<h2>Author: <a title="Link to Luke's company site" href="http://www.lukew.com/">Luke Wroblewski</a></h2>
<h2>ISBN: 978-1-933820-24-8</h2>
<h2>Published by <a title="Links to publisher" href="http://www.rosenfeldmedia.com">Rosenfeld Media</a>, 2008</h2>
<p>In the nineties, I used to do a lot of presentations at conferences of computer programmers. I used to enjoy doing &#8220;concept&#8221; presentations; not so much focusing on &#8220;how-to&#8221; as to &#8220;why&#8221; and &#8220;what&#8221; to do. When I set the audience&#8217;s expectations correctly that they were going to be exposed to new concepts, I got a good reception. When I failed to make that point clear, I would inevitably get comments in my speaker&#8217;s review of &#8220;Great idea, but where&#8217;s the code?&#8221;</p>
<p>If you&#8217;re looking for the code, look elsewhere. This is not the book for you. If you are looking for the concepts, the big ideas behind user interaction on the web, how to get information from the browser, how to successfully convert the most browsers into customers, why different alignments might make a difference in accuracy, speed and satisfaction in filling out forms, this is the book for you. Luke Wroblewski is an experienced professional in the field of HCI (&#8220;Human-Computer Interaction&#8221;) or UX (&#8220;User Experience&#8221;) with some impressive industry experience. This book shows a thoughtful approach to &#8220;how do I get people to fill out a form, quickly, pleasantly, correctly?&#8221;</p>
<p>So as not to get lost in the weeds of HTML vs. XHTML and CSS 1, 2, 2.1 and 3 varying levels of compliance, Luke talks forms purely from the user standpoint: we see excellent cropped screenshots of forms, focused on the individual elements under discussion. (Rosenfeld Media has done an excellent job of producing a beautiful book: heft, thick pages, rich colors and fine printing.) The book is divided into three sections: Form Structure, Form Elements, and Form Interaction. Each section assumes some base knowledge, thankfully, and doesn&#8217;t start out trying to explain why you&#8217;d use a checkbox vs. a radio button. And he&#8217;s frank that there rarely is One True Answer (at one point, calling out, &#8220;All together now: &#8216;It depends&#8217;&#8221;) but talks about empirical testing of speed, correctness, and the results of studies monitoring user&#8217;s eye movements, pauses and mouse movements to determine which layouts work and which confuse.</p>
<p>If you spend a lot of time designing forms, the 215 pages of this book are well worth a read, and don&#8217;t be surprised if you find yourself going back to the book for a refresher.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.tedroche.com/blog/2010/01/06/web-form-design-filling-in-the-blanks-a-review/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Everything You Know About CSS is Wrong! &#8211; A review</title>
		<link>http://www.tedroche.com/blog/2010/01/01/everything-you-know-about-css-is-wrong-a-review/</link>
		<comments>http://www.tedroche.com/blog/2010/01/01/everything-you-know-about-css-is-wrong-a-review/#comments</comments>
		<pubDate>Fri, 01 Jan 2010 23:01:40 +0000</pubDate>
		<dc:creator>tedroche</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[Web Development]]></category>
		<category><![CDATA[css hack]]></category>

		<guid isPermaLink="false">http://www.tedroche.com/blog/?p=3344</guid>
		<description><![CDATA[A brief review of the brief book, "Everything You Know About CSS is Wrong!" Quick summary, no, it's not, But I learned something new in CSS 2.1 that I'll be using in future web projects. Recommended. Read more...]]></description>
			<content:encoded><![CDATA[<div id="attachment_3348" class="wp-caption alignleft" style="width: 166px"><a href="http://www.sitepoint.com/books/csswrong1/"><img class="size-full wp-image-3348  " title="book-cover" src="http://www.tedroche.com/blog/wp-content/uploads/2010/01/book-cover.jpg" alt="book cover" width="156" height="203" /></a><p class="wp-caption-text">Well, almost everything</p></div>
<p>Authors Rachel Andrew and Kevin Yank almost lost me at &#8220;hello&#8221; with their book titled, &#8220;Everything You Know About CSS is Wrong!&#8221; <a title="Link to publisher's website" href="http://www.sitepoint.com/books/csswrong1/">ISBN 978-0-9804552-2-9</a>. I&#8217;ve never liked the &#8220;Dummy&#8217;s Guide&#8221; book for the same reason &#8212; I&#8217;m not a dummy &#8212; and I&#8217;m fairly confident (and hope my clients are well aware) that my CSS knowledge, while not encyclopedic, is better than average, and I&#8217;ve delivered some fairly good web solutions.</p>
<p>However, the first goal of selling a book is to get attention, and the title surely does that. And the opening line of Chapter 1, &#8220;The problem with CSS is that CSS is too hard.&#8221; Okay, I&#8217;m hooked, reel me in. (By the way, you can download the sample chapter 1 &amp; 2 from the SitePoint web site; start at <a title="Link to publisher's website" href="http://www.sitepoint.com/books/csswrong1/">http://www.sitepoint.com/books/csswrong1/</a>)</p>
<p>The reality is that the book shows one of the newest features, now available in all of the current brand of browsers, with the late release of Internet Explorer 8, of table layout options in the <a title="Reference for CSS display property" href="http://reference.sitepoint.com/css/display"><em>display</em></a> attribute. After years of preaching that HTML table layout is less desirable than CSS layouts, this can be a hard sell, but Rachel and Kevin make a good case that a tabular layout of tables, rows and cells, but rendered from CSS and not HTML, is the best of both worlds. Chapters 3 &amp; 4 show the equivalent layouts of many of the common design problems we run into (and perhaps fall back to using tables) and how they should work both with the new CSS 2.1-complaint browsers and how to fall back gracefully into a degraded but workable layout for earlier browsers. Chapter 5 gets into some very exciting layout possibilities that will be coming in the next couple of years as the CSS3 specification gels.</p>
<p>A big plus for the book is that it is brief: 111 pages you can get through in one or two sittings. The graphics clearly show the developing examples. The code extracts are clear (and all the sample code can be downloaded from the web sites). And the writing is clear and well-edited.</p>
<p>The book is well worth the $29.95 cover price, but keep an eye out around the SitePoint site (and their Twitter feed) to catch one of their frequent discounts.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.tedroche.com/blog/2010/01/01/everything-you-know-about-css-is-wrong-a-review/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>One of those days&#8230;</title>
		<link>http://www.tedroche.com/blog/2009/12/15/one-of-those-days/</link>
		<comments>http://www.tedroche.com/blog/2009/12/15/one-of-those-days/#comments</comments>
		<pubDate>Wed, 16 Dec 2009 02:13:54 +0000</pubDate>
		<dc:creator>tedroche</dc:creator>
				<category><![CDATA[Home Page]]></category>

		<guid isPermaLink="false">http://www.tedroche.com/blog/?p=3339</guid>
		<description><![CDATA[It took 4 ThinkPads, 3 DVDs, two CDs, a Flash Drive and an iMac to make it through the day. No partridge. Tomorrow, five golden rings?
The Thinkpads: T61 is the primary workstation, but was suffering from SMART-reported disk drive errors and I spent half the day following the awesome instructions for bad block HOWTO for [...]]]></description>
			<content:encoded><![CDATA[<p>It took 4 ThinkPads, 3 DVDs, two CDs, a Flash Drive and an iMac to make it through the day. No partridge. Tomorrow, five golden rings?</p>
<p>The Thinkpads: T61 is the primary workstation, but was suffering from SMART-reported disk drive errors and I spent half the day following the awesome instructions for <a href="http://smartmontools.sourceforge.net/badblockhowto.html">bad block HOWTO for smartmontools</a> to rescue the disk. In the meantime, the T41 served as backup workstation letting me surf, check email, etc. In the afternoon, the A31p has a legacy WinXP/IE7 install I can VNC into to test a client project. Meanwhile, I was also working on the Lenovo ThinkPad W700 to finally fix the running-out-of-disk-space problem thanks to System Restore, now disabled (thanks, System Restore! pffft!). Why do people keep using Windows?</p>
<p>The three DVDs were to burn the System Restore disks once there was a machine worth restoring.</p>
<p>The two CDs were something old and something new. I tried a Knoppix 5.11 CD to boot the W700 so I could do a partimage copy of the Vista OS partition where we&#8217;ve installed custom software for client testing. For some reason, the older Knoppix couldn&#8217;t handle the hardware and would fail to start. I grabbed the latest Knoppix, 6.2 (make sure you grab the November 18th or later image) and &#8211; whoa! &#8211; what a difference. The 6.x series is based on different software and uses LXDE as the default desktop &#8212; very slick!</p>
<p>I used the iMac to burn the CD. The most recent software on the T61, Fedora 11, seems to be confused about whether I have a CD-R on the machine or not, and I haven&#8217;t been able to burn a disk for a while.</p>
<p>I used the second CD (in the T61) to burn an image onto a 1Gb USB Flash drive . The Knoppix 6.2 comes with a built-in option to create the USB with a mouse click or two. It boots fast, has 284 Mb left over to preserve settings, and boots in the W700.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.tedroche.com/blog/2009/12/15/one-of-those-days/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Notes from Python Special Interest Group, 20-Nov-2009</title>
		<link>http://www.tedroche.com/blog/2009/11/20/pysig-20-nov-2009/</link>
		<comments>http://www.tedroche.com/blog/2009/11/20/pysig-20-nov-2009/#comments</comments>
		<pubDate>Fri, 20 Nov 2009 18:51:44 +0000</pubDate>
		<dc:creator>tedroche</dc:creator>
				<category><![CDATA[Apple Macintosh OS X]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[FoxPro]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[LAMP]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[OpenSource]]></category>
		<category><![CDATA[PostgreSQL]]></category>
		<category><![CDATA[Python]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Web Development]]></category>
		<category><![CDATA[GNHLUG]]></category>
		<category><![CDATA[PySIG]]></category>
		<category><![CDATA[twisted]]></category>
		<category><![CDATA[zope]]></category>

		<guid isPermaLink="false">http://www.tedroche.com/blog/?p=3335</guid>
		<description><![CDATA[Eight people attended the Python Special Interest Group, held a week  early to avoid the Thanksgiving holiday. Anticipate a reschedule  December meeting as well.
Last night&#8217;s meeting was a vigorous and far-reaching discussion of  MySQL, Oracle, the future of MySQL, Maria DB, OpenOffice.org automation  using Python, OpenOffice.org automation using Visual FoxPro, Twisted, [...]]]></description>
			<content:encoded><![CDATA[<p>Eight people attended the <a href="http://www.pysig.org">Python Special Interest Group</a>, held a week  early to avoid the Thanksgiving holiday. Anticipate a reschedule  December meeting as well.</p>
<p>Last night&#8217;s meeting was a vigorous and far-reaching discussion of  MySQL, Oracle, the future of MySQL, Maria DB, OpenOffice.org automation  using Python, OpenOffice.org automation using Visual FoxPro, Twisted,  IE6, Zope, Plone, Django, MS SQL Server, pyodbc, SQLAlchemy, Cascading  Style Sheets, IE6, FireFox and FireBug, User Agents, IE6, how not to  insulate a bungalow roof, the (Python!) cssparse module  (<a href="http://cthedot.de/cssutils/">http://cthedot.de/cssutils/</a>), Fortune&#8217;s selection of Steve Jobs as  &#8220;CEO  of the Decade&#8221;, Lenovo netbooks and Ubuntu, the Millennium, why  calendar years are one-based and not zero-based, distributed version  control systems, master-slave and master-master replication using MySQL  and Postgres, svn and git, and more! Whew! You should have been there!</p>
<p>Thanks to Bill for organizing the meeting, to all for attending and  participating, and to the Amoskeag Business Incubator for providing the  great facilities!</p>
<p>Stay tuned for an announcement of the December meeting, and hope  everyone has a good Thanksgiving!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.tedroche.com/blog/2009/11/20/pysig-20-nov-2009/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Notes from NH Ruby/Rails group, 17-Nov-2009, rvm and EC2</title>
		<link>http://www.tedroche.com/blog/2009/11/18/ruby-17-nov-rvm-ec2/</link>
		<comments>http://www.tedroche.com/blog/2009/11/18/ruby-17-nov-rvm-ec2/#comments</comments>
		<pubDate>Wed, 18 Nov 2009 19:03:17 +0000</pubDate>
		<dc:creator>tedroche</dc:creator>
				<category><![CDATA[Home Page]]></category>

		<guid isPermaLink="false">http://www.tedroche.com/blog/?p=3331</guid>
		<description><![CDATA[Brian Turnbull and Nick Plante each had excellent presentations for the New Hampshire Ruby Rails Group&#8217;s first meeting on the third Monday of the month, our new &#8220;regular meeting day.&#8221; (We won&#8217;t be having a December meeting, however; have a happy Kwanzaa, Hanukkah, Christmas, Saturnalia, Winter Solstice or non-denominational generic shopping holiday of your choice.)
Brian [...]]]></description>
			<content:encoded><![CDATA[<p>Brian Turnbull and Nick Plante each had excellent presentations for the New Hampshire Ruby Rails Group&#8217;s first meeting on the third Monday of the month, our new &#8220;regular meeting day.&#8221; (We won&#8217;t be having a December meeting, however; have a happy Kwanzaa, Hanukkah, Christmas, Saturnalia, Winter Solstice or non-denominational generic shopping holiday of your choice.)</p>
<p>Brian was up first, and talked about rvm, the Ruby Version Manager (slides here: <a href="http://www.slideshare.net/bturnbull/rvm-nhruby-nov-2009">http://www.slideshare.net/bturnbull/rvm-nhruby-nov-2009</a>). RVM doesn&#8217;t just allow you to have multiple versions of ruby on your machine; you&#8217;ve always been able to do that with side-by-side installs or linking or aliases or other kludges. RVM can be found at <a href="http://rvm.beginrescueend.com/">http://rvm.beginrescueend.com</a> and can be installed as a Gem, from the Git repository or as a tarball. It&#8217;s not Ruby code, actually, but shell scripts, and it allows not just switching of the current active version of ruby, but much more interestingly, the entire set of gems associated with a version! Multiple gemsets can be assigned an alias that lets you group your gems by function or project or client. RVM also provides a facility to dump the list of gems from one version or gemset and load it into another, allowing you to test out the migration of an existing system to a new version with much less hassle. Finally, rvm also lets you invoke multiple versions serially, passing them a command like &#8220;rvm 1.86, 1.8.7, 1.9.1 rake spec&#8221; where rvm will run all your tests on multiple versions and report results, even in JSON if specified. This could be the core of a really simple Continuous Integration (CI) server in a single line of code!</p>
<p>Brian cautioned that rvm is early in its development cycle (current as of last night was 0.0.79) and changes are coming fast and furious, but it&#8217;s worth taking some time to keep track of this very interesting development!</p>
<p>Brian also mentioned that rvm has some extensions to work with Bundler. Nick mentioned that Bundler, a project from Yehuda Katz (core contributor to both Ruby and jQuery) , is slated to become the default means of managing gems in Rails 3.0. Here&#8217;s a good link to learn more: <a href="http://yehudakatz.com/2009/11/03/using-the-new-gem-bundler-today/">http://yehudakatz.com/2009/11/03/using-the-new-gem-bundler-today/</a></p>
<p>Nick Plante was up next, with his presentation on EC2 for Rails Development (<a href="http://zapnap.github.com/presentations/ec2-rubber/#0">http://zapnap.github.com/presentations/ec2-rubber/#0</a>). Nick talked about the evolution of deployment of Rails (or Rack) solutions, moving from very painful to much easier with the introduction of Capistrano (<a href="http://capify.org/">http://capify.org/</a>). He reviewed how simple it was to deploy an application with Capistrano, and then talked about the power of the Amazon Web Services (AWS) <a href="http://aws.amazon.com/">http://aws.amazon.com/</a> and Cloud Computing in general. Capistrano is focused on general deployment to a server, but the new add-on, Rubber (<a href="http://github.com/wr0ngway/rubber">http://github.com/wr0ngway/rubber</a>),  extends that to work with elastic computing resources like AWS&#8217; Elastic Compute Cloud (EC2). We walked through the basics of the install-configure-deploy scenario and then &#8220;Insert Demo Here.&#8221; &#8211; he did it. Defying the Demo Gods (who had already tortured Brian a bit), Nick grabbed a copy of RedMine (<a href="http://www.redmine.org/">http://www.redmine.org/</a>) from GitHub, did the couple of minor configuration items needed to make it work locally (creating the session key, copying the sample database config to the live one, setting it to use SQLite3 locally and running db:migrate) and then set it up for deployment: first invoking Capistrano (doing some configuring) and then Vulcanizing (how else would you make rubber) the installation, then deploying it to a brand-new AWS instance. The steps flew by lightening-fast: the Amazon instance was up and running a minute after being invoked, then took a couple of minutes to install and configure Apache, Passenger, MySQL, the Redmine application, and sftp the development directory files to the instance. Within a few minutes, Nick could browse the machine and see the running application as well as ssh into the box and make any changes. There are innumerable options, of course, but they are all accessible by reviewing the configuration files and the source to tune it to your particular needs.</p>
<p>While we waited for the installation to complete, I brought up some of the customer&#8217;s concerns and practitioner&#8217;s insights from last Thursday&#8217;s MonadLUG meeting on Cloud Computing and we talked about how those applied. I expressed concerns about how persistent data storage worked, since the cloud images were considered ephemeral. Nick pointed out that the instance, while running could have a local database and it could be in a master-slave replication arrangement with either another instance (within the AWS, there aren&#8217;t bandwidth charges) or a hosted or local machine. Also mentioned was the Amazon Relation Database Service (RDS), which can provide a MySQL database instance with backups. So, there are lots of options.</p>
<p>Thanks to Brian and Nick for excellent presentations as well as organizing the meeting and bringing the pizza, to Tim and the folks at RMC Research for providing the excellent facilites and to all eleven who attended and participated in the meeting.</p>
<p>Remember, no Ruby meeting meeting in December. Stay tuned for a January announcement.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.tedroche.com/blog/2009/11/18/ruby-17-nov-rvm-ec2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>New Hampshire Ruby / Rails Group, MONDAY, 16 November 2009</title>
		<link>http://www.tedroche.com/blog/2009/11/12/new-hampshire-ruby-rails-group-monday-16-november-2009/</link>
		<comments>http://www.tedroche.com/blog/2009/11/12/new-hampshire-ruby-rails-group-monday-16-november-2009/#comments</comments>
		<pubDate>Thu, 12 Nov 2009 16:22:01 +0000</pubDate>
		<dc:creator>tedroche</dc:creator>
				<category><![CDATA[Home Page]]></category>

		<guid isPermaLink="false">http://www.tedroche.com/blog/?p=3328</guid>
		<description><![CDATA[Reposting Nick&#8217;s announcement from http://nhruby.org/2009/11/8/november-meetup-ec2-and-rvm:
NHRuby is meeting for the last time this year on Monday the 16th at 7pm at RMC Research, 1000 Market Street, Building 2, Portsmouth, NH. Monday?! You say? Yes — due to scheduling conflicts, the regular meeting day for NHRuby is now to the third Monday of the month. Also, since [...]]]></description>
			<content:encoded><![CDATA[<p>Reposting Nick&#8217;s announcement from <a href="http://nhruby.org/2009/11/8/november-meetup-ec2-and-rvm:" target="_blank">http://nhruby.org/2009/11/8/november-meetup-ec2-and-rvm:</a></p>
<p>NHRuby is meeting for the last time this year on Monday the 16th at 7pm at RMC Research, 1000 Market Street, Building 2, Portsmouth, NH. Monday?! You say? Yes — due to scheduling conflicts, the regular meeting day for NHRuby is now to the third Monday of the month. Also, since next month&#8217;s meeting fell so close to the Christmas holiday, we decided to skip the December meetup and resume in January. So join us for the last meeting of 2009 for two presentations by NHRuby regulars, Nick Plante and Brian Turnbull.</p>
<p>Nick will present EC2, Amazon&#8217;s Elastic Compute Cloud. EC2 is a web service which allows customers to rent virtual server instances by the hour. The real power of EC2 is that it allows you to auto-scale your web applications on demand. Expecting heavy load today? Fire up another web app server or two, with no wait time for procurement, while taking advantage of Amazon&#8217;s robust infrastructure.</p>
<p>Making EC2 even more attractive are tools like Matt Conway&#8217;s Rubber, a set of extensions to Capistrano that allows you to script procurement and provisioning of server instances as well as deployment of your application itself. Need to set up a staging server? Use Rubber to deploy a disk image, install the necessary stack and utilities, and deploy the appropriate version of your application &#8212; in moments &#8212; all automatically. In this talk, Nick will quickly discuss the basics you need to know and then dive right into a realtime demo.</p>
<p>Brian will introduce RVM, the Ruby Version Manager. RVM is a command line tool which allows us to easily install, manage, and work with multiple Ruby environments and sets of gems. Topics to be covered include:</p>
<ul>
<li>Installation of RVM on Linux or OS X.</li>
<li>Day to day use of RVM to switch between Ruby interpreters</li>
<li>Managing sets of gems using Named Gem Sets</li>
</ul>
<p>If you&#8217;ve ever been burned by differences between development and production, you should check out RVM — see how easy it is to take control of your Ruby environment.</p>
<p>So join us on Monday, 16 November at RMC Research for the last meeting of the year. Hope to see you there!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.tedroche.com/blog/2009/11/12/new-hampshire-ruby-rails-group-monday-16-november-2009/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Windows 7 Motto?</title>
		<link>http://www.tedroche.com/blog/2009/10/12/windows-7-motto/</link>
		<comments>http://www.tedroche.com/blog/2009/10/12/windows-7-motto/#comments</comments>
		<pubDate>Mon, 12 Oct 2009 19:20:51 +0000</pubDate>
		<dc:creator>tedroche</dc:creator>
				<category><![CDATA[Microsoft]]></category>

		<guid isPermaLink="false">http://www.tedroche.com/blog/?p=3319</guid>
		<description><![CDATA[I noted on the Lenovo site a note on the page that said, &#8220;Windows®. Life without Walls™.&#8221; It&#8217;s pretty hard to believe that even Microsoft marketing, well known for tone-deafness, thought this was a great motto. I mean, without walls, who needs windows?
The note goes on to say, &#8220;Lenovo recommends Windows.&#8221; Do they really, or [...]]]></description>
			<content:encoded><![CDATA[<p>I noted on the Lenovo site a note on the page that said, &#8220;<span><span onclick="window.open('./special-offers.workflow:ShowPromo?LandingPage=/All/US/Sitelets/Windows-Vista/overview', '', '')">Windows<sup>®</sup>. Life without Walls™.&#8221; It&#8217;s pretty hard to believe that even Microsoft marketing, well known for tone-deafness, thought this was a great motto. I mean, without walls, who needs windows?</span></span><br />
The note goes on to say, &#8220;Lenovo recommends Windows.&#8221; Do they really, or does Microsoft pay them to say that? Or require them to say that in order to get a discount on their OEM licensing, which amounts to the same thing? Where&#8217;s their FTC disclaimer? (I posted my disclaimers about 3 years ago <a href="http://www.tedroche.com/blog/2006/12/28/disclaimers/">here</a>.)</p>
]]></content:encoded>
			<wfw:commentRss>http://www.tedroche.com/blog/2009/10/12/windows-7-motto/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
