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

<rss version="0.91" >
<channel>
<title>/me on the net!</title>
<link>http://web.gnuer.org/blog/</link>
<description>Anurag's blog at web.gnuer.org</description>
<language>en</language>
<image>
        <url>http://web.gnuer.org/blog/templates/default/img/s9y_banner_small.png</url>
        <title>RSS: /me on the net! - Anurag's blog at web.gnuer.org</title>
        <link>http://web.gnuer.org/blog/</link>
        <width>100</width>
        <height>21</height>
    </image>

<item>
    <title>Tumblr?</title>
    <link>http://web.gnuer.org/blog/archives/110-Tumblr.html</link>

    <description>
        I wonder if I should move over my blog to Tumblr? 
    </description>
</item>
<item>
    <title>Bullshit</title>
    <link>http://web.gnuer.org/blog/archives/109-Bullshit.html</link>

    <description>
        &lt;blockquote&gt;I think the comparison to bullshit is not not so apt, as bullshit has some intrinsic value as a fertilizer, and, where I currently live, as a fuel for heating homes.&lt;/blockquote&gt;&lt;br /&gt;
&lt;a href=&quot;http://blog.priceonomics.com/post/45768546804/diamonds-are-bullshit#comment-835379972&quot;&gt;On comparing the craze for Diamonds to Bullshit.&lt;/a&gt;&lt;br /&gt;
 
    </description>
</item>
<item>
    <title>Rest in Peace Kenneth</title>
    <link>http://web.gnuer.org/blog/archives/108-Rest-in-Peace-Kenneth.html</link>

    <description>
        Sad to hear the news earlier today. Its quite rare to get the news of someone you know on the internet passing away. Kenneth had his own unique way of getting people to do interesting things. He was a part of several linux user&#039;s groups and participated actively in the foss activities around the country, given his age and health. &lt;br /&gt;
&lt;br /&gt;
Anyone who has ever interacted with Kenneth &quot;lawgon&quot; Gonsalves over email, in a mailing list, on IRC or in-person at a conference is surely going to miss him and remember him well. 
    </description>
</item>
<item>
    <title>There's something about Urdu poetry</title>
    <link>http://web.gnuer.org/blog/archives/107-Theres-something-about-Urdu-poetry.html</link>

    <description>
        &lt;blockquote&gt;Haath Baalo&#039;n Me Phere Tou Main So Jao&#039;n Ga, &lt;br /&gt;
Koi Qissa Wo Sunaye Tou Main So Jao&#039;n Ga, &lt;br /&gt;
Us Se Kehna K Mujhy Neend Nahi Aati, &lt;br /&gt;
Apni Banho&#039;n Mein Sulaye Tou Main So Jao&#039;n Ga, &lt;br /&gt;
Meri Palko&#039;n Pe Sajey Hyn Kaii Raato&#039;n Se Diye, &lt;br /&gt;
Koi Palko&#039;n Se Bhujaye Tou Main So Jao&#039;n Ga. &lt;br /&gt;
Aakhri Saans Mujhy Mauqa De De Ye Zra , &lt;br /&gt;
Mera Wada Hy K Wo Aaye Tou Main So Jao&#039;n Ga. &lt;br /&gt;
Baad Ki Baad Mein Dekhe&#039;n Ge Us Se Kaho, &lt;br /&gt;
Aaj Ki Raat Na Jaye Tou Main So Jao&#039;n Ga...&lt;/blockquote&gt;&lt;br /&gt;
via the interwebs. 
    </description>
</item>
<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>

    <description>
        &lt;pre&gt;mysqldump -uroot -pPASSWORD --opt --all-databases | bzip2 -c &gt; mysql-full-dump.bz2&lt;/pre&gt; 
    </description>
</item>
<item>
    <title>Requiem for a Soldier</title>
    <link>http://web.gnuer.org/blog/archives/105-Requiem-for-a-Soldier.html</link>

    <description>
        &lt;blockquote&gt;If you can read this, thank a teacher.&lt;br /&gt;
If you can read this in English, thank﻿ a soldier.&lt;/blockquote&gt;&lt;br /&gt;
I spotted this on the comments page of Katherine Jenkins&#039;s live performance &lt;a href=&quot;http://www.youtube.com/watch?v=9Opg7LwUdPs&quot; title=&quot;Requiem For a Soldier - Katherine Jenkins&quot;&gt;Requiem For a Soldier&lt;/a&gt;. Though it refers to English language, it applies equally to just about any country or civilization. 
    </description>
