<?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>K-Squared Ramblings &#187; html</title>
	<atom:link href="http://www.hyperborea.org/journal/tag/html/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.hyperborea.org/journal</link>
	<description>Sci-fi, comics, humor, photos...it&#039;s all fair game.</description>
	<lastBuildDate>Sat, 04 Feb 2012 06:27:02 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=</generator>
		<item>
		<title>Mobile Web Layouts vs. the Viewport</title>
		<link>http://www.hyperborea.org/journal/2010/10/viewport/</link>
		<comments>http://www.hyperborea.org/journal/2010/10/viewport/#comments</comments>
		<pubDate>Sun, 17 Oct 2010 01:46:28 +0000</pubDate>
		<dc:creator>Kelson</dc:creator>
				<category><![CDATA[Annoyances]]></category>
		<category><![CDATA[Web Design]]></category>
		<category><![CDATA[Android]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[G1]]></category>
		<category><![CDATA[G2]]></category>
		<category><![CDATA[html]]></category>
		<category><![CDATA[mobile]]></category>

		<guid isPermaLink="false">http://www.hyperborea.org/journal/?p=9878</guid>
		<description><![CDATA[A few years ago, I tried to give some of my most-used websites a nice, clean look on mobile browsers by adding a stylesheeet with the &#8220;handheld&#8221; type. Then the iPhone came out and ignored them, and everyone copied that &#8230; <a href="http://www.hyperborea.org/journal/2010/10/viewport/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>A few years ago, I tried to give some of my most-used websites a nice, clean look on mobile browsers by adding a stylesheeet with the &#8220;handheld&#8221; type. Then the iPhone came out and ignored them, and everyone copied that behavior, making it useless.</p>
<p>Somewhere along the line, I revisited the same CSS techniques, but used the &#8220;max-width&#8221; media query to change the layout on smaller screens. This seemed even better in the long run, since screen size matters more than whether a device is a desktop computer or a handheld computer.  (The iPad was nothing but a long-standing rumor in those days, but demonstrates this clearly.)</p>
<p align="center"><a href="http://www.hyperborea.org/journal/wp-content/uploads/2010/10/Donut1.jpg"><img src="http://www.hyperborea.org/journal/wp-content/uploads/2010/10/Donut1-202x300.jpg" alt="" title="Barry Allen Profile #1 on Android 1.6 Donut" width="202" height="300" class="alignnone size-medium wp-image-9888" /></a> <a href="http://www.hyperborea.org/journal/wp-content/uploads/2010/10/Donut2.jpg"><img src="http://www.hyperborea.org/journal/wp-content/uploads/2010/10/Donut2-202x300.jpg" alt="" title="Barry Allen Profile #2 on Android 1.6 Donut" width="202" height="300" class="alignnone size-medium wp-image-9889" /></a></p>
<p><small>The raw screenshots (click to view) are slightly larger, but since mobile devices often have denser screens, if you&#8217;re reading this on a desktop, it&#8217;s probably about the same physical size.</small></p>
<p>That worked great on the iPhone, and on the G1, which I updated through Android 1.6. I stopped testing it after a while, and no one commented on it, so I figured it was still working. (Reminder to self: that&#8217;s always a mistake.)</p>
<p>Last week I got a G2, which came with Android 2.2. Last night I visited one of my websites, and was presented with this shrunken, unreadable mess&#8230;because Android doesn&#8217;t actually use the real screen size anymore.  It <a href="http://www.quirksmode.org/mobile/viewports.html">pretends it has a bigger screen</a> so that it can present a desktop-like view and then let the user zoom around.  Mobile Firefox does the same thing.</p>
<p align="center"><a href="http://www.hyperborea.org/journal/wp-content/uploads/2010/10/Froyo1.jpg"><img src="http://www.hyperborea.org/journal/wp-content/uploads/2010/10/Froyo1-200x300.jpg" alt="" title="Barry Allen Profile #1 on Android 2.2 Froyo" width="200" height="300" class="alignnone size-medium wp-image-9890" /></a> <a href="http://www.hyperborea.org/journal/wp-content/uploads/2010/10/Froyo2.jpg"><img src="http://www.hyperborea.org/journal/wp-content/uploads/2010/10/Froyo2-199x300.jpg" alt="" title="Barry Allen Profile #2 on Android 2.2 Froyo" width="199" height="300" class="alignnone size-medium wp-image-9891" /></a></p>
<p>&lt;rant&gt;Why is it that every time I find a clean technique to use the same markup on both desktop and mobile devices, some browser manufacturer decides to bypass it in favor of giving the user a clunky imitation desktop view instead of one <em>optimized for their experience</em>?&lt;/rant&gt;</p>
<p>*ahem*</p>
<p>Anyway, it turns out it&#8217;s possible to <a href="http://www.quirksmode.org/blog/archives/2010/09/combining_meta.html">fix this problem</a> with the &lt;meta viewport tag&gt; as shown here:</p>
<p><code>&lt;meta name="viewport" content="width=device-width"&gt;</code></p>
<p>So I can provide nice, clean small-screen layouts again&#8230;after I add extra markup to <strong>every single page</strong> that uses these stylesheets.</p>
<p>Problem solved!</p>
<p>Well, almost.  It fixes the layout&#8230;but it also prevents the user from zooming out for quick scrolling, which can be awfully useful on a long page.</p>
<p><small>Screenshots of the <a href="http://www.hyperborea.org/flash/barry.html">Barry Allen Flash</a> profile, taken using the Android SDK emulator with stock Donut and Froyo images.</small></p>
]]></content:encoded>
			<wfw:commentRss>http://www.hyperborea.org/journal/2010/10/viewport/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Why Google Buzz Won&#8217;t Run on Your Android Phone (Yet)</title>
		<link>http://www.hyperborea.org/journal/2010/02/buzz-g1/</link>
		<comments>http://www.hyperborea.org/journal/2010/02/buzz-g1/#comments</comments>
		<pubDate>Wed, 10 Feb 2010 02:20:34 +0000</pubDate>
		<dc:creator>Kelson</dc:creator>
				<category><![CDATA[Computers/Internet]]></category>
		<category><![CDATA[Troubleshooting]]></category>
		<category><![CDATA[Android]]></category>
		<category><![CDATA[Buzz]]></category>
		<category><![CDATA[G1]]></category>
		<category><![CDATA[google]]></category>
		<category><![CDATA[html]]></category>
		<category><![CDATA[html5]]></category>
		<category><![CDATA[mobile]]></category>
		<category><![CDATA[phones]]></category>

		<guid isPermaLink="false">http://www.hyperborea.org/journal/?p=7640</guid>
		<description><![CDATA[I&#8217;ve been hoping to try out Google Buzz, but it hasn&#8217;t hit my Gmail account yet and it won&#8217;t run on my phone*&#8230;even though it&#8217;s a web app. Comments at Android and Me and at Mashable show that I&#8217;m not &#8230; <a href="http://www.hyperborea.org/journal/2010/02/buzz-g1/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been hoping to try out <a href="http://www.google.com/buzz">Google Buzz</a>, but it hasn&#8217;t <a href="http://gmailblog.blogspot.com/2010/02/google-buzz-in-gmail.html">hit my Gmail account</a> yet and it won&#8217;t run on my phone*&#8230;even though <a href="http://googlemobile.blogspot.com/2010/02/introducing-google-buzz-for-mobile-see.html">it&#8217;s a web app</a>.  Comments <a href="http://androidandme.com/2010/02/news/google-gets-even-more-social-with-google-buzz/">at Android and Me</a> and <a href="http://mashable.com/2010/02/09/buzz-mobile/">at Mashable</a> show that I&#8217;m not alone.</p>
<p>It turns out that <strong>Buzz <a href="http://www.google.com/support/forum/p/Google+Mobile/thread?tid=3dcfc0961244b5ac&#038;hl=en">uses HTML5 features</a></strong> (specifically appcache, database and location) to store local data and to detect your physical location&#8230;and those capabilities were <a href="http://blogs.nitobi.com/joe/2009/10/29/android-2-0-and-webkit/">added in Android 2.0</a>.</p>
<p>The support thread mentions that they are &#8220;<strong>working on another version</strong> that will make Buzz for mobile accessible on older Android OS versions (and some other smartphones as well).&#8221;  The browser in Android&nbsp;1.6 and below supports similar capabilities through Gears, so they may be planning a Gears-based workaround.</p>
<p>This would be a lot less of an issue if it weren&#8217;t for the fact that most of the Android phones out there still run 1.6 or even Android&nbsp;1.5. IIRC <strong>only the Droid and Nexus One</strong> have officially been updated to 2.0 so far**, so unless you have one of those two models, you&#8217;re more likely to get Buzz to run on an iPhone than Android.</p>
<p>Funny, that.</p>
<p><small>*I&#8217;ve got a G1. It can only access Buzz through the updated Maps app, which brought up a bunch of people in nearby office parks posting things like &#8220;Testing Buzz&#8221; and &#8220;WTF is Google Buzz?&#8221;</small></p>
<p><small>**A few other phones have had updates announced, but I don&#8217;t think any have actually shipped yet. I could be wrong.</small></p>
]]></content:encoded>
			<wfw:commentRss>http://www.hyperborea.org/journal/2010/02/buzz-g1/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Geekery: WiFi and Presidential HTML</title>
		<link>http://www.hyperborea.org/journal/2009/01/wifi-bush/</link>
		<comments>http://www.hyperborea.org/journal/2009/01/wifi-bush/#comments</comments>
		<pubDate>Thu, 08 Jan 2009 07:59:59 +0000</pubDate>
		<dc:creator>Kelson</dc:creator>
				<category><![CDATA[Computers/Internet]]></category>
		<category><![CDATA[Politics]]></category>
		<category><![CDATA[George Bush]]></category>
		<category><![CDATA[html]]></category>
		<category><![CDATA[Tweets]]></category>
		<category><![CDATA[wifi]]></category>

		<guid isPermaLink="false">http://www.hyperborea.org/journal/archives/2009/01/07/line-items-for-2009-01-07/</guid>
		<description><![CDATA[Hmm. I&#8217;ve used internet cafes while travelling, but have no idea wher to find one w/in 20mi of home. WiFi hotspots, OTOH, are everywhere. # Political geekery; saw a bumper sticker reading &#60;/bush&#62;. Only prob: tag should be &#60;president name=&#34;bush&#34;&#62;. &#8230; <a href="http://www.hyperborea.org/journal/2009/01/wifi-bush/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Hmm. I&#8217;ve used internet cafes while travelling, but have no idea wher to find one w/in 20mi of home. WiFi hotspots, OTOH, are everywhere. <a href="http://twitter.com/KelsonV/statuses/1102667071" class="aktt_tweet_time">#</a></p>
<p>Political geekery; saw a bumper sticker reading <strong><code>&lt;/bush&gt;</code></strong>. Only prob: tag should be <strong><code>&lt;president name=&quot;bush&quot;&gt;</code></strong>. Did I mention geekery? <a href="http://twitter.com/KelsonV/statuses/1102765318" class="aktt_tweet_time">#</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.hyperborea.org/journal/2009/01/wifi-bush/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Webslices and Revisiting Microsummaries</title>
		<link>http://www.hyperborea.org/journal/2008/03/webslices-and-microsummaries/</link>
		<comments>http://www.hyperborea.org/journal/2008/03/webslices-and-microsummaries/#comments</comments>
		<pubDate>Fri, 14 Mar 2008 03:59:07 +0000</pubDate>
		<dc:creator>Kelson</dc:creator>
				<category><![CDATA[Web Design]]></category>
		<category><![CDATA[Firefox]]></category>
		<category><![CDATA[html]]></category>
		<category><![CDATA[IE8]]></category>
		<category><![CDATA[microformats]]></category>
		<category><![CDATA[webdev]]></category>
		<category><![CDATA[webslices]]></category>

		<guid isPermaLink="false">http://www.hyperborea.org/journal/archives/2008/03/13/webslices-and-microsummaries/</guid>
		<description><![CDATA[When the first Firefox 2 beta was released, I looked into Microsummaries, a feature that enables bookmarks to automatically update their titles with information. I concluded they were useful, but not for anything I was doing. The main application would &#8230; <a href="http://www.hyperborea.org/journal/2008/03/webslices-and-microsummaries/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>When the first Firefox 2 beta was released, I looked into <a href="https://wiki.mozilla.org/Microsummaries">Microsummaries</a>, a feature that enables bookmarks to automatically update their titles with information.  I <a href="http://www.hyperborea.org/journal/2006/07/microsummaries/">concluded</a> they were useful, but not for anything I was doing.  The main application would be my <a href="http://www.hyperborea.org/flash/">Flash site</a>, but it already had an RSS feed for updates, and a microsummary could only really include the most recent item.</p>
<p>Now the first IE8 beta supports <a href="http://www.microsoft.com/windows/products/winfamily/ie/ie8/webslices.mspx">Webslices</a>.  They&#8217;re similar in concept, but can include formatted data (not just plain text) and use microformat-like markup on the web page instead of a &lt;link&gt; element in the head.</p>
<p>I figured with two browsers supporting the concept, I&#8217;d give it a shot.  I adapted the script I use to generate the RSS feed so that it will also take everything on the most recent day and generate a text file, which is used for the Microsummary title.  For the Webslice, to start with I just marked up the &#8220;Latest Updates&#8221; section of the home page.  Since I haven&#8217;t installed IE8b1 at home, I&#8217;m using Daniel Glazman&#8217;s experimental <a href="http://www.glazman.org/weblog/dotclear/index.php?post/2008/03/13/WebSlices-in-Firefox-6">Webchunks</a> extension for Firefox to try it out.  Unfortunately the extension doesn&#8217;t seem to resolve relative links in its current state.</p>
<p>The real question, of course, is whether either technology offers anything better than what feeds can do now.</p>
<p>I think I&#8217;ll end up going the external-feed route for the Webslice as well, since it&#8217;ll use a lot less bandwidth than having a bunch of IE installations pulling the <em>entire home page</em> once a day.  Plus since I&#8217;m using SSI on that page, it doesn&#8217;t take advantage of conditional requests and caching, and a static file will.  But that&#8217;ll have to wait.  <i>Lost</i> is on in 2 minutes, and after getting up earlier than usual this morning, I&#8217;ll probably be going to bed right after the show.</p>
<p><b>Update:</b> I checked in IE8, and the webslice does work as expected.  A few minor differences: Webchunks pulls in external styles, like the background and colors, while IE8b1 only uses styles in the chunk itself.  Interesting bit: I&#8217;m marking up list items as entries, and IE8 is actually displaying them as a bulleted list, while Webchunks is simply showing the content.</p>
<p>So it at least <em>works</em>.  Maybe tonight or Sunday I&#8217;ll see if I can refine it a bit.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.hyperborea.org/journal/2008/03/webslices-and-microsummaries/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Advantages of standards-based design: Compatibility</title>
		<link>http://www.hyperborea.org/journal/2006/10/standards-advantage/</link>
		<comments>http://www.hyperborea.org/journal/2006/10/standards-advantage/#comments</comments>
		<pubDate>Thu, 12 Oct 2006 20:06:06 +0000</pubDate>
		<dc:creator>Kelson</dc:creator>
				<category><![CDATA[Web Design]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[html]]></category>
		<category><![CDATA[IE7]]></category>
		<category><![CDATA[standards]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[webdesign]]></category>

		<guid isPermaLink="false">http://www.hyperborea.org/journal/archives/2006/10/12/standards-advantage/</guid>
		<description><![CDATA[Microsoft is really pushing for people to make sure their websites and apps are compatible with IE7. Apparently this is a real concern for a lot of people who relied on certain proprietary features, bugs, and quirks in IE6. I &#8230; <a href="http://www.hyperborea.org/journal/2006/10/standards-advantage/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Microsoft is really pushing for people to make sure their websites and apps are <a href="http://blogs.msdn.com/b/ie/archive/2006/10/06/ie7-is-coming-this-month_2e002e002e00_are-you-ready_3f00_.aspx">compatible with IE7</a>.  Apparently this is a real concern for a lot of people who relied on certain proprietary features, bugs, and quirks in IE6.  I guess they figured they wouldn&#8217;t have to worry about future versions.  (Hmm&#8230; I wonder <a href="http://news.cnet.com/2100-1032_3-1011859.html">where they got that idea</a>?)</p>
<p>The fact of the matter is, I&#8217;m not worried.  I tested my personal sites and the sites I&#8217;d built for work months ago, using the IE7 betas, and more recently with RC1.  I made a couple of minor changes to some stylesheets, but that was about it.</p>
<p>Why?  I&#8217;ve been writing standards-based code for years.  I <a href="http://www.htmlhelp.com/tools/validator/">validate it</a> from time to time, and I test to make sure it works in the latest versions of Firefox, Opera and Safari as well as IE.  So the code was already portable.</p>
<p>Plus, anything new I&#8217;ve built since January has been designed with IE7 in mind from the beginning.</p>
<p>Most of the changes were to workarounds for IE6.  Either stopping them from running on IE7 (if the bug was fixed), or keeping them running on IE7 (if it was done using a CSS hack).</p>
]]></content:encoded>
			<wfw:commentRss>http://www.hyperborea.org/journal/2006/10/standards-advantage/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Taking the Web Beyond the Typewriter</title>
		<link>http://www.hyperborea.org/journal/2004/12/beyond-the-typewriter/</link>
		<comments>http://www.hyperborea.org/journal/2004/12/beyond-the-typewriter/#comments</comments>
		<pubDate>Sat, 18 Dec 2004 18:13:28 +0000</pubDate>
		<dc:creator>Kelson</dc:creator>
				<category><![CDATA[Web Design]]></category>
		<category><![CDATA[html]]></category>
		<category><![CDATA[office]]></category>
		<category><![CDATA[typography]]></category>
		<category><![CDATA[webdev]]></category>

		<guid isPermaLink="false">http://www.hyperborea.org/journal/archives/2004/12/18/beyond-the-typewriter/</guid>
		<description><![CDATA[I recently stumbled across an old copy of the Demoroniser (which my American-trained sense of spelling keeps trying to spell as demoronizer), a script designed to correct some of the, well, moronic HTML generated by Microsoft Office. Aside from flat-out &#8230; <a href="http://www.hyperborea.org/journal/2004/12/beyond-the-typewriter/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I recently stumbled across an old copy of the <a href="http://www.fourmilab.ch/webtools/demoroniser/">Demoroniser</a> (which my American-trained sense of spelling keeps trying to spell as <i>demoronizer</i>), a script designed to correct some of the, well, moronic HTML generated by Microsoft Office.  Aside from flat-out coding errors, Office would use non-standard characters for things such as curly quotes or em-dashes that would only show up on Windows computers. If you viewed these sites on a Mac, a Linux box, a Palm, etc., they would seem to be missing punctuation everywhere.  His solution was to convert these to their plain-ASCII equivalents.</p>
<p>Over the last year or so, <a href="http://wordpress.org/">WordPress</a> and <a href="http://www.alistapart.com/">A List Apart</a> have converted me from &#8220;stick with the lowest common denominator&#8221; to &#8220;let&#8217;s show real typography.&#8221;  Since the days of the Demoroniser, Unicode has become a standard part of HTML, so modern browsers* can either display a full range of characters or convert them to something they can display.  You probably won&#8217;t be able to see Chinese text in Lynx, but a <em>properly</em> encoded curly quote&#8212;&#8220; or &#8221;&#8212;will show up as a plain old &quot;.</p>
<p>For one thing, real typography looks much nicer.  <span id="more-634"></span>An actual &#8220;&#8212;&#8221; looks more professional than &#8220;&#45;&#45;&#8221; does.  Curly quotes are also more readable than straight quotes.  Take this series of titles, first with curly quotes and next with straight quotes. With curly quotes, it&#8217;s easier to tell which pieces of text are inside the quotes and which are outside:</p>
<p>&#8220;Blah blah one,&#8221; &#8220;Another title,&#8221; and &#8220;Yada yada.&#8221;<br />
&quot;Blah blah one,&quot; &quot;Another title,&quot; and &quot;Yada yada.&quot;</p>
<p>Indispensable resources: <a href="http://www.cs.sfu.ca/~ggbaker/reference/characters/">Commonly Confused Characters</a> and <a href="http://www.alistapart.com/articles/emen/">The Trouble with EM &#8217;n EN</a> are great for figuring out just which dash to use where, and also to get the codes right (if your authoring tool doesn&#8217;t take care of it for you).  <a href="http://evolt.org/entities">Evolt&#8217;s Character Entity Chart</a> is helpful for looking up codes and for checking just how much your browser can (or can&#8217;t) handle. </p>
<p>So, reminded of the existence of the Demoroniser, I looked for a Unicode-aware update.  The original script remains ASCII-only, but I did find the <a href="http://rheme.net/unmoroniser/">Unmoroniser</a>, a modified version that converts the problem characters to the proper HTML entities instead.  Accompanying the script is a rather long but nonetheless amusing rant on why this change is a good thing.</p>
<p><small>*In this case IE 5+, Mozilla/Firefox/Netscape 6+/etc., Opera 6+, Konqueror 3+ &amp; Safari should have no problems.  Netscape 4 manages the basics, but many characters only show up on Windows or don&#8217;t work at all.</small></p>
]]></content:encoded>
			<wfw:commentRss>http://www.hyperborea.org/journal/2004/12/beyond-the-typewriter/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Butterfly wings</title>
		<link>http://www.hyperborea.org/journal/2004/08/butterfly-wings/</link>
		<comments>http://www.hyperborea.org/journal/2004/08/butterfly-wings/#comments</comments>
		<pubDate>Wed, 11 Aug 2004 18:35:13 +0000</pubDate>
		<dc:creator>Kelson</dc:creator>
				<category><![CDATA[Spam]]></category>
		<category><![CDATA[chaos]]></category>
		<category><![CDATA[html]]></category>

		<guid isPermaLink="false">http://www.hyperborea.org/journal/archives/2004/08/11/butterfly-wings/</guid>
		<description><![CDATA[Last week I started looking at ways to cut down on false positives in our spam filters. I&#8217;ve only seen two in my own mailbox this year, but of course everyone gets different kinds of email. I&#8217;ve been trolling the &#8230; <a href="http://www.hyperborea.org/journal/2004/08/butterfly-wings/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Last week I started looking at ways to cut down on false positives in our spam filters. I&#8217;ve only seen two in my own mailbox this year, but of course everyone gets different kinds of email. I&#8217;ve been trolling the server logs for low-scoring &#8220;spam,&#8221; looking for anything that looks like it might be legit, particularly if the Bayes subsystem has already identified it correctly but isn&#8217;t enough to counteract the score assigned by other rules.  (Unfortunately, it&#8217;s hard to tell when all you&#8217;ve got is the sender, subject, and list of spam rules.)</p>
<p>One item I noticed was a copy of the <a href="http://technet.microsoft.com/">Microsoft Technet Flash</a> newsletter.  I thought this was odd, since I&#8217;d gotten a copy of the same newsletter and it hadn&#8217;t been labeled.  In fact, it turned out that my copy only scored 0.3 points, and the other hit 6.4!  (5 points indicates probable spam.) What could explain such a disparity?</p>
<p>Answer: <strong>two very small differences</strong>. <span id="more-483"></span></p>
<p>First, it came through a half hour later, after the message had been reported to <a href="http://www.rhyolite.com/dcc/"><abbr title="Distributed Checksum Clearinghouse">DCC</abbr></a>.  Since DCC is technically a list of bulk mail and not a list of spam, it&#8217;s theoretically not a false positive.  That added 1 point.</p>
<p>Second: The text must have been slightly different, because the other copy triggered a rule that looks for the phrase &#8220;no cost&#8221; or &#8220;no charge.&#8221;  That not only added 1.7 points, but altered the message enough that the Bayesian classifier was less certain it was legit &#8211; a shift from 0% to 1-9% likelihood of being spam.  So instead of subtracting 4.9 points from the score, it only subtracted 1.5 &#8212; a net gain of 3.4 points.</p>
<p>Of course, these differences wouldn&#8217;t have been an issue if the message hadn&#8217;t been formatted in a very spam-like way.  Before  Bayes made its adjustments, the copy sent to me would have been 5.2 points &#8212; just over the threshold.  Someone else seemed to be getting the text-only version (it didn&#8217;t trip any HTML rules) and the final score was -1!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.hyperborea.org/journal/2004/08/butterfly-wings/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>New Layout</title>
		<link>http://www.hyperborea.org/journal/2004/02/new-layout/</link>
		<comments>http://www.hyperborea.org/journal/2004/02/new-layout/#comments</comments>
		<pubDate>Thu, 12 Feb 2004 06:40:33 +0000</pubDate>
		<dc:creator>Kelson</dc:creator>
				<category><![CDATA[Site Updates]]></category>
		<category><![CDATA[Web Design]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[Firefox]]></category>
		<category><![CDATA[html]]></category>
		<category><![CDATA[IE]]></category>
		<category><![CDATA[webdesign]]></category>

		<guid isPermaLink="false">http://www.hyperborea.org/journal/archives/2004/02/11/new-layout/</guid>
		<description><![CDATA[I finally put together a new layout! I tried to do as much as possible in CSS and leave the HTML as little changed as possible, and when I finished I was able to keep the default WordPress layout as &#8230; <a href="http://www.hyperborea.org/journal/2004/02/new-layout/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I finally put together a new layout!  I tried to do as much as possible in CSS and leave the HTML as little changed as possible, and when I finished I was able to keep the default WordPress layout as an alternate.  In theory I ought to be able to plug in any of the submissions from the <a href="http://alexking.org/blog/2004/02/09/wordpress-css-style-competition-winners">WordPress CSS Style Competition</a> as alternates as well.</p>
<p>It&#8217;s been tested so far on Mozilla, IE 6, Opera 7, and Konqueror 3.2.  It doesn&#8217;t use anything more complicated than <a href="http://stopdesign.com/archive/2003/03/07/replace-text.html">Fahrner Image Replacement</a>, so it shouldn&#8217;t cause too many problems. I&#8217;ll try to test it in a bunch of other browsers at work tomorrow.</p>
<p>I consider this a first draft &#8211; among other things I figure on adding to the main title banner &#8211; but it&#8217;s something a bit more distinctive than the out-of-the-box layout we ended up with after the <a href="http://www.hyperborea.org/journal/2004/01/1-point-0/">upgrade to 1.0</a>.</p>
<p><b>Updated Feb. 12 and Feb. 13</b> to describe testing in more browsers and the interesting saga of tracking down a bug in Internet Explorer 5.0:<span id="more-259"></span></p>
<p><b>Update Feb. 12 @ 10:45.</b> Well, I&#8217;ve successfully tested Opera back to 4.0, Mozilla back to 1.0, Netscape back to 6.2 and IE back to 5.5.  I still need to check Safari and Mac IE 5, since Katie had turned her computer off by the time I was finished last night.   (Gecko browsers are pretty consistent across platforms, so all I really need to check on Mac Mozilla is that the fonts are readable.) </p>
<p>So far, every browser that can be expected to handle the layout has shown it fully or reasonably, except one: IE 5.0 for Windows:</p>
<p><img src="http://www.hyperborea.org/journal/wp-content/uploads/2004/02/feb04layout-ie50.jpg" alt="New layout as seen in IE 5.0 on Windows" /></p>
<p>It looks like it&#8217;s treating the bottom margin of each post as padding, without moving anything out of the way.  (Padding is inside the box, margins are outside.)  It should be placing a blank line between the bottom of a post and the next item, but instead it&#8217;s extending the box down, causing an overlap with whatever comes next.</p>
<p>This reminds me of the <a href="http://www.hyperborea.org/journal/wp-content/uploads/2004/02/ie-mangled.png">margin problems IE 6 had</a> with my <a href="http://www.hyperborea.org/software/">software page</a> layout &#8211; but this time IE 6 is fine.  It&#8217;s only IE 5.0 that&#8217;s having problems, and the tweaks I allowed myself time to make haven&#8217;t been enough to solve them.</p>
<p>Well, if stats are to be believed, there aren&#8217;t too many of you out there still using IE 5.0.  I&#8217;ll try to figure out a workaround, but for those of you still using IE 5, isn&#8217;t it time to think about either <a href="http://windowsupdate.microsoft.com/">upgrading to IE 6</a> or <a href="http://www.spreadfirefox.com/?q=affiliates&#038;id=880&#038;t=1">switching to something better</a>?</p>
<p><b>Update Feb. 13 @ 16:30.</b> I took a quick look at the resulting HTML code, and suddenly it was obvious: every post on the main page, where comments aren&#8217;t visible, had the following code at the end: <code>&lt;div class="storycomment"&gt;&lt;/div&gt;</code>.  It&#8217;s perfectly valid, and most browsers just ignored the empty element.  If IE 5.0 had just added the blank space, it would have been okay, but it somehow added the space when displaying the <em>surrounding</em> block, but not when figuring out where to put the <em>next</em> block.</p>
<p>Anyway, I moved the <code>&lt;div&gt;</code> tags into the comment loop, so they&#8217;re only present when comments are actually shown.  The IE 5 display problem is fixed!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.hyperborea.org/journal/2004/02/new-layout/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
	</channel>
</rss>

