<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
<channel>
<title>mcavity - chronicles of waste and time</title>
<link>http://www.mcavity.com/</link>
<description>random notes by the outwardly respectable hidden paw</description>
<copyright>Copyright 2008</copyright>
<lastBuildDate>Thu, 14 Jun 2007 16:00:12 +0530</lastBuildDate>
<generator>http://www.movabletype.org/?v=3.35</generator>
<docs>http://blogs.law.harvard.edu/tech/rss</docs> 

<item>
<title>Sorting Categories in Movable Type: Three Solutions</title>
<description><![CDATA[<p>If you want to sort your categories in some customized order &#8212; i.e., not alphabetically, which is the MT default &#8212; there are some solutions. I&#8217;ve tracked down three different solutions. </p>

<p>(Note that I am now running MT 3.35, and I&#8217;m not sure Solution #3 below works in anything below version 3.3x.)</p>

<ol>
<li>Use the <a href="http://www.mcavity.com/archives/blogging/sorting_categor.php#Option1" title="Option 1">RegEx Plugin</a>;</li>
<li>Use the <a href="http://www.mcavity.com/archives/blogging/sorting_categor.php#Option2" title="Option 2">CustomFields Plugin</a>;</li>
<li>Use category <a href="http://www.mcavity.com/archives/blogging/sorting_categor.php#Option3" title="Option 3">basenames</a>.</li>
</ol>
]]></description>
<link>http://www.mcavity.com/archives/blogging/sorting_categor.php</link>
<guid>http://www.mcavity.com/archives/blogging/sorting_categor.php</guid>
<category>blogging</category>
<pubDate>Thu, 14 Jun 2007 16:00:12 +0530</pubDate>
</item>
<item>
<title>Why Do Virus Warning Hoaxes Make Us Panic?</title>
<description><![CDATA[<p>Yet another computer virus warning hoax last night, and from a friend who should have known better. This one was the Olympic Torch hoax, about an email attachment that threatens to destroy your C drive.</p>

<p>Here&rsquo;s the mail:</p>

<blockquote>
<p>Subject: Warning for Most Dangerous VIRUS<br />&gt; PLEASE FORWARD THIS WARNING AMONG FRIENDS, FAMILY AND<br />&gt; CONTACTS:<br />&gt; You should be alert during the next days:<br />&gt; Do not open any message with an attached file called &#8220;Invitation&#8221; <br />&gt; regardless of who sent it, It is a virus that opens an Olympic Torch<br />&gt; which &#8220;burns&#8221; the whole hard disc C of your computer.<br />&gt; This virus will be received from someone who has your e-mail address in <br />&gt; his/her contact list, that is why you should send this e-mail to<br />&gt; all your contacts. It is better to<br />&gt; receive this message 25 times than to receive the virus and open it.<br />&gt; If you receive a mail called &#8220;invitation&#8221;, though sent by a friend, do not <br />&gt; open it and shut down your computer immediately This is the<br />&gt; worst virus announced by CNN, it has been classified by Microsoft as the <br />&gt; most destructive virus ever.<br />&gt; This virus was discovered by McAfee yesterday, and there is no repair yet <br />&gt; for this kind of virus. This virus simply destroys the Zero<br />&gt; Sector of the Hard Disc, where the vital information is kept<br />&gt; SEND THIS E-MAIL TO EVERYONE YOU KNOW ,<br />&gt; COPY THIS E-MAIL AND SEND! IT TO YOUR FRIENDS<br />&gt; AND REMEMBER: IF YOU SEND IT TO THEM, YOU WILL BENEFIT ALL OF US</p></blockquote>

<p>Of course this is rubbish. But that&rsquo;s hardly the point. The question is, why is that even the most obviously idiotic computer virus warning message makes us abandon all common sense?</p>
]]></description>
<link>http://www.mcavity.com/archives/geekery/why_do_virus_wa.php</link>
<guid>http://www.mcavity.com/archives/geekery/why_do_virus_wa.php</guid>
<category>geekery</category>
<pubDate>Wed, 13 Jun 2007 10:00:09 +0530</pubDate>
</item>
<item>
<title>Recipe for Upgrading MT</title>
<description><![CDATA[<p>After years of doing it donkey-style, I finally figured the easiest and fastest way to upgrade <a href="http://www.sixapart.com/movabletype/" title="Movable Type home page" target="_blank">MovableType</a>. I was moving for Version 3.33 to 3.35, so all references are to that.</p>

<p>Here&#8217;s my very own Martha Stewart style upgrade recipe &#8230;</p>
]]></description>
<link>http://www.mcavity.com/archives/blogging/recipe_for_upgr.php</link>
<guid>http://www.mcavity.com/archives/blogging/recipe_for_upgr.php</guid>
<category>blogging</category>
<pubDate>Sun, 10 Jun 2007 22:52:53 +0530</pubDate>
</item>
<item>
<title>Ping Errors in MT</title>
<description><![CDATA[<p>Had a <a title="why pings fail" href="http://www.mcavity.com/archives/blogging/movable_type_co.php">post</a> a long time ago about ping errors in <a href="http://www.sixapart.com/movabletype/" title="Movable Type home page" target="_blank">MovableType</a>. For the past few days, I&rsquo;m getting yet another error, this time to do with the &ldquo;<strong>recently updated</strong>&rdquo; key. Basically, this is a facility available to paid users of <a href="http://www.sixapart.com/movabletype/" title="Movable Type home page" target="_blank">MovableType</a>, and it pings the <a href="http://www.sixapart.com/movabletype/" title="Movable Type home page" target="_blank">MovableType</a> servers so that the blog shows up in the recently updated list on the <a href="http://www.sixapart.com/movabletype/" title="Movable Type home page" target="_blank">MovableType</a> homepage. For the last couple of posts, I&rsquo;ve been getting a <strong>404</strong> error. I wrote off to them and, to my great surprise and pleasure, got a reply in a few minutes.EOB</p>
]]></description>
<link>http://www.mcavity.com/archives/blogging/ping_errors_in.php</link>
<guid>http://www.mcavity.com/archives/blogging/ping_errors_in.php</guid>
<category>blogging</category>
<pubDate>Tue, 06 Mar 2007 13:00:57 +0530</pubDate>
</item>
<item>
<title>Creative Keyboard and Ctrl+I</title>
<description><![CDATA[<p>Peculiar problem yesterday &mdash; I was using <a title="The Journal 4" href="http://www.davidrm.com/" target="_blank">The Journal</a>, a truly excellent journaling software app, when I noticed that using the <strong>Ctrl+I</strong> for italics was actually generating a <strong>tab character</strong> <em>plus</em> the italics. I figured this must be a conflict with another app running somewhere with its own keyboard shortcuts or hotkeys. Much checking and testing later (including deleting the <a title="digstream registry entry - what is it?" href="http://www.neuber.com/taskmanager/process/digstream.exe.html" target="_blank">digstream registry entry</a>&nbsp;&mdash; a utility from the <a title="digstream home page at Walt Disney Internet Group" href="http://corporate.disney.go.com/wdig/" target="_blank">Walt Disney Internet Group</a>&nbsp;for webcam stuff), and suffering a spectacular meltdown, I figured the culprit was nothing more than the <a title="Creative dot com" href="http://www.creative.com/" target="_blank">Creative</a> keyboard software. Turns out I was using this with a <a title="Creative Wireless Keyboard 9000 Pro" href="http://www.creative.com/products/product.asp?category=10&amp;subcategory=227&amp;product=11493" target="_blank">Creative Wireless Keyboard 9000 Pro</a>, and when I switched keyboards, I forgot to uninstall the previous keyboard software. I did the uninstall from add/remove programs and bingo! problem solved. EOP</p>
]]></description>
<link>http://www.mcavity.com/archives/geekery/creative_keyboa.php</link>
<guid>http://www.mcavity.com/archives/geekery/creative_keyboa.php</guid>
<category>geekery</category>
<pubDate>Tue, 06 Mar 2007 08:38:46 +0530</pubDate>
</item>
<item>
<title>CellPhotography</title>
<description><![CDATA[<p><span class="pics"><a href="http://www.mcavity.com/pics/26122006.jpg"><img alt="26122006" src="http://www.mcavity.com/pics/26122006_thumb.jpg" border="0" / /></a><br />with my cell phone</span>Now this is a shot I took some time ago with my <a title="Nokia India site for 6681" href="http://www.nokia.co.in/nokia/0,,72804,00.html" target="_blank">Nokia 6681</a>. Pretty crappy phone, IMHO, with a lousy battery life, terrible sound and third-rate connectivity. But it seems to take semi-decent shots in fairly large format. </p>

<p>Is this going to be the future? Everything on one phone &mdash; music, pictures, video, email, web? That&rsquo;s a perfectly ghastly idea and is certainly my vision of hell on earth. These phones are incredibly invasive and take time from the things that matter &mdash; books, music, poetry, reading, conversation. More on that anon, requires more thought, I think.</p>

<p><span class="pics"><a href="http://www.mcavity.com/pics/6681_126.jpg"><img alt="6681_126" src="http://www.mcavity.com/pics/6681_126_thumb.jpg" border="0" / /></a><br />Nokia 6681</span>Here&rsquo;s the phone.EOP</p>

<p>&nbsp;</p>

<p>&nbsp;</p>

<p>&nbsp;</p>
]]></description>
<link>http://www.mcavity.com/archives/geekery/cellphotography.php</link>
<guid>http://www.mcavity.com/archives/geekery/cellphotography.php</guid>
<category>geekery</category>
<pubDate>Fri, 02 Mar 2007 13:12:13 +0530</pubDate>
</item>
<item>
<title>Fussbudget</title>
<description><![CDATA[<p>Same old, same old. Every year, every single year, at exactly this time the whole damn country goes totally berserk about this thing called the budget. Every single television channel goes on and on about it, shoving all other programming off the air; the newspapers can&rsquo;t seem to think of anything else. What&rsquo;s the big deal anyway? Don&rsquo;t other countries have &ldquo;budgets&rdquo;? They don&rsquo;t seem to fuss about it like this (except maybe the Brits). And then there&rsquo;s the damned <em>Railway</em> budget a day before. Hoo ha. Why not an airplane budget, or an automobile budget? Actually, in this country we need a bicycle budget and a bullock cart budget.</p>

<p>I wonder what exactly our beloved FM (that&rsquo;s Finance Minister, guys, not a radio station) does. As far as I can tell he spends an entire year preparing for The Budget, delivers it, and then goes on to do the same thing all over again. </p>

<p>Time was when the late <strong>Nani Palkhivala</strong> filled an entire stadium when he spoke on the budget, and thousands of people crowded in to listen to him dissect the thing. Imagine. A whole stadium. That&rsquo;s like someone filling Wembley or the Royal Albert Hall or Madison Square Garden.</p>

<p>And what difference did any of it make, the budget, Palkhivala or anything else? What difference does it make even today? The rich are still getting a whole lot richer, and the poor a whole lot poorer. Wonderful.</p>

<p>India shining.EOP</p>
]]></description>
<link>http://www.mcavity.com/archives/cabbages_and_kings/fussbudget.php</link>
<guid>http://www.mcavity.com/archives/cabbages_and_kings/fussbudget.php</guid>
<category>cabbages and kings</category>
<pubDate>Wed, 28 Feb 2007 19:51:09 +0530</pubDate>
</item>
<item>
<title>Migrating MovableType</title>
<description><![CDATA[<p>Recently, I shifted four <a href="http://www.sixapart.com/movabletype/" title="Movable Type home page" target="_blank">MovableType</a> blogs to my present host, <a href="http://www.bluehost.com/" title="Bluehost">Bluehost</a>. These were four separate installations, on a <a href="http://www.sixapart.com/movabletype/faq#what_is_a_license" title="MT Personal Unlimited License">personal unlimited license</a>. The existing databases &#8212; the ones to be moved &#8212; were heavily populated: lots of plugins, customizations, plenty of data, including pictures and long blobs of text. I also had three or four users per blog. </p>

<p>The problem was this: how best to seamlessly migrate the blogs, retaining users, passwords and all customizations, without having to reconfigure <a href="http://www.sixapart.com/movabletype/" title="Movable Type home page" target="_blank">MovableType</a> from scratch?</p>

<p>After some trial-and-error, I figured out a way. I don&#8217;t claim that this is the best, or even the only, way in which to do this, but it worked for me and should work elsewhere, as long as the new host meets certain requirements (listed <a href="http://www.mcavity.com/archives/geekery/migrating_movab.php#assumptions" title="Assumptions">below</a>). Here&#8217;s my recipe for shifting <a href="http://www.sixapart.com/movabletype/" title="Movable Type home page" target="_blank">MovableType</a> to a new host, based on what I did.EOB</p>
]]></description>
<link>http://www.mcavity.com/archives/geekery/migrating_movab.php</link>
<guid>http://www.mcavity.com/archives/geekery/migrating_movab.php</guid>
<category>geekery</category>
<pubDate>Tue, 11 Jul 2006 21:21:09 +0530</pubDate>
</item>
<item>
<title>Character Entity References</title>
<description><![CDATA[<p>Over at <a href="http://www.alistapart.com/" title="A List Apart">A List Apart</a>, one of the most delectable and beautifully presented websites for webdesigners, <strong>Peter Sheerin</strong> has a now legendary <a href="http://www.alistapart.com/stories/emen" title="The Trouble With EM &#8217;n EN @ A List Apart">article</a> titled &#8220;The Trouble With EM &#8217;n EN (and Other Shady Characters)&#8221; on typography, typographical styles and character entity references. It&#8217;s a pity his advice isn&#8217;t followed more often throughout the Web. There&#8217;s little doubt that it makes for much easier on-screen reading. Apart from anything else, following his advice renders pages that are much more courteous to the reader. </p>

<p>One of the references in that <a href="http://www.alistapart.com/stories/emen" title="The Trouble With EM &#8217;n EN @ A List Apart">article</a> is to the W3C <a href="http://www.w3.org/TR/html4/sgml/entities.html" title="W3C on character entity references">page</a> on <em>Character Entity References in HTML 4</em>. There is a detailed table there of all character entity references with their HTML codes and CData numeric codes. Unfortunately, the table is difficult to decipher. I&#8217;ve taken that table and re-formatted it for easier reading. Presenting the W3C-based table of Character Entity References&#8230;EOB</p>
]]></description>
<link>http://www.mcavity.com/archives/blogging/character_entit.php</link>
<guid>http://www.mcavity.com/archives/blogging/character_entit.php</guid>
<category>blogging</category>
<pubDate>Tue, 27 Jun 2006 10:08:08 +0530</pubDate>
</item>
<item>
<title>An Unsuitable Boy</title>
<description><![CDATA[<p>Barkha Dutt of <a href="http://www.ndtv.com/" title="NDTV" target="_blank">NDTV</a> is, arguably, the best TV journalist in the country today &#8212; tough, polished, very <em>au courant</em>, incisive and unafraid to call a spade a spade, not easy to overawe. But even she seemed to be overwhelmed by <strong>Shashi Tharoor</strong>. The only thing I&#8217;ve seen that comes close is when <a href="http://www.bbc.co.uk/" title="BBC" target="_blank">BBC</a>&#8217;s Tim Sebastian interviewed the redoubtable <strong>Nina Simone</strong>. It&#8217;s the first time I&#8217;ve seen the man &#8212; who can be thoroughly obnoxious &#8212; completely non-plussed. While Tharoor is no Simone (thank God, but that&#8217;s not for want of his trying), nor Dutt Sebastian (double thanks for that), she certainly seemed to be under his spell.EOB</p>
]]></description>
<link>http://www.mcavity.com/archives/cabbages_and_kings/an_unsuitable_b.php</link>
<guid>http://www.mcavity.com/archives/cabbages_and_kings/an_unsuitable_b.php</guid>
<category>cabbages and kings</category>
<pubDate>Tue, 27 Jun 2006 00:57:21 +0530</pubDate>
</item>
<item>
<title>Salman Khan, Valmik Thapar and real soft targets</title>
<description><![CDATA[<p>After a judge sentenced the actor Salman Khan to five years, people have come out saying that the law is unduly harsh on celebs. In an editorial homily, the <a href="http://timesofindia.indiatimes.com/" title="Times of India" target="_blank">Times of India</a> claims that the law should be &#8220;technical&#8221;; cites &#8220;equality before the law&#8221; and says that the punishment is unduly harsh. The unstated assumption underlying this argument is, clearly, that the offence is trivial. Nothing could be further from the truth.EOB</p>
]]></description>
<link>http://www.mcavity.com/archives/herd_and_unheard/salman_khan_val.php</link>
<guid>http://www.mcavity.com/archives/herd_and_unheard/salman_khan_val.php</guid>
<category>herd and unheard</category>
<pubDate>Wed, 12 Apr 2006 21:39:02 +0530</pubDate>
</item>
<item>
<title>More on XP and a corrupted mailto registry key</title>
<description><![CDATA[<p>Was happy to receive a lengthy comment on my post from <strong>Charles Gaefke</strong> (nice to know one is being read sometimes). Here&#8217;s his email, without editing.</p>

<blockquote>
  <p>Hi, about your blog &#8230;</p>
  
  <p>The same thing happened to me, except I don&#8217;t use outlook express. I use Mozilla Thunderbird. Things worked fine for a while, then suddenly, yesterday, it started asking me if I wanted to make it default or not. Of course, saying yes, no, or never ask again didn&#8217;t do a thing. EOB</p>
</blockquote>
]]></description>
<link>http://www.mcavity.com/archives/geekery/more_on_xp_and.php</link>
<guid>http://www.mcavity.com/archives/geekery/more_on_xp_and.php</guid>
<category>geekery</category>
<pubDate>Wed, 12 Apr 2006 19:48:37 +0530</pubDate>
</item>
<item>
<title>Questioning the Morality of the Moral Police</title>
<description><![CDATA[<p><strong>Pratibha Naitthani</strong> was at it again the other evening on TV. She really is the most infernal woman. A panel was discussing all this completely pointless brouhaha about the wardrobe malfunctions at recent fashion shows. There was a professor of sociology from Jawharlal Nehru University, a lady from Delhi and Naitthani. If I am not wrong, Naitthani believes there is something like a conspiracy behind these nip-slips. It was deliberate, obscene and &#8212; she actually said this &#8212; the &#8220;woman was stripped naked before the whole country&#8221;. EOB</p>
]]></description>
<link>http://www.mcavity.com/archives/herd_and_unheard/questioning_the.php</link>
<guid>http://www.mcavity.com/archives/herd_and_unheard/questioning_the.php</guid>
<category>herd and unheard</category>
<pubDate>Wed, 12 Apr 2006 19:25:11 +0530</pubDate>
</item>
<item>
<title>Windows XP-Corrupted mailto registry key and permissions</title>
<description><![CDATA[<p>Had a peculiar problem last night: Outlook Express (my default mail client) suddenly stopped being recognized as the default mail handler. It kept asking whether I wanted to set it as the default. Clicking a &#8220;mailto:&#8221; link in IE opened a zillion windows and, finally, got a message that the default mail handler was incorrectly installed or some such. EOB</p>
]]></description>
<link>http://www.mcavity.com/archives/geekery/windows_xpcorru.php</link>
<guid>http://www.mcavity.com/archives/geekery/windows_xpcorru.php</guid>
<category>geekery</category>
<pubDate>Mon, 20 Mar 2006 13:26:06 +0530</pubDate>
</item>
<item>
<title>Movable Type - Related Entries</title>
<description><![CDATA[<p>I&#8217;ve long been less than fully happy with the ordinary <a href="http://code.appnel.com/mt-relatedentries" title="Related Entries">Related Entries</a> plugin for <a href="http://www.sixapart.com/movabletype/" title="Movable Type home page" target="_blank">MovableType</a>. Originally developed by <strong>Adam Kalsey</strong>, it is now being maintained by <strong>Tim Appnel</strong>. Tim&#8217;s instruction was on the mark &#8212; running MT-Related with keywords slows rebuild times and increases overhead enormously.</p>

<p>Back to Adam. Found he had a brilliant (hardly surprising) <a href="http://kalsey.com/2003/05/related_entries_revisited/" title="Adam Kalsey - Related Entries Revisited">alternative</a> using <strong>Brad Choate&#8217;s</strong> <a href="http://www.bradchoate.com/weblog/2002/07/11/mtsql" title="MTSQL Plugin by Brad Choate">MTSQL</a> plugin (are these guys gods or what?) EOB</p>
]]></description>
<link>http://www.mcavity.com/archives/blogging/movable_type_re.php</link>
<guid>http://www.mcavity.com/archives/blogging/movable_type_re.php</guid>
<category>blogging</category>
<pubDate>Mon, 30 Jan 2006 17:59:27 +0530</pubDate>
</item>


</channel>
</rss>