<?xml version="1.0" encoding="utf-8" ?>

<rss version="2.0" 
   xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
   xmlns:admin="http://webns.net/mvcb/"
   xmlns:dc="http://purl.org/dc/elements/1.1/"
   xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
   xmlns:wfw="http://wellformedweb.org/CommentAPI/"
   xmlns:content="http://purl.org/rss/1.0/modules/content/"
   >
<channel>
    <title>/me on the net! - utilities</title>
    <link>http://web.gnuer.org/blog/</link>
    <description>Anurag's blog at web.gnuer.org</description>
    <dc:language>en</dc:language>
    <generator>Serendipity 1.2 - http://www.s9y.org/</generator>
    <pubDate>Mon, 25 Jun 2012 14:23:19 GMT</pubDate>

    <image>
        <url>http://web.gnuer.org/blog/templates/default/img/s9y_banner_small.png</url>
        <title>RSS: /me on the net! - utilities - Anurag's blog at web.gnuer.org</title>
        <link>http://web.gnuer.org/blog/</link>
        <width>100</width>
        <height>21</height>
    </image>

<item>
    <title>On the fly compression of mysqldump</title>
    <link>http://web.gnuer.org/blog/archives/106-On-the-fly-compression-of-mysqldump.html</link>
            <category>utilities</category>
    
    <comments>http://web.gnuer.org/blog/archives/106-On-the-fly-compression-of-mysqldump.html#comments</comments>
    <wfw:comment>http://web.gnuer.org/blog/wfwcomment.php?cid=106</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://web.gnuer.org/blog/rss.php?version=2.0&amp;type=comments&amp;cid=106</wfw:commentRss>
    

    <author>nospam@example.com (Anurag)</author>
    <content:encoded>
    &lt;pre&gt;mysqldump -uroot -pPASSWORD --opt --all-databases | bzip2 -c &gt; mysql-full-dump.bz2&lt;/pre&gt; 
    </content:encoded>

    <pubDate>Mon, 25 Jun 2012 19:53:19 +0530</pubDate>
    <guid isPermaLink="false">http://web.gnuer.org/blog/archives/106-guid.html</guid>
    
</item>
<item>
    <title>What's new in Firefox 5!</title>
    <link>http://web.gnuer.org/blog/archives/99-Whats-new-in-Firefox-5!.html</link>
            <category>utilities</category>
    
    <comments>http://web.gnuer.org/blog/archives/99-Whats-new-in-Firefox-5!.html#comments</comments>
    <wfw:comment>http://web.gnuer.org/blog/wfwcomment.php?cid=99</wfw:comment>

    <slash:comments>2</slash:comments>
    <wfw:commentRss>http://web.gnuer.org/blog/rss.php?version=2.0&amp;type=comments&amp;cid=99</wfw:commentRss>
    

    <author>nospam@example.com (Anurag)</author>

    <pubDate>Tue, 28 Jun 2011 18:12:15 +0530</pubDate>
    <guid isPermaLink="false">http://web.gnuer.org/blog/archives/99-guid.html</guid>
    
</item>
<item>
    <title>Convert videos for Android (Samsung Galaxy)</title>
    <link>http://web.gnuer.org/blog/archives/97-Convert-videos-for-Android-Samsung-Galaxy.html</link>
            <category>utilities</category>
    
    <comments>http://web.gnuer.org/blog/archives/97-Convert-videos-for-Android-Samsung-Galaxy.html#comments</comments>
    <wfw:comment>http://web.gnuer.org/blog/wfwcomment.php?cid=97</wfw:comment>

    <slash:comments>2</slash:comments>
    <wfw:commentRss>http://web.gnuer.org/blog/rss.php?version=2.0&amp;type=comments&amp;cid=97</wfw:commentRss>
    

    <author>nospam@example.com (Anurag)</author>
    <content:encoded>
    My &lt;a href=&quot;http://www.gsmarena.com/samsung_galaxy_551-3515.php&quot; title=&quot;Samsung Galaxy 551&quot; target=&quot;_blank&quot;&gt;Android phone&lt;/a&gt; doesn&#039;t support DivX/XviD. To play videos on it. I need to convert them to MP4. Taking a note for myself if I need it later.&lt;br /&gt;
&lt;br /&gt;
&lt;blockquote&gt;&lt;code&gt;$ ffmpeg -i input_video.avi -f mp4 -vcodec libx264 -acodec libfaac -s 400x240 -ab 128k output_video.mp4&lt;/code&gt;&lt;/blockquote&gt;&lt;br /&gt;
&lt;br /&gt;
400x240 is the phone&#039;s screen resolution.&lt;br /&gt;
&lt;br /&gt;
[Edit] &lt;a href=&quot;http://www.ffmpeg.org/faq.html#SEC23&quot; title=&quot;FFMpeg FAQs&quot;&gt;Good parameters for high quality MPEG4 encoding&lt;/a&gt;:&lt;br /&gt;
&lt;blockquote&gt;&lt;code&gt;-mbd rd -flags +mv4+aic -trellis 2 -cmp 2 -subcmp 2 -g 300 &lt;/code&gt;&lt;/blockquote&gt; 
    </content:encoded>

    <pubDate>Tue, 22 Feb 2011 00:21:30 +0530</pubDate>
    <guid isPermaLink="false">http://web.gnuer.org/blog/archives/97-guid.html</guid>
    