</item>
<item>
    <title>Setting up UserDir  on Nginx</title>
    <link>http://web.gnuer.org/blog/archives/104-Setting-up-UserDir-on-Nginx.html</link>

    <description>
        Nginx doesn&#039;t have mod_userdir like Apache, but the behavior can be emulated by the following configuration snippet.&lt;br /&gt;
&lt;br /&gt;
&lt;code&gt;&lt;br /&gt;
# userdir simulation&lt;br /&gt;
location ~ /~([^/]+)($|/.*)$ {&lt;br /&gt;
&amp;#160;&amp;#160;alias /home/$1/public_html$2;&lt;br /&gt;
&amp;#160;&amp;#160;error_page 404 = @404;&lt;br /&gt;
&amp;#160;&amp;#160;autoindex on;&lt;br /&gt;
}&lt;br /&gt;
location @404 {&lt;br /&gt;
&amp;#160;&amp;#160;return 404;&lt;br /&gt;
}&lt;br /&gt;
&lt;/code&gt;&lt;br /&gt;
Putting these location directives in a virtual host config section will let the virtual host publish user&#039;s public_html directories. 
    </description>
</item>
<item>
    <title>Tracing ruby programs with set_trace_func</title>
    <link>http://web.gnuer.org/blog/archives/102-Tracing-ruby-programs-with-set_trace_func.html</link>

    <description>
        At times you may need to trace a ruby program&#039;s execution flow. Ruby&#039;s set_trace_func comes handy there.&lt;br /&gt;
&lt;br /&gt;
&lt;script src=&quot;https://gist.github.com/1477993.js&quot;&gt; &lt;/script&gt;&lt;br /&gt;
&lt;br /&gt;
When saved in a file called trace.rb and executed with $ ruby trace.rb, it outputs&lt;br /&gt;
&lt;br /&gt;
&lt;code&gt;   2011-12-15 00:33:26 +0530 c-return trace.rb:3  set_trace_func   Kernel&lt;br /&gt;
   2011-12-15 00:33:26 +0530     line trace.rb:5                     &lt;br /&gt;
   2011-12-15 00:33:26 +0530   c-call trace.rb:5        puts   Kernel&lt;br /&gt;
   2011-12-15 00:33:26 +0530   c-call trace.rb:5        puts       IO&lt;br /&gt;
   2011-12-15 00:33:26 +0530   c-call trace.rb:5       write       IO&lt;br /&gt;
*** Hello World&lt;br /&gt;
   2011-12-15 00:33:26 +0530 c-return trace.rb:5       write       IO&lt;br /&gt;
   2011-12-15 00:33:26 +0530 c-return trace.rb:5        puts       IO&lt;br /&gt;
   2011-12-15 00:33:26 +0530 c-return trace.rb:5        puts   Kernel&lt;br /&gt;
&lt;/code&gt; 
    </description>
</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>

</item>
<item>
    <title>Rotten tomatoes' rotten TOS</title>
    <link>http://web.gnuer.org/blog/archives/98-Rotten-tomatoes-rotten-TOS.html</link>

    <description>
        &lt;blockquote&gt;3 (b) No Conflicting Uses.  &lt;em&gt;&lt;strong&gt;You may not use the Flixster API to develop (or instruct any third party to develop) a service that may reasonably be deemed to be directly competitive with Flixster’s products and services&lt;/strong&gt;&lt;/em&gt;, unless you have been specifically permitted to do so in a separate written agreement with Flixster prior to the undertaking of the development and launch of such service.&lt;/blockquote&gt;&lt;br /&gt;
Dear Rotten Tomatoes, what&#039;s the point of launching these &lt;a href=&quot;http://developer.rottentomatoes.com/docs&quot;&gt;APIs&lt;/a&gt; then?  
    </description>
</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>

    <description>
        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; 
    </description>
</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>

    <description>
        &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; 
    </description>
</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>

    <description>
        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; 
    </description>
</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>

    <description>
        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;
 
    </description>
