<?xml version='1.0' encoding='UTF-8'?><rss xmlns:atom='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' version='2.0'><channel><atom:id>tag:blogger.com,1999:blog-5814453</atom:id><lastBuildDate>Sat, 26 Apr 2008 15:31:02 +0000</lastBuildDate><title>Reflections</title><description/><link>http://mirroronthenet.org/blog/</link><managingEditor>Neelesh</managingEditor><generator>Blogger</generator><openSearch:totalResults>30</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-5814453.post-3168042418722369507</guid><pubDate>Tue, 03 Apr 2007 17:06:00 +0000</pubDate><atom:updated>2007-04-04T10:32:02.126+05:30</atom:updated><category domain='http://www.blogger.com/atom/ns#'>eunit</category><category domain='http://www.blogger.com/atom/ns#'>erlang</category><category domain='http://www.blogger.com/atom/ns#'>erlang unit testing</category><title></title><atom:summary type='text'>ErlUnit : A Unit testing framework for Erlang

When fiddling with Erlang, I found EUnit, a unit testing framework for Erlang.  I tried it out, it did not work out of the box for me. I won't go in to the details of what went wrong. I was too lazy to fix the issues. So I started writing one myself. With contributions from Varsha(my wife) and Rajesh (of LJ), I churned out a simple unit testing </atom:summary><link>http://mirroronthenet.org/blog/2007/04/erlunit-unit-testing-framework-for.html</link><author>Neelesh</author></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-5814453.post-5313314221676464889</guid><pubDate>Fri, 23 Feb 2007 09:20:00 +0000</pubDate><atom:updated>2007-02-23T15:05:41.192+05:30</atom:updated><category domain='http://www.blogger.com/atom/ns#'>python</category><category domain='http://www.blogger.com/atom/ns#'>line count</category><title></title><atom:summary type='text'>Statistics on Python code in a project

I wanted to know the number of lines of python code in my toy django project, and could not find a nice tool that would give me that on linux. "find . -name "*.py" |wc -l doesn't do the job. As lazy as I am, I wrote a crude linecount program in python. The result is lc.py.
   The program takes the directory as an optional arg (defaults to current dir), </atom:summary><link>http://mirroronthenet.org/blog/2007/02/statistics-on-python-code-in-project-i.html</link><author>Neelesh</author></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-5814453.post-2827951077749648025</guid><pubDate>Thu, 22 Feb 2007 05:22:00 +0000</pubDate><atom:updated>2007-02-24T11:21:36.987+05:30</atom:updated><category domain='http://www.blogger.com/atom/ns#'>ruby</category><category domain='http://www.blogger.com/atom/ns#'>web application</category><category domain='http://www.blogger.com/atom/ns#'>pylucene</category><category domain='http://www.blogger.com/atom/ns#'>django</category><category domain='http://www.blogger.com/atom/ns#'>rails</category><category domain='http://www.blogger.com/atom/ns#'>python</category><title></title><atom:summary type='text'>Fiddling with Django

 Its been a few weeks playing with Django trunk. And a two more weeks than that, with Python. Initially, I was getting annoyed with the 'self'ishness of python. But got used to it. Python is refreshingly more powerful than Ruby,the only other dynamic language I know, IMHO. I won't go in to details of how, as this post is about Django.
   These are a few things I've started </atom:summary><link>http://mirroronthenet.org/blog/2007/02/fiddling-with-django-its-been-few-weeks.html</link><author>Neelesh</author></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-5814453.post-115306649440074594</guid><pubDate>Sun, 16 Jul 2006 16:03:00 +0000</pubDate><atom:updated>2007-04-12T12:55:25.319+05:30</atom:updated><category domain='http://www.blogger.com/atom/ns#'>sql realm</category><category domain='http://www.blogger.com/atom/ns#'>JAAS</category><category domain='http://www.blogger.com/atom/ns#'>sqlrealm</category><category domain='http://www.blogger.com/atom/ns#'>tomcat</category><title></title><atom:summary type='text'>SQLRealm 0.1 available

For the impatient, it is a custom realm for Tomcat (tested on 5.5.x) ,which supports arbitrart SQL queries to extract passwords and roles. Here is the jar file and here are the sources (eclipse project files included).

SQLRealm can be useful in scenarios where the default JDBCRealm or DataSourceRealms prove to be inadequate. For example, if you wanted usernames to be </atom:summary><link>http://mirroronthenet.org/blog/2006/07/sqlrealm-0.html</link><author>Neelesh</author></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-5814453.post-115302266724131333</guid><pubDate>Sun, 16 Jul 2006 03:48:00 +0000</pubDate><atom:updated>2006-07-16T09:42:19.553+05:30</atom:updated><title></title><atom:summary type='text'>Tomcat SQLRealm 

