<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>bookweevil</title>
	<atom:link href="http://bookweevil.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://bookweevil.wordpress.com</link>
	<description>bits and bobs</description>
	<lastBuildDate>Thu, 14 Jan 2010 01:46:13 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='bookweevil.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>bookweevil</title>
		<link>http://bookweevil.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://bookweevil.wordpress.com/osd.xml" title="bookweevil" />
	<atom:link rel='hub' href='http://bookweevil.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Colourizing mercurial output when piping to less</title>
		<link>http://bookweevil.wordpress.com/2010/01/14/colorizing-mercurial-output-when-piping-to-less/</link>
		<comments>http://bookweevil.wordpress.com/2010/01/14/colorizing-mercurial-output-when-piping-to-less/#comments</comments>
		<pubDate>Thu, 14 Jan 2010 01:43:17 +0000</pubDate>
		<dc:creator>bookweevil</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[color colour mercurial hg pipe less colorization colourisation]]></category>

		<guid isPermaLink="false">http://bookweevil.wordpress.com/?p=114</guid>
		<description><![CDATA[From at least version 1.3.1 onwards, it looks like mercurial will colourize the output of commands like &#8220;hg diff&#8221; (for instance), making them much easier to read on-screen. However, when it detects that output is going to a pipe rather than a terminal, it normally turns colourization off. You can turn it back on using [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=bookweevil.wordpress.com&amp;blog=1030261&amp;post=114&amp;subd=bookweevil&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>From at least version 1.3.1 onwards, it looks like <a title="mercurial scm" href="http://mercurial.selenic.com/">mercurial</a> will colourize the output of commands like &#8220;hg diff&#8221; (for instance), making them much easier to read on-screen.</p>
<p>However, when it detects that output is going to a pipe rather than a terminal, it normally turns colourization off.</p>
<p>You can turn it back on using the &#8220;&#8211;color=always&#8221; argument; and if you&#8217;re piping to &#8220;less&#8221;, then &#8220;less -R&#8221; will cause it to recognize ANSI colour escape sequences. For example:</p>
<pre style="padding-left:30px;">  hg diff --color=always | less -R</pre>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/bookweevil.wordpress.com/114/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/bookweevil.wordpress.com/114/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/bookweevil.wordpress.com/114/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/bookweevil.wordpress.com/114/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/bookweevil.wordpress.com/114/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/bookweevil.wordpress.com/114/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/bookweevil.wordpress.com/114/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/bookweevil.wordpress.com/114/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/bookweevil.wordpress.com/114/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/bookweevil.wordpress.com/114/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/bookweevil.wordpress.com/114/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/bookweevil.wordpress.com/114/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/bookweevil.wordpress.com/114/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/bookweevil.wordpress.com/114/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=bookweevil.wordpress.com&amp;blog=1030261&amp;post=114&amp;subd=bookweevil&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://bookweevil.wordpress.com/2010/01/14/colorizing-mercurial-output-when-piping-to-less/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/ddb1a2da2e9fe2ac1bd70b158b6b8d55?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">bookweevil</media:title>
		</media:content>
	</item>
		<item>
		<title>Recovering a misconfigured or mis-flashed Linksys WRT54G from Windows XP</title>
		<link>http://bookweevil.wordpress.com/2009/06/07/recovering-a-misconfigured-or-mis-flashed-linksys-wrt54g-from-windows-xp/</link>
		<comments>http://bookweevil.wordpress.com/2009/06/07/recovering-a-misconfigured-or-mis-flashed-linksys-wrt54g-from-windows-xp/#comments</comments>
		<pubDate>Sun, 07 Jun 2009 07:23:54 +0000</pubDate>
		<dc:creator>bookweevil</dc:creator>
				<category><![CDATA[router configuration]]></category>

		<guid isPermaLink="false">http://bookweevil.wordpress.com/?p=105</guid>
		<description><![CDATA[Here&#8217;s the steps I took to restore the Linksys firmware to my (probably just misconfigured) WRT54G router after a failed attempt to upload third-party firmware &#8211; basically, the steps are summarised from the dd-wrt recovery page. You&#8217;ll need a known good firmware image in .bin format (e.g. WRT54GV4.0_4.21.1_US_code.bin from the Linksys site), and your PC [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=bookweevil.wordpress.com&amp;blog=1030261&amp;post=105&amp;subd=bookweevil&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Here&#8217;s the steps I took to restore the Linksys firmware to my (probably just misconfigured) WRT54G router after a failed attempt to upload third-party firmware &#8211; basically, the steps are summarised from the <a title="Recover from a Bad Flash" href="http://www.dd-wrt.com/wiki/index.php/Recover_from_a_Bad_Flash">dd-wrt recovery page</a>.</p>
<p>You&#8217;ll need a known good firmware image in .bin format (e.g. <a title="Linksys firmware for the WRT54G, version 4.21.1" href="http://downloads.linksysbycisco.com/downloads/WRT54G_v4.21.1_fw,1.zip">WRT54GV4.0_4.21.1_US_code.bin from the Linksys site</a>), and your PC should be connected to your router via one of the ethernet ports.</p>
<ol>
<li>First see if a <strong>hard reset</strong> fixes the problem (power off, wait a bit, power on, hold down the reset button for 30 secs).</li>
<li>Assuming it doesn&#8217;t: <a title="Google search for &quot;windows xp assign static ip address&quot;" href="http://www.google.com.au/search?q=windows+xp+assign+static+ip+address">configure your PC to assign itself a static IP address</a> for the relevant network interface &#8211; e.g. 192.168.1.70.</li>
<li>In a command prompt window, run the following command:
<pre style="padding-left:30px;">ping -t -w 2 192.168.1.1</pre>
<p>This continually pings the target address, with a timeout of 2 milliseconds.</li>
<li>In another command prompt window, go to the directory where your firmware image is located. Type the following, but do not hit <kbd>enter</kbd>:
<pre style="padding-left:30px;">tftp -i 192.168.1.1 PUT <em>&lt;name of firmware image file&gt;</em></pre>
</li>
<li>While keeping an eye on window 1 (with the <code>ping</code> command running), power off the router, then power it back on. While the router is off, <code>ping</code> obviously will have no route to the destination. But within a couple of seconds of turning it back on, you should see a response &#8211; e.g.:
<pre style="padding-left:30px;">Reply from 192.168.1.1: bytes=32 time=9ms TTL=255</pre>
<p>As soon as you see a response &#8211; perform the actions in step 6.</li>
<li>In the window with the <code>tftp</code> command ready to be run &#8211; hit the <kbd>Enter</kbd> key. <code>tftp</code> may take a while (a minute or two, at 10 Mbps) to upload an image &#8211; but hopefully it will complete, and report that the transfer was successful:
<pre style="padding-left:30px;">Transfer successful: 3122208 bytes in 55 seconds, 56767 bytes/s</pre>
</li>
</ol>
<p>If it doesn&#8217;t work, there&#8217;s a variation you can try: configure your network interface to use a lower speed. In &#8220;Network connections&#8221; (from the Control Panel), right-click on the relevant connection and select &#8220;properties&#8221;. Click the &#8220;Configure &#8230;&#8221; button near the top right. Select the &#8220;Advanced&#8221; tab. The exact setting you&#8217;ll have to change then depends on the exact hardware and driver you&#8217;re using, but for mine, theproperty to change is &#8220;Speed &amp; Duplex&#8221;.</p>
<div id="attachment_109" class="wp-caption aligncenter" style="width: 276px"><a rel="attachment wp-att-109" href="http://bookweevil.wordpress.com/2009/06/07/recovering-a-misconfigured-or-mis-flashed-linksys-wrt54g-from-windows-xp/nic_config/"><img class="size-medium wp-image-109" title="Advanced settings for a network interface" src="http://bookweevil.files.wordpress.com/2009/06/nic_config.png?w=266&#038;h=300" alt="Advanced settings for a network interface" width="266" height="300" /></a><p class="wp-caption-text">Advanced settings for a network interface</p></div>
<p>It should be set to &#8220;Auto&#8221; or something similar. Set it to &#8220;10 Mbps half duplex&#8221; and try <code>tftp</code>ing again. (Remember to set it back once everything&#8217;s working again!)</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/bookweevil.wordpress.com/105/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/bookweevil.wordpress.com/105/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/bookweevil.wordpress.com/105/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/bookweevil.wordpress.com/105/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/bookweevil.wordpress.com/105/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/bookweevil.wordpress.com/105/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/bookweevil.wordpress.com/105/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/bookweevil.wordpress.com/105/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/bookweevil.wordpress.com/105/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/bookweevil.wordpress.com/105/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/bookweevil.wordpress.com/105/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/bookweevil.wordpress.com/105/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/bookweevil.wordpress.com/105/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/bookweevil.wordpress.com/105/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=bookweevil.wordpress.com&amp;blog=1030261&amp;post=105&amp;subd=bookweevil&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://bookweevil.wordpress.com/2009/06/07/recovering-a-misconfigured-or-mis-flashed-linksys-wrt54g-from-windows-xp/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/ddb1a2da2e9fe2ac1bd70b158b6b8d55?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">bookweevil</media:title>
		</media:content>

		<media:content url="http://bookweevil.files.wordpress.com/2009/06/nic_config.png?w=266" medium="image">
			<media:title type="html">Advanced settings for a network interface</media:title>
		</media:content>
	</item>
		<item>
		<title>How the Left turned to the Right &#8211; Times Online</title>
		<link>http://bookweevil.wordpress.com/2009/05/24/how-the-left-turned-to-the-right-times-online/</link>
		<comments>http://bookweevil.wordpress.com/2009/05/24/how-the-left-turned-to-the-right-times-online/#comments</comments>
		<pubDate>Sun, 24 May 2009 06:03:03 +0000</pubDate>
		<dc:creator>bookweevil</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://bookweevil.wordpress.com/?p=100</guid>
		<description><![CDATA[Re Anthony&#8216;s posting of: How the Left turned to the Right &#8211; Times Online. It&#8217;s very sad. &#8220;Left&#8221; so often seems to be a synonym for &#8220;weak in the head&#8221;. (Not in your case, though, obviously, Anthony. Your head is very strong, with an attractive yet durable high-gloss finish.) Many people who claim to espouse [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=bookweevil.wordpress.com&amp;blog=1030261&amp;post=100&amp;subd=bookweevil&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Re <a title="Dr Anthony Langlois" href="http://www.socsci.flinders.edu.au/spis/staff/langlois.php">Anthony</a>&#8216;s posting of: <a href="http://www.facebook.com/ext/share.php?sid=96749473271&amp;h=gCFzp&amp;u=ZAkGr&amp;ref=nf" target="_blank">How the Left turned to the Right &#8211; Times Online</a>. It&#8217;s very sad. &#8220;Left&#8221; so often seems to be a synonym for &#8220;weak in the head&#8221;. (Not in your case, though, obviously, Anthony. Your head is very strong, with an attractive yet durable high-gloss finish.) Many people who claim to espouse left-wing ideals have the most bizarre notions of what this means. Defending Muslims&#8217; &#8220;right&#8221; to not be offended or insulted is just one of the idiocies they have succumbed to.</p>
<p>Other examples which spring to mind of the empty-headedness of allegedly &#8220;Left wing&#8221; politicians include the human-rights- and natural-justice-denying <a href="http://www.thestar.com/news/insight/article/635490">Anti-Social Behaviour Order</a> system, which allows anyone to obtain a court order preventing anyone else from doing something that they find irritating, &#8220;alarming,&#8221; or &#8220;threatening&#8221;; and <a href="http://sanseverything.wordpress.com/2008/03/14/tony-blair-friend-of-creationism/">Tony Blair</a>&#8216;s apparent inability to distinguish fiction from reality. (While PM, in the interests of promoting &#8220;<a href="http://www.publications.parliament.uk/pa/cm200102/cmhansrd/vo020313/debtext/20313-03.htm#20313-03_wqn6">a more diverse school system</a>&#8220;, he <a href="http://www.angelfire.com/nb/lt/docs/called30.htm">tried</a> to prevent a state-funded school, Emmanuel College, from being forced to provide an adequate education to children, instead of teaching them Creationist doctrines. In 1999, the <a href="http://newhumanist.org.uk/605">New Humanist</a> reported, his government &#8220;recruited a Feng Shui consultant, Renuka Wickmaratne, for advice on how to improve inner-city council estates. &#8216;Red and orange flowers would reduce crime,&#8217; she concluded, &#8216;and introducing a water feature would reduce poverty. I was brought up with this ancient knowledge.&#8217;&#8221;)</p>
<p>Not that the political Right are any less guilty of imbecility, of course &#8230; but I really should be finishing an essay on project management methodologies, so I will have to leave the marvellous world of right-wing religious delusions for another time.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/bookweevil.wordpress.com/100/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/bookweevil.wordpress.com/100/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/bookweevil.wordpress.com/100/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/bookweevil.wordpress.com/100/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/bookweevil.wordpress.com/100/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/bookweevil.wordpress.com/100/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/bookweevil.wordpress.com/100/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/bookweevil.wordpress.com/100/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/bookweevil.wordpress.com/100/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/bookweevil.wordpress.com/100/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/bookweevil.wordpress.com/100/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/bookweevil.wordpress.com/100/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/bookweevil.wordpress.com/100/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/bookweevil.wordpress.com/100/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=bookweevil.wordpress.com&amp;blog=1030261&amp;post=100&amp;subd=bookweevil&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://bookweevil.wordpress.com/2009/05/24/how-the-left-turned-to-the-right-times-online/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/ddb1a2da2e9fe2ac1bd70b158b6b8d55?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">bookweevil</media:title>
		</media:content>
	</item>
		<item>
		<title>Some literature on considerations of morality in economic theory</title>
		<link>http://bookweevil.wordpress.com/2009/05/05/some-literature-on-considerations-of-morality-in-economic-theory/</link>
		<comments>http://bookweevil.wordpress.com/2009/05/05/some-literature-on-considerations-of-morality-in-economic-theory/#comments</comments>
		<pubDate>Tue, 05 May 2009 10:11:49 +0000</pubDate>
		<dc:creator>bookweevil</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://bookweevil.wordpress.com/?p=95</guid>
		<description><![CDATA[Beckert, Jens, Bettina Hollstein, Edward W. Lehman, David Marsden, and Amitai Etzioni. 2007. Amitai Etzioni &#8211; Twenty years of &#8216;The Moral Dimension: Toward a New Economics&#8217;. Socioecon Rev (December 4): mwm021. doi:10.1093/ser/mwm021. Bowles, Samuel. 1998. Endogenous Preferences: The Cultural Consequences of Markets and Other Economic Institutions. Journal of Economic Literature 36, no. 1 (March): 75-111. [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=bookweevil.wordpress.com&amp;blog=1030261&amp;post=95&amp;subd=bookweevil&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Beckert, Jens, Bettina Hollstein, Edward W. Lehman, David Marsden, and Amitai Etzioni. 2007. Amitai Etzioni &#8211; Twenty years of &#8216;The Moral Dimension: Toward a New Economics&#8217;. <em>Socioecon Rev</em> (December 4): mwm021. doi:10.1093/ser/mwm021.</p>
<p>Bowles, Samuel. 1998. Endogenous Preferences: The Cultural Consequences of Markets and Other Economic Institutions. <em>Journal of Economic Literature</em> 36, no. 1 (March): 75-111. doi:10.2307/2564952.</p>
<p>Farina, Francesco, Frank Hahn, and Stefano Vannucci. 1996. <em>Ethics, rationality, and economic behaviour</em>. Oxford University Press.</p>
<p>Harsanyi, John C. 1955. Cardinal Welfare, Individualistic Ethics, and Interpersonal Comparisons of Utility. <em>Journal of Political Economy</em> 63, no. 4 (January 1): 309. doi:10.1086/257678.</p>
<p>Hausman, Daniel M., and Michael S. McPherson. 2006. <em>Economic analysis, moral philosophy, and public policy</em>. Cambridge University Press.</p>
<p>Rabin, Matthew. 1998. Psychology and Economics. <em>Journal of Economic Literature</em> 36, no. 1 (March): 11-46. doi:10.2307/2564950.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/bookweevil.wordpress.com/95/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/bookweevil.wordpress.com/95/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/bookweevil.wordpress.com/95/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/bookweevil.wordpress.com/95/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/bookweevil.wordpress.com/95/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/bookweevil.wordpress.com/95/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/bookweevil.wordpress.com/95/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/bookweevil.wordpress.com/95/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/bookweevil.wordpress.com/95/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/bookweevil.wordpress.com/95/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/bookweevil.wordpress.com/95/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/bookweevil.wordpress.com/95/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/bookweevil.wordpress.com/95/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/bookweevil.wordpress.com/95/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=bookweevil.wordpress.com&amp;blog=1030261&amp;post=95&amp;subd=bookweevil&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://bookweevil.wordpress.com/2009/05/05/some-literature-on-considerations-of-morality-in-economic-theory/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/ddb1a2da2e9fe2ac1bd70b158b6b8d55?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">bookweevil</media:title>
		</media:content>
	</item>
		<item>
		<title>button text disappearing in firefox</title>
		<link>http://bookweevil.wordpress.com/2009/03/07/button-text-disappearing-in-firefox/</link>
		<comments>http://bookweevil.wordpress.com/2009/03/07/button-text-disappearing-in-firefox/#comments</comments>
		<pubDate>Fri, 06 Mar 2009 15:24:20 +0000</pubDate>
		<dc:creator>bookweevil</dc:creator>
				<category><![CDATA[useful]]></category>

		<guid isPermaLink="false">http://bookweevil.wordpress.com/?p=78</guid>
		<description><![CDATA[If you fiddle around with some firefox settings while developing extensions, this can result in HTML buttons no longer having any text in them. In Stu&#8217;s post here, &#8220;No button text in Firefox&#8221;, he suggests you ensure that the following lines are uncommented in prefs.js in your profile [or you could set the options to [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=bookweevil.wordpress.com&amp;blog=1030261&amp;post=78&amp;subd=bookweevil&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>If you fiddle around with some firefox settings while developing extensions, this can result in HTML buttons no longer having any text in them.</p>
<p>In Stu&#8217;s post <a href="http://esste.eu/blog/?p=1444">here</a>, &#8220;No button text in Firefox&#8221;, he suggests you ensure that the following lines are uncommented in prefs.js in your profile [or you could set the options to false using about:config]:</p>
<blockquote>
<pre style="border:1px solid gray;overflow:auto;padding:.5em;">user_pref("nglayout.debug.disable_xul_cache", true);
user_pref("nglayout.debug.disable_xul_fastload", true)
user_pref("nglayout.debug.enable_xbl_forms", true)</pre>
</blockquote>
<p>Experimentation reveals it&#8217;s the third one, .enable_xbl_forms, which causes the problem &#8211; but I&#8217;m not sure how it got set. (An article at the mozilla developer centre, &#8220;<a href="https://developer.mozilla.org/en/Setting_up_extension_development_environment">Setting up extension development environment</a>&#8220;, recommends enabling the first of these, but not the others.) It&#8217;s possible some developer add-on enabled it, or that I just clicked on it accidentally in about:config.</p>
<div class="zemanta-pixie"><img class="zemanta-pixie-img" src="http://img.zemanta.com/pixy.gif?x-id=94187827-6779-4980-9f1a-be8ea8203c16" alt="" /></div>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/bookweevil.wordpress.com/78/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/bookweevil.wordpress.com/78/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/bookweevil.wordpress.com/78/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/bookweevil.wordpress.com/78/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/bookweevil.wordpress.com/78/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/bookweevil.wordpress.com/78/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/bookweevil.wordpress.com/78/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/bookweevil.wordpress.com/78/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/bookweevil.wordpress.com/78/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/bookweevil.wordpress.com/78/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/bookweevil.wordpress.com/78/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/bookweevil.wordpress.com/78/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/bookweevil.wordpress.com/78/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/bookweevil.wordpress.com/78/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=bookweevil.wordpress.com&amp;blog=1030261&amp;post=78&amp;subd=bookweevil&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://bookweevil.wordpress.com/2009/03/07/button-text-disappearing-in-firefox/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/ddb1a2da2e9fe2ac1bd70b158b6b8d55?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">bookweevil</media:title>
		</media:content>

		<media:content url="http://img.zemanta.com/pixy.gif?x-id=94187827-6779-4980-9f1a-be8ea8203c16" medium="image" />
	</item>
		<item>
		<title>when converting flv files to mp3&#8242;s with vlc, mp3&#8242;s are at half-speed</title>
		<link>http://bookweevil.wordpress.com/2009/03/06/when-converting-flv-files-to-mp3s-with-vlc-mp3s-are-at-half-speed/</link>
		<comments>http://bookweevil.wordpress.com/2009/03/06/when-converting-flv-files-to-mp3s-with-vlc-mp3s-are-at-half-speed/#comments</comments>
		<pubDate>Fri, 06 Mar 2009 13:52:40 +0000</pubDate>
		<dc:creator>bookweevil</dc:creator>
				<category><![CDATA[audio conversion]]></category>
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://bookweevil.wordpress.com/2009/03/06/when-converting-flv-files-to-mp3s-with-vlc-mp3s-are-at-half-speed/</guid>
		<description><![CDATA[The solution is here (and here)&#8230; &#8220;I added samplerate=44100 to the transcode section of my parameter string and the speed is back to normal!&#8221; I also found I had to encapsulate the output as mp4, and then re-convert the mp4 to get raw mp3. So the parameter string used by VLC ended up being: :sout=#transcode{acodec=mp3,ab=128,channels=2,samplerate=44100}:duplicate{dst=std{access=file,mux=mp4,dst=out.mp3}}<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=bookweevil.wordpress.com&amp;blog=1030261&amp;post=74&amp;subd=bookweevil&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>The solution is <a href="http://forum.videolan.org/viewtopic.php?f=14&amp;t=52483">here</a> (and <a href="http://forum.videolan.org/viewtopic.php?f=4&amp;t=54887">here</a>)&#8230;</p>
<blockquote><p>&#8220;I added samplerate=44100 to the transcode section of my parameter string and the speed is back to normal!&#8221;</p></blockquote>
<p>I also found I had to encapsulate the output as mp4, and then re-convert the mp4 to get raw mp3.</p>
<p>So the parameter string used by VLC ended up being:</p>
<blockquote>
<pre style="border:1px solid gray;overflow:auto;padding:.8em;">:sout=#transcode{acodec=mp3,ab=128,channels=2,samplerate=44100}:duplicate{dst=std{access=file,mux=mp4,dst=<em>out.mp3</em>}}</pre>
</blockquote>
<div class="zemanta-pixie"><img class="zemanta-pixie-img" src="http://img.zemanta.com/pixy.gif?x-id=2168ba4f-a8d5-49b7-87d5-1902547cce19" alt="" /></div>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/bookweevil.wordpress.com/74/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/bookweevil.wordpress.com/74/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/bookweevil.wordpress.com/74/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/bookweevil.wordpress.com/74/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/bookweevil.wordpress.com/74/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/bookweevil.wordpress.com/74/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/bookweevil.wordpress.com/74/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/bookweevil.wordpress.com/74/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/bookweevil.wordpress.com/74/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/bookweevil.wordpress.com/74/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/bookweevil.wordpress.com/74/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/bookweevil.wordpress.com/74/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/bookweevil.wordpress.com/74/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/bookweevil.wordpress.com/74/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=bookweevil.wordpress.com&amp;blog=1030261&amp;post=74&amp;subd=bookweevil&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://bookweevil.wordpress.com/2009/03/06/when-converting-flv-files-to-mp3s-with-vlc-mp3s-are-at-half-speed/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/ddb1a2da2e9fe2ac1bd70b158b6b8d55?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">bookweevil</media:title>
		</media:content>

		<media:content url="http://img.zemanta.com/pixy.gif?x-id=2168ba4f-a8d5-49b7-87d5-1902547cce19" medium="image" />
	</item>
		<item>
		<title>Getting updatedb on cygwin to prune paths with spaces</title>
		<link>http://bookweevil.wordpress.com/2008/03/28/getting-updatedb-on-cygwin-to-prune-paths-with-spaces/</link>
		<comments>http://bookweevil.wordpress.com/2008/03/28/getting-updatedb-on-cygwin-to-prune-paths-with-spaces/#comments</comments>
		<pubDate>Fri, 28 Mar 2008 11:12:34 +0000</pubDate>
		<dc:creator>bookweevil</dc:creator>
				<category><![CDATA[cygwin]]></category>

		<guid isPermaLink="false">http://bookweevil.wordpress.com/?p=63</guid>
		<description><![CDATA[On cygwin, updatedb often gives &#8220;Permission denied&#8221; errors (e.g. for &#8220;C:/System Volume Information&#8221;) and &#8220;File name too long&#8221; errors (e.g. for files in &#8220;/cygdrive/c/Documents and Settings/MyName/Local Settings/Temporary Internet Files&#8221;). And attempts to use the &#8220;&#8211;prunepaths&#8221; option to avoid indexing these seem not to work due to the spaces in the filenames. But there is a [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=bookweevil.wordpress.com&amp;blog=1030261&amp;post=63&amp;subd=bookweevil&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>On cygwin, updatedb often gives &#8220;<span class="code">Permission denied&#8221; errors (e.g. for &#8220;C:/System Volume Information&#8221;) and</span> &#8220;<span class="code">File name too long&#8221; errors (e.g. for files in </span><span class="code">&#8220;/cygdrive/c/Documents and Settings/MyName/Local Settings/Temporary Internet Files&#8221;)</span>.</p>
<p>And attempts to use the &#8220;<span class="code">&#8211;prunepaths&#8221;</span> option to avoid indexing these seem not to work due to the spaces in the filenames. But there is a fix &#8230; From the <a href="http://readlist.com/lists/cygwin.com/cygwin/2/11336.html">Cygwin mailing list</a> comes the following tip &#8212; you can type something like</p>
<pre>  updatedb  --prunepaths='/proc  /cygdrive/c/Documents.and.Settings/MyName/Local.Settings/Temp'</pre>
<p>to avoid these &#8212; prunepaths accepts regular expressions, including the use of a dot (.) to represent any character including a space.</p>
<p>My fix looks something like the following (line breaks inserted for legibility):</p>
<pre>updatedb  --prunepaths='/proc /cygdrive/c/program_disk/cygwin

 /cygdrive/c/Documents.and.Settings/[^/]*/Local.Settings/Temp

 /cygdrive/c/Documents.and.Settings/[^/]*/Local.Settings/Temporary.Internet.Files

 /cygdrive/c/Documents.and.Settings/[^/]*/Local.Settings/Application.Data/Mozilla/Firefox/Profiles/[^/]*/Cache

 /cygdrive/[^/]*/System.Volume.Information

 /cygdrive/c/data/System.Volume.Information

 /cygdrive/c/backup/System.Volume.Information

 /cygdrive/c/shared/System.Volume.Information

 /cygdrive/c/program_disk/System.Volume.Information

 /cygdrive/g

 /cygdrive/h '</pre>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/bookweevil.wordpress.com/63/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/bookweevil.wordpress.com/63/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/bookweevil.wordpress.com/63/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/bookweevil.wordpress.com/63/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/bookweevil.wordpress.com/63/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/bookweevil.wordpress.com/63/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/bookweevil.wordpress.com/63/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/bookweevil.wordpress.com/63/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/bookweevil.wordpress.com/63/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/bookweevil.wordpress.com/63/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/bookweevil.wordpress.com/63/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/bookweevil.wordpress.com/63/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/bookweevil.wordpress.com/63/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/bookweevil.wordpress.com/63/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/bookweevil.wordpress.com/63/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/bookweevil.wordpress.com/63/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=bookweevil.wordpress.com&amp;blog=1030261&amp;post=63&amp;subd=bookweevil&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://bookweevil.wordpress.com/2008/03/28/getting-updatedb-on-cygwin-to-prune-paths-with-spaces/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/ddb1a2da2e9fe2ac1bd70b158b6b8d55?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">bookweevil</media:title>
		</media:content>
	</item>
		<item>
		<title>backup annoyances with rdiff-backup</title>
		<link>http://bookweevil.wordpress.com/2008/01/19/backup-annoyances-with-rdiff-backup/</link>
		<comments>http://bookweevil.wordpress.com/2008/01/19/backup-annoyances-with-rdiff-backup/#comments</comments>
		<pubDate>Sat, 19 Jan 2008 01:58:14 +0000</pubDate>
		<dc:creator>bookweevil</dc:creator>
				<category><![CDATA[backups]]></category>
		<category><![CDATA[tech]]></category>
		<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://bookweevil.wordpress.com/?p=62</guid>
		<description><![CDATA[Ugh. Ran into problems with rdiff-backup &#8212; it fails trying to remove files (which it added perfectly well) which are over some length limit. Have decided that rdiff-backup in Windows (probably mirrors in general, too) is just a bad idea: it&#8217;s too flaky, and when it fails it leaves your repository in an unrecoverable state. [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=bookweevil.wordpress.com&amp;blog=1030261&amp;post=62&amp;subd=bookweevil&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Ugh. Ran into problems with rdiff-backup &#8212; it fails trying to <em>remove </em>files (which it added perfectly well) which are over some length limit.</p>
<p>Have decided that rdiff-backup in Windows (probably mirrors in general, too) is just a bad idea: it&#8217;s too flaky, and when it fails it leaves your repository in an unrecoverable state. Better to backup to a single archive file I suppose, at least it won&#8217;t get corrupted. Will check out <a href="http://dar.linux.free.fr/doc/Features.html">dar</a> and <a href="http://www.nongnu.org/duplicity/docs.html">duplicity</a> instead.</p>
<p class="poweredbyperformancing">
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/bookweevil.wordpress.com/62/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/bookweevil.wordpress.com/62/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/bookweevil.wordpress.com/62/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/bookweevil.wordpress.com/62/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/bookweevil.wordpress.com/62/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/bookweevil.wordpress.com/62/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/bookweevil.wordpress.com/62/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/bookweevil.wordpress.com/62/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/bookweevil.wordpress.com/62/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/bookweevil.wordpress.com/62/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/bookweevil.wordpress.com/62/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/bookweevil.wordpress.com/62/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/bookweevil.wordpress.com/62/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/bookweevil.wordpress.com/62/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/bookweevil.wordpress.com/62/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/bookweevil.wordpress.com/62/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=bookweevil.wordpress.com&amp;blog=1030261&amp;post=62&amp;subd=bookweevil&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://bookweevil.wordpress.com/2008/01/19/backup-annoyances-with-rdiff-backup/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/ddb1a2da2e9fe2ac1bd70b158b6b8d55?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">bookweevil</media:title>
		</media:content>
	</item>
		<item>
		<title>bug in partimage on ubuntu with lvm installed</title>
		<link>http://bookweevil.wordpress.com/2007/10/08/bug-in-partimage-on-ubuntu-with-lvm-installed/</link>
		<comments>http://bookweevil.wordpress.com/2007/10/08/bug-in-partimage-on-ubuntu-with-lvm-installed/#comments</comments>
		<pubDate>Mon, 08 Oct 2007 03:10:12 +0000</pubDate>
		<dc:creator>bookweevil</dc:creator>
				<category><![CDATA[bugs]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://bookweevil.wordpress.com/2007/10/08/bug-in-partimage-on-ubuntu-with-lvm-installed/</guid>
		<description><![CDATA[Hm &#8230; when I run partimage interactively, I get the message &#8220;/dev/dm inode doesn&#8217;t exists [sic]&#8220;. It appears that partimage&#8217;s method of detecting partitions (namely, reading /proc/partitions) is not compatible with Ubuntu&#8217;s way of doing things. This page seems to be the best description I&#8217;ve found of the problem: From: Franck Ladurelle &#60;ladurelf@&#8230;&#62; Subject: Re: [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=bookweevil.wordpress.com&amp;blog=1030261&amp;post=58&amp;subd=bookweevil&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Hm &#8230; when I run partimage interactively, I get the message &#8220;/dev/dm inode doesn&#8217;t exists [sic]&#8220;.</p>
<p>It appears that partimage&#8217;s method of detecting partitions (namely, reading /proc/partitions) is not compatible with Ubuntu&#8217;s way of doing things. <span id="more-58"></span> <a href="http://article.gmane.org/gmane.comp.sysutils.partimage.user/53" title="lvm support in partimage">This page</a> seems to be the best description I&#8217;ve found of the problem:</p>
<blockquote><p><font size="-1">From: Franck Ladurelle &lt;<a href="http://gmane.org/get-address.php?address=ladurelf%2dGANU6spQydw%40public.gmane.org" target="_top" rel="nofollow">ladurelf@&#8230;</a>&gt;</font></p>
<p><font size="-1">Subject: <a href="http://news.gmane.org/find-root.php?message_id=%3c200506061000.05789.ladurelf%40free.fr%3e" target="_top" rel="nofollow">Re: LVM support in Partimage</a></font></p>
<p><font size="-1">Newsgroups: <a href="http://news.gmane.org/gmane.comp.sysutils.partimage.user" target="_top">gmane.comp.sysutils.partimage.user</a></font></p>
<p><font size="-1">Date: 2005-06-06 08:00:05 GMT  (2 years, 17 weeks, 4 days, 5 hours and 31 minutes ago)</font><br />
<font size="-1"><br />
| Hello partimage folks!<br />
Hello,<br />
| From a first point of view, I think, implementing LVM support should<br />
| be a minor issue, because a Logical Volume is &#8220;just another<br />
| blockdevice&#8221; (isn`t it?). From my (limited) point of view, it should<br />
| primary just be a matter of &#8220;detecting&#8221; those logical volumes within<br />
| partimage and specifying those device paths. Am I right here?</font></p>
<p><font size="-1">Yes. Partimage already work with LVM/RAID but only in command line. If<br />
you have a filesystem on /dev/md0, the GUI won&#8217;t show it but you can<br />
backup/restore your data with</font></p>
<p><font size="-1">&#8220;partimage save/restore /dev/md0 /whereever/you/want/your/image&#8221;</font></p>
<p><font size="-1">| Can someone tell, how (which part of the code) partimage detects<br />
| devices/partitions?</font></p>
<p><font size="-1">Partimage extracts this from /proc/partitions like with an &#8220;awk &#8216;{print<br />
&#8220;<em>/dev/</em>&#8220;$4}&#8217;&#8221;. The matter with LVM is that you have a dm-X entry without<br />
the corresponding /dev/dm-X file. You have to link to /dev/mapper which<br />
should be easy but I never took time to do this.</font></p>
<p><font size="-1">| BTW: In cvs &#8211; is &#8220;partimage-cvs-newtree&#8221; the &#8220;stable&#8221; branch and<br />
| &#8220;partimage-cvs-004&#8243; the &#8220;unstable&#8221; one ?</font></p>
<p><font size="-1">This changed a few days ago. Repositories are now &#8220;partimage-0.6&#8243; for</font></p>
<p><font size="-1">partimage 0.6.x (stable) and &#8220;partimage-cvs-004&#8243; for 0.7.x (unstable).</font></p>
<p><font size="-1">| Probably, the project could use some code/ideas from lvmdiskscan and<br />
| lvscan for implementing LVM support ?</font></p>
<p><font size="-1">Once your LVM is up and working, this is not needed.</font></p>
<p><font size="-1">| Furthermore, i recognized, that the stable release had no problems to<br />
| find partitions on my hp smart array (/dev/cciss/c0d0px) &#8211; the latest<br />
| downloadable static release (0.7.1) i found for download doesn`t<br />
| recognize them anymore (unfortunately I couldn`t compile 0.7.2<br />
| successfully). Did the device/partition detection code change over<br />
| the time?</font></p>
<p><font size="-1">I can&#8217;t remember when I did this but now partimage 0.7.x will use parted<br />
libraries to handle device/partitions.</font></p>
<p><font size="-1">Have a nice day!</font></p>
<p><font size="-1">Franck</font></p></blockquote>
<p>So the possible fixes are:</p>
<ul>
<li>Upgrade to a 0.7 version of partimage (available from Sourceforge, seems to be an unstable version still). Franck&#8217;s post above suggests that he thinks the problem was fixed as of 2005 &#8230; but this still hasn&#8217;t found it&#8217;s way into the stable version.</li>
<li>Don&#8217;t use the GUI &#8211; only the command line. If you specify a partition device on the command line, the problem doesn&#8217;t arise. E.g.:</li>
</ul>
<blockquote>
<blockquote><p>partimage -b &#8211;nodesc &#8211;finish 3 save /dev/sda1 sda1.partimage</p></blockquote>
</blockquote>
<ul>
<li>Use mknod as a quick fix to create a /dev/dm node that will keep partimage happy, as described here:</li>
</ul>
<blockquote>
<blockquote><p> mknod -m 644 /dev/dm b 240 0</p></blockquote>
</blockquote>
<ul>
<li>Add this quick fix mknod command to /etc/rc.local so that&#8217;s always performed on startup.</li>
</ul>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/bookweevil.wordpress.com/58/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/bookweevil.wordpress.com/58/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/bookweevil.wordpress.com/58/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/bookweevil.wordpress.com/58/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/bookweevil.wordpress.com/58/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/bookweevil.wordpress.com/58/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/bookweevil.wordpress.com/58/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/bookweevil.wordpress.com/58/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/bookweevil.wordpress.com/58/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/bookweevil.wordpress.com/58/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/bookweevil.wordpress.com/58/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/bookweevil.wordpress.com/58/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/bookweevil.wordpress.com/58/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/bookweevil.wordpress.com/58/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/bookweevil.wordpress.com/58/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/bookweevil.wordpress.com/58/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=bookweevil.wordpress.com&amp;blog=1030261&amp;post=58&amp;subd=bookweevil&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://bookweevil.wordpress.com/2007/10/08/bug-in-partimage-on-ubuntu-with-lvm-installed/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/ddb1a2da2e9fe2ac1bd70b158b6b8d55?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">bookweevil</media:title>
		</media:content>
	</item>
		<item>
		<title>AMQ (another misattributed quotation)</title>
		<link>http://bookweevil.wordpress.com/2007/10/07/amq-another-misattributed-quotation/</link>
		<comments>http://bookweevil.wordpress.com/2007/10/07/amq-another-misattributed-quotation/#comments</comments>
		<pubDate>Sun, 07 Oct 2007 02:38:02 +0000</pubDate>
		<dc:creator>bookweevil</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://bookweevil.wordpress.com/2007/10/07/amq-another-misattributed-quotation/</guid>
		<description><![CDATA[Dr Samuel Johnson, of dictionary fame, is widely quoted as having said &#8220;God Himself, sir, does not propose to judge a man until his life is over.&#8221; But in fact, Dale Carnegie appears to have invented the quote, in How to Win Friends and Influence People.<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=bookweevil.wordpress.com&amp;blog=1030261&amp;post=57&amp;subd=bookweevil&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><a href="http://en.wikipedia.org/wiki/Samuel_Johnson" title="samuel johnson">Dr Samuel Johnson</a>, of dictionary fame, is widely quoted as having said &#8220;God Himself, sir, does not propose to judge a man until his life is over.&#8221; But in fact, Dale Carnegie appears to have <a href="http://www.samueljohnson.com/apocryph.html#7" title="samuel johnson misattributed quotations">invented the quote</a>, in <em>How to Win Friends and Influence People</em>.<strong><font face="verdana,helvetica,arial" size="-1"><a name="7"></a></font></strong></p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/bookweevil.wordpress.com/57/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/bookweevil.wordpress.com/57/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/bookweevil.wordpress.com/57/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/bookweevil.wordpress.com/57/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/bookweevil.wordpress.com/57/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/bookweevil.wordpress.com/57/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/bookweevil.wordpress.com/57/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/bookweevil.wordpress.com/57/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/bookweevil.wordpress.com/57/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/bookweevil.wordpress.com/57/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/bookweevil.wordpress.com/57/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/bookweevil.wordpress.com/57/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/bookweevil.wordpress.com/57/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/bookweevil.wordpress.com/57/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/bookweevil.wordpress.com/57/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/bookweevil.wordpress.com/57/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=bookweevil.wordpress.com&amp;blog=1030261&amp;post=57&amp;subd=bookweevil&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://bookweevil.wordpress.com/2007/10/07/amq-another-misattributed-quotation/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/ddb1a2da2e9fe2ac1bd70b158b6b8d55?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">bookweevil</media:title>
		</media:content>
	</item>
	</channel>
</rss>
