Sunday, February 16, 2014

That's IT!




Ever since I watched an episode of “Office” on Vijay TV, I wanted to pen down (or rather key down) on how the IT (Information Technology) industry is seen by others and by me. Perhaps, the Office serial is not the only one to project IT-guy characters in the plot; there have been movies as well. (Yaaradi Nee Mohini, Theeya Vela Seyyanum Kumaaru etc.) The audience is made to believe that the terminologies 'Team', 'HR', 'Cabin', 'Manager' are prominently used ones (As though these are specific only to IT industry!). When there is a trend in the country, they hit the big screens immediately, and so is the case with this.

For the past decade, engineering in India has been synonymous with a job in IT company. Its like how a SLR cam is synonymous with a profile picture on facebook. So, as per the school of thought, you are supposed to secure an admission in a college which is known for good placement records, and you ultimately have to get an offer of employment from CTS, Infosys or TCS in your pre-final year, failing which you will be shown a “hmm...” face. When you hear from someone who is a non-IT guy about the industry, he typically talks about how tedious the job is, working late in the nights and coming back home late, commuting by office bus etc. Frankly speaking, I would not like to listen to anyone trying to sterotype the industry's work culture in a tranishing way, and this is not because I work for an IT company.

On similar lines, I find that there are a few misconceptions. There are a few who think IT professionals have a lot of “Kaasu-Panam-Dhuddu-Money-Money”, that you can charge them a lot for servicing them, be it autos, restaurants or tea stalls (I am making a gentle statement here and not trying to criticize anyone). Few others think IT guys are ones who constantly stare at monitor and need to get a life. Such prejudices and assumed trademarks are there throughout the spectrum. Don't we think all actors are super rich and lead a fantastic way of life throughout? On the contrary, there have been many instances wherin the 'rich' and 'fantastic' life has actually been poison.

As per a study, the industry in India offers direct employment to 3 million and indirect employment to about 9 million. Indians have been naturally talented in logistics and computing and I think the success of the Indian IT industry needs to attributed to this fact. As per NASSCOM, we have crossed 100 billion US$ revenue. This also contributed to about 7.5% of India's national GDP in 2012 (which was just 1.2% in 1998). India is now seen as a major IT hub in the world. There are thousands of americans in major research universities and industries who are of Indian origin. (Needless to say, Sathya Nadella, CEO, Microsoft) This apparently means that we have the capability of propelling our growth in innovative fields in our country.

In India, there is a lot of scope for improvement on the e-governance aspect. I sent a courier to my cousin in US through the Indian postal department, and I find that there is no convincing mechanism to track its delivery status. I had lodged a e-complaint, and alas, I get calls from the department asking me if the courier has reached them! While there is an apprehension that software related automations might increase the unemployment, I personally believe that these solutions will be an effective tool for governance. Government of Andhra Pradesh had launched a good amount of e-Governance initiatives. By e-Governance, I mean the reach of technology to both the urban and rural India to bridge the gap between the Government and the citizens. In the recent past, there have been quite a number of startups companies, which is a welcome sign. India has a great pool of skilled manpower which can be capitalised to build both public and private sector promising companies in India to solve problems concerning the nation. I wish to see India as a major IT superpower in the world with all our dedicated efforts.

- Srikrishnan

Sunday, October 27, 2013

Come, let's build this great nation!

My dear friends,

I know most of you who read this note are in the age group 18-35 years. Nevertheless all Indians can read this. Friends, we have a herculean task in hand - building this great nation. So come, let's build this great nation!

How long should we keep lamenting the poor performances of successive governments? Why don't we take greater interest in throwing away a bad government by casting our votes without fail? Don't we wait patiently to buy tickets for a movie? Don't we wait patiently for food that we order in the restaurants? Then why not wait patiently in a queue to vote for a suitable candidate? Come, let's build this great nation!

Now, don't say all politicians are unfit to be elected, and so there is no use casting vote. There are people and there are governments which have performed well, more so in the recent past. Surprising right? It is true. Now, Ill not get into details about people and governments who have done well, for I fear that would divert the course of the discussion intended. So come, let's build this great nation!

Though we have a not-so-good political culture, (which I am sure would improve in the years to come) we have one of the best electoral processes and civil liberties when compared to other countries. India is one of the few countries which gave voting rights to all its citizens. So why not use it effectively? So come, let's build this great nation!

The earth's population was about 7.046 billion in 2012. With growth rate of 1.5%, India alone contributes 17% of world's population. It is predicted that by the year 2030, India would surpass China's population and we would be the most populous country in the world. With so many skilled, industrious labors why should India have problems on various fronts? This also means, if population is not managed effectively, it would turn be a big liability. So isn't our duty to be a part of India's growth story? So come, let's build this great nation!

Now let’s talk about our GDP growth. GDP growth in 2012 was estimated to be just 3.2%. Why are we still not able to cross a double digit growth rate? We need more economic reforms and a boost to infrastructure development to accelerate growth. So come, let's build this great nation!

As per the World Bank reports, 32.7% of Indian population still suffer from poverty. Why have we not been able to bring down this figure to a single digit even after 66 years of independence? This in turn needs an elaborate discussion on economic and political policies. So, shouldn't we need to send the right Netas to the Vidhan Sabhas and Sansad? So come, let's build this great nation!

