Saturday, May 15, 2010

Friday, May 14, 2010

Michael Hussey - Amazingly Freaky....ICC World Twenty20 2010 2nd Semi Final - Australia Vs Pakistan

Michael Hussey - Amazingly Freaky....ICC World Twenty20 2010 2nd Semi Final - Australia Vs Pakistan
 ICC World Twenty20 2010 2nd Semi Final - Australia Vs Pakistan Match Review & Analysis

Wow...wat a match it was...Oz..Oz..Oz...

The dependable Michael Hussey ala Mr. Cricket once again does it for Australia which makes them to the Final of the T20 World Cup 2010 for the first time in 3 years...

Australia were down & out after their bowling which was really below mark & even their fielding apart from some good catches by David Warner....But full marks for Pakistan to come out all guns blazing against the best bowling attack of the tournament..Kamran Akmal was brilliant & so was his brother Umar Akmal...his sizes in the last few overs were superb that too against the likes of Dirk Nannes & Mitchell Johnson...

191 in 20 overs, Pakistan would have thought they can win it from here definitely even with a formidabble Australian batting lineup...The commentators specially Ian Chappel reminded that Pakistan who had nothing to show in the last Australian Summer where they didn't won a single match, have peaked at the right time & can definitely win the match...

Australian chase started badly with losing Warner for 0 in the first over & Watson followed soon...& they were 62/4 in the 9th over...but Cameroon White started to hit the big shots which opened up a slight window for Austarlia...but with wickets falling at the other end & the mammoth total it looked difficult but White was brilliant with 31-ball 43 with 5 massive sixes....& with Micheal Hussey on the crease....& hitting nicely...

With White gone in the 16th over & Smith in the 17th, Australia needed 48 runs off the last 3 overs...& Michael Hussey was the man....He took 14 runs of that over with Aus needing 34 from the last 2. Hussey faced the enitire 19th over & got 16 runs with 2 boundaries....& it was all left to Ajmal to stop Aus & Hussey from getting 18 runs off the last over....With Johnson on strike, Pakistan thought they can get in a few deliveries but Johnson gave the strike to Hussey off the first ball....& after that Hussey needed just 4 balls to get the required 17 runs coz wat he did was ...6..6..4..6..game set & match...Australia win a thriller....

Waqar Younis the Pakistan coach couldn't believe it...he looked really shattered....& so was Afridi & the whole Pakistan side...

Michael Clarke was all praise for Michael Hussey saying that it was an amazingly freaking performance...Like Hussey, he too cannot believe that they have won the match...

Hats off to Michael Hussey....What a player....And as an Australian would say...Cheers Mate...

Watch the highlights of this match at http://www.youtube.com/watch?v=58blvd90w8w

 ICC World Twenty20 2010 2nd Semi Final - Australia Vs Pakistan Highlights Video

Michael Hussey is ecstatic after completing a miracle chase, Australia v Pakistan, 2nd semi-final, ICC World Twenty20, St Lucia, May 14, 2010 
 
Image courtesy - @GettyImages & Cricinfo
 
Michael Hussey is ecstatic after completing a miracle chase

Vishwanathan Anand "Vishy" - World Chess Champion 2010

Vishwanathan Anand "Vishy" - World Chess Champion 2010
Vishwanathan Anand "Vishy" is the World Chess Champion once again, he became the first player in chess history to have won the World Championship in three different formats: Knockout, Tournament, and Match..

Prior to the World Chess Championship 2010, Anand, who had booked on the flight Frankfurt-Sofia on April 16, was stranded due to the cancellation of all flights following the volcano ash cloud from Eyjafjallajökull. Anand asked for a three day postponement, which the Bulgarian organisers refused on April 19.

Anand eventually reached Sofia on April 20, after an exhausting 40-hour road journey. Consequently, the first game was delayed by one day. The match consisted of 12 games. After 11 games the score was tied at 5½-5½. Anand won game 12 on the Black side of a Queen's Gambit Declined to win the match and retain the World Championship.

Salute to this gr8 man... Similar to Sachin Tendulkar, Vishy too is a very humble person...& thats why he has achieved this gr8 heights in his career...

He too deserves a Bharat Ratna...

Reference : http://en.wikipedia.org/wiki/Viswanathan_Anand

कोशिश करनेवालों की हार नहीं होती ......Koshish karne valo ki kabhi haar nahi hoti.....

The famous poem by Harivansh Rai Bachchan....
By Harivansh Rai Bachchan

Perfect Boss

Perfect Boss
Got this as an email...so thought of sharing it....


This is the story of "The Perfect Boss"

