<?xml version="1.0" encoding="utf-8" ?>
<?xml-stylesheet href="/serendipity/templates/default/atom.css" type="text/css" ?>

<feed 
   xmlns="http://www.w3.org/2005/Atom"
   xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
   xmlns:dc="http://purl.org/dc/elements/1.1/"
   xmlns:admin="http://webns.net/mvcb/"
   xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
   xmlns:wfw="http://wellformedweb.org/CommentAPI/">
    <link href="http://www.piglets.org/serendipity/feeds/atom.xml" rel="self" title="Proving the Obviously Untrue" type="application/atom+xml" />
    <link href="http://www.piglets.org/serendipity/"                        rel="alternate"    title="Proving the Obviously Untrue" type="text/html" />
    <link href="http://www.piglets.org/serendipity/rss.php?version=2.0"     rel="alternate"    title="Proving the Obviously Untrue" type="application/rss+xml" />
    <title type="html">Proving the Obviously Untrue</title>
    <subtitle type="html">Maths, Software, Hardware, Martial Arts and more</subtitle>
    
    <id>http://www.piglets.org/serendipity/</id>
    <updated>2010-07-28T10:22:37Z</updated>
    <generator uri="http://www.s9y.org/" version="1.5.3-1">Serendipity 1.5.3-1 - http://www.s9y.org/</generator>
    <dc:language>en</dc:language>

    <entry>
        <link href="http://www.piglets.org/serendipity/archives/113-Fudoshin.html" rel="alternate" title="Fudoshin" />
        <author>
            <name>Colin Turner</name>
                    </author>
    
        <published>2010-07-28T10:22:00Z</published>
        <updated>2010-07-28T10:22:37Z</updated>
        <wfw:comment>http://www.piglets.org/serendipity/wfwcomment.php?cid=113</wfw:comment>
    
        <wfw:commentRss>http://www.piglets.org/serendipity/rss.php?version=atom1.0&amp;type=comments&amp;cid=113</wfw:commentRss>
    
            <category scheme="http://www.piglets.org/serendipity/categories/2-martial-arts" label="martial arts" term="martial arts" />
    
        <id>http://www.piglets.org/serendipity/archives/113-guid.html</id>
        <title type="html">Fudoshin</title>
        <content type="xhtml" xml:base="http://www.piglets.org/serendipity/">
            <div xmlns="http://www.w3.org/1999/xhtml">
                I wrote this essay almost eight years ago. I'm just republishing it in a web format.<br /><br />

In many eastern religions, and indeed their occidental counterparts, great emphasis is placed in reaching states of personal enlightenment or self-improvement. In Zen, this is often approached from several angles (See D.T. Suzuki [2]),
but perhaps the most well known is that of zazen meditation. In this practice the mind is encouraged to have no attachments, it may move freely, neither forced to consider thoughts, not forced to leave them.<br /><br />

This state of mind could be described by the word mushin meaning literally “no mind”. In this state the mind is truly focused on the present moment, not anticipating the future and not pondering on the past. The martial arts of Japan have long been looked upon as an alternative, or perhaps at least parallel, means of progressing to this goal. In Budo this can be thought of as a form of meditation in motion, always acting in the present.<br /><br />

This prevents fearful anticipation of the future and also misinterpreting such
future events. Although the idea of a budo is that of a way without destination, this goal of mushin should be constantly striven for. Perhaps an intermediary goal is that of fudoshin. This means "immovable mind" although this translation fails to carry the positive implications in this word. For me this means that the mind is immovable by outside influence, or to put it another way the
mind can only be “moved” when one desires it.

<blockquote>

As the beginner knows nothing about either his body posture
       or the positioning of his sword, neither does his mind stop any-
       where within him. If a man striked at him with the sword, he
       simply meets the attack without anything in mind.
           As he studies various things and is taught the diverse ways of
       how to take a stance, the manner of grasping his sword and how
       where to put his mind, his mind stops in many places. Now if he
       wants to strike at an opponent, he is extraordinarily discomforted.
       Later, as days pass and time piles up, in accordance with his
       practice, neither the postures of his body nor the ways of grasping
       the sword are weighed in his mind. His mind simply becomes
       as it was in the beginning when he knew nothing and had yet to
       be taught anything at all.
</blockquote> extract from the Unfettered Mind, Takuan Soho<br /><br />