</item>
<item>
    <title>Mumbai, Delhi, Pune, Ahmedabad - Autorickshaw Taxi fares</title>
    <link>http://web.gnuer.org/blog/archives/96-Mumbai,-Delhi,-Pune,-Ahmedabad-Autorickshaw-Taxi-fares.html</link>
            <category>utilities</category>
    
    <comments>http://web.gnuer.org/blog/archives/96-Mumbai,-Delhi,-Pune,-Ahmedabad-Autorickshaw-Taxi-fares.html#comments</comments>
    <wfw:comment>http://web.gnuer.org/blog/wfwcomment.php?cid=96</wfw:comment>

    <slash:comments>5</slash:comments>
    <wfw:commentRss>http://web.gnuer.org/blog/rss.php?version=2.0&amp;type=comments&amp;cid=96</wfw:commentRss>
    

    <author>nospam@example.com (Anurag)</author>
    <content:encoded>
    &lt;div class=&quot;serendipity_imageComment_right&quot; style=&quot;width: 73px&quot;&gt;&lt;div class=&quot;serendipity_imageComment_img&quot;&gt;&lt;a class=&#039;serendipity_image_link&#039; href=&#039;http://web.gnuer.org/blog/uploads/screenshots/rickfare.png&#039; target=&quot;_blank&quot;&gt;&lt;!-- s9ymdb:14 --&gt;&lt;img width=&quot;73&quot; height=&quot;110&quot;  src=&quot;http://web.gnuer.org/blog/uploads/screenshots/rickfare.serendipityThumb.png&quot; alt=&quot;&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;serendipity_imageComment_txt&quot;&gt;Rickshaw fares for Mumbai&lt;/div&gt;&lt;/div&gt;Two months back Mumbai&#039;s autorickshaw and taxi drivers went on a strike, demanding a steep increase in fares. While earlier the fare calculation was simple, after the new fare structure came in place, autorickshaw fare calculations became relatively complex. &lt;br /&gt;
&lt;br /&gt;
I started &lt;a href=&quot;http://rickfare.com&quot; title=&quot;rickfare.com&quot;&gt;http://rickfare.com&lt;/a&gt; on the day new fares came into effect after seeing the new complicated fare structure. Over time, friends pitched in for their cities and I added New Delhi, Ahmedabad, Pune and Navi Mumbai. Today &lt;a href=&quot;http://rickfare.com&quot; title=&quot;http://rickfare.com &quot;&gt;Rickfare.com&lt;/a&gt; is accessed by thousands of commuters over a wide variety of mobile devices including iPhone, BlackBerry, Android, HTC and assorted Nokia handsets.&lt;br /&gt;
&lt;br /&gt;
I&#039;d like to thank &lt;a href=&quot;http://www.ashishmehta.com/blog/&quot;&gt;Ashish Mehta&lt;/a&gt;, &lt;a href=&quot;http://atuljha.com/blog/&quot;&gt;Atul Jha&lt;/a&gt;, &lt;a href=&quot;http://kartikm.wordpress.com/2010/07/20/rickfare/&quot;&gt;Kartik Mistry&lt;/a&gt; and &lt;a href=&quot;http://eficacy.com&quot;&gt;Kamaleshwar&lt;/a&gt; for helping out with auto fares of their cities &lt;img src=&quot;http://web.gnuer.org/blog/templates/default/img/emoticons/smile.png&quot; alt=&quot;:-)&quot; style=&quot;display: inline; vertical-align: bottom;&quot; class=&quot;emoticon&quot; /&gt; 
    </content:encoded>

    <pubDate>Thu, 26 Aug 2010 14:09:32 +0530</pubDate>
    <guid isPermaLink="false">http://web.gnuer.org/blog/archives/96-guid.html</guid>
    
</item>
<item>
    <title>Extract mp3 audio from a video clip using mencoder</title>
    <link>http://web.gnuer.org/blog/archives/95-Extract-mp3-audio-from-a-video-clip-using-mencoder.html</link>
            <category>utilities</category>
    
    <comments>http://web.gnuer.org/blog/archives/95-Extract-mp3-audio-from-a-video-clip-using-mencoder.html#comments</comments>
    <wfw:comment>http://web.gnuer.org/blog/wfwcomment.php?cid=95</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://web.gnuer.org/blog/rss.php?version=2.0&amp;type=comments&amp;cid=95</wfw:commentRss>
    

    <author>nospam@example.com (Anurag)</author>
    <content:encoded>
    This post is a note for self. I always keep forgetting how to extract mp3 audio file from any video clip.&lt;br /&gt;
&lt;blockquote&gt;&lt;code&gt;$ mencoder videofile.avi -of rawaudio -oac mp3lame -ovc copy -o audio-output.mp3&lt;/code&gt;&lt;/blockquote&gt;&lt;br /&gt;
This is an awesome companion to the youtube video downloader - &lt;a href=&quot;http://bitbucket.org/rg3/youtube-dl/wiki/Home&quot; title=&quot;Youtube video downloader&quot;&gt;youtube-dl.py&lt;/a&gt; 
    </content:encoded>

    <pubDate>Mon, 17 May 2010 13:52:44 +0530</pubDate>
    <guid isPermaLink="false">http://web.gnuer.org/blog/archives/95-guid.html</guid>
    
