Wednesday, December 3, 2008

Its time to Act II

Looking at Mumbai Terror Attacks, Our System has failed miserably. 10 Terrorists entered out mother land, occupied couple of Hotels and Nariman House and war lasted for more than 60 Hours. At then end, they died, of course which is obvious. Though Hotel Taj, Hotel Trident Oberoi, Nariman House and CST station are nearby places, its not that easy to reach those places in quick time unless, you know Mumbai Demographics well. So they must have stayed for some time and observed the kind of security, trend etc. If we can strict on renting home and mobile connections, we can trace at least sleeper cells which are helping these kind of activities.Justify Full
Mumbai police should circulate following things
1. For renting Home, owner must collect some Identity Proof from Tenant.
2. For Mobile Connection, Provider must ask for Identity Proof and Residence Proof.
3. Same holds for Internet Connection.

Mobile and Internet Connection are widely used source of Communication, so if we can restrict on them, we can trace the Connections and People behind such attacks.


@kova

Tuesday, December 2, 2008

Its time to Act

Dear Friends,

We have seen the human tragedy created by a handful of terrorists in Mumbai few days back. Generally, we blame Pakistan and our politicians for the situation and move ahead. What we always fail to realize is as a Nation we have come to accept terror acts as part of our life, that's too dangerous, if we don't value our own lives, and stop looking at death toll as a mere number, we will fail as a Nation. There is so much of corruption and inefficiency around us and we feel helpless and frustrated. Opposition parties too don't have the patience to ask questions,Parliament and Assembly sessions are disrupted time and again. Issues of national importance never see healthy discussion take place.

We seem to be failing as a democracy. It will fail one day, IF we continue to be mute spectators. We have to actively participate in our democracy. It doesn't just mean voting in elections. We have to ensure that our leaders are accountable to us. We have to ask questions, all of us have a golden opportunity in the shape of RIGHT TO INFORMATION ACT. Very few of us realize that we can completely change the face of our country by just asking right questions.

You might say no one will bother to answer, I tell you I have used it three times till now, and I have always got prompt answers (if not correct answers). You can ask something as simple as "When will I get my IT refund ?" to some serious questions like "Why were ATS in Mumbai not provided with quality bullet proof jackets?" Its up to your creativity and there are wonderful websites (some of which I have mentioned below) which help you in drafting the PERFECT questions to make the system become more accountable to you

http://rti.india.gov.in/index.php
http://www.rti.org.in/
http://www.parivartan.com/what_to_ask.asp
http://www.righttoinformation.org/
http://www.humanrightsinitiative.org/default.htm
http://rti.aidindia.org/content/view/270/99/

Lets stop blaming, and start questioning !

Source - One of the mails I got from my friend on Mumbai Terror Attacks and How should we act.

@kova

Saturday, November 29, 2008

Mumbai Terror Attacks - Eenadu Story

I have seen many people making Fun of Media these days because of thier over-reaction and sensationalism. Recently, I read a news article in Eenadu, a leading dialy in Telugu(In some survey, it stands third nation wide in no. of readers). Artcile says that - "No Country is Touring Pakistan because of Terrorist attacks and all, India is also not willing to tour Pak in January, so if they attack India then Pakistan can question other teams which travel to India and at the end, They might have attacked India because India is not willing to tour Pak based on Terrorism". Anybody who have seen these attacks, can easily guess the planning and homework done for these firings. These are not some thing, which are thought on Monday and executed on Wednesday. Being a Leading News paper, Eenadu failed miserably in this aspect. You can find that article Here.


@sarmaLink

Monday, November 24, 2008

Team India Beat England and Won the Series 4 - 0

Men in Blue have won the Hero Honda Cup 2008 in very Authoritative Fashion. Team India has done good on many occassions so far and testing times ahead as there will be changes in team composition to give rest to players who are playing for some time and to test players who are sitting for some time. Before this series, it appreared to be clash between two equally good and Motivating Captains. But Dhoni out-classed KP in each and every department. Toss usually plays an important role in winning matches. KP won most of the tosses, but did not make money from any. Dhoni's thinking is always way ahead of KP, either in Bowling changes, opting for Batting Power Plays. Dhoni usually kept his main strike bowlers fresh by giving enough rest for Batting power play, while KP used them all the time, in a way they are not able to bowl successfully when there are field restrictions. Lack of thinking and Application from England Side cost the series. On paper, England side does compete with Team India, but on Field, they are hardly manage to do so. Its true that whatever Dhoni touches, its turning Gold, but Fortune Favours the Brave.

So Bravado Dhoni, Good Luck for Clean Sweep.

@kova

Tuesday, November 11, 2008

Creating a Shared and Static Library Using Gnu Compiler

Sample steps to create static and shared Library using gcc.

Program for which Library is created

Library Contains code to multiply two integers.

Header file contains Function Declaration.

find_mul.h

int multiply(int, int);

Source file contains Function Definition