There were about 70 scientists working on a very hectic project. All of them were really frustrated due to the pressure of work and the demands of their boss but everyone were loyal to him and did not think of quitting the job.

One day, one scientist came to his boss and told him - Sir, I have promised to my children that I will take them to the exhibition going on in our township. So I want to leave the office at 5:30 pm. His boss replied "OK, You're permitted to leave the office early today".

The Scientist started working. He continued his work after lunch. As usual he got involved to such an extent that he looked at his watch when he felt he was close to completion. The time was 8.30 PM.

Suddenly he remembered of the promise he had given to his children.

He looked for his boss, he was not there. Having told him in the morning itself, he closed everything and left for home. Deep within himself, he was feeling guilty for having disappointed his children. He reached home. Children were not there.

His wife alone was sitting in the hall and reading magazines. The situation was explosive; any talk would boomerang on him. His wife asked him, "Would you like to have coffee or shall I straight away serve dinner if you are hungry.

The man replied "If you would like to have coffee, I too will have but what about Children?"

Wife replied "You don't know? Your manager came here at 5.15 PM and has taken the children to the exhibition"

What had really happened was ... The boss who granted him permission was observing him working seriously at 5.00 PM. He thought to himself, this person will not leave the work, but if he has promised his children they should enjoy the visit to exhibition.

So he took the lead in taking them to exhibition. The boss does not have to do it everytime. But once it is done, loyalty is established.

That is why all the scientists at Thumba continued to work under their boss even though the stress was tremendous.

By the way, can you hazard a guess as to who the boss was..?
.....
......
....
.....

He was none other than the mastermind behind India 's successful nuclear weapons and missiles program.

Dr. APJ Abdul Kalam, Former President of India.

EDI - Electronic Data Interchange

EDI - Electronic Data Interchange

EDI – Useful Links
Download Basics of EDI, Framework EDI Help Documentation, and other EDI Training Materials
It is back to basics for business-to-business automation as companies take a hard look at the real benefits -- and drawbacks -- of online exchanges
Mike Hogan explains inter-enterprise communications 4 July 2001, 2 pm GMT
A tutorial on how to transform EDI files into XML using Stylus Studio's Convert to XML tool. Subsequent post-processing of the converted EDI data is done through XQuery or XSLT, modeling a real world XML data integration application.
Introduction to Electronic Data Interchange (EDI)
This document serves as a quick repository analysis,
The Data Administration Newsletter delivers business intelligence, data warehousing and analytics resources provided by Claudia Imhoff, Bill Inmon and other experts. Additional topics include data quality, data integration, CRM, data marts, data mining, business performance management, BPM, data modeling, enterprise application management, ERP, RFID, storage, supply chain and others.
The Data Administration Newsletter delivers business intelligence, data warehousing and analytics resources provided by Claudia Imhoff, Bill Inmon and other experts. Additional topics include data quality, data integration, CRM, data marts, data mining, business performance management, BPM, data modeling, enterprise application management, ERP, RFID, storage, supply chain and others.
A tutorial on how to transform EDI files into XML using Stylus Studio's Convert to XML tool. Subsequent post-processing of the converted EDI data is done through XQuery or XSLT, modeling a real world XML data integration application.
Download Basics of EDI, Framework EDI Help Documentation, and other EDI Training Materials
Introduction to Electronic Data Interchange (EDI)
The Data Administration Newsletter delivers business intelligence, data warehousing and analytics resources provided by Claudia Imhoff, Bill Inmon and other experts. Additional topics include data quality, data integration, CRM, data marts, data mining, business performance management, BPM, data modeling, enterprise application management, ERP, RFID, storage, supply chain and others.
The Data Administration Newsletter delivers business intelligence, data warehousing and analytics resources provided by Claudia Imhoff, Bill Inmon and other experts. Additional topics include data quality, data integration, CRM, data marts, data mining, business performance management, BPM, data modeling, enterprise application management, ERP, RFID, storage, supply chain and others.
Mike Hogan explains inter-enterprise communications 4 July 2001, 2 pm GMT

Daily Deal Sites

Daily Deal Sites

Daily Deal Sites

Here’s a list of sites that provide with some of the best daily deals.
(1.)  24hoursloot
24hoursLoot is an online store for selling a single item (mostly t-shirts and sometime toys, electronics products, furniture and more..) everyday at deep discounted price in limited quantity. An item is released every midnight at 12AM Indian standard time, seven days a week. If that item sells out during its run (in 24 hours), a new item will not appear until the next release time. Read more in FAQs

Why should you buy at 24hoursLoot.com:

·         Premium quality products in the lowest price.
·         15 days "No-question asked" money back guarantee.
·         Various secure payment options (offline & online).
·         Fast shipping anywhere in India.
·         No signup/registration required to buy an item online.
·         A prompt customer care service.
Time determines the best deals. With over a billion searches made by millions of Indians every month now, it is time for a new shopping experience – the Bindaas experience. An online store that operates within a brisk time frame, Bindaas Bargain offers a new deal every day! Great stuff ranging from cool gadgets, home theatres, luxury watches, smash games – you name it (literally) – we have it all, at incredibly cheap prices; delivered to your doorstep swiftly.
So for those of us who dreamt of a friendly Indian holistic webshop that would talk when talked to and answer when asked, it’s time to realise your dream. Welcome to the Bindaas world of bargains!
(3.)  MyDala
mydala is YOUR platform which gets you great deals in your city leveraging the "power of group buying". Group buying happens when like minded people come together to get deals that we can never get on our own as individuals. We all are the power of mydala.
  • Each day we feature something cool to do at an unbeatable price.
  • You only get it if enough people join that day so invite your friends!
  • Check back the next day for another awesome mydala!
Still have questions? Check out the FAQ
(4.)  BuyThePrice
India is a world of first class entrepreneurs. Just like many others, we too are a very passionate bunch of young professionals who dream to change the way online shopping happens in India.  
Our first flagship offering, buytheprice.com is an effort to move towards achieving our dream. Inspired from observing the buying behavior of our friends / family, we focus to bridge certain gaps like customer aggregation, balancing the estimated and actual demand using the ability of internet which can make it happen on a large scale. In simpler words, a case where common sense meets enablers.
Web 2.0 has been around for sometime, where the community contributes to the content. In simple words, an internet user benefits from the contribution of some other user whom he may or may not know. Until now, web 2.0 was used in ecommerce to the extent of product reviews and ratings. It has not been used truly in the sense of one user benefiting from the transaction of another user. Buytheprice.com does this through what we term as ecommerce 2.0   Our tagline "you make it happen" reflects our philosophy where YOU (read customer) is a major dimension like products and prices on the website.
(5.)  Group2Deal
Every day our experts try to negotiate best deal with the businesses in your city promising them a minimum number of customers. This creates a Win- Win situation for customers & the Businesses.The Deal is featured in our Website with details about the Vendor, Pictures & reviews about the Deal.Each Day log on to Group2Deal.com & check out the deals.If you like the Deal, click on the BUY button to buy the deal.We take the billing information from you & do not charge you until a minimum number of people buy that deal.You can also share this deal with your friends to ensure that the deal is struck.The deal is on only if minimum number of people buy the deal.
It’s a Risk free Win-Win Situation. This is the “POWER OF BUYING TOGETHER”.
(6.)  Wanamo
WanaMo's sole mission is to help you find the coolest things to do in your city at amazing discounts. So that leaves you to just enjoy & indulge in those exciting things that your city has to offer. Explore More, Do More, Want More! This is what you’ve to do which we call it as “6 Steps to Want More!
1. THE DEAL: Each day, we “feature an exclusive deal” at an amazingly discounted price which reaches your inbox.
2. BUY: Click the “BUY!" button to book your deal by paying a small “Advance”. This amount is part of your final bill & is not a fee of any kind; so you don't have to worry about paying anything extra!
3. TIPPING POINT: As soon as we reach the minimum number of WanaMo bookings, everyone gets the discount and the “Deal goes Live”. In case the minimum number of buyers for the deal is not reached – we don’t charge you a single rupee!
4. SHARE: To make sure the Deal reaches the minimum, help share it with you friends on Facebook/Orkut/Twitter etc and also win exciting referral bonuses.
5. REDEEM: Once the deal is live, WanaMo will immediately e-mail you a “printable WanaMo coupon” which you can use like Cash and take it to the vendor to avail your discount.
6. WANT MORE!: Go out, have fun, and check back the next day for another incredible WanaMo deal!
(7.)  DailyDeal
Daily Deal is a deal news site and community that focuses on providing information one super cool deal every day.
 Feel free to add sites that provide daily deals by adding it in the comments.....
Happy Shopping......

Monday, April 26, 2010

Mobile Phone Review : Samsung Star S5603

Mobile Phone Review : Samsung Star S5603
Samsung Star S5603 is the upgraded 3G version of the earlier released Samsung star. It comes along a 2.8 inch TFT capacitive touch screen that is cable of displaying 16 million colors.  For connectivity, it features Bluetooth Wireless Technology (version 2.1 + EDR) along with USB 2.0 interface for high sped data transfer. The Samsung Mobile Phone also features a 3.0 mega pixel camera  with LED flash, Video telephony, and video recording capability. Navigation is pretty smooth and easy owing to the accelerometer rotation which adds to the usability factor of the Mobile Phone. For memory Samsung Star S5603 features a 50MB in built memory along with expandable memory support up to 8GB via MicroSD card slot. The memory options, thus give you a lot of options to store your favorite songs, images, videos, or games for that matter.
 