</item>
<item>
    <title>Server sent unexpected return value (502 Bad Gateway) in response to COPY request</title>
    <link>http://web.gnuer.org/blog/archives/94-Server-sent-unexpected-return-value-502-Bad-Gateway-in-response-to-COPY-request.html</link>
            <category>utilities</category>
    
    <comments>http://web.gnuer.org/blog/archives/94-Server-sent-unexpected-return-value-502-Bad-Gateway-in-response-to-COPY-request.html#comments</comments>
    <wfw:comment>http://web.gnuer.org/blog/wfwcomment.php?cid=94</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://web.gnuer.org/blog/rss.php?version=2.0&amp;type=comments&amp;cid=94</wfw:commentRss>
    

    <author>nospam@example.com (Anurag)</author>
    <content:encoded>
    During the recent server migration, I shifted svn services from &lt;em&gt;http&lt;/em&gt; to &lt;em&gt;https&lt;/em&gt;. Everything seemed to work fine, except for this error while creating branches.&lt;br /&gt;
&lt;br /&gt;
&lt;code&gt;frodo$ svn cp https://svn.xinh.org/svn/project/UberCool/trunk https://svn.xinh.org/svn/project/UberCool/branches/1.0&lt;br /&gt;
svn: Server sent unexpected return value (502 Bad Gateway) in response to COPY request for &#039;/svn/project/!svn/bc/15/UberCool/trunk&#039;&lt;br /&gt;
svn: Your commit message was left in a temporary file:&lt;br /&gt;
svn:    &#039;svn-commit.tmp&#039;&lt;br /&gt;
frodo$ &lt;/code&gt;&lt;br /&gt;
&lt;br /&gt;
Googling around a bit helped. I&#039;m using HTTPS over Apache + dav_svn module. This issue can be fixed by enabling &lt;strong&gt;mod_headers&lt;/strong&gt; module in Apache and adding the following line at the end of your VirtualHost.&lt;br /&gt;
&lt;br /&gt;
&lt;code&gt;RequestHeader edit Destination ^https http early&lt;/code&gt;&lt;br /&gt;
 
    </content:encoded>

    <pubDate>Wed, 21 Apr 2010 10:46:14 +0530</pubDate>
    <guid isPermaLink="false">http://web.gnuer.org/blog/archives/94-guid.html</guid>
    
</item>
<item>
    <title>MovieAB - A tiny movie mashup</title>
    <link>http://web.gnuer.org/blog/archives/88-MovieAB-A-tiny-movie-mashup.html</link>
            <category>utilities</category>
    
    <comments>http://web.gnuer.org/blog/archives/88-MovieAB-A-tiny-movie-mashup.html#comments</comments>
    <wfw:comment>http://web.gnuer.org/blog/wfwcomment.php?cid=88</wfw:comment>

    <slash:comments>4</slash:comments>
    <wfw:commentRss>http://web.gnuer.org/blog/rss.php?version=2.0&amp;type=comments&amp;cid=88</wfw:commentRss>
    

    <author>nospam@example.com (Anurag)</author>
    <content:encoded>
    &lt;!-- s9ymdb:12 --&gt;&lt;img width=&quot;110&quot; height=&quot;23&quot; style=&quot;float: right; border: 0px; padding-left: 5px; padding-right: 5px;&quot; src=&quot;http://web.gnuer.org/blog/uploads/logos/movieab_beta_130.serendipityThumb.gif&quot; alt=&quot;&quot; /&gt;Announcing &lt;a href=&quot;http://www.movieab.com&quot; title=&quot;MovieAB&quot;&gt;MovieAB&lt;/a&gt; -- a mashup of freely available movie data APIs from around the internet. A catalog of over 170000 movie titles, tv series, programs available on DVD, actors and directors is available at the moment, and keeps growing every day.&lt;br /&gt;