find_mul.c

int multiply(int a, int b)
{
return (a * b);
}

Creating Static Library

A static library is a set of object files that were copied into a single file. This single file is the static library. Executable contains static Libraries at compile time itself. The static file is created with the archiver (ar).

we create object file for find_mul.cpp

gcc -c find_mul.c -o find_mul.o

and Static Library is

ar rcs libmul.a find_mul.o

Note: the library must start with the three letters lib and have the suffix .a

Creating a Shared Library

Shared Libaries need position independent code which is done by -fPIC

gcc -c -fPIC find_mul.c -o find_mul.o

and Shared Library is

gcc -shared -o libmul.so find_mul.o

Sample Program Using Library

main.c

#include
#include "find_mul.h"
int main()
{
int a = 20;
int b = 30;
printf("Multplication is %d\n", multiply(a, b));
return 0;
}

Linking against static Library

gcc -static main.c -L. -lmul -o statically_linked

For Running

$ ./statically_linked

Linking against static Library

gcc main.c -o dynamically_linked -L. -lmul
For Running,

$ LD_LIBRARY_PATH=.
$ ./dynamically_linked

Thanks to web.


@kova

Saturday, November 8, 2008

Team India - Dada and Jumbo

I have come across an excellent article on Sachin, Rahul, Anil and Sourav - how they influenced a generation of people in India. You can find article here. Personally, I also feel, if I had to watch Indian Team without Jumbo and Dada, I feel something like part of body missing.



@kova

Saturday, October 25, 2008

SMS to get the Blood

Now its become easier to get the blood. All u do is just type "BLOOD Blood Group> to 9600097000
EX: BLOOD B+

BLOOD DONOR WILL CALL U.

Note : Information has to be Verified.

Source: One of the Forwarded mails.


@kova

Saturday, October 18, 2008

Sachin - The Run Machine

Sachin Became the Highest Run getter in the Test Cricket. He broke the record held by Lara He crossed 12,000 run mrk also. Greatness is not in scoring runs, but it is in performing consistently. No doubtedly, he is the one who carries the most pressure while coming into crease than anybody. There are many Great Crickets like Riky, Rahul, Sourav, Lara, Kallis etc, but Sachin beats everyone of them based on the Performance Vs Pressure they bear ratio. Representing a nation for more than 19 years is something which does not happen quite often. He achieved it.

Congrats Sachin and Job Well Done and Keep Doing Well.

Here is Sachin's post match session conference with media.

@kova

Friday, October 17, 2008

Dravid Joins the Party

Welcome.

India is doing well in Second Test Vs Australia in Mohali. Kumble is ruled out of Second Test because of Shoulder Injury, so Dhoni is Leading the Indian Test Team for the second Time. He won the Toss and chose the Bat First. Sehwag and Gambhir started well the day for India, scoring briskly and given a good opening partnership of 70. Sehwag got out for 35. Dravid and Gambhir are playing steadily. Aus is playing with 4 - pacer and 1 -spinner attack, while India is playing with 2 pacer- 2 spinner attack. Amit Mishra made his Test Debut, he played 3 ODIs.

At Present, score card reads as follows
India 143/1 (37.4 Ovs)
Dravid - 38
Gambhir - 65



@kova

Jet takes back all sacked staff

I am very happy to see the news that Jet Airways reinstates all sacked employees. I wish it should happen for all IT people who were sacked in last couple of months. The way IT companies are behaving with employees is very harsh. If Govt is pro for IT employees also, situation would have been different.


@kova

Tuesday, September 23, 2008

mysqlhotcopy: Hot Backup of MySQL


mysqlhotcopy is designed to make stable copies of live MySQL databases.

Here "live" means that the database server is running and the database may be in active use. And "stable" means that the copy will not have any corruptions that could occur if the table files were simply copied without first being locked and flushed from within the server. It uses Lock Tables, Flush Tables and cp or scp policy to take back-up, then unlock tables. It is used for MyISAM and Archive Engines only and
It can be run only on the same machine where the database directories are located.

More Info on back-up policies to be followed.



@kova

Monday, September 22, 2008

Vegayan in http://www.hotteststartups.in/

Hi All,

