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

<channel>
	<title>Steven's weblog</title>
	<atom:link href="http://www.ourada.org/blog/feed" rel="self" type="application/rss+xml" />
	<link>http://www.ourada.org/blog</link>
	<description></description>
	<pubDate>Tue, 12 Aug 2008 18:39:11 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6</generator>
	<language>en</language>
			<item>
		<title>Trails</title>
		<link>http://www.ourada.org/blog/archives/243</link>
		<comments>http://www.ourada.org/blog/archives/243#comments</comments>
		<pubDate>Tue, 12 Aug 2008 18:39:11 +0000</pubDate>
		<dc:creator>Steven</dc:creator>
		
		<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://www.ourada.org/blog/?p=243</guid>
		<description><![CDATA[Occasionally you get a PDF of a scan of a printed copy of an automated email, and you say, &#8220;huh, that&#8217;s kinda funny&#8221;.
]]></description>
			<content:encoded><![CDATA[<p>Occasionally you get a PDF of a scan of a printed copy of an automated email, and you say, &#8220;huh, that&#8217;s kinda funny&#8221;.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ourada.org/blog/archives/243/feed</wfw:commentRss>
		</item>
		<item>
		<title>Here&#8217;s a phrase</title>
		<link>http://www.ourada.org/blog/archives/241</link>
		<comments>http://www.ourada.org/blog/archives/241#comments</comments>
		<pubDate>Sun, 03 Aug 2008 16:26:05 +0000</pubDate>
		<dc:creator>Steven</dc:creator>
		
		<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://www.ourada.org/blog/?p=241</guid>
		<description><![CDATA[Here&#8217;s a phrase, of sorts, from my past. I wonder if anyone out there in Internet-land can identify it.
This is from memory (I can&#8217;t find the original source material right now), so hopefully it&#8217;s still right:
&#8220;that&#8217;s a little too much high that&#8217;s that&#8217;s it low&#8221;.
]]></description>
			<content:encoded><![CDATA[<p>Here&#8217;s a phrase, of sorts, from my past. I wonder if anyone out there in Internet-land can identify it.</p>
<p>This is from memory (I can&#8217;t find the original source material right now), so hopefully it&#8217;s still right:<br />
&#8220;that&#8217;s a little too much high that&#8217;s that&#8217;s it low&#8221;.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ourada.org/blog/archives/241/feed</wfw:commentRss>
		</item>
		<item>
		<title>Letters and cases</title>
		<link>http://www.ourada.org/blog/archives/239</link>
		<comments>http://www.ourada.org/blog/archives/239#comments</comments>
		<pubDate>Mon, 28 Jul 2008 03:51:22 +0000</pubDate>
		<dc:creator>Steven</dc:creator>
		
		<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://www.ourada.org/blog/?p=239</guid>
		<description><![CDATA[I was just looking at a travel itinerary sent through email, and it reminded me of something. There has been a great failure in the computing profession.
I&#8217;m a computing professional myself, so I feel some responsibility to repair this failure, and if my blog does nothing else, I&#8217;d love it if I could just get [...]]]></description>
			<content:encoded><![CDATA[<p>I was just looking at a travel itinerary sent through email, and it reminded me of something. There has been a great failure in the computing profession.</p>
<p>I&#8217;m a computing professional myself, so I feel some responsibility to repair this failure, and if my blog does nothing else, I&#8217;d love it if I could just get more awareness of this one particular issue. I feel the need to inform people in all walks of life of this one fact: computers can store and display letters in cases other than &#8216;upper&#8217;. Among the other cases that can be used in computer-mediated communication is the case &#8216;lower&#8217;. Just incorporating that one additional case into your repertoire would take us all a nice little step toward a better world.</p>
<p>Hmmm, maybe I should make a short slogan out of this concept to sort of help the meme spread. Let&#8217;s see&#8230;:</p>
<p>&#8220;Use lower case (in your computer-mediated communications, whether you are a computing professional yourself incorporating human-visible text into your software, displays, software configurations, error messages, etc., or whether you are someone who is directly or indirectly responsible for forming specifications for projects wherein the aforementioned computing professionals are presenting human-visible text on your behalf)!&#8221;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ourada.org/blog/archives/239/feed</wfw:commentRss>
		</item>
		<item>
		<title>Serendipity&#8217;s fun</title>
		<link>http://www.ourada.org/blog/archives/237</link>
		<comments>http://www.ourada.org/blog/archives/237#comments</comments>
		<pubDate>Wed, 23 Jul 2008 07:31:03 +0000</pubDate>
		<dc:creator>Steven</dc:creator>
		
		<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://www.ourada.org/blog/?p=237</guid>
		<description><![CDATA[I like it when random things collide in an engaging way. I stopped &#8220;Blade Runner&#8221; in the middle to browse the web (yeah, I&#8217;m prone to random shuffling of activities), and found an interesting article on vagueness through a link on del.icio.us&#8217;s &#8216;recent&#8217; list (which I&#8217;ve talked about before). The two come together nicely.
I also [...]]]></description>
			<content:encoded><![CDATA[<p>I like it when random things collide in an engaging way. I stopped <a href="http://www.amazon.com/Runner-Five-Disc-Complete-Collectors-Blu-ray/dp/B000UBMWG4/ref=pd_bbs_sr_1?ie=UTF8&#038;s=dvd&#038;qid=1216797962&#038;sr=8-1">&#8220;Blade Runner&#8221;</a> in the middle to browse the web (yeah, I&#8217;m prone to random shuffling of activities), and found an <a href="http://sac.sagepub.com/cgi/content/abstract/9/4/453">interesting article on vagueness</a> through a link on del.icio.us&#8217;s &#8216;recent&#8217; list (which I&#8217;ve <a href="http://www.ourada.org/blog/archives/155">talked about before</a>). The two come together nicely.</p>
<p>I also like the fact that I&#8217;m reading a paper from the world of sociology and it&#8217;s actually making some sense. OK, sorry, it&#8217;s from the world of &#8220;dynamic, critical  interdisciplinary research at the interface of cultural geography, sociology, cultural studies, architectural theory, ethnography, communications, urban studies, environmental studies and discourse analysis&#8221;, as <a href="http://www.sagepub.com/journalsProdDesc.nav?prodId=Journal201511">the journal&#8217;s &#8216;about&#8217; page</a> says.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ourada.org/blog/archives/237/feed</wfw:commentRss>
		</item>
		<item>
		<title>Open source skillset</title>
		<link>http://www.ourada.org/blog/archives/235</link>
		<comments>http://www.ourada.org/blog/archives/235#comments</comments>
		<pubDate>Tue, 01 Jul 2008 06:14:13 +0000</pubDate>
		<dc:creator>Steven</dc:creator>
		
		<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://www.ourada.org/blog/?p=235</guid>
		<description><![CDATA[It&#8217;s interesting how one develops a different group of skills to work with open source elements that with closed source ones. &#8216;course, the skillset change is also related to the availability of the web and search engines, which are resources of inestimable value to software developers whether or not they&#8217;re working with open source elements.
Today [...]]]></description>
			<content:encoded><![CDATA[<p>It&#8217;s interesting how one develops a different group of skills to work with open source elements that with closed source ones. &#8216;course, the skillset change is also related to the availability of the web and search engines, which are resources of inestimable value to software developers whether or not they&#8217;re working with open source elements.</p>
<p>Today I was investigating a problem with <a href="http://pyamf.org/">PyAMF</a>, getting an exception that says &#8220;Unknown command operation 12&#8243;. In the old days, had PyAMF been closed source and the web not been what it is today, I&#8217;d have been forced to do the BBPD (Black Box Probe Dance). I&#8217;d have looked in the official docs, seen nothing of any help, so I&#8217;d spend the day messing with the context of the problem until I got some different results that eventually led me to understand the basic shape of the offending turd somewhere inside there. Then I&#8217;d devise a workaround (because there&#8217;s never time or money or vendor enough to get proper support from the library vendor), which in this case would probably be in the form of some sort of proxy class that would drop the incoming message before it got into the library (i.e. a turd shredder).</p>
<p>In the new days, I did the RFTS loop (Read, Fiddle, Test, Search). I searched for &#8220;Unknown command operation 12&#8243;, found only dead ends, found the line in the PyAMF code where the exception was coming from, read enough of the context to try a hack to basically ignore the operation, saw that that removed the exception, found the list of operations in the code, saw that 12 was not in it, searched for the text name of one that was in the list, found Adobe&#8217;s Flex 2 docs, discovered the list of names/numbers in Adobe&#8217;s docs matched those in PyAMF, hacked the doc URL to get the Flex 3 version, saw that DISCONNECT_OPERATION/12 was added for Flex 3, searched for &#8220;pyamf disconnect_operation&#8221;, saw that there was a patch to PyAMF for this problem and that it was equivalent to my hack, applied the patch so as to match PyAMF&#8217;s official code, and checked in the change to our repo.</p>
<p>It&#8217;s a very different process, very interesting to develop.</p>
<p>FYI, if you came to this page because you got &#8220;Unknown command operation 12&#8243;, try applying <a href="http://pyamf.org/changeset/1376/pyamf">the patch</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ourada.org/blog/archives/235/feed</wfw:commentRss>
		</item>
		<item>
		<title>Toshiba A105 fan control in Linux</title>
		<link>http://www.ourada.org/blog/archives/234</link>
		<comments>http://www.ourada.org/blog/archives/234#comments</comments>
		<pubDate>Mon, 02 Jun 2008 02:09:02 +0000</pubDate>
		<dc:creator>Steven</dc:creator>
		
		<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://www.ourada.org/blog/?p=234</guid>
		<description><![CDATA[Hmmm, one annoying and potentially dangerous thing about Linux on my Toshiba A105-S4134 is that there doesn&#8217;t seem to be a way to get fan control to work. When first booted, the fan goes to low mode and just stays there forever, which means I could end up with an overheated CPU/motherboard. So far it [...]]]></description>
			<content:encoded><![CDATA[<p>Hmmm, one annoying and potentially dangerous thing about Linux on my Toshiba A105-S4134 is that there doesn&#8217;t seem to be a way to get fan control to work. When first booted, the fan goes to low mode and just stays there forever, which means I could end up with an overheated CPU/motherboard. So far it hasn&#8217;t been an actual problem, but that&#8217;s one of those things that could come up when you don&#8217;t expect it, or could cause cumulative damage which eventually disables the whole machine.</p>
<p>After resuming from suspend, the fan usually goes to high mode and stays there forever, which of course is annoying, even if less dangerous. This actually happened in Windows, too, where I used the Toshiba power utility thing to work around the problem. Don&#8217;t have a workaround here.</p>
<p>The fan is advertised via ACPI, but when I try to use /proc/acpi to control it, I get a variety of errors no matter what I try.</p>
<p>There&#8217;s the &#8216;omnibook&#8217; module for the kernel around that has a hint of support for the A105, but it doesn&#8217;t do fan.</p>
<p>Dunno what to do about this one yet&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ourada.org/blog/archives/234/feed</wfw:commentRss>
		</item>
		<item>
		<title>Hang on/off</title>
		<link>http://www.ourada.org/blog/archives/233</link>
		<comments>http://www.ourada.org/blog/archives/233#comments</comments>
		<pubDate>Thu, 29 May 2008 17:26:45 +0000</pubDate>
		<dc:creator>Steven</dc:creator>
		
		<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://www.ourada.org/blog/?p=233</guid>
		<description><![CDATA[I just noticed that in a certain usage, the phrase-forms &#8216;hang &#8230; off &#8230;&#8217; and &#8216;hang &#8230; on &#8230;&#8217; mean the same thing. (Of course, you could find a lot of examples of such phenomena in English, but hey, this is my blog and I reserve the right to post about things that are not [...]]]></description>
			<content:encoded><![CDATA[<p>I just noticed that in a certain usage, the phrase-forms &#8216;hang &#8230; off &#8230;&#8217; and &#8216;hang &#8230; on &#8230;&#8217; mean the same thing. (Of course, you could find a lot of examples of such phenomena in English, but hey, this is my blog and I reserve the right to post about things that are not very new or original.)</p>
<p>&#8216;Course, you wouldn&#8217;t say &#8216;hang the shirt off the hanger&#8217; or &#8216;hang the keys off the hook&#8217;, but you would say &#8216;hang the Payment object off the Speaker object&#8217; or &#8216;hang the new tree off the first leaf&#8217; when talking about data structures in software. Or at least, I and my peer group would say these. But they mean the same as if you replace &#8216;off&#8217; with &#8216;on&#8217;. I guess the preposition there is more for looks than function, since &#8216;hang&#8217; itself is fairly unambiguous.</p>
<p>So I guess the only thing that&#8217;s actually interesting about this is that the phrase was appropriated into programming terminology, then slightly morphed from its origin, and probably for no good reason.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ourada.org/blog/archives/233/feed</wfw:commentRss>
		</item>
		<item>
		<title>Unexpected classloader weirdness</title>
		<link>http://www.ourada.org/blog/archives/232</link>
		<comments>http://www.ourada.org/blog/archives/232#comments</comments>
		<pubDate>Wed, 28 May 2008 07:11:22 +0000</pubDate>
		<dc:creator>Steven</dc:creator>
		
		<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://www.ourada.org/blog/?p=232</guid>
		<description><![CDATA[Did you know that in Tomcat 6, you apparently&#8230; well, I can&#8217;t quite say what the cause is, but here&#8217;s what happened:

I have a webapp that&#8217;s using a library that might be doing some slightly tricky classloader things
If I access that app through the AJP connector, it fails to find a class that&#8217;s definitely there [...]]]></description>
			<content:encoded><![CDATA[<p>Did you know that in Tomcat 6, you apparently&#8230; well, I can&#8217;t quite say what the cause is, but here&#8217;s what happened:</p>
<ul>
<li>I have a webapp that&#8217;s using a library that might be doing some slightly tricky classloader things</li>
<li>If I access that app through the AJP connector, it fails to find a class that&#8217;s definitely there in my WEB-INF/classes and world-readable</li>
<li>If I access that app (from the same URL and in the same state) through the HTTP connector, it finds the class</li>
</ul>
<p>It must be something to do with classloaders, but I can&#8217;t say that I understand any reason why that would happen. Of course, I haven&#8217;t investigated it, either, because I&#8217;m more interested in getting the thing to work right now than in figuring out what this weirdness is about.</p>
<p>Instead of using mod_jk and JkMount, I&#8217;m using mod_proxy_http and ProxyPass. Works well enough for my purposes and avoids whatever this problem is. Maybe sometime I&#8217;ll be inspired to dig deeper, because ya know this would turn out to be one of those &#8220;wow, I can&#8217;t believe these things would all interact in such an unexpected way&#8221; things.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ourada.org/blog/archives/232/feed</wfw:commentRss>
		</item>
		<item>
		<title>nowin</title>
		<link>http://www.ourada.org/blog/archives/231</link>
		<comments>http://www.ourada.org/blog/archives/231#comments</comments>
		<pubDate>Wed, 21 May 2008 02:58:01 +0000</pubDate>
		<dc:creator>Steven</dc:creator>
		
		<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://www.ourada.org/blog/?p=231</guid>
		<description><![CDATA[Oh, forgot to mention in my &#8220;TV all over again&#8221; post that that was the last app I had to run in Windows. So now, in the normal state, there isn&#8217;t a lick of Windows running in my house. I run it in a VM when I need it, and on very rare occasions I [...]]]></description>
			<content:encoded><![CDATA[<p>Oh, forgot to mention in my &#8220;<a href="http://www.ourada.org/blog/archives/230">TV all over again</a>&#8221; post that that was the last app I had to run in Windows. So now, in the normal state, there isn&#8217;t a lick of Windows running in my house. I run it in a VM when I need it, and on very rare occasions I might boot to it, but for the most part, don&#8217;t need it no mo.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ourada.org/blog/archives/231/feed</wfw:commentRss>
		</item>
		<item>
		<title>TV all over again</title>
		<link>http://www.ourada.org/blog/archives/230</link>
		<comments>http://www.ourada.org/blog/archives/230#comments</comments>
		<pubDate>Mon, 19 May 2008 08:37:27 +0000</pubDate>
		<dc:creator>Steven</dc:creator>
		
		<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://www.ourada.org/blog/?p=230</guid>
		<description><![CDATA[So this morning I learned that one of my hard drives had died during the night. Luckily it was just holding backup data that was waiting to be burned to DVD-RW, so it was not a huge loss. But annoying nonetheless.
While I was in there replacing that, I figured I&#8217;d swap my TV card into [...]]]></description>
			<content:encoded><![CDATA[<p>So this morning I learned that <a href="http://www.seagate.com/ww/v/index.jsp?vgnextoid=55c8ec70fce8f010VgnVCM100000dd04090aRCRD&#038;locale=en-US">one of my hard drives</a> had died during the night. Luckily it was just holding backup data that was waiting to be burned to DVD-RW, so it was not a huge loss. But annoying nonetheless.</p>
<p>While I was in there replacing that, I figured I&#8217;d swap my TV card into that machine too, since the one that it was running in is failing to boot for reasons I don&#8217;t quite understand (it&#8217;s a combination of my fault and hardware bugs, I think). That required getting the card running under Linux.</p>
<p>It was only recently that my card (<a href="http://www.hauppauge.com/pages/products/data_hvr1600.html">Hauppauge HVR-1600</a>) got <a href="http://ivtvdriver.org/index.php/Cx18">a Linux driver</a>, so I was waiting for a while before I jumped over. But, given the confluence of annoying computer failures, I took the dive today.</p>
<p>It took several hours to <a href="http://linuxtv.org/hg/v4l-dvb/">hunt up code</a>, compile kernel modules, install TV software, configure stuff, etc. Not really any longer than under Windows, so that&#8217;s good.</p>
<p>But now that I have it running, oh, man, am I glad I made the switch. <a href="http://www.mythtv.org/">MythTV</a> is pretty awesome. The coolest thing for me is <a href="http://www.mythtv.org/wiki/index.php/MythWeb">MythWeb</a>, the web-based management plugin. Since I don&#8217;t do the using-the-remote watching-from-across-the-room thing, I really (really!) don&#8217;t like UIs designed for that mode. MythWeb instead gives a nice, compact, fast, easy to use way to browse listings, set up recordings, and get on with my life. Later I&#8217;ll just play my MPEGs out of a Samba share with VLC, totally avoiding the wacky UI stuff.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ourada.org/blog/archives/230/feed</wfw:commentRss>
		</item>
		<item>
		<title>Mixing metaphors</title>
		<link>http://www.ourada.org/blog/archives/229</link>
		<comments>http://www.ourada.org/blog/archives/229#comments</comments>
		<pubDate>Thu, 15 May 2008 16:13:52 +0000</pubDate>
		<dc:creator>Steven</dc:creator>
		
		<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://www.ourada.org/blog/?p=229</guid>
		<description><![CDATA[Mixing metaphors can be a great source of humor, intentionally or not so. I don&#8217;t know which category this one fits in, but it&#8217;s great. (I haven&#8217;t actually read the article, I just happened to stumble upon this little quote and hadda point out how much I love it.)
There are few bold “aha” ideas, lot’s [...]]]></description>
			<content:encoded><![CDATA[<p>Mixing metaphors can be a great source of humor, intentionally or not so. I don&#8217;t know which category this one fits in, but it&#8217;s great. (I haven&#8217;t actually read the article, I just happened to stumble upon this little quote and hadda point out how much I love it.)</p>
<blockquote><p>There are few bold “aha” ideas, lot’s of social “-this or -that”, and mostly a bunch of companies hoping to draft on the perceived success of a few gorillas.</p></blockquote>
<p>(from <a href="http://www.sandhill.com/opinion/editorial.php?id=185&#038;page=1">Incrementalism and “The New New Thing”</a>)</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ourada.org/blog/archives/229/feed</wfw:commentRss>
		</item>
		<item>
		<title>Suspend, first experiences</title>
		<link>http://www.ourada.org/blog/archives/228</link>
		<comments>http://www.ourada.org/blog/archives/228#comments</comments>
		<pubDate>Wed, 14 May 2008 22:16:09 +0000</pubDate>
		<dc:creator>Steven</dc:creator>
		
		<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://www.ourada.org/blog/?p=228</guid>
		<description><![CDATA[Maybe I&#8217;ll make a thrilling serial out of my suspend experiences. &#8220;S3: Miami: Drivers and BIOS Division: Data Loss Prevention Unit&#8221;, maybe.
The first episode would be where I used suspend and had a mixed bag of results. Things seem to stop and start alright, but I have this fan problem&#8230; In Windows, the fan would [...]]]></description>
			<content:encoded><![CDATA[<p>Maybe I&#8217;ll make a thrilling serial out of my suspend experiences. &#8220;S3: Miami: Drivers and BIOS Division: Data Loss Prevention Unit&#8221;, maybe.</p>
<p>The first episode would be where I used suspend and had a mixed bag of results. Things seem to stop and start alright, but I have this fan problem&#8230; In Windows, the fan would often come on full blast and stay on after resuming, and I had a little workaround ritual where I&#8217;d select a different &#8220;power profile&#8221; from this applet that Toshiba pre-installed, then switch back, and it would go back to normal. I have similar symptoms under Ubuntu, but no workaround ritual developed yet. In the process of looking at that, I see that the fan doesn&#8217;t always kick in when the machine is running hard, which worries me a little that the thermal management is out of whack.</p>
<p>I&#8217;m also getting this notification when I resume that my machine could not suspend. Which is surprising, when coming out of resume, because I was under the impression that &#8216;to resume&#8217; is something an entity can do only when it had, indeed, suspended. Hopefully that&#8217;s just spurious, rather than indicating some hidden problem.</p>
<p>So, yeah, I&#8217;m gonna need a scriptwriter to punch this up a little. Car wrecks, babies giggling, lottery winners who lose their husbands to their step-daughters, that kind of thing.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ourada.org/blog/archives/228/feed</wfw:commentRss>
		</item>
		<item>
		<title>Ubuntu suspend</title>
		<link>http://www.ourada.org/blog/archives/227</link>
		<comments>http://www.ourada.org/blog/archives/227#comments</comments>
		<pubDate>Sun, 11 May 2008 23:10:04 +0000</pubDate>
		<dc:creator>Steven</dc:creator>
		
		<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://www.ourada.org/blog/?p=227</guid>
		<description><![CDATA[Speaking of suspend, it&#8217;s cool that it looks like Ubuntu supports it well in Hardy Heron (8.04). I&#8217;m not giving the credit all to Ubuntu; I&#8217;m sure lots of people contributed to that, since it&#8217;s certainly a huge endeavor to get the whole chain, from the kernel-BIOS interface up through the kernel and drivers up [...]]]></description>
			<content:encoded><![CDATA[<p>Speaking of <a href="http://www.ourada.org/blog/archives/226">suspend</a>, it&#8217;s cool that it looks like Ubuntu supports it well in Hardy Heron (8.04). I&#8217;m not giving the credit all to Ubuntu; I&#8217;m sure lots of people contributed to that, since it&#8217;s certainly a huge endeavor to get the whole chain, from the kernel-BIOS interface up through the kernel and drivers up through the desktop environment up through applications, to live in a suspendable world.</p>
<p>I haven&#8217;t actually used it beyond a couple tests so far, because my lid latch problem happened before my switch away from Windows, but those tests went well. I&#8217;ll report on my further experiences later.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ourada.org/blog/archives/227/feed</wfw:commentRss>
		</item>
		<item>
		<title>My suspend back</title>
		<link>http://www.ourada.org/blog/archives/226</link>
		<comments>http://www.ourada.org/blog/archives/226#comments</comments>
		<pubDate>Sun, 11 May 2008 22:58:16 +0000</pubDate>
		<dc:creator>Steven</dc:creator>
		
		<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://www.ourada.org/blog/?p=226</guid>
		<description><![CDATA[The summary: after breaking a lid latch on my Toshiba Satellite A105-S4134 laptop, I was unable to reliably use the &#8217;suspend&#8217; function. I repaired this with a fairly simple procedure. I took the long way around to get to that procedure; you don&#8217;t have to.
The whole back story: I had a quick and unexpected contact [...]]]></description>
			<content:encoded><![CDATA[<p>The summary: after breaking a lid latch on my Toshiba Satellite A105-S4134 laptop, I was unable to reliably use the &#8217;suspend&#8217; function. I repaired this with a fairly simple procedure. I took the long way around to get to that procedure; you don&#8217;t have to.</p>
<p>The whole back story: I had a quick and unexpected contact with Earth while exiting a car on an icy day, and while carrying my precious baby Toshiba in my backpack. She lost a right lid latch that day&#8230;</p>
<p>I can live with the fact that the lid is not quite as secure as before (there&#8217;s still the left lid latch), but I find it harder to live with the fact that now, when she&#8217;s in my backpack in suspend mode, she&#8217;ll spontaneously power on, in the hot and suffocating confines (when one is powered on) of the backpack laptop pocket. That could lead to at least battery drainage and at most CPU meltdown, neither of which I want.</p>
<p>There&#8217;s no option in the BIOS to turn off the switch action (and OS settings didn&#8217;t help either, which didn&#8217;t surprise me). Toshiba/Intel, please put this option in your BIOS settings in future models.</p>
<p>So, I had to say goodbye to suspend, which is paaainful to me, because I hate waiting for bootups and app startups and all that garbage several times a day. I wanted my suspend back.</p>
<p>The daring resolution: I decided today to go ahead and disassemble the machine and see if I could somehow disable the switch. I used the handy little <a href="http://www.irisvista.com/tech/laptops/Toshiba-Satellite-A105/remove-motherboard-1.htm">Toshiba disassembly guide</a> (and made a donation). Note: DO NOT DISASSEMBLE YOUR MACHINE LIKE THIS. It was somewhat risky and quite unnecessary for me to do this, so I don&#8217;t recommend making that mistake if all you want to do is disable your lid switch.</p>
<p>However, in the process of doing this, I did discover the fix to the problem. I noticed at one point that a couple of screws were sticking to the upper-right corner of the screen bezel. Odd. They were stuck there magnetically. I checked whether they&#8217;d stick to the other side; they wouldn&#8217;t. Hmmm, I thought, this is interesting, because my earlier tests had indicated that the right side of the lid was the important side in triggering the lid switch. Is it magnetic? I put things back together enough to be able to boot and test the theory, and used a magnetic toy to reveal that yes, the lid switch is magnetic.</p>
<p>So that means all I have to do is find and remove the magnet, eh? Wish I hadn&#8217;t disassembled the whole machine&#8230; I reassembled everything and switched to <a href="http://www.irisvista.com/tech/laptops/Toshiba-Satellite-A105/remove-replace-LCD-screen-1.htm">this guide</a>. I went as far as Step 4ish. I opened the screen mask far enough to get to the top-right corner, and found a magnet with some tape over it, which was a good sign. I removed the tape and pried out the magnet (which was also glued from the underside) easily. Put everything back together and tested, and&#8230;</p>
<p>Woohoo, I can suspend my laptop again.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ourada.org/blog/archives/226/feed</wfw:commentRss>
		</item>
		<item>
		<title>Cygwin-Wine</title>
		<link>http://www.ourada.org/blog/archives/225</link>
		<comments>http://www.ourada.org/blog/archives/225#comments</comments>
		<pubDate>Sun, 11 May 2008 04:42:39 +0000</pubDate>
		<dc:creator>Steven</dc:creator>
		
		<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://www.ourada.org/blog/?p=225</guid>
		<description><![CDATA[I bet you could run Cygwin under Wine to get a Linux-like environment in Linux.
]]></description>
			<content:encoded><![CDATA[<p>I bet you could run <a href="http://cygwin.com/">Cygwin</a> under <a href="http://www.winehq.org/">Wine</a> to get a Linux-like environment in Linux.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ourada.org/blog/archives/225/feed</wfw:commentRss>
		</item>
		<item>
		<title>A use for network boot</title>
		<link>http://www.ourada.org/blog/archives/224</link>
		<comments>http://www.ourada.org/blog/archives/224#comments</comments>
		<pubDate>Sun, 11 May 2008 01:36:36 +0000</pubDate>
		<dc:creator>Steven</dc:creator>
		
		<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://www.ourada.org/blog/?p=224</guid>
		<description><![CDATA[Have you ever had to try to replace a hard drive in a machine with a dead built-in DVD drive and an old BIOS (i.e. one that doesn&#8217;t really boot off USB devices)? It can be a frustrating endeavor.
My favored way to replace a hard drive (and yeah, I know there are other ways, but [...]]]></description>
			<content:encoded><![CDATA[<p>Have you ever had to try to replace a hard drive in a machine with a dead built-in DVD drive and an old BIOS (i.e. one that doesn&#8217;t really boot off USB devices)? It can be a frustrating endeavor.</p>
<p>My favored way to replace a hard drive (and yeah, I know there are other ways, but this is really the best one) is to boot the machine off a Linux LiveCD and use some sort of cloning program to clone the drive to the new one in a USB enclosure, then swap &#8216;em. <a href="http://www.clonezilla.org/">Clonezilla</a> served me well when I replaced the hard drive in my laptop recently, so I wanted to do that with my girlfriend&#8217;s, too. But the internal DVD drive is dead, it wouldn&#8217;t boot off the external one, it wouldn&#8217;t boot off a USB Flash drive with the Clonezilla USB option, and any hope that a BIOS upgrade would fix the problem was dashed by the fact that the BIOS update program had to be run off a floppy (which the machine never had) or a CD, which clearly leaves me with the same problem again.</p>
<p>But, the BIOS does have a network boot option, which only became relevant to me when I felt I was running out of options. Setting up a server for network boot from scratch sounded kinda painful, but I remembered that <a href="http://www.knopper.net/knoppix/index-en.html">Knoppix</a> has this fairly cool feature they call &#8216;terminal server&#8217; that might do the trick. Sure enough, I booted Knoppix on my laptop, ran their terminal server, connected it to this laptop with an Ethernet cable (luckily, though the Ethernet port is a little out of wack on this laptop, it&#8217;s still functional), selected network boot, and rather quickly, I was in a full-featured Linux environment without touching the to-be-cloned hard drive.</p>
<p>I used <a href="http://www.linux-ntfs.org/doku.php?id=ntfsclone">ntfsclone</a>, which I knew to be the core of what Clonezilla uses when moving an NTFS partition, to move the single XP partition to the new drive, then <a href="http://www.linux-ntfs.org/doku.php?id=ntfsresize">ntfsresize</a> to fill the drive (the new drive is twice the size of the old). The only snag I ran into with that was that Windows had previously diagnosed the drive to have bad sectors (the primary reason for replacing the drive in the first place), and ntfsclone doesn&#8217;t want to proceed with more than 5 bad sectors. But luckily that&#8217;s just a matter of adding a &#8216;&#8211;rescue&#8217; commandline option. &#8216;course, it clones the bad sector map, which then causes ntfsresize to barf, but it has a &#8216;-b&#8217; option. I see now that there&#8217;s some verbiage on the ntfsclone page that talks about bad sectors&#8230; whatever, it&#8217;s fine now, so I don&#8217;t feel the need to understand now NTFS deals with BS.</p>
<p>It&#8217;s cool that the Linux-NTFS tools have gotten to maturity these days; a few years ago when I was replacing drives, I had to do much more annoying things to clone NTFS. (I&#8217;m not sure if the software I mentioned in a <a href="http://www.ourada.org/blog/archives/118">previous post</a> was based on Linux-NTFS or if they had some proprietary system (Apricorn&#8217;s software _was_ Linux-based, though.)).</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ourada.org/blog/archives/224/feed</wfw:commentRss>
		</item>
		<item>
		<title>Too many cores</title>
		<link>http://www.ourada.org/blog/archives/223</link>
		<comments>http://www.ourada.org/blog/archives/223#comments</comments>
		<pubDate>Thu, 08 May 2008 18:05:34 +0000</pubDate>
		<dc:creator>Steven</dc:creator>
		
		<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://www.ourada.org/blog/?p=223</guid>
		<description><![CDATA[Hmmm&#8230; I think I pretty much have to agree with Donald Knuth on this one: multicore processors are basically not that great of an idea for general-purpose computing.
Problem is, this looks like one of those wrong turns that will lead us quite far afield before we get back to the highway. There&#8217;s a market dynamic [...]]]></description>
			<content:encoded><![CDATA[<p>Hmmm&#8230; I think I pretty much have to agree with <a href="http://www.informit.com/articles/article.aspx?p=1193856">Donald Knuth</a> on this one: multicore processors are basically not that great of an idea for general-purpose computing.</p>
<p>Problem is, this looks like one of those wrong turns that will lead us quite far afield before we get back to the highway. There&#8217;s a market dynamic that causes otherwise intelligent decision makers to choose poorly: &#8220;You have 4 cores (which is a bad idea)? Well, then <a href="http://www.eetimes.com/rss/showArticle.jhtml?articleID=207600531&#038;cid=RSSfeed_eetimes_newsRSS">I&#8217;ll have 12</a> (which is a three-times-bigger idea)!&#8221;. (Yeah, I know that particular chip was mentioned as targeting servers, for which a much better argument can be made for multicore, but they&#8217;ll inevitably drive those into desktops, etc. because people don&#8217;t want to have to use different architectures for different machines).</p>
<p>The one thing that could save us from going too far astray is mobile computing. Multicore has infected that world, too, but it isn&#8217;t as likely to take hold there. The need to keep power consumption under control will probably steer processor architects in more innovative directions.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ourada.org/blog/archives/223/feed</wfw:commentRss>
		</item>
		<item>
		<title>My sound back</title>
		<link>http://www.ourada.org/blog/archives/222</link>
		<comments>http://www.ourada.org/blog/archives/222#comments</comments>
		<pubDate>Thu, 01 May 2008 18:04:48 +0000</pubDate>
		<dc:creator>Steven</dc:creator>
		
		<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://www.ourada.org/blog/?p=222</guid>
		<description><![CDATA[When I made the switch on my main desktop machine from Windows to Linux (I mean, a Linux kernel-based operating environment solution incorporating elements from FSF projects as well as thousands of other contributors, including but not limited to: Apache Software Foundation, Sun Microsystems Incorporated, the GNOME Foundation&#8230; ah, I mean, Linux), I lost my [...]]]></description>
			<content:encoded><![CDATA[<p>When I made the switch on my main desktop machine from Windows to Linux (I mean, a Linux kernel-based operating environment solution incorporating elements from FSF projects as well as thousands of other contributors, including but not limited to: Apache Software Foundation, Sun Microsystems Incorporated, the GNOME Foundation&#8230; ah, I mean, Linux), I lost my sound. I got it back by finding the main &#8216;kernel&#8217; line in my /boot/grub/menu.lst and adding the following kernel parameters to the end of that line:<br />
<code>noisapnp pnpbios=off pnpacpi=off</code><br />
So the whole line now looks like this:<br />
<code>kernel          /boot/vmlinuz-2.6.24-16-generic root=UUID=... ro quiet splash noisapnp pnpbios=off pnpacpi=off<br />
</code></p>
<p>(Don&#8217;t copy that line exactly, though, if you&#8217;re going to try this solution. Just add those extra arguments to the end. I removed my disk UUID from the line because it&#8217;s specific to my computer and wouldn&#8217;t work for anyone else.)</p>
<p>In more detail: I&#8217;m running the newly-published Ubuntu 8.04 &#8216;Hardy Heron&#8217; distribution, which is currently using Linux kernel 2.6.24 as a base. This version of the kernel doesn&#8217;t work well with some BIOSes that report probably-incorrect information about some motherboard resources (some <a href="http://kerneltrap.org/mailarchive/linux-kernel/2008/2/4/714204">kernel-list discussion</a> in which Torvalds&#8217; primary argument is &#8216;x is crap&#8217;, a <a href="http://lkml.org/lkml/2008/3/11/368">PnP-quirks patch</a>, and there are about a million pages about people having this problem if you look hard enough).</p>
<p>The eventual diagnosis centered around this in the kernel output (using the dmesg command to view it):</p>
<p><code>PCI: Unable to reserve mem region #1:4000@febf8000 for device 0000:00:1b.0<br />
ACPI: PCI interrupt for device 0000:00:1b.0 disabled<br />
HDA Intel: probe of 0000:00:1b.0 failed with error -16 </code></p>
<p>This region couldn&#8217;t be reserved because it was already reserved, as a message like this shows (I&#8217;m copying this from someone else&#8217;s description of the problem, but the idea&#8217;s the same):<br />
<code>system 00:08: iomem range 0xfebfa000-0xfebfac00 has been reserved </code></p>
<p>I also used the contents of /proc/iomem to shore up the diagnosis. Here&#8217;s the indicative bits:<br />
<code><br />
febf8000-febfbfff : 0000:00:1b.0<br />
  febfa000-febfac00 : pnp 00:07<br />
febfe000-febfec00 : pnp 00:07<br />
</code></p>
<p>The part that snd_intel_hda wants overlaps with what pnp has already claimed. It ought to look like<br />
<code><br />
febf8000-febfbfff : 0000:00:1b.0<br />
  febf8000-febfbfff : ICH HD audio<br />
</code></p>
<p>This overlap problem was happening on my ASUS P5B-Plus board, with two different BIOS versions (1002 and either 0903 or 1001). This board uses an Intel 82801H (ICH8 Family) HD Audio controller sound solution.</p>
<p>Rather than patching and building the kernel myself or trying to find some .debs out there with a newer version (the patch is included in 2.6.25), either of which is more work than I&#8217;d like to do for this problem, I just turned off all PnP. The last time I cared about PnP (a hacky system devised to make PC configuration easier back in the days of the ISA bus, and if you don&#8217;t know what an ISA bus is, you can probably just nod and forget it) was more than 5 years ago, so this is no loss for me.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ourada.org/blog/archives/222/feed</wfw:commentRss>
		</item>
		<item>
		<title>Little computers everywhere</title>
		<link>http://www.ourada.org/blog/archives/220</link>
		<comments>http://www.ourada.org/blog/archives/220#comments</comments>
		<pubDate>Wed, 23 Apr 2008 19:23:45 +0000</pubDate>
		<dc:creator>Steven</dc:creator>
		
		<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://www.ourada.org/blog/?p=220</guid>
		<description><![CDATA[I&#8217;m pretty interested in watching the proliferation of little computers everywhere. Here&#8217;s the latest example I saw: a Linux firewall machine that fits inside your Windows laptop. I don&#8217;t exactly love the architecture of this particular beast (redirecting network traffic out to the firewall and back in via a hacked-up network driver), though I understand [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m pretty interested in watching the proliferation of little computers everywhere. Here&#8217;s the latest example I saw: a <a href="http://www.linuxdevices.com/news/NS3029401981.html">Linux firewall machine</a> that fits inside your Windows laptop. I don&#8217;t exactly love the architecture of this particular beast (redirecting network traffic out to the firewall and back in via a hacked-up network driver), though I understand why they did it that way. But it is an interesting thing to contemplate how such nested/cohabitating computers can add neat little features to the mobile lifestyle.</p>
<p>With my latest mobile computing acquisitions, I&#8217;m becoming really fond of little semi-specialized general-purpose computers all over. If I want to go light, I can have my phone with me and still have very basic web browsing and email capabilities. If I want a few more features, I can add the internet tablet to the mix. If I have to do real work, I can add the laptop, or sometimes the laptop and the internet tablet. Pretty much mix-n-match, because they&#8217;re all good standalone and they synergize nicely when used together. They also all have some means of accessing the Internet and getting to my servers and a million others, which further extends the synergy.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ourada.org/blog/archives/220/feed</wfw:commentRss>
		</item>
		<item>
		<title>Evolutionary cul de sac</title>
		<link>http://www.ourada.org/blog/archives/218</link>
		<comments>http://www.ourada.org/blog/archives/218#comments</comments>
		<pubDate>Mon, 07 Apr 2008 07:04:25 +0000</pubDate>
		<dc:creator>Steven</dc:creator>
		
		<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://www.ourada.org/blog/?p=218</guid>
		<description><![CDATA[It&#8217;s funny how the evolution of consumer products leads to odd outcomes, sometimes.
For example, my refrigerator has a vestigial ice-maker. I noticed this one night when I heard that clunk-clunk noise you hear from ice-makers. But I don&#8217;t have an ice-maker (or so I thought).
I looked in my freezer and noted that there is a [...]]]></description>
			<content:encoded><![CDATA[<p>It&#8217;s funny how the evolution of consumer products leads to odd outcomes, sometimes.</p>
<p>For example, my refrigerator has a vestigial ice-maker. I noticed this one night when I heard that clunk-clunk noise you hear from ice-makers. But I don&#8217;t have an ice-maker (or so I thought).</p>
<p>I looked in my freezer and noted that there is a sealed-off chunk of space in there that I had never really payed attention to. Likewise, there&#8217;s a sealed space in the refrigerator portion. It was sort of difficult to determine if that was the source of the noises I was hearing, but I was intrigued anyway.</p>
<p>I looked up the manual for the appliance online, but there was no mention of the function of these spaces. Ya know how they have the exploded drawing of the appliance with the little arrows and labels describing the various features; well, these spaces were there, little blank rectangular prisms, but no arrows and no labels.</p>
<p>A night of searching around the web finally uncovered the westinghouse-hackers listserv, where people talk about all their cool mods to their refrigerators and discuss the minutia of the various stock designs. Someone disassembled the mystery box in this model and discovered the weirdest thing. Seems there&#8217;s an entire closed-loop ice-maker system in there. It makes ice in the freezer, which is then dropped to the fridge, where it collects in a little container. It melts, then the water is pumped back up to make more ice.</p>
<p>The aforementioned investigator talked to some of her contacts at the local appliance repair shop. Apparently, this sort of thing is well-known among repair pros, but not outside those circles. If the ice-maker continues to function properly, the average person would never even really notice it was there; it&#8217;s only my sensitivity to those weird nighttime noises that alerted me to its presence.</p>
<p>There&#8217;s some debate among those pros about what the value of such a system might be. When called on to repair problems related to this system, most of them will just remove the entire thing, reasoning that it can&#8217;t possibly be useful to the user. However, a few, mostly among the &#8216;holistic repair&#8217; set, will try to keep it running if at all possible. Some will even recommend replacing the water in the system with a special homeopathic preparation that&#8217;s said to slow down the melt-freeze cycle (&#8217;metabolism&#8217;) slightly in order to increase the refrigerator&#8217;s longevity.</p>
<p>The hackers have found various ways to take advantage of this system; for example, one mod detailed on the listserv replaces the white plastic casing of the system with plexiglass and adds neon illumination. Another clever hacker extended that system with a ruggedized WiFi-enabled webcam so you can watch the ice freeze and melt without holding your refrigerator doors open, yielding a significant energy savings.</p>
<p>For now, I think I&#8217;m just going to stick with stock.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ourada.org/blog/archives/218/feed</wfw:commentRss>
		</item>
	</channel>
</rss>