60 years is a long time in a human's life and that's why people retire at this age. But for a nation, that's too complex like India, 60 years time of parliamentary democracy is too less. She has a very long way to travel, and that requires the co-operation of all her citizens. So come, let's build this great nation!

Friends, this note on facebook is not written for earning likes. This was written by a concerned citizen of a great nation, to tell you all that elections are round the corner; we all must get ready to discharge our duties as responsible citizens. SO PLEASE DO VOTE IN THE UPCOMING ELECTIONS. If you do not possess a voter's ID, please do apply for it and ensure you obtain one. Do not blame the process for not giving one; it is your duty to get one. Come, let's build this great nation!

Voting in elections is not just your right; it is your duty as well!

Let me throw out a question to all of you out here. How many of you are promising me that you would definitely vote in the upcoming election and in the years to come?

Please spread the news if possible!

Bharat Mata Ki Jai!!


Thanks,
Srikrishnan S

Friday, August 23, 2013

Spring Form with Checkboxes

In this post, I shall explain how to create a Spring form with check boxes. Additionally, we will learn how to make a list of items checked by default.

web.xml : 

1:  <web-app id="WebApp_ID" version="2.4"  
2:    xmlns="http://java.sun.com/xml/ns/j2ee"   
3:    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"  
4:    xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee   
5:    http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">  
6:    <display-name>Spring MVC Application</display-name>  
7:    <servlet>  
8:     <servlet-name>HelloWeb</servlet-name>  
9:     <servlet-class>  
10:       org.springframework.web.servlet.DispatcherServlet  
11:     </servlet-class>  
12:     <load-on-startup>1</load-on-startup>  
13:    </servlet>  
14:    <servlet-mapping>  
15:     <servlet-name>HelloWeb</servlet-name>  
16:     <url-pattern>/</url-pattern>  
17:    </servlet-mapping>   
18:  </web-app>  

HelloWeb-servlet.xml :

1:  <beans xmlns="http://www.springframework.org/schema/beans"  
2:    xmlns:context="http://www.springframework.org/schema/context"  
3:    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"  
4:    xsi:schemaLocation="  
5:    http://www.springframework.org/schema/beans     
6:    http://www.springframework.org/schema/beans/spring-beans-3.0.xsd  
7:    http://www.springframework.org/schema/context   
8:    http://www.springframework.org/schema/context/spring-context-3.0.xsd">  
9:    <context:component-scan base-package="com.sri.test" />  
10:    <bean class="org.springframework.web.servlet.view.InternalResourceViewResolver">  
11:     <property name="prefix" value="/WEB-INF/jsp/" />  
12:     <property name="suffix" value=".jsp" />  
13:    </bean>  
14:  </beans>  

Subject.java :

1:  package com.sri.test;  
2:  import java.io.Serializable;  
3:  public class Subject implements Serializable{  
4:      /**  
5:       *   
6:       */  
7:      private static final long serialVersionUID = 7135393884889475409L;  
8:      private int subjectId;  
9:      private String subjectName;  
10:      public Subject() {  
11:          super();  
12:      }  
13:      public Subject(int subjectId, String subjectName) {  
14:          super();  
15:          this.subjectId = subjectId;  
16:          this.subjectName = subjectName;  
17:      }  
18:      public int getSubjectId() {  
19:          return subjectId;  
20:      }  
21:      public void setSubjectId(int subjectId) {  
22:          this.subjectId = subjectId;  
23:      }  
24:      public String getSubjectName() {  
25:          return subjectName;  
26:      }  
27:      public void setSubjectName(String subjectName) {  
28:          this.subjectName = subjectName;  
29:      }  
30:      @Override  
31:      public boolean equals(Object obj) {  
32:          if (this == obj)  
33:              return true;  
34:          if (obj == null)  
35:              return false;  
36:          if (getClass() != obj.getClass())  
37:              return false;  
38:          Subject other = (Subject) obj;  
39:          if (subjectId != other.subjectId)  
40:              return false;  
41:          if (subjectName == null) {  
42:              if (other.subjectName != null)  
43:                  return false;  
44:          } else if (!subjectName.equals(other.subjectName))  
45:              return false;  
46:          return true;  
47:      }   
48:  }  

Student.java :

Student has one-to-many association with Subject:

1:  package com.sri.test;  
2:  import java.io.Serializable;  
3:  import java.util.List;  
4:  public class Student implements Serializable{  
5:      /**  
6:       *   
7:       */  
8:      private static final long serialVersionUID = -779930820340758193L;  
9:      private int studentId;  
10:      private String studentName;  
11:      private List<Subject> subjectList;  
12:      public Student(int studentId, String studentName, List<Subject> subjectList) {  
13:          super();  
14:          this.studentId = studentId;  
15:          this.studentName = studentName;  
16:          this.subjectList = subjectList;  
17:      }  
18:      public Student() {  
19:      }  
20:      public int getStudentId() {  
21:          return studentId;  
22:      }  
23:      public void setStudentId(int studentId) {  
24:          this.studentId = studentId;  
25:      }  
26:      public String getStudentName() {  
27:          return studentName;  
28:      }  
29:      public void setStudentName(String studentName) {  
30:          this.studentName = studentName;  
31:      }  
32:      public List<Subject> getSubjectList() {  
33:          return subjectList;  
34:      }  
35:      public void setSubjectList(List<Subject> subjectList) {  
36:          this.subjectList = subjectList;  
37:      }      
38:  }  