So here in "The Mysterious Record of Immovable Wisdom", a letter written by the famous monk
Takuan Soho to the equally famous swordsman Yagyu Munenori, Soho advises that a person with no martial experience
may be better off than those who embark upon such a path. The person
with no such training at least behaves naturally, even if possibly foolishly.
Their mind may be affected by many outside influences, but at least they
themselves do not cause it to "freeze".<br /><br />

When one begins training in a martial way, one often begins by learning basic skills and body movements and then, of course, waza. When attempting to refine performance of a kata or waza, one’s mind may focus on the future - in the hope of attaining the perfect form - or it may focus on the past, in the recollections of past successes or failures.<br /><br />

Unfortunately these moments of locked focus, the states of "fushin" or frozen mind, however brief cause the body which is forever locked in the present to be deprived of command. In severe cases then, fushin is manifested by the locking in position of the whole body.<br /><br />

How then can we move towards this state of fudoshin, and thus ultimately to mushin? At this stage in my journey it seems that the following are true, whether during the execution of a kata, waza or a more free action.

<ul>
<li>One most resist the urge to anticipate the future except by observing
     the present. It follows that ultimately waza should not be "selected"
     but eventually will arise without conscious thought (mushin).</li>
<li>One must avoid lingering in the past. Recollections of past encounters
     and their success or failure are false as the past moment will never truly
     match the present.</li>
<li>One should not let your eyes and mind become locked on the opponents
     eyes, their weapon, fist or any other point. Gaze should take it the
     whole person as well and the mind should observe all things.

<blockquote>
              Some teachers say that you should always stare at the
           enemy’s weapons, or at his eyes, or at his feet. This is not
           a good idea because it fixes your spirit in place and is easily
           read by an experienced fighter.
</blockquote> - extract from the Book of
           Five Rings - Minamoto Musashi<br /><br /></li>

<li>Forced aggression may cause the mind to focus too greatly on the future
     desire for victory and thus ironically deprive the body of the mind in
     the present to help obtain it. One should not delay the cut, or throw,
     but neither should one rush it in too great a desire to bring the future
     more quickly. Indeed it seems from the books "Zen and the art of
     archery" (see [1]) and the "Unfettered mind" (see [4]) that we wish to
     obtain a state in which the cut happens because it is natural or the
     throw happens because nothing else can happen.</li>
<li>Such considerations occur outside the dojo when considering our progress
     along the Way or in other matters. Of course we must always strive to
     improve and progress, but if we are too desperate we risk placing our
     mind in the future and not the here and now. Similarly we must have
     the patience and some tolerance about our state of current imperfection. Focusing too much on the failures of the past denies us the chance
     to observe ourselves in the present to make us better in the future.</li>
</ul><br /><br />

   These comments are of course, immensely subjective. However these
thoughts map my current way of thinking a short way into a long journey
and at this time it seems the best way for me to continue to refine myself.<br /><br />
                                  
<strong>References</strong><br /><br />
[1] Herrigel, Eugen: Zen in the Art of Archery, Arkana 1988.<br />
[2] Suzuki, D.T.: Zen Buddhism: Selected Writings of D.T. Suzuki, Double-
    day 1996.<br />
[3] Musashi, Minamoto: The Martial Artist’s Book of Five Rings, (trans.
    Stephen F. Kaufman), Tuttle 1994.<br />
[4] Soho, Takuan: The Unfettered Mind, (trans. William Scott Wilson) Kodansha 1995.<br />
 
            </div>
        </content>
        <dc:subject>martial arts</dc:subject>
<dc:subject>philosophy</dc:subject>

    </entry>
    <entry>
        <link href="http://www.piglets.org/serendipity/archives/114-Cthulhu-and-Cosmic-Terror.html" rel="alternate" title="Cthulhu and Cosmic Terror" />
        <author>
            <name>Colin Turner</name>
                    </author>
    
        <published>2010-07-27T18:36:08Z</published>
        <updated>2010-07-27T19:13:23Z</updated>
        <wfw:comment>http://www.piglets.org/serendipity/wfwcomment.php?cid=114</wfw:comment>
    
        <wfw:commentRss>http://www.piglets.org/serendipity/rss.php?version=atom1.0&amp;type=comments&amp;cid=114</wfw:commentRss>
    
            <category scheme="http://www.piglets.org/serendipity/categories/3-review" label="review" term="review" />
    
        <id>http://www.piglets.org/serendipity/archives/114-guid.html</id>
        <title type="html">Cthulhu and Cosmic Terror</title>
        <content type="xhtml" xml:base="http://www.piglets.org/serendipity/">
            <div xmlns="http://www.w3.org/1999/xhtml">
                For many years now, I've been aware of the <a href="http://en.wikipedia.org/wiki/Cthulhu_Mythos">Cthulhu Mythos</a>, since it infuses lots of popular culture. Indeed, Dread Cthulhu was recently <a href="http://chainsawsuit.com/2010/06/09/the-truth-behind-the-oil-spill/">blamed for the horizon oil spill</a>, a theory that I rather enjoyed.<br /><br />

