Wednesday, 7 April 2010

Traffic Rules and regulations.

I had a chance to spend some six months in London. I just saw the roads and traffic regulations and kind of public transport system they got is really excellent. (Though the British used to complain about delay in metro train). It is an state of the art infrastructure they developed.

Well it is almost 5 years since i have been here in Chennai. Like most of the IT guys, coming from far remote area almost to the south end of India, The temple city Tiruchandur.(Which I always proud about). I am driving in Chennai roads in almost 4 years now. What all I could see is corrupted traffic police, impatient people with lots of traffic violations, dusty roads. I had traveled on buses and trains with full of crowds and school kids& elders are struggling to get in to the bus.

What i could do? Now my first focus will be on developing infrastructure. But how far you can do? Building more fly-overs? Though i like fly overs concept it wont be a permanent solution for the crises. more and more fly overs more and more traffic. Now what is the solution??

The solution is really to establish a mass transport systems like metro train. I feel it should be done 10 years before itself. For instance if you could able to connect T-Nagar RS to Pondi bazzar station, it is really an easy way of transport. We need connect each and every corner of the city via metro train. Not just beach to tambaram. It will directly reduce the use of buses and that will reduce the load of roads with buses. If we can provide better rail transport means we could reduce the use of cars and bikes that saves the environment also.

Now we reduce the load on roads, How we can restrict corrupted traffic police and signal violations. I noticed on the UK roads all the signals covered with cameras and inter connected with a control room. I recently studied an article it says an australian cum indian company find a solution to read bike license numbers. I would install a camera along with the number board reader. Now if any one find violated of the traffic rules automatically a point will be reduced from his licence. If he lost 5 points his licence will be canceled and can't take again.

That can be used to monitor the performance of the traffic police and their bonus will be integrated along with that. If these things are automated people can't take anything easy that they can corrupt police and escape.

:) ---- Ananth.P

endeca enterprise search engine

Endeca is a enterprise wide search engine that supports navigational search and make search faster, Quicker and efficient manner. The Endeca operate like all our relevant data with different tables are mapped together and cooked up by endeca in a single flat file.

Endeca has three major components. They are like,
1. Endeca Information Transformation Layer (ITL)
2. Endeca MDEX Engine
3. Endeca presentation API.

The diagram below explains how different components interact together.




The ITL has an Content Acquisition System (CAS) which is responsible for reads your raw source data and manipulates it into a set of Endeca MDEX Engine indices.

The MDEX Engine loads the indices generated by the indexing
component of the Endeca Information Transformation Layer. After the
indices are loaded, the MDEX Engine receives queries from the Endeca
Presentation API, executes them against the loaded indices, and returns
the results to the client Web browser.

The Endeca Presentation API provides the interface to the MDEX Engine.
The API is responsible for querying the MDEX Engine and manipulating the
results. Endeca Presentation API has their own .NET and JAVA client libraries and it all so have supports web services based queries so that it can be implemented in anu languages.

Friday, 2 April 2010

java object creation static factory method

Many of you aware of static factory method which is a simple static method returns an instance of the class. An example like public static Boolean valueOf(boolean yourVal). No let me explain some of the advantages of using static factory method.

Some of the advantages:

1. When ever we invoke a constructor like Emp emp = new Emp() it creates an object. But using static factory method like Emp emp = Emp.getInstance() (Consider getInstance() is a static method which return type is EMP object) will always returns single Emp object no matter how many times we called them.

2. We could create any number of static methods with different names like getCar() return car object, getBreak() returns break object, But constructors have the constraints like should have the class name as their name. So we might need to differentiate using the parameter (using method overloading) which is good but on the readability point of view it will confuse.


So all good what about disadvantages. yah it has a main disadvantages,

Since we have all static methods naturally the constructor will be private. So we can't really extends the class. Some of the object orientations might me lost.

Monday, 14 September 2009

The wedding that was not..

