Posts categorized 'Development'

Help Me Become a Keyboard Ninja

A couple months ago I posted my new years resolutions and one of them was to be more proficient in mouse-less computing. It's hard to get motivated on your own to do this and the best way I've become better is by pairing. A pair partner is always good at reminding you that you are using the mouse a lot...

Continue reading "Help Me Become a Keyboard Ninja"

Installing ADT Plugin in Eclipse 3.5.1 (Galileo) on Ubuntu 9.1

I just picked up an Android powered phone and hit a roadblock getting my environment set up. Googling the error didn't come up with anything useful so hopefully this helps a few people out. Since it's been ages since I've done anything in Java I needed a checklist to help me get started. I found this...

Continue reading "Installing ADT Plugin in Eclipse 3.5.1 (Galileo) on Ubuntu 9.1"

My Developer Resolutions For 2010

Well, I did one of these last year and it helped give me some focus thoughout the year so I'm going to try it again. First off, here are some follow-ups to my resolutions of last year: Learn A New Build System - Learning a new build tool is not really something that you set out to learn I guess. The...

Continue reading "My Developer Resolutions For 2010"

Contextual Lessons in DDD

Agile Vancouver is nearly over and after the bus ride home I had a great real world example of where Eric Evans' discussion on contexts in modelling was quite apparent. On my CBC messenger bag I have some buttons from some music artists I like. One of the buttons is for an artist named Ben Lee and the...

Continue reading "Contextual Lessons in DDD"

Introducing Secretary.Net

Like most OSS (Open Source Software), the creation for Secretary.Net was the result of the major pain I was having with my current work. The CBC Radio 3 website is very file and context heavy. The idea of a path to an image is meaningless without context. Is it the image for an Arist? How about a Concert...

Continue reading "Introducing Secretary.Net"

Riding The Lines-Of-Code Rollercoaster

Lines of code has always been a poor guide in measuring developer productivity. I'm currently reading Scott Rosenberg's Dreaming In Code and came across and interesting quote.

"Atkinson [ed: Bill] had just completed rewriting a portion of the Quickdraw code, making it more efficient and faster. The new version was 2000 lines of code shorter than the old one. What to report? He wrote the number -2000" -- Rosenberg

I couldn't help but smile when I read that. I have felt that some of my best coding successes are when I eliminate lots of code. This probably pushes Test Driven Development (TDD) as a great practice even further. Lately I've been a bit stricter by doing TDD. This means that I'm writing a lot more code, but as I get my tests passing I start refactoring and remove much of the code that's written. For every couple hundred lines of code I write, I eventually remove 50-80% of it as I glean knowledge from all the code I previously wrote.

It appears that LOC Rollercoaster development is an artifact of TDD and it's a great ride!

Continue reading "Riding The Lines-Of-Code Rollercoaster"

Unit Testing Domain Persistence With NDbUnit, NHibernate and SQLite

Ever since I've begun using NHibernate the number one thing that's caused me a lot of headaches is learning how to properly map my domain objects. Even the most basic mappings I wrote had bugs simple because I overlooked trivial items. This made me realize that I could save a lot of time and hassle if I unit tested by data access layer.

Continue reading "Unit Testing Domain Persistence With NDbUnit, NHibernate and SQLite"

When 1 Does Not Equal 1, A Debugging Tale

I'm starting to get comfortable with NHibernate but I've been cowboy coding it without any testing framework to let me know if my mappings are really doing what I think they are doing. I'm starting to get tired of manually interacting with my applications to see if things work so I've begun the course...

Continue reading "When 1 Does Not Equal 1, A Debugging Tale"

My Developer Resolutions For 2009

I've never made any New Years resolutions before. This year I'm going to break that trend simply to create a checklist of tasks to keep me on track. I easily get distracted, but having to check things off a list is a sure way for me to stay focused. Not wanting to over do it, I made goals that are easily...

Continue reading "My Developer Resolutions For 2009"

Wrestling with NAnt, MySQL and Input Scripts

I'm writing an automated database build for a project I'm working on and wanted to avoid having to write batch scripts with paths that are tightly coupled to the build environment. I managed to write out the NAnt targets exactly the way that I wanted: <? xml version ="1.0" ? > < project...

Continue reading "Wrestling with NAnt, MySQL and Input Scripts"

Options:

Size

Colors