Wednesday, December 1, 2010

காதலுக்கு கண் இல்லை, என் காதலிக்கோ உயிர் இல்லை :)





உன்னை பார்க்கையில் வியக்கிறேன்
சில சமயங்களில் வெறுக்கிறேன்
உன் முகம் பாராமல் என் வாழ்க்கை இல்லை
உன்னுடன் இல்லாத நாட்கள் இல்லை
பிரிய முடியாமல், செல்லும் இடமெல்லாம் ஏந்திச் செல்கிறேன் உன்னை
மடியில் வைத்து நாள் முழுவதும் ரசிக்கிறேன் உன்னை
பிரிய மனமில்லாமல் விட்டுச் செல்கிறேன்,
உன்னை தாலாட்டி, சீராட்டி உறங்க வைத்துவிட்டு
நானும் உறங்க

-- நான் என் மடிக்கணினி இடம்


Sunday, November 28, 2010

HTML5 and CSS3 - Awesome Technologies

This day is a big day in my life. First time in IIT - M classroom, not as a student but to attend a conference on HTML5. Its almost an year the technology came into market and I am not aware of the same. This Conference threw some light on the same and at the end of the day I liked the new features of HTML5 and CSS3 as well.

The presentation started with some introduction to HTML5 decleration. So this is suppported by mordern browsers like Chrome,Firefox,netscape (almost every browser supports other than our IE ). IE 9 will be supporting this. Also I was surprised to see the presentation they made was not in powerpoint or any slidemaker, It was in google chrome . Speaker started the presentation with the same point, HTML5 and CSS3 are used to prepare these slides. Was awesome to see google chrome or anyother browser doing the job of showing slideshows. Well the session taught us about the basic tags that are used in HTML5. Also about the "semantic mark up".

You could have also seen that the HTML 4 file starts with the following tag



<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">




But now in HTML5 we can declare the doctype as follows

<!DOCTYPE html >


Semantic markup is something which defines meaning for the data. The tags like article, header, footer are examples for semantic tags.

Next the session was about the CSS3. The session was given by a Microsoft employee and he redesigned his website in HTML5 to learn the same. The Website was awesome to look at.

He talked about a few features about the CSS3.


RoundedCorners
Transitions
Selectors
Gradient



Well Though I am not a UI guy i really liked the session very well and yes i have decided to build a new website for myself using HTML5 and CSS3.

Thursday, November 4, 2010

Java.lang.IllegalArgumentException: column '_id' does not exist

Its a common error when we use a data adapter in ANDROID for the first time. I used it to extract all the contacts.

So we declare a SimpleCursorAdapter as follows



SimpleCursorAdapter adapter = new SimpleCursorAdapter(
this,
R.layout.contactsview,
c,
projection,
new int[] {R.id.contactEntryText}
);




I used the projections as follows


String [] projection = new String [] {
ContactsContract.Contacts.DISPLAY_NAME
};


I got the exception Java.lang.IllegalArgumentException: column '_id' does not exist.

Make sure that the projection you have mentioned above do contain a field called as ContactsContract.Contacts._ID.

So you have to redeclare the array projection as




String [] projection = new String [] {
ContactsContract.Contacts.DISPLAY_NAME,
ContactsContract.Contacts._ID
};



Thats it. Now you are good to go !!!!!!!!

Saturday, October 16, 2010

Cub Among Lions - Awesome experience with Tech Experts

ahhhh Yessss!!!! I got a chance to blog something:-) The content is going to be about my exprience in a technical meet that took place in chennai on Oct-16.

So i am a part of ILUG-Chennai. I got the info about this meeting in this emailing list. The invite have mentioned about 2 talks in the meet.

1. Cloud computing
2. Mongo DB

I have no idea how far i could understand the above topics they gonna discuss but i am pretty interested to be there atleast to see how the other GEEKS talk and i get chance to interact with them. I went there by 9.45 and found there were 5 members. which later turned as 60 in another half an hour. The meeting got a delayed start of 15 minutes(10.15 AM).

First Session: Cloud Computing

The speaker started with a question. What is cloud? I just said to myself "WaterVapour". Suddenly i heard the same aloud. Happy that someone is there with the same thoughts:-). Turned and saw the Gentleman who was just kidding, but he knows what is cloud. Then the discussion started. I got an idea about what is cloud at last and what are the advantages and disadvantages of it(I have to browse to make sure my understandings are right though). They went on and suddenly a debate happened stating that cloud suits only start ups and not an established company. They quoted few examples Amazon, google etc moving to their own cloud. I was just listening all the GEEKS arguing to prove their point. The scene was awesome. I felt i am no where near them and a long way to go. They talked about moving an application into cloud and moving an application from cloud to inhouse. I could get what they mean but I am really interested to research how these works in practical. Finally a gentleman put a fullstop to the argument saying "Lets go for a BREAK".


Break session was cool. I met a gentleman with whom i have talked with in GYM. He recognised me . Thats great. He is running his own start up, sorry its not a start up anymore. I felt great . Its always cool to interact with people like them. We had a formal intro and he handed over his card to me. While we were talking the gentleman shared a quote with me. This was the quote which Shane Warne said when he heard someone saying Monte Panesar played 20 tests. Shane said "He played his 1st test 19 times". That was a great one. He added that "the quote meant a lot and the main idea is learning from our mistakes. The learning takes you to the next level. If there is no learning you stay at the same level inspite of how many years you work".