HelloController.java :

allList is a list of all the subjects available; enrolledList is a list of subjects that a student has enrolled. We simply add student object and allList to the ModelMap and return the view.

1:  package com.sri.test;  
2:  import java.util.ArrayList;  
3:  import java.util.List;  
4:  import org.springframework.stereotype.Controller;  
5:  import org.springframework.ui.ModelMap;  
6:  import org.springframework.web.bind.annotation.RequestMapping;  
7:  import org.springframework.web.bind.annotation.RequestMethod;  
8:  @Controller  
9:  @RequestMapping("/")  
10:  public class HelloController{  
11:    @RequestMapping(value = "", method = RequestMethod.GET)  
12:    public String printHello(ModelMap model) {  
13:     model.addAttribute("message", "Hello Spring MVC Framework!");  
14:     List<Subject> allList = new ArrayList<Subject>();  
15:     allList.add(new Subject(1,"English"));  
16:     allList.add(new Subject(2,"Maths"));  
17:     allList.add(new Subject(3,"Science"));  
18:     allList.add(new Subject(4,"Social"));  
19:     allList.add(new Subject(5,"Tamil"));   
20:     List<Subject> enrolledList = new ArrayList<Subject>();  
21:     enrolledList.add(new Subject(1,"English"));   
22:     enrolledList.add(new Subject(3,"Science"));  
23:     Student student = new Student(1,"SRI",enrolledList);  
24:     model.addAttribute("student", student);   
25:     model.addAttribute("allSubjectList", allList);  
26:     return "home";  
27:    }  
28:  }  

home.jsp : 

This holds the spring form. commandName is the model attribute which is used to fill the form, the path is the model to be used to pre-populate data, items point to list of all the subjects available and path to the subjects taken by the student model.

1:  <%@ taglib uri="http://www.springframework.org/tags/form" prefix="form"%>  
2:  <html>  
3:  <head>  
4:  <title>Hello World</title>  
5:  </head>  
6:  <body>  
7:      <h2>${student.studentName}</h2>  
8:      <form:form method="POST" action="save" commandName="student">  
9:          <form:checkboxes title="Subjects taken" path="subjectList"  
10:              items="${allSubjectList}" itemLabel="subjectName" element="div" />  
11:      </form:form>  
12:  </body>  
13:  </html>  

Output:


Cheers!

S. Srikrishnan

Sunday, August 4, 2013

Thiruvilayadal with Java


Q. Pirikka vendiyathu ennavo?
A. Model-um View-um

Q. Piriya koodathathu?
A. Spring-um Hibernate-um

Q. Sernthe iruppathu?
A. JSP-um JSTL-um

Q. Seramal iruppathu?
A. Service-um DAO-um

Q. Parthu rasippathu?
A. Javadoc comments

Q. XML ku?
A. JAX-B library

Q. JSON ku?
A. Jackson library

Q. Library-il siranthathu?
A. Apache Commons

Q. SDLC-il siranthathu?
A. Agile Methodology

Q. Lead-ku?
A. Naan!

Q. Developer-ku?
A. Nee!

Aiyaaa, ala vidu!



Saturday, May 18, 2013

Model – View Separation




Our team was waiting outside a food stall starring at the list of snack items that was put up on the board. I read one by one that was listed, and at one point my eyes stopped at “Cutlet”. “I will go with cutlet”, I said. The billing person (Lets call him the controller for now; as to why so, will be told shortly) nodded his head and proceeded to bill it. Then there came a notification from someone from the kitchen premises that cutlets were all over. Now, if the cutlets represented the actual “model”, the display board was the view. So, now I’ve explained why the billing person is the “controller”. Now if the controller had promptly informed the view about the change in the model, things would not have gone for a toss. (I know it is not something that is catastrophic, but still)

Model – View - Controller (MVC) pattern is awesome I tell you. When I was new to this pattern, I saw MVC as one among the many patterns available, but now I see it as a master pattern, the pattern that solves “data-here-display-how” problem. Let us see how MVC applies to different problems.

Firstly, I’ll talk about the files in a file system. We get to see many views of the file system- one as a general file system explorer, one as a tree structure, one as a file picker / saver dialog et al. The model is the same – the file system; the views are different.


(The tree view and the flat view of the file system)

(The file saver/picker view of the file system)

PhpMyAdmin, a tool to handle the administration of MySQL provides a view of the data in the database system. You may also wish to open a console and connect to the MySQL server. My aim here, is to explain how the model being same, is rendered in different views.

Let’s move on to few real life examples. The cutlet-board-hotel thing was one. Now, let me talk about, hmm say X-rays? X-ray gives a “view” of the actual model, the bone. 



