<?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-01-20T10:24:07Z</updated>
    <generator uri="http://www.s9y.org/" version="1.4.1-1">Serendipity 1.4.1-1 - http://www.s9y.org/</generator>
    <dc:language>en</dc:language>

    <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>
    <entry>
        <link href="http://www.piglets.org/serendipity/archives/106-Cyanogen-Android-ROM-on-the-g1.html" rel="alternate" title="Cyanogen Android ROM on the g1" />
        <author>
            <name>Colin Turner</name>
                    </author>
    
        <published>2009-12-15T21:37:25Z</published>
        <updated>2009-12-15T21:37:25Z</updated>
        <wfw:comment>http://www.piglets.org/serendipity/wfwcomment.php?cid=106</wfw:comment>
    
        <wfw:commentRss>http://www.piglets.org/serendipity/rss.php?version=atom1.0&amp;type=comments&amp;cid=106</wfw:commentRss>
    
            <category scheme="http://www.piglets.org/serendipity/categories/11-Free-Software" label="Free Software" term="Free Software" />
            <category scheme="http://www.piglets.org/serendipity/categories/6-hardware" label="hardware" term="hardware" />
            <category scheme="http://www.piglets.org/serendipity/categories/3-review" label="review" term="review" />
    
        <id>http://www.piglets.org/serendipity/archives/106-guid.html</id>
        <title type="html">Cyanogen Android ROM on the g1</title>
        <content type="xhtml" xml:base="http://www.piglets.org/serendipity/">
            <div xmlns="http://www.w3.org/1999/xhtml">
                I've had my Google development phone, the g1, for some time now. I haven't had the luxury of time to write anything for it, but I mainly wanted it to try out Android anyway. I've <a href="http://www.piglets.org/serendipity/archives/82-HTC-Android-G1.html">reviewed the phone</a> before, and again after <a href="http://www.piglets.org/serendipity/archives/84-Android-1.5-Cupcake-firmware.html">some</a> <a href="http://www.piglets.org/serendipity/archives/102-Android-1.6-Donut-initial-thoughts.html">canonical</a> firmware upgrades.<br /><br />

I use the truly excellent <a href="http://code.google.com/p/k9mail/">K9</a> application for mail, it has good support for self signed certificates, now has IMAP push support and is generally excellent. However, <a href="http://code.google.com/p/k9mail/issues/detail?id=210&q=sd&colspec=ID%20Product%20Type%20Status%20Priority%20Milestone%20Owner%20Summary">it stores all the mail</a> on the <a href="http://www.htc.com/www/product/g1/specification.html">shockingly limited internal memory</a> on the device. That, and upgrades to things like Google Maps, adding truly excellent new functionality, left me constantly looking for applications to remove.<br /><br />

This is why in the end I decided to try <a href="http://www.cyanogenmod.com/">Cyanogen's ROMs</a>. Since I have a development phone, I didn't need to root it, and just followed the <a href="http://wiki.cyanogenmod.com/index.php/Full_Update_Guide_-_ADP1_Firmware_to_CyanogenMod">relevant instructions</a> (in truth, I couldn't be bothered to downgrade the OS to root it first).<br /><br />

Here are some observations about the new ROM:<br /><br />

<ul>
  <li>Apps2sd is amazing.<br />
  I have the whole pleasure of trying different apps all over again, without sweating about every byte. I don't have to worry about how much data is in my contacts (whether I assign them icons), my emails, and so on. I have plenty of room. I was delighted to be able to install DocumentsToGo. Which makes the phone <strong>much</strong> more useful for work emails. Loads of great apps I had to remove have been reinstated, and I can play with others, like the awesome Google Googles.
  <li>Extra workspaces<br />
  There are five workspaces, making for more widget playroom. I now have a calendar app taking up a whole workspace with the events to come. Excellent.
  <li>It fixes several problems I had with MMS functionality.<br />
  <ul>
    <li>It fakes a variety of user agents, meaning that a test video message I sent myself on o2 finally worked, for the first time ever.</li>
    <li>The stock ROM allows you to prevent data access when roaming, which is good. But it also doesn't fetch MMS when roaming, which is (for me) a nuisance, and these are usually on a different tariff system. So when you receive an MMS on roaming, you end up enabling all data access to quickly receive the MMS, and then turn it off again. The Cyanogen ROM has an option to retrieve MMS on roaming.</li>
  </ul>
  <li>UI feels snappier</li>
  <li>USB tethering<br /> can be enabled, which JustWorks (TM) with Debian. Excellent.
</ul>

On the downside, I have had some reset problems, but admittedly I have sometimes been pushing the phone very hard indeed to test it. And the battery life on the g1 is still awful. I know <a href="http://www.earth.li/~noodles/">Noodles</a> has solved the problem by not actually using his phone :-), but I want to use mine.<br /><br />