Samsung Star S5603 features a fully functional music player along with support for major audio formats including AAC,  MP3,  and  WMA. This Samsung Mobile Phone offers a standard talk time of around 8 hours along with a standby of 365 hours. Additional features include FM radio, unlimited phone book capacity, embedded java games, and WAP browser support. Samsung Marine is a Mobile Phone, which features water and dust resistant techniques, and complies with the with the IP57 (Ingress Protection) standard for additional durability. The battery here, also does a good job and provides around 9.5 hours of talk time, and up to 670 hours of standby time. It is basically a GSM cell phone with a CMOS 1.4 mega pixel camera featuring 4x digital zoom and photo effects. The digital zoom closes on to the subject to provide better shots while capturing. 
 
The Samsung mobile phone supports an Mp3 player, and comes along a 6MB internal memory with expandable options up to 8GB via MicroSD card slot, which is  ore than enough to address storage related issues. For connectivity, it features Bluetooth Wireless Technology (version 2.1 + EDR) along with USB 2.0 interface for high sped data transfer. The Mobile Phone also supports GPRS support, along with WAP 2.0 for effective internet browsing. Other features associated with this Samsung mobile phone include offline mode, world time, calculator, and scheduler. The music player support multiple audio formats including Music player supporting MP3, AAC, eAAC, and Midi . For entertainment it features Java enabled games, and an stereo FM radio. It specifically suits mountaineers, mariners, and trekkers, owing to its rough and rugged usability.
 
For more information on Samsung Mobile Phones, Mobile Stores, Samsung Star S5603 Price, and Mobile Phones in India, please log on to www.consumermate.com.

Thursday, April 22, 2010

Microsoft Tech.Ed 2010 Win-a-Minute Quiz contest

Microsoft Tech.Ed 2010 Win-a-Minute Quiz contest
Good news....Got this mail from Microsoft TechEd...


Dear Participant,

It gives us immense pleasure to announce you as one of the winners for the Microsoft Tech.Ed 2010 Win-a-Minute Quiz contest. You can find the complete winners list at http://www.microsoftteched.in/winners.aspx.

As a winner, you are entitled to receive a movie coupon. In order for us to dispatch the prize, we request you to share your address not later than April 23, 2010. Thank you for participating in the Tech.Ed India 2010 Win-a-Minute contest. We look forward to your association in similar future engagements with Microsoft.

Regards,

Microsoft Tech.Ed 2010 Support Team

Had participated in the Microsoft Tech.Ed 2010 Win-a-Minute Quiz contest during recently concluded Tech.Ed 2010 & had answered a lot of questions so was hoping to win...And yes I did win...so gr8...

So now waiting for the movie coupon...

Friday, January 8, 2010

Myths about code comments

Myths about code comments

Myths about code comments

It seems to me getting good at writing comments is an under-appreciated part of a Programmer's development. However, I feel that this is a part of programming that's almost as important as writing code itself. So, here are some of the biggest misconception about comments:

Comments are free

This is an assumption that most of us make at one time or another. Comments aren't actually executable code, therefore they aren't maintenance costs, right? As it turns out, this isn't true. When you update the code that the comment references, you usually have to update the comment as well.

Unfortunately, this myth is actually true most of the time. After enough time staring at a comment, it typically becomes "noise" that you tune out. Thus, comments have a nasty habit of not being up-to-date.

Comments make code more readable

This is by far the most pervasive myth that I've encountered. If anything, comments make code less readable. Nine times out of ten, I ignore comments unless I'm stumped. In fact, I'm tempted to make emacs hide all comments unless I explicitly expand them.

Comments don't make code more readable. They are ways to compensate for code not being readable.

You should comment every function, method, class, and module

How many times have you seen docstrings like this?

 

  1. def get_x(self):
  2. """
  3. This method gets x.
  4. """
 def get_x(self): """ This method gets x. """ 

This is about as close to being a canonical "bad comment" as you can get, and yet people who should know better still do it. Why? Because they feel that they should document every function or class. The reality is that documenting something that needs no documentation is universally a bad idea.

Code must always be "self documenting"

Most of the myths thus far have been of the "comments are a wholesome, healthy thing variety". Don't take this to mean that I feel that comments are bad. The reality of the situation is that the decision of whether to comment is just like most other decisions in programming: it's about tradeoffs.