We need to keep in mind that only “updatable” views result in change of the model information. Now, if your hand is broken, and you think you can change the X-ray image to fix the broken hand, my friend, it’s an epic fail attempt. And when you work on say, PhpMyAdmin, you can update a table, by updating the view (Hey not the SQL view, I am talking about the front end view you see on the browser), of course if only you got the permission for it. (Forget Jee-Boom-Bah pencil now)

My message to the computer science world: apply MVC pattern, it makes life simple and easy. Long live MVC! Long live MVC!

Cheers!

- ∫.∫rikrishnan

Sunday, March 3, 2013

Separation of concerns



A concern, however trivial it might seem to be, needs our immediate attention, as it might grow to something catastrophic if not tackled properly. We see people, who while talking let their ‘concerns’ interfere with the lucidity of their thought process. If one is able to distinguish the concerns involved and address each one of them separately, the problem is solved.

A computer science engineer by now would have guessed that I am talking about Aspect Oriented Programming and weaving. Well, I am not going to stick to that ‘aspect’ alone. Ok, let me hit it straight. There are things that always need to be separate initially, resolved individually and then ‘weaved’ carefully. That means, they have to live separately and carry out their work in tandem.

The separation of business logic from presentation logic is an important concern in software development. This enhances pluggability. Have we not seen electronic media reporting a piece of information in a variety of ways? Model being the same, we get to see different views. Well, this is one natural advantage of Model-View separation; lucky media people! Now, take the example of HTML, CSS separation. While HTML is all about document structure, CSS is about offering styles to the document. The same is the case with LaTeX, where the presentation of content and the content itself are separate. This tool is popular over WYSIWYG editors for the very reason- the concerns are separately addressed.

Earlier during king rule, judiciary and executive were one. These concerns are now separate in our country. Rulers and their parties are separate concerns. There needs to be a perfect co-ordination between the two, but at the same time, they should not interfere with each other’s business. Well, it is the duty of the leader to ensure that; in other words, a good leader is one who ensures that with sincerity. People misusing cars provided by their workplaces for personal use, usually for dropping their kids in school are not a rarity. Clearly, separation of concerns rule is violated.

The philosophy part starts here. Body and soul are also separate. Body is dead, once the soul departs. Body is perishable, soul is not. Body and soul are separate concerns. Body is something temporary. To accuse someone of being short is not right as it is not his / her posession. For that matter, one cannot claim posession of anything in this world. We come empty handed; we leave empty handed; however, we quarrel stupidly for things that are not ours.

Cheers.

Thursday, February 7, 2013

Acharya Devo Bhava


Kid 1: No!, give it to me its mine!!
Kid 2: Definitely not! It is mine.. Go away!
Kid 1: Can't you see its blue in colour..
Kid 2: Hey you! Its my blue colour pencil box! My mom got it for me.
Kid 1: No way! It is a double-back box, which only belongs to me...
Kid 2: Hey let's look at the label on the box. Haa do you see? It has my name written on it. See. See. See.
Kid 1: Huh??? Mummmyyyy! My box is missingg....

Interesting conversation right?? Immature kids squabble to find out who the rightful owner is. They start by comparing the properties of the box; the issue is resolved when they find a property (the label which has a name) being different. So, what it all ammounts to, is an invocation to overriden equals method of box class!

public class PencilBox {

    private Color boxColor;
    private boolean isDoubleBack;
    private String ownerName;
    @Override
    public boolean equals(Object obj) {
        if (this == obj) {
            return true;
        }
        if (obj == null) {
            return false;
        }
        if (!(obj instanceof PencilBox)) {
            return false;
        }
        PencilBox other = (PencilBox) obj;
        if (boxColor == null) {
            if (other.boxColor != null) {
                return false;
            }
        } 
        else if (!boxColor.equals(other.boxColor)) {
            return false;
        }
        if (isDoubleBack != other.isDoubleBack) {
            return false;
        }
        if (ownerName == null) {
            if (other.ownerName != null) {
                return false;
            }
        } 
        else if (!ownerName.equals(other.ownerName)) {
            return false;
        }
        return true;
    }
}

The point that I am making is... Why cant professors include such anologies during the course of the lectures? These are simple tricks to make a class interesting. Sadly, there are very few who do that. Taking into account a student's difficulties in sitting in a class for an hour, why shouldn't a prof aim at keeping the class enthusiastic. I would deliver such a lecture if only I were a prof.

Say I would have to lecture on Comparable interface, the conversation I would provide is this:

Dad: Only 87?? Why??? Why didn't you score a 100?
Son: Dad, only 5 people have got above 80 and only 1 above 90! No 100s this time dad.
Dad: Don't you say that! Why were you not that person who scored 90.
Son: Dad!!
Dad: Are you aware of something? At your age, Einstein was a brilliant student!
Son: Dad, at your age, Nehru was the Prime Minister of India. Please don't compare me with others!

Hmm.. that's right... To all parents out there, don't ever compare your kids with their friends. Well, students do not implement Comparable interface; so you cant do that!

Here is a report on "The Teaching-With-Analogies Model" :

