Working from home

I used to  have a job where I was regularly able to work from home about 1/2 of the time.  I liked it because:

  • I felt I was more productive.
  • I got about an extra hour in my day because I didn’t have to commute to the office,
  • And, on my breaks, I got to help my wife who was injured on her job and is not able to do a lot of the things that she used to be able to do.
  • My work-life balance improved significantly.

So recently I had worked from home because I had to meet the air conditioning repair guys and I asked my new boss if it was OK.  He replied that it was OK this time, but that I cannot do it anymore because of company policy.

I know this was the deal when I was  hired, but it seems so last century, so I did a little research and found this recent article in Business Week that supports my feelings.

I like that the article says ““The whole point of teleworking, from the employee’s point of view, is the ability to fit one’s work into the rest of one’s life, not the other way around, as is the case in the ‘traditional’ office.”

I found another list of benefits on that include:

    • Saved $$ on commuting costs.  (car, gas, oil, etc)
    • Reduce the environmental pollutants

All that being said, it is not for everyone.  Here is are a few of the top reasons from US News ( that are valid reasons you might not be able to work from home:

    • Easily Distracted
    • Lack of motivation
    • You have to be there in person.
    • Lack of focus.

Here are some other articles to consider if you want to allow your employee’s to work from home.



Ninject – Dependency Injection

I wanted to learn about Inversion of Control and Dependency Injection.  I found a few good videos on YouTube and a nice tutorial on a blog.  The Blog Post was in two parts:

Part 1:
Part 2:

Here are the links to the YouTube videos that I found that were helpful:

Tekpub Concepts: Dependency Injection and Inversion of Control
Setup Ninject for ASP.NET MVC – .NET In 60 Seconds  – This is a good example of how you would use it when doing MVC programming.

I was so excited after this, that I found some old code and used Ninject on it.  I had to re-factor the  code and extract some  interfaces, then I set up a simple bind statement and everything just worked!  VERY COOL!

Have fun and I hope these links will help you learn Ninject dependency injection.

Learning about SOLID programming principles

I have been learning about SOLID programming principles and I wanted to share the resources that I have found.

First, I listed to the father of these principles describe them on the Hansleman show.  This post obviously caused a few ruffled feathers and for fun, you must listen to show #150 to hear some of the aftermath from Uncle Bob.

Then I found a great youtube video of Steve Bohlen from Microsoft show examples in C# on how these principles can be implemented  and what to look for.  

Lyndsey and Cale’s Wedding

Well, my daughter got married in November and here are some links to  some of the fantastic pictures that Jessica Nadine Photography did .

A few of the engagement photos.

Some from the wedding.

Don’t use admin for your wordpress blog

Today, I removed the “admin” user from my WordPress blogs.  There is a bot that is hacking passwords by “Brute” force.  That means that they are using “admin” and a dictionary of passwords and trying millions of times, until they gain access to your blog.

My password keeper, LastPass, has more information about it in this blog post.

Also, the Matt, the creator of WordPress has information about how to change it on his blog

ToQuarter C# DateTime Extension

I searched on the internet for a quick way to get the Quarter from a DateTime, but I didn’t really find anything useful, so I created this quick extension that seems to work great!  I just wanted to share this to save someone time so they don’t waste the same amount of time that I did.  I am thinking about putting together an open source library to handle many other things like this, what are your thoughts about this?