Despite this, I hadn't actually read any of <a href="http://en.wikipedia.org/wiki/H._P._Lovecraft">H.P. Lovecraft's</a> books directly. Last week and this, I decided to try out an ebook reader on my phone, specifically the rather excellent <a href="http://www.aldiko.com/">Aldiko</a> for android. It's a nice application. I downloaded two of Lovecraft's books; "The Call of Cthulhu" and the "At the Mountains of Madness".<br /><br />

Lovecraft has been, mostly after his death, immensely influential, with references to his work appearing in many modern authors' work (e.g. Stephen King, Neil Gaiman). He is famous for the idea of "Cosmic Horror". The idea that the world is not truly rational, and understandable, but nightmarish, chaotic and hostile or at best indifferent to human nature.<br /><br />

I found <a href="http://manybooks.net/titles/lovecrafthother06cthulhu.html">"The Call of Cthulhu"</a> rather unpleasant to read in parts, not because of the supposed horror,  but because of the unpleasant racism implicit and explicit within the book. It does need to be remembered that everyone is a product of their times however, and I find the implicit racism difficult to accept in the works of J.R.R. Tolkien too. But the book was interesting.<br /><br />

The second book, <a href="http://manybooks.net/titles/lovecrafthother06At_the_Mountains_of_Madness.html">"At the Mountains of Madness"</a> was more mature and less objectionable.<br /><br />

But I couldn't entirely share the horror of the protagonists. Some of their discoveries were genuinely horrifying (usually acts committed by human beings) but much of the rest would be wondrous. They are horrified by the discovery of non-Euclidean geometry in architecture. Non Euclidean geometry does not frighten me, and indeed Lovecraft understood it wasn't the true nature of the universe. But seeing clearly non Euclidean architecture in a "normal" setting is wondrous, terrifying perhaps briefly, but not horrific. Much of the horror just comes from the primitive frame of reference, either scientific, or religious or both, of the protagonists.<br /><br />

And this is the bit I really can't understand, since Lovecraft was a failed astronomer, so he would have known that the universe is, to the best of our knowledge, indifferent to our existence, and that the laws of physics themselves could see our annihilation in so many ways. Indeed, apart from a (probably literal) <a href="http://en.wikipedia.org/wiki/Deus_ex_machina">Deus Ex Machina</a> solution, every scientist knows that the ultimate future of humanity is doomed... Is that "Cosmic Horror"?<br /><br />

By the way, since the world is Sherlock Holmes mad at the moment, I recommend <a href="http://www.neilgaiman.com/mediafiles/exclusive/shortstories/emerald.pdf">A Study In Emerald</a> (PDF), a Hugo Award winning short story that is an interesting cross over of the Sherlock Holmes and Cthulhu mythos written by Neil Gaiman. 
            </div>
        </content>
        <dc:subject>cthulhu</dc:subject>