My Company Vegayan is listed among the potential "Hot Startups" at the NEN website. They have
web-voting to rate the startups. Here is a page about Vegayan Systems (listed as #237).
I request you to vote for Vegayan.


thanks
kova


Saturday, August 2, 2008

Happy Friendship Day

Happy Friendship Day to all My Friends and well-wishers.

1st Sunday Of August fixes appointments for many people. We do celebrate Festival with energy and it brings a feel that something is happening. Otherwise, life becomes Dull and Boring.

Its always nice to meet friends on some occasion than being busy all the time.




@sarma

Wednesday, July 2, 2008

Friendship vs Love

Love can easily dominate Friendship and People in Love can very easily forget friends. This is Universal Fact. I also accept it, but I thought there would be few exceptions as everything else has and little confidence on me that at least people can not forget me. But my friends proved me wrong and There are no exceptions for this case. It does not matter whoever it is, Love can easily take over friends.

Tuesday, July 1, 2008

Funny Facts

There are two kinds of gals in the world - Beautiful and Unmarried. Same theory can be applied to boys also, there are two types - Intelligent and Married.

Monday, June 23, 2008

How to Be a Team Player

I come up with list of things which one should posses to be a Team player from my personal experiences and my friends views.

First and foremost is - You should not be Punctual. If team supposed to meet at 9:00 AM, then you should not reach before 9:30 AM.

2. You should not ask people to lessen their sleep for the sake of going Out.

3. You need to have habits of Having Fag and Drinking Beer (at least).

I found that I can never be a team player, 1 and 3 Disqualifies me from being so.


@ kova

Saturday, June 21, 2008

Solaris 10 - Booting Problems - Unexpected Trap

If Solaris 10 is booted in xVM edition and then rebooted in Developer edition, you may end in 'unexpected trap press any key to reboot' and it never reboots in either of xVM or Developer edition. I found on 'google' that it is bug in Solaris 10 but not in Solaris 8 or 9. It may happen when there is power failure, if Solaris is in xVM. I found solution, of course from google and it worked for me.

This is because of data corruption on ramdisk, so you need to get a new one.

Boot into Failsafe Mode...

Then mounting the drive read/write as /a

1. cd /a/platform/i86pc
2. mv boot_archive boot_archive_bad
3. cd /
4. bootadm update-archive -R /a
5. shutdown -i 6

Many thanks to unknown friends and data on web, so that I was able to do my work.


@kova

Friday, June 13, 2008

Completed 2 Yrs in Vegayan, Mumbai


I have completed my Two Years Stay @ Vegayan and Its been an exciting journey in many ways. If I compare myself in two blocks - first year and second year, In first year, I have learned many things and in second year, I am able to use/implement them. I transformed from a novice programmer to a person who takes initiative and willing to work on more challenging things. Two years of Professional experience taught me many things, how to work in a Team, meeting Deadlines and its an on-going learning opportunity. Life in Mumbai is just great, many places to explore and many people to meet. Now onwards, I need to check myself, How well I learned lessons.


@kova

Friday, May 30, 2008

The Washerman and the Foolish Donkey

Have you heard the story of "The Washerman and the Foolish Donkey"?

To refresh your memory, and for the benefit of those who have not grown up listening to this moral story, it goes like this…

There was once a washer man who had a donkey and a dog. One night when the whole world was sleeping, a thief broke into the house, the washer man was fast asleep but the donkey and the dog were awake. The dog decided not to bark since the master did not take good care of him and wanted to teach him a lesson. The donkey got worried and said to the dog that if he doesn't bark, the donkey will have to do something himself. The dog did not change his mind and the donkey started braying loudly. Hearing the donkey bray, the thief ran away, the master woke up and started beating the donkey for braying in the middle of the night for no reason.

Moral of the story "One must not engage in duties other than his own"

Now take a new look at the same story…

The washer man was a well educated man from a premier management institute. He had the fundas of looking at the bigger picture and thinking out of the box. He was convinced that there must be some reason for the donkey to bray in the night. He walked outside a little and did some fact finding, applied a bottom up approach, figured out from the ground realities that there was a thief who broke in and the donkey only wanted to alert him about it. Looking at the donkey's extra initiative and going beyond the call of the duty, he rewarded him with lot of hay and other perks and became his favorite pet. The dog's life didn't change much, except that now the donkey was more motivated in doing the dogs duties as well. In the annual appraisal the dog managed a "meets requirement". Soon the dog realized that the donkey is taking care of his duties and he can enjoy his life sleeping and lazing around. The donkey was rated as "star performer". The donkey had to live up to his already high performance standards. Soon he was over burdened with work and always under pressure and now is looking for a job rotation.....

Moral of the story "One must not engage in duties other than his own"


Source : One of the forwarded mails.


@kova

Thursday, May 29, 2008

Acceptability Vs Delivering Goods

There are two kinds of people who deliver goods and expects the same from others also and other kind belongs to people who create an image of 'being nice to everybody'. In second category, people themselves deliver goods but they do not expect same from others and they look like least bothered about others meeting deadlines. There is no doubt that People who create image of 'being nice to everybody' ranked better than people who work for Quality and Performance. People who are acceptable to all will be in Higher positions, given more responsibilities, but it affects their delivery as they do not influence anybody fearing that they may loose 'acceptance tag'.


@kova

Wednesday, May 28, 2008

IPL Update

Two of my Favourite teams entered Semis ie Delhi Daredevils and Chennai Super Kings. Its little disappointment that Chennai has to wait till penultimate Day of Leagues in IPL to enter into Semis, But very Happy that it entered by winning, and not depending on other's results. Mumbai is unlucky to loose too many matches in the beginning and couple of close encounters at the end. I have very high regard for Sachin as a Player but I doubt his Captaincy Skills. Loosing three matches in row on Last ball does not look good for a Captain. In Two matches, he was unable to defend score. In contrast, Dhoni pulled off couple of victories in Last overs. Chennai Super Kings looks like weakest side in IPL, but it reached Semis, now it is only two games away from Lifting the Cup. Rajasthan Royals will play against Delhi Daredevils and Chennai Super Kings will play against Kings XI Punjab in Semis. First semis will be interesting as batsmen and bowlers are in form in both the teams and Second Semis may look dull because Chennai looks weak compared to Kings XI. Hope for the Best and Look for Final between Chennai Super Kings and Delhi Daredevils.

Monday, May 26, 2008

Prantwad Chodo - Bharat Jodo Yatra

"Prantwad Chodo - Bharat Jodo Yatra"
--- An initiative of Lok Satta Movement’s
‘One India One People Abhiyan’

Why?
The growing disparity between one rich state and another poor state is very noticeable and significant. In India, political parties fan the fires of regionalism, communalism and parochialism. Recent incidents have shown how a handful of hooligans can bring any part of India to a standstill. For example the recent attacks against poor migrant labourers from North India in Maharashtra, Assam and other parts of the country have threatened the unity and integrity of the country. The parties ascribing to regionalism have by and large never showed interests in respecting ‘The Rule of Law’ and improving governance.

Prantwad Choddo - Bharat Jodo Yatra” is an effort to highlight such unfair political practices and proclaim in the spirit of nationalism the need for constructive solutions to fight poverty and unemployment.

Objectives:
1. Say no to ‘Divide and Rule’ political practices.
2. Highlighting the problem of ‘Employability’ which is the main reason for Unemployment’.
3. Saluting Baba Amte’s Legacy.

Who?
Young, dedicated and nationalist Indians between the age group of 18-30 years.

Where?
The movement involves awakening India to these anti nationalist policies and would involve trips to various states in the country. We start with Yatra to four different states from Maharashtra to Delhi, Andhra Pradesh and Uttar Pradesh and Bihar.

When?
First Bharat Jodo Yatra on 25th June 2008.

How can you participate?
> Your age is between 18 – 30yrs.
> You are willing to attend (all) the meetings on ‘Prantwad Choddo - Bharat Jodo yatra’.

Contact: Raj Janagam: +91 9867 987 031
Jui Gangan: +91 9892 837 534

OR email us on: volunteer.loksatta@gmail.com

For More information, visit our website.


Sunday, May 25, 2008

Lunch @ Office on Saturday

We had Lunch together in the Office on Saturday and played Cricket for some time. Lunch is not the news, but there were too many interesting topics during Lunch break. Started from Cricket, of course IPL that some of the Aus Players were not paid their match fee. It usually paid late in India for National players also, so its not new. There were too many stories which I come to know yesterday about India. One of them is about National Anthem. There is a story that it was written to praise British when George IV visited India and there was a debate between "Jana Gana Mana" and "Vandemataram" to choose as National Anthem, but somehow We opted for "Jana Gana Mana". Others include, How Kashmir issue went into hands of UNO, why Ms Sonia Gandhi did not opt to become Prime Minister of India(This is very interesting, but I need to confirm the story before making it public). These kind of events tell us many things, otherwise never be shared.


@kova

Tuesday, May 6, 2008

IPL - Shine warne

One of the most impressed personality in IPL is shane warne, others being Mc Grath and Shaun Pollock. He is very impressive with his captaincy and marshaling his resources. Rajasthan Royals is the only team which will be in Top 4 for certain, Well done Shane. Mc Grath just started where he left last year, bowling on and around off-stump, varying pace and length. Shaun Pollock is doing well for Mumbai, as a useful all-rounder with bat and ball. Chennai Super kings and Delhi Daredevils are my favourite teams in IPL and Shane shocked Chennai Super kings and Shaun gave it for Delhi Daredevils. Because of this loose, chances of entering into Semis for Chennai are little low, and by the time I am writing this Blog, chennai scored 82/5 Vs Deccan Chargers. so at the smell of another lose, but lets pray and Hope that Chennai will win and increase its chances of being in Top 4.

Hats-off to Shane, Mc Grath and Shaun.


@kova

Thursday, April 24, 2008

Sometimes Break Does Good

We(Vegayanites) are going to have a small Summer vacation type break from our work. We decided that we will take break from 24th April to 27th April and will come back to Office on 28th April with rejuvenated energy. I have couple of parties/functions to attend, so for me, it came in the right time. Though little unhappy to miss Mumbai for some time, but Happy to leave for home, meet friends and well wishers. So hope, break does good for me and I will return with Loads of Energy and Tons of Love for my work as I am little wavered from my work these days.


@kova

Monday, April 21, 2008

Sexy IPL - Exciting

All the teams have completed at least one round of matches and as expected IPL is providing great entertainment. In Cricket, people say there should be a contest between Bat and Bowl, but in IPL, it is Batsmen Vs Batsmen. Only exception so far is Eden Garden's pitch, where there is some assistance for bowlers and pitch is doing something. Our Big Guns are yet to fire and I hope they are feeling lot of pressure as many people started fire works and few of these guys are yet to start their score. IPL is giving great opportunity to young players, they can meet world class players, share dressing room and their experiences what they usually do when they are facing opponents on various pitches. Overall, IPL is doing is something good to cricketers from NZ, WI, SA where players are paid less compared to others and get less money from other sources also and players who are aged above 30, who are going to retire sooner or later.


@kova

Monday, April 7, 2008

Jalsa - Unbelievable Nonsense

Latest movie I watched - Jalsa, disappointed me alot. Of course, the More expectations, the More Disappointment. But, I did not have too many expectations on the movie, but still...

Sanjay Sahu (Naxalite turned Normal Citizen) is a student who is getting stipend of 3500/- per month lives in a rich Flat(of course, that is his friends) and lives comfortable life with Chicken 65 and Beer Daily. Story begins with Background voice of Mahesh Babu, saying traits of Sanjay and briefly about his Love Story with Kamalini Mukharjee(who is daughter of Prakash Raj). Prakash Raj is a SP. He rejects Sanjay and does marriage of Kamalini with some Software Engineer. Sanjay attends that marriage. In some action scene, Bagamati(ileana) and Jotsna (Parvathy Melton) see Sanjay and both fall in Love with him. Jo proposes to him and get rejected by Sanjay and Bagi try to be friend/Love of Sanjay. From here onwards, starts all Non-sense. It is not a Love Story from here, not an action thriller nor Family Drama. Its all mix and match. Bagi is also daughter of Prakash Raj and Sanjay meets him to ask about their Marriage. Prakash Rejects and Settles her marriage with another Software Engineer. He is son of Goon, who wants to see fear in the face of Sanjay and wants to kill Him. He purposefully runs all Drama of Engagement of bagi with his son and marriage. Sanjay kidnaps younger son of that goon and fights with him and Happy Ending.

Mahesh Babu's background voice explains Movie as and when needed. Dialogues were Super, but did not work on Story, Screenplay and Body Language of Hero. Sunil and Brahmanandam played Major role in Comedy, Sunil did well. Songs and Music is Wonderful. Sanjay becomes Naxalite to fight against Landlords and there is no sequence that he justifies to his decision and comes out from them as there are few differences.

I give A grade to Dialogs. I liked most of them and remembered few, one of them is "endakalam lo chemata, vaanakalam lo burada, chali kalam lo domalu laaga, heroine tho roudilu oke package lo vastaru.
For Music - it is B+, Lyrics - B+ and for story - C and overall Movie - F. This is not Trivikram mark movie. Thrivikram should have worked more on Love story and should have opted for another Hero for this kind of story, may be Venkatesh.


@kova

Monday, March 10, 2008

Love

Recently, I came across two different stories about Love. One School says - "Love is Association between two persons, its not dependency of one on another". Other school says - Unless, you don't have "I miss you" feel, you can't have "I Love you" feel. Both the theories seems to be correct and little contradictory and as I am not student of any of these schools, I have to buy both the theories and cannot discard any.

One thing, I can tell you is, Love is the most interesting topic, of course after Cricket. What makes Love most interesting is, its a Game with No Rules. So anybody can particpate and anybody can Win.


@kova

Thursday, February 21, 2008

Appraisal Letter

There was a contest in Some Software Company to write a fictional story for 500 words max which would start with the line " On a dark and foggy night, a small figure lay huddled on the railway tracks leading to the Chennai station"

This is what a guy wrote for the contest....... and surprisingly, it was adjudged the best short story : ))