Another minor problem I encountered some weeks ago was the accelerometer suddenly starting serious misreporting on one axis. This problem seems to be becoming less severe, but even reinstalling the stock and then cyanogen ROM did not fix it. However, note I did <strong>not</strong> wipe the user data.<br /><br />

Cyanogen has made my phone fun to have again. And I will still replace it when a new Android handset comes out that I really like, but a lot of the urgency has gone. I'll certainly buy him a beer for Christmas.


 
            </div>
        </content>
        <dc:subject>android</dc:subject>
<dc:subject>debian</dc:subject>
<dc:subject>firmware</dc:subject>
<dc:subject>free software</dc:subject>
<dc:subject>hardware</dc:subject>
<dc:subject>linux</dc:subject>
<dc:subject>review</dc:subject>

    </entry>
    <entry>
        <link href="http://www.piglets.org/serendipity/archives/105-More-about-LHC-black-holes.html" rel="alternate" title="More about LHC black holes" />
        <author>
            <name>Colin Turner</name>
                    </author>
    
        <published>2009-11-15T23:20:41Z</published>
        <updated>2009-11-15T23:20:41Z</updated>
        <wfw:comment>http://www.piglets.org/serendipity/wfwcomment.php?cid=105</wfw:comment>
    
        <wfw:commentRss>http://www.piglets.org/serendipity/rss.php?version=atom1.0&amp;type=comments&amp;cid=105</wfw:commentRss>
    
            <category scheme="http://www.piglets.org/serendipity/categories/12-STEM" label="STEM" term="STEM" />
    
        <id>http://www.piglets.org/serendipity/archives/105-guid.html</id>
        <title type="html">More about LHC black holes</title>
        <content type="xhtml" xml:base="http://www.piglets.org/serendipity/">
            <div xmlns="http://www.w3.org/1999/xhtml">
                Last week <a href="http://www.piglets.org/serendipity/archives/104-Black-Hole-Radius,-or-How-I-came-to-love-the-LHC.html">I wrote a little about the size of black holes</a>, and incidentally discussed <strong>very</strong> primitive calculations I did on the lifespan of any black hole created by the LHC.<br /><br />

A few days later, this <a href="http://news.discovery.com/space/the-lhc-black-hole-no-braner.html">interesting article</a> showed the results of professional physicists on just how little such little black holes could grow, in some cases even if their lifetime was not restricted. Enjoy. 
            </div>
        </content>
        <dc:subject>black holes</dc:subject>
<dc:subject>general relativity</dc:subject>
<dc:subject>mathematics</dc:subject>
<dc:subject>physics</dc:subject>
<dc:subject>stem</dc:subject>

    </entry>
    <entry>
        <link href="http://www.piglets.org/serendipity/archives/104-Black-Hole-Radius,-or-How-I-came-to-love-the-LHC.html" rel="alternate" title="Black Hole Radius, or How I came to love the LHC" />
        <author>
            <name>Colin Turner</name>
                    </author>
    
        <published>2009-11-09T14:58:39Z</published>
        <updated>2009-11-15T23:28:33Z</updated>
        <wfw:comment>http://www.piglets.org/serendipity/wfwcomment.php?cid=104</wfw:comment>
    
        <wfw:commentRss>http://www.piglets.org/serendipity/rss.php?version=atom1.0&amp;type=comments&amp;cid=104</wfw:commentRss>
    
            <category scheme="http://www.piglets.org/serendipity/categories/12-STEM" label="STEM" term="STEM" />
    
        <id>http://www.piglets.org/serendipity/archives/104-guid.html</id>
        <title type="html">Black Hole Radius, or How I came to love the LHC</title>
        <content type="xhtml" xml:base="http://www.piglets.org/serendipity/">
            <div xmlns="http://www.w3.org/1999/xhtml">
                I allowed myself to become rather distracted by my second years last week as the class was finishing. They were talking about an <a href="http://www.bbc.co.uk/iplayer/episode/b00nslc4/Horizon_20092010_Whos_Afraid_of_a_Big_Black_Hole/">episode</a> of <a href="http://www.bbc.co.uk/horizon/">Horizon</a> that discussed <a href="http://en.wikipedia.org/wiki/General_relativity">General Relativity</a> and theories of <a href="http://en.wikipedia.org/wiki/Quantum_gravity">Quantum Gravity</a>. What followed was a free ranging discussion on the nature of infinity, mentioned briefly in the program. But we also talked about the nature of a <a href="http://en.wikipedia.org/wiki/Black_hole">black hole</a> and its size.<br /><br />

It's surprisingly easy to calculate this with <em>reasonably</em> elementary maths and physics. I first did this when I was about 17 (how very sad) using classical physics equations, and was astounded to discover that even so, the answer was correct (I checked it in the <a href="http://www.britannica.com/">Encyclopedia Britannica</a> in the library at the time).<br /><br />