"An analogy is a similarity between concepts. Analogies can help students build conceptual bridges between what is familiar and what is new. Often, new concepts represent complex, hard-to-visualize systems with interacting parts. Analogies can serve as early “mental models” that students can use to form limited but meaningful understandings of complex concepts. Analogies can play an important role in helping students construct their own knowledge, a process that is encouraged in the Standards and consistent with a constructive view of learning. As students' develop cognitively and learn more science, they will evolve beyond these simple analogies, adopting more sophisticated and powerful mental models. The model has been validated in formal experiments and classroom settings in which the strategic use of analogies has been found to increase students’ learning and interest."

I wish to stress on the point that to be or not to be a good lecturer completely depends on the way a professor carries himself in the class. India has produced great gurus – Dronacharyar, Ramanujar, Adisankarar, Dr. Radhakrishnan, Dr. A.P.J. Abdul Kalam, the list is actually endless. Who would forget the famous story of Dr. Radhakrishnan's carriage being pulled by students with cries of 'Radhakrishnan ki jai', when he left the Calcutta university. Devotion towards to gurus is absolutely essential for a student to progress. We learn this from many - Vishwamitra - Rama, Krishna - Arjuna, Satakopar - Madurakavi, Ramanujar - Ananthazhwar etc. Acharya Devo Bhava!

Professors can bring about a significant change in students lives. Professors, inspire and carry them with you, for they will bring all laurels back to you!

ReferenceThe Teaching With Analogies Model, http://www.coe.uga.edu/twa/PDF/Glynn_2007_article.pdf


Tuesday, January 22, 2013

Dear Rain, where are you??




People say a disaster like flood is manageable; not drought. But a disaster is a disaster, so why say drought is even more disasterous. The reason they give is that flood can be mitigated to some extent; it is not so easy in the case of a drought. People of Tamil Nadu, especially Chennai know that better. TN was hit severely both by drought (From 2001 to 2004) and floods (In 2005-2006).

With soaring prices of metro water, the struggle we had to put as a result of water scarcity in the city was profuse. Scenes of women squabbling on the streets were quite common; there were instances where the local police had to arrive, to settle the issue smoothly. I still remember this: we were advised by the apartment association to use only 3/4th a bucket for bathing, and only a mug for a face wash!

It was in the year 2003 that the government of TN made the rainwater harvesting scheme mandatory : 

"Through an ordinance titled Tamilnadu Muncipal Laws ordinance, 2003, dated July 19, 2003, the government of Tamil Nadu has made rainwater harvesting mandatory for all the buildings, both public and private, in the state. The deadline to construct rainwater harvesting structures is August 31, 2003. The ordinance cautions, "Where the rain water harvesting structure is not provided as required, the Commissioner or any person authorised by him in this behalf may, after giving notice to the owner or occupier of the building, cause rain water harvesting structure to be provided in such building and recover the cost of such provision along with the incidental expense thereof in the same manner as property tax". It also warns the citizens on disconnection of water supply connection provided rainwater harvesting structures are not provided."

MTC buses plying across the metro carried advertisements urging the need for rain water harvesting. Slowly it became a people's movement.  After the implementation of this scheme, a significant increase in both the quality and level of ground water was noted. The water quality in Chennai is a long way to reach International standards. After an Indian Ocean tsunami lashed the shores of TN, the weather pattern changed drastically. Bay of Bengal which could withstand not more than one or two cyclones, witnessed 4 to 5.  During the year 2005-2006, the highest rainfall of 2356.5 mm was recorded in Chennai district.

2012 was a disappointment for Chennai. TN is one of the states which receives rain from both South-West and North-East monsoon. Usually when the city records less rainfall, the south-west monsoon bridges the gap. This year it fell short by nearly 7 cm of the season’s normal of 41 cm. Overall shortage is estimated to be 33%.

I was taken aback when people were literally praying that it should'nt rain during the ARR concert or during the cricket matches. Short-term pleasures, unmindful of long term ones, seem to be the need of the hour. People, its high time we change our mindset. Why do we often hear the king in dramas uttering the words "நாட்டில் மும்மாறி பொழிகிறதா  அமைச்சரே ??" (Minister, is there enough rainfall in our country?) 

Although water provides no calories or organic nutrients, it is essential for every known form of life. It is considered as a purifier in most religions, philosophy and literature. For the crops to grow, for the agriculture and plains to flourish and for us to sustain on this planet we need water. And what is the purest form of water? Rain.

Tuesday, August 14, 2012

Our prayers to Bharat Matha





Our Motherland Bharat, India, the ‘United States of India’ (as I would love to call it) celebrates her 65th Independence Day tomorrow. Who am I, to write about India on the eve of the Independence Day? The President? Certainly not! Just a concerned citizen! But here in India, every concerned citizen is a President on his own. It is just that we people are not aware of our strengths.

India is a developing nation, that’s right. But for how long have we been carrying the same label? For the past 65 years! We are definitely on the track of progress and development, but we need to ask ourselves this question- "How steady is our growth?". What is hindering the growth in our country? The reasons seem to be many.