On a dark and foggy night, a small figure lay huddled on the railway tracks leading to the Chennai station. At once I was held back to see someone in that position during mid night with no one around. With curiosity taking the front seat, I went near the body and tried to investigate it. There was blood all over the body which was lying face down. It seemed that a ruthless blow by the last train could have caused the end of this body which seemed to be that of a guy of around my age. Amidst the gory blood flow, I could see a folded white envelope which was fluttering in the midnight wind. Carefully I took the blood stained envelope and was surprised to see the phrase "appraisal letter" on it. With curiosity rising every moment, I wasted no time in opening the envelope to see if I can find some details about the dead guy. The tag around the body's neck and the jazzy appraisal cover gave me the hint that he might be a software engineer. I opened the envelope to find a shining paper on which the appraisal details where typed in flying colors. Thunders broke into my ears and lightening struck my heart when I saw the appraisal amount of the dead guy!!!!! My God, it was not even, as much as the cost of the letter on which the appraisal details were printed.... My heart poured out for the guy and huge calls were heard inside my mind saying "no wonder, this guy died such a miserable death"... As a fellow worker in the same industry, I thought I should mourn for him for the sake of respect and stood there with a heavy heart thinking of the shock that he would have experienced when his manager had placed the appraisal letter in his hand. I am sure his heart would have stopped and eyes would have gone blank for few seconds looking at the near to nothing increment in his salary.

