RSS

Category Archives: Bouncing Wall!!

Mostly anything that comes in my head will be bounced here via posts

Humble recipe for Success : Nice one

Got a forward from a friend the subject stated “Recipe for Succes” the contents were even more thought provoking than the subject.
Pasting it here for benefit of others….

Setting Goals
but NOT in concrete

Staying Focused
but turning aside to Help someone

Following Plan
but remaining Flexible

Moving ahead
but not too fast to miss the smell of flowers

Climbing the Ladder
but not stepping on Toes

Fighting to Finish
but choosing your battles

Taking a Bow
but applauding those who had a part in your success

Advertisements
 
1 Comment

Posted by on September 12, 2009 in Bouncing Wall!!, Management

 

Tags: , ,

Funny !! Marc Faber’s comment on US Economy!!

Came across this comment from Marc Faber has gone back to the basics with his comment !!!

The federal government is sending each of us a $600 rebate.

If we spend that money at Wal-Mart, the money goes to China.
If we spend it on gasoline it goes to the Arabs.
If we buy a computer it will go to India.
If we purchase fruit and vegetables it will go to Mexico, Honduras and Guatemala.
If we purchase a good car it will go to Germany.
If we purchase useless crap it will go to Taiwan and none of it will help the American economy.

The only way to keep that money here at home is to spend it on prostitutes and beer, since these are the only products still produced in US.  I’ve been doing my part.

haha the funniest i think :))

to know more about Marc Faber visit his site: http://www.gloomboomdoom.com

Copyright © Shounak Pandit

 
Leave a comment

Posted by on September 23, 2008 in Bouncing Wall!!

 

Tags: , ,

Effective Code review or How to execute a Succesful code review

Code Review…. The dreaded words for a newbie ears ..or in most of the cases even for the experienced developers!!!!

How to code review ?
Over the years of being the code reviewer or me being the reviewee have noticed a few things which i feel are worth mentioning for an effective and pain free code review to happen.

What exactly is a code review i guess everybody knows that , ill try and point out some of the things which should be taken care of for a productive and pain free code review to happen.

  • Objective: Make sure the objective behind the code review is well known to the developers involved: Developers need to understand that the code is being reviewed and not the developers ability to code.
  • Coding Standard: Make sure you have a predefined set of coding standards circulated with the team before coding. Developers wont have any clue as to what you as a reviewer feel is the right coding standard unless they know what needs to be followed before they start coding.
  • Dont Accuse:Code review shouldn’t be used to accuse the coder, but to point out the improvement areas in the code.
  • Ask / Discuss: Ask reasons for deviation that have happened than assuming: Its better to let the developers explain the reason for deviation rather than assuming.Lets face it many time there are some theoretically correct statements which cant be possible practically.Hence ask reasons for deviation, understand the developers thought process.
  • Listen: Remember the coding approach you use isn’t like the ten commandments.Just because you feel reaching point C is better by going via point A not necessarily everybody will think the same.Let the developer explain why he felt going via point X was better as per him.
  • Understand: Remember the code review is about the coding style not about you.: Dont get offended if there are any improvement areas in your coding.Keep one thing in mind the person reviewing your code has also gone through the same phase as you currently.and till the time one understands the improvement areas we wont be able to improve and do coding expected by a seasoned developer.
  • Contribute: The coding standards wont contain all the development situations we face under the sun Hence contribution from the developer is absolutely necessary.Just because the person reviewing your code is a TL or PL doesn’t mean he is right all the time.Express your view, understand the reasons why there are improvement areas.Keep one thing in mind we do those things best in which we believe in!!! hence if you do not understand why we are doing certain thing in a certain expected way you will never do it correctly so discuss and understand.
  • Appreciate: Code review isn’t just about finding improvement areas. Utilize it also to appreciate someones coding style/Approach.
    Lets face it whether we like it or not we have to go in for code reviews some because their leaders make it mandatory while some because they understand the importance of code review.As long as code review happens in the right manner and for the right reasons it is always healthy for the complete team.

    Have seen or rather experienced developers who would argue over coding standard violation with pointless reasoning.reasoning that would be treated as childish excuses.Listen and explain to them anyways try and make them understand.Ofcourse in many cases you as a TL/PL need to put your foot down or do a little booting to make the developer sunderstand that crappy excuses wont be tolerated.

    Also one good thing to do beyond the coding standards document of what to do is to create a coding standard checklist for developers to check against as when they are coding.

    Copyright © Shounak Pandit

    These are my views, my thoughts need not necassarily be the same as yours…..

 
 

Tags: , , , , ,

To Chrome or not to Chrome.. Google chrome features

Google has done it again… a product built on the problems of the browser users. 

To get a good idea about the features of the browser visit the features video site. The browser isn’t a complex browser Google  has stuck to its simplicity but effectiveness moto once again and delivered.

The Features list includes:

One of the best feature from the list above is the <Crash Control>. This was the most awaited should have been implemented feature to be implemented in a tabbed browser.
How many times has one gone through situation where one had a hell lot of tabs/sites open in a tabbed browser and one of the site crashed and took the complete browser along with all the other sites down with it. kinda frustrating isnt it? and if you are like me you will have too many windows to multi task..
Google promises it has taken care of this by creating seperate sandboxes for each tabs. people developing code in the .NET environment will know what this is and how useful and a life saver it is. inshort each tab has its own seperate process to handle and service the requests.
Hence if one site/tab crashes the process related to that tab only crashes and not the complete browser process.

Heil Google!!!!

Another great feature implemented is the way the new tab opens.. it will open a tab with the most visited sites icons in it. All one has to do is click on the one of th emost visited sites. else there is also links on  the right hand side in the new tab to click on the new bookmarks added.

A pretty good and well though of feature..usually we visit some sites again and again like our mails, homepage etc which is easily accessible in front of us once we open a new tab.
One more worth mentioning but not on the features list is the <Chromes very own task manager>
It displays the CPU usage / Memory per tab and gives you the power to get rid / kill a rogue tab taking up memory /cpu time and slowing your machine.
To understand the tech behind Google Chrome go through the site explaining the technical details behind Google Chrome Its worth a Read.


© Shounak Pandit
 
Leave a comment

Posted by on September 14, 2008 in Bouncing Wall!!

 

Tags: , ,

Google Chrome the new hottie in the market ..

Google chrome just another browser or the mother of all browsers?

Google has done it again..another product/service in the market that has caught all the attention… yeah there are some negative feedbacks especially by the German media on the same too but hey whats success without some criticism??

The argument they have setup is pretty much the old stuff… personal data going to google with respect to the auto suggest feature explained more in detail here

 Google did bend to the criticism and declared they will anonymise the data within 24 hrs of collecting it..but the speculations will always be there..don’t understand the logic behind it… guys its a open source just dig into the source and satisfy your speculative minds ( if you are upto it 🙂 )…. rather than just barking into the wind…

yeah its a bit risky giving a Beta to inexperience non techie users its like giving a child a Bazooka !! but am sure the Beta isn’t a actual Beta in the scientific terms its definitely a well tested and tried version of the product.we can trust google on this..

 

© Shounak Pandit

 
Leave a comment

Posted by on September 14, 2008 in Bouncing Wall!!, Problem Solving

 

Tags: , , , , , , ,

Howdy Blogosphere!!!!

Have moved to this blog as my previous blog got deactivated 😦 due to lack of blogging !!!! have reposted all my posts from the other blog into here… and hope to blog quite frequently….

 
Leave a comment

Posted by on September 10, 2008 in Bouncing Wall!!

 

Tags: ,

StringBuilder append Vs String Concatenation “+”

For all of you looking for proof that Stringbuilder is faster than the normal string concatenation using “+”

In the following code snippet i have used both the methods and used start time and end time in each method to calculate the Elasped time for each respective method Create a new project and add the necessary labels and the button to check it for yourself.

private void Calculatebutton_Click(object sender, System.EventArgs e)

{

DateTime plusStart;

DateTime plusEnd;

DateTime bldrStart;

DateTime bldrEnd;

string test = String.Empty;

string stringToAppend = “ap”;

System.Text.StringBuilder sb = new System.Text.StringBuilder();

int upperlimit = 100000;

plusStart = DateTime.Now;

for (int i=0 ; i < upperlimit ; i ++ )

{

test += stringToAppend;

}

plusEnd = DateTime.Now;

plusElaspedlabel.Text = plusEnd.Subtract(plusStart).ToString();

plusEndlabel.Text = plusEnd.ToString();

plusStartlabel.Text = plusStart.ToString();

bldrStart = DateTime.Now;

for (int j=0; j < upperlimit ; j ++ )

{

sb.Append(stringToAppend);

}

bldrEnd = DateTime.Now;

bldrElaspedlabel.Text = bldrEnd.Subtract(bldrStart).ToString();

bldrEndlabel.Text = bldrEnd.ToString();

bldrStartlabel.Text = bldrStart.ToString();

}

 
Leave a comment

Posted by on September 10, 2008 in .NET, Bouncing Wall!!, Code Snippets

 

Tags: , , , ,