<?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>Matt Keally&#039;s Blog &#187; troubleshooting</title>
	<atom:link href="http://www.keally.org/tag/troubleshooting/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.keally.org</link>
	<description>Life of the ABD grad student...</description>
	<lastBuildDate>Tue, 27 Jul 2010 21:32:29 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Windows 7 vs. Ubuntu 10.04</title>
		<link>http://www.keally.org/2010/05/23/windows-7-vs-ubuntu-10-04/</link>
		<comments>http://www.keally.org/2010/05/23/windows-7-vs-ubuntu-10-04/#comments</comments>
		<pubDate>Sun, 23 May 2010 22:57:35 +0000</pubDate>
		<dc:creator>Matt</dc:creator>
				<category><![CDATA[general]]></category>
		<category><![CDATA[computing]]></category>
		<category><![CDATA[development]]></category>
		<category><![CDATA[internet]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[opinions]]></category>
		<category><![CDATA[programming]]></category>
		<category><![CDATA[troubleshooting]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://www.keally.org/?p=1245</guid>
		<description><![CDATA[A few years ago, I was simultaneously running machines with OS X, Windows XP, and Linux.  After giving up PC gaming and my Macbook started aging, I switched to Linux exclusively, since it had nearly everything I needed for school/work.  I did however, keep a Windows XP partition on my laptop for PowerPoint presentations since [...]]]></description>
			<content:encoded><![CDATA[<p>A few years ago, I was simultaneously running machines with OS X, Windows XP, and Linux.  After giving up PC gaming and my Macbook started aging, I switched to Linux exclusively, since it had nearly everything I needed for school/work.  I did however, keep a Windows XP partition on my laptop for PowerPoint presentations since I find Open Office to be seriously lacking.  Using Linux almost exclusively worked pretty well for the last couple years and I managed never to have touched Windows Vista.</p>
<p>Since the release of Windows 7, I&#8217;ve heard plenty of good reviews about this latest Windows version and I decided to give it a try.  A month ago, I installed it on my MSI netbook so I could travel lightweight and give a paper presentation using PowerPoint.  Shortly thereafter, Ubuntu released its latest version into the wild and after using both Windows and Linux for about a month, I&#8217;ve been able to come up with some strong and weak points on both.  Some of my comments apply to Windows and Linux in general and not just to these latest versions or distributions.</p>
<h2>Windows 7</h2>
<h3>Pros</h3>
<ul>
<li>A solid UI.  I&#8217;m a real fan of the Aero theme, system fonts, and improved start menu.  The taskbar really takes the cake by using icons and clustering multiple instances of the same program.  Hovering over the taskbar gives a cool preview of each open window.</li>
<li>Fast.  My netbook with Windows 7 feels just as responsive as it did when it ran Linux.  Boot times are a little slower, however.</li>
<li>Robustness.  I had no difficulty with the Windows 7 install on my netbook and Microsoft even provides a Windows 7 CD to USB image utility for netbooks.  Unlike my Ubuntu experience, there aren&#8217;t any weird hacks to go through in order to get your display or wireless connection working correctly following a fresh install.  Furthermore, I haven&#8217;t encountered any system crashes and Windows seems to keep any malfunctioning program from taking down the whole system.</li>
<li>Good hardware support.  I plug in a camera and it&#8217;s automatically recognized and drivers are installed from the internet.  I plug in an external monitor or projector and the correct model is detected and my desktop is extended on to it with the correct resolution.  It&#8217;s great for presentations since there isn&#8217;t much fiddling with the projector or Control Panel settings to get everything looking good.</li>
<li>Software availability.  Everything has a Windows version, even most open source software.  I find that most developers put more effort into Windows versions since that&#8217;s what most people are running.  For example, I&#8217;ve had fewer crashes and slowdowns with the Windows versions of Firefox and Skype.  The Windows version of Skype is also much more polished than its Linux counterpart.  Furthermore, many software programs are only available on Windows.  MS Office, despite its incredible price tag, is still far superior to Open Office, and of course, only runs on Windows.</li>
<li>Games.  Most of the latest AAA titles are available for Windows, a few might be available for Mac, and I&#8217;ve heard of only one or two released right off the bat for Linux.  If you&#8217;re into PC gaming, Windows is the only way to go.</li>
</ul>
<h3>Cons</h3>
<ul>
<li>Lack of a centralized software repository.  This makes it a real pain to download and  install software since I have to go to a separate website for each program I want to install, find the download page, and click through a bunch of installation dialogs.  Even worse is that nearly every Windows program I install runs a background process on startup that constantly checks for updates and bogs down my system.  Also because of this lack of a centralized repository, programs inconsistently install themselves in many different places.</li>
<li>Difficult to configure system settings.  The Control Panel is a real maze of links, buttons, and dialogs which are dumbed down at the highest level and utterly confusing once I drill down into specific settings.  Some settings can&#8217;t even be accessed with the Control Panel: for example, I still find myself using msconfig.exe to remove unwanted startup items.</li>
<li>Windows Update is still very intrusive.  A large number of updates require me to reboot and will display a nag timer forcing me to do so.  I really don&#8217;t like the OS to get in the way and nag at me.  Some of the system updates take quite awhile to install and can bring my system to a crawl.</li>
<li>Libraries.  This feature, which wasn&#8217;t in XP, is similar to Unix symlinks.  A library clusters together files and folders from several locations in the filesystem, making it unclear where the files are really located.  I would prefer that all my music, movies, or PowerPoint slideshows be stored in a single location in the directory structure such that I can easily back everything up or find something via Windows Explorer.  Windows seems to want you to not have any knowledge about its directory structure and instead rely on searches and libraries.</li>
<li>Developer Tools.  This is the exception to the software availability and quality rule.  I&#8217;ve been using Eclipse for Linux and Windows and it works well enough on both platforms with plugins for Subversion and LaTeX editing.  However, other tools such as a basic text editor, LaTeX compiler, and command line tools such as make are either lacking or nonexistent.  I find it much easier to work with the command line than a GUI when creating plots with Gnuplot and documents with LaTeX.  I can quickly switch from one thing to the next without clicking through a whole pile of menus and dialogs.</li>
</ul>
<h2>Ubuntu 10.04</h2>
<h3>Pros</h3>
<ul>
<li>A centralized software repository.  This is the main reason I like Debian and its variants so much. &#8220;apt-get install&#8221; will give me any program I want and provide automatic updates.  Removal is just as easy.</li>
<li>Fast boot times.  On my 3 year old laptop, Ubuntu is up and running in 30 seconds or less from the moment I hit the power button.</li>
<li>Easy to configure and control.  Adjusting a system setting is easily performed from a GUI tool or from the command line.  Configurations are stored in well documented text files as opposed to the nasty Windows Registry.  It&#8217;s really easy to track down where a program&#8217;s install directory is located and tweak something.</li>
<li>A customizable UI.  The sheer number of themes available is astounding, with Compiz providing some really cool desktop visual effects that rivals anything Windows has to offer.</li>
<li>Enthusiastic user base (support).  I&#8217;ve found that tons other Linux enthusiasts are more than willing to help with problems on message boards and websites.  For things I&#8217;ve had trouble with, a quick google search or message board post will return tons of answers with other people who had the exact same problem and had already solved it.  With Windows issues, answers seem a lot more difficult to come by and the user base isn&#8217;t nearly as friendly.</li>
<li>Developer Tools.  Just about everything under the sun is readily available for developers in Linux, including a plethora of compilers, text editors, and command line tools.  Working from the command line makes things a snap compared to painstakingly navigating through different dialogs and menus.</li>
</ul>
<h3>Cons</h3>
<ul>
<li>New software versions take time to be added to the repository.  For example, Firefox 3.6 has been out for months but was only recently included in the 10.04 Lucid Lynx release.  Prior to that, I had to compile and install Firefox 3.6 from source.</li>
<li>Installation headaches still persist.  With every Ubuntu release, something doesn&#8217;t work post-install.  With 10.04, it was my video drivers.  During the upgrade process from 9.10, the installer whined about my video drivers and supposedly aborted the install.  Upon rebooting my computer, however, it was clear that the install had not aborted and my display was completely messed up.  After rebooting again, Ubuntu downloaded and installed the required video drivers automatically.  Also, Ubuntu now tries on boot to mount a remote drive in my /etc/fstab for which I don&#8217;t have a saved key, halting the boot process until I manually override the mounting process.</li>
<li>Software quality and robustness.  Productivity software, such as Open Office, isn&#8217;t nearly as capable or as featureful as Microsoft Office.  I&#8217;ve had trouble with Flash causing browser crashes and other programs crashing all on their own which run stably in Windows.  I&#8217;ve had a heck of a time figuring out why some fonts are rendered terribly and look blurry in some programs, among other things.  More effort should be placed on creating polished products in order for open source software to really take off.</li>
<li>Lacking hardware support.  This goes with the above bullet: I plug in an external monitor or projector and I still have to fidget with resolutions and positioning to get everything to work.  Suspending to disk often borks the external monitor configuration and then I have to do it all over again.</li>
</ul>
<p>In all, I can&#8217;t say that either the latest Windows or Linux versions are better.  Windows provides a more robust and polished solution, while Linux gives more power and control to its users.  I find Linux to be a better choice for development, but Windows is the clear winner for gaming.  Both Windows 7 and Ubuntu 10.04 run reasonably fast &#8212; Windows 7 does quite well on my netbook, but Ubuntu clearly takes the cake with boot times.  Until open source software takes quality up a notch and Windows provides a better development environment, I&#8217;ll probably be dual booting, running virtual machines, or using multiple computers with both operating systems.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.keally.org/2010/05/23/windows-7-vs-ubuntu-10-04/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Freedom or Stability?</title>
		<link>http://www.keally.org/2010/01/30/freedom-or-stability/</link>
		<comments>http://www.keally.org/2010/01/30/freedom-or-stability/#comments</comments>
		<pubDate>Sat, 30 Jan 2010 22:03:07 +0000</pubDate>
		<dc:creator>Matt</dc:creator>
				<category><![CDATA[general]]></category>
		<category><![CDATA[computers]]></category>
		<category><![CDATA[computing]]></category>
		<category><![CDATA[development]]></category>
		<category><![CDATA[internet]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[opensource]]></category>
		<category><![CDATA[programming]]></category>
		<category><![CDATA[troubleshooting]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://www.keally.org/?p=1093</guid>
		<description><![CDATA[Windows and Mac users can download and install the newest Firefox version with a couple of mouse clicks.  With Ubuntu Linux, however, no Firefox 3.6 is available in the Canonical package repository.  Even worse, none of the developers plan to add any new Firefox versions to the repository until the next Ubuntu release.  So, I [...]]]></description>
			<content:encoded><![CDATA[<p>Windows and Mac users can download and install the newest Firefox version with a couple of mouse clicks.  With Ubuntu Linux, however, no Firefox 3.6 is available in the Canonical package repository.  Even worse, none of the developers plan to add any new Firefox versions to the repository until the next Ubuntu release.  So, I attempted to install precompiled versions from the Mozilla website and the Ubuntu Firefox development build repository, but both installs really messed up the fonts, making them blurry and hard to read.</p>
<p>I tried desperately to fix the fonts, summoning the help of the Ubuntu forums.  I tried <a href="http://ubuntuforums.org/showthread.php?t=1200992">editing font rendering settings</a> in my local .fonts.conf.  I <a href="http://ubuntuforums.org/showthread.php?t=1389077">deleted the font cache</a> and reconfigured fontconfig.  I tried <a href="http://ubuntuforums.org/showpost.php?p=8746650&amp;postcount=381">adjusting a font quality parameter</a> in Firefox&#8217;s about:config. For some forums posters, these solutions worked.  For me, nothing seemed to help.  Finally, I was able to get Firefox 3.6 installed with normal fonts by downloading and compiling the source code and installing the binaries compiled on my own system.</p>
<p><a href="http://blogs.computerworld.com/15443/talling_firefox_3_6_one_more_reason_linux_isnt_ready_for_the_prime_time_mass_market">I&#8217;m not the only one</a> who is frustrated by this.  This was probably the first time I&#8217;ve resorted to compiling a third party application from source since first using Ubuntu and Debian in 2006.  Normally, it&#8217;s just <code>apt-get install</code> whatever program you want.  The package manager automatically updates everything and keeps out of my way, rarely nagging to reboot unless the kernel was updated.  The package repository was one of the main reasons I switched to Linux in the first place: an easy, single step way to install anything and keep it up to date.  No hunting for a download website somewhere on the internet or clicking through a bunch of dialogs in an install wizard.</p>
<p>With such lag before new third party applications get added to the Ubuntu software repository, plenty argue that Linux isn&#8217;t ready for the mainstream.  I agree completely.  Most people will have to go through similar steps as I to get many of the latest third party applications installed, and it can be a real pain.  However, in Linux, I am free (as in speech) to customize or rewrite any part of the operating system and share my changes with others.  It also gives me a free (as in beer), top notch development environment for my work.  The problem is that such freedom comes at a cost: tinkering to get everything to work correctly.  Every time I&#8217;ve upgraded to the latest Ubuntu version, something doesn&#8217;t work and has to be fixed.  In another example, I recently installed the netbook remix version on my netbook and was rewarded by a flickering screen, which was fixed with a BIOS update.</p>
<p>Mainstream users just don&#8217;t want to be faced with flickering screens and BIOS updates, they want something that just works.  Consequently, they are willing to give up some of that freedom (as in speech and beer) to have a device that boots normally and doesn&#8217;t have font rendering issues when they install the latest version of a program.  Such users are better off with an Apple, and indeed Apple charges them a price in terms of money and control.</p>
<p>The iPad has <a href="http://www.fsf.org/news/ibad_launch">launched a storm of controversy</a> over its lack of user control.  Essentially, the device is a large iPhone, except there is no phone.  All applications must be purchased from the Apple-controlled App Store.  The real question is: do  mainstream users really need fine-grained control over their devices?  One comment on a <a href="http://apple.slashdot.org/story/10/01/28/1434222/iPad-Is-a-Huge-Step-Backward?art_pos=3">Slashdot post</a> really makes an interesting argument:</p>
<blockquote><p>What has choice done? It&#8217;s given us the chaos of spam, malware, worms  etc&#8230;  The average consumer should get a locked down device such  as what Apple are proposing, a limited device with a closed market. And  you do realise this is really no different to a games console.  Full  blown computers should be reserved for those of us who know how to  manage them responsibly&#8230;Computers as they are today are simply too complex and difficult to  manage for the average consumer, so you either give them something  simple or you take the management out of their hands.</p></blockquote>
<p>Combined with the &#8220;Linux is not for mainstream&#8221; argument, this really makes the case that perhaps devices that work well but allow little user freedom may be the best for most people.  Most of the time, it&#8217;s the best choice for me.  I&#8217;ve got a phone, media player, GPS device, and others that I want to just work and perform a very specific function.  In these cases, I would rather they perform their jobs reliably than be extensively customizable.  However, I do think that the option to exercise greater control should be there for those who want it, no matter how few.  In the case of PCs, I&#8217;ll take that option, stick to Linux, and keep compiling from source when I have to.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.keally.org/2010/01/30/freedom-or-stability/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Equipment Failure</title>
		<link>http://www.keally.org/2009/07/22/equipment-failure/</link>
		<comments>http://www.keally.org/2009/07/22/equipment-failure/#comments</comments>
		<pubDate>Wed, 22 Jul 2009 19:37:20 +0000</pubDate>
		<dc:creator>Matt</dc:creator>
				<category><![CDATA[general]]></category>
		<category><![CDATA[computing]]></category>
		<category><![CDATA[displays]]></category>
		<category><![CDATA[games]]></category>
		<category><![CDATA[gaming]]></category>
		<category><![CDATA[mess]]></category>
		<category><![CDATA[research]]></category>
		<category><![CDATA[school]]></category>
		<category><![CDATA[troubleshooting]]></category>

		<guid isPermaLink="false">http://www.keally.org/?p=823</guid>
		<description><![CDATA[My aging desktop PC is starting to come apart: today is the first time I have ever heard the click of death.  I had always imagined it would sound like the disengaging of the head whenever I shut down the computer.  In the middle of reading a research paper, I was interrupted by a violent, [...]]]></description>
			<content:encoded><![CDATA[<p>My aging desktop PC is starting to come apart: today is the first time I have ever heard the <a href="http://en.wikipedia.org/wiki/Click_of_death">click of death</a>.  I had always imagined it would sound like the disengaging of the head whenever I shut down the computer.  In the middle of reading a research paper, I was interrupted by a violent, pounding racket that came screaming from the case.  It was so loud that for a few seconds, I was actually afraid my computer would explode or catch fire.</p>
<p>Fortunately, the drive was mostly unused and had nothing really useful in it, while most everything remained safe on the primary WD Raptor.  The really important stuff is already backed up on my network drive or on my department disk space, so if anything else blows up I&#8217;ll still be okay.  When I removed the offending drive and tried to boot, only the power supply and CPU fans started spinning, leaving me with only a blank screen.  Somehow I managed to have unseated the video card from its connection to the motherboard and after I reseated it, everything returned to normal.</p>
<p>Quite a few people try to salvage failing computer components, but I don&#8217;t think it&#8217;s worth it.  The main idea is to patch stuff up just enough to transfer off any important data.  There&#8217;s the legend of  <a href="http://lifehacker.com/software/hard-drives/macgyver-tip--save-your-hard-drive-in-the-freezer-170257.php">sticking the drive in the freezer overnight</a> to get it working again.  Someone even got their video card working by <a href="http://www.hardforum.com/showthread.php?t=1421792">baking it in the oven</a>.  The fear of losing data is so great to some that there even exists a <a href="http://datacent.com/hard_drive_sounds.php">sound library of hard drive failures</a>.</p>
<p>I don&#8217;t think my computer has much life left in it.  I don&#8217;t want to switch to my laptop for everything since it only has a VGA output and no digital connection, rendering my monitor useless.  I suppose I could get a docking station, but I can&#8217;t believe that Lenovo still makes laptops without digital outputs for external monitors.  Despite buying it last year, it even came with a pile of serial ports, a dial-up modem, and a PCMCIA slot that nobody would ever use.  A new desktop would be good for games but that was the purpose of buying an Xbox, and besides, high end desktops are still pretty expensive.  Of course something beefy would also be good for my schoolwork, since the last two projects had implementations that were extremely CPU intensive.</p>
<p>Regardless, I think I&#8217;m running on borrowed time.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.keally.org/2009/07/22/equipment-failure/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Removing Ubuntu annoyances</title>
		<link>http://www.keally.org/2009/06/13/removing-ubuntu-annoyances/</link>
		<comments>http://www.keally.org/2009/06/13/removing-ubuntu-annoyances/#comments</comments>
		<pubDate>Sat, 13 Jun 2009 18:09:51 +0000</pubDate>
		<dc:creator>Matt</dc:creator>
				<category><![CDATA[general]]></category>
		<category><![CDATA[bugs]]></category>
		<category><![CDATA[computing]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[opensource]]></category>
		<category><![CDATA[troubleshooting]]></category>

		<guid isPermaLink="false">http://www.keally.org/?p=734</guid>
		<description><![CDATA[Here are a few Ubuntu 9.04 annoyances that I finally got around to addressing: Constant &#8220;routine&#8221; disk checks on boot Ubuntu 9.04 is lauded by critics for its improved boot times, and in most cases my machines running it boot to the login screen in less than 45 seconds.  This is a solid improvement and [...]]]></description>
			<content:encoded><![CDATA[<p>Here are a few Ubuntu 9.04 annoyances that I finally got around to addressing:</p>
<h3>Constant &#8220;routine&#8221; disk checks on boot</h3>
<p>Ubuntu 9.04 is lauded by critics for its improved boot times, and in most cases my machines running it boot to the login screen in less than 45 seconds.  This is a solid improvement and it&#8217;s supposed to be <a href="http://arstechnica.com/open-source/news/2009/06/ubuntu-aims-for-ten-second-boot-time.ars">under 10 seconds by the release of 10.04</a>.  The improved boot time in 9.04 is great: when I turn my computer on, I want to use it, not wait for an hour while the hard drive clicks and groans and the mouse cursor spins endlessly.  It&#8217;s all well and good except that about every tenth boot takes forever thanks to an annoying disk checking routine.  Are drive failures really that common that my drive has to be picked over by a fine-toothed comb every week?  If so, a new storage technology is desperately needed.  In the past 20 years or so, I&#8217;ve only had one memorable drive failure.</p>
<p>So, to <a href="http://ubuntuforums.org/showthread.php?t=653974">fix the irritating disk checks on boot</a>:<br />
<code><br />
sudo tune2fs -c 0 /dev/s</code>da1</p>
<p>-c specifies the rate at which your disk is checked on boot and /dev/sda1 is your boot partition.</p>
<h3>PC Speaker</h3>
<p>Aside from the Caps Lock key, the PC speaker is an extremely annoying and useless &#8220;feature&#8221; of nearly every PC.  Depending on your configuration, quite a few things can cause the PC speaker to beep, such as hitting backspace in a console when you haven&#8217;t typed anything.  For some reason, when I shut down the computer using the Gnome shut down menu, I get several beeps from the PC speaker.  <a href="https://bugs.launchpad.net/ubuntu/+source/gnome-session/+bug/290204">This appears to be a bug</a>.  The best solution appears to be <a href="http://ubuntuforums.org/showthread.php?t=166624">preventing the PC speaker module from loading at all</a>.   Create a blacklist file in /etc/modprobe.d called blacklist-custom.conf:<br />
<code><br />
sudo gedit /etc/modprobe.d/blacklist-custom.conf<br />
</code><br />
Then, add the following line to blacklist-custom.conf, save the file, and exit:<br />
<code><br />
blacklist pcspkr<br />
</code><br />
This will cause the &#8220;pcspkr&#8221; module not to load on boot.  You can unload the module without rebooting by running the following in a terminal window:<br />
<code><br />
sudo modprobe -r pcspkr</code></p>
<h3>Update Manager Pop-under</h3>
<p>Update nags are one of the worst &#8220;features&#8221; of many current operating systems.  On Windows XP, I am spammed by a torrent of nag balloons forcing me to install updates and restart when the installation is complete.  In OS X, a similar update manager jumps out at me in the dock until I deal with it.  Until 9.04, Ubuntu had it right.  In previous versions of Ubuntu, a small notification balloon would appear once and go away when new updates were available to install.  I could either click on it to install the updates, or ignore it if I was in the middle of something.  Now, what happens is about ten minutes after turning on my computer, which is right about the time I really get to working on something, the whole system grinds to a halt with the hard drive going nuts.  Then, the Update Manager window opens underneath all the windows I have running, blinking and nagging at me to install whatever it found.</p>
<p>To go back to the <a href="http://ubuntuforums.org/showthread.php?t=1130181&amp;page=2">original notification window functionality</a>, run the following in a terminal window:<br />
<code><br />
gconftool -s --type bool /apps/update-notifier/auto_launch false<br />
</code></p>
<h3>Force Shutdown</h3>
<p>When I click the &#8220;Shut Down&#8221; button to turn off my computer, I want it to turn off.  No exceptions.  Instead, if Firefox takes its merry time to save its session or something is running in the background (mounted drive through nfs or samba that won&#8217;t unmount), I get a nice &#8220;<em>x</em> is not responding.  Logout anyway?&#8221; prompt.  I don&#8217;t care if something isn&#8217;t responding: kill everything and shut down.  <a href="https://bugs.launchpad.net/ubuntu/+source/linux/+bug/31993">To force shutdowns, edit your menu.lst</a>:<br />
<code><br />
sudo gedit /boot/grub/menu.lst<br />
</code></p>
<p>Scroll down and add &#8220;acpi=force noapic&#8221; to the kernel line of the default boot option:</p>
<p><code>title  Ubuntu 9.04, kernel 2.6.28-11-generic<br />
uuid  f9d46e73-4aae-4203-ad97-93df87196054<br />
kernel  /boot/vmlinuz-2.6.28-11-generic root=UUID=... ro quiet splash acpi=force noapic<br />
initrd  /boot/initrd.img-2.6.28-11-generic<br />
quiet<br />
</code></p>
]]></content:encoded>
			<wfw:commentRss>http://www.keally.org/2009/06/13/removing-ubuntu-annoyances/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Get Rich Quick: It&#8217;s too good to be true</title>
		<link>http://www.keally.org/2009/06/10/get-rich-quick-its-too-good-to-be-true/</link>
		<comments>http://www.keally.org/2009/06/10/get-rich-quick-its-too-good-to-be-true/#comments</comments>
		<pubDate>Wed, 10 Jun 2009 21:25:02 +0000</pubDate>
		<dc:creator>Matt</dc:creator>
				<category><![CDATA[general]]></category>
		<category><![CDATA[crosscountry]]></category>
		<category><![CDATA[development]]></category>
		<category><![CDATA[internet]]></category>
		<category><![CDATA[knee]]></category>
		<category><![CDATA[life]]></category>
		<category><![CDATA[opinions]]></category>
		<category><![CDATA[politics]]></category>
		<category><![CDATA[practice]]></category>
		<category><![CDATA[research]]></category>
		<category><![CDATA[Running]]></category>
		<category><![CDATA[statistics]]></category>
		<category><![CDATA[surgery]]></category>
		<category><![CDATA[troubleshooting]]></category>
		<category><![CDATA[virginiabeachva]]></category>
		<category><![CDATA[williamandmary]]></category>

		<guid isPermaLink="false">http://www.keally.org/?p=723</guid>
		<description><![CDATA[After nearly ten months of work, I finally submitted a paper for review.  At the end of next week, I go to Rome to give a conference presentation on work I had started over a year and a half ago.  Research, like many things, takes a lot of time and effort to reach a milestone.  [...]]]></description>
			<content:encoded><![CDATA[<p>After nearly ten months of work, I finally submitted a paper for review.  At the end of next week, I go to Rome to give a conference presentation on work I had started over a year and a half ago.  Research, like many things, takes a lot of time and effort to reach a milestone.  There are no shortcuts to accomplishment, no matter what some sleazy TV salesman will tell you.  People set out with dreams of instant gratification only to face the reality that only time and effort will provide them with reward.  Instead of foraging on, they give up.  In some cases, when faced with the prospect of immense effort for a small chance of success, others will just cheat.  Why is this?  What can be changed to provide motivation for long term efforts?</p>
<p>I recall a discussion in the locker room after cross country practice about a teammate I had never met.  I don&#8217;t recall his name, but this guy had graduated before I even got to college.  John, one of the well respected fifth year seniors said this guy wanted to go to NCAAs as part of the seven-man travel squad, but only &#8220;wanted to travel to the course, warm up with the team, and get a t-shirt.&#8221;  He did not want to actually run the race.  This guy never made the travel squad to NCAAs.  To him, and many others, it&#8217;s all about instant gratification without any of the work.  Running competitively isn&#8217;t like a movie where all the hard work is abstracted away and all that&#8217;s shown is the glorious win over the evil opponents.  To date, our team has qualified for every national meet since 1997, one of only five schools.   To do that takes considerable effort and years of training for hours every day.  You can&#8217;t just fast forward to the good parts.</p>
<p>The zeitgeist of today is marked by a lack of intrinsic motivation to undertake any long term efforts.  In <em>Outliers</em>, Malcolm Gladwell cites James Flynn&#8217;s work on how Asian students work harder and longer on problems than their American counterparts.  Given a tough math problem, most American students will work on it for only a short while before giving up.  This ethos carries over into other areas.  An article in the New York Times states that <a href="http://www.nytimes.com/2009/06/07/fashion/07blogs.html">95 percent of blogs are abandoned</a>, many of which only have one post.  The torrents of traffic and commenters envisioned by these blog posters just doesn&#8217;t happen overnight.  They think blogging fame will come immediately, but it doesn&#8217;t.  It takes time to build a reader base.  More to the point, the blog also has to have content that people are willing to read.  I&#8217;ll be surprised if many people read this post or others like it concerning my opinions and everyday life, but most of my traffic comes from my software troubleshooting/debugging and knee microfracture posts.  Even in my little corner of the Internet, I have made gradual traffic gains over the months.  People just don&#8217;t swarm in overnight:</p>
<p><a rel="attachment wp-att-726" href="http://www.keally.org/2009/06/10/get-rich-quick-its-too-good-to-be-true/blogtraffic/"><img class="aligncenter size-full wp-image-726" title="Monthly Blog Traffic" src="http://www.keally.org/wp-content/uploads/2009/06/blogtraffic.png" alt="Monthly Blog Traffic" width="439" height="246" /></a>Apparently, the same is true for Twitter: most users <a href="http://www.slate.com/id/2219995/">either abandon their account after signing up or just make one post</a>.  Again, the problem boils down to effort: few are willing to make the effort and post meaningful content at frequent intervals.  Followers just don&#8217;t appear because you signed up.  Like blogs, it isn&#8217;t just the frequency of posts, but the value of the content: I really don&#8217;t care what you ate for lunch today.  I especially don&#8217;t care that you got a front row seat at the Apple Developer&#8217;s Conference after waiting in line since 4 AM.  Most Twitter posts aren&#8217;t much better than spam.  To attract followers, the posts have to carry some value to those beyond a small circle of friends.</p>
<p>Everyone just wants the massive blog readership or the Twitter following, but couldn&#8217;t care less about the content required to generate such traffic.   Sometimes, when the desired outcome can&#8217;t be achieved with lackluster efforts, many try to lower the bar.  Currently, there&#8217;s an effort in Virginia Beach to <a href="http://hamptonroads.com/2009/06/beach-parents-petition-school-board-adjust-grading-scale">relax the public school grading scale</a> from 7 point to 10 point.  Parents think this will even the playing field with other school systems that have switched to a 10 point scale, but it&#8217;s really just lowering the standards.  Parents want their kid to get in to his or her college of choice and to do it by studying less.  Also along these lines, a state representive recently proposed that <a href="http://flathatnews.com/content/69735/wm-may-be-80-percent-virginians">more in state students should be accepted to Virginia public universities</a> because a constituent complained that the acceptance standards were too tough and he didn&#8217;t get in.  I&#8217;m guessing that this &#8220;constituent&#8221; was probably the representative&#8217;s kid.  What is the real secret to getting in to your college of choice?  It isn&#8217;t done by getting easier As or by pushing out extremely well qualified out of state students.  Work harder, and anything can happen.</p>
<p>It&#8217;s pretty bad that so many people give up when they realize some effort is involved.  It&#8217;s worse when people lower their standards of success when their current efforts are clearly lacking.  Believe it or not, there are even worse characters out there that will do anything to get instant gratification: cheaters.  Instead of working hard for ten months researching state-of-the-art, tweaking out a system design, implementing the design, testing the design against existing works, and finally writing and submitting a research paper, some people are willing to cheat.  A recent study reports that an astounding <a href="http://www.plosone.org/article/info%3Adoi%2F10.1371%2Fjournal.pone.0005738"> 2% of researchers fake their results</a>.  In a similar instance, some <a href="http://thechoice.blogs.nytimes.com/2009/06/03/clemson/?hp">colleges are willing to fudge the statistics to improve their rankings</a>.  They play with class sizes and give peer institutions poor reviews to improve their standing.  Instead of improving the school in an honest way, taking the time to hire more and better qualified faculty, increasing employee pay, and attracting better students, Clemson faked its way up 16 places in U.S. News reviews.</p>
<p>What is the real solution to this lack of motivation?  How can more people motivate themselves to post regularly on their blog?  How can people stick with something and work hard enough to achieve just rewards?  Some slick researchers tried <a href="http://www.nypost.com/seven/06082009/news/regionalnews/learn__earn_plan_pays_off_173099.htm">paying students for earning good grades</a>.  This approach improved state test scores by nearly 40 percentage points.  Did money provide the motivation for these students to work harder and longer on their math problems and not give up?  Apparently.  Proponents of this system argue that the &#8220;real world&#8221; functions much in this way: perform better and get paid more.  But money can&#8217;t be added as an outcome in every scenario.  How many blogs or Twitter accounts are raking in the dough?  Almost zero, I would guess.  Instead, people need intrinsic motivation to produce results over the long term.  I don&#8217;t write this post because I envision piles of Internet surfers reading and commenting on this.  I do it because there&#8217;s satisfaction in organizing my thoughts and ideas and writing them down.  I don&#8217;t care that nobody else will read this, but if someone else finds it interesting, then more power to them.</p>
<p>Aside from writing these inane blog posts, it is intrinsic motivation that keeps me working on long research projects.  It&#8217;s what gets me up in the morning with the hope that I&#8217;ll be able to run normally again after knee surgery.  I run slow, go out every other day,  only go ten minutes, and feel terrible, but I know if I do it enough I&#8217;ll be able to run faster and longer.  By keeping at it and going one step at a time, things will get done.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.keally.org/2009/06/10/get-rich-quick-its-too-good-to-be-true/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Video Playback Flicker in Ubuntu</title>
		<link>http://www.keally.org/2009/05/09/video-playback-flicker-in-ubuntu/</link>
		<comments>http://www.keally.org/2009/05/09/video-playback-flicker-in-ubuntu/#comments</comments>
		<pubDate>Sat, 09 May 2009 13:24:52 +0000</pubDate>
		<dc:creator>Matt</dc:creator>
				<category><![CDATA[general]]></category>
		<category><![CDATA[bugs]]></category>
		<category><![CDATA[internet]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[site]]></category>
		<category><![CDATA[troubleshooting]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://www.keally.org/?p=667</guid>
		<description><![CDATA[I&#8217;ve noticed some people have stumbled here looking for how to solve Ubuntu video flickering issues. While I still haven&#8217;t figured out how to use both outputs of my dualhead ATI card without flicker, I do know how to fix video playback flickering. I use VLC as my default media player. During an Ubuntu upgrade [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve noticed some people have stumbled here looking for how to solve Ubuntu video flickering issues.  While I still haven&#8217;t figured out how to use both outputs of my dualhead ATI card without flicker, I do know how to fix video playback flickering.</p>
<p>I use VLC as my default media player.  During an Ubuntu upgrade (I think it was 8.04 to 8.10), video playback in VLC started flickering.</p>
<p>In VLC, go to Tools->Preferences and click the Video button.  Change output to X11 video output.  This fixed the problem for me.  There may be some way to change the output system-wide if you use other players, but I&#8217;ve had no reason to do this.  Also, I don&#8217;t think I&#8217;ve had any issues with Internet Flash videos.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.keally.org/2009/05/09/video-playback-flicker-in-ubuntu/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Linux and SSH Filesystem permissions</title>
		<link>http://www.keally.org/2009/03/25/linux-and-ssh-filesystem-permissions/</link>
		<comments>http://www.keally.org/2009/03/25/linux-and-ssh-filesystem-permissions/#comments</comments>
		<pubDate>Wed, 25 Mar 2009 17:33:04 +0000</pubDate>
		<dc:creator>Matt</dc:creator>
				<category><![CDATA[info]]></category>
		<category><![CDATA[computers]]></category>
		<category><![CDATA[computing]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[opensource]]></category>
		<category><![CDATA[troubleshooting]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[work]]></category>

		<guid isPermaLink="false">http://www.keally.org/?p=622</guid>
		<description><![CDATA[I find the SSH Filesystem to be a huge help when working with several computers at the same time.  I access my department&#8217;s storage as well as my network hard drive from anywhere.  Until today, sometimes I was unable to overwrite or delete files mounted by sshfs.  I realized that this was because by default, [...]]]></description>
			<content:encoded><![CDATA[<p>I find the <a href="http://fuse.sourceforge.net/sshfs.html">SSH Filesystem</a> to be a huge help when working with several computers at the same time.  I access my department&#8217;s storage as well as my network hard drive from anywhere.  Until today, sometimes I was unable to overwrite or delete files mounted by sshfs.  I realized that this was because by default, an sshfs mounted filesystem retains the userid and groupid of the remote owner.  So, if I have userid and groupid 1000 on my local filesystem but userid 1024 and groupid 2048 on the remote filesystem, I may have trouble writing stuff on the remote filesystem.  Linux sees that the userid and groupid are not my own, so I&#8217;m in trouble if the file I want to write to doesn&#8217;t allow others to write.</p>
<p>Looking <a href="http://myy.helia.fi/~karte/mount_sshfs.html">here</a> and <a href="http://www.debuntu.org/2006/04/27/39-mounting-a-fuse-filesystem-form-etcfstab">here</a> I found that you can mount a remote filesystem as a particular local user and/or group.  I modified my /etc/fstab accordingly so that all users of the &#8220;fuse&#8221; group can correctly mount my remote filesystem:<br />
<code><br />
sshfs#username@remotehost:/remotedir /path/to/mountpoint fuse user,noauto 0 0<br />
</code><br />
You can also specify a user or group id by replacing user with uid=xxxx,gid=xxxx.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.keally.org/2009/03/25/linux-and-ssh-filesystem-permissions/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>When motelist doesn&#8217;t see your motes&#8230;</title>
		<link>http://www.keally.org/2009/02/28/when-motelist-doesnt-see-your-motes/</link>
		<comments>http://www.keally.org/2009/02/28/when-motelist-doesnt-see-your-motes/#comments</comments>
		<pubDate>Sat, 28 Feb 2009 17:26:13 +0000</pubDate>
		<dc:creator>Matt</dc:creator>
				<category><![CDATA[development]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[mail]]></category>
		<category><![CDATA[Running]]></category>
		<category><![CDATA[tinyos]]></category>
		<category><![CDATA[troubleshooting]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[usb]]></category>
		<category><![CDATA[wirelesssensornetworks]]></category>

		<guid isPermaLink="false">http://www.keally.org/?p=613</guid>
		<description><![CDATA[Since I&#8217;ve upgraded to TinyOS 2.1, motelist always reports &#8220;no devices found&#8221; for my Iris motes when they are plugged in to the interface board.  A search of the TinyOS mailing list showed that the motelist script may not be including the correct Product ID when looking for motes.  I was able to get the [...]]]></description>
			<content:encoded><![CDATA[<p>Since I&#8217;ve upgraded to TinyOS 2.1, motelist always reports &#8220;no devices found&#8221; for my Iris motes when they are plugged in to the interface board.  A search of the TinyOS mailing list showed that the motelist script <a href="http://www.mail-archive.com/tinyos-help@millennium.berkeley.edu/msg10359.html">may not be including the correct Product ID</a> when looking for motes.  I was able to get the script to recognize the interface board by altering /usr/bin/motelist to include the product id &#8220;6010&#8243; instead of the default &#8220;6001&#8243;:<br />
<code><br />
grep { ($_->{UsbVendor}||"") eq "0403" &#038;&#038; ($_->{UsbProduct}||"") eq "6010" }<br />
</code><br />
The manufacturer, product ID and other information about USB devices can be found in /sys/bus/usb/devices and running dmesg can tell you the path of the stuff you just plugged in.  For now, the script only prints out the path of the interface board but not the attached Iris mote.  The path of the interface board is needed for installing TinyOS programs, but the path of the mote is needed to listen for data packets from the mote.  So far, I haven&#8217;t found a way to get motelist to recognize the mote, but if I find it, I&#8217;ll post it.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.keally.org/2009/02/28/when-motelist-doesnt-see-your-motes/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Upgrading to TinyOS 2.1</title>
		<link>http://www.keally.org/2009/02/25/upgrading-to-tinyos-21/</link>
		<comments>http://www.keally.org/2009/02/25/upgrading-to-tinyos-21/#comments</comments>
		<pubDate>Wed, 25 Feb 2009 18:00:35 +0000</pubDate>
		<dc:creator>Matt</dc:creator>
				<category><![CDATA[development]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[programming]]></category>
		<category><![CDATA[tests]]></category>
		<category><![CDATA[tinyos]]></category>
		<category><![CDATA[troubleshooting]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[wirelesssensornetworks]]></category>

		<guid isPermaLink="false">http://www.keally.org/?p=606</guid>
		<description><![CDATA[I recently upgraded my TinyOS version from 2.0.2 to 2.1 and discovered that it makes use of Java 6.  I was testing my installation and kept getting the following when compling TestSerial: java.lang.UnsupportedClassVersionError: Bad version number in .class file Changing my java complier and runtime to Java 6 fixed this problem.]]></description>
			<content:encoded><![CDATA[<p>I recently upgraded my TinyOS version from 2.0.2 to 2.1 and discovered that it <a href="http://docs.tinyos.net/index.php/Installing_TinyOS_2.1#Step_1:_Install_Java_1.6_JDK">makes use of Java 6</a>.  I was testing my installation and kept getting the following when compling TestSerial:<br />
<code><br />
java.lang.UnsupportedClassVersionError: Bad version number in .class file<br />
</code><br />
<a href="http://www.keally.org/2009/01/10/more-ubuntu-tinyos-2x-and-java/">Changing my java complier and runtime</a> to Java 6 fixed this problem.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.keally.org/2009/02/25/upgrading-to-tinyos-21/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>I just used a floppy&#8230;</title>
		<link>http://www.keally.org/2009/02/02/i-just-used-a-floppy/</link>
		<comments>http://www.keally.org/2009/02/02/i-just-used-a-floppy/#comments</comments>
		<pubDate>Mon, 02 Feb 2009 18:58:29 +0000</pubDate>
		<dc:creator>Matt</dc:creator>
				<category><![CDATA[general]]></category>
		<category><![CDATA[bugs]]></category>
		<category><![CDATA[computers]]></category>
		<category><![CDATA[computing]]></category>
		<category><![CDATA[life]]></category>
		<category><![CDATA[opensource]]></category>
		<category><![CDATA[troubleshooting]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[usb]]></category>
		<category><![CDATA[work]]></category>

		<guid isPermaLink="false">http://www.keally.org/?p=592</guid>
		<description><![CDATA[I almost forgot these things existed, but I&#8217;ve had a nagging BIOS issue with my old desktop.  When I hit the power button, sometimes the system would power on, then turn off for a few seconds, and then turn on again.  More importantly, sometimes the CPU fan wouldn&#8217;t come on leading to it overheating and [...]]]></description>
			<content:encoded><![CDATA[<p>I almost forgot these things existed, but I&#8217;ve had a nagging BIOS issue with my old desktop.  When I hit the power button, sometimes the system would power on, then turn off for a few seconds, and then turn on again.  More importantly, sometimes the CPU fan wouldn&#8217;t come on leading to it overheating and shutting down.  The BIOS is so old that I had to flash it with a floppy, and I had to go home and do some digging around until I found one.</p>
<p>I even had to screw around in Ubuntu to get the drive mounted.  The floppy has been seriously neglected, but what do you do when you&#8217;ve got an old BIOS that won&#8217;t flash from USB?</p>
<p>Fortunately, the flash worked, but I hope the CPU fan issue is resolved.  I really hate looking down to see if the fan has started up when I turn on the computer.  I used to just leave it on indefinitely so I wouldn&#8217;t have to worry, but it gets too hot in here.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.keally.org/2009/02/02/i-just-used-a-floppy/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
<!-- WP Super Cache is installed but broken. The path to wp-cache-phase1.php in wp-content/advanced-cache.php must be fixed! -->