&lt;br /&gt;
Try a sample page for the movie &lt;a href=&quot;http://www.movieab.com/titles/12679-spiderman-2&quot; title=&quot;Spider Man 2&quot;&gt;Spider-Man 2&lt;/a&gt;. Every movie info page displays DVD box-art image, netflix user ratings, genres, a short summary, cast, awards and nominations and movie reviews from NYTimes if its available.&lt;br /&gt;
&lt;br /&gt;
MovieAB came up as an idea to implement &lt;a href=&quot;http://developer.netflix.com&quot;&gt;Netflix&#039;s API&lt;/a&gt;, after they decided to open up their vast catalog of movie data to third party developers. This was soon followed up with New York Times&#039; decision to open up their comprehensive &lt;a href=&quot;http://developer.nytimes.com&quot;&gt;movie reviews api&lt;/a&gt; to third party developers. I can&#039;t thank them enough.&lt;br /&gt;
&lt;br /&gt;
And, what&#039;s this AB? Well, I have no idea. This was the smallest domain name available. iMovie, gMovie, LiveMovie are all taken &lt;img src=&quot;http://web.gnuer.org/blog/templates/default/img/emoticons/wink.png&quot; alt=&quot;;-)&quot; style=&quot;display: inline; vertical-align: bottom;&quot; class=&quot;emoticon&quot; /&gt;&lt;br /&gt;
&lt;br /&gt;
Many thanks to &lt;a href=&quot;http://www.eficacy.com/&quot; title=&quot;Eficacy.com&quot;&gt;Kamaleshwar&lt;/a&gt; for designing this clean and simplistic logo. More artwork requests from me are coming your way! If you liked the application, have suggestions for improvement, criticisms, bug reports or general feedback - write in to feedback (at) movieab.com.&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;cbw snap_nopreview&quot;&gt;   &lt;div class=&quot;cbw_header&quot;&gt;     &lt;script src=&quot;http://www.movieab.com/javascripts/widget.js&quot; type=&quot;text/javascript&quot;&gt;&lt;/script&gt;     &lt;div class=&quot;cbw_header_text&quot;&gt;&lt;a href=&quot;http://www.movieab.com/&quot; rel=&quot;nofollow&quot;&gt;MovieAB movie summary&lt;/a&gt;&lt;/div&gt;   &lt;/div&gt;   &lt;div class=&quot;cbw_content&quot;&gt;     &lt;div class=&quot;cbw_subheader&quot;&gt;&lt;a href=&quot;http://www.movieab.com/titles/12679-spiderman-2&quot;&gt;Spider-Man 2&lt;/a&gt;&lt;/div&gt;     &lt;div class=&quot;cbw_subcontent&quot;&gt;&lt;script src=&quot;http://www.movieab.com/titles/12679-spiderman-2.js&quot; type=&quot;text/javascript&quot;&gt;&lt;/script&gt;&lt;/div&gt;     &lt;div class=&quot;cbw_footer&quot;&gt;Movie info by &lt;a href=&quot;http://www.movieab.com/&quot; rel=&quot;nofollow&quot;&gt;MovieAB&lt;/a&gt;&lt;/div&gt;   &lt;/div&gt; &lt;/div&gt; 
    </content:encoded>

    <pubDate>Mon, 23 Feb 2009 19:10:16 +0530</pubDate>
    <guid isPermaLink="false">http://web.gnuer.org/blog/archives/88-guid.html</guid>
    
</item>
<item>
    <title>USD INR exchange rates</title>
    <link>http://web.gnuer.org/blog/archives/87-USD-INR-exchange-rates.html</link>
            <category>utilities</category>
    
    <comments>http://web.gnuer.org/blog/archives/87-USD-INR-exchange-rates.html#comments</comments>
    <wfw:comment>http://web.gnuer.org/blog/wfwcomment.php?cid=87</wfw:comment>

    <slash:comments>4</slash:comments>
    <wfw:commentRss>http://web.gnuer.org/blog/rss.php?version=2.0&amp;type=comments&amp;cid=87</wfw:commentRss>
    

    <author>nospam@example.com (Anurag)</author>
    <content:encoded>
    I keep looking at stuff and try guessing its price in INR. Look around for calculator, check USD exchange rate and punch it in.&lt;br /&gt;
&lt;br /&gt;
&lt;code&gt;#!/usr/bin/env ruby&lt;br /&gt;
require &#039;rubygems&#039;&lt;br /&gt;
require &#039;hpricot&#039;&lt;br /&gt;
require &#039;open-uri&#039;&lt;br /&gt;
&lt;br /&gt;
FPAGE = &#039;http://finance.yahoo.com/q?s=USDINR=X&#039;&lt;br /&gt;
XPATH = &#039;/html/body/div/div[2]/div[4]/div[2]/div/div[2]/table/tr/td/big/b/span/&#039;&lt;br /&gt;
&lt;br /&gt;
amount = (ARGV.length == 1) ? ARGV[0].to_f : 1&lt;br /&gt;
amount = 1 if amount == 0&lt;br /&gt;
&lt;br /&gt;
doc = Hpricot(URI.parse( FPAGE ).read)&lt;br /&gt;
element = doc.search( XPATH )&lt;br /&gt;
exchange_rate = element[0].to_s.to_f&lt;br /&gt;
puts &quot;#{amount} USD = #{amount * exchange_rate} INR&quot;&lt;/code&gt;&lt;br /&gt;
&lt;br /&gt;
Now i no longer have to. Just running &lt;strong&gt;$ usdinr 197.21&lt;/strong&gt; gives the amount in INR. Save this file in &lt;strong&gt;/usr/bin/usdinr&lt;/strong&gt; and give execute permissions.&lt;br /&gt;
&lt;br /&gt;
[Update 2009-02-19: Updated the script with new XPath]&lt;br /&gt;
[Update 2010-12-08: Updated the script with new Yahoo finance page and XPath] 
    </content:encoded>

    <pubDate>Mon, 05 Jan 2009 15:48:18 +0530</pubDate>
    <guid isPermaLink="false">http://web.gnuer.org/blog/archives/87-guid.html</guid>
    