<dc:subject>lovecraft</dc:subject>
<dc:subject>random musings</dc:subject>
<dc:subject>review</dc:subject>

    </entry>
    <entry>
        <link href="http://www.piglets.org/serendipity/archives/112-Email,-should-the-Old-Ways-quietly-die.html" rel="alternate" title="Email, should the &quot;Old Ways&quot; quietly die?" />
        <author>
            <name>Colin Turner</name>
                    </author>
    
        <published>2010-06-29T12:57:02Z</published>
        <updated>2010-06-29T17:16:13Z</updated>
        <wfw:comment>http://www.piglets.org/serendipity/wfwcomment.php?cid=112</wfw:comment>
    
        <wfw:commentRss>http://www.piglets.org/serendipity/rss.php?version=atom1.0&amp;type=comments&amp;cid=112</wfw:commentRss>
    
            <category scheme="http://www.piglets.org/serendipity/categories/15-random-musings" label="random musings" term="random musings" />
    
        <id>http://www.piglets.org/serendipity/archives/112-guid.html</id>
        <title type="html">Email, should the &quot;Old Ways&quot; quietly die?</title>
        <content type="xhtml" xml:base="http://www.piglets.org/serendipity/">
            <div xmlns="http://www.w3.org/1999/xhtml">
                I was having an enjoyable early Summer BBQ chat with <a href="http://www.ho66es.org/wordpress/">Mark Kerr</a> and <a href="http://www.earth.li/~noodles/">Jonathan (Noodles) McDowell</a> a few weeks ago. We know each other from the days of Fidonet's greatest glory. <a href="http://www.fidonet.org/">Fidonet</a> still exists, but back then the internet did not have a presence in normal people's lives, academics I worked with at <a href="http://www.qub.ac.uk">Queen's</a> only selectively had email access, and that through the dark arts of <a href="http://en.wikipedia.org/wiki/Kermit_%28protocol%29">Kermit</a>. Back then a few of us ran Bulletin Board Systems, over plain vanilla modems with all sorts of speeds, 1200 bps transfer rates were common.<br /><br />

The systems were held together as nodes in Fidonet, and the hundreds or thousands of users on each system could send a form of email to other users in the same system, or even users across the world. Every message was piggy backed on the daily or nightly phone calls from one system to a neighbouring system. Mark and I would call some odd systems, like that of Joaquim Homrighausen and Mats Wallin in Sweden, and we would happily carry any mail going for Sweden or coming back.<br /><br />

Everyone was sharing a bit of the cost. As such, it was considered the height of poor etiquette to reply to a message tens of lines long, quoting the whole message with a "me too" at the top or the bottom. You were expecting someone else to pay for transmitting the whole original message again, just for your extra words. You were expecting in echomail (the Fidonet equivalent of newsgroups, or mailing lists) that hundreds or thousands or tens of thousands of systems would store all that information on all those hard disks.<br /><br />

No, it was correct to trim a few salient lines from the original, and put your reply below it. That's enough for everyone to see what is going on. Every mail editor in existence showed the quoted text either with a ">" character to the left, or sometimes a "CT>" to indicate the initials of who wrote it.<br /><br />

These trimmed, quoted conversations allowed the full flow of the conversation to be followed by anyone without referring back to every word uttered by the original poster, and showed the coherence of the thread in a way that is hard to do in any other way. Google Wave is perhaps a modern attempt at the same idea.<br /><br />