</item>
<item>
    <title>Trek to Sankshi fort</title>
    <link>http://web.gnuer.org/blog/archives/93-Trek-to-Sankshi-fort.html</link>

    <description>
        After a long long time I got a chance to go trekking again on 22 Nov. Sankshi fort is located near Alibag, off the Mumbai Alibag highway. Difficulty level is easy to moderate, but it involves about an hour of walking.&lt;br /&gt;
&lt;br /&gt;
Article on &lt;a href=&quot;http://www.maharashtra.gov.in/english/gazetteer/KOLABA/places_Sankshi%20Fort.html&quot; target=&quot;_blank&quot;&gt;Sankshi fort&lt;/a&gt; from Maharashtra government website.&lt;blockquote&gt;The name Sankshi is said to have been derived from a chief named Sank who is traditionally believed to have been the lord of the fort. See below.] (T. Pen) also known as Badr-ud-din, or Darghaca Killa from a tomb or dargah of the saint Badr-ud-din at its foot, lies within the limits of Nidivali village about five miles north-east of Pen. &lt;a href=&quot;http://www.maharashtra.gov.in/english/gazetteer/KOLABA/places_Sankshi%20Fort.html&quot; target=&quot;_blank&quot;&gt;read more...&lt;/a&gt;&lt;/blockquote&gt;&lt;br /&gt;
We assembled at Panvel ST depot at 7AM, waiting for others to join in, and finally left Panvel at 9:15 after having breakfast at a restaurant across the road. Since the bus started from Panvel, everyone got seats, and I dozed off to sleep.&lt;br /&gt;
&lt;br /&gt;
We got down at Balavali Phata and marched towards saint Badr-ud-din&#039;s dargaah. The route is cool and covered with dense trees, but full of giant spider webs. The photographers among us took half an hour to capture the arachnids and buffaloes on camera.&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://www.flickr.com/photos/anuragp/4124310341/&quot; title=&quot;Long shot of Sankshi fort by gnurag, on Flickr&quot;&gt;&lt;img src=&quot;http://farm3.static.flickr.com/2612/4124310341_748134bb1b_t.jpg&quot; width=&quot;100&quot; height=&quot;75&quot; alt=&quot;Long shot of Sankshi fort&quot; /&gt;&lt;/a&gt; &lt;a href=&quot;http://www.flickr.com/photos/anuragp/4125078468/&quot; title=&quot;Monster spider by gnurag, on Flickr&quot;&gt;&lt;img src=&quot;http://farm3.static.flickr.com/2682/4125078468_31bfda1341_t.jpg&quot; width=&quot;100&quot; height=&quot;75&quot; alt=&quot;Monster spider&quot; /&gt;&lt;/a&gt; &lt;a href=&quot;http://www.flickr.com/photos/anuragp/4125083446/&quot; title=&quot;Route through jungle by gnurag, on Flickr&quot;&gt;&lt;img src=&quot;http://farm3.static.flickr.com/2674/4125083446_517650d33b_t.jpg&quot; width=&quot;100&quot; height=&quot;75&quot; alt=&quot;Route through jungle&quot; /&gt;&lt;/a&gt; &lt;a href=&quot;http://www.flickr.com/photos/anuragp/4124311987/&quot; title=&quot;Old mazaar by gnurag, on Flickr&quot;&gt;&lt;img src=&quot;http://farm3.static.flickr.com/2797/4124311987_049d2cd45e_t.jpg&quot; width=&quot;100&quot; height=&quot;75&quot; alt=&quot;Old mazaar&quot; /&gt;&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
We reached dargaah in less than 2 hours, relaxed and moved towards the Sankshi hill. There&#039;s a GI water pipe that runs to dargaah at the base of the hill from a water cistern at the top of the hill. Some walk in the jungle, struggling with the itchy bushes, a rock patch and we were at the top. After exploring for half an hour, we came back down to have lunch at the old dargaah structure that looked beautiful and wise in white color.&lt;br /&gt;
&lt;br /&gt;
It was a nice little trek (microtrek &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; ) and we were back to panvel around 6PM, without feeling tired at all! Complete &lt;a href=&quot;http://www.flickr.com/photos/anuragp/sets/72157622729495919/&quot;&gt;pictures from trek to sankshi fort&lt;/a&gt; are available in my &lt;a href=&quot;http://www.flickr.com/photos/anuragp/sets/&quot;&gt;flickr set&lt;/a&gt;. 
    </description>
</item>

</channel>
</rss>