Here is Newton's universal law of gravitation, between two bodies. It describes the force <em>F</em> between two bodies that are <em>r</em> metres apart. Let's take the one with mass <em>M</em> to be the black hole. <em>G</em> is a small (<a href="http://en.wikipedia.org/wiki/Gravitational_constant">though mysterious</a>) constant.<br /><br />

<img src="http://www.piglets.org/serendipity/plugin/mimetex.php?q=F%20%3D%20%5Cfrac%7BGMm%7D%7Br%5E2%7D" title="F = \frac{GMm}{r^2}" alt="F = \frac{GMm}{r^2}" \/><br /><br />

You can work out the energy needed to escape the black hole using the old stand by equation that work done is the force times distance traveled against that force, but that only works with a constant force, this force will change as we move, so we need to use the big daddy of multiplication, integration.<br /><br  />

<img src="http://www.piglets.org/serendipity/plugin/mimetex.php?q=%20WD%20%3D%20%5Cint_a%5Eb%20F%20dr%20" title=" WD = \int_a^b F dr " alt=" WD = \int_a^b F dr " \/><br /><br />

Specifically, we will work out the energy needed to escape from the <a href="http://en.wikipedia.org/wiki/Event_horizon">event horizon</a>, the surface at which the escape velocity is the speed of light, which is <em>c</em> (299,792,458 m/s). So the energy will be given by moving my little mass <em>m</em> from the radius of the event horizon, let's call is <em>R</em> to infinity, to show we have broken away.<br /><br />

<img src="http://www.piglets.org/serendipity/plugin/mimetex.php?q=%20WD%20%3D%20%5Cint_%7BR%7D%5E%7B%5Cinfty%7D%20%5Cfrac%7BGMm%7D%7Br%5E2%7D%20dr%20%3D%20%5Cleft%20%5B%20-%5Cfrac%7BGMm%7D%7Br%7D%20%5Cright%20%5D_%7BR%7D%5E%7B%5Cinfty%7D%20%3D%20%5Cfrac%7BGMm%7D%7BR%7D%20" title=" WD = \int_{R}^{\infty} \frac{GMm}{r^2} dr = \left [ -\frac{GMm}{r} \right ]_{R}^{\infty} = \frac{GMm}{R} " alt=" WD = \int_{R}^{\infty} \frac{GMm}{r^2} dr = \left [ -\frac{GMm}{r} \right ]_{R}^{\infty} = \frac{GMm}{R} " \/><br /><br />

Now, this should just balance the kinetic energy possessed by my little mass <em>m</em> traveling at the speed of light.<br /><br />

<img src="http://www.piglets.org/serendipity/plugin/mimetex.php?q=%20%5Cfrac%7B1%7D%7B2%7D%20mc%5E2%20%3D%20%5Cfrac%7BGMm%7D%7BR%7D%20" title=" \frac{1}{2} mc^2 = \frac{GMm}{R} " alt=" \frac{1}{2} mc^2 = \frac{GMm}{R} " \/><br /><br />

and if we rearrange for <em>R</em> we get that<br /><br />

<img src="http://www.piglets.org/serendipity/plugin/mimetex.php?q=%20R%20%3D%20%5Cfrac%7B2GM%7D%7Bc%5E2%7D%20" title=" R = \frac{2GM}{c^2} " alt=" R = \frac{2GM}{c^2} " \/> <br /><br />

In other words, the radius of the event horizon, the bit we think of as the "hole" is dependent entirely upon the mass of the object. Please note this is based on a very simple model of a non rotating black hole. Nevertheless we can do some nice calculations from this.<br /><br />

The Sun, would have to be compressed from its diameter of about 700 <em>million</em> kilometres into a radius of just under 3 kilometres. The Earth's mass would need to be compressed so much to form a black hole you would need to squeeze its radius of over 6 thousand kilometres into a radius of around 9 millimetres. That's how dense we're talking here.<br /><br />

We can also consider the radius as described by the contained energy of the black hole, since we know that<br/><br/>

<img src="http://www.piglets.org/serendipity/plugin/mimetex.php?q=E%3Dmc%5E2" title="E=mc^2" alt="E=mc^2" \/><br /><br />

and so, replacing our <em>M</em> in our above equation we get<br /><br />

<img src="http://www.piglets.org/serendipity/plugin/mimetex.php?q=%20R%20%3D%20%5Cfrac%7B2GE%7D%7Bc%5E4%7D%20" title=" R = \frac{2GE}{c^4} " alt=" R = \frac{2GE}{c^4} " \/> <br /><br />

