<?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>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>
	<lastBuildDate>Thu, 01 Jul 2010 20:02:10 +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>Search OneNote 2010 Beta in Windows x64</title>
		<link>http://neilmcallister.com/2010/01/21/search-onenote-2010-beta-in-windows-x64/</link>
		<comments>http://neilmcallister.com/2010/01/21/search-onenote-2010-beta-in-windows-x64/#comments</comments>
		<pubDate>Fri, 22 Jan 2010 01:47:11 +0000</pubDate>
		<dc:creator>Neil McAllister</dc:creator>
				<category><![CDATA[Hacks]]></category>
		<category><![CDATA[2010]]></category>
		<category><![CDATA[office]]></category>
		<category><![CDATA[onenote]]></category>
		<category><![CDATA[windows]]></category>
		<category><![CDATA[x64]]></category>

		<guid isPermaLink="false">http://neilmcallister.com/?p=482</guid>
		<description><![CDATA[An old bug seems to have resurfaced in the current build of Office 2010 Beta. Normally, you should be able to use Windows Desktop Search to return search results from your OneNote notebooks. But on 64-bit versions of Windows, while the search results show up, they have generic Explorer icons and clicking on them doesn&#8217;t [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignleft size-full wp-image-483" style="margin-left: 8px; margin-right: 8px;" title="OneNote 2010 Logo" src="http://neilmcallister.com/wp-content/uploads/OneNote2010.png" alt="" width="64" height="64" />An <a href="http://blogs.msdn.com/johnguin/archive/2008/10/20/a-nice-workaround-to-enhance-searching-on-64-bit-windows-with-onenote.aspx">old bug</a> seems to have resurfaced in the current build of Office 2010 Beta. Normally, you should be able to use Windows Desktop Search to return search results from your OneNote notebooks. But on 64-bit versions of Windows, while the search results show up, they have generic Explorer icons and clicking on them doesn&#8217;t do anything. The problem is that the system isn&#8217;t seeing the right version of the OneNote Search Connector DLL. If you&#8217;re seeing this problem, read on to find out how to get your searches working properly on Windows x64.<span id="more-482"></span><strong></strong></p>
<p><strong>Note: </strong>This fix involves changing the Registry. If you&#8217;re not comfortable with that, you may have to just put up with wonky search results. As always, you should backup your Registry before making any changes, and I take no responsibility for any damage these instructions may cause.</p>
<p>I should also mention that I&#8217;m doing this on Windows 7 Ultimate x64. Other versions might require a different fix.</p>
<p>As I said, the problem is that the OneNote Search Connector DLL isn&#8217;t registered properly. On Windows x64, Explorer needs to know to look for the 64-bit version of the DLL, found in the &#8220;Program Files&#8221; folder (<em>not </em>&#8220;Program Files (x86)&#8221;). On my machine, the appropriate keys were simply missing from the Registry. These are the keys you&#8217;ll need to create:</p>
<p><code>Windows Registry Editor Version 5.00</code></p>
<p><code>[HKEY_CLASSES_ROOT\CLSID\{0875DCB6-C686-4243-9432-ADCCF0B9F2D7}]<br />
@="Microsoft OneNote Namespace Extension for Windows Desktop Search"</code></p>
<p><code>[HKEY_CLASSES_ROOT\CLSID\{0875DCB6-C686-4243-9432-ADCCF0B9F2D7}\InprocServer32]<br />
@="C:\\Program Files\\Microsoft Office\\Office14\\ONFILTER.DLL"<br />
"ThreadingModel"="Both"</code></p>
<p><code>[HKEY_CLASSES_ROOT\CLSID\{0875DCB6-C686-4243-9432-ADCCF0B9F2D7}\ProgID]<br />
@="OneIndex.ShellFolder.1"</code></p>
<p><code>[HKEY_CLASSES_ROOT\CLSID\{0875DCB6-C686-4243-9432-ADCCF0B9F2D7}\ShellFolder]<br />
"Attributes"=dword:20180000<br />
"WANTSFORPARSING"=""</code></p>
<p><code>[HKEY_CLASSES_ROOT\CLSID\{0875DCB6-C686-4243-9432-ADCCF0B9F2D7}\VersionIndependentProgID]<br />
@="OneIndex.ShellFolder"</code></p>
<p>To make your life easier, you can download the appropriate registry file <a href="http://neilmcallister.com/wp-content/uploads/onenote-2010-search-x64.reg">here</a>. Just save the file to your desktop and double-click it to create the appropriate Registry keys.</p>
<p><strong>Note: </strong>If your copy of Office 2010 Beta is installed on a drive other than C:, you&#8217;ll need to edit the Registry file to reference the correct drive before it will work.</p>
<p>Once you create the Registry keys, clicking on OneNote search results should take you to the appropriate page in OneNote. You should not need to reboot or rebuild your search index.</p>
<p>On my machine, however, there was one more problem. The &#8220;heading&#8221; under which the search results appeared in the Start menu was still labeled with a long, meaningless codename, prefixed with &#8220;oneindex14&#8211;&#8221;. It turns out the fix for this is easy, too.</p>
<p>Just open the start menu, type &#8220;%UserProfile%/Searches&#8221; and hit Return. In this folder, you should see a couple of items under the heading &#8220;Search Connector.&#8221; Find the one that&#8217;s named after the weird code, and simply rename it to &#8220;Microsoft OneNote,&#8221; like you would rename any other file. Your OneNote search results should now appear in the Start menu under that name.</p>
<p>Thanks to John Guin at the OneNote Testing team at Microsoft, whose <a href="http://neilmcallister.com/wp-content/uploads/onenote-2010-search-x64.reg">original blog post</a> about Office 2007 led me to cook up this solution.</p>
]]></content:encoded>
			<wfw:commentRss>http://neilmcallister.com/2010/01/21/search-onenote-2010-beta-in-windows-x64/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Greasemonkey fix for /. user page</title>
		<link>http://neilmcallister.com/2008/12/31/greasemonkey-fix-for-user-page/</link>
		<comments>http://neilmcallister.com/2008/12/31/greasemonkey-fix-for-user-page/#comments</comments>
		<pubDate>Thu, 01 Jan 2009 04:45:30 +0000</pubDate>
		<dc:creator>Neil McAllister</dc:creator>
				<category><![CDATA[Hacks]]></category>
		<category><![CDATA[greasemonkey]]></category>
		<category><![CDATA[slashdot]]></category>

		<guid isPermaLink="false">http://neilmcallister.com/?p=215</guid>
		<description><![CDATA[I&#8217;m singularly unimpressed with the Slashdot gang&#8217;s attempts to reinvent the site&#8217;s UI. Every new change seems to make the interface uglier, more bloated, and harder to use. I liked the mechanics of the old, pre-AJAX site just fine, thank you.
But the most recent insult was the sudden, unexpected change of the User page. Previously, [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m singularly unimpressed with the Slashdot gang&#8217;s attempts to reinvent the site&#8217;s UI. Every new change seems to make the interface uglier, more bloated, and harder to use. I liked the mechanics of the old, pre-AJAX site just fine, thank you.</p>
<p>But the most recent insult was the sudden, unexpected change of the User page. Previously, if you clicked on your username in the upper lefthand corner, it would take you to a page that listed your recent comments. Now you get dumped to a Firehose page, forcing you to do an extra page load to get to where you&#8217;re going &#8212; and don&#8217;t get me started on Firehose.</p>
<p>So I decided to write a Greasemonkey script to fix it. You can <a href="http://neilmcallister.com/wp-content/uploads/Slashdot-Userpage.user.js">download the script here.</a><span id="more-215"></span></p>
<p>Basically, what the script does is rewrite the link on your username so that it takes you to the Comments page instead of the Firehose page, like it did before. Sorry if the code isn&#8217;t pretty &#8212; I&#8217;m really no expert on writing Greasemonkey scripts. If you have problems or suggestions, please let me know (post them below, for example).</p>
<p>Incidentally, if you have no idea what I&#8217;m talking about, investigate the <a href="https://addons.mozilla.org/firefox/addon/748">Greasemonkey plug-in for Firefox.</a> It allows you to run arbitrary JavaScript code whenever a specific page loads, which allows you to process and/or modify the content of the page in various ways.</p>
<p>And by the way&#8230; you <em>did </em>do a &#8220;View Source&#8221; to make sure that there wasn&#8217;t any malicious code in the Greasemonkey script you downloaded from someone&#8217;s random blog&#8230; <em>right?</em></p>
]]></content:encoded>
			<wfw:commentRss>http://neilmcallister.com/2008/12/31/greasemonkey-fix-for-user-page/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>More changes to LibraryLookup</title>
		<link>http://neilmcallister.com/2008/10/12/more-changes-to-librarylookup/</link>
		<comments>http://neilmcallister.com/2008/10/12/more-changes-to-librarylookup/#comments</comments>
		<pubDate>Mon, 13 Oct 2008 00:15:21 +0000</pubDate>
		<dc:creator>Neil McAllister</dc:creator>
				<category><![CDATA[Hacks]]></category>
		<category><![CDATA[greasemonkey]]></category>

		<guid isPermaLink="false">http://neilmcallister.com/?p=180</guid>
		<description><![CDATA[My LibraryLookup script for the San Francisco Public Library has been returning a lot of false positives lately. I finally managed to sit down and address that issue, in addition to some other general maintenance. You can grab version 1.5 of the script at its new, permanent page under &#8220;Odd Bits.&#8221;
It turns out that the [...]]]></description>
			<content:encoded><![CDATA[<p>My LibraryLookup script for the San Francisco Public Library has been returning a lot of false positives lately. I finally managed to sit down and address that issue, in addition to some other general maintenance. You can grab version 1.5 of the script at <a href="http://neilmcallister.com/miscellaneous/librarylookup-for-the-san-francisco-public-library/">its new, permanent page</a> under &#8220;Odd Bits.&#8221;<span id="more-180"></span></p>
<p>It turns out that the SFPL&#8217;s advanced search application will return false positives for nearby ISBN numbers if the one you&#8217;re searching for is not available in the system. I&#8217;ve now modified the script to do a more reliable two-phase search, where it only checks the advanced results if it detects a positive hit using the basic search first.</p>
<p>The script will also now take you to the more user-friendly basic search results page every time, even though it still uses the advanced search to check all of the branch libraries.</p>
<p>I&#8217;ve removed the XISBN functionality, which was designed to check other, &#8220;related&#8221; ISBN numbers if the one you&#8217;re looking at wasn&#8217;t found. This was a good idea in theory, but it seemed to return too many inappropriate results: If I&#8217;m searching for a book, I&#8217;m not necessarily interested in the large-print edition, or the audiobook, etc. Searching for these things just caused a lot of inappropriate and unnecessary queries. What removal of this function means, however, is that you&#8217;ll need to check the hardcover and paperback editions separately (but that often seemed to be the case before, anyway).</p>
<p>One feature I added was the ability to spot new books that are on order at the library but have yet to actually arrive. This can give you the chance to click over to the library and reserve your copy, even though the book isn&#8217;t actually in stock yet.</p>
<p>The other positive change is that I went through and did a thorough housekeeping on the code, which I probably should have done in the first place. I&#8217;ve eliminated the unorthodox and inconsitent indentation and line breaks and generally cleaned up the source, which should make it a lot easier to maintain in the future.</p>
<p>Let me know what you think!</p>
]]></content:encoded>
			<wfw:commentRss>http://neilmcallister.com/2008/10/12/more-changes-to-librarylookup/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Adventures in amateur BlackBerry repair</title>
		<link>http://neilmcallister.com/2008/10/05/adventures-in-amateur-blackberry-repair/</link>
		<comments>http://neilmcallister.com/2008/10/05/adventures-in-amateur-blackberry-repair/#comments</comments>
		<pubDate>Mon, 06 Oct 2008 03:58:47 +0000</pubDate>
		<dc:creator>Neil McAllister</dc:creator>
				<category><![CDATA[Hacks]]></category>
		<category><![CDATA[BlackBerry]]></category>
		<category><![CDATA[hardware]]></category>

		<guid isPermaLink="false">http://neilmcallister.com/?p=147</guid>
		<description><![CDATA[Last night as I was walking home I pulled my BlackBerry Pearl 8120 out of my back pocket and noticed that the LCD was cracked (image here). I have no idea how this happened &#8212; I didn&#8217;t drop it or anything. The phone is only two weeks old! Unfortunately, no matter how it happened I [...]]]></description>
			<content:encoded><![CDATA[<p><a title="Taking your phone apart is nerve-wracking but educational." rel="lightbox" href="http://neilmcallister.com/wp-content/uploads/disassembly.jpg"><img class="size-medium wp-image-149 alignright" style="margin-left: 8px; margin-right: 8px;" title="disassembly-thumb" src="http://neilmcallister.com/wp-content/uploads/disassembly-thumb.jpg" alt="Taking apart a BlackBerry Pearl" width="100" height="75" /></a>Last night as I was walking home I pulled my BlackBerry Pearl 8120 out of my back pocket and noticed that the LCD was cracked (<a title="Notice the black and white &quot;smears&quot; at the bottom of the screen, due to breakage" rel="lightbox" href="http://neilmcallister.com/wp-content/uploads/crackedbb.jpg">image here</a>). I have no idea how this happened &#8212; I didn&#8217;t drop it or anything. The phone is only two weeks old! Unfortunately, no matter how it happened I knew T-Mobile wasn&#8217;t going to have much sympathy for my plight. T-Mobile, like most carriers, considers <em>any </em>screen breakage to be the customer&#8217;s fault, and it&#8217;s not covered by warranty.</p>
<p>This particular Pearl, however, was a replacement for my old Pearl &#8212; an earlier model 8100 &#8212; which I accidentally dropped in the toilet about two weeks ago. And that gave me an idea: Why not swap out the broken screen in the new Pearl with the working screen from the old one?<span id="more-147"></span></p>
<p>This was, of course, a crazy idea. Mobile phones are modern marvels of micro-scale engineering. They&#8217;re just not meant to be serviced by the public. If you even try to open one up, you&#8217;ll probably end up breaking something important and you&#8217;ll be out a couple hundred bucks. A plan that calls for taking <em>two of them </em>apart is doubly crazy.</p>
<p>So I charged on ahead.</p>
<p>The first thing I did was scour the Web for advice. Sure enough, I found a very informative video showing <a title="BlackBerry Pearl disassembly" href="http://www.youtube.com/watch?v=NQxMmsrnwfU">how to take apart your BlackBerry Pearl.</a> Next, I hopped down to my local hardware store and bought a Torx T-6 screwdriver, which is apparently the size you need to open all kinds of mobile phones.</p>
<p>I&#8217;ll spare you the blow-by-blow of the process of disassembling the phone, because the video explains it nicely. I can tell you what it was like to actually do it, however: <em>nerve-wracking</em>. I reiterate my statements from three paragraphs ago: You&#8217;d be crazy to try to do this. I don&#8217;t recommend it. In fact, I recommend <em>against </em>it. (And bear in mind that it voids your warranty &#8212; but we&#8217;ve already established that your warranty is pretty useless if your LCD is already broken.)</p>
<p>Note, however, that if you don&#8217;t happen to have a spare Pearl lying around, you could perform the same operation with a <a href="http://www.gethightech.com/Merchant2/merchant.mvc?Screen=PROD&amp;Product_Code=XX2082&amp;Category_Code=CS">replacement screen</a> that you order online. They cost about $40.</p>
<p>Some observations:</p>
<p>First, taking off the bottom piece of plastic is the hardest part. It&#8217;s not immediately clear how to do it, and once you start messing around with it you realize quickly that it seems pretty easy to break. In the video they use a small screwdriver to pry off the tabs. I&#8217;d try to avoid this. In the battle between metal and plastic, plastic inevitably loses. In the end I felt the most confident just prying it off with my thumbnails. The tabs that hold it on aren&#8217;t really locked into anything. You just want to use the natural pliability of the plastic to pop it off &#8212; <em>carefully.</em></p>
<p>You should use caution when removing the side plastic pieces, also. Go gently. I found that when you get to a certain point  they will suddenly fly off in a way that&#8217;s a little startling, but if you&#8217;ve done it right they won&#8217;t have broken.</p>
<p>Now you get to the nerve-wracking part, when you realize that <a rel="lightbox" href="http://neilmcallister.com/wp-content/uploads/disassembly.jpg">you&#8217;ve just taken apart your phone</a> and you&#8217;re about to fiddle around with the screen and the tiny motherboard. Don&#8217;t get spooked &#8212; there&#8217;s no point in turning back now.</p>
<p>In the video they point out a small piece of tape over the ribbon connector for the screen that needs to be removed. It was there on my 8120, but oddly enough the 8100 had no piece of tape. Because of this, I didn&#8217;t really worry about saving the tape from the 8120. If it wasn&#8217;t installed in one of the phones then it must not really be necessary.</p>
<p>Try not to touch the LCD. Pretend that touching it will make it shrivel up and die. But in reality you <em>will</em> get a few fingerprints on it. For that reason, you&#8217;ll want some kind of lint-free cloth available to wipe it clean before you put the phone back together. I used a chamois that came with my Asus Eee PC 901.</p>
<p>Removing the screen is the most nerve-wracking part of all. It&#8217;s actually stuck to the motherboard with a big piece of double-sided tape. You need to loosen that tape slowly, very gently, so as not to damage anything. For what it&#8217;s worth, the tape seemed a lot stronger on the 8100 than the 8120 &#8212; perhaps the adhesive gets tougher with age.</p>
<p>Here&#8217;s where your little flat-head screwdriver comes in handy. Get it underneath one of the corners of the LCD and pry ever so gently. Work your way around the screen, doing your best to touch as little of the motherboard as possible. Don&#8217;t dig deep underneath; just work around the sides. If you&#8217;re doing it right, you should hear a sound almost exactly like transparent tape coming off the roll.</p>
<p>Once you&#8217;ve got the screen off, if you&#8217;ve remembered to flip open the little latch on the ribbon connector, it should slide right out. You shouldn&#8217;t have to touch the ribbon cable at all.</p>
<p>If you&#8217;re planning to re-use a screen that you&#8217;ve removed from a phone, remember to lay it glass side <em>down, </em>because the adhesive <em>will </em>stick it to your workbench. Try to get a minimum of lint and crumbs onto the tape, also.</p>
<p>Replacing the LCD isn&#8217;t difficult. The ribbon cable should slide right in with no pressure required. Remember to close the little black latch to lock it in place. Hold the LCD by the sides and give it a little squeeze against the motherboard so that the adhesive sticks. It&#8217;s at this point, also, that you&#8217;ll want to clean any fingerprints off the LCD.</p>
<p>The case reassembles in exactly the opposite order of steps that you just took to disassemble it (naturally). The side pieces seemed a little fussy; squeeze them as you re-insert the Torx screws to make sure everything is in place. Everything else pretty much snaps together. If you&#8217;ve forgotten which end is up on some of the pieces, the ports and connectors should make it obvious.</p>
<p>Now, if you&#8217;ve done everything right, you can replace the SIM card and the battery and you should have <a title="The end result" rel="lightbox" href="http://neilmcallister.com/wp-content/uploads/et-voila.jpg">a working phone with an unbroken screen.</a> I know I do! Total cost of repairs: $4.50 for the Torx screwdriver.</p>
<p>Allow me to reiterate once more, however: Unless you&#8217;re prepared to spend $200 on a new phone, <em>don&#8217;t do this.</em></p>
]]></content:encoded>
			<wfw:commentRss>http://neilmcallister.com/2008/10/05/adventures-in-amateur-blackberry-repair/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Inside Google&#8217;s Chrome browser</title>
		<link>http://neilmcallister.com/2008/09/11/inside-googles-chrome-browser/</link>
		<comments>http://neilmcallister.com/2008/09/11/inside-googles-chrome-browser/#comments</comments>
		<pubDate>Thu, 11 Sep 2008 20:44:05 +0000</pubDate>
		<dc:creator>Neil McAllister</dc:creator>
				<category><![CDATA[Hacks]]></category>
		<category><![CDATA[Writing]]></category>
		<category><![CDATA[chrome]]></category>
		<category><![CDATA[google]]></category>
		<category><![CDATA[infoworld]]></category>

		<guid isPermaLink="false">http://neilmcallister.com/?p=117</guid>
		<description><![CDATA[
For the truly geeky among you: In the latest post to my Fatal Exception blog over at InfoWorld, I&#8217;m taking a look under the hood of Chrome, Google&#8217;s new Web browser. A lot of articles make mention of how Chrome is open source. I actually put it to the test, by building a custom copy [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://neilmcallister.com/wp-content/uploads/chromiumlogo.jpg" rel="lightbox"><img class="size-full wp-image-118 alignleft" style="margin-top: 8px; margin-bottom: 8px;" title="chromiumlogo" src="http://neilmcallister.com/wp-content/uploads/chromiumlogo.jpg" alt="Chromium logo" width="60" height="58" /></a></p>
<p>For the truly geeky among you: In the latest post to my Fatal Exception blog over at InfoWorld, I&#8217;m taking a look <a href="http://weblog.infoworld.com/fatalexception/archives/2008/09/building_google.html">under the hood of Chrome,</a> Google&#8217;s new Web browser. A lot of articles make mention of how Chrome is open source. I actually put it to the test, by building a custom copy of it myself.</p>
<p>Along the way I found out a lot of interesting information about Chrome&#8217;s internals and how Google built it. On the plus side, it&#8217;s very clean, well-organized code. On the minus side, it looks like it&#8217;s going to be Windows-only for a good while, yet.</p>
<p>Anyway, I had a lot of fun doing this piece (it&#8217;s been a long time since I had a legitimate excuse to pull out a compiler on Windows), so if you have the hobbyist spirit, drop on over and join the discussion.</p>
]]></content:encoded>
			<wfw:commentRss>http://neilmcallister.com/2008/09/11/inside-googles-chrome-browser/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<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>
<p>If you have any questions or problems with the script, post here and I&#8217;ll try to address them.</p>
]]></content:encoded>
			<wfw:commentRss>http://neilmcallister.com/2008/05/01/librarylookup-for-firefox-30/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</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) &#8211; 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>
		<slash:comments>2</slash:comments>
		</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>
		<slash:comments>0</slash:comments>
		</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>
		<slash:comments>3</slash:comments>
		</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 href="http://neilmcallister.com/wp-content/uploads/librarylookup-screenshot.png"><a href="http://neilmcallister.com/wp-content/uploads/librarylookup-screenshot.png" rel="lightbox"><img class="size-medium wp-image-364 aligncenter" title="Screenshot of Library Lookup in Action" src="http://neilmcallister.com/wp-content/uploads/librarylookup-screenshot-300x151.png" alt="Screenshot of Library Lookup in Action" width="300" height="151" /></a><br />
</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>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

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