THE BLOG
Exploration of Thought
Thoughts on autonomy, self direction, digital business and life.
Android & ASP.NET MVC
I've been working on Anroid projects A LOT this last month. I've come to love the android application framework and I've found it rather easy to work with. However, I've found that the docs do need a lot of work. Examples are just that, simple examples. My next task was to get Android to integrate…Donn Felker - August 19, 2009
Auto-Creating Your DB with Active Record
During some recent development the team I was experiencing some friction with databases and developing. We were using Castle Active Record and we soon realized that as new people joined the team, left the team (rinse, wash, repeat), db changes occurred in the Active Record Schema etc, that the set up time to going was…Donn Felker - July 13, 2009
ASP.NET MVC – Windsor Container Controller Factory
Here is a simple class that allows you to use a container to register and resolve your instances of controllers. You’d want to do this if you inject dependencies into your controller via constructor injection. Controller Example: public class AdminController : Controller { private readonly ILocalDbManager _localDbManager; public AdminController(ILocalDbManager localDbManager) { _localDbManager = localDbManager; }…Donn Felker - July 10, 2009
Unit Testing you Container Dependencies
When developing with an inversion of control container (I use Windsor) its sometimes difficult to detect if your instances in your container are creatable or not. A lot of times this is determined when you run the app, you’ll get an exception informing you that your object does not have all of its dependencies fulfilled.…Donn Felker - July 10, 2009
A True Life Git Story …
Recently I took a trip to South Carolina (which was a ton of fun). We ended up in a place which isn't known for its high speed internet … and a WIFI signal could not be identified for nearly nearly 15 miles (I know because I had a WIFI detector enabled on my G1 when…Donn Felker - July 7, 2009
Running Your Android App on a Device
I’m impressed with the Android Dev Guide. It’s fairly comprehensive guide, however, I can say from personal experience that the Dev Guide is not complete in all areas. One key example is the section on developing on a device. I followed the instructions exactly. The last couple of lines state the following: You can verify…Donn Felker - June 29, 2009
Could Not Import Contacts Into G1 From CSV…
This is one of those blog posts that simply exist for the simple reason that if I run into this issue again I can find it later (and hopefully someone else will find it and it will help them too). I recently got a new G1 and I exported my contacts into CSV from my…Donn Felker - June 26, 2009
Twin Cities Pragmatic/ALT.NET Beer Tomorrow
Tomorrow we have another Twin Cities Pragmatic Beer event at the Herkimer in Minneapolis (Uptown). Another name for this same event is the Twin Cities ALT.NET Beers. For more information on where the Herkimer is and what time things are going to get going, see the site here. See you there.Donn Felker - June 24, 2009
LINQ: Single() vs First()
Continuing on my path to LINQ greatness, I want to cover another topic that some people get confused over: LINQ’s First() vs. Single(). Both perform a particular task for us, but just by looking at the name you’d never know which one performed the action that you expected. First() returns the first element in a…Donn Felker - June 23, 2009
LINQ: Any() vs. Count()
In most code that you find that uses lists you will find something like this: if(products.Count() > 0) { // Do stuff } Personally, I’ve seen this literally thousands of times. While this works and gets the job done, there is one issue with this method. It enumerates the entire enumerable collection. What if you…Donn Felker - June 22, 2009
Beginning Google Android Development
My wife and good friend have a G1 and I’m absolutely in love with the damn thing. I plan on getting one soon, however I’ve read a lot and some people are saying to wait for the MyTouch. However, this does not prevent me from getting my hands dirty with some Android development. Since I’m…Donn Felker - June 19, 2009
Hangin’ in the Lounge
I’ve death with numerous different advertisers and such over the few years I’ve had my blog. Just recently I spoke with the guys over at the Lounge and we decided to work together. I needed a low maintenance advertising system that could help with the monthly costs of the blog, they needed another person to…Donn Felker - June 19, 2009