Corruption is undoubtedly a major cause. Anti-corruption movements have gained momentum, only because the citizens are fed up with all pervasive corruption. It was the JP movement in 1975 and the Anna Movement now. Such movements are a sign of health democracy; but they cannot go to the extent of running a parallel government. There is a section of people, who are against corruption and support these movements, yet another group against both corruption and these movements. The corrupt group obviously is not against corruption, but the problem is with the section of people who are against it, but divided on the issue. It has therefore become very difficult to reach a consensus, and it is due to this reason that the Jan Lok Pal bill has never been passed by the parliament though it has been tabled 9 times. (In the years 1968, 1974, 1977, 1985, 1989, 1996, 1998, 2001, 2011)

I personally feel that such a bill is not required, if only we choose the right candidates during the elections. When the top order is corrupt, the lowest order is also corrupt; it follows the waterfall model. People who accept cash during the election time for voting for a candidature do not have moral rights to speak on corruption. The argument that it is only the tax payers’ money that is being given back to us in the form of bribe is absolutely invalid. Never accept bribe for voting! Never abstain from voting!

They say India was the richest nation once. I would say it is still the richest nation; just that so much of money is stashed abroad illegally. Perhaps, they don’t realize the fact that black money wouldn’t accompany them to the grave. It is wrong to blame the politicians alone. Our favourite film stars also do that, and we continue to admire them extremely stupidly. Remember, you can admire any artist for his immense talents, but we never know how pious they are in public life.

The members of the principle opposition party in the Parliament have given in writing, a declaration to the Speaker of the Lok Sabha, that they do not possess any illegal accounts outside India. It’s a welcome step; I just hope every word in that declaration is true, or else it’s nothing short of an ‘unkindest’ cut.

The national mood today is that of anger and frustration. I hope things change soon, but it is impossible without our contribution as citizens. On this day, let us take few resolutions. Let us improve our political wisdom, rightly choose the candidates in the elections, and vote without fail. Let us strive hard to see a superpower India.

WISHING YOU ALL A VERY HAPPY INDEPENDENCE DAY!!

भारत माता की जय!! 

Thursday, June 21, 2012

Vali questions Rama




From Kishkindha Kandam (The Empire of Holy Monkeys) of Valmiki Ramayanam


Rama's arrow hits Vali on chest and Vali fallen down. But Vali is not dead yet. When Rama and Lakshmana approach dying Vali, he questions the propriety of Rama in killing him. Vali's questioning explicitly is straightforward befitting to the defeated mighty Vanara King. There are ancient commentaries that deduce many more meanings in picturising Vali as a devotee of Rama, who wanted to die at the hand of Rama, like Viraadha and others, as a means of salvation.

"You are a renowned prince with pleasing looks… but, which kind of death I am getting now, that too when I was in the commotion of conflict with another, alas, that ignoble death is owing to you, and what merit is achieved by you in this undertaking of yours to kill someone who is facing away from you…

"Rama is high-born, they say, gifted with mightiness, resplendent, pursuer of vows, mindful of mercy, delighter in people's welfare, sympathetic, greatly enthusiastic and assertively committed in doing good deeds, knower of time-and-action, all these living-beings on earth are thus relating your renown, aren't they.

"To be able to control senses and will, forgiveness, conscientiousness, resoluteness, truthfulness, and adventurousness, oh, king, are the aptitudes of a king, and even punishing the wrongdoers, too.

"Concluding that those kingly characteristics will be obtainable in you, and even judging by the noble dynasty of yours, I have confronted Sugreeva though Tara dissuaded me.

"When you have not appeared before me when I confronted Sugreeva my concept was, 'it will be inapt of Rama to hurt me while I am combating with another combatant, besides, when I will be unvigilant in that fight…”

"Not known that your soul is put to death, not known that you are the unrighteous flag bearer of righteousness, to me not known that you are insidious like straw covered well.

"I have no knowledge that you are a sinner, one in the garb of a benign soul, and explicitly mantled under the garb of probity like ash covered fire.

"I am non-guilty as I have not committed any misdeed either in your country or in your city, nor I have taunted you; I am a vanara subsisting on fruits and tubers and always moving in forests alone; such as I am, what made you to torture me when I was not combating with you en face, furthermore, when I was involved with another?

"You are renowned to be a prince with charming looks, oh, king, and indications agreeable to rectitude are also appearing on your body.

"Will anybody born in Kshatriya's family, a learned one in Veda-s, thereby who is rid of ambiguities with respect to right and wrong, and who is cloaked in an air of probity, execute such a ruthless deed like this?

"Though born in Raghava's dynasty and renowned as a moralist you are actually amoral, and for what purpose you run around with this moral aspect?

"Influencing, largesse, forbearance, probity, candour, and conquering are the attributes of the kings, oh, king, and even punishing the wrongdoers.

"We as animals live in forests while you are city dwellers, we live by eating fruits and tubers while you enjoy feasts and banquets, our nature is such to kill and get killed, thus you and me have no correlation. And you, even if you are a man and a prince for humans, you resorted to this animalistic way of killing me lying in the wait, thus your action is worse than that of an animal, if not subhuman or un-princely.

"Territory, gold, and silver will be the causes while counteracting somebody, in that case, by what you are decoyed into these forests of mine or in the fruits of mine.

"In the pairs of propriety and compliance, punishment and pardoning, no admixture is exercised in kingcraft, for the kings do not conduct themselves volitionally.

