<?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; howto</title>
	<atom:link href="http://chwalisz.org/category/howto/feed/" rel="self" type="application/rss+xml" />
	<link>http://chwalisz.org</link>
	<description>Stuff</description>
	<lastBuildDate>Sun, 01 Jan 2012 18:18:08 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>The Genius Continues : Instructable : Replacing the shock absorber in a Felco 7 Pruner</title>
		<link>http://chwalisz.org/2011/10/11/the-genius-continues-instructable-replacing-the-shock-absorber-in-a-felco-7-pruner/</link>
		<comments>http://chwalisz.org/2011/10/11/the-genius-continues-instructable-replacing-the-shock-absorber-in-a-felco-7-pruner/#comments</comments>
		<pubDate>Tue, 11 Oct 2011 23:55:46 +0000</pubDate>
		<dc:creator>dave</dc:creator>
				<category><![CDATA[howto]]></category>
		<category><![CDATA[felco]]></category>
		<category><![CDATA[garden]]></category>
		<category><![CDATA[instructable]]></category>
		<category><![CDATA[pad]]></category>
		<category><![CDATA[part]]></category>
		<category><![CDATA[pruner]]></category>
		<category><![CDATA[repair]]></category>
		<category><![CDATA[replacement]]></category>
		<category><![CDATA[tools]]></category>

		<guid isPermaLink="false">http://chwalisz.org/?p=817</guid>
		<description><![CDATA[<p>See my Instructable if you are rebuilding a Felco 7 Pruner&#8230; </p> <p></p>]]></description>
			<content:encoded><![CDATA[<div class='wp_fbs_top'></div><p>See my <a href="http://www.instructables.com/id/FELCO-7-Pruner-Rebuild-E-Z-Shock-Absorber-Replac" target="_blank">Instructable </a>if you are rebuilding a Felco 7 Pruner&#8230; </p>
<p><a href="http://www.instructables.com/id/FELCO-7-Pruner-Rebuild-E-Z-Shock-Absorber-Replac/"><img alt="Pruner Repair Image" src="http://www.instructables.com/files/deriv/FO9/D0RH/GTMPB2O0/FO9D0RHGTMPB2O0.MEDIUM.jpg" title="Pruner Repair Image" class="alignnone" width="500" height="375" /></a></p>]]></content:encoded>
			<wfw:commentRss>http://chwalisz.org/2011/10/11/the-genius-continues-instructable-replacing-the-shock-absorber-in-a-felco-7-pruner/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Centos Fun with a locked Boot. Thanks, Hudson 2.1.1.</title>
		<link>http://chwalisz.org/2011/09/02/centos-fun-with-a-locked-boot-thanks-hudson-2-1-1/</link>
		<comments>http://chwalisz.org/2011/09/02/centos-fun-with-a-locked-boot-thanks-hudson-2-1-1/#comments</comments>
		<pubDate>Fri, 02 Sep 2011 21:55:29 +0000</pubDate>
		<dc:creator>dave</dc:creator>
				<category><![CDATA[Computers]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[Software]]></category>

		<guid isPermaLink="false">http://chwalisz.org/?p=787</guid>
		<description><![CDATA[<p>Say the Hudson script locks up during boot, for example, after you upgrade to 2.1.1 and it does not work and someone said removing the &#8211;daemon argument makes it work and something else fails so you roll back the hudson.war and restart and it now locks up on boot. No SSH &#8211; sshd is the [...]]]></description>
			<content:encoded><![CDATA[<div class='wp_fbs_top'></div><p>Say the Hudson script locks up during boot, for example, after you upgrade to 2.1.1 and it does not work and someone said removing the &#8211;daemon argument makes it work and something else fails so you roll back the hudson.war and restart and it now locks up on boot. No SSH &#8211; sshd is the next service to load. I had to &#8220;power down&#8221; the VM, and tried to &#8220;<a href="http://www.cyberciti.biz/tips/10-boot-time-parameters-you-should-know-about-the-linux-kernel.html">force the runlevel</a>&#8220;: several ways, say, using &#8220;init=/bin/sh 3&#8243;. Nothing worked. </p>
<p>The obvious thing is to do the Interactive Boot (type I). Someone said this didn&#8217;t work, so I didn&#8217;t try. Liars. Worked great. Said &#8220;Y&#8221; until I hit Hudson, typed &#8220;N&#8221;, and then &#8220;C&#8221;ontinue&#8230; voila!</p>
<p>2.1.1 has some problems. Wait until 2.1.2 at least.</p>]]></content:encoded>
			<wfw:commentRss>http://chwalisz.org/2011/09/02/centos-fun-with-a-locked-boot-thanks-hudson-2-1-1/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Upgrading Atahualpa</title>
		<link>http://chwalisz.org/2011/07/31/upgrading-atahualpa/</link>
		<comments>http://chwalisz.org/2011/07/31/upgrading-atahualpa/#comments</comments>
		<pubDate>Mon, 01 Aug 2011 02:00:33 +0000</pubDate>
		<dc:creator>dave</dc:creator>
				<category><![CDATA[Computers]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[Atahualpa]]></category>
		<category><![CDATA[theme]]></category>
		<category><![CDATA[upgrade]]></category>
		<category><![CDATA[website]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://chwalisz.org/?p=776</guid>
		<description><![CDATA[<p>Did you know that if you upgrade the Atahualpa theme from the Update page in the WordPress Admin, it deletes all the custom header images in your website? </p> <p>Me neither.</p>]]></description>
			<content:encoded><![CDATA[<div class='wp_fbs_top'></div><p>Did you know that if you upgrade the <a href="http://wordpress.bytesforall.com/">Atahualpa</a> theme from the Update page in the WordPress Admin, it deletes all the custom header images in your website? </p>
<p>Me neither.</p>]]></content:encoded>
			<wfw:commentRss>http://chwalisz.org/2011/07/31/upgrading-atahualpa/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Pruning Tomatoes</title>
		<link>http://chwalisz.org/2011/07/16/pruning-tomatoes/</link>
		<comments>http://chwalisz.org/2011/07/16/pruning-tomatoes/#comments</comments>
		<pubDate>Sat, 16 Jul 2011 13:41:34 +0000</pubDate>
		<dc:creator>dave</dc:creator>
				<category><![CDATA[howto]]></category>
		<category><![CDATA[earthbox]]></category>
		<category><![CDATA[food]]></category>
		<category><![CDATA[gardening]]></category>
		<category><![CDATA[summer]]></category>
		<category><![CDATA[tomato]]></category>

		<guid isPermaLink="false">http://chwalisz.org/?p=763</guid>
		<description><![CDATA[<p>For a long time if have suspected pruning tomatoes would be beneficial, but, after examining the rat&#8217;s nest of green on my plants, it just looks too hard.</p> <p>This year, I have an Earthbox with two cherry tomatoes, heirloom Black Cherry and Tomato Berry, from W&#038;M Land Corp from the Woodstock Farmer&#8217;s Market. Note the [...]]]></description>
			<content:encoded><![CDATA[<div class='wp_fbs_top'></div><p>For a long time if have suspected pruning tomatoes would be beneficial, but, after examining the rat&#8217;s nest of green on my plants, it just looks too hard.</p>
<p>This year, I have an <a href="http://www.earthbox.com/">Earthbox </a>with two cherry tomatoes, heirloom Black Cherry and Tomato Berry, from <a href="http://www.wmlandcorp.com/">W&#038;M Land Corp</a> from the <a href="http://www.woodstockfarmersmarket.org/">Woodstock Farmer&#8217;s Market</a>. Note the mechanics creeper which allows me to push it around the deck for cleaning and access. Of course, in the recent 70-MPH <a href="http://en.wikipedia.org/wiki/Derecho">derecho </a>we had, it tipped over, so I now have a bungee cord to hold it to the deck.<br />
<a href="http://chwalisz.org/2011/07/16/pruning-tomatoes/img_2859-300px/" rel="attachment wp-att-769"><img src="http://chwalisz.org/wp-content/uploads/2011/07/IMG_2859-300px.jpg" alt="Earthbox with Tomatoes Summer 2011" title="Earthbox with Tomatoes Summer 2011" width="300" height="400" class="aligncenter size-full wp-image-769" /></a></p>
<p>And I found a <a href="http://knol.google.com/k/three-finger-method-to-pruning-tomatoes-in-pictures#">great article on tomato pruning</a> with a clear drawing, so I gave it a try. </p>
<p>Once you start pruning, it&#8217;s hard to stop. Make sure you look at the pile and you should only take off stuff in 30% chunks. </p>]]></content:encoded>
			<wfw:commentRss>http://chwalisz.org/2011/07/16/pruning-tomatoes/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Upgrading WordPress in Bulk</title>
		<link>http://chwalisz.org/2011/04/17/upgrading-wordpress-in-bulk/</link>
		<comments>http://chwalisz.org/2011/04/17/upgrading-wordpress-in-bulk/#comments</comments>
		<pubDate>Sun, 17 Apr 2011 15:05:54 +0000</pubDate>
		<dc:creator>dave</dc:creator>
				<category><![CDATA[Computers]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[blog]]></category>
		<category><![CDATA[maintenance]]></category>
		<category><![CDATA[svn]]></category>
		<category><![CDATA[upgrade]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://chwalisz.org/?p=749</guid>
		<description><![CDATA[<p>Of course there is the old faithful Updating_WordPress_with_Subversion and Upgrading_WordPress_Extended, but there is a lot of fluff there. Old blogs are &#8220;You are using WordPress 2.9.1&#8243;. Show me the command lines.</p> <p>Certainly.</p> &#8220;Backup your database. Read Backing Up Your Database for a detailed explanation.&#8221; Use Plugin WP-DB-Backup from http://austinmatzko.com/wordpress-plugins/wp-db-backup/ Download it &#8211; make sure the copy is here. [...]]]></description>
			<content:encoded><![CDATA[<div class='wp_fbs_top'></div><p>Of course there is the old faithful <a href="http://codex.wordpress.org/Installing/Updating_WordPress_with_Subversion">Updating_WordPress_with_Subversion</a> and <a href="http://codex.wordpress.org/Upgrading_WordPress_Extended">Upgrading_WordPress_Extended</a>, but there is a lot of fluff there. Old blogs are &#8220;You are using WordPress 2.9.1&#8243;. Show me the command lines.</p>
<p>Certainly.</p>
<ul>
<li>&#8220;Backup your database. Read <a href="http://codex.wordpress.org/Backing_Up_Your_Database#Using_WordPress_Database_Backup_Plugin">Backing Up Your Database</a> for a detailed explanation.&#8221;
<ul>
<li>Use Plugin WP-DB-Backup from http://austinmatzko.com/wordpress-plugins/wp-db-backup/</li>
<li>Download it &#8211; make sure the copy is here. Open it up.</li>
</ul>
</li>
<li>&#8220;Backup ALL your WordPress files in your WordPress directory. Don&#8217;t forget your .htaccess file.&#8221;
<ul>
<li>Make a local shadow directory
<ul>
<li><code>$ rsync -vur ./sarajane/ ./backups/sarajane-snapshot-20110416/</code></li>
</ul>
</li>
<li>Make a tar file for download for archive</li>
<li><code>$ tar cvf sarajane-snapshot-20110416.tar sarajane/</code></li>
<li><code>$ gzip sarajane-snapshot-20110416.tar</code></li>
<li>Verify the backups you created are there and usable. This is essential.</li>
</ul>
</li>
<li>&#8220;Deactivate ALL your Plugins.&#8221;</li>
<li>&#8220;Ensure first four steps are completed. Do not attempt the upgrade unless you have completed the first four steps.&#8221;</li>
<li>Gotta upgrade the MYSQL Database? I did&#8230; The nice thing is, use two different ones. Since you saved the original directory, you can switch back to old state and db by replacing the directory.
<ul>
<li>Per <a href="http://codex.wordpress.org/Backing_Up_Your_Database#Backing_Up_the_Database">Backing_Up_the_Database </a>
<ul>
<li><code>$ mysqldump --add-drop-table -h mysqlservername  -u mysqlusername -p dbname&gt; ms-db-backup-20110416.sql</code></li>
</ul>
</li>
</ul>
<ul>
<li>Per <a href="http://codex.wordpress.org/Restoring_Your_Database_From_Backup">Restoring_Your_Database_From_Backup</a>
<ul>
<li><code>$ mysql -h mysqlservername -u mysqlusername-p dbname&lt; ms-db-backup-20110416.sql</code></li>
</ul>
</li>
</ul>
</li>
<li>edit wp-config.php (save the old one)<a href="http://codex.wordpress.org/Restoring_Your_Database_From_Backup"></a></li>
<li><code>$ cp wp-config.php wp-config.php.save</code></li>
<li><code>$ vi wp-config.php ...</code></li>
<li>Use new SVN install into new folder</li>
<ul>
<li><code>$ mkdir sarajane2</code></li>
<li><code>$ cd sarajane2</code></li>
<li><code>$ svn co http://core.svn.wordpress.org/tags/3.1.1 .</code></li>
</ul>
</li>
<li>Copy these files from your old site to the new
<ul>
<li><code>$ export OLDBLOG=$HOME/sarajane</code></li>
<li><code>$ export NEWBLOG=$HOME/sarajane2</code></li>
<li><code>$ cp $OLDBLOG/wp-config.php $NEWBLOG/</code></li>
<li><code>$ ls $OLDBLOG/wp-content/cache</code></li>
<li><code>$ rm -rf $OLDBLOG/wp-content/cache</code></li>
<li><code>$ ls $OLDBLOG/wp-content/plugins/widgets</code></li>
<li><code> $ rm -rf $OLDBLOG/wp-content/plugins/widgets</code></li>
<li><code>$ rsync -vur --exclude=.svn/  $OLDBLOG/wp-content/ $NEWBLOG/wp-content</code></li>
</ul>
</li>
<li># this only is in older WP installs
<ul>
<li><code>$ rsync -vur --exclude=.svn/  $OLDBLOG/wp-images/ $NEWBLOG/wp-images</code></li>
<li><code>$ cp sarajane/.htaccess sarajane2</code></li>
</ul>
</li>
<li>Swap directories
<ul>
<li><code>$ mv sarajane sarajane0</code></li>
<li><code>$ mv sarajane2 sarajane</code></li>
</ul>
</li>
<li>Hit the upgrade link
<ul>
<li><a href="http://sarajane.info/wp-admin/upgrade.php">http://localhost/wp-admin/upgrade.php</a></li>
</ul>
</li>
</ul>
<p>Atualhalpa stores settings in the database, so you don&#8217;t have to copy anything.</p>]]></content:encoded>
			<wfw:commentRss>http://chwalisz.org/2011/04/17/upgrading-wordpress-in-bulk/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Final ledger entries</title>
		<link>http://chwalisz.org/2011/04/16/final-ledger-entries/</link>
		<comments>http://chwalisz.org/2011/04/16/final-ledger-entries/#comments</comments>
		<pubDate>Sat, 16 Apr 2011 13:49:24 +0000</pubDate>
		<dc:creator>dave</dc:creator>
				<category><![CDATA[Computers]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[accounting]]></category>
		<category><![CDATA[quicken]]></category>

		<guid isPermaLink="false">http://chwalisz.org/?p=727</guid>
		<description><![CDATA[<p>For three days now I have been trying to figure out how to account for payments to the Clinic via PayPal. The money goes into my personal PayPal account, and credits against money owed me for expenses, but I just don&#8217;t want to post the delta, I want to track what happened so the cash [...]]]></description>
			<content:encoded><![CDATA[<div class='wp_fbs_top'></div><p>For three days now I have been trying to figure out how to account for payments to the Clinic via PayPal. The money goes into my personal PayPal account, and credits against money owed me for expenses, but I just don&#8217;t want to post the delta, I want to track what happened so the cash flow report is accurate. I tried a lot of accounts, but always ended up with the debits and credit balances fighting so the cash flow was backwards. Then I read <a href="http://community.intuit.com/posts/record-the-paypal-fee-and-the-net-amount-to-give-me-the-total-paid">this post</a> who recommended that I treat the PayPal account like a bank account. I created &#8220;PayPal Bank&#8221;, receipts were deposits, and actual transfers into the account were transfers. Works like a charm.</p>
<p>So how do I account for donations of cash? Duh. <a href="http://canbootcamp.blogspot.com/2006/10/donation-transactions.html">Contribution Revenue</a>. </p>
<p>It&#8217;s so nice when things work out. Now I can actually finish the books and work on my OWN taxes.</p>]]></content:encoded>
			<wfw:commentRss>http://chwalisz.org/2011/04/16/final-ledger-entries/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Why Unix Rocks &#8211; cat</title>
		<link>http://chwalisz.org/2011/02/18/721/</link>
		<comments>http://chwalisz.org/2011/02/18/721/#comments</comments>
		<pubDate>Fri, 18 Feb 2011 13:12:14 +0000</pubDate>
		<dc:creator>dave</dc:creator>
				<category><![CDATA[Computers]]></category>
		<category><![CDATA[howto]]></category>

		<guid isPermaLink="false">http://chwalisz.org/?p=721</guid>
		<description><![CDATA[<p>I got an email from a friend where the Word doc attachment was broken into 19 pieces and Base64 encoded. I started to open each file and copy out the payload, then got bored and considered a Perl script.</p> <p>What&#8217;s the simplest thing?</p> <p>First have a batch file: copy p1 + p2 temp1 copy p3+temp1 [...]]]></description>
			<content:encoded><![CDATA[<div class='wp_fbs_top'></div><p>I got an email from a friend where the Word doc attachment was broken into 19 pieces and Base64 encoded. I started to open each file and copy out the payload, then got bored and considered a Perl script.</p>
<p>What&#8217;s the simplest thing?</p>
<p>First have a batch file:<br />
<code>copy p1 + p2 temp1<br />
copy p3+temp1 temp2<br />
copy p4+temp2 temp3<br />
...</code></p>
<p>Nuts. I gave up typing. Too much thinking.</p>
<p>Create a small batch file via <code>dir /b</code>:<br />
<code>cat "Stained Glass Book StAnnsStainedGlass.docx [01_19].eml" > fred.docx<br />
cat "Stained Glass Book StAnnsStainedGlass.docx [02_19].eml" >> fred.docx<br />
..<br />
cat "Stained Glass Book StAnnsStainedGlass.docx [19_19].eml" >> fred.docx<br />
</code></p>
<p>Then edit <code>fred.docx</code> using <a href="http://www.scintilla.org/SciTE.html">Scite</a>, looking for an X-header to remove the headers. Probably could have used <code>grep</code> or <code>sed</code>, but for 19 edits, why look up the command line options?</p>
<p>Then run <code>base64 -d -i fred.docx  >ff.docx</code>. The -i handles stuff I missed.</p>
<p>Works great. Of course, you need the Unix utils via <a href="http://www.cygwin.com/">cygwin</a>. It should be built into Windows. Or we should just use <a href="http://www.ubuntu.com/">Ubuntu</a>&#8230;</p>
<p>Or maybe <code>type filename >> target</code> would work. Whatever.</p>]]></content:encoded>
			<wfw:commentRss>http://chwalisz.org/2011/02/18/721/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WP 3.0.1 and Atahualpa</title>
		<link>http://chwalisz.org/2010/12/05/wp301-and-atahualpa/</link>
		<comments>http://chwalisz.org/2010/12/05/wp301-and-atahualpa/#comments</comments>
		<pubDate>Sun, 05 Dec 2010 20:56:23 +0000</pubDate>
		<dc:creator>dave</dc:creator>
				<category><![CDATA[Computers]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[blog]]></category>
		<category><![CDATA[fail]]></category>
		<category><![CDATA[hosting]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[problem]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[upgrade]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://chwalisz.org/?p=687</guid>
		<description><![CDATA[<p>So I upgrade to WP 3.0.1 using Atahualpa and cannot edit pages. Page, edit, left menu but no text, no nothing. Bad. Have to hold off upgrading all the other blogs. Upgrade Atahualpa to 3.5.3. No good.</p> <p>After weeks of search, found this post which sez PHP4 does not cut it.</p> <p>What does 1&#038;1 supply [...]]]></description>
			<content:encoded><![CDATA[<div class='wp_fbs_top'></div><p>So I upgrade to WP 3.0.1 using <a href="http://wordpress.org/extend/themes/profile/bytesforall">Atahualpa </a>and cannot edit pages. Page, edit, left menu but no text, no nothing. Bad. Have to hold off upgrading all the other blogs.  Upgrade Atahualpa to 3.5.3. No good.</p>
<p>After weeks of search, found<a href="http://forum.bytesforall.com/showthread.php?t=11276"> this post</a> which sez PHP4 does not cut it.</p>
<p>What does 1&#038;1 supply by default?<br />
<code><br />
(uiserver):xxxxxx:~/xxxxxx> php --version<br />
PHP 4.4.9 (cgi) (built: Aug 12 2008 13:28:34)<br />
Copyright (c) 1997-2008 The PHP Group<br />
Zend Engine v1.3.0, Copyright (c) 1998-2004 Zend Technologies</code></p>
<p>Update .htaccess. Add: </p>
<p><code>AddType x-mapp-php5 .php</code></p>
<p>Works nice. Thank you very much.</p>]]></content:encoded>
			<wfw:commentRss>http://chwalisz.org/2010/12/05/wp301-and-atahualpa/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Migrating to Mercurial</title>
		<link>http://chwalisz.org/2010/11/07/migrating-to-mercurial/</link>
		<comments>http://chwalisz.org/2010/11/07/migrating-to-mercurial/#comments</comments>
		<pubDate>Sun, 07 Nov 2010 17:52:43 +0000</pubDate>
		<dc:creator>dave</dc:creator>
				<category><![CDATA[Computers]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[cvs]]></category>
		<category><![CDATA[hg]]></category>
		<category><![CDATA[mercurial]]></category>
		<category><![CDATA[scm]]></category>
		<category><![CDATA[source control]]></category>

		<guid isPermaLink="false">http://chwalisz.org/?p=657</guid>
		<description><![CDATA[<p>I have been wrestling with converting my old source code projects to a modern source control system and in some cases source control at all. At one point, I tried using a converter from CVS to Subversion, with lousy results. Fast-forward to today, where, armed with a new installation of Mercurial and some experience working [...]]]></description>
			<content:encoded><![CDATA[<div class='wp_fbs_top'></div><p>I have been wrestling with converting my old source code projects to a modern source control system and in some cases source control at all. At one point, I tried using a converter from CVS to Subversion, with lousy results. Fast-forward to today, where, armed with a new installation of Mercurial and some experience working with Mercurial transferring bin folder from machine to machine, I felt ready to give it another go.</p>
<p>First Google. I found that the latest Mercurial (TortoiseHg) has built-in support for conversions from many popular source control systems. The trick error was turning it on as by default the conversion plug-ins are not active. So I opened global options in TortoiseHg and activate the convert plug-in. this modifies the mercurial.ini/.hgrc file with the correct settings and then the command line <code>hg convert</code> returns conversion options.</p>
<p>The CVS conversion requires a checked out repository, not the source CVS files. So my first problem was checking out the repository which had not been refreshed from a recent disc crash. on the new machine I did not have CVS, so I had to upgrade Cygwin setup, then add the CVS command line client. I use after struggling with the Windows tortoise CVS checkout and the Windows CVS checkout, I open the seat Cygwin bash shell and performed the check out there.</p>
<p>First I was able to look in the D:\Data\cvsrepos\ dir and get the list of modules. The first was the <code>dev</code> module.</p>
<p>In bash:<br />
<code>$ export CVSROOT=:local:/cygdrive/d/data/cvsrepos<br />
$ cvs co dev</code></p>
<p>In CMD:<br />
<code>> hg init<br />
> hg convert -s cvs -d hg C:\cygwin\home\Dave\cvsco\dev<br />
assuming destination dev-hg<br />
initializing destination dev-hg repository<br />
connecting to :local:/cygdrive/d/data/cvsrepos<br />
scanning source...<br />
collecting CVS rlog<br />
100 CDCompare/FileItem.cpp<br />
200 CDCompare/winsub/res/winsub.ico<br />
300 PSA/PSAPrint/res/PSAPrint.ico<br />
...<br />
2953 log entries<br />
creating changesets<br />
100 This is work done on a branch from the original code. I think I was tryin...<br />
200 update from p2.1.dll.all.zip<br />
205 changeset entries<br />
sorting...<br />
converting...<br />
204 Source for CDCompare project<br />
203 Add CancelDlg module<br />
...<br />
C:\Users\Dave\cvsco>      1 [main] cvs 6128 C:\cygwin\bin\cvs.exe: *** fatal err<br />
or - cmalloc would have returned NULL<br />
Stack trace:<br />
Frame     Function  Args<br />
0022B4F8  6102749B  (0022B4F8, 00000000, 00000000, 00000080)<br />
0022B7E8  6102749B  (61177B80, 00008000, 00000000, 61179977)<br />
...<br />
0022CC08  61116E6A  (00000000, 00000000, 0022CD18, 610C01A5)<br />
0022CC18  61004C8B  (00000000, 10438204, 00000001, 0048C300)<br />
End of stack trace (more stack frames may be present)<br />
</code></p>
<p>Let me just say aargh here&#8230;I seem to remember trying this before and getting the same result. I also remember firing up a Linux VM, copying the repository, checking out there, and then trying the conversion. Of course, I don&#8217;t know where the repository is so I think I might get to do it all over again. No wonder I never can finish anything. It&#8217;s so hard to get there from here.</p>
<p>Anyway, fire up ubuntu. Start small. Share the cvsrepos folder on the Windows side, connect via &#8220;Connect to Server&#8230;&#8221; on Ubuntu to the SMB by IP. Now what is the CVSROOT? When you attach to an SMB server, where is it mounted. Sensibly, in Mac OSX, /Volumes/sharename. Here, found by dragging link from FileBrowser onto terminal, and it coughed up a link.<br />
<code>$ export CVSROOT='/home/dave/.gvfs/cvsrepos on 192.168.0.140'<br />
$ cvs co lib<br />
$ hg convert -s cvs -d hg ./lib<br />
$ cd lib-hg/<br />
$ hg push http://provider.org/username/lib </code></p>
<p>Repeat five more times. I am now done with CVS.</p>]]></content:encoded>
			<wfw:commentRss>http://chwalisz.org/2010/11/07/migrating-to-mercurial/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<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[howto]]></category>
		<category><![CDATA[Musings]]></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 [...]]]></description>
			<content:encoded><![CDATA[<div class='wp_fbs_top'></div><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>
	</channel>
</rss>