But than people grew indifferent to bandwidth because there was so much, so they never bothered to trim their replies. You can expect in a modern mailing list to find each reply containing complete copies of all the previous correspondence to that point, which is already stored in the list, shown in a nice threaded view in your editor. Some new email programs (I'm looking at you, Outlook), made it almost impossible for people to do anything other than "top post", because they don't easily show quoted text.<br /><br />

And here I am, an old dinosaur who still tries to stick to the old ways, because I believe it's easier to read properly quoted replies... but increasingly, you can't have conversations with people with braindead mail software because they just can't do it. And they haven't even seen it before, they can't understand it. They complain when you don't top post your replies. Like the stereotypical cantankerous codger sitting in his porch watching the kids mess on his lawn I want to tell them that no, <strong>they</strong> are the ones doing it in the stupid new fangled way. We were here first. <img src="http://www.piglets.org/serendipity/templates/default/img/emoticons/smile.png" alt=":-)" style="display: inline; vertical-align: bottom;" class="emoticon" /><br /><br />

So maybe we should just give up... those few of us left, but then I was reminded (by Noodles) that now email is being shipped around mobile devices all the old arguments of bandwidth and storage are increasingly relevant again. So I ask the open question, is there any point in trying to stick to the "old ways"? Thoughts on a postcard please.

 
            </div>
        </content>
        <dc:subject>email</dc:subject>
<dc:subject>fidonet</dc:subject>

    </entry>
    <entry>
        <link href="http://www.piglets.org/serendipity/archives/111-More-to-a-book-than-its-cover.html" rel="alternate" title="More to a book than its cover" />
        <author>
            <name>Colin Turner</name>
                    </author>
    
        <published>2010-05-25T20:08:46Z</published>
        <updated>2010-05-25T20:52:57Z</updated>
        <wfw:comment>http://www.piglets.org/serendipity/wfwcomment.php?cid=111</wfw:comment>
    
        <wfw:commentRss>http://www.piglets.org/serendipity/rss.php?version=atom1.0&amp;type=comments&amp;cid=111</wfw:commentRss>
    
            <category scheme="http://www.piglets.org/serendipity/categories/15-random-musings" label="random musings" term="random musings" />
    
        <id>http://www.piglets.org/serendipity/archives/111-guid.html</id>
        <title type="html">More to a book than its cover</title>
        <content type="xhtml" xml:base="http://www.piglets.org/serendipity/">
            <div xmlns="http://www.w3.org/1999/xhtml">
                Today I have found myself reading about three authors. These three men had various levels of fame and in each case, the interest today was more about them than it was about their work.<br /><br />

<a href="http://en.wikipedia.org/wiki/Mark_twain"><strong>Samuel Clements aka Mark Twain</strong></a>, the great American writer was coming to my attention because his <a href="http://www.independent.co.uk/arts-entertainment/books/news/after-keeping-us-waiting-for-a-century-mark-twain-will-finally-reveal-all-1980695.html">century long delay</a> in publishing his memoirs is coming to an end. I must confess that I've never been the biggest fan of Twain's works, though many I have enjoyed. His life is very interesting however, filled as it was at times with great pathos and controversy as well as success. There are many theories as to why his memoirs have been so delayed, but one of the front runners is that some of his comments about (at least orthodox, in the broad sense) religion attracted attention. I'm sure it will be broader than that. Nevertheless, one of his quotes is already in the random section in my blog.<br /><br />

<blockquote>
Also it has another name - The Word of God. For the Christian thinks every word of it was dictated by God. It is full of interest. It has noble poetry in it; and some clever fables; and some blood-drenched history; and some good morals; and a wealth of obscenity; and upwards of a thousand lies… But you notice that when the Lord God of Heaven and Earth, adored Father of Man, goes to war, there is no limit. He is totally without mercy - he, who is called the Fountain of Mercy. He slays, slays, slays! All the men, all the beasts, all the boys, all the babies; also all the women and all the girls, except those that have not been deflowered. He makes no distinction between innocent and guilty… What the insane Father required was blood and misery; he was indifferent as to who furnished it.
</blockquote>

I have great sympathy for this quote, and it puzzles me when I meet people who cannot remotely consider the possibility that, even if there is a perfect God, perfect in His grace, that it might be the case that the humans who wrote the bible might not have listened so well. Because the only other possibility is that such acts are, in fact, OK to be committed by people when protected by divine wrath.<br /><br />

You may recognise this quote, it is possible that it is <a href="http://blasphemy.ie/2010/01/01/atheist-ireland-publishes-25-blasphemous-quotes/">illegal to publish it in the Republic or Ireland</a> which is another story altogether. Anyway, it will be interesting to see what else Mark Twain will offer the world in his memoirs.<br /><br />

<a href="http://en.wikipedia.org/wiki/Martin_gardner"><strong>Martin Gardner</strong></a> is my second author under discussion. I read of his death today, albeit at a ripe old age. His collection of mathematical puzzle books adorned my shelves (they currently languish in a box for now) for many years and with collections of his own puzzles and those of many others, they gave me insight into the nature of mathematics. I still use some of the puzzles I read about in my classes.<br /><br />

I was quite surprised to read that <a href="http://www.telegraph.co.uk/news/obituaries/culture-obituaries/books-obituaries/7765184/Martin-Gardner.html">he had written extensively about Lewis Carroll</a> and his work, although as a mathematician I was long aware of the mathematical implications of Carroll's works. So I'll perhaps have to acquire that book for summer reading. However I have long suspected that the more <a href="http://en.wikipedia.org/wiki/Lewis_carroll#Suggestions_of_paedophilia">controversial aspects</a> of Carroll have prevented him being enthusiastically claimed by mathematics in the public imagination.<br /><br />

Gardner's book introduced me the <a href="http://en.wikipedia.org/wiki/Fibonacci_sequence">Fibonacci Sequence</a>, and so it is fitting that I saw this the day before. I think he would have loved it.<br /><br />

<object width="400" height="225"><param name="allowfullscreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="movie" value="http://vimeo.com/moogaloop.swf?clip_id=9953368&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=&amp;fullscreen=1" /><embed src="http://vimeo.com/moogaloop.swf?clip_id=9953368&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=&amp;fullscreen=1" type="application/x-shockwave-flash" allowfullscreen="true" allowscriptaccess="always" width="400" height="225"></embed></object><p><a href="http://vimeo.com/9953368">Nature by Numbers</a> from <a href="http://vimeo.com/eterea">Cristóbal Vila</a> on <a href="http://vimeo.com">Vimeo</a>.</p><br /><br />

<strong><a href="http://en.wikipedia.org/wiki/Douglas_Adams">Douglas Adams</a></strong> was the third author. I couldn't write about authors on <a href="http://www.towelday.org/">Towel Day</a> and not mention him. I have been marking much of the day, but when I've been out and about running a few errands, I have always known where my towel was. I reflected how Douglas would have marvelled at the fact that already, many of us already have the closest thing to Hitch Hiker's Guide in our back pocket, a smart phone connected to Wikipedia, and the rest of the total of human knowledge on the Internet (and the sum total of gibberish too).<br /><br />

Hmm. And having just added more to that pile with more rambling even than usual, I'll say so long and thanks for all the fish.


 
            </div>
        </content>
        <dc:subject>Douglas Adams</dc:subject>
<dc:subject>Mark Twain</dc:subject>
<dc:subject>Martin Gardner</dc:subject>
<dc:subject>mathematics</dc:subject>
<dc:subject>philosophy</dc:subject>
<dc:subject>random musings</dc:subject>

    </entry>
    <entry>
        <link href="http://www.piglets.org/serendipity/archives/110-Boot-time-sound-problems-with-QuickCam-Pro-9000-webcam.html" rel="alternate" title="Boot time sound problems with QuickCam Pro 9000 webcam" />
        <author>
            <name>Colin Turner</name>
                    </author>
    
        <published>2010-01-17T22:21:30Z</published>
        <updated>2010-01-20T10:24:07Z</updated>
        <wfw:comment>http://www.piglets.org/serendipity/wfwcomment.php?cid=110</wfw:comment>
    
        <wfw:commentRss>http://www.piglets.org/serendipity/rss.php?version=atom1.0&amp;type=comments&amp;cid=110</wfw:commentRss>
    
            <category scheme="http://www.piglets.org/serendipity/categories/11-Free-Software" label="Free Software" term="Free Software" />
    
        <id>http://www.piglets.org/serendipity/archives/110-guid.html</id>
        <title type="html">Boot time sound problems with QuickCam Pro 9000 webcam</title>
        <content type="xhtml" xml:base="http://www.piglets.org/serendipity/">
            <div xmlns="http://www.w3.org/1999/xhtml">
                I've had a Logitech QuickCam Pro 9000 for some time now, and it works well, but I did have one bizarre problem with it when I used it with my main desktop machine (running <a href="http://www.debian.org/">Debian</a> (Sid)). Namely, that if I had the camera plugged in (usb) at boot time the sound on the computer did not work, if you plugged it in after boot, everything was fine.<br /><br />

This was pretty irritating because if I forgot I would often have dozens of windows open and ready for work before I realised.<br /><br />

Normally this happens because the cards are loaded in the wrong sequence by udev. But, if you listed the sound cards with
<div class="bash geshi" style="text-align: left"><br /><span style="color: #c20cb9; font-weight: bold;">cat</span> <span style="color: #000000; font-weight: bold;">/</span>proc<span style="color: #000000; font-weight: bold;">/</span>asound<span style="color: #000000; font-weight: bold;">/</span>cards<br />&#160;</div>
the main card wasn't just in the wrong order, it simply wasn't there. I tried comparing modules loaded with and without the camera (at boot) and manually loading the differences, but this did not help. I tried forcing the index to be zero on the correct card, but this also did not help.<br /><br />

In the end, I made the following edit to <em>/etc/modprobe.d/alsa-base.conf</em>

<div class="bash geshi" style="text-align: left"><br /><span style="color: #666666; font-style: italic;"># Keep USB (webcam from being loaded as first card)</span><br />options snd_usb_audio <span style="color: #007800;">index</span>=-<span style="color: #000000;">2</span><br />&#160;</div>

and this did the trick. So if like me you were searching for the answer to this, I hope it helps. 
            </div>
        </content>
        <dc:subject>debian</dc:subject>
<dc:subject>free software</dc:subject>

    </entry>
    <entry>
        <link href="http://www.piglets.org/serendipity/archives/109-Michael.html" rel="alternate" title="Michael" />
        <author>
            <name>Colin Turner</name>
                    </author>
    
        <published>2010-01-01T01:12:36Z</published>
        <updated>2010-01-01T01:25:09Z</updated>
        <wfw:comment>http://www.piglets.org/serendipity/wfwcomment.php?cid=109</wfw:comment>
    
        <wfw:commentRss>http://www.piglets.org/serendipity/rss.php?version=atom1.0&amp;type=comments&amp;cid=109</wfw:commentRss>
    
    
        <id>http://www.piglets.org/serendipity/archives/109-guid.html</id>
        <title type="html">Michael</title>
        <content type="xhtml" xml:base="http://www.piglets.org/serendipity/">
            <div xmlns="http://www.w3.org/1999/xhtml">
                <blockquote>
Michael stands in the rain, as drops fall from his brow to the ground,<br />
He waits patiently, his steel grey eyes surveying his battlefield,<br />
It is a strange one, strewn with grass and flowers and many a mound,<br />
And rank and file of stones each entreating that He should yield.<br /><br />

Scattered here and there, his kinfolk stand, but none as Michael.<br />
He is the soldier, with breastplate and shield, and sword by his side,<br />
Not drawn since he came to be here; he stands as a stoic sentinel,<br />
Patient, benevolent, the fire in his spirit not worn with boastful pride.<br /><br />

Michael stands in the rain, as he has stood in the blistering Sun,<br />
And when stars wheel above him; when snow coated, but not numb,<br />
Rather with exultant wings renewed, he stands vigilant for the One.<br />
Waiting for his ancient foe, the firstborn seraph, who does not come.<br /><br />
</blockquote> 
            </div>
        </content>
        
    </entry>
    <entry>
        <link href="http://www.piglets.org/serendipity/archives/108-Virtual-folders-with-Dovecot-and-Debian.html" rel="alternate" title="Virtual folders with Dovecot and Debian" />
        <author>
            <name>Colin Turner</name>
                    </author>
    
        <published>2009-12-31T15:06:09Z</published>
        <updated>2009-12-31T15:06:09Z</updated>
        <wfw:comment>http://www.piglets.org/serendipity/wfwcomment.php?cid=108</wfw:comment>
    
        <wfw:commentRss>http://www.piglets.org/serendipity/rss.php?version=atom1.0&amp;type=comments&amp;cid=108</wfw:commentRss>
    
            <category scheme="http://www.piglets.org/serendipity/categories/11-Free-Software" label="Free Software" term="Free Software" />
    
        <id>http://www.piglets.org/serendipity/archives/108-guid.html</id>
        <title type="html">Virtual folders with Dovecot and Debian</title>
        <content type="xhtml" xml:base="http://www.piglets.org/serendipity/">
            <div xmlns="http://www.w3.org/1999/xhtml">
                I use client side virtual folders a bit for my mail. Specifically, I tag messages with IMAP flags like <strong>todo</strong> and <strong>important</strong>, and then in Icedove / Thunderbird, I set up a special folder as a saved search which shows message that are either unseen, or marked todo in my inbox. It works rather well, and I use the same set-up on my laptop, and work and home desktop machines.<br /><br />

But it's not very useful on my phone, which doesn't allow such sophisticated client side behaviour. My phone mail applications shows the most recent 25 messages in a folder, but there are times when it would be really useful to look up messages that are labeled as important but rather old. It would be time consuming to look through the older messages, and difficult to find the one I want anyway.<br /><br />

As a result, I've been looking at the possibility of using virtual server side folders using <a href="http://www.dovecot.org">dovecot</a> on my <a href="http://www.debian.org">Debian</a> mail server. I was put off by the <a href="http://wiki.dovecot.org/Plugins/Virtual">documentation</a> which left a lot of questions unanswered.<br /><br />

Here's how I did it on Debian. First of all edit the config file <em>/etc/dovecot/dovecot.conf</em>, back up this file first, so you can restore working behaviour if something goes wrong.
<div class="dovecot geshi" style="text-align: left"><br />#<br /># You have to add the default namespace<br /># which is normally NOT added explicitly before<br />#<br />namespace private {<br />&#160; prefix =<br />&#160; separator = /<br />&#160; # the next line is very specific to where you keep your mail<br />&#160; location = mbox:~/Mail/:INBOX=/var/mail/%u<br />&#160; list = yes<br />&#160; inbox = yes<br />&#160; subscriptions = yes<br />&#160; hidden = no<br />}<br /><br />#<br /># Then add the virtual namespace<br />#<br />namespace private {<br />&#160; &#160; prefix = virtual/<br />&#160; &#160; separator = /<br />&#160; &#160; # pick where the virtual folders will be<br />&#160; &#160; location = virtual:~/Mail/virtual<br />&#160; &#160; list = yes<br />&#160; &#160; inbox = no<br />&#160; &#160; subscriptions = yes<br />&#160; &#160; hidden = no<br />}<br />&#160;</div>
<br /><br />

You must also add the virtual folder plugin.
<div class="dovecot geshi" style="text-align: left"><br />##<br />## IMAP specific settings<br />##<br /><br />protocol imap {<br /><br />&#160; # ... you need to enable the plugin<br />&#160; mail_plugins = virtual<br />&#160;</div>
<br /><br />

Now restart dovecot and check your normal folders are working.
<div class="bash geshi" style="text-align: left"><br /><span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>init.d<span style="color: #000000; font-weight: bold;">/</span>dovecot restart<br />&#160;</div>

Note that I found <strong>dovecot will generally not serve physical folders correctly if the virtual mail folder (even if empty) does not exist</strong>. I consider this a bug, but one that needs to be worked around, at least for me.<br /><br />

If that's all done and working you can begin to create virtual folders. I created two directories within my <em>~/Mail/virtual</em> folders; which were <em>inbox-todo</em> and <em>inbox-important</em> respectively. Inside each I put the following files.<br /><br />

<div class="dovecot geshi" style="text-align: left"><br /># ~/Mail/virtual/inbox-todo/dovecot-virtual<br />INBOX<br />&#160; OR (OR (OR KEYWORD $TODO KEYWORD todo) KEYWORD $label4) unseen<br />&#160;</div>

which shows all unseen and mail labelled todo in my inbox and

<div class="dovecot geshi" style="text-align: left"><br /># ~/Mail/virtual/inbox-important/dovecot-virtual<br />INBOX<br />&#160; OR (OR KEYWORD $IMPORTANT KEYWORD important) KEYWORD $label1<br />&#160;</div>

which shows only important mail in my inbox.<br /><br />

It seems to be working, my normal folders appear to be working perfectly correctly (but I'll know better in a couple more hours/days); my phone has successfully subscribed to the two virtual folders, though the folder list shows a number of files which I'm certain it should not, again, this looks like a dovecot bug to be honest.
 
            </div>
        </content>
        <dc:subject>debian</dc:subject>
<dc:subject>dovecot</dc:subject>
<dc:subject>free software</dc:subject>
<dc:subject>Gondolin</dc:subject>

    </entry>
    <entry>
        <link href="http://www.piglets.org/serendipity/archives/107-Fixing-g1-Accelerometer.html" rel="alternate" title="Fixing g1 Accelerometer" />
        <author>
            <name>Colin Turner</name>
                    </author>
    
        <published>2009-12-22T22:56:23Z</published>
        <updated>2009-12-22T22:56:23Z</updated>
        <wfw:comment>http://www.piglets.org/serendipity/wfwcomment.php?cid=107</wfw:comment>
    
        <wfw:commentRss>http://www.piglets.org/serendipity/rss.php?version=atom1.0&amp;type=comments&amp;cid=107</wfw:commentRss>
    
            <category scheme="http://www.piglets.org/serendipity/categories/6-hardware" label="hardware" term="hardware" />
    
        <id>http://www.piglets.org/serendipity/archives/107-guid.html</id>
        <title type="html">Fixing g1 Accelerometer</title>
        <content type="xhtml" xml:base="http://www.piglets.org/serendipity/">
            <div xmlns="http://www.w3.org/1999/xhtml">
                I had noted before that <a href="http://www.piglets.org/serendipity/archives/106-Cyanogen-Android-ROM-on-the-g1.html">my accelerometer had broken on my Android g1 phone</a>, so that one axis was out by about 40 degrees. Despite lots of "helpful" suggestions from my friends on how to fix it (you know who you are), nothing worked. This did.<br /><br />

Connect to the phone with adb (from the <a href="http://developer.android.com/sdk/index.html">Android SDK</a>), in the following way.<br /><br />

<div class="shell geshi" style="text-align: left"><br />./adb start-server<br />./adb shell<br /># cd /data/misc/<br /># mv amkd_set.txt amkd_old.txt<br /># killall amkd<br />&#160;</div>

Now it works. 
            </div>
        </content>
        <dc:subject>android</dc:subject>
<dc:subject>bug fix</dc:subject>
<dc:subject>hardware</dc:subject>

    </entry>

</feed>