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

Sunday, November 24, 2013

Is .Net boredom good for developers



Is .Net boredom good for developers?
Yes, it could be.
Last five years, I have read more books, articles and blogs on personal development, management, planning, self-help, Communication and Presentation skills.
It has helped software developers like me to pick up soft skill and appreciate soft and human side of technology.
It is not technology that matters but people do.

Is .Net boring now?



Is .Net boring now?
Short answer is yes and no.

Rocky wrote a nice mail on future of .Net
.Net and JavaScript is losing its trendiness. JavaScript looks to be trendy (CoffeeScript or TypeScript).
Client Devices:
We have consumer and business apps
Consumer Apps               
Apple, Google and Microsoft platform and development tool has good future. JavaScript is a possibility.
Consumer apps are a niche market compared to the business app space.
Business Apps
Business wants software that can build and maintained cheaply as possible. Rewriting the application to get a “native experience” does not seem viable.
Microsoft wants us to write us software cross platform JavaScript apps.
Today JavaScript is pretty hard because of differences between browsers and between browsers on different platforms.
JavaScript code may take more time as compared to .net/java but it is only hope for applications to work on Apple, Google and Microsoft Platform. It may be worth it.
JavaScript is like VB 3 in the early 1990s (or C in the late 1980s). It is typeless and primitive as compared to modern c#/vb or Java. To overcome  this it relies on tons of external  components.
JavaScript apps never go into a pure maintenance  code. Browsers and underlying operating systems , along with the numerous open source libraries you must user are constantly version and changing , so you can never stop  updating your app codebase to accommodate this changing landscape .

Server Software
So from a server software perspective , I think .Net and Java  have a perfectly fine future , because the server-side JavaScript concept is even less mature than client-side JavaScript.

Saturday, November 09, 2013

14 signs that your perfectionism is hurting you


It is okay to be okay.

Be expert in your core competency or skill  and be okay in others.

http://www.huffingtonpost.com/2013/11/06/why-perfectionism-is-ruin_n_4212069.html?utm_hp_ref=mostpopular



Wednesday, October 23, 2013

Thought of the day : know your application choking points

I was reading yesterday that government healthcare websites crumbled because users  have to create their user login and password to even browse the website.
This process was going through some gateways that caused the congestion

One should always know the bottlenecks in the application.

Own the best profiler and know what are the weak points.

Have solutions for those weak points.

Know the traffic and concurrent users to your website

Thursday, October 17, 2013

My 2103 Resolution Status


1.  PMP Certification (On Target)
2. Six Sigma Certification (Postponed to next year)
3.  Maintain proficiency in C#, Web technologies and Agile Practices(On Target)
4. Keep learning  Arduino and Objective C technologies. (UnderPeform)
5. Maintain Work and Life balance (On Target)

Saturday, October 12, 2013

Fail you way to success



Nice post by Scott Adam

http://online.wsj.com/article/SB10001424052702304626104579121813075903866.html

Forget passion. Goals are for losers. Suffer defeat. Lots and lots of defeat.

The are opening lines of WSJ Article by Scott Adam, Creator of Dilbert.

Lot of successful people give advice “Follow you passion”.
As a loan officer , Scott Adam learnt that one should never make a loan to someone who is following his passion. For example, you don't want to give money to sports enthusiast who is starting a sports store to pursue his passion for all things sporty. He is a bad bet. He is in business for wrong reasons.
Some bankers will prefer to give loan to guys who have no passion but desire to work hard at something that looks good on spreadsheet.  e.g dry cleaning store or fast food franchise boring stuff.
Success generally causes passion rather than passion causes success.

If you never achieve goal, you don’t try anything. On the other hand, if you achieve you goal, you will bored or you will create new goal.


Your job is not your job: your job is to find a better job.  You need to have a system rather than be goal oriented. the system is to continually look for better option.
System can withstand failure and helps you to shift focus to another attempt.
Failure is where success like to hide in plain sight. Everything you want out of life is is the huge , bubbling vat of failure. The trick is to get the good stuff out.

Saturday, May 18, 2013

How to get others to see your potential

Nice Post by Dorie Clark

http://blogs.hbr.org/cs/2013/05/how_to_get_others_to_see_your_potential.html?utm_source=feedburner&utm_medium=feed&utm_campaign=Feed%3A+harvardbusiness+%28HBR.org%29&utm_content=Google+Reader


How to get others to see your Potential

  • Create Content. Write blogs, tweets, podcast, video-casts that demonstrates your expertise. Creating solid contents reminds people of your new skills and knowledge.
  •  Leverage social proof. If you are going to bother getting involved with a  professional organization, you should make a point to take leadership role, because the social proof of being seen as a leader will have exponential benefits.
  • Find a wingman . Nobody's like a person who self-promotes. Find a like minded person  who scratch your back and you scratch his.

What is future of .Net



Nice post by K. Scott Allen

http://odetocode.com/blogs/scott/archive/2013/05/15/where-is-net-headed.aspx


  • Azure has become successful. Cloud computing  is more abstract over windows computing
  • Windows 8 Bombed
  • More innovations  happening in open source rather than in .Net Technology

Time to start looking  beyond what Microsoft offers for .Net Technology.