While I mourned for him, for a second my hands froze to see the employee's name in the appraisal letter... hey, what a strange co-incidence, this guy's name is same as mine, including the initials. This was interesting. With some mental strength, I turned the body upside down and found myself fainted for a second. The guy not only had my name, but also looked exactly like me. Same looks, same built, same name.... it was me who was dead there!!!!!!!! While I was lost in that shock, I felt someone patting on my shoulders. My heart stopped completely, I could not breathe and sprung in fear to see who was behind......... splash!!! Went the glass of water on my laptop screen as I came out of my wild dream to see my manager standing behind my chair patting on my shoulder saying, "wake up man? Come to meeting room number two.

"I have your appraisal letter ready".

Source : One of the forwarded mails, Too Good na.



@kova

Monday, February 18, 2008

Version Control with Subversion

Revison Control System(RCS), VSS or SVN are few of commonly used Version Control Systems.

Subversion is a centralized system for sharing information. At its core is a repository, which is a central store of data. It is mainly used to maintain source code and files related to a project. It works in a typical client-server model. Any number of clients can connect to server and do read or write operations. But differnce between server and respository is that it remembers every change ever written to it: every change to every file, and even changes to the directory tree itself, such as the addition, deletion, and rearrangement of files and directories. Client can read latest information or information about who did the changes last time, what are the changes he made etc.
Advantage of Subversion system is, if two Users A and B wanst to edit same file F, then they can check out F from repository and get local copies, do edit and commit the changes to repository. Subersion control follows copy-modify-merge model instead of conventional locking model. In this model, if A does changes on F and commits and B also does changes in F and wants to commit, then repository says, F is out of date, just update your file,so that changes done by A are merged. If A and B does changes at same location in F, then repository says F is in conflict state, by showing changes done by A and changes done by B. User has to decide, which changes to keep and which changes to be discard and do necessary changes, should resolve the conflicted state and commit changes.