"But, to you your self-interests are primary, and you are a wrathful, capricious, contriver of kingcraft, and an impetuous shooting-happy archer.”

"Oh, king, you have no devotion to probity, nor your mind is firm about material gains, but as a free-willed one you are distracted by senses.

"How you are answerable to gentlemen, Rama, when you have done this detestable deed of killing an unoffending one like me with your arrow?

"A regicide, a Brahman-cide, a cow-slayer, a thief, an inveterate killer, an atheist, and a younger brother who marries before his elder, all of them will go to hell.

"A slander-monger, skinflint, friend-killer and one who makes love with his teacher's wife, they all go to the worlds of evil-souls, no doubt about it.

"My skin is un-wearable, holy people forbid my hair and bones, and uneatable is my meat for your kind of reputable people.

"Raghava, five kinds of five-nailed animals, viz., a kind of wild rodent, a kind of wild-boar, a kind of lizard, a hare and fifthly the turtle are edible for Brahmans and Kshatriyas.

"Sensible people will not touch my skin and bones, oh, king, nor meats from my body are to be eaten, such as I am, a five-nailed animal, I am killed.

"Though Tara appraised me with truthful and favourable words, I just disregarded her advise owing to my own delusion, and gone into the control of Time.

"With you as her espouser the Earth is not with a correct spouse, as with any lady who is with full-fledged chastity, but with a husband who is without rectitude.”

"How are you borne to that great-souled Dasharatha when you are artful, felonious, knavish, disposed to a false modesty subconsciously, and an evildoer?

"I am killed by an elephant called Rama that snapped off its girdle-cord called tradition, that infringed the conventions of righteous people, and that discarded the goad called virtue.

"On accomplishing this sort of unpropitious, unjustified killing, which is condemned by the righteous people, what can you say when you meet the godly men?

"The valour that which is displayed on the unprejudiced few like us, oh, Rama, I do not see that sort of valour is shown by you in respect of your enemies.

"Had you been in combat with me en face oh, prince, you would have been killed by me and by now you would have seen the death-god Yama.

"An unassailable one, such as I am, I am killed by you while you remained invisible on the field of fight, as with a sinner bitten by a snake while he is asleep.

"For which purpose I am killed, intending to do good to Sugreeva is incidental to it, you should have assigned me for that purpose in the first instance itself, and I would have brought that evil-minded demon Ravana, the abductor of your wife in one day, that too without killing him in any fight, but by fastening him by neck, and I would have presented Maithili to you.”

"I would have brought Maithili at your order even if she is lodged in oceanic waters or in nether worlds, as with the White Horse of Vedic lore.”

"The fact of Sugreeva's getting the kingdom after my going to heaven is proper, but the fact of your killing me in war, unrighteously, is improper.

"Admittedly the world is this way, and if possible a relevant reply may gently be thought ofabout your propriety in killing me..."

That great-souled son of a vanara king Vali, whom the arrow impaled and agonised, on keenly seeing Rama whose resplendence equals the brightness of the sun, said that much and remained silent when his mouth has dried up.

Vali's killing is a puzzle from the viewpoint of imperial politics and dharma. Hence Vali questions logically about it, even at his dying stage. The questions are as below:

1] By killing one who is facing away, what worth is achieved by you?
2] You have not punished the wrongdoer
3] Killed one who is combating with another and an unvigilant one
4] In your country or city I did no misdeed
5] Non-guilty being is hurt
6] Fruits, tuber eating being is killed
7] No dispute of land, gold or silver
8] You primary aspiration is to kill without probing into good or bad
9] How do you face criticism by scholars?
10] Unnecessary killers are hell-goers
11] Un-wearable is my skin uneatable is my flesh
12] Five kinds of five-nailed animals are usable by humans
13] I would have brought back Maithili in one day.

Rama explains to dying Vali as to why he gave such a punishment. Rama categorically answers all the question put by Vali in the last chapter from the viewpoint of scriptures that lay down principle for sanaatana dharma, eternal tradition, as well as raaja dharma, king's duty.

"Uncaring for probity, prosperity, pleasure deriving, and even for the social conventions, now how do you rebuke me childishly in this matter?

"Unconsulted are the doyens of your race that are intellectually well off and agreeable to your mentors about rights and wrongs about your deeds, oh, gentle one, how do you wish to debate with me in this matter with your primate's caprice.

"This earth with its mountains, woods, and forests, even along with the authority to condone or condemn the animals, birds, and humans on it belongs to Ikshvaku’s.

“He who is virtue-souled, truth-abiding, plain-speaking, and the knower of the import of probity, pleasures, and prosperity, and the one who is concerned in controlling or condoning his subjects, that Bharata is the ruler of earth.

"In whom both scrupulousness and benignancy are there, truthfulness is firmed up, and valour as evinced by scriptures is evident, and he who is the knower of time and place is the king, namely Bharata.

"Holding his virtuous decree desiring to keep up the continuum of righteousness, we and some other kings are wayfaring this earth in its entirety.

“While that Bharata, the kingly-tiger and a patron of virtue, is ruling the earth in its entirety, who is there to conduct himself in an unacceptable way to morality on it?