Yesterday i happened to attend one of my friend colleague's wedding. Well of course as you guess i didn't get invited :). My friend ask me for a company :). We just got the address details half an hour before and i just checked the venue in Google map and get some idea where it is. We decide to go by bus as we have to pick up one more friend on the way. He is waiting for us with bouquets. We reached sharply there(yes your guess is correct!!They about to start the dinner :)

Well we have attending so many weddings. What so special in this? It gives me real urban face and fast life of Chennai now a days. They had arranged some sort of marriage contractors to arrange the function. They occupied with their uniform through out the wedding hall. We just entered in the the mahal and some one guided us to go for dinner. That is very pleasant of course. But i couldn't find any family members from both bride and groom side. After the dinner we just Q it up for Ice creams and fruits. You will laugh if i say this. When ever some one violate the Q, a guy from that catering service start whistling and say please come in Q. Here too i can't see any one from the bride or groom family.


Finishing all these, we just went to the stage gave our presentation, err.. here too one of the guy from the catering service. We went to the stage as a group of 8 guys. But that guy from the catering service told he can't allow more than 5 members. (Is that a security thread??). I mean how he know who is close to the family and who is so important one?

Until the end of the wedding i couldn't see any one from the bride or groom family :( There is no liveliness in the wedding. It just a showcase of the catering service with their advertising all over the mahal.


I just remember my mother word now.She used to say we never book mahal for wedding. Wedding is an important function in one's family and at that time our house should be filed with joy and happiness with near & dears. You are 100% right mum. I felt it..

Sunday, 6 September 2009

5 things to remember while driving

Guys,
This is my own experience i got while driving my two wheeler across chennai city.
The 5 things are,

1. Always keep 20 rupees only visible to traffic constables.otherwise you ended up with 100 to 200 rupees.

2. keep going left when you near signals. there will be always a narrow line for two wheelers to reach near signal.

3. Never believe MTC bus drivers and autos. They will turn any time any where.

4. Don't hesitate to violate traffic rules. Feel free to go when red signal on if no one crossing. otherwise people behind you will start to scold like who gave license to this guy.

and finally the important one is,

5. Don't follow chudis :)too dangerous.....

Thursday, 25 September 2008

Dowery - corupting the society

Well, Many of great idols spoke against dowery in the past. I heard many of speeches in competions in my school days. I never felt for it. My heart never think about it.

Things do change over time and i too changed by instance. Yes, i felt the heat in my own life while we looking alliance for my sister. One guy told, i give my sister 1Kg of gold and i too want the same for me!!! even more drastic one stupid father told i used to sit in the petty shop, and i want to speak very proudly that i brought 1KG of gold to my son. How stupid these guys speaking.

I read and heard from my infant time that marriages are made in heaven, but people hear never see the hearts but the gold she bring. When different of opinion arise it leads to divorce and it lead to corrupt the society and the culture we build all these years.

"Love the heart and not the gold. It is better to be alone then having a unloving partner"

Wednesday, 27 August 2008

My first day in Gym.

"If you want to grow long hair, you also need to maintain good physics" this is what stimulating me to go to gym though i am not as fit as one would like(around 62 kg, which is 2 kg under weight when comparing with my height).

Another incident which stimulate me is when my sister's friend comments me, " you just become a old man anna", though i laugh at that time i realise the importance of being to be fit.

That's all stimulated guy, more stimulated when my colleague said me we are going to gym daily, if you wish join with us sounds like a good old song to me. i promptly said 'yes i do'.

In the evening all set for my first day to gym. i said 'guys i didn't got any track suit'. my colleague said we will pick one in naidu hall by the way and i am happy with it. we park our bike near naidu hall and went inside. when we came back we got shocked as our bike seized by police van for parking in 'no park' area. we had no other options other than go and pay fine in pondy bazzer police station. just i said myself well, first day with gym starts with pondy bazzar police station. what a start isn't it.. :)