<?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>Geek Drivel &#187; The Great OS Wars</title>
	<atom:link href="http://geekblog.oakcircle.com/category/interests/technology/the-great-os-wars/feed/" rel="self" type="application/rss+xml" />
	<link>http://geekblog.oakcircle.com</link>
	<description>Miscellaneous ramblings on miscellaneous topics</description>
	<lastBuildDate>Thu, 09 Feb 2012 13:25:18 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>&#8220;US killer spy drone controls switch to Linux&#8221;</title>
		<link>http://geekblog.oakcircle.com/2012/01/15/about-damn-time-sheesh/</link>
		<comments>http://geekblog.oakcircle.com/2012/01/15/about-damn-time-sheesh/#comments</comments>
		<pubDate>Sun, 15 Jan 2012 14:04:03 +0000</pubDate>
		<dc:creator>Head Geek</dc:creator>
				<category><![CDATA[Amusing/Interesting/Appalling]]></category>
		<category><![CDATA[Robotics and/or Computing Hardware]]></category>
		<category><![CDATA[Security (Digital And Otherwise)]]></category>
		<category><![CDATA[Spam and Malware]]></category>
		<category><![CDATA[The Great OS Wars]]></category>

		<guid isPermaLink="false">http://geekblog.oakcircle.com/?p=4429</guid>
		<description><![CDATA[So you&#8217;ve got an unmanned flying drone with deadly weapons, controlled by ground stations that could be hundreds or thousands of miles away. Of course you run it with the most popular and least secure operating system on the planet! I mean, what could possibly go wrong? I&#8217;ve said it before, in all-caps and bold [...]]]></description>
			<content:encoded><![CDATA[<p>So you&#8217;ve got an unmanned flying drone with deadly weapons, controlled by ground stations that could be hundreds or thousands of miles away. <em>Of course</em> you run it with the most popular and least secure operating system on the planet! I mean, what could possibly go wrong?</p>

<p>I&#8217;ve <a href="http://geekblog.oakcircle.com/2010/09/16/hey-mom-im-crashing-a-plane-over-the-internet-thats-nice-dear/">said it before</a>, in all-caps and bold italics: <strong><em>DO NOT USE AN INSECURE FREAKIN’ CONSUMER OS LIKE WINDOWS ON VITAL CONTROL SYSTEMS!</em></strong></p>

<p>At least a few of the higher-ups in the military seem to have learned to listen to what their technical people have likely been saying for years. With any luck it&#8217;ll filter out to the private sector too, and sooner rather than later.</p>

<hr />

<p>EDIT, three hours later: in an ironic twist, it turns out that <a href="http://www.channelregister.co.uk/2012/01/15/trustworthy_computing_memo/">today is the tenth anniversary of the Bill Gates&#8217; &#8220;trustworthy computing&#8221; memo</a>. While the change in focus has been welcome, it hasn&#8217;t really hardened Windows, just elminiated the most blatant insecurities. Windows remains basically a single-user consumer OS, and still tries to be consumer-friendly at the expense of security. So long as Microsoft refuses to require people to learn anything in order to use Windows, it will never be secure.</p>

<p>This may sound strange, but that isn&#8217;t necessarily problem. A consumer OS <em>should</em> be easy to use, and <em>shouldn&#8217;t</em> require the user to learn any more than he could pick up by sitting at the keyboard and playing with it. At the same time, such an OS should <strong><em>never</em></strong> be used for anything vital &#8212; leave it to what it&#8217;s good for, which doesn&#8217;t include anything that requires security.</p>
]]></content:encoded>
			<wfw:commentRss>http://geekblog.oakcircle.com/2012/01/15/about-damn-time-sheesh/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>VMware Fusion vs Parallels</title>
		<link>http://geekblog.oakcircle.com/2011/09/16/vmware-fusion-vs-parallels/</link>
		<comments>http://geekblog.oakcircle.com/2011/09/16/vmware-fusion-vs-parallels/#comments</comments>
		<pubDate>Fri, 16 Sep 2011 11:36:05 +0000</pubDate>
		<dc:creator>Head Geek</dc:creator>
				<category><![CDATA[Robotics and/or Computing Hardware]]></category>
		<category><![CDATA[Software and Software Development]]></category>
		<category><![CDATA[The Great OS Wars]]></category>

		<guid isPermaLink="false">http://geekblog.oakcircle.com/?p=3956</guid>
		<description><![CDATA[I&#8217;ve used VMware products literally for years. Without them, it would have been a lot harder to run my business. So when I ended up buying a MacBook Pro as my main machine, the first program I bought for it was VMware&#8217;s Mac offering, Fusion. It worked, mostly. And over the last couple years, it [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve used VMware products <a href="http://geekblog.oakcircle.com/2007/05/18/despatches-from-the-great-os-wars/">literally for years</a>. Without them, it would have been a lot harder to run my business. So when I ended up buying a MacBook Pro as my main machine, the first program I bought for it was VMware&#8217;s Mac offering, Fusion.</p>

<p>It worked, mostly. And over the last couple years, it has gotten better, but I&#8217;ve always gotten the impression that it was something of a red-headed stepchild for VMware. They&#8217;re very slow to release updates compatible with new versions of operating systems, and with a new version of Ubuntu out every six months now, that&#8217;s kind of important. Worse, they have never supported any Linux compositor, so I can only use more recent versions of Ubuntu in &#8220;classic&#8221; mode&#8230; I&#8217;d never even <em>seen</em> the new Unity interface in action, let alone used it.</p>

<p>VMware Fusion has other failings too, minor but very annoying:</p>

<ul>
<li>Several versions ago, it started telling the VM that the system is almost always plugged in, regardless of whether it is or not.</li>
<li>When I&#8217;m away from my external mouse and have to use the trackpad, trackpad taps have always gotten &#8220;stuck&#8221; in the Linux VM. The system notices that you&#8217;ve tapped only after you move the mouse cursor a bit, which leads to some very annoying problems.</li>
<li>VMware does not support IPv6 on virtual machines. Not <em>too</em> important right now, but <a href="http://geekblog.oakcircle.com/2011/05/18/world-plus-dog-finally-climbing-onto-ipv6-bandwagon-reluctantly/">it will be</a>, and I&#8217;d like to start playing with it as soon as I can.</li>
<li>The big one: hard drive accesses are REALLY slow, and I still get a lot of &#8220;IOwait&#8221; even after making <a href="http://geekblog.oakcircle.com/2011/04/21/exasperating/">this change</a>. This might not be entirely VMware&#8217;s fault, but I have no way of proving or disproving that right now.</li>
</ul>

<p>My current 20GB virtual hard drive is also getting full, and I wanted to rebuild the virtual machine anyway, so it was time to look at alternatives.</p>

<p>The first thing I noticed yesterday, when I started, was that <a href="http://downloads.vmware.com/d/info/desktop_end_user_computing/vmware_fusion/4_0">VMware Fusion v4</a> had just been released the day before. I eagerly perused its features and changes, only to find that it had only two things that I wanted: full OS X &#8220;Lion&#8221; compatibility and &#8220;Time Machine-compatible snapshots.&#8221; Whoopti-do. Sorry, that is <em>not</em> worth upgrading for. Worse, it seemed rushed, because there were lots of reports of problems with it.</p>

<p>Then I checked out <a href="http://www.parallels.com">Parallels</a>. From various forums I&#8217;d already heard that they updated it for new OS versions very quickly, and that it fully supported Ubuntu&#8217;s compositor and newer Unity interface, so it started out with an instant bonus. I discovered that they&#8217;d just recently released a new version too, v7 (likely why VMware Fusion v4 was rushed into release too early), and there&#8217;s a special offer for &#8220;cross-grading&#8221; from VMware Fusion for only $30 right now. I also discovered that their virtual machines fully support IPv6, and that they provide much better support on their forums than VMware does. Even better, they offer a free two-week trial, which I jumped at.</p>

<p>I haven&#8217;t fully finished setting up my first virtual machine yet, but so far I&#8217;ve proven that it does fully support Ubuntu&#8217;s new Unity interface. (I&#8217;m not sure I like the new interface, but it does apparently eliminate the memory leak problem in XOrg that I&#8217;d been battling for a while now, by eliminating X itself. <img src='http://geekblog.oakcircle.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' />  ) So far it also seems much faster, I&#8217;ve seen very few &#8220;IOwait&#8221; indications in the <a href="http://www.webupd8.org/2011/05/network-memory-and-cpu-usage-indicator.html">System Load Indicator</a> applet.</p>

<p>We&#8217;ll see if it remains that way after I&#8217;ve used it for a couple weeks. If so, I think we&#8217;ve got a winner.</p>
]]></content:encoded>
			<wfw:commentRss>http://geekblog.oakcircle.com/2011/09/16/vmware-fusion-vs-parallels/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Mac OS Upgrade</title>
		<link>http://geekblog.oakcircle.com/2011/08/06/mac-os-upgrade/</link>
		<comments>http://geekblog.oakcircle.com/2011/08/06/mac-os-upgrade/#comments</comments>
		<pubDate>Sat, 06 Aug 2011 22:11:04 +0000</pubDate>
		<dc:creator>Head Geek</dc:creator>
				<category><![CDATA[Productivity]]></category>
		<category><![CDATA[Security (Digital And Otherwise)]]></category>
		<category><![CDATA[Software and Software Development]]></category>
		<category><![CDATA[The Great OS Wars]]></category>

		<guid isPermaLink="false">http://geekblog.oakcircle.com/?p=3800</guid>
		<description><![CDATA[Those of you who care about such things might have heard that Apple recently released a new version of it&#8217;s desktop OS, 10.7, code-named Lion. It was inevitable that I would upgrade my current system (a mid-2009 model MacBook Pro) eventually, but I wanted to put it off for a while. I&#8217;ve talked before about [...]]]></description>
			<content:encoded><![CDATA[<p>Those of you who care about such things might have heard that Apple recently released a new version of it&#8217;s desktop OS, 10.7, code-named Lion.</p>

<p>It was inevitable that I would upgrade my current system (a mid-2009 model MacBook Pro) eventually, but I wanted to put it off for a while. I&#8217;ve talked before about <a href="http://geekblog.oakcircle.com/2010/10/12/hey-buddy-nice-operatin-system-itd-be-a-real-shame-if-anyting-happened-to-it/">my love/hate relationship with upgrades</a>; they&#8217;re often a big improvement, but at the cost of a lot of unnecessary grief, and I have work to do. But Lion included some features that sounded very nice, and one that I found irresistable: new versions of FileVault (the disk-encryption software) and Time Machine (the automatic backup program) that work <em>properly</em> together, rather than the Snow Leopard versions where Time Machine was crippled if you used FileVault as well.</p>

<p>As mentioned before, I do very little on the Mac OS side of things; the only programs I generally run on it are VMware Fusion, Skype (because it doesn&#8217;t work well in virtual machines), and a to-do list program called Things. Most of my work is done in Linux or Windows virtual machines. That turned out to be a major benefit for this upgrade, because there was far less to go wrong; so long as those three programs continued to operate, my work wouldn&#8217;t be disrupted, and <a href="http://roaringapps.com/apps:table">reports</a> indicated that the latest versions shouldn&#8217;t have any problems that would affect me.</p>

<p>Despite that, I waited until Friday (yesterday), so I&#8217;d have three days to recover if anything went seriously wrong, and began.</p>

<p>(Of course, Friday morning a friend of mine &#8212; who I won&#8217;t name, but who comments on this blog regularly &#8212; helpfully sent me a link to a bunch of complaints that Lion caused major instability in many systems. And I&#8217;d recently seen the same complaint on <a href="http://www.reghardware.com/2011/07/22/review_apple_mac_os_x_lion/">The Register&#8217;s review of it</a>, though that one was fixed by a clean reinstall. The clean reinstall route was my plan B if the system couldn&#8217;t manage an upgrade; plan C was to go back to Snow Leopard via my Time Machine backups, but I hoped I wouldn&#8217;t have to use it.)</p>

<p>I&#8217;d read somewhere that in order to get the FileVault benefits of Lion, you had to turn off the old FileVault and then turn on the new one, so I decided to turn off the old one before I upgraded. That required a great deal of free disk space, so I had to move about 150GB worth of virtual machines to my NAS drive (which took several hours), then decrypt it (which took several more, and I couldn&#8217;t use the machine while it worked).</p>

<p>That done, I followed the steps <a href="http://howto.cnet.com/8301-11310_39-20081103-285/five-things-to-do-before-installing-lion/">here</a>, including uninstalling VMware Fusion (because VMware recommended reinstalling it after the upgrade anyway, for stability), fired up the Mac App Store (for the first and possibly only time), bought it, and downloaded it. The download took quite a while; it&#8217;s nearly 4GB of data, which is twice what we normally use in a full month, but we have a fairly fast connection and plenty of bandwidth allowance that we never use, so I wasn&#8217;t worried. I <em>didn&#8217;t</em> install it immediately; instead I made a backup of the installer and created a clean-install boot disk on an SD card, as described <a href="http://reviews.cnet.com/8301-13727_7-20080989-263/how-to-create-an-os-x-lion-installation-disc/">here</a>. Then disconnected my Time Machine drive (just in case) and let the installer rip.</p>

<p>It took about 40 minutes. I sat through the last three minutes of it, then crossed my fingers while it rebooted and I logged in&#8230;</p>

<p>It came up without any problem. <img src='http://geekblog.oakcircle.com/wp-includes/images/smilies/icon_biggrin.gif' alt=':-D' class='wp-smiley' /> </p>

<p>Turning the new FileVault encryption on was a lot easier than turning the old one off &#8212; it worked in the background, and apparently encrypted everything in place, so it didn&#8217;t need all the room that the old one required. I&#8217;ve temporarily lost my third monitor, because the USB video adapter I use for it doesn&#8217;t have a stable Lion driver yet, but I knew about that ahead of time. And every hour now, if I&#8217;m in the office, Time Machine automatically backs up all the changes that I&#8217;ve made since the last backup.</p>

<p>Unless something goes wrong in the next week or so, I&#8217;m calling it a success. <img src='http://geekblog.oakcircle.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://geekblog.oakcircle.com/2011/08/06/mac-os-upgrade/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Ubuntu 11.04, a.k.a. &#8220;Natty Narwhal&#8221;</title>
		<link>http://geekblog.oakcircle.com/2011/05/03/natty-narwhals-not-noxious/</link>
		<comments>http://geekblog.oakcircle.com/2011/05/03/natty-narwhals-not-noxious/#comments</comments>
		<pubDate>Tue, 03 May 2011 17:58:47 +0000</pubDate>
		<dc:creator>Head Geek</dc:creator>
				<category><![CDATA[Software and Software Development]]></category>
		<category><![CDATA[The Great OS Wars]]></category>

		<guid isPermaLink="false">http://geekblog.oakcircle.com/?p=3469</guid>
		<description><![CDATA[After seeing reviews like these for the new version of Ubuntu, I was a bit apprehensive about upgrading. But as usual and despite my attempts to wait, I did so anyway, several days ago. I figured they couldn&#8217;t have screwed up the GNOME interface too much, and no matter how bad the new Unity interface [...]]]></description>
			<content:encoded><![CDATA[<p>After seeing reviews <a href="http://www.theregister.co.uk/2011/04/01/ubuntu1004_beta_review/">like</a> <a href="http://www.theregister.co.uk/2011/04/29/ubuntu_eleven_point_oh_four/">these</a> for the new version of Ubuntu, I was a bit apprehensive about upgrading. But as usual and despite my attempts to wait, I did so anyway, several days ago. I figured they couldn&#8217;t have screwed up the GNOME interface too much, and no matter how bad the new Unity interface was, I could always switch back to that.</p>

<p>Well, I was almost right.</p>

<p>Unity requires 3D graphics support. This MacBook Pro has plenty of that, but VMware Fusion 3 doesn&#8217;t support it for Linux guests. When I tried to log in, I got a polite message saying that it couldn&#8217;t show the Unity interface, and was reverting to GNOME. Oh well. I&#8217;m assuming VMware is working on that problem; until they fix it, I&#8217;m stuck with a more stable GNOME system. It could be worse.</p>

<p>Also as usual, this upgrade broke some things, though not too badly:</p>

<ul>
<li>GnuCash, the money-manager that I use, would only show a blank window for a couple of my accounts unless I told it to open &#8220;New Window with Page&#8221;&#8230; irritating, but not a show-stopper.</li>
<li>CodeLite, the programming IDE I&#8217;m using, had some very weird scrolling behavior related to the new scroll-bars being a lot smaller than it was expecting. A search immediately turned up a bug-report. It apparently happens with all programs written using the wxWidgets library; presumably the wxWidgets people are already working on a fix. In the mean time, there&#8217;s a work-around built into the system to tell it to use the old scroll-bars instead, which works perfectly.</li>
<li>A couple modules in the VMware Tools package wouldn&#8217;t compile, apparently due to API changes. I tried the <code>open-vm-tools</code> package, but it does <strong>not</strong> replace VMware Tools, no matter what it claims &#8212; it doesn&#8217;t seem to provide cross-machine copy/paste support or automatic guest screen resizing when switching the host&#8217;s resolution (as I must when I switch to the internal monitor to go portable). Again, irritating.</li>
</ul>

<p>Even better, when I got up this morning there were updates waiting for me, which automatically corrected the problems with both GnuCash and CodeLite. <img src='http://geekblog.oakcircle.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>

<p>There&#8217;s also a new version of the VMware Tools system that fixes the problems I had, but the only way I found to get it was to <a href="http://www.brandonhutchinson.com/Installing_VMware_Tools_with_VMware_Player.html">extract it manually</a>. <img src='http://geekblog.oakcircle.com/wp-includes/images/smilies/icon_sad.gif' alt=':-(' class='wp-smiley' />  A royal pain in the arse, but I did so. On the plus side, it looks like it works perfectly, so far.</p>

<p>I <em>don&#8217;t</em> recommend this sort of thing for the general user, or even in many cases the power user. I don&#8217;t even recommend it for myself. But if you&#8217;re dying to upgrade to Natty, it shouldn&#8217;t be too rough.</p>
]]></content:encoded>
			<wfw:commentRss>http://geekblog.oakcircle.com/2011/05/03/natty-narwhals-not-noxious/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Exasperating!</title>
		<link>http://geekblog.oakcircle.com/2011/04/21/exasperating/</link>
		<comments>http://geekblog.oakcircle.com/2011/04/21/exasperating/#comments</comments>
		<pubDate>Thu, 21 Apr 2011 13:09:51 +0000</pubDate>
		<dc:creator>Head Geek</dc:creator>
				<category><![CDATA[Robotics and/or Computing Hardware]]></category>
		<category><![CDATA[Software and Software Development]]></category>
		<category><![CDATA[The Great OS Wars]]></category>

		<guid isPermaLink="false">http://geekblog.oakcircle.com/?p=3430</guid>
		<description><![CDATA[VMware Fusion 3 is a great piece of software, but it has some very annoying quirks. My Linux virtual machine was getting some very annoying delays at times that it shouldn&#8217;t have. Compiling a fairly small project resulted in a ridiculous amount of &#8220;iowait&#8221; time. Even switching folders in my current e-mail program could take [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://geekblog.oakcircle.com/2009/10/28/vmware-fusion-3/">VMware Fusion 3</a> is a great piece of software, but it has some very annoying quirks.</p>

<p>My Linux virtual machine was getting some very annoying delays at times that it shouldn&#8217;t have. Compiling a fairly small project resulted in a ridiculous amount of &#8220;iowait&#8221; time. Even switching folders in my current e-mail program could take twenty seconds or more. For months, I&#8217;d thought it was just a slow hard drive on the host machine, but I couldn&#8217;t figure out why &#8212; the data being requested by the programs when the problem happened wasn&#8217;t ridiculously large, and the specs of the drive were reasonably fast. I&#8217;d looked into upgrading to a solid-state drive, but I couldn&#8217;t justify spending the money for the size I needed to replace this one, nearly half the original cost of the definitely-not-cheap machine.</p>

<p>Yesterday morning I&#8217;d finally had enough of it. I had to know why it was happening, even if I couldn&#8217;t do anything about it immediately. What else could be causing it? Perhaps some interaction between the disk format and VMware Fusion, that could be remedied with a different disk format?</p>

<p>A web search didn&#8217;t turn up anything about that, but <em>did</em> produce some interesting information on &#8220;iowait&#8221; problems with VMware Fusion, including a setting in the VMX file to try (&#8220;useNamedFile=false&#8221;, with an intriguing explanation <a href="http://communities.vmware.com/message/482533#482533">here</a>). I tried it, and it worked!</p>

<p>Now comes the exasperating part.</p>

<p>I knew I had made another entry about VMware Fusion settings that helped the speed, so I wanted to add this to it. It didn&#8217;t take me long to find it&#8230; or to find that <a href="http://geekblog.oakcircle.com/2010/02/26/vmware-fusion-and-windows-development/">this setting is already listed there</a>. <img src='http://geekblog.oakcircle.com/wp-includes/images/smilies/icon_sad.gif' alt=':-(' class='wp-smiley' />  I&#8217;d had to rebuild my virtual machine since then (wiping out those changes, which I didn&#8217;t reapply because the original problem didn&#8217;t seem to come up), and I didn&#8217;t think to try the settings there because the problem didn&#8217;t exhibit any of the other symptoms from that entry.</p>

<p>Oh well, live and learn.</p>
]]></content:encoded>
			<wfw:commentRss>http://geekblog.oakcircle.com/2011/04/21/exasperating/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Project M, and Date Handling</title>
		<link>http://geekblog.oakcircle.com/2010/10/29/its-a-date/</link>
		<comments>http://geekblog.oakcircle.com/2010/10/29/its-a-date/#comments</comments>
		<pubDate>Fri, 29 Oct 2010 15:03:09 +0000</pubDate>
		<dc:creator>Head Geek</dc:creator>
				<category><![CDATA[Business]]></category>
		<category><![CDATA[Politics]]></category>
		<category><![CDATA[Science and Technology]]></category>
		<category><![CDATA[Software and Software Development]]></category>
		<category><![CDATA[The Great OS Wars]]></category>

		<guid isPermaLink="false">http://geekblog.oakcircle.com/?p=3167</guid>
		<description><![CDATA[First, for those of you who know and care about it: after seven years of work, the theory for Project X is successfully finished! (Hurray!) However, I haven&#8217;t found a simple &#8212; but not too simple &#8212; use for it so I could prove that it works. I&#8217;m not sure I&#8217;ll be able to commercialize [...]]]></description>
			<content:encoded><![CDATA[<p>First, for those of you who know and care about it: after seven years of work, the theory for Project X is successfully finished! (Hurray!) However, I haven&#8217;t found a simple &#8212; but not <em>too</em> simple &#8212; use for it so I could <em>prove</em> that it works. I&#8217;m not sure I&#8217;ll be able to commercialize it any time soon. On the plus side, I&#8217;ve thought of several small non-desktop-computer applications where it would be critical; on the minus side, the devices that it would go into (especially with the kind of computing power necessary for this) aren&#8217;t yet out of the labs, and likely won&#8217;t be in the next five years.</p>

<p>So I&#8217;ve started development on a new series of programs. The first is a &#8220;better mousetrap&#8221; that not only scratches a couple long-time itches of mine, but should be of interest to a lot of other people as well. I&#8217;ll refer to that as &#8220;Project M&#8221; on this blog from here on, and I won&#8217;t be giving away many details about it until it&#8217;s released.</p>

<p>One of the things that Project M is going to need is good date handling. It&#8217;s going to be used with lots of other programs and in lots of different countries worldwide, and it has to understand the dates and times for each country properly. Much of the heavy lifting for date/time handling is taken care of by <a href="http://www.boost.org/doc/libs/1_44_0/doc/html/date_time.html">the Boost.Date_Time library</a>, but one thing it doesn&#8217;t do is tell you what time zone the current system is set to.</p>

<p>I was flabbergasted by this omission. Knowing the time zone that you&#8217;re in is an absolute requirement for converting times between different zones. But when I dug into it, I saw why: because <a href="http://www.chronos-st.org/Discovering%20the%20Local%20Time%20Zone--Why%20It%27s%20a%20Hard%20Problem.html">it&#8217;s a hard problem</a>. So the library author punts: <em>you,</em> the developer, have to tell the library what time zone it&#8217;s in, and <em>then</em> it will take care of everything else for you. Not necessarily all that difficult, but doing it in a cross-platform way required quite a bit of research, thought, and experimentation (which is why there was no blog entry yesterday, I was too busy working on it).</p>

<p>I can&#8217;t really fathom why Linux developers haven&#8217;t settled on a good standard for this. The OS knows what time zone the system is in, but it&#8217;s all but impossible to get it to divulge that information portably. Different distributions all have different ways of doing it, and most of them are ridiculously indirect.</p>

<p>What I ended up doing was writing code for the system that Ubuntu uses (hopefully shared by other distributions as well), and writing a fall-back method for everything else. The fall-back code uses standard C library calls to fake it. It&#8217;ll work fine for any country that ignores the insanity that is Daylight Savings Time (DST), and in any country that shares the politically motivated and apparently randomly-changing dates that DST begins and ends in the US, but will only somewhat work in other places that use DST. Without knowing the actual location of the system, that&#8217;s the best I can manage.</p>

<p>Hopefully Linux distributions will decide on a standard method of discovering the system time zone. Until then, there&#8217;s inevitably going to be a lot of pain and confusion when it comes to dates and times.</p>
]]></content:encoded>
			<wfw:commentRss>http://geekblog.oakcircle.com/2010/10/29/its-a-date/feed/</wfw:commentRss>
		<slash:comments>10</slash:comments>
		</item>
		<item>
		<title>Upgrades Gone Bad</title>
		<link>http://geekblog.oakcircle.com/2010/10/12/hey-buddy-nice-operatin-system-itd-be-a-real-shame-if-anyting-happened-to-it/</link>
		<comments>http://geekblog.oakcircle.com/2010/10/12/hey-buddy-nice-operatin-system-itd-be-a-real-shame-if-anyting-happened-to-it/#comments</comments>
		<pubDate>Tue, 12 Oct 2010 17:28:28 +0000</pubDate>
		<dc:creator>Head Geek</dc:creator>
				<category><![CDATA[Software and Software Development]]></category>
		<category><![CDATA[The Great OS Wars]]></category>

		<guid isPermaLink="false">http://geekblog.oakcircle.com/?p=3129</guid>
		<description><![CDATA[I&#8217;ve mentioned my love/hate relationship with upgrades before. Yesterday I had another check-mark for the &#8220;hate&#8221; column. I&#8217;d run into a minor compiler bug in my Ubuntu version of GCC. Since a new version of the OS had just been released the day before, promising even faster bootups and other improvements, I thought I&#8217;d upgrade [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve mentioned my love/hate relationship with upgrades before. Yesterday I had another check-mark for the &#8220;hate&#8221; column.</p>

<p>I&#8217;d run into a minor compiler bug in my Ubuntu version of GCC. Since a new version of the OS had just been released the day before, promising even faster bootups and other improvements, I thought I&#8217;d upgrade the entire distribution instead of trying to jury-rig an updated compiler into the existing one. Unfortunately, for the first time in a <em>long</em> time, the upgrade (as our British cousins put it) went all pear-shaped.</p>

<p>The OS itself upgraded with no problems, but since it installed a new kernel, I lost my VMware Fusion shared folders. No problem, that&#8217;s expected, just reinstall VMware Tools to fix it. That&#8217;s where the trouble started.</p>

<p>VMware Tools wouldn&#8217;t reinstall properly. Two of the modules wouldn&#8217;t compile at all (including the one needed for shared folders), and it claimed that there were no drivers for the X-windows subsystem. I tried rebooting it, but that made things a lot worse because the screen came up as a completely unreadable jumble of horizontal lines as soon as I logged in (the log-in screen itself was fine).</p>

<p>I finally found a way around that (by logging into the recovery terminal and playing with vaguely useful-sounding commands that I no longer recall until I&#8217;d set the default log-in resolution to the only one that worked), but it was obvious that something had gone horribly wrong. Several VMware Tools reinstallation attempts gave the same problems, though none of them resulted in the video problems again. The open-vm-tools project (an open-source version of VMware Tools) gave the same results as well.</p>

<p>For a very popular combination like Ubuntu on VMware Fusion, I would expect that such a problem would be widely reported and discussed (as such things always have been in the past), but Google failed to turn up anything remotely similar, no matter how I phrased the search or how far into the results I delved. In fact, I&#8217;d found several places on the &#8216;net that implied that there weren&#8217;t any problems.</p>

<p>I figured I just needed an updated version of VMware Tools, since I&#8217;ve seen things similar to this before. But I couldn&#8217;t find one on the VMware site, or anywhere else trustworthy. One of my searches turned up a page saying explicitly that VMware Player (the free version of the virtualization system) would automatically download an updated version of them when you created a virtual machine with the new Ubuntu, so I spent more than an hour downloading it and the new Ubuntu install disk and installing both onto my wife&#8217;s Windows machine so I could extract them. The installation into the virtual machine crashed for reasons unknown, but I was able to extract the new VMware Tools ISO file anyway, and extract the files I needed. To my dismay, they turned out to have the exact same problems that I was already encountering.</p>

<p>To make a long story a little shorter, I eventually created a new virtual machine and installed the new version of Ubuntu from scratch, which worked with no problem. I encountered what seems to be a new bug in the AutoFS system (which cost me several hours of attempted fixes before I gave up and used a less-convenient work-around), grabbed about four hours of sleep, then copied my data to the new virtual machine. I&#8217;m about 95% up and running now, and should be up to 99% before the end of the day.</p>

<p>It&#8217;s a major consolation that, if I&#8217;d still been running Windows instead, it would have taken twice as long to recover from a major problem like this. I had to do it often enough that I had the timing down to a science.</p>
]]></content:encoded>
			<wfw:commentRss>http://geekblog.oakcircle.com/2010/10/12/hey-buddy-nice-operatin-system-itd-be-a-real-shame-if-anyting-happened-to-it/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>&#8220;Happy 15th Birthday to Windows 95, the Ugly Duckling that Conquered Your Desktop&#8221;</title>
		<link>http://geekblog.oakcircle.com/2010/09/20/gah-windows-95-i-thought-id-managed-to-forget/</link>
		<comments>http://geekblog.oakcircle.com/2010/09/20/gah-windows-95-i-thought-id-managed-to-forget/#comments</comments>
		<pubDate>Mon, 20 Sep 2010 13:52:16 +0000</pubDate>
		<dc:creator>Head Geek</dc:creator>
				<category><![CDATA[Software and Software Development]]></category>
		<category><![CDATA[The Great OS Wars]]></category>

		<guid isPermaLink="false">http://geekblog.oakcircle.com/?p=3063</guid>
		<description><![CDATA[Yeah, happy birthday&#8230; and good riddance.]]></description>
			<content:encoded><![CDATA[<p>Yeah, <a href="http://gizmodo.com/5620520/happy-15th-birthday-to-windows-95-the-ugly-duckling-that-conquered-your-desktop">happy birthday</a>&#8230; and good riddance. <img src='http://geekblog.oakcircle.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://geekblog.oakcircle.com/2010/09/20/gah-windows-95-i-thought-id-managed-to-forget/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>&#8220;Trojan-ridden warning system implicated in Spanair crash&#8221;</title>
		<link>http://geekblog.oakcircle.com/2010/09/16/hey-mom-im-crashing-a-plane-over-the-internet-thats-nice-dear/</link>
		<comments>http://geekblog.oakcircle.com/2010/09/16/hey-mom-im-crashing-a-plane-over-the-internet-thats-nice-dear/#comments</comments>
		<pubDate>Thu, 16 Sep 2010 15:43:35 +0000</pubDate>
		<dc:creator>Head Geek</dc:creator>
				<category><![CDATA[Business]]></category>
		<category><![CDATA[Internet]]></category>
		<category><![CDATA[Robotics and/or Computing Hardware]]></category>
		<category><![CDATA[Security (Digital And Otherwise)]]></category>
		<category><![CDATA[Software and Software Development]]></category>
		<category><![CDATA[Spam and Malware]]></category>
		<category><![CDATA[The Great OS Wars]]></category>

		<guid isPermaLink="false">http://geekblog.oakcircle.com/?p=3028</guid>
		<description><![CDATA[It should have become obvious to people when the north-eastern US power outage happened a few years ago: malware is dangerous. The computer world is riddled with flaws that make it possible for a kid playing around on the computer in his bedroom (or more recently, a programmer writing a Trojan intended to steal money [...]]]></description>
			<content:encoded><![CDATA[<p>It should have become obvious to people when the north-eastern US power outage happened a few years ago: <em>malware is dangerous.</em> The computer world is riddled with flaws that make it possible for a kid playing around on the computer in his bedroom (or more recently, a programmer writing a Trojan intended to steal money from bank accounts) to, all unaware, bring down vital services for a huge area, or as in this case, <a href="http://www.theregister.co.uk/2010/08/20/spanair_malware/">contribute to bringing down a plane</a>.</p>

<p>What to do about it? Well, the first thing would be <strong><em>DO NOT USE AN INSECURE FREAKIN&#8217; CONSUMER OS LIKE WINDOWS ON VITAL CONTROL SYSTEMS!</em></strong></p>

<p>A report released earlier this week says that <a href="http://www.theregister.co.uk/2010/09/13/malware_threat_lanscape/">99.4% of malware is written for Windows</a>. Why? It&#8217;s not just because Windows is the most common OS today, running on an estimated 80% of consumer systems; there are many more Linux servers running on the Internet than Windows ones, yet malware that targets servers (or tries to automatically run on any system) is almost exclusively aimed at <em>Windows</em> systems.</p>

<p>Windows was designed as a single-user system. Security is hard to do and annoys people, so programmers won&#8217;t design it into single-user systems. Such systems, the thought runs, don&#8217;t need to protect themselves from their user, because if the user does something stupid, he&#8217;s the only one that suffers. They don&#8217;t need to protect users from each other either, because there&#8217;s only one user to deal with.</p>

<p>Malware that targets people is also inevitably targeted at Windows, because Windows users can easily be tricked into letting such programs run. <em>They&#8217;re trained to let programs run,</em> not to think about whether they <em>should</em> let them run.</p>

<p>The problem is that when you try to bolt on security as an afterthought, it leaks like a sieve. There&#8217;s no defense-in-depth, all a malicious person has to do is get through a single layer of security and he owns the OS, and the machine it runs.</p>

<p>I doubt much malware will ever be written for Linux, and certainly not successful malware. Linux is based on a multi-user OS that was designed from the ground up to protect the system from its users, and protect the users from each other. On a Linux machine, only a system administrator has the power to open the system to that kind of subversion; even if a user <em>does</em> manage to install malware, he can only damage his own files with it, he can&#8217;t infect the system itself or the files of other users. The model had survived decades of bored college students before Windows was even a glint in Bill Gates&#8217; eye.</p>

<p>The upshot: <strong>there is a secure OS, easily and freely available today, that will prevent disasters if used on industrial control systems. It is called Linux. Windows is <em>not</em> an equally-secure substitute, no matter what Microsoft claims, and it never will be.</strong></p>

<p>Nothing&#8217;s going to change because of this post, except that I feel a little better for saying something. Businesses are still going to choose Windows, because a company like Microsoft, and an OS like Windows, is &#8220;too big to fail&#8221; (sound familiar?). Linux will continue to get the short end of the stick, except in places where technical people are given free rein and an absolute minimum budget (like server rooms). And disasters like Spanair flight 5022 will continue to happen. But some day people will start to put two and two together, and Windows will slowly be banished from control systems everywhere. Let&#8217;s hope it starts happening soon.</p>
]]></content:encoded>
			<wfw:commentRss>http://geekblog.oakcircle.com/2010/09/16/hey-mom-im-crashing-a-plane-over-the-internet-thats-nice-dear/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ubuntu&#8217;s &#8220;Bug #1&#8243;</title>
		<link>http://geekblog.oakcircle.com/2010/07/22/tongue-in-cheek-but-true/</link>
		<comments>http://geekblog.oakcircle.com/2010/07/22/tongue-in-cheek-but-true/#comments</comments>
		<pubDate>Thu, 22 Jul 2010 12:00:47 +0000</pubDate>
		<dc:creator>Head Geek</dc:creator>
				<category><![CDATA[Amusing/Interesting/Appalling]]></category>
		<category><![CDATA[Software and Software Development]]></category>
		<category><![CDATA[The Great OS Wars]]></category>

		<guid isPermaLink="false">http://geekblog.oakcircle.com/?p=2733</guid>
		<description><![CDATA[This bug was filed back in 2005, but I just discovered it. It&#8217;s a nasty one, but between Apple and various Linux distributions, I think they&#8217;re making headway on it. The description starts out: Microsoft has a majority market share in the new desktop PC marketplace. This is a bug, which Ubuntu is designed to [...]]]></description>
			<content:encoded><![CDATA[<p><a href="https://bugs.launchpad.net/ubuntu/+bug/1">This bug</a> was filed back in 2005, but I just discovered it. It&#8217;s a nasty one, but between Apple and various Linux distributions, I think they&#8217;re making headway on it.</p>

<p>The description starts out:</p>

<blockquote>
  <p>Microsoft has a majority market share in the new desktop PC marketplace. This is a bug, which Ubuntu is designed to fix. [...]</p>
</blockquote>

<p> <img src='http://geekblog.oakcircle.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>

<p>I&#8217;ve had reason to look at several Linux-style bug reports over the past few years, and this one is a very well-done parody.</p>
]]></content:encoded>
			<wfw:commentRss>http://geekblog.oakcircle.com/2010/07/22/tongue-in-cheek-but-true/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>