Few useful commands (for Version Control with Subversion)

svn co --- for check out

svn commit --- for check in

svn up/svn update ---- To update local copy

svn add --- To add a file or directory to svn

svn remove --- To remove a file or directory from svn

svn cleanup --- Recursively clean up the working copy, removing locks, resuming unfinished operations etc.

svn revert --- Restore working copy. Undone changes, if any.

svn resolved --- Remove 'conflicted' status of working copy files or directories.

svn di/ svn diff --- Display the difference between two paths.

svn st/svn status --- To see status of files in local system wrt files in svn(at the time of check out)

The first six columns in the output are each one character wide:
First column: Says if item was added, deleted, or otherwise changed
' ' no modifications
'A' Added
'C' Conflicted
'D' Deleted
'I' Ignored
'M' Modified
'R' Replaced
'X' item is unversioned, but is used by an externals definition
'?' item is not under version control
'!' item is missing (removed by non-svn command) or incomplete
'~' versioned item obstructed by some item of a different kind
Second column: Modifications of a file's or directory's properties
' ' no modifications
'C' Conflicted
'M' Modified
Third column: Whether the working copy directory is locked
' ' not locked
'L' locked
Fourth column: Scheduled commit will contain addition-with-history
' ' no history scheduled with commit
'+' history scheduled with commit
Fifth column: Whether the item is switched relative to its parent
' ' normal
'S' switched
Sixth column: Repository lock token
(without -u)
' ' no lock token
'K' lock token present
(with -u)
' ' not locked in repository, no lock token
'K' locked in repository, lock toKen present
'O' locked in repository, lock token in some Other working copy
'T' locked in repository, lock token present but sTolen
'B' not locked in repository, lock token present but Broken

svn --help --- To get Help on svn commands


@kova

Monday, February 11, 2008

Swayam - An eventful event

One of the events that took place in Sunday evening are "Swayam – on our own", by Manthan, an NGO. This event is supported by Shree Siddhi Vinayaka Trust. Event took place at Nardulla Tank Maidan, Behind Siddhi Vinayak Mandir, Dadar.


About Manthan: It is an NGO, founded by Gourav Sharma. Since one and a half year they are actively working for the beneficiary community such as children from juvenile, street, special, blinds on a volunteer basis. It was started with an idea of providing extra curricular activities such as dance, yoga, theater, singing, self-defense, fun games and outdoor recreation activities.


About Swayam:

Chief Guest : Shri S. M. Krishna, Governor, Maharashtra.

