Friday, October 30, 2009

MuBarack Obama - Obama wins the Nobel, and why the Norwegian Committe could have done better

That came from nowhere. Barack Obama wins the Nobel Peace Prize 2009 for his extraordinary efforts to strengthen international diplomacy and cooperation between people. The choice of the Norwegian Nobel committee was indeed stunning, especially since it was just two weeks since Obama assumed office as the President of Unites States, before February 1, the deadline for nominations.

Now Obama is the people's man, and very true all his efforts at primarily three fronts - Global Warming, Economic Stimulus and Reaching out to the Islamic world - are landmark initiatives, since thats exactly opposite what the President of United States does whilst in office. ( barring the Economic Stimulus, which is situational). Or to rephrase, that's what the Presidents of United States do when they are no more the President- be it Bill Clinton reaching out to North Korea, or President Jimmy Carter "holding back tears" while visiting sites of destruction in Gaza. Obama's moves are clearly pacifist and very unPresident like, and praiseworthy. As The Hindu has rightly put -

The world is so accustomed to American presidents waging war that the first incumbent to promise diplomacy gets to win the Nobel peace prize regardless of what he does.

Awarding the world's highest civilian honor to a man who is yet to prove himself worthy of it, in the hope that he"ll do something about it is too wishful - its like calling a bull a cow, and expecting to milk it.

I started this article on October 9, minutes after the news of Obama bagging the Nobel hit the internet - and had originally titled it - MuBarack Obama - Obama wins the Nobel, and why it is bad for America in the view that it was too early to judge him and that the burden of peace would make him a weak President which would not be in the best interests of America and so on. .

I am glad he isn't working overtime on peace issues, which is not what you should do when your country is the largest arms supplier in the world .

And I am saddened by his failure.

Take Afghanistan for instance. Things are no better than how they had been when he assumed office in January. There has been a spurt in the suicide bombings of late and even the President has admitted the United States' failure to bind together a viable Afghanistan bereft of violence. Now there are talks of having a UN monitored Muslim Peace Keeping force to bring peace in the worn torn country so as to change the common Afghan's perception of a non-believer and infidel force occupying their country. Things are so bad, even this wont be possible with some conspiracy theorist coming up with America's designs to fight one Muslim against another and bring an end to the Islam religion.

During the initial euphoria of bringing peace to the middle east, he called upon Israel to freeze settlements in Palestinian dominated Jerusalem. However, he gave up on it after a meeting with Israeli Prime Minister Netanyahu, and merely discussed "the possibility of a pause in settlement activity".

In the light of such failures, Iran has also rejected the American bid to abandon its nuclear projects while the Obama administration has decided to hold fire for a while.

Will Barack Obama bring the world to peace just as George Bush brought perpetrators or crimes against humanity to a never ending justice?

I recall having read somewhere a black man not being happy with Obama as President. On being asked why, he said - Barack Obama is bound to fail. He is human. And humans fail. And when he fails, it will be a black man failing.

Thursday, April 9, 2009

~The music is all around you. All you gotta do is listen~

Wow. Quite a thought! :)

Monday, March 16, 2009

Flex : Submitting a form by pressing Enter

Web developers beginning to (use) Flex find it very annoying when you have to navigate to the submit button by using tab keys or take your hands off the keyboard and move your mouse to the submit button to submit a form.

In fact it should be a built in support in Flex that when the user presses enter after filling a form, the Flash Player should automatically process it as a submit action. I have over months taken up several strategies to implement this in my applications. When I started out, I simply ignored taking extra effort to make a provision for submitting a form by pressing enter. However its really irritating if you press enter after filling up a form and nothing happens. Then you have to move your mouse all the way to the Submit button, cursing the developer all throughout. Here is what I did for implementing the same:

Method 1

The crudest method of doing it in Flex is add a KeyboardEvent event listener on the form and listen for the Enter Key having the code 13.

View the code here.

 

Method 2 

This involves setting up the defaultButton property for your container ( I have used the root container <mx:Application> since I only have a single form in my entire page, but you must set this property of the immediate parent of the form) to the ID of the submit button. Click here to view the source code

 

Method 3

Its noteworthy how the most easiest methods of doing things are often the ones we discover after we have learnt all the hard tricks. In the form, the TextField has a property called “enter” which can be set to the “submit” function, which then validates the form.

Click here to view the source.

I hope this  is useful.

Monday, March 9, 2009

Installing Java Development Tools on Flex Builder 3.0 - Network connection problems encountered during search.

I have been working on a project that requires me to use Flex, LCDS, and Java. I was required to download Java Development tools for Flex Builder 3.0.

So I did this:

1. Goto Help-> Software Updates –>Find and Install

2. Choose Search for new features to Install

3. Check Europa Discovery Site and The Eclipse Project Updates

