This is a bullshit slider!

There really isn't anything to see here.

What was on that first slide?

It doesn't matter!

You've come this far.

Thats the end.

Sunday, August 24, 2014

No Entity Framework provider found for 'MySql.Data.MySqlClient' ADO.NET provider. Make sure the provider is registered in the 'entityFramework' section of the application config file.

Upgrading to EntityFramework6 has been a nightmare. There has been almost no useful documentation for how to get everything up and running with MySql. I downloaded the connectors, the MySql plugin for Visual Studio, and Entity Framework 6.1.1. Still, I kept receiving this error:

"No Entity Framework provider found for 'MySql.Data.MySqlClient' ADO.NET provider. Make sure the provider is registered in the 'entityFramework' section of the application config file."

The problem here was that I had two different projects in my solution file. One was the source code, one was tests. The test project was not importing the same dependencies for MySql.Data that the source code had. The solution I did was the following:

  1. Right click on the Solution (top level in the solution explorer)
  2. Manage Nuget packages for solution
  3. Go to Installed tab
  4. For all of the EntityFramework related packages (MySql.Data, MySql.Data.Entities, MySql.ConnectorNET.Entity and MySql.ConnectorNET.Data), select them then select the "Manage" button.
  5. Enable each package for all projects.

Tuesday, August 19, 2014

EDMX Fix - An exception of type 'System.ArgumentException' occurred while attempting to update the database."

If you are connected to a MySQL database and you're trying to re-populate an edmx file from the database tables and you receive this error, it means that you are missing the following plugin:

You should already have the MySQL Connector plugin for VS2013 if you reach this point. That's all you need to get connected and get updated.

Wednesday, June 18, 2014

Bill Gate's Bookshelf

I find the best way to improve yourself is to find role models. People who have done what you want to do, whose footsteps you can follow in. Not to discredit those who go their own way, as it can be just as rewarding, but to highlight the works of savants.

Monday, June 9, 2014

ng-options 50 states $scope variable

$scope.states = ["AL","AK","AZ","AR","CA","CO","CT",
          "SD","TN","TX", "UT","VT","VA","WA",
          "WV","WI", "WY"];

Monday, June 2, 2014

Google Authenticator lost phone workaround

This won't do much good if you have already lost your phone, but if you still have it and want to take extra precautions for the potential loss of your phone, check out the backup codes that Google offers. These will allow you to gain access to your account even after your phone has been lost.

Friday, May 30, 2014

How to do null-safe Integer comparison in Java

result =, secondComparable)

commons-lang3 has a useful null-safe compare method between two Comparables. This comes in-handy for non-primitives like Integer, Long, Boolean, etc.

Thursday, May 29, 2014

How to comma delimit list of strings in Java