</item>
<item>
    <title>Tata Indicom wireless data card (Huawei EC321 CDMA card)</title>
    <link>http://web.gnuer.org/blog/archives/81-Tata-Indicom-wireless-data-card-Huawei-EC321-CDMA-card.html</link>
            <category>misc</category>
            <category>utilities</category>
    
    <comments>http://web.gnuer.org/blog/archives/81-Tata-Indicom-wireless-data-card-Huawei-EC321-CDMA-card.html#comments</comments>
    <wfw:comment>http://web.gnuer.org/blog/wfwcomment.php?cid=81</wfw:comment>

    <slash:comments>61</slash:comments>
    <wfw:commentRss>http://web.gnuer.org/blog/rss.php?version=2.0&amp;type=comments&amp;cid=81</wfw:commentRss>
    

    <author>nospam@example.com (Anurag)</author>
    <content:encoded>
    &lt;div class=&quot;serendipity_imageComment_right&quot; style=&quot;width: 89px&quot;&gt;&lt;div class=&quot;serendipity_imageComment_img&quot;&gt;&lt;a class=&#039;serendipity_image_link&#039; href=&#039;http://web.gnuer.org/blog/uploads/pictures/vcard.jpg&#039;&gt;&lt;!-- s9ymdb:11 --&gt;&lt;img width=&quot;89&quot; height=&quot;110&quot;  src=&quot;http://web.gnuer.org/blog/uploads/pictures/vcard.serendipityThumb.jpg&quot; alt=&quot;&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;serendipity_imageComment_txt&quot;&gt;Tata indicom Vdata card&lt;/div&gt;&lt;/div&gt;I&#039;ve been using Tata Indicom&#039;s data card based internet services for the past 2 years or so. and my experience about the internet service quality has been above satisfaction so far. After filling up the application form, and paying 4990 INR upfront for the data card, i got the card delivered at home in 2 days. Pretty fast indeed. &lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;Data card connectivity speed&lt;/strong&gt;: The Huawei EC321 CDMA card is rated for about 156Kbps. Initially at the place where i used to live, i used to get about 140 Kbps speed without fiddling too much with the antenna and direction. At my current residence too, i manage about the same speeds, which is more than enough for my email and IRC applications &lt;img src=&quot;http://web.gnuer.org/blog/templates/default/img/emoticons/tongue.png&quot; alt=&quot;:-P&quot; style=&quot;display: inline; vertical-align: bottom;&quot; class=&quot;emoticon&quot; /&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;Setup and installation&lt;/strong&gt;: The data card comes as a PCMCIA device which can be plugged onto the PCMCIA slot of your laptop. Its probably straightforward to install it in Windows. There&#039;s a desktop manager application included in the installation CD with puts a dialer-cum-sms inbox checking app shortcut on the desktop. Getting the internet working on linux is even easier. Check &lt;a href=&quot;http://web.gnuer.org/blog/archives/31-tata-indicom-data-card.html&quot;&gt;how to get the data card running with wvdial&lt;/a&gt; here. &lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;Tariff plans&lt;/strong&gt;: The data card costed me around 4990 INR some 2 years back. It should be cheaper now. The USB pen drive shaped Plug2Surf ones are definitely cheaper. I am under 1GB plan which costs me less than 800 INR per month with taxes included, as i never cross my 1GB limit.&lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;Network coverage and roaming&lt;/strong&gt;: Its based on Tata Indicom&#039;s CDMA network, so internet services work wherever there&#039;s tata indicom&#039;s mobile phone network. So far, it has worked for me in all the cities i&#039;ve traveled in india. There are no charges on national roaming if you are using the data card only for internet services.&lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;Verdict?&lt;/strong&gt;: Its a good gadget to keep along if you are traveling. Internet works just out of the box, without having to ask anyone for network access or proxy authentications. I haven&#039;t used data card services from Reliance or Airtel, but i dont really have a reason to switch services as yet. Lately there have been days when the internet is pathetically slow but then it comes back again.&lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;Where to buy?&lt;/strong&gt;: You can visit their website &lt;a href=&quot;http://ichoose.in&quot; title=&quot;IChoose&quot; target=&quot;_blank&quot;&gt;ichoose.in&lt;/a&gt; and place an order. If you are in Mumbai then let me know, i can pass over the contact information of their sales representative and he&#039;ll take care of the rest. My email address is anurag (@) gnuer.org 
    </content:encoded>

    <pubDate>Wed, 06 Aug 2008 02:03:08 +0530</pubDate>
    <guid isPermaLink="false">http://web.gnuer.org/blog/archives/81-guid.html</guid>
    
</item>
<item>
    <title>flickr toys</title>
    <link>http://web.gnuer.org/blog/archives/72-flickr-toys.html</link>
            <category>utilities</category>
    
    <comments>http://web.gnuer.org/blog/archives/72-flickr-toys.html#comments</comments>
    <wfw:comment>http://web.gnuer.org/blog/wfwcomment.php?cid=72</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://web.gnuer.org/blog/rss.php?version=2.0&amp;type=comments&amp;cid=72</wfw:commentRss>
    

    <author>nospam@example.com (Anurag)</author>
    <content:encoded>
    &lt;div class=&quot;serendipity_imageComment_right&quot; style=&quot;width: 100px&quot;&gt;&lt;div class=&quot;serendipity_imageComment_img&quot;&gt;&lt;a class=&#039;serendipity_image_link&#039; href=&#039;http://www.flickr.com/photos/anuragp/2311699429/&#039;&gt;&lt;img width=&#039;100&#039; height=&#039;75&#039;  src=&quot;http://farm4.static.flickr.com/3038/2311699429_1fbb1d2f47_m.jpg&quot; alt=&quot;&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;serendipity_imageComment_txt&quot;&gt;Hockeney picture&lt;/div&gt;&lt;/div&gt;Looking for a way to generate a jigsaw puzzle from your photos? or a Polaroid style Hockney picture? a picture cube? or a original looking Flickr badge? Head over to &lt;a href=&quot;http://www.bighugelabs.com/flickr/&quot;&gt;Big Huge Labs&lt;/a&gt; and make your own nifty Flickr accessories. 
    </content:encoded>

    <pubDate>Wed, 05 Mar 2008 18:10:18 +0530</pubDate>
    <guid isPermaLink="false">http://web.gnuer.org/blog/archives/72-guid.html</guid>
    
