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

<channel>
	<title>Neil McAllister &#187; Hacks</title>
	<atom:link href="http://neilmcallister.com/category/hacks/feed/" rel="self" type="application/rss+xml" />
	<link>http://neilmcallister.com</link>
	<description>The homepage of Neil McAllister, San Francisco-based technology writer and illustrator.</description>
	<pubDate>Mon, 12 May 2008 19:12:28 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.5.1</generator>
	<language>en</language>
			<item>
		<title>LibraryLookup for Firefox 3.0</title>
		<link>http://neilmcallister.com/2008/05/01/librarylookup-for-firefox-30/</link>
		<comments>http://neilmcallister.com/2008/05/01/librarylookup-for-firefox-30/#comments</comments>
		<pubDate>Fri, 02 May 2008 00:23:45 +0000</pubDate>
		<dc:creator>Neil McAllister</dc:creator>
		
		<category><![CDATA[Hacks]]></category>

		<guid isPermaLink="false">http://neilmcallister.com/?p=79</guid>
		<description><![CDATA[Another minor upgrade to my LibraryLookup Greasemonkey script; a couple of tweaks seem to be necessary to get the script to work in Firefox 3. This fix should have it working in either version of the browser.
As usual, you can download the script here. You should delete the old version by hand before installing this [...]]]></description>
			<content:encoded><![CDATA[<p>Another minor upgrade to my LibraryLookup Greasemonkey script; a couple of tweaks seem to be necessary to get the script to work in Firefox 3. This fix should have it working in either version of the browser.</p>
<p>As usual, you can <a title="LibraryLookup for San Francisco public libraries" href="http://neilmcallister.com/wp-content/uploads/LibraryLookup-SF.user.js">download the script here.</a> You should delete the old version by hand before installing this one, because I&#8217;ve updated the namespace to reflect my own site instead of <a title="Jon Udell" href="http://blog.jonudell.net/">Jon Udell&#8217;s</a> (finally!).</p>
<p>If you don&#8217;t understand what this is all about, check <a title="LibraryLookup for San Francisco public libraries" href="http://neilmcallister.com/2007/05/11/librarylookup-for-san-francisco-public-libraries/">my earlier post</a> on the subject. (And if you don&#8217;t live in San Francisco it probably won&#8217;t be much use to you anyway. Try a Google search for a similar script that works with libraries in your area.)</p>
]]></content:encoded>
			<wfw:commentRss>http://neilmcallister.com/2008/05/01/librarylookup-for-firefox-30/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Torrents for Ubuntu 8.04 &#8220;Hardy Heron&#8221;</title>
		<link>http://neilmcallister.com/2008/04/24/torrents-for-ubuntu-804-hardy-heron/</link>
		<comments>http://neilmcallister.com/2008/04/24/torrents-for-ubuntu-804-hardy-heron/#comments</comments>
		<pubDate>Thu, 24 Apr 2008 17:24:36 +0000</pubDate>
		<dc:creator>Neil McAllister</dc:creator>
		
		<category><![CDATA[Hacks]]></category>

		<category><![CDATA[linux]]></category>

		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://neilmcallister.com/?p=75</guid>
		<description><![CDATA[Ubuntu 8.04, codenamed &#8220;Hardy Heron,&#8221; was released today. As usual, the download servers are experiencing heavy load due to high anticipation of this release. In the interest of doing my part, here are BitTorrent files for the server and desktop versions of the OS, in both the i386 and amd64 flavors.
Notes: These torrent files do [...]]]></description>
			<content:encoded><![CDATA[<p>Ubuntu 8.04, codenamed &#8220;Hardy Heron,&#8221; was released today. As usual, the download servers are experiencing heavy load due to high anticipation of this release. In the interest of doing my part, here are BitTorrent files for the server and desktop versions of the OS, in both the i386 and amd64 flavors.<span id="more-75"></span><strong></strong></p>
<p><strong>Notes:</strong> These torrent files do not contain the OS itself. You will need a BitTorrent client to download the actual disc images, and you may also need blank CD-R media to burn them.</p>
<p>If you have a regular Pentium-type system, you should probably choose the i386 option. Only choose amd64 if you know you have either an AMD or Intel 64-bit chip (and you&#8217;re sure you want to use the 64-bit version of the OS).</p>
<p>Most people will probably want the desktop version; if you don&#8217;t intend to use Ubuntu <em>primarily </em>to run a Web server or some other &#8220;back office&#8221; purpose, you don&#8217;t need to download the server disc at all. You can still install a personal Web server (or any other software) on the desktop version.</p>
<p><em>(UPDATE 1 May, 2008) - Now that the initial rush has quieted down, I&#8217;ve replaced the links listed here with links back to the torrents on the official Ubuntu site. You can see still further download options on <a title="Ubuntu 8.04 Release Page" href="http://releases.ubuntu.com/8.04/">the Ubuntu 8.04 release page.</a>)</em></p>
<p>Here are the links:</p>
<ul>
<li><a title="Ubuntu 8.04 Desktop/i386" href="http://releases.ubuntu.com/8.04/ubuntu-8.04-desktop-i386.iso.torrent">Ubuntu 8.04 Desktop/i386</a></li>
<li><a title="Ubuntu 8.04 Server/i386" href="http://releases.ubuntu.com/8.04/ubuntu-8.04-server-i386.iso.torrent">Ubuntu 8.04 Server/i386</a></li>
<li><a title="Ubuntu 8.04 Desktop/amd64" href="http://releases.ubuntu.com/8.04/ubuntu-8.04-desktop-amd64.iso.torrent">Ubuntu 8.04 Desktop/amd64</a></li>
<li><a title="Ubuntu 8.04 Server/amd64" href="http://releases.ubuntu.com/8.04/ubuntu-8.04-server-amd64.iso.torrent">Ubuntu 8.04 Server/amd64</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://neilmcallister.com/2008/04/24/torrents-for-ubuntu-804-hardy-heron/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Updated LibraryLookup for the SFPL</title>
		<link>http://neilmcallister.com/2008/04/01/updated-librarylookup-for-the-sfpl/</link>
		<comments>http://neilmcallister.com/2008/04/01/updated-librarylookup-for-the-sfpl/#comments</comments>
		<pubDate>Wed, 02 Apr 2008 04:46:09 +0000</pubDate>
		<dc:creator>Neil McAllister</dc:creator>
		
		<category><![CDATA[Hacks]]></category>

		<category><![CDATA[Books]]></category>

		<category><![CDATA[librarylookup]]></category>

		<guid isPermaLink="false">http://neilmcallister.com/?p=69</guid>
		<description><![CDATA[My GreaseMonkey script that links Amazon.com search results with the San Francisco Public Library catalog seems to have broken recently. I&#8217;ve now published an updated version with a couple of additional improvements. It now returns search results for all of the branches of the library, rather than just the first few; and the output is [...]]]></description>
			<content:encoded><![CDATA[<p>My GreaseMonkey script that links Amazon.com search results with the San Francisco Public Library catalog seems to have broken recently. I&#8217;ve now published an updated version with a couple of additional improvements. It now returns search results for all of the branches of the library, rather than just the first few; and the output is now a little nicer looking.</p>
<p>If you want to know more about this script and its history, you can check <a title="LibraryLookup for San Francisco public libraries" href="http://neilmcallister.com/2007/05/11/librarylookup-for-san-francisco-public-libraries/">my earlier post</a> on the subject.</p>
<p>If you just want to dive in and start searching for library books via Amazon, you can <a title="LibraryLookup for San Francisco public libraries" href="http://neilmcallister.com/wp-content/uploads/LibraryLookup-SF.user.js">download the latest script here.</a> (Note that you must have the GreaseMonkey extension for Firefox installed for this to work.)</p>
]]></content:encoded>
			<wfw:commentRss>http://neilmcallister.com/2008/04/01/updated-librarylookup-for-the-sfpl/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Adding a Linux partition to a Vista install</title>
		<link>http://neilmcallister.com/2007/06/19/adding-a-linux-partition-to-a-vista-install/</link>
		<comments>http://neilmcallister.com/2007/06/19/adding-a-linux-partition-to-a-vista-install/#comments</comments>
		<pubDate>Wed, 20 Jun 2007 00:45:20 +0000</pubDate>
		<dc:creator>Neil McAllister</dc:creator>
		
		<category><![CDATA[Hacks]]></category>

		<guid isPermaLink="false">http://neilmcallister.com/2007/06/19/adding-a-linux-partition-to-a-vista-install/</guid>
		<description><![CDATA[I don&#8217;t know why I do these things.
It occurred to me this afternoon that it might be nice to have a native Ubuntu Linux partition running on my main Windows Vista machine. &#8220;Should be easy,&#8221; I thought. So I whipped out my trusty Feisty Fawn CD, resized my Vista partition with GParted, and proceeded to [...]]]></description>
			<content:encoded><![CDATA[<p>I don&#8217;t know why I do these things.</p>
<p>It occurred to me this afternoon that it might be nice to have a native Ubuntu Linux partition running on my main Windows Vista machine. &#8220;Should be easy,&#8221; I thought. So I whipped out my trusty Feisty Fawn CD, resized my Vista partition with GParted, and proceeded to install Linux.</p>
<p>Big mistake.</p>
<p>The installation itself went fine and Linux started right up. The problem came when I tried to boot back over into Windows Vista. In a nutshell, it wouldn&#8217;t. I&#8217;d get the green &#8220;Knight Rider&#8221; screen, but then the system would switch to a black screen and everything seemed to grind to a halt.<span id="more-34"></span></p>
<p>The problem got worse from there. Supposedly there&#8217;s a Startup Repair feature on the Vista install DVD. Unfortunately, I was never able to look for it. Booting from the DVD only got me as far as the same black screen.</p>
<p>Some Web searches revealed that Vista apparently <em>hates </em>it when you muck with your partition tables using older tools. This goes not just for Linux, but Partition Magic and the like as well. Just about any tampering with the drive after Vista has been installed results in a system that cannot boot Vista.</p>
<p><em>(This is yet one more reason why many of us ask why on Earth we installed the stupid thing in the first place; but I digress.)</em></p>
<p>Luckily I wasn&#8217;t hosed yet. As I said, I had a working Ubuntu partition on my drive now. Fortunately there are tools under Linux that can fix this very problem.</p>
<p>The package you want to look for is called <strong>ntfsprogs. </strong>It&#8217;s not installed by default with Ubuntu, but it&#8217;s available from the official package repositories. You can download it using Synaptic or do a &#8220;sudo apt-get install ntfsprogs&#8221; from the command line. It&#8217;s available for most other distros as well, but I&#8217;ll leave it to you to figure out how to get it. (Hint: You can start with the project homepage at <a href="http://linux-ntfs.org" target="_blank">http://linux-ntfs.org</a>.) The important thing is to make sure you have the latest version (1.13.1 as of this writing).</p>
<p>Once you have ntfsprogs installed, the rest should be easy. Assuming you know the name of the partition that&#8217;s having the problem (/dev/sda1 on my Ubuntu system), you simply open a terminal window, unmount the partition in question, and type &#8220;sudo ntfsfix <em>partitionname</em>&#8220;. It should fix the problems with the partition table in just a few seconds.</p>
<p>Once ntfsfix works its magic, reboot into Windows Vista. Windows should automatically force a chkdsk process. When that completes, you should be able to dual boot between Vista and Linux to your heart&#8217;s content.</p>
]]></content:encoded>
			<wfw:commentRss>http://neilmcallister.com/2007/06/19/adding-a-linux-partition-to-a-vista-install/feed/</wfw:commentRss>
		</item>
		<item>
		<title>LibraryLookup for San Francisco public libraries</title>
		<link>http://neilmcallister.com/2007/05/11/librarylookup-for-san-francisco-public-libraries/</link>
		<comments>http://neilmcallister.com/2007/05/11/librarylookup-for-san-francisco-public-libraries/#comments</comments>
		<pubDate>Sat, 12 May 2007 03:57:48 +0000</pubDate>
		<dc:creator>Neil McAllister</dc:creator>
		
		<category><![CDATA[Hacks]]></category>

		<guid isPermaLink="false">http://neilmcallister.com/2007/05/11/librarylookup-for-san-francisco-public-libraries/</guid>
		<description><![CDATA[My former colleague at InfoWorld, Jon Udell, came up with a really clever JavaScript hack for avid readers who use Firefox,* called LibraryLookup. It cross-references product pages at Amazon.com with the catalog systems of public libraries. Whenever a book you&#8217;re browsing at Amazon is available at your local library, the script automatically lets you know, [...]]]></description>
			<content:encoded><![CDATA[<p>My former colleague at <em>InfoWorld, </em><a title="Jon Udell" href="http://blog.jonudell.net/">Jon Udell,</a> came up with a really clever JavaScript hack for avid readers who use Firefox,* called LibraryLookup. It cross-references product pages at Amazon.com with the catalog systems of public libraries. Whenever a book you&#8217;re browsing at Amazon is available at your local library, the script automatically lets you know, by inserting a notification into the Amazon page that links to the library&#8217;s online card catalog. It really comes in handy, especially if you&#8217;re an impulse book-buyer.</p>
<p>Jon originally wrote the script for the libraries in his hometown of Keene, New Hampshire, but there are only so many different library catalog systems in use. The script is adaptable to any of them, and lots of folks have modified it to work with the systems in their own communities. I never found a good version for San Francisco, though, so I spent some time working with <a title="Jon Udell's LibraryLookup" href="http://weblog.infoworld.com/udell/2006/01/30.html">Jon&#8217;s latest code</a> to get it working. It needed just a couple of tweaks.<span id="more-26"></span></p>
<p>You can click on the image below to see what an Amazon page might look like with the script installed:</p>
<p style="text-align: center"><a rel="lightbox" href="http://neilmcallister.com/wp-content/uploads/2007/05/librarylookup-screenshot.png"><img src="http://neilmcallister.com/wp-content/uploads/2007/05/librarylookup-screenshot.png" border="2" alt="" vspace="8" width="351" height="191" /></a></p>
<p>To get the script working, you need to install the latest version of the <a title="Greasespot, the Greasemonkey homepage" href="http://www.greasespot.net/">Greasemonkey</a> add-on for Firefox. This is the engine that runs the script automatically whenever you load an Amazon page. With Greasemonkey installed, you should be able to click the following link to automatically <a title="LibraryLookup for San Francisco public libraries" href="http://neilmcallister.com/wp-content/uploads/LibraryLookup-SF.user.js">install the LibraryLookup script for San Francisco public libraries.</a> It should begin working immediately.</p>
<p>The script isn&#8217;t perfect. It doesn&#8217;t sort the due dates on checked-out copies of books, for example, so you&#8217;re not always given the earliest date that a copy of a book will be back on a shelf. The SFPL&#8217;s system also doesn&#8217;t display every branch that has a copy of the book, only the ones it deems &#8220;most relevant&#8221; (which seem to be more alphabetical than anything else). And it can occasionally be a little sluggish. But, in general, this system gives you a good idea as to whether a given book is in the library system and is readily available for check-out. Take it for a spin and let me know if it&#8217;s useful to you.</p>
<p><em>UPDATE (2 April 2008): Version 1.2 uses a more complex query, which should return results for all of the branch libaries (instead of just the first few).</em></p>
<p><em>UPDATE (1 May 2008): Version 1.3 should now work with Firefox versions 2 and 3.</em></p>
<p>*The latest is that Jon claims to have gotten his script working with Internet Explorer, instead of just Firefox, but I can&#8217;t vouch for that. Read <a title="Greasemonkeying with IE" href="http://blog.jonudell.net/2007/04/23/greasemonkeying-with-ie/">his blog post on the subject</a> and see if you can get it working, if IE is your browser of choice.</p>
]]></content:encoded>
			<wfw:commentRss>http://neilmcallister.com/2007/05/11/librarylookup-for-san-francisco-public-libraries/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>

<!-- Dynamic Page Served (once) in 0.280 seconds -->