Wow. Remember <em>c</em> is a big number, taking it to the power of four is a lot. So why do this? There's been a lot of speculation about the possibility the <a href="http://en.wikipedia.org/wiki/Large_Hadron_Collider">Large Hadron Collider</a> (LHC) could create a black hole. This has caused a fair degree of panic, and <a href="http://news.bbc.co.uk/1/hi/world/south_asia/7609631.stm">at least one suicide</a>. It's a physicist's <em>dream</em> that a black hole might be created. I just looked up the "high" energies used by the LHC, and high is a relative term. It plans to bash protons together with 7 TeV (Tera electron volts) of energy each, or lead nucleii with 574 TeV each, let's take the latter. Just how much energy is that in a collision? Well, doubling and converting to good old Joules gives 184 micro Joules. That's really not a lot, 184 millionth's of a Joule. A 100W light bulb uses 100 Joules each and every second. How big would the radius of such a black hole that might form be, from that energy? Check the maths, because so far I haven't but I get.<br /><br  />

<img src="http://www.piglets.org/serendipity/plugin/mimetex.php?q=R%20%3D%203.040%20%5Ctimes%2010%5E%7B-48%7D" title="R = 3.040 \times 10^{-48}" alt="R = 3.040 \times 10^{-48}" \/> metres<br /><br />

which is 0.000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,003 metres wide (I hope, I didn't double check the zeros either), which is probably not the planet swallower of people's imagination (but <a href="http://www.cyriak.co.uk/lhc/lhc-webcams.html">this</a> is fun). But the problem is people think this tiddler will grow very rapidly, but that's because they don't know about <a href="http://en.wikipedia.org/wiki/Hawking_radiation">Hawking Radiation</a>. This is an interesting quantum effect that means black holes aren't really black, they do emit a little radiation. Large holes would gather surrounding matter faster than their low radiation rate, but small holes have the opposite situation, they radiate more rapidly. The maths for all that is pretty complex, and you need to make lots of assumptions, but the time taken for our little black hole to "evaporate" is (hurriedly calculated by me)<br /><br />

<img src="http://www.piglets.org/serendipity/plugin/mimetex.php?q=t%20%3D%207.21%20%5Ctimes%2010%5E%7B-79%7D%20s" title="t = 7.21 \times 10^{-79} s" alt="t = 7.21 \times 10^{-79} s" \/><br /><br />

a tiny, tiny fraction of a second. Even allowing for the ambient temperature and some fall in of matter, this little baby is not in equilibrium, it's not getting mass fast enough to accumulate more. It's safe*.<br /><br /><br />

* <small>All disclaimers apply. No liability is assumed for foolish unvalidated experiments done by you or other members of your species. Do not attempt to create black holes in your garage. Any subsequent destruction of your civilization, planet or solar system is at your own risk, and any "EPIC FAIL" signs placed by aliens on the remains is not due to me or my calculation. No calculations have been done on the matter of strange matter either. If you break the planet / system / galaxy or universe you own all the parts.</small>



 
            </div>
        </content>
        <dc:subject>black holes</dc:subject>
<dc:subject>general relativity</dc:subject>
<dc:subject>mathematics</dc:subject>
<dc:subject>quantum gravity</dc:subject>
<dc:subject>science</dc:subject>
<dc:subject>stem</dc:subject>

    </entry>
    <entry>
        <link href="http://www.piglets.org/serendipity/archives/103-Vidzone-working-at-last!.html" rel="alternate" title="Vidzone working at last!" />
        <author>
            <name>Colin Turner</name>
                    </author>
    
        <published>2009-10-20T22:57:09Z</published>
        <updated>2009-10-20T22:57:09Z</updated>
        <wfw:comment>http://www.piglets.org/serendipity/wfwcomment.php?cid=103</wfw:comment>
    
        <wfw:commentRss>http://www.piglets.org/serendipity/rss.php?version=atom1.0&amp;type=comments&amp;cid=103</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/103-guid.html</id>
        <title type="html">Vidzone working at last!</title>
        <content type="xhtml" xml:base="http://www.piglets.org/serendipity/">
            <div xmlns="http://www.w3.org/1999/xhtml">
                Success at last. I've <a href="http://www.piglets.org/serendipity/archives/99-Virgin-Media,-Netgear-and-Vidzone.html">written before</a> about my problems getting <a href="http://www.vidzone.tv">vidzone</a> working, and tonight while taking a breather from some work I tried the Oracle of Google again, and I found a solution. As I suspected, it wasn't a network problem at all.<br /><br />

Kudos to <a href="http://community.eu.playstation.com/playstationeu/profile?user.id=293748">lyonix</a>, who suggested that deleting a corrupt cache for Vidzone from the game data utility often works. It worked perfectly for me, (note even removing and reinstalling the software doesn't affect that). 
            </div>
        </content>
        <dc:subject>ps3</dc:subject>
<dc:subject>vidzone</dc:subject>

    </entry>

</feed>