</item>
<item>
    <title>naming your hosts</title>
    <link>http://web.gnuer.org/blog/archives/69-naming-your-hosts.html</link>
            <category>humour</category>
            <category>utilities</category>
    
    <comments>http://web.gnuer.org/blog/archives/69-naming-your-hosts.html#comments</comments>
    <wfw:comment>http://web.gnuer.org/blog/wfwcomment.php?cid=69</wfw:comment>

    <slash:comments>1</slash:comments>
    <wfw:commentRss>http://web.gnuer.org/blog/rss.php?version=2.0&amp;type=comments&amp;cid=69</wfw:commentRss>
    

    <author>nospam@example.com (Anurag)</author>
    <content:encoded>
    Apparently, there&#039;s an RFC on &lt;em&gt;Choosing a Name for Your Computer&lt;/em&gt; - &lt;a href=&quot;http://tools.ietf.org/html/rfc1178&quot; title=&quot;RFC 1178&quot;&gt;RFC 1178&lt;/a&gt;. Easily, one of the simpler to understand RFCs out there. 
    </content:encoded>

    <pubDate>Sat, 29 Dec 2007 17:12:27 +0530</pubDate>
    <guid isPermaLink="false">http://web.gnuer.org/blog/archives/69-guid.html</guid>
    
</item>
<item>
    <title>migrating mailman</title>
    <link>http://web.gnuer.org/blog/archives/67-migrating-mailman.html</link>
            <category>utilities</category>
    
    <comments>http://web.gnuer.org/blog/archives/67-migrating-mailman.html#comments</comments>
    <wfw:comment>http://web.gnuer.org/blog/wfwcomment.php?cid=67</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://web.gnuer.org/blog/rss.php?version=2.0&amp;type=comments&amp;cid=67</wfw:commentRss>
    

    <author>nospam@example.com (Anurag)</author>
    <content:encoded>
    &lt;strong&gt;1. Introduction&lt;/strong&gt;&lt;br /&gt;