Started with Jyoti Prajwalan by Honorable Governor Shri S.M. Krishna. He presented mementos to few people who excelled in their fields, Manishri, who was awarded "Balashri", Bhushan, who was power lifting champion in physically handicapped category, Gourav, for his service to special children and Sarfaraj, who was leading a Band called "SARGAM" with visually challenged people. In Governor's speech, he mentioned that he is impressed with events by visually challenged people and we should honor these special people. Event was anchored by Raahin. Around 17 NGOs and schools participated in this event, some of them are Salaam Balak, Women's collective, MNB Blind School, Kamla Mehta School for Blind, Victoria Memorial School for Blind, Yuva Unstoppable. Welcome song was sung by Manishri. It is followed by performance of SARGAM, a band with physically challenged people. Shravan is part of that band, who has distinguished talent of singing with both male voice and female voice. Uday Deshpande has conducted show of Gymnastics, Mallakhamb, Judo and Yoga by visually challenged. These are from Kamla Mehta school for blind and Victoria Memorial school for blind. Then there was dance performances from mentally challenged and physically challenged. Most interesting and exciting event - Jal Deepasan followed dance. Two guys from Victoria Memorial School for Blind, who were visually challenged showcased their talent while having a "Deep" in a glass of water on their heads. They performed many yoga aasanas including padmasan, shavaasan, Noukaasan. Anvesh from Tata Institute of Social Service played drums and sang a song. Event was ended by thanks giving note and National Anthem. Shree Siddhi Vinayak Trust was very co-operative for whole event. Mr. Nitin Vishnu Kadam shared his views on Swayam, on behalf of his trust. Gourav thanked all the volunteers, participants and audience. Around 1000 children from different schools and different places were present for the event.


It was awesome pleasure to be part of this event as a Volunteer and thanks to all who supported this event and made it Success.


@kova

Thursday, February 7, 2008

Why am I interested in Social Service

Why are you into Social Service???

The More people I meet, the more times I was asked this Question. Of course, I am not into Social Service full time. Social service is a very big word. I am not Game for that word. I spend week-ends on it doing something or other. Usual answer from me is "This society has given me a lot - Culture, Education and Attitude". I want to give them to people who are looking for it.

I work for a company in IIT B, Mumbai. Here, I see labs which costs very high price. But students pay hardly thousands. But from where, IIT got the money. People say... From Government. But where did Govt get money from? People is the answer. Taxes paid by them brought each and every facility we are getting in our colleges. So Don't we have the responsibility to work for people who are not getting enough food or right education?

Fortunately, I have got very good friend's network in Mumbai, who work hard for themselves and work for others betterment. Kudos to Minoli, Gandhar, Ketan, Manoj and Michelle.

Purpose of this blog is to provide some source whoever is interested in these kind of things and to motivate others. Of course, who, the hell am I to you unless you are self-motivated.


@kova

Wednesday, February 6, 2008

Manthan event

Invitation to attend an event organized by Manthan, an NGO working for the beneficiary communities


Dear,

Friends.....


You are kindly invited to celebrate SWAYAM- On Our Own on 10th Feb '08 Sunday 3:30pm to 7:30pm, Nardulla Tank Maidan Near Siddhivinayak Mandir, Dadar West.


"SWAYAM- On Our Own" a step towards humanity, we at Manthan and Shri Siddhivinayak – A Great Solace unanimously take the vow to stand for the differently abled community. Also through this program we would encourage the youth of India to build and showcase their significant abilities.


The Cause:

SWAYAM is an event being organized for the special children and adults who are visually impaired, mentally challenged, physically disabled and hearing impaired. The life of these special people starts with additional struggle than that of others. They have to do extra efforts to achieve basic milestone, which comes to us naturally. Being on the other side of society, they become resilient and prefer to take life "head on". Their approach towards life is different as they have the audacity to fight and enjoy life with a smile on their face. We salute them and as a support to their resilient nature, Manthan is organizing

SWAYAM "on our own"


We are gratified by presence of esteemed dignitaries participating in this festival.


AIM OF SWAYAM:

To prove that they are not disabled but are "differently able".

1. This event will not only give them a chance to participate but also it will give them the exposure towards all the communities.

2. It will be an opportunity for recognition and appreciation for the participating NGO's, special schools, institutions and vocational training centers, for the kind of work they do. As this event will highlight their work and efforts to be a difference in these special children lives.

3. To make a committed and determined volunteers base who will actively be a part for the ongoing programmes.

4. To boost their self – confidence and motivate them to continue with the wonderful work they do for the society.

Thus this event will help in the overall development of the society as a whole. Highlighting the issues of the special people and thus helping them get their due in the society.


Schedule for the event:

2.00 pm volunteers will assemble in the Ground

2.30 pm - 3.00 pm volunteers re-alignment session

3.00 pm - 3.30 pm Group making the Ratio will be 10 volunteers to 25 kids

3.30 pm – 4.00 pm re-organizing event related work and Arrival of Participants

4.00 pm –4.15 pm – organizing the participants

4.15pm –4.30pm -- welcome song and guest introduction

4.30pm -5.15pm -- 'SARGAM' the Beat Makers an orchestra performed by blind will demonstrate their musical talent

