<?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; Troubleshooting</title>
	<atom:link href="http://www.hyperborea.org/journal/archives/category/tech/troubleshooting/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, 21 Nov 2009 07:49:46 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=abc</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<cloud domain='www.hyperborea.org' port='80' path='/journal/?rsscloud=notify' registerProcedure='' protocol='http-post' />
		<item>
		<title>@font-face Crashes Firefox on Fedora</title>
		<link>http://www.hyperborea.org/journal/archives/2009/07/05/font-face-crash/</link>
		<comments>http://www.hyperborea.org/journal/archives/2009/07/05/font-face-crash/#comments</comments>
		<pubDate>Mon, 06 Jul 2009 06:30:00 +0000</pubDate>
		<dc:creator>Kelson</dc:creator>
				<category><![CDATA[Troubleshooting]]></category>
		<category><![CDATA[crash]]></category>
		<category><![CDATA[Fedora11]]></category>
		<category><![CDATA[Firefox]]></category>
		<category><![CDATA[fonts]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://www.hyperborea.org/journal/archives/2009/07/05/line-items-for-2009-07-05/</guid>
		<description><![CDATA[With the release of Firefox 3.5, I decided it was finally time to get serious about setting up a custom headline font on Speed Force.  Cross-platform @font-face embedding in CSS is now possible on Firefox, Safari, the beta version of Opera, and (I think) Chrome. So I pulled out some bookmarks, looked for some [...]]]></description>
			<content:encoded><![CDATA[<p>With the release of Firefox 3.5, I decided it was finally time to get serious about setting up a custom headline font on <a href="http://speedforce.org/">Speed Force</a>.  Cross-platform <a href="http://www.css3.info/preview/web-fonts-with-font-face/">@font-face</a> embedding in CSS is now possible on Firefox, Safari, the beta version of Opera, and (I think) Chrome. So I pulled out some bookmarks, looked for some fonts with licenses that allowed embedding, messed around with a test page and finally settled on two custom fonts: one for the post headlines, and one for the title and the sidebar section headers.</p>
<p>I tested it in a couple of browsers, both on my Linux desktop and on the Mac laptop, and planned to test it on the Windows desktop when Katie was done with it.  But then something weird started happening.</p>
<p>Firefox started crashing. Repeatedly.  Not quite predictably, but only when that test page was open.</p>
<p>I figured maybe it was a corrupted font, so I removed one, then the other, then both.  If the page tried to download an embedded font, Firefox would eventually crash.  If not, it was rock solid.</p>
<p>This seemed kind of bizarre for such a high-profile new feature to cause consistent crashing.</p>
<p>I did some searches online but didn&#8217;t come up with anything until I tried running Firefox from the command-line, so that I could read the error message.  It complained, <code>"firefox: cairo-ft-font.c:554: _cairo_ft_unscaled_font_lock_face: Assertion `!unscaled->from_face' failed."</code>  Searching for <em>that</em> led me to <a href="https://bugzilla.redhat.com/show_bug.cgi?id=509501">Fedora bug 509501</a> and <a href="https://bugzilla.redhat.com/show_bug.cgi?id=502274">bug 502274</a>, and this <a href="http://blog.bfccomputing.com/articles/2009/05/28/firefox-crashes-on-fedora-11">blog entry</a>.</p>
<p>To make a long story short:</p>
<ul>
<li>On Linux, Firefox uses a library called <strong>cairo</strong> to handle graphics, including fonts.</li>
<li>An old version of cairo had a bug that would cause crashes with fonts under certain circumstances.</li>
<li>Cairo fixed the bug in December.</li>
<li>Fedora 11 is still using the old version of cairo.</li>
</ul>
<p>So until Fedora ships a newer (or at least patched) version of cairo, my primary browser on my primary desktop will crash on any web page with an embedded font.</p>
<p>Nice.</p>
<p>I guess I could patch my own system for now and put the fonts up for the benefit of the rest of the Firefox+Safari+Opera-using audience on Windows and Macs (and probably other Linux distributions).  But that means causing a crash for anyone else running Fedora 11 when they visit my site.  I&#8217;m not too thrilled about that idea.  I have no problem with adding enhancements that only appear under certain browser+os combinations, but actively crashing a browser? Not something I want to do.</p>
<p><b>Update (July 21):</b> Aha! Fedora <a href="https://admin.fedoraproject.org/updates/cairo-1.8.8-1.fc11">submitted an updated cairo</a> for inclusion in the stable release last night!</p>
<hr /><small>Copyright &copy; 2009 Kelson Vibber and/or Katherine Foreman.<br /> This feed is for personal, non-commercial use only. <br /> The use of this feed on other websites breaches copyright. Permission granted to Planet Antispam and LiveJournal syndication feed ksquaredramblin.  If this content is not in your news reader or one of the sites listed above, it makes the page you are viewing an infringement of the copyright. (Digital Fingerprint: bc1c453a98ff79bab5c4fca2d890469d (38.107.191.92) )</small> <a href="http://www.hudson-family.co.uk/extremecorticate.php?source=673"></a>]]></content:encoded>
			<wfw:commentRss>http://www.hyperborea.org/journal/archives/2009/07/05/font-face-crash/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Flash 10 and WordPress File Upload Problems</title>
		<link>http://www.hyperborea.org/journal/archives/2008/10/16/flash-10-wp-upload/</link>
		<comments>http://www.hyperborea.org/journal/archives/2008/10/16/flash-10-wp-upload/#comments</comments>
		<pubDate>Thu, 16 Oct 2008 19:50:36 +0000</pubDate>
		<dc:creator>Kelson</dc:creator>
				<category><![CDATA[Computers/Internet]]></category>
		<category><![CDATA[Troubleshooting]]></category>
		<category><![CDATA[flash]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://www.hyperborea.org/journal/?p=2939</guid>
		<description><![CDATA[Well, Flash 10 is out with new features, security updates, and a fix for a Firefox video problem that I never noticed because it only affected Windows, and only sometimes.
It seems a little less stable than version 9 on Linux, at least 64-bit (it&#8217;s kind of complicated, because they only have a 32-bit program, so [...]]]></description>
			<content:encoded><![CDATA[<p>Well, <a href="http://get.adobe.com/flashplayer/">Flash 10 is out</a> with new features, security updates, and a <a href="http://www.readwriteweb.com/archives/flash_10_released_finally_flash_works_in_firefox_again.php">fix for a Firefox video problem</a> that I never noticed because it only affected Windows, and only sometimes.</p>
<p>It seems a little less stable than version 9 on Linux, at least 64-bit (it&#8217;s kind of complicated, because they only have a 32-bit program, so you either need to run a 32-bit version of your web browser, or use a wrapper that will let the 64-bit browser talk to the 32-bit plugin.  nspluginwrapper does this for Firefox and other Gecko browsers, while Opera has a wrapper built in).  But the annoying part: <strong>WordPress&#8217; image upload no longer works</strong>.</p>
<p>Current versions of WordPress use <a href="http://swfupload.org/">SWFUpload</a> to provide an enhanced file uploader.  If you don&#8217;t have Flash installed, it will just use the standard upload dialog built into your web browser, but then you&#8217;re stuck uploading one image at a time &#8212; a real pain if you&#8217;re making a photo gallery post.  Unfortunately for upload libraries, Adobe removed the ability for the Flash API to open a file dialog for security reasons.</p>
<p>So now, you can click on the button, but the dialog never opens.  WordPress is tracking the issue in <a href="http://core.trac.wordpress.org/ticket/6979">ticket 6979</a>, which mentions that SWFUpload is discussing workarounds, and the <a href="http://developer.yahoo.com/yui/uploader/">YUI Uploader</a> has already released a new version that works with Flash 10.</p>
<p>An update of <em>some</em> sort is likely to happen soon.  In the mean time, WordPress users have two choices: hold off on updating Flash, or stick with the browser uploader for now.</p>
<p><strong>Update October 31:</strong> SWFUpload has a new version in beta which works with Flash 10, and WordPress is working on integrating the update.  It&#8217;s targeted for WordPress 2.7, which comes out in a little under two weeks, though the <a href="http://codex.wordpress.org/Version_2.7">2.7 writeup</a> lists it as a feature that &#8220;didn&#8217;t make it&#8221; and might be in 2.8.  (This seems like something that would affect enough people that I&#8217;d hope they would include it, even if it means pushing back the release a few days for more testing.)</p>
<p>There&#8217;s also been talk about implementing a file uploader using <a href="http://tools.google.com/gears/">Gears</a>, which I&#8217;d find really appealing if I weren&#8217;t 64-bit Linux both at home and at work.</p>
<p><strong>Update November 1:</strong> I&#8217;ve tested WordPress 2.7 Beta 1 (not on this blog) and can confirm that the fix is included, as I was able to upload two images in one transaction.</p>
<hr /><small>Copyright &copy; 2009 Kelson Vibber and/or Katherine Foreman.<br /> This feed is for personal, non-commercial use only. <br /> The use of this feed on other websites breaches copyright. Permission granted to Planet Antispam and LiveJournal syndication feed ksquaredramblin.  If this content is not in your news reader or one of the sites listed above, it makes the page you are viewing an infringement of the copyright. (Digital Fingerprint: bc1c453a98ff79bab5c4fca2d890469d (38.107.191.92) )</small> <a href="http://www.hudson-family.co.uk/extremecorticate.php?source=673"></a>]]></content:encoded>
			<wfw:commentRss>http://www.hyperborea.org/journal/archives/2008/10/16/flash-10-wp-upload/feed/</wfw:commentRss>
		<slash:comments>15</slash:comments>
		</item>
		<item>
		<title>When digiKam Failed to Connect</title>
		<link>http://www.hyperborea.org/journal/archives/2007/11/14/digikam-permissions/</link>
		<comments>http://www.hyperborea.org/journal/archives/2007/11/14/digikam-permissions/#comments</comments>
		<pubDate>Thu, 15 Nov 2007 06:15:18 +0000</pubDate>
		<dc:creator>Kelson</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Troubleshooting]]></category>
		<category><![CDATA[camera]]></category>
		<category><![CDATA[digikam]]></category>
		<category><![CDATA[error]]></category>
		<category><![CDATA[Fedora]]></category>
		<category><![CDATA[udev]]></category>
		<category><![CDATA[usb]]></category>

		<guid isPermaLink="false">http://www.hyperborea.org/journal/archives/2007/11/14/digikam-permissions/</guid>
		<description><![CDATA[In the decade I&#8217;ve been using Linux, it&#8217;s gone from something that required lots of technical know-how just to set up, to something that (in its major flavors) can auto-detect most hardware and provides friendly GUIs for most configuration tasks.  But every once in a while, I have the kind of experience that would [...]]]></description>
			<content:encoded><![CDATA[<p>In the decade I&#8217;ve been using Linux, it&#8217;s gone from something that required lots of technical know-how just to set up, to something that (in its major flavors) can auto-detect most hardware and provides friendly GUIs for most configuration tasks.  But every once in a while, I have the kind of experience that would turn a new user off of Linux.  Usually because <a href="http://fedoraproject.org/">Fedora</a> has decided to change something during an update.</p>
<p>In this case, it was a <strong>digital camera problem</strong>.  Since we bought our Canon PowerShot SD600 last December, I&#8217;ve used KDE&#8217;s <a href="http://www.digikam.org/">digiKam</a> to transfer and manage the photos.  DigiKam detected the camera and accessed the photos right out of the box, no configuration needed beyond telling it to remember the model.  But something changed in the last two weeks, and last night I started getting an error message: <strong>Failed to connect to the camera</strong>.  Oddly enough, it could still <em>detect</em> the camera when it was connected.  But it couldn&#8217;t display or download the images.</p>
<p>I searched all over, hitting dead end after dead end, until I got a hint that it was a <strong>permissions</strong> problem.  <span id="more-2134"></span>  That&#8217;s when I hit the command line to start troubleshooting.</p>
<p>Digikam uses a library called <strong>gphoto2</strong> to access cameras.  It has utilities that you can run from the command line for testing.  I ran <strong><code>gphoto2 --auto-detect</code></strong>, which dutifully reported the correct camera.  I ran <strong><code>gphoto2 -l</code></strong> to list the folders on the camera, and it spit out an error including the phrase: <strong>Could not claim the USB device</strong>.  The interesting thing was, if I ran the same command <em>as root</em>, it was able to see the folders.</p>
<p>Way back when, Linux used a static list of devices in /dev.  Now that everyone is constantly connecting and disconnecting devices with USB, Firewire, Bluetooth etc., that&#8217;s not practical.  Most modern Linux distributions use one method or another to dynamically build that list from what&#8217;s actually connected to the computer, and react when new devices are plugged in.  Fedora&nbsp;7 uses <strong>udev</strong> to identify and configure devices.  I had to figure out how to tell udev to give me write access.</p>
<p>I finally found the gphoto documentation on <a href="http://www.gphoto.org/doc/manual/permissions-usb.html">setting permissions</a>, and found the command I needed: <code>print-camera-list</code>, which will build a list of rules for udev to use when someone attaches a camera.  Unfortunately, the directions were slightly out of date.  Instead of adding a &#8220;version 0.98&#8243; option, it wanted &#8220;udev-rules-0.98&#8243;.</p>
<p>So the command I used (as root) was this:</p>
<p><strong><code>/usr/lib/libgphoto2/print-camera-list udev-rules-0.98 group users mode 0660 > /etc/udev/rules.d/90-libgphoto2.rules </code></strong></p>
<p>Note that where it says &#8220;users&#8221; you should substitute the name of the group your account belongs to.  (In Fedora, that might actually be the same name as your username, since it likes  to create a group just for you.)</p>
<p>It took me about an hour to track this down, since initial searches sent me looking in the wrong direction.  I&#8217;m hoping this blog post will save someone else a little time and frustration.</p>
<p><b>Update (June 2008)</b></p>
<p>I&#8217;ve run into a <em>different</em> problem with Fedora 9.  In this case, I&#8217;m running digiKam under the GNOME desktop.  GNOME can mount the camera now, so it auto-mounts and pops up a filesystem window. But when I try to access the camera in digiKam, I get the same error message about not being able to connect.</p>
<p>It turns out this one&#8217;s just a conflict: either the virtual filesystem or digiKam can access the camera, but not both at once.  I just right-clicked on the icon on the desktop, unmounted it, and was able to connect in digiKam.</p>
<hr /><small>Copyright &copy; 2009 Kelson Vibber and/or Katherine Foreman.<br /> This feed is for personal, non-commercial use only. <br /> The use of this feed on other websites breaches copyright. Permission granted to Planet Antispam and LiveJournal syndication feed ksquaredramblin.  If this content is not in your news reader or one of the sites listed above, it makes the page you are viewing an infringement of the copyright. (Digital Fingerprint: bc1c453a98ff79bab5c4fca2d890469d (38.107.191.92) )</small> <a href="http://www.hudson-family.co.uk/extremecorticate.php?source=673"></a>]]></content:encoded>
			<wfw:commentRss>http://www.hyperborea.org/journal/archives/2007/11/14/digikam-permissions/feed/</wfw:commentRss>
		<slash:comments>10</slash:comments>
		</item>
		<item>
		<title>Fedora 7 problems with glint video driver</title>
		<link>http://www.hyperborea.org/journal/archives/2007/06/06/fedora-7-problems-with-glint-video-driver/</link>
		<comments>http://www.hyperborea.org/journal/archives/2007/06/06/fedora-7-problems-with-glint-video-driver/#comments</comments>
		<pubDate>Thu, 07 Jun 2007 06:22:03 +0000</pubDate>
		<dc:creator>Kelson</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Troubleshooting]]></category>
		<category><![CDATA[drivers]]></category>
		<category><![CDATA[Fedora]]></category>
		<category><![CDATA[Fedora7]]></category>
		<category><![CDATA[glint]]></category>
		<category><![CDATA[redhat]]></category>
		<category><![CDATA[video]]></category>

		<guid isPermaLink="false">http://www.hyperborea.org/journal/archives/2007/06/06/fedora-7-problems-with-glint-video-driver/</guid>
		<description><![CDATA[Just a warning for any Fedora Linux users preparing to upgrade to Fedora&#160;7: Grab the Live CD first and make sure that all your hardware works properly.  If not, see if the fix is available before you actually upgrade.
I upgraded a system with a Permedia 2 video card, which uses the glint drivers.  [...]]]></description>
			<content:encoded><![CDATA[<p>Just a warning for any <a href="http://fedoraproject.org/">Fedora</a> Linux users preparing to upgrade to Fedora&nbsp;7: Grab the Live CD first and make sure that all your hardware works properly.  If not, see if the fix is available before you actually upgrade.</p>
<p>I upgraded a system with a Permedia 2 video card, which uses the glint drivers.  The installer couldn&#8217;t launch the GUI, but I&#8217;ve run into that fairly often, so I just used the text-based installer without thinking much of it.  The upgrade process itself went fine, but on booting into the new system, it was unable to launch X.  I kept getting the following error: <span id="more-1758"></span></p>
<p><code>X: symbol lookup error: /usr/lib/xorg/modules/drivers//glint_drv.so: undefined<br />
symbol: RamDacCreateInfoRec</code></p>
<p>I found a reference to the problem occurring in Debian, as <a href="http://lists.debian.org/debian-x/2007/05/msg00526.html">Debian bug #423129</a>, then followed that to <a href="https://bugs.freedesktop.org/show_bug.cgi?id=10906">Freedesktop.org bug 10906</a>, which has been fixed.  It turns out that the xorg X server moved some features from a pluggable module into the server itself, but didn&#8217;t keep them available for drivers that use them.  I tested the patch with the X server <abbr title="Source RPM">SRPM</abbr> from Fedora, and was able to run the system in graphics mode again.</p>
<p>Then I checked Fedora&#8217;s bug database, and found <a href="https://bugzilla.redhat.com/show_bug.cgi?id=242800">Red Hat bug 242800</a>, filed just yesterday.   I confirmed that I had the same problem, pointed them at the upstream bug, and reported that the fix worked for me.</p>
<p>For those who are comfortable with modifying and building SRPMs, you can grab xorg-x11-server-1.3.0.0-5.fc7.src.rpm from any <a href="http://mirrors.fedoraproject.org/publiclist/Fedora/7/">Fedora mirror</a>, then add the patch from that Freedesktop.org bug report to the SPEC file.  That will give you a set of RPMs that will work with the card.  (If you don&#8217;t know what I&#8217;m talking about, you&#8217;re probably better off waiting until Fedora has a chance to test the fix and issue an update, but if you want to learn, check out the <a href="http://docs.fedoraproject.org/drafts/rpm-guide-en/">RPM Guide</a>, particularly chapters 8 and 9.)</p>
<p><b>Update (June 7):</b> A fixed version, xorg-x11-server-Xorg-1.3.0.0-8.fc7 has hit the testing repository.</p>
<p><b>Update (June 11):</b> The fix has been released, so all you have to do is install/upgrade in text mode and run <code>yum update</code> after you&#8217;re done.</p>
<hr /><small>Copyright &copy; 2009 Kelson Vibber and/or Katherine Foreman.<br /> This feed is for personal, non-commercial use only. <br /> The use of this feed on other websites breaches copyright. Permission granted to Planet Antispam and LiveJournal syndication feed ksquaredramblin.  If this content is not in your news reader or one of the sites listed above, it makes the page you are viewing an infringement of the copyright. (Digital Fingerprint: bc1c453a98ff79bab5c4fca2d890469d (38.107.191.92) )</small> <a href="http://www.hudson-family.co.uk/extremecorticate.php?source=673"></a>]]></content:encoded>
			<wfw:commentRss>http://www.hyperborea.org/journal/archives/2007/06/06/fedora-7-problems-with-glint-video-driver/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Automattic Stats, or PHP 5.2.2 vs. WordPress XMLRPC</title>
		<link>http://www.hyperborea.org/journal/archives/2007/05/07/automattic-stats/</link>
		<comments>http://www.hyperborea.org/journal/archives/2007/05/07/automattic-stats/#comments</comments>
		<pubDate>Mon, 07 May 2007 16:45:18 +0000</pubDate>
		<dc:creator>Kelson</dc:creator>
				<category><![CDATA[Site Updates]]></category>
		<category><![CDATA[Troubleshooting]]></category>
		<category><![CDATA[automattic]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[plugins]]></category>
		<category><![CDATA[stats]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://www.hyperborea.org/journal/archives/2007/05/07/automattic-stats/</guid>
		<description><![CDATA[Experimenting with the new Automattic Stats Plugin that uses the WordPress.com statistics infrastructure to track traffic.  So far, so good&#8230; except for one problem.  Titles and links are missing from all the &#8220;most visited&#8221; posts.  They&#8217;re just listed as numeric IDs.
Update: Actually, today&#8217;s posts seem OK.  The plugin seems to just [...]]]></description>
			<content:encoded><![CDATA[<p>Experimenting with the <a href="http://wordpress.com/blog/2007/05/06/stats-plugin/">new</a> <a href="http://andy.wordpress.com/2007/05/05/automattic-stats-for-self-hosted-wordpress/">Automattic Stats Plugin</a> that uses the <a href="http://wordpress.com/">WordPress.com</a> statistics infrastructure to track traffic.  So far, so good&#8230; except for one problem.  Titles and links are missing from all the &#8220;most visited&#8221; posts.  They&#8217;re just listed as numeric IDs.</p>
<p><b>Update:</b> Actually, today&#8217;s posts seem OK.  The plugin seems to just send the blog ID and post ID.  I&#8217;ve been trying to figure out how the central server is retrieving the permalink and title.  It doesn&#8217;t look like <a href="http://www.bad-behavior.ioerror.us/">Bad Behavior</a> is blocking it.  And it doesn&#8217;t seem to be using the RSS feed, since posts that are still on the front page (and presumably still in the feed) are also showing up as numbers. *grumble*</p>
<p><b>Update 2:</b> I just noticed that all of the number-only posts show the same placeholder graph showing &#8220;Region A&#8221; vs. &#8220;Region B&#8221; for 2003-2005.</p>
<p><b>Update 3:</b> It&#8217;s a problem with WordPress&#8217; XMLRPC interface, and affects other uses (like connecting with Flock).  I&#8217;ve got a workaround, though (see comments).</p>
<p><b>Update 4 (May 10):</b> Thanks to the pingback below from <i>dot unplanned</i>, it&#8217;s confirmed to be a <a href="http://bugs.php.net/bug.php?id=41293">bug in PHP 5.2.2</a>.  With any luck, the workaround will cease to be necessary when the next PHP bugfix is released.</p>
<hr /><small>Copyright &copy; 2009 Kelson Vibber and/or Katherine Foreman.<br /> This feed is for personal, non-commercial use only. <br /> The use of this feed on other websites breaches copyright. Permission granted to Planet Antispam and LiveJournal syndication feed ksquaredramblin.  If this content is not in your news reader or one of the sites listed above, it makes the page you are viewing an infringement of the copyright. (Digital Fingerprint: bc1c453a98ff79bab5c4fca2d890469d (38.107.191.92) )</small> <a href="http://www.hudson-family.co.uk/extremecorticate.php?source=673"></a>]]></content:encoded>
			<wfw:commentRss>http://www.hyperborea.org/journal/archives/2007/05/07/automattic-stats/feed/</wfw:commentRss>
		<slash:comments>12</slash:comments>
		</item>
		<item>
		<title>Fixing Feed Problems with WordPress 2.0.6 and PHP 5.2</title>
		<link>http://www.hyperborea.org/journal/archives/2007/01/05/feed-problems/</link>
		<comments>http://www.hyperborea.org/journal/archives/2007/01/05/feed-problems/#comments</comments>
		<pubDate>Fri, 05 Jan 2007 18:08:29 +0000</pubDate>
		<dc:creator>Kelson</dc:creator>
				<category><![CDATA[Site Updates]]></category>
		<category><![CDATA[Troubleshooting]]></category>
		<category><![CDATA[blogging]]></category>
		<category><![CDATA[feeds]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://www.hyperborea.org/journal/archives/2007/01/05/feed-problems/</guid>
		<description><![CDATA[Upgraded to WordPress 2.0.6 and now feeds are broken.  At least, they&#8217;re broken in Firefox, IE7, and KDE (Konqueror &#038; Akregator).  Something seems to be interrupting the transfer, causing them to get a blank file.  Oddly, they work fine in Opera, the LWP &#8220;GET&#8221; command-line utility, and Dillo (not that Dillo can [...]]]></description>
			<content:encoded><![CDATA[<p>Upgraded to <a href="http://wordpress.org/development/2007/01/wordpress-206/">WordPress 2.0.6</a> and now feeds are broken.  At least, they&#8217;re broken in Firefox, IE7, and KDE (Konqueror &#038; Akregator).  Something seems to be interrupting the transfer, causing them to get a blank file.  Oddly, they work fine in Opera, the LWP &#8220;GET&#8221; command-line utility, and Dillo (not that Dillo can do anything but display the source, but it gets the whole file.)  Even more oddly, SeaMonkey seems to have no problems.  You&#8217;d think Firefox and SeaMonkey would have the same issues.  Also, I seem to be able to <em>sometimes</em> get it to work on reload.</p>
<p>Anyway, I&#8217;m working on it.  If you read this site via RSS or Atom, and it <em>is</em> working, let me know (and let me know which feed reader you&#8217;re using).  I suppose it could be cookie-related, though I&#8217;ve already tried clearing cookies.  I&#8217;ve also tried disabling just about every plugin I use that does something to feeds or headers, to no avail.</p>
<p><b>Update:</b> I think I&#8217;ve got it.  By using the <a href="http://tamperdata.mozdev.org/">Tamper Data</a> extension, I was able to determine that the <tt>304 Not Modified</tt> status was not being set properly.  Instead of actually issuing the 304 status, it would issue a <tt>200 OK</tt>, then send a <tt>Status: 304</tt> header later in the response.  It never showed any problems on command-line GET or HEAD because they weren&#8217;t conditional.  That&#8217;s also why forcing reload would work.</p>
<p>I looked into wp-includes/functions.php and found the <b>status_header</b> function.  Then I looked at the following line:</p>
<pre>@header("Status: $header $text");</pre>
<p>In theory this should work.  Traditionally, setting a &#8220;Status&#8221; header will replace the actual HTTP status.  But that&#8217;s not how the <a href="http://www.php.net/manual/en/function.header.php">PHP manual</a> says to do it.  They suggest issuing the actual header that the server would send: <tt>HTTP/1.1 304 Not Modified</tt>.  I noticed that the header function in PHP has some optional parameters, including one to force the HTTP status.  That felt a little cleaner than hard-coding the protocol (since an older browser might make an HTTP/1.0 request, and it should get an HTTP/1.0 response), so I changed the line to this:</p>
<pre>@header("Status: $header $text", TRUE, $header);</pre>
<p>It seems to have fixed the problem.</p>
<p>For the record, this is PHP 5.2.0 on Apache 1.3.37 using the mod_php interface.</p>
<p><b>Update 2:</b> Simpler fix just removes the if.. statement and else&#8230; section so that it&#8217;s just the following:</p>
<pre>@header("HTTP/1.1 $header $text");</pre>
<p>Bug reported as <a href="http://core.trac.wordpress.org/ticket/3528">Ticket 3528</a>.</p>
<p><span id="more-1547"></span>It&#8217;s also worth mentioning that I had to apply the workaround in <a href="http://core.trac.wordpress.org/ticket/3354">Ticket 3354</a> for another issue (single-post pages were getting cut off before the comments).</p>
<p><b>Update 3: Here are the exact changes I made:</b></p>
<p>Keep in mind that this has only been tested on this config.  If feeds still work after you upgrade, don&#8217;t change it.</p>
<p>Open the file <tt>wp-includes/functions.php</tt> and look for this section:</p>
<pre>function status_header( $header ) {
	if ( 200 == $header )
		$text = 'OK';
	elseif ( 301 == $header )
		$text = 'Moved Permanently';
	elseif ( 302 == $header )
		$text = 'Moved Temporarily';
	elseif ( 304 == $header )
		$text = 'Not Modified';
	elseif ( 404 == $header )
		$text = 'Not Found';
	elseif ( 410 == $header )
		$text = 'Gone';

		if ( substr(php_sapi_name(), 0, 3) == 'cgi' )
			@header("HTTP/1.1 $header $text");
		else
			@header("Status: $header $text");
}</pre>
<p>In the last four lines (not counting the closing <tt>}</tt>), disable everything but the one with <tt>HTTP/1.1</tt> by adding <tt>//</tt> to the beginning.</p>
<pre>		//if ( substr(php_sapi_name(), 0, 3) == 'cgi' )
			@header("HTTP/1.1 $header $text");
		//else
			//@header("Status: $header $text");</pre>
<p><b>Update 4:</b> Mark Jaquith has <a href="http://markjaquith.wordpress.com/2007/01/06/wordpress-206-feedburner-issue-and-fix/">posted more on this issue</a>, including a patch and a replacement functions.php.</p>
<hr /><small>Copyright &copy; 2009 Kelson Vibber and/or Katherine Foreman.<br /> This feed is for personal, non-commercial use only. <br /> The use of this feed on other websites breaches copyright. Permission granted to Planet Antispam and LiveJournal syndication feed ksquaredramblin.  If this content is not in your news reader or one of the sites listed above, it makes the page you are viewing an infringement of the copyright. (Digital Fingerprint: bc1c453a98ff79bab5c4fca2d890469d (38.107.191.92) )</small> <a href="http://www.hudson-family.co.uk/extremecorticate.php?source=673"></a>]]></content:encoded>
			<wfw:commentRss>http://www.hyperborea.org/journal/archives/2007/01/05/feed-problems/feed/</wfw:commentRss>
		<slash:comments>13</slash:comments>
		</item>
		<item>
		<title>Google Toolbar AutoFill is Weird</title>
		<link>http://www.hyperborea.org/journal/archives/2006/06/01/autofill-weirdness/</link>
		<comments>http://www.hyperborea.org/journal/archives/2006/06/01/autofill-weirdness/#comments</comments>
		<pubDate>Thu, 01 Jun 2006 23:33:39 +0000</pubDate>
		<dc:creator>Kelson</dc:creator>
				<category><![CDATA[Troubleshooting]]></category>
		<category><![CDATA[Web Design]]></category>
		<category><![CDATA[forms]]></category>
		<category><![CDATA[google]]></category>
		<category><![CDATA[toolbar]]></category>
		<category><![CDATA[Web]]></category>

		<guid isPermaLink="false">http://www.hyperborea.org/journal/archives/2006/06/01/autofill-weirdness/</guid>
		<description><![CDATA[I briefly enabled the Google Toolbar to check some PageRank stats, and noticed some fields on contact forms were highlighted in yellow.  A little experimentation revealed that this was part of the toolbar&#8217;s AutoFill capability, which will try to identify standard form fields and fill in your name, address, etc.  (There&#8217;s a config [...]]]></description>
			<content:encoded><![CDATA[<p>I briefly enabled the <a href="http://toolbar.google.com/">Google Toolbar</a> to check some PageRank stats, and noticed some fields on contact forms were highlighted in yellow.  A little experimentation revealed that this was part of the toolbar&#8217;s <a href="http://toolbar.google.com/autofill_help.html">AutoFill</a> capability, which will try to identify standard form fields and fill in your name, address, etc.  (There&#8217;s a config box where you fill it all in once.)</p>
<p>The weird thing was that this form had name and e-mail fields, but AutoFill only recognized e-mail.  I figured, OK, people might be using this, let&#8217;s see if I can adjust the page and make it compatible.</p>
<p>This form was using &#8220;name&#8221; and &#8220;email&#8221; for the actual names of the fields.  They were labeled &#8220;Your Name&#8221; and &#8220;E-mail,&#8221; in separate table cells before the fields, with explicit <code>&lt;label&gt;</code> elements.  A bit of searching turned up the fact that AutoFill looks for field names defined in <a href="http://www.ietf.org/rfc/rfc3106.txt"><abbr title="Electronic Commerce Modeling Language">ECML</abbr> (RFC 3106)</a>.  That list applies to the actual field names, not the visible labels, and if I&#8217;m reading it correctly, both &#8220;name&#8221; and &#8220;email&#8221; should work.<span id="more-1362"></span></p>
<p>So I started checking other forms, and noticed that on the comments field here in WordPress, it fills in the wrong fields!  It shows the email and website fields as being fillable (AutoFill doesn&#8217;t have a spot to provide a website).  Worse, it fills in your name as in the email field, and your email address as your website!</p>
<p>At this point, I figured I&#8217;d read the search hit called <a href="http://west-wind.com/weblog/posts/726.aspx">Google Toolbar Autofill quirks</a>.  The author did some investigation and found that &#8220;it apparently looks at a text box and then tries to backtrack from that location looking at text.&#8221;  In other words, instead of looking at the field&#8217;s name, or the content of an explicitly-associated label, it looks to see what text appears before it.  <strong>This is just plain dumb.</strong>  It makes sense as a fallback measure, but you don&#8217;t start with the heuristics when you have more reliable indicators that you can check just as easily!</p>
<p>It broke on the first contact form because, despite the fact that the field was called &#8220;name,&#8221; the label said &#8220;Your Name.&#8221;  I pulled out the word <i>your</i> and it recognized it.  Strangely, it was perfectly happy with anther form which had a field labeled, &#8220;Your Full Name.&#8221;</p>
<p>It broke on the WordPress comment form because the Kubrick layout puts the labels to the right of the fields.  The fields and labels are paired within lines&#8212;in fact, each field/label pair is its own paragraph.  So you&#8217;d think that some text in the same paragraph would be more closely associated with the field than some text in an earlier paragraph.  Plus, each field has a <code>&lt;label&gt;</code> tag, so there should be no ambiguity as to which label applies to which field!</p>
<p>A more sensible approach would be this:</p>
<ol>
<li>Check the field name, as in&#8230;<br />
<code>&lt;input type=&quot;text&quot; name=&quot;email&quot;&gt;</code><br />
This is where ECML says to look, after all!  If it matches your list, use it and do not continue to step 2; no one is going to ask people to fill out &#8220;Ecom_ShipTo_Postal_City.&#8221;</li>
<li>Check for an explicit label, as in&#8230;<br />
<code>&lt;label for=&quot;myfield&quot;&gt;E-mail&lt;/label&gt; &lt;input type=&quot;text&quot; name=&quot;indecipherable&quot; id=&quot;myfield&quot;&gt;</code><br />
If it matches, use it.  If you find a <code>&lt;label&gt;</code> for the field, even if you can&#8217;t use it, do not continue to step 3.  The page&#8217;s author has already told you what the field is called, and you&#8217;ll either get the same label or something irrelevant.</li>
<li>If those both fail, check the text immediately before and after.  Figure out which is more closely associated.  (Hint: If some text is on the same line, and some isn&#8217;t&#8230; the text on the same line is probably attached to this field!)</li>
</ol>
<p>I&#8217;ll rename the &#8220;Your Name&#8221; field in the first form, and I&#8217;ll tweak any other pages I find having problems, but I&#8217;m just plain annoyed at the spectacular failure on the WordPress form.</p>
<p><small>For future reference, this behavior was observed with the Google Toolbar for Firefox version 2.0.20060515W.  The WordPress comment form in question is from the WordPress 2.0 version of the Kubrick theme, modified only slightly (I changed the &#8220;URI&#8221; label to &#8220;Website,&#8221; since more people will know what it means).</small></p>
<hr /><small>Copyright &copy; 2009 Kelson Vibber and/or Katherine Foreman.<br /> This feed is for personal, non-commercial use only. <br /> The use of this feed on other websites breaches copyright. Permission granted to Planet Antispam and LiveJournal syndication feed ksquaredramblin.  If this content is not in your news reader or one of the sites listed above, it makes the page you are viewing an infringement of the copyright. (Digital Fingerprint: bc1c453a98ff79bab5c4fca2d890469d (38.107.191.92) )</small> <a href="http://www.hudson-family.co.uk/extremecorticate.php?source=673"></a>]]></content:encoded>
			<wfw:commentRss>http://www.hyperborea.org/journal/archives/2006/06/01/autofill-weirdness/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
		<item>
		<title>Fixing Flash in Fedora Core 5</title>
		<link>http://www.hyperborea.org/journal/archives/2006/03/27/flash-fedora-5/</link>
		<comments>http://www.hyperborea.org/journal/archives/2006/03/27/flash-fedora-5/#comments</comments>
		<pubDate>Mon, 27 Mar 2006 17:22:34 +0000</pubDate>
		<dc:creator>Kelson</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Troubleshooting]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[adobe]]></category>
		<category><![CDATA[Fedora]]></category>
		<category><![CDATA[flash]]></category>
		<category><![CDATA[macromedia]]></category>

		<guid isPermaLink="false">http://www.hyperborea.org/journal/archives/2006/03/27/flash-fedora-5/</guid>
		<description><![CDATA[I upgraded two computers at work to Fedora Core 5.  One was a network upgrade that went without a hitch.*  The other was trashed so badly I had to do a fresh install.
I&#8217;ve run into a couple of gotchas, among them the fact that text is missing in Flash animations.  I messed [...]]]></description>
			<content:encoded><![CDATA[<p>I upgraded two computers at work to <a href="http://fedoraproject.org/">Fedora Core 5</a>.  One was a network upgrade that went without a hitch.*  The other was trashed so badly I had to do a fresh install.</p>
<p>I&#8217;ve run into a couple of gotchas, among them the fact that text is missing in Flash animations.  I messed with my font settings, checked SELinux logs, tried switching from the binary installer to the <a href="http://macromedia.mplug.org/">RPM package</a>, to no avail.  I tracked down a <a href="http://www.redhat.com/archives/fedora-devel-list/2006-February/msg00148.html">Fedora mailing list post</a> that pointed to a <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=317655">mozilla bug</a> that had been languishing for a few months, then added what I knew&#8212;which was that it affected Flash regardless of the browser.</p>
<p>On Sunday, commenter Dawid Gajownik tracked down the problem: Flash hard-codes the paths where it looks for fonts, instead of letting the X server tell it where to look.  Fedora Core 5 includes a new X server, which no longer puts things in /usr/X11R6.  Apparently symlinking the old font paths to the new ones works around the problem:</p>
<blockquote><p>[root@X ~]# mkdir -p /usr/X11R6/lib/X11<br />
[root@X ~]# cd /usr/X11R6/lib/X11<br />
[root@X X11]# ln -s ../../../../etc/X11/fs<br />
[root@X X11]# ln -s ../../../share/X11/fonts
</p></blockquote>
<p>I tried it with absolute links (to /etc/X11/fs and /usr/share/X11/fonts) instead of relative, and it worked fine.</p>
<p>Also, if SELinux is in enforcing mode, you need to allow text relocations on the Flash library.  More info on that in Dawid&#8217;s <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=317655#c14">bugzilla comment</a>.</p>
<p>So this should take care of Flash until Macrodobe releases an updated version.  They&#8217;re apparently heading <a href="http://www.kaourantin.net/2005/12/flash-player-8-for-linux-update.html">straight for 8.5</a> on Linux, which is why they haven&#8217;t released Flash 8.0 yet.</p>
<p><small>*Almost.  It turns out the repodata on disc 1 isn&#8217;t enough for a network or hard disk installation.  I copied all the discs onto an internal web server, then had to grab the repodata folder from a mirror.  Would&#8217;ve been fine with the CDs except for the annoying problem that the CD drive on that machine doesn&#8217;t work.  Once I had that, though, the upgrade went smoothly.</small></p>
<hr /><small>Copyright &copy; 2009 Kelson Vibber and/or Katherine Foreman.<br /> This feed is for personal, non-commercial use only. <br /> The use of this feed on other websites breaches copyright. Permission granted to Planet Antispam and LiveJournal syndication feed ksquaredramblin.  If this content is not in your news reader or one of the sites listed above, it makes the page you are viewing an infringement of the copyright. (Digital Fingerprint: bc1c453a98ff79bab5c4fca2d890469d (38.107.191.92) )</small> <a href="http://www.hudson-family.co.uk/extremecorticate.php?source=673"></a>]]></content:encoded>
			<wfw:commentRss>http://www.hyperborea.org/journal/archives/2006/03/27/flash-fedora-5/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Bunny&#8217;s Technorati Tags and WordPress 2.0</title>
		<link>http://www.hyperborea.org/journal/archives/2005/12/30/bunny-tags-in-wp2/</link>
		<comments>http://www.hyperborea.org/journal/archives/2005/12/30/bunny-tags-in-wp2/#comments</comments>
		<pubDate>Sat, 31 Dec 2005 00:36:26 +0000</pubDate>
		<dc:creator>Kelson</dc:creator>
				<category><![CDATA[Site Updates]]></category>
		<category><![CDATA[Troubleshooting]]></category>
		<category><![CDATA[bunny]]></category>
		<category><![CDATA[plugin]]></category>
		<category><![CDATA[tags]]></category>
		<category><![CDATA[technorati]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://www.hyperborea.org/journal/archives/2005/12/30/bunny-tags-in-wp2/</guid>
		<description><![CDATA[Solved!  To make Bunny&#8217;s Technorati Tags fully compatible with WordPress 2.0 you need to change two lines in the add_tags_textinput() function.
Just replace this:
function add_tags_textinput() {
	global $postdata;
	$tags = get_post_meta($postdata->ID, 'tags', true);
with this:
function add_tags_textinput() {
	global $post_ID;
	$tags = get_post_meta($post_ID, 'tags', true);
The problem is that it will show existing tags, or let you add a new tag, but [...]]]></description>
			<content:encoded><![CDATA[<p>Solved!  To make <a href="http://plugins.trac.wordpress.org/wiki/BunnysTechnoratiTags">Bunny&#8217;s Technorati Tags</a> fully <a href="http://codex.wordpress.org/User:Matt/2.0_Plugin_Compatibility">compatible with WordPress 2.0</a> you need to change two lines in the <code>add_tags_textinput()</code> function.</p>
<p>Just replace this:</p>
<pre>function add_tags_textinput() {
	global <b>$postdata</b>;
	$tags = get_post_meta(<b>$postdata->ID, 'tags', true);</b></pre>
<p>with this:</p>
<pre>function add_tags_textinput() {
	global <b>$post_ID</b>;
	$tags = get_post_meta(<b>$post_ID</b>, 'tags', true);</pre>
<p>The <a href="http://www.hyperborea.org/journal/archives/2005/12/30/wp2/">problem</a> is that it will show existing tags, or let you add a new tag, but it will lose tags when you edit a post.  It&#8217;s not able to retrieve the tags to fill in the form field, apparently because $postdata isn&#8217;t returning the ID it expects.</p>
<p>I&#8217;ve <a href="http://plugins.trac.wordpress.org/ticket/339">submitted the fix</a> to wp-plugins.org, so if the author is keeping track of tickets there, the fix should show up in the next version of the plugin.</p>
<p><b>Update Jan. 3:</b> The plugin author has <a href="http://climbtothestars.org/archives/2006/01/03/plugin-updates-for-wordpress-20/">released version 0.5</a> with a slightly different fix (plus a few other improvements), and it&#8217;s now compatible with WordPress 2.0.</p>
<hr /><small>Copyright &copy; 2009 Kelson Vibber and/or Katherine Foreman.<br /> This feed is for personal, non-commercial use only. <br /> The use of this feed on other websites breaches copyright. Permission granted to Planet Antispam and LiveJournal syndication feed ksquaredramblin.  If this content is not in your news reader or one of the sites listed above, it makes the page you are viewing an infringement of the copyright. (Digital Fingerprint: bc1c453a98ff79bab5c4fca2d890469d (38.107.191.92) )</small> <a href="http://www.hudson-family.co.uk/extremecorticate.php?source=673"></a>]]></content:encoded>
			<wfw:commentRss>http://www.hyperborea.org/journal/archives/2005/12/30/bunny-tags-in-wp2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How Thunderbird&#8217;s Scam Detection Works</title>
		<link>http://www.hyperborea.org/journal/archives/2005/10/28/thunderbird-scam-detection/</link>
		<comments>http://www.hyperborea.org/journal/archives/2005/10/28/thunderbird-scam-detection/#comments</comments>
		<pubDate>Fri, 28 Oct 2005 18:50:48 +0000</pubDate>
		<dc:creator>Kelson</dc:creator>
				<category><![CDATA[Mozilla]]></category>
		<category><![CDATA[Spam]]></category>
		<category><![CDATA[Troubleshooting]]></category>
		<category><![CDATA[detector]]></category>
		<category><![CDATA[email]]></category>
		<category><![CDATA[phishing]]></category>
		<category><![CDATA[scam]]></category>
		<category><![CDATA[thunderbird]]></category>

		<guid isPermaLink="false">http://www.hyperborea.org/journal/?p=1110</guid>
		<description><![CDATA[Since upgrading to Mozilla Thunderbird 1.5 beta 2, I&#8217;ve seen a number of messages slapped with a warning label that &#8220;Thunderbird thinks this message might be an email scam.&#8221;  It appears at the top of the message, in the same style as the junk mail notice bar or the warning that remote images have [...]]]></description>
			<content:encoded><![CDATA[<p>Since upgrading to <a href="http://www.mozilla.com/thunderbird/">Mozilla Thunderbird</a> 1.5 beta 2, I&#8217;ve seen a number of messages slapped with a warning label that &#8220;Thunderbird thinks this message might be an email scam.&#8221;  It appears at the top of the message, in the same style as the junk mail notice bar or the warning that remote images have been blocked, and there&#8217;s a button to mark the message as &#8220;Not a Scam.&#8221;</p>
<p>There&#8217;s only one problem.  Since <a href="http://spamassassin.apache.org/">SpamAssassin</a> and <a href="http://www.clamav.net/">ClamAV</a> do such a good job of catching the phishing scams before they reach my inbox, Thunderbird has yet to catch any actual phish.  But there&#8217;ve been a lot of false positives.  It&#8217;s hit <a href="http://www.livejournal.com/">LiveJournal</a> reply notices, newsletters from <a href="http://www.ieee.org/">IEEE</a> and <a href="http://www.goldenkey.org/">Golden Key</a>, a <a href="http://unknowngenius.com/blog/wordpress/spam-karma/">Spam Karma</a> notice from my own blog, and I&#8217;ve seen it on both outbid notices and updates to saved searches from <a href="http://www.ebay.com/">eBay</a>.</p>
<p>I found myself wondering just how Thunderbird&#8217;s phishing detection decides that a message is suspicious&#8212;and how to teach it that the <em>next</em> LJ notice isn&#8217;t a scam.</p>
<p>The <a href="http://www.mozilla.org/support/thunderbird/">Thunderbird support website</a> doesn&#8217;t seem to have been updated yet.  Most of the articles I&#8217;ve found only talk about TB <em>adding</em> the feature, not how it works.  The best information I found was this <a href="http://forums.mozillazine.org/viewtopic.php?t=257045">Mozillazine forum thread</a>, which included a link to the actual code that makes the decision, in phishingDetector.js.  Thunderbird looks at the following:</p>
<ul>
<li>Links that only use an IP address, including dotted decimal, octal, hex, dword, or some mixed encoding.</li>
<li>Links that claim to go to one site, but actually go to another.  (Phishers do this to fool you into going to their site.  Legit mailing lists sometimes do this with redirectors for tracking purposes.)</li>
<li>Forms embedded in the email.  (This explains the LiveJournal notices.)</li>
</ul>
<p>It also appears to trap text URLs containing HTML-escaped characters, which explains the Spam Karma reports.  In this case the report includes a spammer&#8217;s link with <code>&amp;#8203;</code> in the hostname.  The message is plain text, so Thunderbird leaves the entity as-is when displaying it&#8230;but decodes it when it creates the link.  Result: a link where the text and URL don&#8217;t match.</p>
<p>The easiest way to prevent it from freaking out over the next message?  Add the sender to your address book.  I&#8217;m not sure that&#8217;s a great idea, since a phisher could guess which addresses you have saved and spoof them, but it&#8217;s at least simple.  I guess I&#8217;ll find out whether it works the next time I get a reply notice from LJ. <b>Update:</b> Adding the sender to your address book doesn&#8217;t seem to have any effect.</p>
<p><b>Update 2 (July 12, 2006):</b> The comment thread&#8217;s gotten long enough that I can see people might miss this, so <strong>here&#8217;s how to disable it</strong>:</p>
<ol>
<li>Open <b>Options</b> or <b>Preferences</b> (this will be under the <i>Tools</i> menu on Windows, <i>Thunderbird</i> on Mac, or <i>Edit</i> on Linux).</li>
<li>Click on <b>Privacy</b> (there should be a big padlock icon).</li>
<li>Click on the <b>E-mail Scams</b> tab.</li>
<li>Disable the &#8220;Check mail messages for email scams&#8221; option and click on Close.</li>
</ol>
<p>That&#8217;s it.</p>
<hr /><small>Copyright &copy; 2009 Kelson Vibber and/or Katherine Foreman.<br /> This feed is for personal, non-commercial use only. <br /> The use of this feed on other websites breaches copyright. Permission granted to Planet Antispam and LiveJournal syndication feed ksquaredramblin.  If this content is not in your news reader or one of the sites listed above, it makes the page you are viewing an infringement of the copyright. (Digital Fingerprint: bc1c453a98ff79bab5c4fca2d890469d (38.107.191.92) )</small> <a href="http://www.hudson-family.co.uk/extremecorticate.php?source=673"></a>]]></content:encoded>
			<wfw:commentRss>http://www.hyperborea.org/journal/archives/2005/10/28/thunderbird-scam-detection/feed/</wfw:commentRss>
		<slash:comments>29</slash:comments>
		</item>
		<item>
		<title>Troubleshooting by Blog</title>
		<link>http://www.hyperborea.org/journal/archives/2005/10/24/troubleshooting-by-blog/</link>
		<comments>http://www.hyperborea.org/journal/archives/2005/10/24/troubleshooting-by-blog/#comments</comments>
		<pubDate>Mon, 24 Oct 2005 22:21:32 +0000</pubDate>
		<dc:creator>Kelson</dc:creator>
				<category><![CDATA[Site Updates]]></category>
		<category><![CDATA[Troubleshooting]]></category>

		<guid isPermaLink="false">http://www.hyperborea.org/journal/?p=1104</guid>
		<description><![CDATA[From time to time I&#8217;ve written up the results of a particularly interesting (or annoying) computer problem with the intent of helping out other people who run into the same issue.  Daring Fireball calls this Writing for Google and provides suggestions on how to make sure the write-up gets found.
There are enough of them [...]]]></description>
			<content:encoded><![CDATA[<p>From time to time I&#8217;ve written up the results of a particularly interesting (or annoying) computer problem with the intent of helping out other people who run into the same issue.  <a href="http://daringfireball.net/"><i>Daring Fireball</i></a> calls this <a href="http://daringfireball.net/2004/05/writing_for_google">Writing for Google</a> and provides suggestions on how to make sure the write-up gets found.</p>
<p>There are enough of them that I think they&#8217;re worth labeling. Although the category list is getting complicated enough it might be worth chopping everything down to 4 or 5 and using tags for everything else.</p>
<hr /><small>Copyright &copy; 2009 Kelson Vibber and/or Katherine Foreman.<br /> This feed is for personal, non-commercial use only. <br /> The use of this feed on other websites breaches copyright. Permission granted to Planet Antispam and LiveJournal syndication feed ksquaredramblin.  If this content is not in your news reader or one of the sites listed above, it makes the page you are viewing an infringement of the copyright. (Digital Fingerprint: bc1c453a98ff79bab5c4fca2d890469d (38.107.191.92) )</small> <a href="http://www.hudson-family.co.uk/extremecorticate.php?source=673"></a>]]></content:encoded>
			<wfw:commentRss>http://www.hyperborea.org/journal/archives/2005/10/24/troubleshooting-by-blog/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>&#8220;Expected dict&#8221; Errors in FDF Acrobat Forms</title>
		<link>http://www.hyperborea.org/journal/archives/2005/10/24/fdf-errors/</link>
		<comments>http://www.hyperborea.org/journal/archives/2005/10/24/fdf-errors/#comments</comments>
		<pubDate>Mon, 24 Oct 2005 22:11:43 +0000</pubDate>
		<dc:creator>Kelson</dc:creator>
				<category><![CDATA[Troubleshooting]]></category>
		<category><![CDATA[Web Design]]></category>
		<category><![CDATA[Acrobat]]></category>
		<category><![CDATA[adobe]]></category>
		<category><![CDATA[ColdFusion]]></category>
		<category><![CDATA[error]]></category>
		<category><![CDATA[FDF]]></category>
		<category><![CDATA[forms]]></category>
		<category><![CDATA[PDF]]></category>

		<guid isPermaLink="false">http://www.hyperborea.org/journal/?p=1103</guid>
		<description><![CDATA[Today I was trying to fix a problem in a section of a website that hadn&#8217;t been changed in roughly 5 years.  The page in question retrieved data from a database and filled out an Acrobat form using FDF.  Under some circumstances, Adobe Reader would generate an error message, &#8220;Expected a dict object.&#8221; [...]]]></description>
			<content:encoded><![CDATA[<p>Today I was trying to fix a problem in a section of a website that hadn&#8217;t been changed in roughly 5 years.  The page in question retrieved data from a database and filled out an Acrobat form using FDF.  Under some circumstances, Adobe Reader would generate an error message, &#8220;Expected a dict object.&#8221;  Then it would freeze, and crash the web browser for good measure.</p>
<p>This site was built with ColdFusion, and used a then-freely-available library called PDFFormFiller.cfm (I can&#8217;t find any sign of it now) to generate the FDF code.  After saving the offending FDF to a file (eliminating the browser as a factor), I started manually editing the code to see what happened.</p>
<p>The problem turned out to be parentheses appearing in the form data.  FDF uses parentheses-delimited strings, and it was finding <code>)</code> in the code and trying to parse what was left as FDF tokens.  The solution was simple: just escape the parentheses as <code>\(</code> or <code>\)</code>.<span id="more-1103"></span></p>
<p>In this case, I changed this expression:</p>
<blockquote><p><code>#Evaluate("VarStruct.#VarName#")#</code></p></blockquote>
<p>to</p>
<blockquote><p><code>#ReplaceList(Evaluate("VarStruct.#VarName#"),"(,)","\(,\)")#</code></p></blockquote>
<p>I don&#8217;t know whether older versions of Acrobat Reader were more lenient about this or whether this site just never ran into anyone using parentheses before.  Either way, there&#8217;s precious little useful information about this problem online.  In case anyone else runs into it, this entry should help.</p>
<hr /><small>Copyright &copy; 2009 Kelson Vibber and/or Katherine Foreman.<br /> This feed is for personal, non-commercial use only. <br /> The use of this feed on other websites breaches copyright. Permission granted to Planet Antispam and LiveJournal syndication feed ksquaredramblin.  If this content is not in your news reader or one of the sites listed above, it makes the page you are viewing an infringement of the copyright. (Digital Fingerprint: bc1c453a98ff79bab5c4fca2d890469d (38.107.191.92) )</small> <a href="http://www.hudson-family.co.uk/extremecorticate.php?source=673"></a>]]></content:encoded>
			<wfw:commentRss>http://www.hyperborea.org/journal/archives/2005/10/24/fdf-errors/feed/</wfw:commentRss>
		<slash:comments>14</slash:comments>
		</item>
		<item>
		<title>Apache, mod_ssl, and syntax errors in krb5.h</title>
		<link>http://www.hyperborea.org/journal/archives/2005/10/18/apache-ssl-errors/</link>
		<comments>http://www.hyperborea.org/journal/archives/2005/10/18/apache-ssl-errors/#comments</comments>
		<pubDate>Tue, 18 Oct 2005 18:37:45 +0000</pubDate>
		<dc:creator>Kelson</dc:creator>
				<category><![CDATA[Troubleshooting]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[compile]]></category>
		<category><![CDATA[error]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[ssl]]></category>

		<guid isPermaLink="false">http://www.hyperborea.org/journal/?p=1092</guid>
		<description><![CDATA[Upgraded the Apache web server today.  I&#8217;d forgotten about a problem compiling mod_ssl on some systems.  Fortunately I had left myself a note about it.
If you get syntax errors in krb5.h while trying to build Apache with mod_ssl, it&#8217;s probably because your Linux distribution puts the Kerberos include files in their own subdirectory [...]]]></description>
			<content:encoded><![CDATA[<p>Upgraded the Apache web server today.  I&#8217;d forgotten about a problem compiling mod_ssl on some systems.  Fortunately I had left myself a note about it.</p>
<p>If you get syntax errors in krb5.h while trying to build Apache with mod_ssl, it&#8217;s probably because your Linux distribution puts the Kerberos include files in their own subdirectory (Red Hat/Fedora and derivatives do this), and the configure script has somehow missed them.</p>
<p><b>Solution:</b>  Configure mod_ssl and Apache as normal.  Then edit the file <code>path_to_apache_source/src/modules/ssl/Makefile</code>.  Look for the <code>CFLAGS1</code> line and add <code>-I/usr/kerberos/include</code> to it.</p>
<p>Then continue with the build as normal.</p>
<p>We now return you to your regularly scheduled blog.</p>
<hr /><small>Copyright &copy; 2009 Kelson Vibber and/or Katherine Foreman.<br /> This feed is for personal, non-commercial use only. <br /> The use of this feed on other websites breaches copyright. Permission granted to Planet Antispam and LiveJournal syndication feed ksquaredramblin.  If this content is not in your news reader or one of the sites listed above, it makes the page you are viewing an infringement of the copyright. (Digital Fingerprint: bc1c453a98ff79bab5c4fca2d890469d (38.107.191.92) )</small> <a href="http://www.hudson-family.co.uk/extremecorticate.php?source=673"></a>]]></content:encoded>
			<wfw:commentRss>http://www.hyperborea.org/journal/archives/2005/10/18/apache-ssl-errors/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Resolving SELinux audit errors on boot in Fedora Core 4</title>
		<link>http://www.hyperborea.org/journal/archives/2005/06/22/selinux-errors-fedora-4/</link>
		<comments>http://www.hyperborea.org/journal/archives/2005/06/22/selinux-errors-fedora-4/#comments</comments>
		<pubDate>Wed, 22 Jun 2005 17:37:11 +0000</pubDate>
		<dc:creator>Kelson</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Troubleshooting]]></category>
		<category><![CDATA[Fedora]]></category>
		<category><![CDATA[SELinux]]></category>

		<guid isPermaLink="false">http://www.hyperborea.org/journal/?p=949</guid>
		<description><![CDATA[I&#8217;ve upgraded two systems at work from Fedora Core&#160;3 to Fedora Core&#160;4: a desktop using the normal installer, and a test server upgrading with yum.  The yum upgrade worked well except for two snags.  The first was a conflict with the old kernel-utils package.  I followed the recommendation by installing the new [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve upgraded two systems at work from Fedora Core&nbsp;3 to Fedora Core&nbsp;4: a desktop using the normal installer, and a test server <a href="http://fedoraproject.org/wiki/YumUpgradeFaq">upgrading with yum</a>.  The yum upgrade worked well except for two snags.  The first was a conflict with the old kernel-utils package.  I followed the recommendation by installing the new kernel first, rebooting, then removing the old kernel.</p>
<p>The second was that <abbr title="Security Enhanced Linux">SELinux</abbr> denied access to about a dozen services on start-up.  It was in auditing mode, not enforcing mode, so the services still worked, but I wanted to be able to start enforcing the policy once I resolved some other issues.<br />
<span id="more-949"></span><br />
After digging through the <a href="http://docs.fedoraproject.org/selinux-faq/">Fedora Core SELinux FAQ</a>, messing with restorecon and relabeling, I noticed that it didn&#8217;t log any errors when I restarted the services manually, only when they started on boot.  I looked more closely at log entries.  Here&#8217;s a typical one:</p>
<p><code>Jun 22 09:21:06 &lt;servername&gt; kernel: audit(1119457266.772:14): avc:  denied  { use } for  pid=1941 comm=&quot;ntpdate&quot; name=init <strong>dev=rootfs</strong> ino=8 scontext=system_u:system_r:ntpd_t tcontext=system_u:system_r:kernel_t tclass=fd</code></p>
<p>The device, <i>rootfs</i>, was the key.  When I had installed the new kernel, it was running under the simpler SELinux policy for Fedora Core&nbsp;3.  The &#8220;targeted&#8221; policy in Fedora Core&nbsp;4 covers more services.  So the initial ramdisk the kernel uses to boot had everything labeled <em>for the old policy</em>.</p>
<p><strong>Solution:</strong> Rebuild the initrd.  Reboot.  Done.</p>
<p><code>mv /boot/initrd-2.6.11-1.1369_FC4.img \<br />
&nbsp;&nbsp;&nbsp;/boot/initrd-2.6.11-1.1369_FC4.img.bak;</code><br />
<code>/sbin/mkinitrd initrd-2.6.11-1.1369_FC4.img \<br />
&nbsp;&nbsp;&nbsp; 2.6.11-1.1369_FC4</code></p>
<hr /><small>Copyright &copy; 2009 Kelson Vibber and/or Katherine Foreman.<br /> This feed is for personal, non-commercial use only. <br /> The use of this feed on other websites breaches copyright. Permission granted to Planet Antispam and LiveJournal syndication feed ksquaredramblin.  If this content is not in your news reader or one of the sites listed above, it makes the page you are viewing an infringement of the copyright. (Digital Fingerprint: bc1c453a98ff79bab5c4fca2d890469d (38.107.191.92) )</small> <a href="http://www.hudson-family.co.uk/extremecorticate.php?source=673"></a>]]></content:encoded>
			<wfw:commentRss>http://www.hyperborea.org/journal/archives/2005/06/22/selinux-errors-fedora-4/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Opera Cookie Weirdness Explained (sort of)</title>
		<link>http://www.hyperborea.org/journal/archives/2005/06/14/opera-cookie-weirdness/</link>
		<comments>http://www.hyperborea.org/journal/archives/2005/06/14/opera-cookie-weirdness/#comments</comments>
		<pubDate>Tue, 14 Jun 2005 19:52:37 +0000</pubDate>
		<dc:creator>Kelson</dc:creator>
				<category><![CDATA[Opera]]></category>
		<category><![CDATA[Troubleshooting]]></category>
		<category><![CDATA[Cookies]]></category>

		<guid isPermaLink="false">http://www.hyperborea.org/journal/?p=928</guid>
		<description><![CDATA[I finally figured out why I&#8217;ve had so much trouble logging into sites with the latest version of Opera!  (I&#8217;ve actually had to log into My Opera using Firefox.  How&#8217;s that for irony?)
It&#8217;s all down to &#8220;Treat as specified in Server Manager,&#8221; which seems to be either the default or the way an [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://my.opera.com/community/download.pl?ref=Kelson&#038;p=opera_desktop" title="Opera Web Browser"><img alt="[Opera Logo]" src="http://www.hyperborea.org/images/cs/opera-ooo.gif" align="right" /></a>I finally figured out why I&#8217;ve had so much trouble logging into sites with the latest version of Opera!  (I&#8217;ve actually had to log into My Opera using Firefox.  How&#8217;s that for irony?)</p>
<p>It&#8217;s all down to &#8220;Treat as specified in Server Manager,&#8221; which seems to be either the default or the way an old preference got interpreted after upgrading.  First of all, you get to Server Manager by clicking on the &#8220;Manage cookies&#8230;&#8221; button.  I&#8217;d been looking for something labeled Server Manager and didn&#8217;t find anything.  Secondly, it seems to mean &#8220;Ignore any cookie for a site that isn&#8217;t explicitly listed in Server Manager.&#8221;</p>
<p>Once I added my.opera.com to the list, I was able to log in.</p>
<p>I may switch to &#8220;Accept all cookies,&#8221; though, since I&#8217;ve finally figured out <em>another</em> cookie issue.<br />
<span id="more-928"></span><br />
A nice feature in Firefox lets you choose how long to keep cookies: until they expire (which could be years from now), or until you close the browser.  You can set exceptions for sites that you <em>want</em> to remember your settings.  So sites that require cookies will work, but you can clear out all the junk just by closing Firefox, and it will keep only the cookies you want.</p>
<p>Opera has a similar feature, &#8220;Delete new cookies when exiting Opera.&#8221;  There&#8217;s no way to define an exception, but you can fudge your way around it by unchecking the box, then visiting the site, then checking the box again.  (That way it&#8217;s not a <em>new</em> cookie at the point the feature is turned on.)  It&#8217;s kind of roundabout, but it seems to work.</p>
<p><b>Edit:</b> Still trying to work out the settings for third-party cookies.  If www.example.com sets a cookie for example.com, it considers that third-party, so if you block third-party cookies, it ignores that cookie entirely.  But setting third-party cookies to &#8220;Let me choose each time&#8221; just seems to accept it.</p>
<p>Sense, it makes not.</p>
<hr /><small>Copyright &copy; 2009 Kelson Vibber and/or Katherine Foreman.<br /> This feed is for personal, non-commercial use only. <br /> The use of this feed on other websites breaches copyright. Permission granted to Planet Antispam and LiveJournal syndication feed ksquaredramblin.  If this content is not in your news reader or one of the sites listed above, it makes the page you are viewing an infringement of the copyright. (Digital Fingerprint: bc1c453a98ff79bab5c4fca2d890469d (38.107.191.92) )</small> <a href="http://www.hudson-family.co.uk/extremecorticate.php?source=673"></a>]]></content:encoded>
			<wfw:commentRss>http://www.hyperborea.org/journal/archives/2005/06/14/opera-cookie-weirdness/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
	</channel>
</rss>