I was working on a J2EE project, deployed on Tomcat. We were using the tomcat realms for authentication and authorization. We ran in to a problem : We needed to pass an additional parameter from the login page to the receiving controller (Spring MVC). After sifting through innumerable tomcat mailing lists ( this , this and this).

    Yet another problem was that our tables that</atom:summary><link>http://mirroronthenet.org/blog/2006/07/tomcat-sqlrealm-i-was-working-on-j2ee.html</link><author>Neelesh</author></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-5814453.post-115302152140070516</guid><pubDate>Sun, 16 Jul 2006 03:32:00 +0000</pubDate><atom:updated>2006-07-27T19:36:17.656+05:30</atom:updated><title></title><atom:summary type='text'>The Interview

Last friday, my wife got an interview call from a large multinational software services company in bangalore.My wife has just passed out of engineering.The scheduled time was 8:30 AM. So we go there at 8: 25.We, along with two hundred other aspirants are made to wait "outside" the campus for about an hour. So much for the schedule.Finally, my wife gets a chance to go in. She (along</atom:summary><link>http://mirroronthenet.org/blog/2006/07/interview-last-friday-my-wife-got.html</link><author>Neelesh</author></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-5814453.post-115019428514194639</guid><pubDate>Tue, 13 Jun 2006 10:19:00 +0000</pubDate><atom:updated>2006-06-13T15:54:45.150+05:30</atom:updated><title></title><atom:summary type='text'>Moving to .Net
   After more than 7 years in Java, Im on to a C# .Net project. 
Day 1- Started feeling like MS was armtwisting me in to doing stuff their way. Not sure what I mean.Day 2- First encounter with Visual Studio .Net 2003. Felt like living in the cave age.Day 3 - Resharper to rescue. Atleast some respite from the beautiful IDEA makers.Day 4- I have to start IIS to open my Solution. What</atom:summary><link>http://mirroronthenet.org/blog/2006/06/moving-to.html</link><author>Neelesh</author></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-5814453.post-110492575385953081</guid><pubDate>Wed, 05 Jan 2005 11:24:00 +0000</pubDate><atom:updated>2006-05-13T12:19:33.666+05:30</atom:updated><title></title><atom:summary type='text'>Handymen

Im in a large project, with around 50 people. Most of my time during work is spent in
troubleshooting Websphere Commerce Server issues, helping out people with their questions on design/code, fixing build scripts and stuff like that.
That leaves me almost zero time to do my coding. I was thinking if there should be a couple of handimen in the team, whose sole job is that- of a handyman.</atom:summary><link>http://mirroronthenet.org/blog/2005/01/handymen-im-in-large-project-with.html</link><author>Neelesh</author></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-5814453.post-110152931540684903</guid><pubDate>Sat, 27 Nov 2004 04:04:00 +0000</pubDate><atom:updated>2004-11-27T09:51:55.406+05:30</atom:updated><title></title><atom:summary type='text'>Its been very loong time since I updated my page. My blog got deactivated (almost!!). However Im back and will keep updating this space
    Recently Ive been reading Hibernate in Action by Gavin King et al. , the  developer/founder of Hibernate. One of my friends Dinesh  and I are at loggerheads on whether CMP entities  or an ORM tool is better for persistence.  I've always  defended ORM tools, </atom:summary><link>http://mirroronthenet.org/blog/2004/11/its-been-very-loong-time-since-i.html</link><author>Neelesh</author></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-5814453.post-107486521081117400</guid><pubDate>Fri, 23 Jan 2004 13:40:00 +0000</pubDate><atom:updated>2004-11-27T09:18:56.370+05:30</atom:updated><title></title><atom:summary type='text'>Evaluating Developers and managers
Comments on Ravi Mohan's  "How shall I judge a suit ?" at www.chaordicedge.org , and my thoughts here....
I ask people to write code, but more than monitoring, i get involved in coding, asking him to explaing why he is doing what he is doing, proposing alternate approaches and discussing the pros and cons.
This may not be an ideal collaborative environment to</atom:summary><link>http://mirroronthenet.org/blog/2004/01/evaluating-developers-and-managers.html</link><author>Neelesh</author></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-5814453.post-107296676740172937</guid><pubDate>Thu, 01 Jan 2004 14:19:00 +0000</pubDate><atom:updated>2004-01-01T20:17:03.450+05:30</atom:updated><title></title><atom:summary type='text'>I read Rajesh Babu's recent post on "Best Practices". I Cant agree more on this. Best Practices have haunted me everywhere. During a code review in my team, I asked the author why was the code written in a particular way. The answer was "It is a best practice given in xyz website/book". Now Im not arguing whether that code worked well in the given context or not. The point is people start </atom:summary><link>http://mirroronthenet.org/blog/2004/01/i-read-rajesh-babus-recent-post-on.html</link><author>Neelesh</author></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-5814453.post-107296596819309883</guid><pubDate>Thu, 01 Jan 2004 14:06:00 +0000</pubDate><atom:updated>2004-01-01T19:37:15.450+05:30</atom:updated><title></title><atom:summary type='text'>Here I am, after  long lull. I had been to my friend Rajesh's place  today, and both of us tried out a few things on TDD  and Fitnesse (An acceptance test Wiki). I got a few pointers on how to do TDD  for database code. Ive always struggled with the enormity of testing database operations. MockObjects seem to solve that problem for me,now that I have a bit of insight in to the philosophy of TDD :</atom:summary><link>http://mirroronthenet.org/blog/2004/01/here-i-am-after-long-lull.html</link><author>Neelesh</author></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-5814453.post-106552534580921609</guid><pubDate>Tue, 07 Oct 2003 11:15:00 +0000</pubDate><atom:updated>2003-10-07T16:45:45.790+05:30</atom:updated><title></title><atom:summary type='text'>Wiki Engines
Looks like a good idea. There are about 20 java based wiki engines . Why not  write one more? :) Boy! I love redundancy! and freedom of choice!</atom:summary><link>http://mirroronthenet.org/blog/2003/10/wiki-engines-looks-like-good-idea.html</link><author>Neelesh</author></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-5814453.post-106544821527996356</guid><pubDate>Mon, 06 Oct 2003 13:50:00 +0000</pubDate><atom:updated>2003-10-06T19:20:15.530+05:30</atom:updated><title></title><atom:summary type='text'>Blogger API changes
 Blogger Developer blog has posts about supporting Echo as blogging API. Echo is volatile and not finalized yet.
  I personally feel XML-RPC is more than enough,but still have to investigate what advantages will SOAP have. Thank God!They didn't say web services!
  My client supports Blogger API 1.0 , anyway. Good enough for me.and many others I suppose.</atom:summary><link>http://mirroronthenet.org/blog/2003/10/blogger-api-changes-blogger-developer.html</link><author>Neelesh</author></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-5814453.post-106543193266584636</guid><pubDate>Mon, 06 Oct 2003 09:18:00 +0000</pubDate><atom:updated>2003-10-06T14:48:52.596+05:30</atom:updated><title></title><atom:summary type='text'>BlogClient  Status
The client is almost ready.
The current features :
1. Create Blog Details
2. EditPane with text style capabilities [Bold, Italic, font size, font family and color]
3. Post and Publish news Item.
Will host it somewhere ASAP.</atom:summary><link>http://mirroronthenet.org/blog/2003/10/blogclient-status-client-is-almost.html</link><author>Neelesh</author></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-5814453.post-106520524381959940</guid><pubDate>Fri, 03 Oct 2003 18:20:00 +0000</pubDate><atom:updated>2003-10-03T23:50:43.740+05:30</atom:updated><title></title><atom:summary type='text'>
  

  
  
    
      Hmm, this post is from the UI of my BloggerClient
    
  

</atom:summary><link>http://mirroronthenet.org/blog/2003/10/hmm-this-post-is-from-ui-of-my.html</link><author>Neelesh</author></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-5814453.post-106520309935889957</guid><pubDate>Fri, 03 Oct 2003 17:44:00 +0000</pubDate><atom:updated>2003-10-03T23:14:58.860+05:30</atom:updated><title></title><atom:summary type='text'>Test post from my blog client</atom:summary><link>http://mirroronthenet.org/blog/2003/10/test-post-from-my-blog-client.html</link><author>Neelesh</author></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-5814453.post-10650706500210476</guid><pubDate>Thu, 02 Oct 2003 04:57:00 +0000</pubDate><atom:updated>2003-10-02T10:27:29.383+05:30</atom:updated><title></title><atom:summary type='text'>Test post from my blog client</atom:summary><link>http://mirroronthenet.org/blog/2003/10/test-post-from-my-blog-client_02.html</link><author>Neelesh</author></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-5814453.post-106492330198997872</guid><pubDate>Tue, 30 Sep 2003 12:01:00 +0000</pubDate><atom:updated>2003-09-30T17:31:42.126+05:30</atom:updated><title></title><atom:summary type='text'>Blogger Client Project
Well, My RU license has expired and BlogThis is not good enough for me. Methinks of writing a Blogger client.I know there are many out there, but in the process I will learn XML-RPC atleast :)
</atom:summary><link>http://mirroronthenet.org/blog/2003/09/blogger-client-project-well-my-ru.html</link><author>Neelesh</author></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-5814453.post-106446922179461674</guid><pubDate>Thu, 25 Sep 2003 05:53:00 +0000</pubDate><atom:updated>2003-09-25T11:23:41.993+05:30</atom:updated><title></title><atom:summary type='text'>Nothing much happening, Im busy working on a user feedback system for our website. Hope to finish it fast and get it up and running.
Desperately trying to get used to TDD, so far the results are hopeless.
</atom:summary><link>http://mirroronthenet.org/blog/2003/09/nothing-much-happening-im-busy-working.html</link><author>Neelesh</author></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-5814453.post-106432819003952964</guid><pubDate>Tue, 23 Sep 2003 14:43:00 +0000</pubDate><atom:updated>2003-09-23T20:13:09.750+05:30</atom:updated><title></title><atom:summary type='text'>I was home last weekend  and attended the naming ceremony of my newborn nephew... he's so cute! He's so soft, he's hardly 10 days old. Im really amazed to see his reactions to the events occuring around him..</atom:summary><link>http://mirroronthenet.org/blog/2003/09/i-was-home-last-weekend-and-attended.html</link><author>Neelesh</author></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-5814453.post-106373699942576608</guid><pubDate>Tue, 16 Sep 2003 18:29:00 +0000</pubDate><atom:updated>2003-09-17T00:00:13.943+05:30</atom:updated><title></title><atom:summary type='text'>My work on OTN
Check out  Virtual Shopping Mall 1.3 - A sample app with an aim to demonstrate end-to-end J2EE application architecture.
Has EJBs,JSPs, i18n ,Struts,JAAS etc.</atom:summary><link>http://mirroronthenet.org/blog/2003/09/my-work-on-otn-check-out-virtual.html</link><author>Neelesh</author></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-5814453.post-106373506684791859</guid><pubDate>Tue, 16 Sep 2003 17:57:00 +0000</pubDate><atom:updated>2003-09-16T23:29:41.333+05:30</atom:updated><title></title><atom:summary type='text'>Unit test blues with CRUD methods on RDBMS
I had a small discussion with Rajesh Babu  about unit testing methods that involve CRUD on Database. There does not seem to be an obvious way to manage test fixtures and initial conditions for tests.
  For example, i need to test a method create(), which inserts a record to database.So i write a JUnit testcase for this.
    ...
    create(myObject);</atom:summary><link>http://mirroronthenet.org/blog/2003/09/unit-test-blues-with-crud-methods-on.html</link><author>Neelesh</author></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-5814453.post-106371934548203726</guid><pubDate>Tue, 16 Sep 2003 13:35:00 +0000</pubDate><atom:updated>2003-09-16T19:07:27.250+05:30</atom:updated><title></title><atom:summary type='text'>Static or not?
 Me and my collegue were having a discussion on static methods in Java. My collegues argument for static methods went this way
   * They are fast [because of compile time binding]
   * No need to instantiate classes, makes memory conservation
And my sole point against static methods
   * No flexibility , if you want to change behaviour of the class partly,can't override .
  I</atom:summary><link>http://mirroronthenet.org/blog/2003/09/static-or-not-me-and-my-collegue-were.html</link><author>Neelesh</author></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-5814453.post-106364285873152056</guid><pubDate>Mon, 15 Sep 2003 16:20:00 +0000</pubDate><atom:updated>2003-09-15T21:54:44.356+05:30</atom:updated><title></title><atom:summary type='text'>Oracle JDeveloper 10g -  Evolution of an IDE
So I started talking about Oracle JDeveloper after all. I must admit that JDeveloper has evolved to be a nice IDE for Java and  Java/Database webservices. The initial versions of this IDE, (versions 3.x etc) were pain to work with, but the latest 10g is smooth.
   To give a feel of what it offers-
      * Wizard based  code generation for EJBs
</atom:summary><link>http://mirroronthenet.org/blog/2003/09/oracle-jdeveloper-10g-evolution-of-ide.html</link><author>Neelesh</author></item></channel></rss>