A couple of weeks back we had to migrate a few mailing lists across to a new server. Migration was successful and we had minimum downtime, since no changes were done to the lists.&lt;br /&gt;
&lt;br /&gt;
This HowTo assumes that the new server uses Postfix as an MTA. Using any other MTA is not a problem as long as it can read the Mailman generated &lt;em&gt;aliases&lt;/em&gt; file.&lt;br /&gt;
&lt;br /&gt;
Migrating mailman lists is a 3 step process.&lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;2. Preparing New Server.&lt;/strong&gt;&lt;br /&gt;
&lt;ul&gt;&lt;li&gt;2.1 Installing Mailman.&lt;/li&gt;&lt;br /&gt;
Follow the official Mailman installation documentation given at http://www.list.org and make sure new server has python, Apache, and mod_python installed. Mailman&#039;s source tarball and distribution supplied packages are equally good. Depending on what you are using, mailman&#039;s installation directory would be &lt;strong&gt;/usr/local/mailman&lt;/strong&gt; (in case of source install) or &lt;strong&gt;/var/lib/mailman&lt;/strong&gt; (in case of debian package).&lt;br /&gt;
&lt;br /&gt;
&lt;li&gt;2.2 Configure Apache and Postfix.&lt;/li&gt;&lt;br /&gt;
If your mailing list uses a separate virtual host (highly recommended) then test out if Apache and postfix are correctly configured to serve a sample list.&lt;br /&gt;
&lt;/ul&gt;&lt;br /&gt;
&lt;strong&gt;3. Copying Data to New Server.&lt;/strong&gt;&lt;br /&gt;
Copying data involves copying over three directories, which hold list configuration(lists), held messages/bounce stats(data) and list archives(archives).&lt;br /&gt;
&lt;br /&gt;
&lt;ul&gt;&lt;li&gt;3.1 lists&lt;/li&gt;&lt;br /&gt;
Mailman stores its list specific settings like passwords, subscribers, list settings as python pickels in &lt;strong&gt;lists&lt;/strong&gt; directory. First step in migrating list is to rsync this directory to the new server. You may copy over few selected lists, or all the lists using any means.&lt;br /&gt;
&lt;br /&gt;
For example, to copy all the lists from old server the new server, issue this command on the old server:&lt;br /&gt;
&lt;br /&gt;
&lt;code&gt;# rsync -avz /usr/local/mailman/lists  root@new-server:/var/lib/mailman/&lt;/code&gt;&lt;br /&gt;
&lt;br /&gt;
Note: Above command will also replace the site wide mailing list named &lt;strong&gt;Mailman&lt;/strong&gt;. So take backups if necessary.&lt;br /&gt;
&lt;br /&gt;
&lt;li&gt;3.2 data&lt;/li&gt;&lt;br /&gt;
The &lt;strong&gt;data&lt;/strong&gt; directory stores all the held messages and bounce events. This directory also contains site wide administrator password and an aliases file which is used by the MTA to identify available&lt;br /&gt;
mailing lists.&lt;br /&gt;
&lt;br /&gt;
To copy &lt;strong&gt;data&lt;/strong&gt; directory to the new server, issue this command on the old server.&lt;br /&gt;
&lt;br /&gt;
&lt;code&gt;# rsync -avz /usr/local/mailman/data root@new-server:/var/lib/mailman/&lt;/code&gt;&lt;br /&gt;
&lt;br /&gt;
Note: Above command will also replace the site wide administrator password file. Backup the existing data directory if required.&lt;br /&gt;
&lt;br /&gt;
&lt;li&gt;3.3 archives&lt;/li&gt;&lt;br /&gt;
The &lt;strong&gt;archives&lt;/strong&gt; directory stores mailing list archives if it is enabled(enabled by default).&lt;br /&gt;
&lt;br /&gt;
To copy list archives, issue this command on the old server.&lt;br /&gt;
&lt;code&gt;# rsync -avz /usr/local/mailman/archives root@new-server:/var/lib/mailman/&lt;/code&gt;&lt;br /&gt;
&lt;/ul&gt;&lt;br /&gt;
&lt;strong&gt;4. Post Migration checks.&lt;/strong&gt;&lt;br /&gt;
After the data is migrated, check for any permission issues. Its possible that the new server is configured to run mailman with the user &lt;strong&gt;list&lt;/strong&gt; or &lt;strong&gt;mailman&lt;/strong&gt;. Change the ownership of the directories copied accordingly.&lt;br /&gt;
&lt;br /&gt;
&lt;ul&gt;&lt;li&gt;4.1 Regenerating Aliases&lt;/li&gt;&lt;br /&gt;
The &lt;strong&gt;bin&lt;/strong&gt; directory present in mailman installation contains several command line utilities for managing mailing lists. First step after copying over all the data is to regenrate the ailases file. To generate aliases run:&lt;br /&gt;
&lt;br /&gt;
&lt;code&gt;# cd /var/lib/mailman/bin&lt;br /&gt;
# ./genaliases&lt;/code&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;li&gt;4.2 Hostnames&lt;/li&gt;&lt;br /&gt;
This step is not required if domain name of mailing lists remain same. In case the mailing lists are also changing their domain names, a few changes need to be made in the mailing lists too. Every MailList object has two attributes named &lt;strong&gt;web_page_url&lt;/strong&gt; and &lt;strong&gt;host_name&lt;/strong&gt;. These two attributes determine how mailman will write the list urls in the web pages it generates.&lt;br /&gt;
&lt;br /&gt;
To fix the URLs issue these commands.&lt;br /&gt;
&lt;br /&gt;
&lt;code&gt;# cd /usr/local/mailman/bin&lt;br /&gt;
# ./withlist -l -r fix_url  -u new-domain.example.org&lt;/code&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;li&gt;4.3 DNS Updates&lt;/li&gt;&lt;br /&gt;
After these steps are over, its time to do DNS updates. Move over to your DNS configuration options and point the list domain to new server&#039;s IP address.&lt;br /&gt;
&lt;/ul&gt;&lt;br /&gt;
&lt;strong&gt;5. Finalising&lt;/strong&gt;&lt;br /&gt;
Try to send an email to any of the lists&#039;s &lt;strong&gt;-request&lt;/strong&gt; alias, with `help&#039; in the subject line. Mailman should immediately respond with a list of available commands.&lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;6. Refrences&lt;/strong&gt;&lt;br /&gt;
Mailman Homepage - &lt;a href=&quot;http://www.list.org&quot; title=&quot;Mailman homepage&quot;&gt;http://www.list.org&lt;/a&gt;&lt;br /&gt;
Mailman Installation Manual -&lt;a href=&quot;http://list.org/mailman-install/index.html&quot; title=&quot;Mailman Installation manual&quot;&gt;http://list.org/mailman-install/index.html&lt;/a&gt;&lt;br /&gt;
 
    </content:encoded>

    <pubDate>Sun, 25 Nov 2007 03:57:00 +0530</pubDate>
    <guid isPermaLink="false">http://web.gnuer.org/blog/archives/67-guid.html</guid>
    
</item>
<item>
    <title>HTTP Auth with mod_auth_imap</title>
    <link>http://web.gnuer.org/blog/archives/57-HTTP-Auth-with-mod_auth_imap.html</link>
            <category>utilities</category>
    
    <comments>http://web.gnuer.org/blog/archives/57-HTTP-Auth-with-mod_auth_imap.html#comments</comments>
    <wfw:comment>http://web.gnuer.org/blog/wfwcomment.php?cid=57</wfw:comment>

    <slash:comments>1</slash:comments>
    <wfw:commentRss>http://web.gnuer.org/blog/rss.php?version=2.0&amp;type=comments&amp;cid=57</wfw:commentRss>
    

    <author>nospam@example.com (Anurag)</author>
    <content:encoded>
    HTTP based authentication is the most common and easy-to-setup way of protecting content in apache. But with normal &lt;strong&gt;.htaccess/.htpasswd&lt;/strong&gt; based protection, the problem is, .htpasswd file should be present in the webserver&#039;s filesystem, and in most cases those users are not local unix users.&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://ben.brillat.net/projects/mod_auth_imap/&quot;  title=&quot;mod_auth_imap homepage&quot;&gt;mod_auth_imap&lt;/a&gt; attempts to overcome this limitation by allowing apache to authenticate against an IMAP server, local/remote/whatever. Setting up authentication with mod_auth_imap is also straightforward. &lt;br /&gt;