In most cases, comments should be viewed as code smells. But remember that code smells aren't necessarily bad. They're just hints that something might be bad. And sometimes, removing one code smell adds another one which may or may not be worse.

For instance, would you rather use a one-liner that requires a 3-line comment, or a 10-liner that requires no comments? In most cases, code's readability suffers more when it's overly verbose than when it has a high comment to code ratio. Thus, I would choose to write the comment in most cases.

 

Posted via email from fenildesai's posterous

Tuesday, January 5, 2010

Twitter - Saving your Tweets

Twitter - Saving your Tweets
Follow me on Twitter In my ever ending search for a tool/technology to manage my inflow of information from the Web, I opened a Twitter account that could also act as a set of pseudo-bookmarks. My IE8 and Firefox bookmarks already stretch to the floor when expanded. Plus, I'm convinced that there must be some unknown aspect of HCI that dictates that once something is saved as a bookmark, it is never opened again. Bookmarks drop downs are about as user-friendly as crotch rot. I've looked at Evernote and OneNote, the latter being the most promising to date. I plan to take another look at the products from Microsoft Live Labs.
Recently, I passed the 700 tweet mark and decided to archive what I had. But how? I gleaned the following tidbits from "Twitter Tips, Tricks, and Tweets" by Paul McFedries - founder and CEO of Mashable. You can save a local copy of your tweets by entering the following URL in your browser:
http://twitter.com/statuses/user_timeline/account.xml?count=n

where account = your account name, and
n = number of tweets

Tweets XML

This will open n number of your tweets to date in XML in your browser. From here, you can import your saved XML file into Excel 2007 as follows:
1) In Excel, click on the Data tab

2) Data -> From Other Data Sources - From XML Data Import

3) Click a cell where you want to import the data to

4) Save as, using the id of the last tweet
Save Tweets

Tweets URL

The reason I include the last Tweet id# is to make it easy to archive next time, starting where I left off and using the following syntax:
http://twitter.com/statuses/user_timeline/account.xml?since_id=6839319097

If you look at the Excel sheet you will see that the last tweet had an ID of 6839319097. This will download an XML version of all my tweets since then. Now I have a proper archive of my tweets that I can search on :-)
From here, you might want to take a look at the TweetSharp API - a complete .NET library allowing you to build Twitter applications in C# and .NET 3.5. I've started reading a great book on the topic: "Professional Twitter Development with Examples in .NET 3.5" by Daniel Crenna.

How to display latest tweet in your website using Javascript and twitter API

How to display latest tweet in your website using Javascript and
twitter API
Sometimes you may be want to show your latest twitter tweets in your website or blog, most of the cases you are doing this by using widgets with limited customization facilities and showing ads or links to other websites, here is an easier way to achieve this using twitter API and javascript.
Step 1:
  1. "twitter_update_list">  
 
<br /><div id="twitter_update_list"><br /></div><br First, decide where about on your page you want your last tweet to display. Then paste following html code there.

Step 2:
Next you need to put these 2 lines of JavaScript below the code in step 1. On the 2nd line of code where it says prajeeshkk.json, you need to replace prajeeshkk with your twitter username.
  1. "text/javascript" src="http://twitter.com/javascripts/blogger.js">  
  2.   
  3. "text/javascript" src="http://twitter.com/statuses/user_timeline/prajeeshkk.json?callback=twitterCallback2&count=1">  
  4.   
<br /><script type="text/javascript" src="http://twitter.com/javascripts/blogger.js"><br /></script><br /><script type="text/javascript" src="http://twitter.com/statuses/user_timeline/prajeeshkk.json?callback=twitterCallback2&count=1"><br /></script><br />Step 3:(Optional)
You can apply css and make the div displaying the tweet stylish.
  1. #twitter_update_list li {  
  2. list-style-type: none;  
  3. }  
  4. #twitter_update_list span a  
  5. {  
  6. display: inline;  
  7. color: #008080;  
  8. }  
  9. #twitter_update_list span a:hover  
  10. {  
  11. text-decoration: underline;  
  12. color: #66CCFF;  
  13. }  
  14. #twitter_update_list span  
  15. {  
  16. color: #000000;  
  17. background: white;  
  18. }  
<br />#twitter_update_list li {<br />list-style-type: none;<br />}<br />#twitter_update_list span a<br />{<br />display: inline;<br />color: #008080;<br />}<br />#twitter_update_list span a:hover<br />{<br />text-decoration: underline;<br />color: #66CCFF;<br />}<br />#twitter_update_list span<br />{<br />color: #000000;<br />background: white;<br />}<br See how my tweet design looks :