Second Session: NoSQL DB. Mongo DB (http://www.mongodb.org)

Back after having a coffee we had a speaker who said the advantages and the disadvantages , implementaion and usage of Mongo DB. This DB has no schema, no SQL , no constraints, not follows any NFs but its a DB. Interesting right? Well i couldn't imagine such a DB so it was really interesting. He quoted many things about the DB. Everything is fine but why we need to go for it? This was a question from everybody and had a very long discussion. Everyone came to a conclusion which didnt explain me a lot. But i came to know something like this exists. The whole idea behind this DB is documentary DB where you can find no tables but data are stores as memory mappings. No Tables no relations and hence no NFs. Neat? . Ok, the one clear idea i got is that we can use this DB where we dont need any relation between our tables. But, how do we design or imagine something without joins, constraints etc. Confused? I am also :-). If we can imagine such a scenario, I think we can use MongoDB. Well they also said in the case of Sharding this plays a very huge role. No idea what sharding is ? Kindly google:-).


PhotoSession:

After the session is done, we had some formal intro with many people talked about starting a new mailing list , Meetings , Google mederator for our community and finally had a group photo. It was actually a opening ceremony of new tech forum and i am very happy that i was there for it.

Enjoyed the whole session with the Tech experts. Looking forward to attend more tech meets like this.

Wish that i should be one of the GEEK out there arguing on things.Ofcourse not just an argument but a valid argument.I am really excited and waiting to blog one such day.But yeah well, "still a looooooooooooong way to go".

Friday, October 8, 2010

ERROR 1030 (HY000): Got error 28 from storage engine

This is a common MySQL error which everyone faces. Dont get panic. This is just because of lack of space in the server. Clean up some files in your machine that you think as not needed. Now execute the query. You are all set:-). Happy Querying

Thursday, October 7, 2010

Enthiran - THE ROBOT

This is the first time I am not satisfied after seeing Thalai's movie as a Hero. I had the same feel with "Kuselan" but i convinced myself that its a movie for friendship including pasupathy given more weightage than Rajini. But what about ROBOT??? Am i matured enough to ignore Rajini movies as most of them say or Am I still not matured expecting some styles and Punches from SuperStar???? I just asked myself. will answer this question at the last :-)



I was not very much excited about watching Rajini's movie. I am usually too much excited even before the movie is released. This time just half an before the show began i got that excitement. Hurried to the theatre . While getting up the stairs heard the Enthiran song , Thinking the movie is started yelled at my friend saying the movie started and the opening song is going on. Fortunately its just the commercial.Finally I am at the peak of excitement to Watch Thala (not ROBOT) on the screen after Shivaji.


Movie started , Screen showed the clip of SUPER STAR. No whistling(Damn audience). I whistled as far as i know and forced the friend near me to whistle. Waited for Rajini's Intro . Nothing much just a song. but There was Nothing great. Just a frame where Thala was desinging a Mechanical person. huh.. What the Heck Shankar has done??

Movie went on . No punches from Thala, No peculiar mannerism for this movie. Very bad really really disappointed.


Ok Lets come to the Positives. Here is my ordering


First: Aish. Maan.. What should i say her. Women or girl. She was awesome. Gorgeous. She got miss Universe long back but still she looks awesome. The way she acted , danced , beauty really pulled my attention. To be frank I admired her more than Rajini in this movie. The whole movie was centered around her and that made her to come all through the movie which was a treat to my eyes (Lucky Abishek ;-) ).

Second: Villan Rajini. Here comes what i expected from Thala. Punch, Gethu, Mannerism. But just for 10 min. Rajini's Villan role was really awesome. The way he walked, talked, huh (I expected this all through the movie). The tone with Which THALA says "ROBO Sapiens" does it all.

Third: huh I am sorry to say this. There is no third one.

I really dont understand what Shankar has tried here. Is this his DREAM project? Really really bad. Gentleman, Mudhalvan - Infront of these ROBOT is not a worthy cake. He just played with Technologies.

Rajini fans dont expect a ROBOT to have an electromagnetic power. We will believe even if Shankar had said Rajini posses it as a Human. We believe Rajini as a Normal Human with Super Hero Powers(we are HARDCORE fans of Rajini and I am proud of it as well).

Overall according to me Shankar used Rajini to get the investment of Sun Pictures to accomplish his dreams(which is not worth 160 crores) killing our (Rajini fans) dreams.


Finally to conclude with the answer to the question i asked to myself - Yes I am still not Matured and What Next? Expecting THALAIVAR to deliver one more movie just like PADAIYAPPA or BAASHA.

Wednesday, October 6, 2010

Thathuvam v 1.0

Don't judge people by what you have seen in them. Remember , What you have seen in them is only what they have chosen to show you.

Wednesday, September 29, 2010

Valuing a minute for first time

It was wednesday. We were about to have a long weekend that week, with friday as a holiday. Myself and my friend took off on thursday as well. With a reserved ticket to coimbatore in hand and 4 beautiful days of vacation in mind started our regular work at office. After a long time the day came to an end and we started to railway station . Very excited!!!!. Hotel Saravana Bhavan's chilli parota, both of our favourite dish got added into our mind . With these couple of things in mind we reached the station by 9.55 pm. I looked at the watch and said that we have the train at 10.20. With a broad smile in face we entered the hotel and ordered our favourite dish. Yummy:-). Got it after 5 min and had the same in a hurry, 3 min approx. Got the baggages and came down to see the platform # . Looked at the watch its 10.10 then looked at the display board we got stunned by seeing that the train departs at 10.10 as well:-). We ran to catch the train but all that we were left with was a beautiful sight of train moving away from us. We had a good smile seeing each other which turned out into a long lasting laugh.