<?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>Dave Page &#187; Computers</title>
	<atom:link href="http://chwalisz.org/category/computers/feed/" rel="self" type="application/rss+xml" />
	<link>http://chwalisz.org</link>
	<description>Stuff</description>
	<lastBuildDate>Fri, 21 May 2010 00:21:52 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>&#8220;New&#8221; Computer</title>
		<link>http://chwalisz.org/2010/03/28/new-computer/</link>
		<comments>http://chwalisz.org/2010/03/28/new-computer/#comments</comments>
		<pubDate>Sun, 28 Mar 2010 17:43:00 +0000</pubDate>
		<dc:creator>dave</dc:creator>
				<category><![CDATA[Computers]]></category>
		<category><![CDATA[Musings]]></category>
		<category><![CDATA[howto]]></category>

		<guid isPermaLink="false">http://chwalisz.org/?p=587</guid>
		<description><![CDATA[<p>So Steve talked me into an upgrade. I needed to install Windows 7 anyway, and so here was the chance. Bette was gone for the weekend and I had a nice block of time. I ordered a used Gigabyte mobo with processor from eBay. Hmm.</p>
<p>So I opened up the box, and found that the mobo [...]]]></description>
			<content:encoded><![CDATA[<p>So Steve talked me into an upgrade. I needed to install Windows 7 anyway, and so here was the chance. Bette was gone for the weekend and I had a nice block of time. I ordered a used Gigabyte mobo with processor from eBay. Hmm.</p>
<p>So I opened up the box, and found that the mobo was packed in plastic bubbles &#8211; not antistatic. No I/O plate. No warranty papers. I hate eBay. So I hooked up the computer and restored the BIOS. Then restored the overclocked settings to default.</p>
<p>Ran to Best Buy for a new 500Gb HD. Might as well start fresh &#8211; then I can mount the old disk for fast copying. </p>
<p>Did the first install of Windows 7. It booted into setup and sat there for 10 minutes easy. Nothing. Googled, found this was normal, some suggested disabling USB, some said poke the CD-ROM drive. Crappy installer. Finally got it to install. Runs nice with 4Gb.</p>
<p>Steve told me to run prime95, a prog from the GIMPS Mersenne Prime Search people to load the heck out of the CPU and then use CoreTemp to read the temp. It went up to 60C, but no higher. Not the best, but I really don&#8217;t load it that much.</p>
<p>I installed and then tried to activate Windows 7. Of course, it said &#8220;Cannot use this key on a new install&#8221;. How is that useful on a clean install disk? I Googled a bit and found if you reinstall by starting Windows and running setup off of the DVD a second time, it classifies the 2nd install as an upgrade. So here we go. UDPATE: Called MS Support. After a bit of phone heck, I ended up with a highly competent tech (from India?) named Rahul who did not drag me thru rebooting and stupid things. He just got it fixed.</p>
<p>In bringing up the new box, PocoMail was great &#8211; just point at the old install, copy, bam. I lost the Quicken installer for 2009 Home and Business, but 20 mins on the chat support gave me a download link for the replacement.</p>
<p>UPDATE: Win7 has been great. Only problem is, is not compatible with my HP LaserJet 3150 MFP &#8211; HP discontinued support for Vista.</p>
<p>Download <a href="http://www.alcpu.com/CoreTemp/">CoreTemp</a><br />
Download <a href="http://www.mersenne.org/freesoft/">Mersenne GIMPS</a></p>
]]></content:encoded>
			<wfw:commentRss>http://chwalisz.org/2010/03/28/new-computer/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ESET vs Kaspersky</title>
		<link>http://chwalisz.org/2010/02/14/eset-vs-kaspersky/</link>
		<comments>http://chwalisz.org/2010/02/14/eset-vs-kaspersky/#comments</comments>
		<pubDate>Sun, 14 Feb 2010 22:58:26 +0000</pubDate>
		<dc:creator>dave</dc:creator>
				<category><![CDATA[Computers]]></category>
		<category><![CDATA[Software]]></category>

		<guid isPermaLink="false">http://chwalisz.org/?p=514</guid>
		<description><![CDATA[<p>Our AVG subscription was expiring and I was having 2nd thoughts about renewing  &#8211; it was periodically crashing Bette&#8217;s underpowered computer. Ralph at work recommended Kaspersky Internet Security, and I got a trial of that and ESET Nod32 Security to try out. Both were well reviewed. ESET has a more techie interface, and a [...]]]></description>
			<content:encoded><![CDATA[<p>Our AVG subscription was expiring and I was having 2nd thoughts about renewing  &#8211; it was periodically crashing Bette&#8217;s underpowered computer. Ralph at work recommended Kaspersky Internet Security, and I got a trial of that and ESET Nod32 Security to try out. Both were well reviewed. ESET has a more techie interface, and a smaller memory footprint (important for little machines) and I wanted to like it more, but both machines started crashing randomly on startup and when the computer went into screen save or hibernate after installation.  So we went back to Kaspersky and so far it is running great. Plus I have the option to not install the email or IM filters at installation since PocoMail does not use PST files or such &#8211; as soon as the infected file hits the disk it is detected.</p>
<p>I did find a good <a href="http://www.forbes.com/2008/12/11/virus-filter-avira-tech-security-cx_ag_1211virus.html">Forbes article on Anti-Virus</a>, and from that found a <a href="http://www.av-comparatives.org/">nonprofit</a> <a href="http://www.av-comparatives.org/images/stories/test/ondret/avc_report24.pdf">review of AV software</a> where ESET and Kaspersky both do well but behind two others I never heard of. Ralph plus it works sez I think we will do Kaspersky.</p>
]]></content:encoded>
			<wfw:commentRss>http://chwalisz.org/2010/02/14/eset-vs-kaspersky/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Photo Mechanic</title>
		<link>http://chwalisz.org/2010/02/14/photo-mechanic/</link>
		<comments>http://chwalisz.org/2010/02/14/photo-mechanic/#comments</comments>
		<pubDate>Sun, 14 Feb 2010 22:42:44 +0000</pubDate>
		<dc:creator>dave</dc:creator>
				<category><![CDATA[Computers]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[howto]]></category>

		<guid isPermaLink="false">http://chwalisz.org/?p=500</guid>
		<description><![CDATA[<p>So I am trying to archive the check scans. TIF files named &#8220;donation-2010-DEP01-01.TIF&#8221; to identify the year, deposit batch number (01) and the scan number within the batch. </p>
<p>I first just entered the keywords using Thumbs Plus 7. Pain. TP8 is not much better &#8211; cannot keep the image open while I add the keywords. [...]]]></description>
			<content:encoded><![CDATA[<p>So I am trying to archive the check scans. TIF files named &#8220;donation-2010-DEP01-01.TIF&#8221; to identify the year, deposit batch number (01) and the scan number within the batch. </p>
<p>I first just entered the keywords using Thumbs Plus 7. Pain. TP8 is not much better &#8211; cannot keep the image open while I add the keywords. Small monitor.</p>
<p>Then I tried the user variables in Photo Mechanic. This was better, but I would need to change the settings for the user variables for each deposit.</p>
<p>Then I considered the filename. I can read the data right out of the filename using the variables. For the file <code>donation-2010-DEP01-01.TIF</code>, I use a caption definition:</p>
<p><code>{filenamebase:-13,4} Clinic Donations Deposit {filenamebase:-5,2} Page {filenamebase:-2,2} </code></p>
<p>which results in the caption of </p>
<p><code>Clinic Donations Deposit 01 Page 01</code></p>
<p>I can do the same thing with keywords. I entered the keyword phrase into the IPTC Stationery Pad:</p>
<p><code>Clinic, {filenamebase:-13, 2}, deposit_{filenamebase:-5,2}, DEPOSIT{filenamebase:-5,2}, donation, Page_{filenamebase:-2}, SMCORG</code> </p>
<p>to end up with the kewords:</p>
<p><code>Clinic, 2010, deposit_01, DEPOSIT01, donation, Page_01</code>, SMCORG</p>
<p>But when I reopen the pad, I see:</p>
<p><code>Clinic, {filenamebase | -13, 2}, deposit_{filenamebase |-5, DEPOSIT{filenamebase | -5, donation, Page_{filenamebase |-2}, SMCORG</code></p>
<p>which keywords as </p>
<p><code>Clinic, 20, deposit_01-03, SMCORG</code></p>
<p>Note the lost 2nd arguments and closing braces on some of the keyword terms. </p>
<p>I researched a bit in their forums and found a similar problem in this article, <a href="http://forums.camerabits.com/index.php?topic=4999.0">Colon in Keywords</a>. It was mentioned there that PM 4.6.2.1 had a problem with leaving colons alone in keywords, and 4.6.3 (recently released) fixed these problems. So I downloaded and installed 4.6.3 and the vertical pipes now work, but the problems with the closing braces are still there. Boo. I might have to go back to user variables.</p>
<p>Saturday night I <a href="http://forums.camerabits.com/index.php?topic=5169">posted a question</a> on the Camera Bits forum. Sunday morning Kirk the developer posts a &#8220;I&#8217;m on it&#8221; message. Then he posts that yes, it&#8217;s a bug, it will be fixed, here is the workaround. Nice. I post a followup. He posts one an hour later.</p>
<p>A good reason to support little companies with specialized software. Now I just scan, rename the file, and apply the Stationery Pad. Bam! Fill in the donors &#8211; done.</p>
<p>Photo Mechanic 4.6.3 from <a href="http://www.camerabits.com/">Camera Bits</a><br />
<a href="http://forums.camerabits.com">Camera Bits Forum</a><br />
Thumbs Plus from <a href="http://www.cerious.com/">Cerious Software</a></p>
]]></content:encoded>
			<wfw:commentRss>http://chwalisz.org/2010/02/14/photo-mechanic/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Installing Windows XP into a Virtual Box VM</title>
		<link>http://chwalisz.org/2010/01/17/installing-windows-xp-into-a-virtual-box-vm/</link>
		<comments>http://chwalisz.org/2010/01/17/installing-windows-xp-into-a-virtual-box-vm/#comments</comments>
		<pubDate>Sun, 17 Jan 2010 19:19:22 +0000</pubDate>
		<dc:creator>dave</dc:creator>
				<category><![CDATA[Computers]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[howto]]></category>

		<guid isPermaLink="false">http://chwalisz.org/?p=479</guid>
		<description><![CDATA[<p>I need to do some testing, so let&#8217;s try installing Windows XP Pro into a Virtual Box VM to avoid trashing my production system. Which is pretty trashed anyway, and has a big frosty pre-ordered (cheap) Windows 7 waiting when I finally get around to researching a driver for my now non-supported HP LaserJet 3150 [...]]]></description>
			<content:encoded><![CDATA[<p>I need to do some testing, so let&#8217;s try installing Windows XP Pro into a Virtual Box VM to avoid trashing my production system. Which is pretty trashed anyway, and has a big frosty pre-ordered (cheap) Windows 7 waiting when I finally get around to researching a driver for my now non-supported HP LaserJet 3150 MFP &#8211; but that is another time&#8230;</p>
<p>Fire up VirtualBox and create a new VM. I picked the defaults except for 512M of RAM &#8211; gotta be careful to not run anything else &#8211; set the CDROM to physical drive E, and a growable HD 8Gb. The usual. </p>
<p>Now boot the new VM with the XP Pro SP3 CD (slipstreamed from the SP2 CD). It does its thing, and hit a certain point while it is loading drivers and locks. Hard. Click the close (X) button, VBox asks do I want to reset the VM? Sure. It locks. Hard. I try to kill all the processes and then restart VBox. There is a conflict with an open semaphore file, so I check again and sure enough there is still a VBox process, which cannot be killed. I shut down, Explorer disappears. Luckily a Task Manager box is still up. Finally the &#8220;Shutting down Windows&#8221; message comes up. Off to Candlelight Ski in Rush Creek. Three hours later, it is still shutting down. I figure most of the stuff has been saved at this point &#8211; reset button it is. Now boots ok. Whew.</p>
<p>The message implied some driver was not cooperating, and I questioned the USB stuff. So I run through the options and turn off any non-vital hardware. Audio, USB, no 3D acceleration. Restart the VM and the install. Now (the upgrade) asks for a previous version CD. Find my copy of Windows NT 4.0 Workstation. Yes.</p>
<p>Set networking to Bridged and run the install. Works great.</p>
<p>Moral: turn off all the extra hardware. You can add it later. Or not. I sure don&#8217;t need to.</p>
]]></content:encoded>
			<wfw:commentRss>http://chwalisz.org/2010/01/17/installing-windows-xp-into-a-virtual-box-vm/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Mockito and void methods on mock objects</title>
		<link>http://chwalisz.org/2010/01/05/mockito-and-void-methods-on-mock-objects/</link>
		<comments>http://chwalisz.org/2010/01/05/mockito-and-void-methods-on-mock-objects/#comments</comments>
		<pubDate>Tue, 05 Jan 2010 21:45:10 +0000</pubDate>
		<dc:creator>dave</dc:creator>
				<category><![CDATA[Computers]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[development]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[mockito]]></category>
		<category><![CDATA[test]]></category>

		<guid isPermaLink="false">http://chwalisz.org/?p=462</guid>
		<description><![CDATA[<p>SO I have
 class TestFoo {</p>
<p>}
   TestFoo s1 = Mockito.mock(TestFoo.class);
   TestFoo s2 = Mockito.mock(TestFoo.class);</p>
<p>The Mockito doc &#8220;Real Partial Mocks&#8221; says to do this:</p>
<p>
when(mock.someMethod()).thenCallRealMethod();</p>
<p>we get the error </p>
<p>&#8220;The method when(T) in the type Mockito is not applicable for the arguments (void)&#8221;</p>
<p>After 1/2 hour of hunting I found a hint, and refactored:</p>
<p>
Mockito.doCallRealMethod().when(s1).assertEquals(s2);</p>

]]></description>
			<content:encoded><![CDATA[<p>SO I have<br />
 class TestFoo {</p>
<p>}<br />
   TestFoo s1 = Mockito.mock(TestFoo.class);<br />
   TestFoo s2 = Mockito.mock(TestFoo.class);</p>
<p>The Mockito doc <a href="http://mockito.googlecode.com/svn/tags/latest/javadoc/org/mockito/Mockito.html#16">&#8220;Real Partial Mocks&#8221;</a> says to do this:</p>
<blockquote><p>
<code>when(mock.someMethod()).thenCallRealMethod();</code></p></blockquote>
<p>we get the error </p>
<blockquote><p>&#8220;The method when(T) in the type Mockito is not applicable for the arguments (void)&#8221;</p></blockquote>
<p>After 1/2 hour of hunting I found a hint, and refactored:</p>
<blockquote><p>
<code>Mockito.doCallRealMethod().when(s1).assertEquals(s2);</code></p>
</blockquote>
]]></content:encoded>
			<wfw:commentRss>http://chwalisz.org/2010/01/05/mockito-and-void-methods-on-mock-objects/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Adios D-Link USB Hub</title>
		<link>http://chwalisz.org/2009/12/28/adios-d-link-usb-hub/</link>
		<comments>http://chwalisz.org/2009/12/28/adios-d-link-usb-hub/#comments</comments>
		<pubDate>Tue, 29 Dec 2009 00:02:14 +0000</pubDate>
		<dc:creator>dave</dc:creator>
				<category><![CDATA[Computers]]></category>
		<category><![CDATA[Musings]]></category>
		<category><![CDATA[acronym]]></category>
		<category><![CDATA[garbage]]></category>
		<category><![CDATA[hub]]></category>
		<category><![CDATA[linen]]></category>
		<category><![CDATA[recycling]]></category>
		<category><![CDATA[rspe]]></category>
		<category><![CDATA[usb]]></category>

		<guid isPermaLink="false">http://chwalisz.org/?p=429</guid>
		<description><![CDATA[<p>Finally dumping my D-Link DSB-H4 USB powered hub. I think I got it for 10 bucks, and I think it worked for about 20 minutes. Then as soon as you plug something in, all the lights would go black and I would fear for my motherboard.</p>
<p>I just marked it with &#8220;US&#8221; and tossed it into [...]]]></description>
			<content:encoded><![CDATA[<p>Finally dumping my D-Link DSB-H4 USB powered hub. I think I got it for 10 bucks, and I think it worked for about 20 minutes. Then as soon as you plug something in, all the lights would go black and I would fear for my motherboard.</p>
<p>I just marked it with &#8220;US&#8221; and tossed it into the electronics recycling pile. Adios.</p>
<p>*US. <a href="http://en.wikipedia.org/wiki/List_of_government_and_military_acronyms">&#8220;Unserviceable&#8221;</a>, a military, probably Canadian or English forces, since I heard it from a crotchety old Englishman while working in <a href="http://www.lhls.on.ca/">a laundry plant</a> in London, Ontario, Canada many years ago &#8211; or about 1982. Alan, the chief engineer of the plant, marked one of our dead RSPE <a href="http://www.freepatentsonline.com/4347438.html">Light-Frame</a> counters with US. I didn&#8217;t get it. He was a good guy. We had fun drinking after work.</p>
]]></content:encoded>
			<wfw:commentRss>http://chwalisz.org/2009/12/28/adios-d-link-usb-hub/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>A New WordPress Install</title>
		<link>http://chwalisz.org/2009/12/28/a-new-wordpress-install/</link>
		<comments>http://chwalisz.org/2009/12/28/a-new-wordpress-install/#comments</comments>
		<pubDate>Mon, 28 Dec 2009 20:42:41 +0000</pubDate>
		<dc:creator>dave</dc:creator>
				<category><![CDATA[Computers]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[install]]></category>
		<category><![CDATA[shortcut]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://chwalisz.org/?p=422</guid>
		<description><![CDATA[<p>Get the storage folder; redirect the domain there; </p>
<p>Get the code into the target dir:
$ svn co http://core.svn.wordpress.org/tags/2.9 .</p>
<p>Copy wp-config.php
$ cp wp-config-sample.php wp-config.php </p>
<p>Get new secret keys:
https://api.wordpress.org/secret-key/1.1/ </p>
<p>Edit wp-config.php
$ vi wp-config.php
Change dbname, hostname, password.
Change 4 secret key lines to above lines.</p>
<p>Run config:
http://example.com/blog/wp-admin/install.php</p>
<p>Set up the profile pages; add default user; </p>
<p>Install Atahualpa Theme and configure.</p>

Download zip [...]]]></description>
			<content:encoded><![CDATA[<p>Get the storage folder; redirect the domain there; </p>
<p>Get the code into the target dir:<br />
<code>$ svn co http://core.svn.wordpress.org/tags/2.9 .</code></p>
<p>Copy wp-config.php<br />
<code>$ cp wp-config-sample.php wp-config.php </code></p>
<p>Get new secret keys:<br />
<code>https://api.wordpress.org/secret-key/1.1/ </code></p>
<p>Edit wp-config.php<br />
<code>$ vi wp-config.php</code><br />
Change dbname, hostname, password.<br />
Change 4 secret key lines to above lines.</p>
<p>Run config:<br />
<code>http://example.com/blog/wp-admin/install.php</code></p>
<p>Set up the profile pages; add default user; </p>
<p>Install <a href="http://wordpress.bytesforall.com">Atahualpa Theme</a> and configure.</p>
<ol>
<li>Download zip into blog base dir using wget or ftp,</li>
<li><code>$ /blog > unzip atahualpa344.zip -d ./wp-content/themes</code></li>
</ol>
<p>More Info:<br />
<a href="http://codex.wordpress.org/Installing/Updating_WordPress_with_Subversion">Installing using Subversion (WordPress Codex)</a><br />
<a href="http://codex.wordpress.org/Installing_WordPress">Installing WordPress  (WordPress Codex)</a><br />
<a href="http://codex.wordpress.org/Installing/Updating_WordPress_with_Subversion">Updating WordPress using Subversion (WordPress Codex)</a></p>
]]></content:encoded>
			<wfw:commentRss>http://chwalisz.org/2009/12/28/a-new-wordpress-install/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>DeDuping MusikCube playlists</title>
		<link>http://chwalisz.org/2009/12/14/dedupe-musikcube-playlists/</link>
		<comments>http://chwalisz.org/2009/12/14/dedupe-musikcube-playlists/#comments</comments>
		<pubDate>Mon, 14 Dec 2009 18:10:53 +0000</pubDate>
		<dc:creator>dave</dc:creator>
				<category><![CDATA[Computers]]></category>
		<category><![CDATA[Fun]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[howto]]></category>

		<guid isPermaLink="false">http://chwalisz.org/?p=401</guid>
		<description><![CDATA[<p>Or, Use SQL Squirrel and JDBC to dedupe MusikCube playlists</p>
<p>I use MusikCube a lot. That said, I sometimes share files from various machines that have duplicate files, and rather than hand-edit the playlists after each synchronization to eliminate the duplicate albums, I want an automated way. Since MusikCube runs on SQLite, why not do it [...]]]></description>
			<content:encoded><![CDATA[<p>Or, Use SQL Squirrel and JDBC to dedupe MusikCube playlists</p>
<p>I use MusikCube a lot. That said, I sometimes share files from various machines that have duplicate files, and rather than hand-edit the playlists after each synchronization to eliminate the duplicate albums, I want an automated way. Since MusikCube runs on SQLite, why not do it in SQL?</p>
<p>First download the <a href="http://www.zentus.com/sqlitejdbc/">SQLiteJDBC</a> JDBC driver and install to the SQL Squirrel lib folder. Restart the client and add a new Driver to the list using name=SQLite, example URL = <code>jdbc:sqlite:test.db</code>, classname= <code>org.sqlite.JDBC</code> and Website URL = <code>http://www.zentus.com/sqlitejdbc/</code></p>
<p>First problem &#8211; how to access the database. Doc is sketchy, but based on some investigation of the <a href="http://github.com/crawshaw/sqlitejdbc/raw/master/src/org/sqlite/JDBC.java">org.sqlite.JDBC.java</a> code I found that it uses everything following the &#8220;jdbc:sqlite:&#8221; prefix as a new File() argument (unless nothing is found, than an in-memory DB is assumed). So I can access the db using the JDBC URL: <code>jdbc:sqlite:C:/Documents and Settings/username/.musikproject/musik_u.db</code>. I love source code.</p>
<p>Note: I do not put any work into playlists. I am a big fan of letting the metadata do the work. I am comfortable with nuking the DB a starting over, if necessary. If you have lots of valuable annotations, you are editing in the wrong place. So if my tests blow up the DB, so what.</p>
<p>Then from a SQL Server site article, <a href="http://support.microsoft.com/kb/139444">How to remove duplicate rows&#8230;</a>, I can compile this query:</p>
<blockquote><p>SELECT title, album, count(*)<br />
FROM songs<br />
GROUP BY title, album<br />
HAVING count(*) > 1</p></blockquote>
<p>I easily get 100 rows with 2 hits each.</p>
<p>Alternate form of query (from <a href="http://www.delphifaq.com/faq/delphi/database/f6.shtml">here</a>)</p>
<blockquote><p>select s1.filename, s1.songid, s2.songid, s1.title, CASE WHEN substr(s1.filename,1)=&#8217;f&#8217; OR substr(s2.filename,1)=&#8217;f&#8217; THEN 1 ELSE 2 END as fred<br />
from songs s1, songs s2<br />
where s1.songid < s2.songid and s1.title = s2.title AND s1.artist = s2.artist AND s1.album = s2.album<br />
AND s1.artist = 'Aerosmith'</p></blockquote>
<p>and also</p>
<blockquote><p>select s1.filename,<br />
( CASE<br />
&#8211; my box has top priority<br />
    WHEN (substr(s1.filename, 4, length(&#8216;mp3&#8242;)) = &#8216;mp3&#8242; ) THEN 1<br />
&#8211;  handle \\m51098 machine names<br />
    WHEN (substr(s1.filename, 3, length(&#8216;m51098&#8242;)) = &#8216;m51098&#8242; )THEN 2<br />
    WHEN (substr(s1.filename, 3, length(&#8216;m51165&#8242;)) = &#8216;m51165&#8242; )THEN 3<br />
    WHEN (substr(s1.filename, 3, length(&#8216;m51134&#8242;)) = &#8216;m51134&#8242; )THEN 4<br />
    ELSE 10 END ) AS priority<br />
from songs s1<br />
where 1 < (select count(*)<br />
from songs s2<br />
where s1.title = s2.title AND s1.artist = s2.artist AND s1.album = s2.album<br />
AND s1.artist = 'Aerosmith')<br />
-- limit to Aerosmith for speed<br />
AND s1.artist = 'Aerosmith'</p></blockquote>
<p>More to come&#8230;</p>
<p>Tools:<br />
<a href="http://squirrel-sql.sourceforge.net/">SQurrel SQL </a>JDBC client<br />
<a href="http://sqlitebrowser.sourceforge.net">SQLite browser</a><br />
<a href="http://www.sqlite.org/lang_corefunc.html">SQLite core function reference</a><br />
<a href="http://www.sqlite.org/">SQLite page</a><br />
<a href="http://www.zentus.com/sqlitejdbc/">SQLiteJDBC</a> driver</p>
]]></content:encoded>
			<wfw:commentRss>http://chwalisz.org/2009/12/14/dedupe-musikcube-playlists/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Quicken 2009 R7</title>
		<link>http://chwalisz.org/2009/10/28/quicken-2009-r7/</link>
		<comments>http://chwalisz.org/2009/10/28/quicken-2009-r7/#comments</comments>
		<pubDate>Thu, 29 Oct 2009 01:39:29 +0000</pubDate>
		<dc:creator>dave</dc:creator>
				<category><![CDATA[Computers]]></category>
		<category><![CDATA[Musings]]></category>
		<category><![CDATA[howto]]></category>

		<guid isPermaLink="false">http://chwalisz.org/?p=395</guid>
		<description><![CDATA[<p>So got the online notice for Quicken 2009 that R7 is ready. I tried 4 times, got a &#8220;patching engine has failed&#8221; error. After some googling and using Filemon to find the log, and looking in the log, I found that one of the files was not being recognized as the correct version. Dead.</p>
<p>Today I [...]]]></description>
			<content:encoded><![CDATA[<p>So got the online notice for Quicken 2009 that R7 is ready. I tried 4 times, got a &#8220;patching engine has failed&#8221; error. After some googling and using <a href="http://technet.microsoft.com/en-us/sysinternals/bb896642.aspx">Filemon</a> to find the log, and looking in the log, I found that one of the files was not being recognized as the correct version. Dead.</p>
<p>Today I found <a href="http://quicken.intuit.com/support/articles/using-quicken/patches-and-updates/7531.html">this article</a> &#8211; they released a new version of the R7 patcher. Worked great.</p>
<p>Now the question: Upgrade to 2010?</p>
]]></content:encoded>
			<wfw:commentRss>http://chwalisz.org/2009/10/28/quicken-2009-r7/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Wordpress Upload error 500</title>
		<link>http://chwalisz.org/2009/09/02/wordpress-upload-error-500/</link>
		<comments>http://chwalisz.org/2009/09/02/wordpress-upload-error-500/#comments</comments>
		<pubDate>Thu, 03 Sep 2009 02:36:19 +0000</pubDate>
		<dc:creator>dave</dc:creator>
				<category><![CDATA[Computers]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[howto]]></category>

		<guid isPermaLink="false">http://chwalisz.org/?p=364</guid>
		<description><![CDATA[<p>I was working on the trideltamc.org wordpress installation and tested uploading pictures. Error 500. Huh.</p>
<p>A little googling. Found this article on Error 500 Wordpress 1&#038;1 Web Hosting. I already had a .htaccess file, but added the two lines &#8211; the first time I forgot the space and it blew up everything.</p>
<p>Thanks dude!</p>
]]></description>
			<content:encoded><![CDATA[<p>I was working on the trideltamc.org wordpress installation and tested uploading pictures. Error 500. Huh.</p>
<p>A little googling. Found this article on <a href="http://lolyfe.com/?p=1558&#038;cpage=1">Error 500 Wordpress 1&#038;1 Web Hosting</a>. I already had a .htaccess file, but added the two lines &#8211; the first time I forgot the space and it blew up everything.</p>
<p>Thanks dude!</p>
]]></content:encoded>
			<wfw:commentRss>http://chwalisz.org/2009/09/02/wordpress-upload-error-500/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
