Sunday, December 29, 2013

Non-Technical books that every technical person should read



Above books has been added to my list

Must Read
1.   The Seven Habits of Highly Effective People - By Stephen Covey
2.   8th habit: from Effective to greatness - By Stephen Covey
3.  Getting Things Done - The Art of Stress-Free Productivity - By David Allen
4.  The Now habit - A Strategic Program for Overcoming Procrastination and Enjoying Guilt-Free Play
5.  Greatest Salesman in the world - By Og Mandino
6.  Think and grow Rich
7. Crucial Conversations: Tools for Talking When Stakes Are High
8. You can win - Shiv Khera
 2. Leadership wisdom - Robin Sharma
3.  Decisive - Chip Health & Dan Health
4.  Switch - Chip Health & Dan Health
5. Made to Stick - Chip Health & Dan Health

Good Read
1. 4 hour work week - By Timothy Ferriss
2.  The 4-hour body - By Timothy Ferriss
3. The 80/20 Principle: The Secret to Achieving More with Less - By Richard Koch
4. Kiss that Frog
5. Never Eat Alone: And Other Secrets to Success, One Relationship at a Time
6. The monk who sold his Ferrari - Robin  Sharma
7. The Power of  your subconscious mind - Joesph Murphy
8. the gifts of imperfection  - Brene Brown
9. Daring Greatly - Brene  Brown

Thursday, December 12, 2013

Training Notes



1. Test double are very good substitutes for Mock. Mocking  has a big learning curve and makes it difficult for people new to TDD to adopt it.

2. Design meetings can be used to make software more testable and better.

3. Database based tests can be made faster by having subset of dataset.

4. We need separate libraries for Unit and Integration Tests

5. Open/Close principle can reduce regression testing


Wednesday, December 11, 2013

TDD Cycle

1. Write a failing test
2. Get it to compile but fail
3. Get it to pass
4. Refactor to the best code that you can write

Tuesday, December 10, 2013

Switch is bad.

Switch statement in c# code is bad smell.
It should be replaced by strategy pattern.
It doesn't allow us to implement polymorphism which is a key concept of oops

Open/Close Principle can be great

Open/Close principle is one of solid principles.
It states that class should be closed for modifications but open for extension.

If followed properly, it can reduce regression cost greatly and improve the quality of code.


Thursday, December 05, 2013

Machines are taking over the world




Is there a 'dark side' to Amazon drones, Google robots?
http://www.usatoday.com/story/tech/2013/12/05/drones-amazon-google-robots/3880409/

Amazon CEO Jeff Bezos showcased a drone delivery system called Prime Air on 60 Minutes this past weekend. The idea is that package below five pounds can be delivered straight from Amazon distribution centers to customers within 30 minutes using drones.

We learned this week that Google acquired seven robotics companies , which according to a New York Times report , “are capable of creating technologies needed to build a mobile , dexterous robot. “
Google has been experimenting with driver less cars, and is actually running a same-day delivery service in California, so it is definitely interested in human less logistics for lack of better term
 Google’s Andy Rubin, the engineer behind the Android operating system who is now heading up the company’s robotics effort said “I have a history of making my hobbies into a career”
Google co-founder Larry Page , who has argued that technology should be deployed to free humans from drudgery and repetitive tasks.


Wednesday, December 04, 2013

How writing can change your life

http://www.lifehack.org/articles/lifestyle/how-writing-things-down-can-change-your-life.html

1. It clears your mind for higher-level thinking
2. It helps you process your emotion
3. It give you a record of past
4. You gain a sense of achievement
5. It helps you think big
6. It makes you more committed.

Tuesday, December 03, 2013

Amazon to use drones for delivering products on same day

Apple is acquiring twitter data analytic company
Healthcare. Gov has solved scalability problem. It can now handle 800000 visitors