<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" 
    xmlns:dc="http://purl.org/dc/elements/1.1/"
    xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
    xmlns:admin="http://webns.net/mvcb/"
    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
    xmlns:content="http://purl.org/rss/1.0/modules/content/">

  <channel>
    <title>vsbabu.org</title>
    <link>http://vsbabu.org/mt/</link>
    <description>Gluing passing thoughts to foregone conclusions</description>
    <dc:language>en-us</dc:language>
    <dc:creator>vsbabu@gmail.com</dc:creator>
    <dc:rights>Copyright 2010</dc:rights>
    <dc:date>2010-03-02T15:03:54+05:00</dc:date>
    <admin:generatorAgent rdf:resource="http://www.movabletype.org/?v=2.661" />
    <admin:errorReportsTo rdf:resource="mailto:vsbabu@gmail.com"/>
    <sy:updatePeriod>hourly</sy:updatePeriod>
    <sy:updateFrequency>1</sy:updateFrequency>
    <sy:updateBase>2000-01-01T12:00+00:00</sy:updateBase>


    <item>
      <title>Simple MongoDB+Java example</title>
      <link>http://vsbabu.org/mt/archives/2010/03/02/simple_mongodbjava_example.html</link>
      <description>Starter Java code to use MongoDB. (337 Words)</description>
      <guid isPermaLink="false">1071@http://vsbabu.org/mt/</guid>
      <content:encoded><![CDATA[<p>
<a href="http://www.mongodb.org/">MongoDB</a> is pretty slick for ease of use and scalability. As part of figuring out how to interface with MongoDB, I wrote a simple Java class that gives you an idea about how to create a collection and do CRUD on that. See below. Quite a bit of information is available on the web, but I thought a sample that shows off all the basic things will be useful. Good link - <a href="http://blog.boxedice.com/2010/02/28/notes-from-a-production-mongodb-deployment/">notes from a production mongoDB deployment</a>
</p>]]></content:encoded>
      <dc:subject>java</dc:subject>
      <dc:date>2010-03-02T15:03:54+05:00</dc:date>
    </item>

    <item>
      <title>Cisco&apos;s new urbanism</title>
      <link>http://vsbabu.org/mt/archives/2010/02/21/ciscos_new_urbanism.html</link>
      <description>Part of Orwell&apos;s 1984 is now finally happening in 2015 (39 Words)</description>
      <guid isPermaLink="false">1070@http://vsbabu.org/mt/</guid>
      <content:encoded><![CDATA[<p>
Fast Company's article about <a href="http://www.fastcompany.com/magazine/142/the-new-new-urbanism.html">Cisco's vision for New Songdo</a> is a fascinating read on smart cities. Perhaps all connected, with all the apartments being able to do lot with network via <a href="http://www.openpeak.com/">great functional phones</a> feeding off <a href="http://www.simplikate.com/">mobile platforms</a>?
</p>]]></content:encoded>
      <dc:subject>computing</dc:subject>
      <dc:date>2010-02-21T11:17:41+05:00</dc:date>
    </item>

    <item>
      <title>Labelling in Outlook 2003 ala Gmail</title>
      <link>http://vsbabu.org/mt/archives/2010/02/21/labelling_in_outlook_2003_ala_gmail.html</link>
      <description>Extend Outlook 2003 to easily categorize mails. (279 Words)</description>
      <guid isPermaLink="false">1069@http://vsbabu.org/mt/</guid>
      <content:encoded><![CDATA[<p>
I found that moving mails into project folders, when the mails are still on an open topic takes too much time. Gmail's "label" idiom really helps in this situation. Turns out we can do that with Outlook 2003 too with some small macro work. First, see my <a href="/mt/archives/2009/06/15/outlook_2003_flags_todo_list.html">entry on how to put macros and arrange toolbar in Outlook 2003</a>. Then add the following macro to the module. Duplicate the second subroutine to as many as you've categories and then put toolbar entries for each of those. I think you should be able to do with less than 10 categories. At times you may get mails on an old subject, which you can just read and act and archive directly without tracking it.
</p>

<blockqoute><code><pre>
Sub SetCategory(strCat As String)
   Dim Item As Object
   Dim SelectedItems As Selection
   Set SelectedItems = Outlook.ActiveExplorer.Selection
   For Each Item In SelectedItems
   With Item
    .Categories = strCat
    .Save
    End With
   Next Item
End Sub

Sub SetCategoryAdmin()
    SetCategory ("Admin")
End Sub
</pre></code></blockquote>]]></content:encoded>
      <dc:subject>project_management</dc:subject>
      <dc:date>2010-02-21T11:01:21+05:00</dc:date>
    </item>

    <item>
      <title>Quick Bazaar on Windows over SSH</title>
      <link>http://vsbabu.org/mt/archives/2010/01/09/quick_bazaar_on_windows_over_ssh.html</link>
      <description>Easy notes on Bazaar+sftp (176 Words)</description>
      <guid isPermaLink="false">1068@http://vsbabu.org/mt/</guid>
      <content:encoded><![CDATA[<p>
Quick notes on how to set up a version control system using <a href="http://bazaar-vcs.org/">Bazaar</a> with just SFTP and Windows client.
</p>

<ul><li>Get a Unix/Linux machine that you've an account and that supports SSH.</li>
<li>Create a directory, say <tt>/home/loginid/repository</tt></li>
<li>On your Windows machine, download pageant.exe and puttygen.exe (at a minimum) from <a href="http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html">PuTTy</a> site.</li>
<li>Start puttygen.exe, generate your private and public key pair. Save private key somewhere. <tt>C:\Documents and Settings\<username>\.ssh\id_rsa</tt> is a good choice. Exit puttygen.exe.</li>
<li>In your server, make a <tt>.ssh</tt> directory, create a new file called <tt>authorized_keys</tt>, paste the public key into that file without any line breaks.</li>
<li>Start pageant.exe. Right click on the icon (terminal with a hat) on the system tray, add key and choose the private key file.</li>
<li>Download and install Bazaar Windows version.</li>
<li>Start it Bzr in command line.</li>
<li>Create the remote repository like <tt>bzr init sftp://username@remote/home/loginid/repository</tt></li>
<li>Create a local directory, create a repository there too.</li>
<li>Add some files to local repository.</li>
<li>When you want to push it up to remote, do <tt>bzr push sftp://username@remote/home/loginid/repository</tt></li></ul>

<p>
For more info, <a href="http://doc.bazaar.canonical.com/bzr.2.0/en/user-guide/publishing_a_branch.html">read Bazaar doc</a>.
</p>]]></content:encoded>
      <dc:subject></dc:subject>
      <dc:date>2010-01-09T09:05:56+05:00</dc:date>
    </item>

    <item>
      <title>Do not use GET for form processing!</title>
      <link>http://vsbabu.org/mt/archives/2009/11/26/do_not_use_get_for_form_processing.html</link>
      <description>DON&apos;T. Double check your form tag for explicit method=&quot;POST&quot; (155 Words)</description>
      <guid isPermaLink="false">1067@http://vsbabu.org/mt/</guid>
      <content:encoded><![CDATA[<p>
I thought everyone knew this. But recently I went to a site -- that is written by really smart Unix guys -- and was shocked to find that every single form is posted via "GET". Not "POST". This includes login form, billing information form (yes, the one with your credit card#) etc. It is absolutely insecure. Yes, the server is under HTTPS, but that is of no use here.
</p>

<p>
Why is it insecure? When you do a GET all the parameters are in the URL, in plain text. And the URL gets stamped in your browser history, web server access logs (we may be able to assume that the server is reasonably secure) and more scarily, in the logs of any proxy servers that are in the route. 
</p>]]></content:encoded>
      <dc:subject>www</dc:subject>
      <dc:date>2009-11-26T18:17:45+05:00</dc:date>
    </item>

    <item>
      <title>Portable development links</title>
      <link>http://vsbabu.org/mt/archives/2009/11/12/portable_development_links.html</link>
      <description>Random links that might be useful later (20 Words)</description>
      <guid isPermaLink="false">1066@http://vsbabu.org/mt/</guid>
      <content:encoded><![CDATA[<ul><li><a href="http://teapoci.blogspot.com/2008/02/portable-ruby-as-easy-as-ruby-did.html">Portable Ruby installation</a></li>
<li><a href="http://sites.google.com/site/devinsezer/Home/software/portable-cygwin">Portable Cygwin</a></li>
<li><a href="http://rubyforge.org/projects/flashrails">Flash Rails</a></li>
<li><a href="http://www.portablepython.com/">Portable Python</a></li>
<li><a href="http://www.pendriveapps.com/portable-java-run-java-from-a-flashdrive/">Portable JDK</a> or <a href="http://www.vasanth.in/2009/07/02/portable-eclipse-and-portable-java/">Portable Eclipse with Java</a></li>
<li><a href="http://portableapps.com/apps/development">Portable Apps - Development</a></li></ul>]]></content:encoded>
      <dc:subject>computing</dc:subject>
      <dc:date>2009-11-12T18:47:07+05:00</dc:date>
    </item>

    <item>
      <title>Wish I had this 10 years ago</title>
      <link>http://vsbabu.org/mt/archives/2009/11/09/wish_i_had_this_10_years_ago.html</link>
      <description> Pipe Viewer via IBM dW In 1995, I got into a data warehouse project and all the ETL was... (32 Words)</description>
      <guid isPermaLink="false">1065@http://vsbabu.org/mt/</guid>
      <content:encoded><![CDATA[<p>
<a href="http://www.ivarch.com/programs/pv.shtml">Pipe Viewer</a> via <a href="http://www.ibm.com/developerworks/aix/library/au-spunix_pipeviewer/?S_TACT=105AGX01&S_CMP=HP">IBM dW</a>
</p>
<p>
In 1995, I got into a data warehouse project and all the ETL was through some bunch of shell utilities followed by sql*loader. This certainly would've helped!
</p>]]></content:encoded>
      <dc:subject>computing</dc:subject>
      <dc:date>2009-11-09T13:14:55+05:00</dc:date>
    </item>

    <item>
      <title>SVN client over SSH to remote Unix server from Windows</title>
      <link>http://vsbabu.org/mt/archives/2009/11/05/svn_client_over_ssh_to_remote_unix_server_from_windows.html</link>
      <description>Quick notes on SVN client over SSH (470 Words)</description>
      <guid isPermaLink="false">1064@http://vsbabu.org/mt/</guid>
      <content:encoded><![CDATA[<p>
I needed to get a quick way to work with a personal version control system accessible from multiple computers running Linux or Windows. Ideally, I'd have liked to use <a href="http://mercurial.selenic.com/">Mercurial</a> (light, easy, no great GUI available) or <a href="http://bazaar-vcs.org/">Bazaar</a> (thicker, slower, good renaming capabilities, just about the best GUI available) or <a href="http://git-scm.com/">Git </a>(fast, not a bad GUI, portable MSYS port is pretty good). However, my hosting provider provides
only CVS or Subversion and I didn't want to install any of the above ones from source under my account. Nor do I want to run any server for this. Things should work with plain SSH. Initial approach was to
create an SVN repository on the server and then access this from my computers using SSH. I tried getting <tt>svn+ssh</tt> pull for all of these above and couldn't get to work quickly enough on my Windows XP box. Had to then settle for an SVN client. Turns out that it is little tricky. Given below are the quick steps I followed to get this working.
</p>

<p>
Just a personal preference - I don't prefer using any of the <em>Tortoise*</em>GUIs. GUI as such is fairly nice, but I don't generally like installing shell extensions on Windows. Ideal solution for me would've been the ability for any of these to init a repository on a remote filesystem by SSH - couldn't find it out though.
</p>]]></content:encoded>
      <dc:subject>programming</dc:subject>
      <dc:date>2009-11-05T19:20:41+05:00</dc:date>
    </item>

    <item>
      <title>Associate filetypes to VIM</title>
      <link>http://vsbabu.org/mt/archives/2009/11/02/associate_filetypes_to_vim.html</link>
      <description>Life saver! (23 Words)</description>
      <guid isPermaLink="false">1063@http://vsbabu.org/mt/</guid>
      <content:encoded><![CDATA[<p>
This has to be the best VIM tip for Windows - <a href="http://vim.wikia.com/wiki/Windows_file_associations">Windows File Associations</a>. For example:
</p>

<blockquote><tt><pre>
assoc .otl=outliner
ftype outliner=c:\tools\vim\vim72\gvim.exe --remote-silent "%1"
</pre></tt></blockquote>]]></content:encoded>
      <dc:subject>computing</dc:subject>
      <dc:date>2009-11-02T06:42:40+05:00</dc:date>
    </item>

    <item>
      <title>Google Visualizations quick start</title>
      <link>http://vsbabu.org/mt/archives/2009/10/26/google_visualizations_quick_start.html</link>
      <description> Pretty nice article at Jeez.eu: Google Visualizations From A To Z. Explains how to use Google&apos;s json apis, get... (43 Words)</description>
      <guid isPermaLink="false">1062@http://vsbabu.org/mt/</guid>
      <content:encoded><![CDATA[<p>
Pretty nice article at <a href="http://jeez.eu/2009/10/19/google-visualizations-from-a-to-z/">Jeez.eu: Google Visualizations From A To Z</a>. Explains how to use Google's json apis, get data from spreadsheets etc. With <a href="http://ajaxian.com/archives/html5-features-in-latest-iphone-application-cache-and-database">HTML5's client database</a>, this should open up thoughts about some interesting small dashboard applications for the iPhone. 
</p>]]></content:encoded>
      <dc:subject>www</dc:subject>
      <dc:date>2009-10-26T10:38:27+05:00</dc:date>
    </item>

    <item>
      <title>Nikon Coolpix 2500: White Balance Gone Outdoors</title>
      <link>http://vsbabu.org/mt/archives/2009/10/24/nikon_coolpix_2500_white_balance_gone_outdoors.html</link>
      <description> I&apos;ve an old Nikon Coolpix 2500 digital camera. It has just 2.0 Mpixel and 3x Zoom - really low... (147 Words)</description>
      <guid isPermaLink="false">1061@http://vsbabu.org/mt/</guid>
      <content:encoded><![CDATA[<p>
I've an old Nikon Coolpix 2500 digital camera. It has just 2.0 Mpixel and 3x Zoom - really low end compared to standards these days, but I really like this. A month back, while driving down hills, took couple of photographs. Third one onwards, it just started showing up photos awash with white color. This only happens outdoors. Didn't feel like throwing out this camera - so tried lot of different stuff and chanced upon a solution. Just change the scene settings to <strong>Close Up</strong> and picture quality to <strong>FINE </strong>(default is NORMAL). It worked for me. Thought of posting this, in case it helps some one.
</p>

<p>
Also, I love this camera because of its handy size, lot of memories and also because it has a swivel lense - great for taking self portraits or when you don't find any one around to take your own photo!
</p>]]></content:encoded>
      <dc:subject>graphics</dc:subject>
      <dc:date>2009-10-24T15:23:47+05:00</dc:date>
    </item>

    <item>
      <title>SCM backed blogging - part II</title>
      <link>http://vsbabu.org/mt/archives/2009/09/22/scm_backed_blogging_part_ii.html</link>
      <description>NanoC! (37 Words)</description>
      <guid isPermaLink="false">1060@http://vsbabu.org/mt/</guid>
      <content:encoded><![CDATA[<p>
<a href="http://www.h3rald.com/articles/take-back-your-site-with-nanoc/">H3rald.com</a> has a very comprehensive writeup about what I blogged earlier - <a href="/mt/archives/2009/08/31/scm_backed_blogging.html">SCM backed blogging</a>. Lot more config to do, but you got lot more power. Definitely stuff I want to look into for this site.
</p>]]></content:encoded>
      <dc:subject>www</dc:subject>
      <dc:date>2009-09-22T20:20:14+05:00</dc:date>
    </item>

    <item>
      <title>Austerity?</title>
      <link>http://vsbabu.org/mt/archives/2009/09/15/austerity.html</link>
      <description>Politicians are at it again! (318 Words)</description>
      <guid isPermaLink="false">1059@http://vsbabu.org/mt/</guid>
      <content:encoded><![CDATA[<p>
Everyone in the majority partner of ruling UPA, Congress(I) is into an austerity drive now. 
</p>

<ul>
<li>Finance Minister requests External Affairs ministers to stop paying their own money on the accomodation they preferred. Media puts another spin on it by claiming FM actually forced them to move out!</li>
<li>Party President travelled by economy class, shaming another first-time MP to move down from business class to economy, while in flight.</li>
<li>General Secretary, who also happens to be the son of the Party President, travel by Train.</li>
</ul>

<p>
Hardly any of these are newsworthy, but there are a whole lot of news-starved channels that keep pushing this up the charts.
</p>

<p>
Most Indians know what happened to Bihar - when the ruler used bicycle as the mode of transport. Development happened at snail's pace. Perhaps this is current Government's way
of warning us that the progress now will be proportionally slower - may be at the pace of a bicycle?
</p>

<p>
If the idea is to cut down wasteful expenditure, here are a whole bunch of other ways.
</p>

]]></content:encoded>
      <dc:subject>india</dc:subject>
      <dc:date>2009-09-15T19:25:34+05:00</dc:date>
    </item>

    <item>
      <title>Quick Start Grinder - Part V</title>
      <link>http://vsbabu.org/mt/archives/2009/09/10/quick_start_grinder_part_v.html</link>
      <description>Sample analysis of run data (410 Words)</description>
      <guid isPermaLink="false">1058@http://vsbabu.org/mt/</guid>
      <content:encoded><![CDATA[<p>
After a run, you will need to analyze your data. Grinder console gives real 
time graphs, but I find getting the results into an Excel/OpenOffice spreadsheet
and then going over it much easier. After your runs, look into the log directory
for files named <em>out*.log</em>. These are CSV files that can be imported
into any spreadsheet program easily. I've attached a template below into which you can paste the raw data and see the results. Note that I consider only 100 rows - very unrealistic since you will have thousands of records! I did this so that the file size is small. You can change the formulas where it says row 100 to row whatever you want. Also note that some formulas are array formulas - they are surrounded by curly braces - you need to press CTRL-SHIFT-ENTER after updating such formulae.
</p>]]></content:encoded>
      <dc:subject>programming</dc:subject>
      <dc:date>2009-09-10T06:15:33+05:00</dc:date>
    </item>

    <item>
      <title>Quick Start Grinder - Part IV</title>
      <link>http://vsbabu.org/mt/archives/2009/09/09/quick_start_grinder_part_iv.html</link>
      <description>Record, extract, reuse (623 Words)</description>
      <guid isPermaLink="false">1057@http://vsbabu.org/mt/</guid>
      <content:encoded><![CDATA[    <p>We will use the recorder that came with Grinder to record a test script.</p>

<p style="font-style:italic;"> Parts
<a href="http://vsbabu.org/mt/archives/2009/09/01/quick_start_grinder_part_i.html">I</a>, <a href="http://vsbabu.org/mt/archives/2009/09/02/quick_start_grinder_part_ii.html">II</a> and <a href="http://vsbabu.org/mt/archives/2009/09/08/quick_start_grinder_part_iii.html">III</a> of the series.</p>
    
    <h4>Step 1: Start and configure the recorder</h4>
    <p>Start it by running <tt>bin\startProxy.cmd</tt>. Change your browser setting to route the data
    through this proxy. Note that if your setup is behind another proxy, you need to pass 
    <em><a href="http://grinder.sourceforge.net/g3/tcpproxy.html#chained-proxies">-httpproxy</a></em>
    command line option to the proxy.</p>
    
    <h4>Step 2: Start Recording</h4>
    <p>When you started proxy, a small Java dialog box would've come up. It takes some time to come up and
    quite possibly is behind your other windows. In that, you can add comments on what you are about to do.
    These comments are then preserved in the generated code.</p>
    
    <p>
    So, let us add a comment <em>@@@Getting google search page</em>. Now, go to Google using your browser.
    After the page loads up completely, add a comment <em>@@@Search for GRINDER</em>. Now, type GRINDER in
    the search field and hit submit. Wait till the results come back. After the results are loaded, press
    <em>Stop</em> on the console to exit the recorder. 
    </p>
    
    <p>
    Look at the batch file to see where exactly are you keeping the generated file. Open it up in an editor.
    Few things you can notice are below.
    </p>]]></content:encoded>
      <dc:subject>programming</dc:subject>
      <dc:date>2009-09-09T06:15:00+05:00</dc:date>
    </item>


  </channel>
</rss>