&lt;br /&gt;
&lt;ul&gt;&lt;li&gt;Download the mod_auth_imap tarball from &lt;a href=&quot;http://ben.brillat.net/projects/mod_auth_imap/&quot; &gt;http://ben.brillat.net/projects/mod_auth_imap/&lt;/a&gt;, and extract the contents.&lt;/li&gt;&lt;li&gt;Make sure &lt;strong&gt;apxs&lt;/strong&gt; is installed (its available in apache2-dev package in debian)&lt;/li&gt;&lt;li&gt;Run &lt;strong&gt;# apxs -i -a -c mod_auth_imap.c&lt;/strong&gt; as root user to build the apache module and install it in apache.&lt;/li&gt;&lt;li&gt;Make sure that mod_auth_imap module is enabled in your apache configuration.&lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;
An example .htaccess file will look like this.&lt;br /&gt;
&lt;br /&gt;
&lt;code&gt;#Turn on IMAP Authentication&lt;br /&gt;
Auth_IMAP_Enabled on&lt;br /&gt;
AuthName &quot;Use IMAP username to login&quot;&lt;br /&gt;
AuthType Basic&lt;br /&gt;
&lt;br /&gt;
# Turn off Basic auth. We&#039;ll make IMAP as authoritative.&lt;br /&gt;
AuthBasicAuthoritative Off&lt;br /&gt;
&lt;br /&gt;
#If you feel like it, restrict the users or allow all valid users:&lt;br /&gt;
# Require user foouser&lt;br /&gt;
Require valid-user&lt;br /&gt;
&lt;br /&gt;
#Make IMAP Authentication authoritative for this .htaccess file:&lt;br /&gt;
Auth_IMAP_Authoritative on&lt;br /&gt;
Auth_IMAP_Server imap.example.org&lt;br /&gt;
Auth_IMAP_Port 143&lt;br /&gt;
Auth_IMAP_Log on&lt;br /&gt;
&lt;/code&gt; 
    </content:encoded>

    <pubDate>Tue, 03 Jul 2007 15:07:00 +0530</pubDate>
    <guid isPermaLink="false">http://web.gnuer.org/blog/archives/57-guid.html</guid>
    
</item>
<item>
    <title>writing cheques made easy</title>
    <link>http://web.gnuer.org/blog/archives/56-writing-cheques-made-easy.html</link>
            <category>humour</category>
            <category>utilities</category>
    
    <comments>http://web.gnuer.org/blog/archives/56-writing-cheques-made-easy.html#comments</comments>
    <wfw:comment>http://web.gnuer.org/blog/wfwcomment.php?cid=56</wfw:comment>

    <slash:comments>2</slash:comments>
    <wfw:commentRss>http://web.gnuer.org/blog/rss.php?version=2.0&amp;type=comments&amp;cid=56</wfw:commentRss>
    

    <author>nospam@example.com (Anurag)</author>
    <content:encoded>
    If you issue cheques very often, and wonder how to write that weird amount in words, then lisp may come to your rescue.&lt;br /&gt;
&lt;br /&gt;
&lt;code&gt;CL-USER&gt; (format t &quot;~R&quot; 5374538457834758345)&lt;br /&gt;
five quintillion three hundred seventy-four quadrillion five hundred thirty-eight trillion four hundred fifty&lt;br /&gt;
-seven billion eight hundred thirty-four million seven hundred fifty-eight thousand three hundred forty-five&lt;br /&gt;
NIL&lt;br /&gt;
CL-USER&gt;&lt;/code&gt; 
    </content:encoded>

    <pubDate>Thu, 21 Jun 2007 00:44:25 +0530</pubDate>
    <guid isPermaLink="false">http://web.gnuer.org/blog/archives/56-guid.html</guid>
    
</item>
<item>
    <title>reverser</title>
    <link>http://web.gnuer.org/blog/archives/53-reverser.html</link>
            <category>utilities</category>
    
    <comments>http://web.gnuer.org/blog/archives/53-reverser.html#comments</comments>
    <wfw:comment>http://web.gnuer.org/blog/wfwcomment.php?cid=53</wfw:comment>

    <slash:comments>4</slash:comments>
    <wfw:commentRss>http://web.gnuer.org/blog/rss.php?version=2.0&amp;type=comments&amp;cid=53</wfw:commentRss>
    

    <author>nospam@example.com (Anurag)</author>
    <content:encoded>
    &lt;div class=&quot;serendipity_imageComment_right&quot; style=&quot;width: 110px&quot;&gt;&lt;div class=&quot;serendipity_imageComment_img&quot;&gt;&lt;a class=&#039;serendipity_image_link&#039; href=&#039;http://web.gnuer.org/blog/uploads/pictures/reverse-kdeapp.png&#039;&gt;&lt;img width=&#039;110&#039; height=&#039;70&#039;  src=&quot;http://web.gnuer.org/blog/uploads/pictures/reverse-kdeapp.serendipityThumb.png&quot; alt=&quot;&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;serendipity_imageComment_txt&quot;&gt;Konqueror&lt;/div&gt;&lt;/div&gt;ever wondered how KDE apps look like when they are viewed in reverse?&lt;br /&gt;
&lt;br /&gt;
&lt;code&gt;$ konqueror --reverse&lt;/code&gt;&lt;br /&gt;
&lt;br /&gt;
 
    </content:encoded>

    <pubDate>Thu, 05 Apr 2007 10:31:00 +0530</pubDate>
    <guid isPermaLink="false">http://web.gnuer.org/blog/archives/53-guid.html</guid>
    
</item>

</channel>
</rss>