"Abiding in our own pre-eminent righteousness, and even abiding by the order of Bharata we punish him who deviated from the path of morality, according to custom.

"As for you, you brought virtue to a state of decadence, rendered yourself reprovable by your own decadent behaviour, for carnality alone has become your primary doctrine, and thus you have not abided by the conduct meetly to a king.

"It is to be known by him who treads the way of righteousness that he has three fatherly personages, namely his own father, his elder brother, and the one who accords education to him.

"A younger brother, a son, and a disciple with good characteristics, these three are to be deemed as one's own sons, for such matters take base on rectitude alone.

"The probity practised by principled people is very subtle and highly imponderable, and the soul that abides in the hearts of all beings alone can differentiate between just and unjust.

"Like a blind by birth counselling with similarly blind, you being a vacillant, on your counselling only with frantic minded vacillant monkeys, what can you really fathom about right and wrong?

"I will clarify about the words I have said, but I tell you that it is indeed inapt of you to disdain me just out of your outrage.

"Realise this reason by which I have eliminated you… you misbehaved with your brother's wife, forsaking the perpetual tradition.

"While the great-souled Sugreeva is still alive, you with your habit of sinful acts have lustily misbehaved with Sugreeva's wife Ruma, who should be counted as your daughter-in-law.

"Thereby, oh, vanara, this punishment is imposed on you, for your dissolute sinning in abusing your brother's wife, thereby for your transgression of tradition and virtue.

"I foresee no other kind of control other than punishment to him who conducts himself contrary to the society and who is deviant of conventions.

"As a Kshatriya emerged from a best dynasty I do not tolerate your wrongdoing, and the punishment to the one who lustfully indulges with his daughter, or with his sister, or with the wife of his younger brother is his elimination, as recalled from scriptures.

"While Bharata is the lord of land and we are his proxies adhering to his orders, and while you too have overstepped the bounds of rightness, then how is it possible to be lenient?

"While ruling righteously sensible Bharata punishes him who oversteps the momentous virtue, and he is poised to put down lustful ones.

"As for us, oh, monkey's lord, we effectuate our brother's orders and our duty, and we stand for curbing your kind of shatterers of ethics.

"My association with Sugreeva is as good as that with Lakshmana, nevertheless it betided with an understanding to regain Sugreeva's wife and kingdom, and he will give succour to me.

"I gave a promise to Sugreeva at the time of befriending him in the presence of vanara-s, and how is it possible for my kind to dishonour a given promise?”

"Thereby you have to infer that a befitting punishment is given to you, owing to all these great reasons that abound with virtue and with supreme value.”

"Anywise, you have to regard the punishment given to you is legitimate, and he whom rectitude guides has to render assistance to his friend, in any event.

"Had you pursued rightness you too would have done the same deed in imposing such a punishment, and we hear two verses that are given to the advocacy of good conventions, which the experts of rightness have also accepted, and which are said to be coined by Manu, and I too conducted myself only as detailed in those verses of law.”

" 'When kings impose proper punishment on the humans who have sinned, they become sinless and enter heaven as with the pious souls with good deeds.' So says one verse of Manu.

" 'Either by punishment or by clemency a thief will be absolved from sin, but the king who does not impose proper punishment will derive the blot of that sin.' So says the other verse of Manu.

"When a renouncer has committed sin like that of the one committed by you, my venerable ancestor Maandhaata has given punishment which he desired.

"Such sin is acquired even by other kings who are unobservant in imposing proper punishment, and those kings had to make amends for it at appropriate time, by that propitiation they used to mitigate that filth of that sin.

"Thereby, enough with your annoyance, oh, tigerly vanara, as your elimination is devised righteously, and we too are not independent.

"Oh, brave and best one among monkeys, further listen to another cause, and on listening that important cause you will not be infuriated.

"I have neither angst nor ire in this matter of my eliminating you, or, your reviling me, oh, best monkey, but listen to the other point I wish to make clear. People will be capturing several animals, either covertly or overtly, with snares, springes and even with numerous contrivances.

"Meat eating people will undeniably kill animals, either they are speedily sprinting or standing steadily, fully dismayed or undismayed, vigilant or unvigilant, and even if they are facing away, in that there is no sacrilege.

"In this world even the kingly sages well-versed in virtue will go on hunting, and hunting is no face to face game, as such, oh, vanara, therefore I felled you in combat with my arrow because you are a tree-branch animal, whether you are not combating with me or combating against me.

"Kings are the bounteous benefactors of the unobtainable righteousness and propitious lifestyles, oh, best vanara, no doubt about it.

"They the kings are not to be harmed, also not to be reproved, not disparaged and nothing displeasing is spoken to them, as they are the divinities conducting themselves in human form on the plane of earth.

"I am abiding by the ethicalness practised by my father and forefathers, but you revile me without the knowledge of rightness, just by clinging to your rancour." Thus said Rama to dying Vali.

Vali is much distressed at heart of hearts when Rama has said categorically in that way, whereby, deriving certitude about rightness he found no incorrectness with Rama.

There are ancient commentaries that deduce many more meanings in picturising Vali as a devotee of Rama, who wanted to die at the hand of Rama, like Viraadha and others, as a means of salvation.