5.15 pm – 6.00 pm visually challenged will perform Gymnastics, Mallakhamb, Judo and Yoga. (Food packets n Water will distributed to the participants while the programme is on)

6.15 pm – 7.00 pm mentally challenged and physically challenged will perform dance.

7.00 pm – 7.15pm Thanks giving speeches for our supporters and well-wishers

7.15 pm – 7.30 pm Closing ceremony with National Anthem

(We are providing refreshments to all participants and transportation if more than 40 people coming)


Please contact Organizer's on:
981 991 8030 Gaurav S Sharma (gaurav.manthan@gmail.com)
998 759 3490 Sanket Sawant

9819110994 Jigna R Dalal

Address: 18/a, daruwala bldg, 2nd floor, room no 31, mangalwadi, girgaum, mumbai 40004.

Website: www.manthanngo.org


@kova


Tuesday, February 5, 2008

A Note on Makefile

GNU make is a utility to maintain groups of programs.

The make command allows you to manage large programs or groups of programs. As you begin to write larger programs, you will notice that re-compiling larger programs takes much longer than re-compiling short programs. Moreover, you notice that you usually only work on a small section of the program (such as a single function that you are debugging), and much of the rest of the program remains unchanged.

The make program aids you in developing your large programs by keeping track of which portions of the entire program have been changed, compiling only those parts of the program which have changed since the last compile.

Syntax:

make [ -f makefile ] [ option ] ... target ...

Usually, name of 'make' file is Makefile/makefile. But it can be any user-defined name.

@> make - will search for default makefile.

To make, makefile with user-defined name, command is
@> make -f myMake

Makefile works based on Rules.

Rules:

A rule tells Make both when and how to make a file.
As an example, suppose your project involves compiling source files main.c and add.c then linking them to produce the executable project.bin. Withholding a detailed explanation for a bit, here is a makefile using GNU C which will manage the task of making project.bin:

The Example Makefile

project.bin : main.obj add.obj
gcc -o project.bin main.obj add.obj
main.obj : main.c
gcc –c main.c
add.obj : add.c
gcc –c add.c

This makefile shows three rules, one each for making project.bin, main.obj, and add.obj. The rules as shown above are called explicit rules since they are supplied explicitly in the makefile. Make also has inference rules that generalize the make process.

Dependency Lines: When to Build a Target

The lines with the colon “:” in them are called dependency lines. They determine when the target is to be rebuilt.

To the left of the colon is the target of the dependency. To the right of the colon are the sources needed to make the target. A dependency line says “the target depends on the sources.” For example, the line:

project.bin : main.obj add.obj 

states that project.bin depends on main.obj and add.obj. At run time Make compares the time that project.bin was last changed to the times main.obj and add.obj were last changed. If either source is newer than project.bin, Make rebuilds project.bin. The last-changed time is the target's time as it appears in the file-system directory. This time is also known as the target's timestamp.

The Make Process is Recursive

It is a basic feature of Make that a target's sources are made before the timestamp comparison occurs. The line:

project.bin : main.obj add.obj 

implies “make main.obj and add.obj before comparing their timestamps with project.bin.” In turn:

main.obj : main.c 

says “make main.c before comparing its timestamp with main.obj.” You can see that if main.c is newer than main.obj, main.obj will be rebuilt. Now main.obj will be newer than project.bin, causing project.bin to be rebuilt.

For more info, $man make



@kova


Thursday, January 24, 2008

Sachin Does a Don

For people who believe that cricket is a religion and Sachin is God, find an interesting article here.



@kova

Saturday, January 19, 2008

Team India Done it Again

Team India repeated its heroics again to deny the Celebrations of Seventeenth Test Victory by Australia. India won by 72 runs at WACA, Perth. This is second time India doing so for Australia. First time, it happened in Kolkatha when Australia was searching for their 17th Test Victory in a row under captaincy of Steve Waugh. Key contributors in that test match were Laxman, Dravid, Harbhajan, Ganguly and Sachin. Today, Whole team played its part to keep series alive and to register a Famous Win over Australians. But, if few were picked, credit goes to Pathan, RP Singh, Laxman, Dravid, Sachin, Kumble and Sehwag. Bowlers complemented Batsmen effort and Batsmen scored runs to make Target look Tough. Excellent cricket played by both the times, most of the time, both the teams have chance of winning, but India dominated most of those sessions and finally it made it. First Sub-continent team to ever Win on WACA Pitch and its first defeat for Australia under Ricky Ponting's Captaincy at Home.

Well Done Team India

Thursday, January 17, 2008

DHL I Donate

I heard on 93.5 RedFM about DHL being part of 'I donate' campaign. It collects all old material(can be books, shoes, etc) and clothes and distribute them to an NGO or such like for further use by underprivileged people. DHL can be reached by mailing them at idonate@dhl.com or calling at 022-66822592.



@kova