4. Click finish.

The expected result was to get a list of plugins available, select Java Development Tools and download and install it. However I got this error continuously :

 

“ Network connection problems encountered during search.”

I had downloaded Java Development Tools in the past and I never had faced this issue before.

I realized the difference between before and now was that now I accessing the web through a proxy server,and not directly connecting to the internet. That means that this wasn’t a Flex Builder bug, nor an eclipse bug. In fact this isn’t a bug at all.

All I had to do was set proxy setting for Flex Builder to access the internet, just the way my browser connects to the internet. This is how I did it:

1. Goto Windows-> Preferences –> General-> Network Connections.

2. Manually set the proxy settings . ( you can use the proxy settings used by your browser)

And restart Flex Builder!

You can search for and install all the useful plug-in you need.

Let me know if you find this useful.

Friday, March 6, 2009

Want to make a screencast? Or capture your screen?

One of the biggest problems developers face while collaborating with other developers is explaining their problems to others. An easy way is to capture your screen and share it . And for those who think ( I am sure most of you would )Cntrl+Print Screen sucks, here is a way out.

Try Jing from Techsmith. The Jing Project from Techsmith helps you not only:

  • Capture your screen and take a screenshot
  • Make a small video of what you are doing.

But also:

  • Lets you add arrow marks, and put lables and text on the image.
  • Makes it easy for you to post the video on Youtube, or on a blog.
  • Automatically generates a URL which you can paste and share online.

 

Now isn’t that awesome? While the free version is what most people would need, the Pro-version is also available for the Pro’s. Try Jing now.

Let me know if it was useful.

Cheers!

Thursday, February 19, 2009

http://HelpGaurav.com



I found this while going through the twitter feeds of a fellow coder. I am reproducing the contents here, so that it gets a wider publicity . And a better help. Please visit http://helpGaurav.com for detailed information.

Gaurav Tandon is a 34 year old professional working with Datacraft Asia (a private IT firm) in Mumbai, India. His small family comprises wife, a 6 year old son. He has two elder sisters both are happily married and a brother who is serving as Captain in the Indian Army.

Gaurav was detected with AML (a type of Blood Cancer) in November 2008. He has responded well to chemotherapy, but must get a Bone Marrow Transplant as the only possibility for a cure. Unfortunately the HLA typing test of his siblings is negative. Doctors have therefore strongly recommemded a Non-Related Allogenic transplant. Since such transplantations are rarely performed in India, there is a high chance that we have to take him to places like Singapore, UK or the USA.

The estimated cost of the treatment in Singapore and UK is around 1.5 Crore Indian Rupees (around US$ 333,000), whereas in the US is around of 2 Crore Indian Rupees (around US$ 444,000).

In order to meet the steep cost of the said operation, Gaurav and his family have decided to sell their solitary flat at Thakur Village Complex, Kandivili, Mumbai. However, this is not going to be enough, since the amount required for the treatment is huge and time is less.

Let us all come togeather to help Gaurav. Togeather we can reach out to our communities and remind them that we - members of Gaurav's family, community and country have a responsibility to help. Let us all remember that Gaurav is also a son, a brother, a father and a husband. We should all see ourselves in Gaurav and realize that he deserves the same support we would wish for member of our own family or even ourselves.

I for myself, am making a small contribution. You can make a contribution too by sending a mail to reply_gt@yahoo.com . You can click here for furthur details.

Bloggers can make a contribution by donating, linking to this page or the original page.

Foreign Nationals can also make a contribution on the home page, or by leaving a comment here. Your desire to donate will be communicated to the concerned family.

Tuesday, February 10, 2009

Australian Bushfire & The Bush after-effects

The Australian Bushfire has killed up to 128 people so far as a result of almost 400 forest fires in Australia raging entire towns to ruins. Almost 750 houses have been destroyed, and the loss to human life and property is expected to rise.

In the 5th week of the new year 2009, and the world has already faced a calamity of this magnitude. A world , already rendered jobless and homeless and war torn by another Bush’s whims.

While the bushfire swept across an entire nation killing multitudes and rendering thousands homeless, a certain Bush has done much worse to the world.

Sometimes I wonder – Will the recession ever get over? Or will it change our lives and destiny forever? This is the worst economic crisis since the WW !! and there is no hope in sight. Will it change America forever?

Change, truly is the only constant. In the 1800s no one thought the British Empire could ever crumble. It was the empire where the sun never set. It was Russia next, the biggest super power of all times, having a land area stretching Europe and Asia. And the followed the US. And endless wars in the middle east to Vietnam to Afghanistan to Iraq. Is this the end of American Imperialism?

But we are humans. Life conquers death. And hope conquers adversities. And we believe that one day the world will truly be a better place to live in. That perhaps is, The Audacity of Hope.

Technorati Tags: