Archive for April, 2009

Great Links

April 28, 2009 Leave a comment

Karl Seguin has done some good analysis on the stages of unit testing. I stole the and content and copied the full post to my blog (because I enjoyed reading every line/stage of it…). I have experienced every stage except the elusive stage 7 :-).

  1. Refuse to unit test because "you don’t have enough time"
  2. Start unit testing and immediately start blogging about unit testing and TDD and how great they are and how everyone should do it
  3. Unit test everything – make private methods internal and abuse the InternalsVisibleTo attribute. Test getters and setters or else you won’t get 100% code coverage
  4. Get fed with how brittle your unit tests are and start writing integration tests without realizing it.
  5. Discover a mocking framework and make heavy use of strict semantics
  6. Mock absolutely everything that can possibly be mocked
  7. Start writing effective unit tests

Original post

UI Prototyping with Microsoft Expression Blend 3 (Sketch Flow), looks promising. I need to check this out.

Prototyping with SketchFlow via Arjan’s World

Categories: Great Links

Saving changes is not permitted – SQL Server 2008 Management Studio

April 27, 2009 Leave a comment

I ran into an error in SQL Server 2008 Management Studio when I tried to disable the Identity Specification on a column. It is a default setting problem, flipping the setting made it work. May be it makes more sense on a production system. But then Fool-Proofing everything will result in an unusable product. This is a perfect example.

Saving changes is not permitted. The changes you have made require the following tables to be dropped and re-created. You have either made changes to a table that can’t be re-created or enabled the option Prevent saving changes that require the table to be re-created.

Read more in Rick Strahl’s blog here

Categories: Great Links

Making of the Butterfly

April 27, 2009 1 comment
A man found a cocoon of a butterfly. One day a small opening appeared. He sat and watched the butterfly for several hours as it struggled to force its body through that little hole. Then it seemed to stop making any progress. It appeared as if it had gotten as far as it could, and it could go no further.

So the man decided to help the butterfly. He took a pair of scissors and snipped off the remaining bit of the cocoon.

The butterfly then emerged easily. But it had a swollen body and small, shriveled wings.

The man continued to watch the butterfly because he expected that, at any moment, the wings would enlarge and expand to be able to support the body, which would contract in time.

Neither happened! In fact, the butterfly spent the rest of its life crawling around with a swollen body and shriveled wings. It never was able to fly.

What the man, in his kindness and haste, did not understand was that the restricting cocoon and the struggle required for the butterfly to get through the tiny opening were God’s way of forcing fluid from the body of the butterfly into its wings so that it would be ready for flight once it achieved its freedom from the cocoon.

Sometimes struggles are exactly what we need in our lives. If God allowed us to go through our lives without any obstacles, it would cripple us.

We would not be as strong as what we could have been. We could never fly!

I asked for Strength………
And God gave me Difficulties to make me strong.

I asked for Wisdom………
And God gave me Problems to solve.

I asked for Prosperity………
And God gave me Brain and Brawn to work.

I asked for Courage………
And God gave me Danger to overcome.

I asked for Love………
And God gave me Troubled people to help.

I asked for Favours………
And God gave me Opportunities.

I received nothing I wanted ……..
I received everything I needed!



Categories: Inspirational Stuff

Currently reading – Zen Mind, Beginner’s Mind

April 21, 2009 Leave a comment

Here is a quote to keep our humility, “In the beginner’s mind there are many possibilities, in the expert’s mind there are few” – Shunryu Suzuki

A quote from the book which I am Currently reading Zen Mind, Beginner’s Mind

Categories: Zen

Talking about “Great Performances in failed projects”

April 21, 2009 Leave a comment

PAWEL BRODZINSKI is talking about “Great Performances in failed projects”. It is very nice read, especially if you had been in one 😉

Bridge the Distance has a good entry on Building trust in virtual teams. Read here

Categories: Great Links

The 90/10 Principle

April 16, 2009 Leave a comment

My colleague Deepak Khandelwal shared this in an email with me. Its an article about choosing our attitude. Read it here The 90/10 Principle.

Categories: Great Links

Seek First to Understand, then To Be Understood

April 16, 2009 Leave a comment
Categories: Great Links