The "I" in Team

We often hear the expression, "There is no I in team!" Let's take another look at that. Where are the I's in team? To me, the first thing I think of is the individuals that make up the team. Some “I's” that are associated with the individual are individuality, initiative, imagination, insight and intrinsic motivation.

I know some of you are going to find this hard to believe, but individuals don't always agree on everything all the time! Individuality and respectfully differing opinions should be welcomed on the team. It makes us stop and think about why we should take one approach and not another. We have some creative people on our teams, so we shouldn't be surprised that there will be multiple (noncompatible) solutions offered. Perhaps we can splice and merge together from the solutions offered to create an even better solution!

It will help in these times of differing opinion to consider that the other person, like us, is working toward the same common goal. A shared vision for a common good has been embraced by the team. It is important that there be open, respectful communication within the team since there will be people with differing personalities and skill sets. In a team setting like this, we come to expect that individuals who are subject matter experts will work with other members to achieve the common goal and to mentor and help them grow as well. The individual is truly valuable in what they bring to the overall health of the team.

Our team members show initiative! If they spot or think of a potential problem, they will bring it to the manager’s attention and most likely already have thought of a solution. Individuals bring value to the team when they've exercised initiative to find a better way of completing a common task and share it with the team. For instance, if a team member demonstrates to the team a refactoring feature, or does something with an advanced language feature, the whole team benefits.

One of the most valued aspects of the individual is his or her imagination. Software development is a creative endeavor, especially UI design. The UI designer must think about how a user will interact with the software, keeping in mind principles such as "least surprise" and "expected default" and presenting a visually pleasing interface. The business layer developer must think about how the classes will work with each other and consider where inheritance and polymorphism make sense. The difficult part for managers is knowing when and how to interject their own individual view on the solution.

Our team members bring valuable insight into our business processes. It is especially true that, in information technology, our development teams gain a deeper insight and understanding of the business practices the longer they have been with the organization. Oftentimes this insight can answer the question, "Why?" Be sure to create an environment that fosters true teamwork, pairing and cross training among all people on the team.

This individual we have been discussing is also likely intrinsically motivated to achieve his or her job goals and to continue professional development, while being a professional and doing high-quality work. Software standards and processes can be mandated and taught. However, until they become an intrinsic part of the individual’s personal software process, the team will not see the benefit.

A team is not merely the sum of the individuals that make up the team. I believe when you look at truly productive teams, you will find an environment of communication and shared vision working toward a goal of common good.

Authentic Dialogue

When I am talking with someone and I don’t understand or know the term/idea they are using, I say so!  Yes, there is some feeling of vulnerability.  However, the honest communication will lead to a more authentic relationship which hopefully translates into a more productive and enriching exchange.

Living in “the fake” will wear you out.  If you don’t know or understand, say so!

-- the truth will set you free!

Gut Alignment

Ok, so back to this coffee pot.  It is just too nice to give up on it.  So after another read of the manual and not learning anything from that, I looked at the coffee pot.  I tried to leave my preconceived notions of how it should work behind.

After some study of how I thought the filter should go in and how it sort of worked, I tried something different.  I noticed a “trough” of sorts at the bottom of the basket.  This time, I rotated the filter 90°.  That made all the difference in the world.  The filter now fits snugly into the basket and all is right with the world.

So, when I let the coffee pot reveal itself to me I gained insight and now there is a symbiotic relationship!

In our relationships and work environments it is important to try and understand the motivations of our employees, employers and customers.

For instance, reflect on what is important in life to you, your values.  Then consider the goals of your employer.  If there isn’t some alignment it is likely that you won’t be happy there.

Bad coffee pot! X^(

I know, I know! Back to the coffee pot. We were trying to make adjustments to the process and having trouble. The management (my wife) noticed the problems I was experiencing. Most noticeable were the backed up coffee and grinds overflowing onto the counter.

So, we were losing time, precious resources (beans), creating a mess and had nothing to show for it. Management said, enough!

The coffee pot was removed and we went in search of a replacement. We ended up with a high quality (and high initial expense) specialized single cup brewer. This works out really well since I am the only coffee drinker in the house.

I've gotta say, after the team metaphor with the last post, my team was really dismayed to hear that the coffee pot got swapped out! The moral of this post is therefore left as an exercise to the reader.

New Team, New Rules

I have had my old coffee pot for years.  It uses a basket filter.  I grind my coffee beans right before brewing.  Over time I had figured out the proper amount of beans and the correct granularity of the grind.  The result was great coffee every time! :)

My wife recently got me a new coffee pot.  It is much nicer with features like a clock, timer and higher capacity pot.  The new machine uses #4 filters instead of the basket style filters.

So, I followed the instructions for doing the initial “cleaning” runs.  I went to make my first full pot of coffee and I used the amount of coffee and the granularity that I have been used to using.  Then I heard the sound of coffee on burner.  What?  The grounds had gotten up and around the filter and clogged the dispensing hole.  :(  I chalked it up to the shorter filter.

Tried another full pot on another day with a new improved bigger filter.  Similar result, grounds in my coffee.  No bueno!

Then it occurred to me, I was grinding finer than “drip” granularity and this was causing the problem.  Maybe the cone style basket doesn’t need as many grounds either.  I guess I’ll have to check the manual!

As always, I’m thinking of how do these lessons translate to software development?  To me, I pull away that we can’t use the same procedures we’ve always used when we have a new environment.  In this case the environment consisted of the coffee maker, water, filter, beans and grinder.  (Let’s not consider condiments!)  Change any of these critical components and you can’t expect the same results.

So, if your team changes, your management changes, the tools you use change, etcetera, expect that your process must change as well.

Transference of process or technique

You know how you're always hearing about work-life balance.  It really is a good idea.  You can pull from experiences in "outside" activities to enhance your software development skills/process.

What?

When you participate in other activities like camping, hiking, bicycling, toastmasters, painting, etc you learn new techniques.  You gain insight into that activity that you can likely bring to your software development practice.

Give me an example

For instance, you're into bicycling.  You've picked up different bicycles for different types of terrain/activities.  You've added various accessories to your bike to make the experience more enjoyable.  You carry a back up tube and air pump for emergencies.  Water and a power bar and gel are along for the ride as well.  You've come to realize that you can go farther and faster over more difficult terrain when you're riding with a buddy.  After training for a while you are stronger and have better riding technique, know the bike better and how to adjust gears for the terrain.

Reflecting on the above you ask yourself:

  • Do I have or use different tools for different projects?
  • What accessories can I add to my development environment to make the process more enjoyable?
  • Where's my development safety net?
  • What do I do to keep going while I'm developing?
  • How can a buddy help me go further and faster creating software?
  • Am I better developer now-- that is, do I have better technique now? Do I know my tools better?
  • What would it mean for me to "shift gears for the terrain" in terms of software?

Summary

In summary, that work-life balance/outside activities can make you a better developer.

I encourage you to evaluate your experiences from other activities and bring that knowledge to your software development craft.

Vista Gadget for following the Missouri House

Over the holiday break I updated my Missouri House Vista Gadget for the 2009 Legislative session.  This gadget has links for frequently accessed pages on the Missouri House web site

This session there are also three new custom Google search tools added as well.  The Legislative Search indexes the combined sites of the Missouri House, the Missouri General Assembly and the Missouri Senate.  The RSMO search indexes the Revised Statutes of Missouri.  The Constitution search works through the Missouri State Constitution and the Preamble.
Please use the gadget forum or Twitter to let me know how the gadget works for you!
image

We've come a long way, baby! (TabletPC's)

This post is in response to a blog post by Jim Lehmer.

Why/how do I use my Gateway M-285 Convertible?

I use the tablet in slate mode when reading or annotating PDF's, going through email, going through RSS feeds with Google Reader.  Having a Tablet PC comes in handy with drawing applications.

With PDF Annotator you can mark up and annotate a PDF.

I use the Grab and Drag add-on to FireFox so that I can use my stylus for sliding the page I'm viewing up and down.  Using Google Reader in "expanded view" mode with the slate configuration you can quickly and easily go through lots of feeds while sitting on the couch.

With Tablet Extensions for Outlook (TEO) you can use the stylus to easily create and send emails and appointments, etc in slate mode.

As far as keeping the screen clean, it really hasn't been an issue for me.  When I notice that it's getting a bit too smudged up, I'll pull out the cleaning cloth (magic 3M fabric) that's included with most (all?) Tablet's.  Or I'll just use some screen wipes.

Sure, I'll agree, that the current generation of machines still is lacking in the pen on paper feel.  However, I'm sure we'll get there.  Years ago I used a special stylus from Cross on my PDA and it had a great feel.  It was a bit unsettling how it wasn't smooth.  At least today's styli like those in the M285 aren't itty-bitty toothpicks anymore.  Some devices even have an electronic "eraser" at the other end of the stylus, like on the M255.

When you are meeting with a client, or you're in a setting where you're taking notes, slate mode with handwritten notes is the way to go.  Other people aren't distracted by the keys clicking and you've removed the physical barrier that the screen creates.  The technology blends into the background, letting you focus on what you're really trying to do.

Many people are much faster typing than hand writing.  So why do they take notes on paper in meetings?  Because it's more natural?  It doesn't get in the way?  It's less constraining?

Enter the killer app for the TabletPC - OneNote.

If you take your notes with OneNote you can easily add in more space to the page - even in the middle!  Not something you can do with pen and ink.  Keep the pen toolbar handy and you can easily change between pen types, colors, and widths.  Or pick up a highlighter.

With OneNote you can do handwriting recognition & search.  OneNote will do conversion from handwriting to text.  Yes, it's not 100% perfect.  You can correct it, but I've found it's best just to leave it in handwriting.  Why do you need it in text?  Odds are you don't.  So, after a meeting I'll often email notes out to participants in handwriting.

OneNote also offers voice recording & search within the audio.  Although, the practical aspects are such that I don't use this capability.

A feature I do use is image search.  You can snap a picture of a white board or scan a document in and you can search the text within the image!

One Note offers some integration with IE and OutLook.  Send documents from IE to OneNote.  Create OutLook tasks from within IE.

I'm just going to gloss over this, but OneNote notebooks are shareable via network drive, USB Flash Drive or SharePoint.

So, use OneNote just like all of those paper notebooks and notepads you have laying around and get everything in one place that's searchable, shareable and malleable.

There are other features of the application I haven't touched on that make OneNote just as home on a traditional laptop or desktop computer.  You owe it to yourself to check it out!

Prior blog posts that mention TabletPC's & OneNote:

How our Dev team uses OneNote

Tablet PC Head to Head

Developer Tool- Digital Camera

Who maintains the burn chart?

jamescarr asks random agile question: who should maintain/update the burn-down, customers or developers?

In an ideal world, the developers mark completed and the customers mark accepted/rejected.

This information is then reflected on a stacked burn-down/up chart like in projectcards.

Of course in (my) reality we schedule our iteration and often end up with quadrant I stuff that gets thrown into the mix along the way.  So what you see down below is iteration story churn.  We're a small team with many projects going at once.

Often the PM serves as the customer proxy and updates the status of tasks reflected in the burn-up/down charts.  It is important to note that the PM really does check the product and verify acceptance with the customer.

clip_image002

The browsers in my life

In the post I'm going to cover which browsers I'm currently using and why.  I do try and check out a variety of browsers so I can I see what features are out there and how our users may be viewing our sites.

Chrome

I like the process separation.  This is especially nice when you have a lot of tabs open like when you're surfing eBay.  The clean UI and speed of this browser are also very nice.  I really like the "new tab" feature that picks up on your frequented sites.  On the downside are no extensions/add-on's.

Safari

I really liked this browser when it came out.  Again the speed and clean UI were very appealing.  On the downside, no extensions and really super annoying Apple updater that wants to give you iTunes and QuickTime and Open Office!  Hey, I'm a fan of open source, but you can't just install stuff on peoples machines!

Internet Explorer

Using IE7 and IE8 beta 2.  Need to make sure our sites work with the browser most of our visitors use.  On the plus side I can wedge in the Google toolbar.  IE8 seems to be nicer.  It's a recent install for me, so I can't really say a lot about it.

Mobile Internet Explorer

I do check our PDA page with the IE browser on my Windows Mobile 6.1 smart phone.  I also check the couple of pages that link off of that.

Flock

This is an interesting browser in that it tries to integrate social networking, email and blogging into the browser.  The end result is a funky, distracting, somewhat awkward and cluttered interface.   On the plus side you can use Firefox extensions with it.  This browser just didn't "work" for me.  The UI seemed confusing, forced and cluttered.

Firefox

Firefox is my browser of choice for most of my surfing needs.  Why?  Extensions and the user UI customizations that are possible.  I'm using the Google toolbar add-in.  I've installed the "better" gMail and Reader extensions.  I've found add-on's that change the appearance to something I like a bit better and the tabs look more like Chrome.  There are also add-in's and options that make life easier for a web developer.

I would really like to see the individual process and "new tab" feature of Chrome brought into Firefox.

How our Dev team uses OneNote

I like the OneNote 2007 product.  I use it for both personal, academic and business uses.  Today I'm going to share with you how my team uses it to support our development process.

OneNote Basics

OneNote is the electronic equivalent of a notebook binder which can contain multiple sections and numerous pages per section.  ON2007 adds the major feature of being able to have multiple notebooks.  Notebooks can be shared on a network drive or via a SharePoint Server (they can also be stored locally or on a flash drive).  ON has on-line/off-line capability with notebook synchronization.  While ON has some features that are best used with a TabletPC - such as being able to write or draw on the page, a TabletPC is not required.

OneNote also has a great search capability which includes grabbing text out of images and searching in audio files too!

Operations Manual

We have put together an “operations manual” in OneNote.  The idea is to document routine and some times not so common tasks.  We originally started off with a single section in a notebook with lots of pages and now we have a “section group.”  So my suggestion here is start off small and let your sections reveal themselves.

For example, we now have tabs (sections) for:

  • Original information we haven’t moved anywhere else yet--a catch all.
  • Daily tasks
  • Nightly tasks
  • End of session
  • Server specific stuff
  • A section that is a data dictionary

Each section can have from a few to many pages under it.

Where does the Operations Manual content come from?

Basically, if we come across a task that we don’t know how to do, we ask the person that is the expert to document the task.

Then someone else runs through it with the expert – making additional notes or changes.

Now, we have at least two people that have run through it plus it is documented by the expert with “newbie” notes.

To me, one of the biggest advantages of using ON is that you can focus on what's important--the content.  When deal with a word processor to document processors we quickly get bogged down in the proper formatting of the document and in making the tool happy.  Did I mention that it's really easy to search all of the pages in ON too?  With multiple word processor documents, you'd need a desk top search of some sort and have to deal with more pessimistic file locking when editing them.

Project Documentation

We also use ON for capturing project information – meeting notes, tasks, pictures, diagrams, etc.  ON has OutLook integration so at the end of a meeting you can quickly email the notes that were taken to all of the meeting attendees.  You can set task flags on items as well.  I have found that even handwritten minutes can quickly be mailed out to everyone and that they are acceptable.  ON does have a feature to convert handwriting to text.  However, it is not 100% accurate.  If you intend to email out plain text you are almost better off taking notes via keyboard.

In an earlier post I talked about taking pictures of whiteboard diagrams and dropping them in OneNote.  ON also has the ability to capture from TWAIN devices such as a scanner.  So if you have printed source material w/out a digital version, scan it in.

OneNote also includes a screen clipping feature like SnagIt! So you can easily put screen captures in with the project information.  There are also send to ON tools for OutLook and IE.  If you want to preserve formatting you can print to ON.  So, if there is an email that has particularly relevant information you can send or print it in with those project materials.

That just made me think about another nice feature.  Say, you do have a nice PDF document you got from a vendor.  You can drag-drop that PDF onto a project page, choose to insert the file and now it's part of the ON document!  So, you can keep notes, pictures, sound files and other files all together in the same notebook.

Summary

OneNote 2007 has many more features than I have mentioned.

I find OneNote 2007 to be an affordable and indispensable tool that supports our operations and development roles.

Team member opening

We currently have an opening for a full-time entry-level member on our team.  We are also considering applicants for an intern program.

If you are interested in being a team member in an environment that uses agile techniques such as pair programming, test driven development and iterative cycles please review the job description and submit an applicationBe sure to mention in your cover letter that you found out about the job here!

Software Rot

I have an apple sitting on my desk right now.  As I was looking at it, wondering if I'm going to eat it before it rots I couldn't help but think of that time lapse photography where you see fruit decaying.

You've probably heard about bit rot.  So, I was thinking how does this apply to software?  What can we do to preserve the fruit.  I didn't like the notion, that no matter what you do, the apple is going to rot.  Then I thought, hey maybe software is more like a new car.  If we take care of the car, keeping it clean and maintaining it we're going to have a useful automobile for many miles.  We may eventually choose to replace it because of upkeep costs or changes in style... people are fickle aren't they?

Now, the car that doesn't get the maintenance... it rusts, it fails, it falls apart...and it's like the "broken window" idea... as it decays we want to take even less care of it.  We want it to fail so we can replace it with something new.  Or because it is in such poor shape, when the mirror busts off we just slap on another that doesn't really match.  But, we don't care because everything is in such a poor state anyway.

Or maybe the car was put away in the garage because the original owner is gone...and it doesn't age gracefully.

These are things that happen to software.  What can we do?  Take care of our software.  As we learn new concepts keep our systems polished.  Revisit the application with code reviews, this also helps out the new people on the team.  Then you don't have to worry about not having available the one person that knows the code.  If the system was developed with n-tier design then maybe a new paint job (GUI) is in order?  I am sure you can think of other things you can do to keep your systems from rotting.

So, keep your systems clean, polished and maintained!

XOBNI out again

Well with the latest push update of Xobni that included LinkedIn integration, which I liked, my Outlook decided to start crashing when you looked at it funny.

I noticed that when you tried to resize the Xobni toolbar it would crash.  Also, when trying to move a group of tasks from the past to today it would crash.

After uninstalling Xobni, Outlook complained that the plug-in wasn't available and proceeded.  I think I got one more crash out of it.  I've rebooted since then and now all is well.

I'll keep an eye on the progress Xobni makes towards release and may eventually reinstall.

Windows Mobile 6.1 Upgrade Experience Report

There is a new WM6.1 release out for the Motorola Q9c sold through Sprint.  After reading a bit about it I decided I wanted to do this upgrade.  This is my experience report from upgrading my device.

I started off by going to the Motorola website and downloading the upgrade tool.  This is about 18M.  I thought sweet, this is going to be easy.  I was wrong.  The upgrade tool is merely a downloader type tool.  The first part of the install this tool verify's the device and then it proceeded to download the update--about an hour on DSL. 

You are also told to make sure you have the device backed up as it is wiped as part of the install.  However, they give you an option to keep personal information.  I did this.

When doing the update you'll see a black and white DOS like screen on the device.  I did end up with an error in the install process.  The software on the PC detected the condition.  I had to power cycle the Q9c by removing the battery.  The process picked back up where it was when I plugged it back in.

Around this time the device reboots and you'll see a graphical Windows Mobile 6.1 screen.  Status on the PC indicates around 34% complete. 

Soon thereafter a manual reboot is requested by the software.  During reboot I see the Sprint screen.  When I reconnected the device nothing happened.  I power-cycled it again while it was plugged in and this time it was detected.  ActiveSync was seeing the device with a guest partnership.  The software continued loading the device and then went to load my personal settings.

Next, it looked like partnerships were removed and the device rebooted.  It might take a couple of seconds before the auto-reboot.  Don't panic.  After it rebooted is when it recreated the partnerships.  If you end up with an ActiveSync screen that is showing a guest partnership, reboot the device.

Bad Stuff

While my settings were retained and information that was on my SD card was left alone, I did have to re-install all of my applications.  I also had to reinstall the GPS application. 

Partnerships & Blue Tooth

Even though my Exchange partnership was showing up, it wasn't working properly.  I ended up removing and recreating it.

I also ended up with a second partnership on my personal Outlook account on my home PC.  I removed the original partnership and renamed the newly created partnership.  I started getting some synch errors on the PC, so I backed off what was being synched and added them back on one at a time.  That seems to have taken care of the synch problem.

All BlueTooth settings were lost.  I need to recreate those pairings.

Cool Stuff

I now have my Yahoo! small business email accounts set up and working.  They use SSL connections so I wasn't able to configure the email client to work with them previously.

A feature I really like is that I can now lock and auto-lock my device with a PIN or password!  They still haven't updated the software to display owner information when the device is locked.

Other cool new features include a "slider" home screen, zoom feature in the web browser and the threaded text messaging.  Microsoft got it right when they made it very easy to see a text "conversation" and respond without having to create and address a new text message.

Summary

Overall, a worthwhile upgrade.

You need to plan several hours for this upgrade and for reinstalling applications--oh yeah and for playing with, I mean learning more about it.  It is not for the faint of heart.  You need to be at your PC that you normally sync with--you'll be using ActiveSync.  If you're using a laptop, make sure you're plugged in!  Losing power or Internet during the process and you could have a bricked device.

ProjectCards Evaluation and Installation

I'm looking at ProjectCards as a tool to augment my current project management process that uses OneNote.

What do I hope to gain from using ProjectCards? 

  • I would like to have a management and user friendly dashboard for reviewing project/release/iteration/task status. 
  • Be able to determine how much time there is in unscheduled stories.   This can be accomplished by creating an "unscheduled" iteration and moving all unscheduled items into it.
  • Be able to easily review and work with unscheduled stories -- release planning?   There are numerous filters and planning group options available.
  • Be able to link to detailed information in OneNote.  Using the custom fields URL type I can link to OneNote or a HelpDesk ticket.  However, with anything other than a standard web URL you end up with a funky empty "error" browser on your screen.  The ProjectCards staff said they would change this in the future so it will let the OS handle the URL.
  • Be able to determine overall project time
  • Be able to set up multiple users with various access rights.  Besides being able to easily set up and manage users, there are a handful of default roles built-in to the system which seem to do the job nicely.
  • Be able to identify in what release a feature was added/enhanced or changed

How will OneNote continue to be a part of the process?

Detail information - notes, pictures, technical data, etc for the stories will reside in OneNote.

Installation

The installation instructions were a little confusing for the windows server since it talked about needing TomCat.  It ended up being a very simple install.  No configuration was needed.

Hm. How do I specify where the repository is located?

I later discovered how to configure the project data directory in the following post:

http://www.projectcards.com/forums/viewtopic.php?t=850

I pointed out to the ProjectCards guys this oversight in the manual and they agreed that it was a pretty big omission and belonged in the next manual.  On the down side it seems that the install directory for the web reports is fixed, UNLESS you use another different web server.

The first time I used the client to connect to the server I took their advice and changed the admin password.  It then promptly gave me a "corrupt license key" error.  I quit and logged back in with the new password--everything went through OK.

Evaluation

So, now I can take a look at the product and the manual to determine if it will meet our requirements outlined above.

Sketch out the project using "themes" and putting cards under them.  For example, the Search feature theme may have search by name, search by room number and search by parking spot under it.

You have to go into each individual story to set it's time and status.  It'd be nice to be able to do this from the dashboard grid.

Use drag and drop to schedule a task in an iteration.

Filtering in the theme view allows you to quickly see unscheduled stories.

I'm finding it annoying that a single account can only be logged in from one location.  So, when I'm working at the desktop pc and then I go over to the TabletPC to do something, I'm logged off of the desktop and any unsaved changes are lost!

I can link to a OneNote section using a custom field of the URL type.  However, it thinks it's a bad link format.  Also, it tries to open it in a ProjectCards wrapped web browser.  So, you end up with an empty blank browser and the correct OneNote document open.  Maybe, "dumbing" down this feature may be appropriate.  ProjectCards guys indicate that they will do this in a future release.

Manage users can be used to create users that are used through out the ProjectCards application--that is they are good for all projects.  You can use Manage Project Access to set a users access level in the project--that is you can set what role they have in this project.  You can create custom project roles.  Unfortunately, they are only good for that project.

If you have a single team that is working on multiple projects (a program in PM parlance), then you'll want to check out the "planning groups" feature.  This same feature also works well for multiple teams working on a single project.  Tip: once you have one item of the planning group type on the release plan, drag and drop other items under the planning group and they will have their planning group automatically assigned.

I'm still warming up to how the iterations work.  Basically, you set your start day and then specify how long each iteration is in length.  So, you don't have the flexibility to say nothings going to happen this couple of days so we don't want to start the iteration until the 1st of the month.

Support

I've emailed with the developers on a number of occasions and they have either provided an answer to my query, engaged in a dialogue to better understand what I was trying to do and added items to their feature requests.

Transferring large files from Mac to Windows

As it turns out, one of the last big bastions of incompatibility is the file system.  Windows machines can't do anything with the Mac's Hierarchical File System (HFS).  However, Mac's can read Microsoft's NTFS format.  But they can't write to the NTFS disk. 

Both platforms do support the FAT32 file system.  However, when you are dealing with large files, for example home digital video, FAT32 is lacking.  FAT32 supports a maximum file size of 4Gig.  So that hour video you made that is 11Gig ends up getting truncated.  So, how do we get the files from the Mac to the PC?

I tried FTP - way to too slow and timed out eventually.  Also, tried sharing the PC disk and making an SMB connection from the Mac to the PC.  However, it looks like there is the same 4Gig file size limit in the SMB software.

What I ended up doing was putting the video files on a Mac formatted portable drive.  I then took the portable drive to the PC and used a piece of free software called HFSExplorer.  With this software I was able to open the Mac volume and "extract" the files to a local NTFS drive.  It worked great!  I started it running before going to bed (45Gig to run through).  Although after only a couple minutes it had already "extracted" over  a gig.  Much faster than any of the other methods I had tried.

I used HFSExplorer on a Windows XP machine.  However, it is written in Java so it should be useful on other platforms as well.

Xobni

Xobni looks like a nice Outlook add-in. However, within a couple of hours of installing I was getting familiar with scanpst.exe . Coincidence?

I removed Xobni and no corrupt pst's since.

2008.05.14 UPDATE:

I determined that it was possible that I had an undetected corrupt ost file before the Xobni install. I'm giving it a whirl again.

2008.05.21 UPDATE:

So far, so good. No additional Outlook corruptions. The feature I like the most about Xobni is the quick access to the phone # for the sender and the list of files you've exchanged with them (and can click on to open).

New Language Features in C# 3.0

Overview

C# 3.0 adds several new language features.  In this article I will review Auto Implemented Properties, Object Initializers, Collection Initializers, Local Variable Type Inference, Language Integrated Query (LINQ) and Anonymous Types. 

I picked up this material from an excellent video by Luke Hoban.

Auto Implemented Properties

public string CustomerID { get; set; }

The private variable is no longer necessary.

Object Initializers

Customer cust1 = new Customer()

{ CustomerID = "ALKI", ContactName = "Marcel" };

Even if a method doesn't have an overload which lets you fill in some properties right away, you can use the Object Initializer to accomplish the same thing.

Collection Initializer

new List<Customer>() { cust1 };

As above but for collections.

Local Variable Type Inference

var customers = new List<Customer>();

How sweet is this?!  But, only for local types.  You won't be doing this with class level variables.

Language Integrated Query (LINQ)

Enumerable.Where(customers, c=>c.city == "London");

customers.Where(c=>c.city == "London");

var query = from c in customers

where c.City == "London"

Select c;

Where is an extension method

LINQ uses Lambda expressions.  Here c=> c.city == "London" is the Lambda expression.  The => is read "goes to."

LINQ can be used to query against XML, objects or SQL.

Anonymous Type

The neat thing about anonymous types is that you can create a type on the fly with no name/type, hence anonymous.  This new type can have a different number of properties than the query source.  For example, say you're doing a query on the customer object, the query result can be set up to only contain the customer ID and name.

Var query ...

select new

{  CustomerID = c.CustomerID,

   ContactName = c.ContactName };

// the property names above are optional, if not specified the property name of source object is used.

Sprint Motorola Q9c vs. BlackBerry 8830

This year at Christmas it was time for new phones. My wife was leaning towards the Motorola Q9c because of it's media features. I picked up a Black Berry 8830. I wanted to give the dark side a try after having had some exposure to their emulators and development toolkits. I liked the idea of being able to develop for the 8830 with Java or .Net.

I liked the keyboard and auto-completion features of the 8830. I also liked the way the text messages were threaded. The little bit that I was able to test the GPS and web features of the 8830 seemed nice. I was NEVER able to test out it's email capabilities. The only time I could get web based features to work was when I was on the EVDO network. The web features simply wouldn't work on the 1X network. After hours of tech support time it was determined that it "should" work, but it was likely a problem since they are in the process of upgrading the local area to EVDO. This upgrade "should" be complete within the next couple of months. So, I ended up switching to the Q9c.

The Q9c was $50 less than the 8830. It also includes pocket versions of office applications. That would have cost another $100 on the Black Berry. The Q9c also includes a capability to make voice memos. I would have had to purchase a $30 utility for the 8830. I had numerous sync problems with the 8830 and had to wipe out directories on the PC in order to solve them. I can't imagine what a non-technical person would do! The Q9c syncs up with my PC AND my work Exchange account! I set it up myself. With the 8830, I'd have to contact the Black Berry administrator, secure licensing and be subject to all of the RIM outages!

Another nicety of the Q9c is the megapixel camera which the 8830 doesn't have. Also, the Q9c has a honkin' battery which can last for days! Now, I do miss the trackball and GUI of the 8830. I liked that I could go to one place for all of the settings and they were all there in a long list. I didn't have to drill down and navigate through a tree to find the right setting. Also, I like that I could easily change the fonts on the 8830. It had a very nice screen and good feel to it. The Q9c has a rubbery feel which makes you worry less about it sliding around.

The stock 8830 case was blech. The Q9c didn't come with a case. Both have blue tooth, GPS and standard mini-B USB power/sync connectors and 2.5mm head phone jack.

I was thrilled that the 8830 had a password management program built in. However, our security guy advised me that it's not secure. Also, I wasn't able to locate a corresponding desktop application.

I liked that the 8830 did display owner information when the screen is locked. My old Palm OS PDA's would do that as well. I haven't seen the Q9c do that. You've got to dig to find owner information. As I recall, the 8830 also had a better integrated "today" screen.

The Q9c misses hits in that I can't browse the file structure of the internal storage via file explore in ActiveSync. It does support mini-SDHC cards though!

I miss the blinking LED of the 8830 that would let me know when I had a text, or missed a call, etc. You've got to wake up the Q9c so that you can see the screen to look for the icons that indicate missed calls, etc.

Overall, I miss some aspects of the 8830. However, the Q9c is doing a great job of meeting my needs. Papyrus and eWallet are essential add-on's. Oh yeah, the Q9c WORKS on the 1X and EVDO network. That right there was the biggest factor for me.

Tablet PC Head to Head

I typically use a Gateway M-285 Tablet PC.  However, this week it's in the shop and I've got a loaner E-155 Tablet PC.  Let me start off by saying that this is really an apple and oranges comparison.  About the only way's that they are similar is that they are both Tablet PC's from Gateway running Vista.  That's about where the similarity ends.

I found the E-155 reasonable for running applications but it was definitely slow compared to the M-285.  The difference was very noticeable when running Visual Studio.  The E-155 has a 1.2Gig processor with a gig of RAM.  The M-285 has a 2.0Gig (as best I can recall) processor with 2 gigs of RAM.  Both are Duo processors.

The E-155 has a WACOM screen which is active/passive.  What I mean is I can hover the stylus over the screen with out touching and it displays the pointer.  However, I can also just use my finger to push buttons as well.  The M-285 has an active only screen, which means you have to use the special stylus.  I must say, after experiencing the WACOM screen I do prefer the feel of it over the M-285's very slick glossy screen.  The WACOM screen seems to have sort of a matte finish which I like.  The E-155 screen is 12" which seems a little small, but the display is very crisp.  The M-285 14" is an outstanding display, although over time it seems to have gotten a little bit dimmer.

I typically use my tablet along with a docking station and external monitor.  Here the E-155 really falls down.  The video coming out of the external port is downright blurry.  I'm sure this is due to the fact that it's using an integrated video adapter with shared memory.  The M-285 I use has been upgraded to a video adapter that has dedicated memory and it was worth it.  The M-285 external video is very nice, I typically run an external monitor at 1280x1024 with it. 

A nice feature of these tablets is that they share the same docking station.  So the video comparison was with the same docking station and monitor.  I did also try plugging directly into the E-155's external video adapter and it was still just as bad.

The E-155 has the M-285 beat in the portability department.  I also like that the way the fan vent is arranged it is on the "top" side when in my typical tablet orientation.  The E-155 case is rubberized in the palm rest area which feels down right weird.  The E-155 is much lighter than the M-285.  A large part of the weight of my 285 is due to the 12-cell battery that I went with.  I typically get 4-5 hours of use out of it.  The E-155 gave me several hours of use on it's standard battery.  I started off in High Performance mode and dropped to Balanced before needing another battery.  Another thing I really liked about the 155 is it's built in fingerprint reader.  This made it very nice to be able to quickly unlock the machine.  It's something I'll look for on my next tablet.

Sound quality is good from both of the tablet's.  Better than many other laptops out there.  I haven't had much luck trying to record from the M-285's built in microphone.  I have not tried the E-155's dual mic's.

Overall, I very much like both tablet's.  The E-155 is a nice device for running Outlook and OneNote and doing general computing tasks.  It can be pressed into development service but it won't like it... neither will you!  The 155 is so slim and light weight you won't hesitate to grab it before leaving the office.  The M-285's weight help's keep up your arm strength.  But it won't balk at doing whatever you ask of it.  It is not unusual for me to have the 285 running Visual Studio, NUnit, SQL Server, IIS, Outlook and OneNote simultaneously.  If I could keep both machines, I could see some benefit in that.  I'd get rid of the PDA and use the 155 primarily for Outlook, OneNote, running a few client side tools and as an eReader.  If I could have only one machine, it would likely be the 285 with dock.  Gateway has the 295 out now.  The 295 it seems to me is a slightly upgraded 285 with the WACOM screen.

Doing TDD without a Test Runner

What can be done in VBA/VB6 and other environments is the following:

  • Create a code module that will serve as your test fixture.
  • Write individual methods to do your tests in this code module.
  • Have a "master" method that calls all of the individual tests.
  • The individual tests give you feed back ala debug.print with test name and"PASS" or "FAIL" also return a boolean to the master method.
  • The master method can return FAIL if it picked up a false from any of the test methods that were called.

Now you can use the immediate/debug window to call your individual test methods or your master test method. I found this approach very helpful when working with a legacy Access 97 application.

Outline for introducing TDD

This outline is meant to serve as a guide for a developer that is experienced with Visual Studio, C# and NUnit to use in introducing Test Driven Development (TDD) to others. You, the trainer, will want discuss the why and how behind the tasks.

This guide was put together in the context of VS2005 & NUnit.

http://nunit.org/

You may opt to have developers work in pairs for this training.

Learning the basics

Start off by discussing why tests are set up in a different project.

Create new projects Polynomial & PolynomialTests

Delete class1.cs under both of them

Include a reference to the project under test

Include a reference to the test framework

Create test fixture BasicPolynomialTests (class)

We will be implementing a compute method which returns the result of f(x) = x^2 + 5x + 6

the using statements that are needed by the test framework

using NUnit.Framework;

using NUnit.Framework.Constraints;

using NUnit.Framework.SyntaxHelpers;

Don't forget to make the test fixture public

Reviewed that there are reflection tags for the test fixture, fixture setup/teardown, test setup/teardown and the test itself

When and when not to use the different setup's/teardowns

We talked about setting up test classes based on what kind of set up they need

Talked about arrange-act-assert (See William Wake) http://weblogs.java.net/blog/wwake/archive/2003/12/

It can take a little bit to show/explain "this method doesn't exist yet, we're writing the way we want it to work"

With a nice IDE the method stub is generated for you (they really liked that) .

Create BasicPolynomial class, make it public - watch for namespace conflict

review the red-green-refactor sequence

make sure everything compiles now and you have a red bar in the test runner

implement the code that computes f(x)

compile and check out the green bar

Now refactor f(x) - it can be refactored to (x+2)(x+3)

Show them were they can find reference material on both the "classic" and new "constraints" assert methods

(we used the new NUnit constraints syntax)

http://nunit.org/index.php?p=assertions&r=2.4.3

Discuss how unit tests can be used to verify expected behavior

I think a string replace does this, is my expectation correct?

Talk about how we can do TDD in environments that don't directly have a testing framework - i.e.

Access

A little thinking for the trainees

Now the user wants to be able to solve all problems of the form Ax ^ 2 + Bx + C

Create a GeneralPolynomialTests fixture

Create a new GeneralPolynomial class

Need a constructor that takes (A,B,C)

Test classes with different set up revisited

Add an empty constructor() that defaults to 2,3,5

Don't forget your test first! (in a new class)

Refactor: the empty constructor can be implemented in a number of ways

  • Setting initial values on declaration of private variables (yuck)
  • Setting the private values in the new empty constructor
  • Constructor chaining GeneralPolynomial():this(2,3,5)

http://www.c-sharpcorner.com/UploadFile/rajeshvs/ConsNDestructorsInCS11122005010300AM/ConsNDestructorsInCS.aspx

Move the new test class to it's own file

Summary

As you can see, when it's listed out, that's a lot of material for a new comer to digest for a fairly simple example.

I worked through the above in about an 1 hour and 45 minutes with a team.

After you've gone through this guide, ask if there are any questions. Let them know you are available to help.

Pick up a slew of books on TDD/xUnit topics and add them to the corporate library.

OO Confidence Course

Right now some of my team is in Object-Orienteed Analysis and Design training.  They appreciate that they are learning the concepts.  However, the instructor has not presented them with code in any language.  Therefore, we are going to do an "OO Confidence Course."  The idea is that we will briefly discuss the foundations of OO, look at the language specific implementation and then work through implementing the concepts in code.

This VB.Net and C# comparison guide from Frank McCown will provided to serve as a handy reference to language specific constructs.

If you are working to learn OO on your own or want an additional book to read on the topic that includes code, I can recommend Head First Object Oriented Analysis and Design.

After an initial session with this course, it's likely that someone new to OO would likely take around 4 hours to complete this confidence course.  I think an experienced developer could rapidly complete this course.

At a later date, in the course of professional duties, would be a good time to look at defining properties in an interface, CRC cards and unit tests.  The purpose of this exercise is to build OO confidence, so we're working hard to avoid "scope creep."  Also, because this is an exercise we ended up having an abstract Person and Concrete Person classes.  We needed to create the concrete class that others inherit from so we can show off the inheritance polymorphism in the demo section.  It's also significant to note that when demonstrating the interface polymorphism that the student class does not inherit from another class.

Here is the "OO Confidence Course"

 OO Confidence Course

For Group Discussion

  • What is polymorphism?
  • How does inheritance work?
  • Why do we use encapsulation?
  • Language specific discussion
  • C# this/subclass, base/superclass

Abstract Person class

This class should have properties/accessors/mutators for:

  • Age
  • Gender
  • Name

Override ToString method to display name and age

Create an abstract method ContactPhoneNumber that returns a string

Concrete Person class

Inherits from Person

Implements the abstract method ContactPhoneNumber
    Return "123-555-1212" for the phone number

Employee

Diagram and create an employee class that inherits from ConcretePerson

This class should have properties/accessors/mutators for:

  • ID #
  • Job Title

The constructor should give the person a default ID of -1 and a blank title, age, gender and name

Overload the constructor to accept an ID#, Title and Name

Override the ToString method of employee to display the data in all of the fields

Create a method that calls the base/superclass toString()  - call it superToString

Implement the abstract method ContactPhoneNumber
    Return "987-444-3535" for the phone number

Create an Interface called IStatusInfo

The interface definition should require a method isEmployable that returns a boolean

Citizen

This class inherits from person

Implements the IStatusInfo interface (return true)

Student

This class has a single property of name

Implements the IStatusInfo Interface  (return false)

Demo Program - Console application

Create an array/arraylist of ConcretePerson objects

Populate the arraylist with data

  • 3 employee objects
  • 2 Citizen objects

Loop through all of your person objects

  • print the base/superclass toString (does this work?)
  • print the this/subclass toString
  • Print the ContactPhoneNumber

For one employee object

  • print the base/superclass toString (does this work?)
  • print the this/subclass toString
  • print the string returned by superToString 

Create 4 IStatusInfo objects

  • Set them equal to the 2 citizens you created earlier + 2 students

Loop through all of the IStatusInfo objects

  • Print the result of the call to isEmployable

Distributed Version Control System

After watching this Google Talk by Linus Torvalds I'm really wanting to give a distributed version control system a try.  I'd like to give git a go, but from what I've read it looks to be a pain under Windows.  First blush looks like Mercurial may be a candidate.  I thought it interesting that Mercurial needs an external merge tool like TortoiseMerge to do the actual merging.

After doing a little more reading, I'm probably going to give Bazaar a try.  A big reason is it's explicit support of Windows.

Kyle Cordes has a good write up about this topic on his blog.

Need a source code control solution?

If you are looking for a source control solution...

You should definately check out and read up on Subversion (SVN), TortoiseSVN and Ankh. Subversion is the version control system. It can run under a windows service, file system type repository or under Apache.

We have it running with Apache on a port other than 80. TortoiseSVN is for windows shell integration. Ankh is for Visual Studio IDE integration. There are articles out there that talk about how to use SVN with SQL server.

SVN uses a different process than VSS. It doesn't really do locking. It's more of an optimistic merging/updating process when needed. The documentation covers in depth how the tool/process works http://svnbook.red-bean.com/

We are successfully, using these products at work. They are far superior to VSS. At home, I use Ankh and TortoiseSVN with an external USB drive for the file repository.

http://subversion.tigris.org/ http://tortoisesvn.tigris.org/ http://ankhsvn.tigris.org/

Bryan

Developer Tool: Digital Camera

I have found having a digital camera to be an indespensable and freeing tool. One of the ways I have used the camera is to take a picture of design work done on a whiteboard. We then stick it in OneNote notebook which is shared out for the team.

Taking a picture keeps the process simple. You are constrained if you want to change the design, but it's easy to just do a new drawing on the white board, working off of the existing digital version. I have found this process to be more lightweight and creative than huddling around a monitor and trying to do something with Visio.

And with the resolution of today's camera's, I've been able to pictures of print outs or blue prints at a high enough resolution that they are legible when viewed on the computer.

The other day when we were having difficulty describing a prolbem to a component vendor's tech support, we used the camera to shoot a short ~1 minute video that showed the problem. We uploaded the video to a website where the tech guys could view it and we had our answer the next day. It was way quicker and easier than trying to put together a sample project with a readme to illustrate (if it behave the same for them!) the problem.

To make the process painless, it's important to have a media reader attached or built in to your computer for pulling the images off of the SD, XD card whatever. I have found it's simpler to just work with the media rather than mess with hooking up the camera to USB and going through it.

Vista Sidebar Gadget

I put together a little Vista Sidebar Gadget. Using the information found here and more specifically here, it wasn't difficult to do. The gadget I created is useful for those that follow the Legislative process of the Missouri House of Representatives.

EarthLink Non-Existent DNS redirection

EarthLink,

Your spreading of your new program finally hit the DNS servers that I use on my EarthLink DSL. And at first blush it had all the appearances of browser hi-jacking.

So no matter how you paint it, you may not be technically "browser hi-jacking" but you accomplished the same thing.

http://blogs.earthlink.net/2006/08/handling_dead_domains_1.php

Your blog claims you are doing this to enhance user experience. That's BS and you know it. The real motivation is ad/click revenue.

This feature is no different than when someone hacks a DNS server and repoints a domain.

The only acceptable course of action for EarthLink is to disable this "service" and issue an apology to users.

Are you getting a "removed by HIPS FW" ?

Are you not seeing things you normally would when you surf the web? When you view the html for the page do you see a comment that content was "removed by HIPS FW" ?

The answer is that CA's Firewall product is blocking them. It is configured out of the box to block banner ads. Well, sometimes what it identifies as a banner ad isn't. For instance this one: http://banners.wunderground.com/banner/bigwx_both_cond/language/www/US/MO/Sedalia.gif

To solve this problem, go to CA's Personal Firewall settings. Go to the Privacy group, then configure the Ad/Pop-Up blocker to not block banners.

CA settings pages that need to be updated As another person pointed out, you may also need to check out the Cookie Control advanced settings. I found that in order to get some sites to work properly, I had to allow the private header information to go out.

Extreme Programming: Science or Philosophy?

I am going to build this posting in an iterative fashion. So, don't be surprised if you see it show up again in your feed reader.

What makes something scientific? Provides a way that the hypothesis can be proven false.

Philosophy requires a paradigm shift. Until you are "enlightened" you just won't get it. You can't prove it wrong.

Kent's background and viewpoint.

Ron's background and viewpoint

My experience in spreading the word about XP practices has been primarily one of elightenment. There is a lightbulb that just clicks on when the other party "get's it".

Customer Proxy

When you don't have the customer handy, a good person to represent the customer is the trainer. In my experience, the organizations trainer has been in touch with the needs and practices of the workers. I've repeatedly heard and experienced that the training room is a place where the workers open up with ideas, thoughts and concerns about the software or processes.

Reflector for disassembly

This is a great free tool that let's you analyze, and decompile .Net assemblies in your choice of IL, VB or C#.

There are a number of plug-ins available too. Use Reflector in conjunction with the File Disassembler plug-in for recreating lost source code.

What does TEAM mean to you?

Some people use the word team to say that they work with other people together. For instance in the traditional big shop, the Architect works with the developers and testers. Everyone has their pigeon holed tasks.

In our small team, team means that anyone is capable of doing the job. While I may be responsible for overall direction as team lead, anyone can do all of the tasks. From working to manage the work, the needed documentation/status reports, business analysis, development and testing. This arrangement has been very beneficial for us in terms of integrating new people and coping while people are out a week at a time.

Because everyone can do the work doesn't mean there aren't specialities.  Quite the contrary.  A really good team will be a blend of people with different backgrounds, skills and strengths which complement each other.  A shared vision with a project that has been broken down into achievable goals helps to focus the team on the work.

Another very important aspect of the team is respectful communication and understanding.  Feedback is important. In a functional team the members let each other know when they are not understanding the other persons view or actions as well as when things are going well.  Don't delay the feedback.

XP Code Review

If it's good to do a code review, do it more frequently. This is one of the things that happens when you do pair programming. The code is continuously being reviewed by the pair. However, when you a have a very small team you probably won't have much "promiscuous pairing" going on. Then you can do a daily team code review. It won't take much time because you're only going over today's work not a whole release. Be sure to leave enough time to refactor too!

Spammer's domain name masquerading

It looks like my domain name has been picked up by some spammer's.

My domain name starts with an "early" letter and is nice and short, so it probably caught their attention.

Now, what's happening is that they are forging mail from my domain and submitting it through SMTP servers that aren't doing authentication. So now, I'm getting all sorts of bounced messages.

Seems to me that a couple of things could be done to help alleviate this sort of spamming:

  • All SMTP servers should require authentication
  • All SMTP servers should only take mail for their domains
  • Spam scanners should block messages that weren't submitted through a SMTP server that matches up with the domain name
  • Spam scanners should NOT return undeliverable messages, it just chews up more bandwidth.

Huddle 'round the projector

When it comes to doing a code review or project review, nothing beats huddling around the projector! Even with multiple monitors you can't get more than a couple people crowding in to see the material. Since we have a big white board we can just wipe it clean and connect a projector up to one of the computers video lines. Instant big screen code review in the development area! There's still enough open whiteboard to jot notes or mark up what's being displayed. Now if I could just get the big dogs to spring for a smart board!

I think it'd be awesome to pair (or mob program) using a dual or triple projector set up on a wall!

Interfaces are cool

I'm talking about OO interfaces. They came in handy recently when I was working on some code (Java) that launched a web browser as the result of a message that was received. In my test I was primarily concerned with the message I would receive back from that code.

So, the answer for me, was to extract the interface that I needed for the call to the web browser. Then I created a "mock" web browser that didn't do anything. So, when my tests are run the functional code around the call to the web browser is exercised and I don't have a bunch of open web browsers on my system.

You can do something similar if you are wanting to do some processing on the content received from a web page. Actually going out to the internet and pulling information is an expensive operation. Instead you can create a "mock" web browser class that has hard coded the expected web responses.

I've also been working on some C# code that involves communication between applications. By using an interface specification for the communications layer I can swap out the communications layer at will. For testing I'm using a mock object that implements the interface. Now I'm able to experiment with a variety of technologies for implementing the communications layer and I can choose the one that works best. Or I'll be able to choose the one that works best for a given situation. Definately cool stuff.

In summary, interfaces are a useful tool to keep in your bag of TDD tools.

Crystal Reports and TDD

It is my experience that doing TDD (test driven development) could help avoid some pain with Crystal Reports. Suppose that you have a column of floating point numbers that go out to 6 places. You want to display those numbers to the user rounded to 2 places. Then you are going to display the sum of the numbers displayed. This is where the fun comes in. It was our experience that the sum being displayed is the sum of the unrounded numbers that was then rounded to 2 places. This is entirely different than rounding first and then summing.

So what is the answer? The answer is in the pink book. TDD of the presentation layer is tough. Keep the presentation layer thin. TDD the business logic that puts together the numbers that will be displayed, include the rounding and summing. Pass a dataset or multiple datasets with the data to your Crystal Report. Now your presentation layer is thin and doesn't have to know anything about where the data came from. (No redirecting of databases at run time!)

My XP Team's progress

A recent topic of discussion in the XP2E yahoo group got me thinking a little bit about the progress our team has made in adopting XP, some of the issues we're encountering and where we're going.

We've read the XP2E book as a team and are following on with the XP Installed book. The XP2E book helped us with a lot of the theory and we started down the road together. With the Installed book we're picking up some more "how to do it" material.

  • We've physically opened up our area and are enjoying the improved communication.
  • We're pairing up most of the time. We notice when we don't (more errors and slower).
  • We're holding each other accountable to standards.
  • We are still building our TDD, program by intention skills.
  • We are getting a lot more user involvement, but not co-located.
  • We are having few (near zero) minor defects found in production.
  • We're still getting a handle on stories and points.
  • We're working out issues with testing and data bound controls.
  • We're having problems with integration - we need to install a CI server.
  • We're looking to swap out VSS for SubVersion.
  • We are going to work on picking up design patterns soon.

And as always, how do I test this object that is generated by the ORM tool and expects to see a database on the back end?

This week we moved 3 releases (different projects) to production. All of them sailed through testing with no defects. We have 1 more system pending release and 2 more in testing. Overall, a pretty good feeling.

The weekly planning and keeping focus on those goals is an extremely important thing for our team. The morning stand up helps us to keep our focus.

NUnit - ExpectedException with Custom Exception

While the NUnit docs give a good example of how to test for system exception types, it leaves you hanging on how to capture the custom exceptions that you are throwing. For instance, you might do something like:

throw new Exception("SSN should be formatted 123456789");

How do you set up your test attributes for this exception?

In VB:

<Test(), ExpectedException(GetType(Exception), "SSN should be formatted 123456789")>
        Public Sub ValidateSSNFormat()
        ' code that will cause the routine to throw the expected exception

In C#:

[Test]
[ExpectedException(typeof(Exception),"SSN should be formatted 123456789")]
public void ValidateSSNFormat()
// code that will cause the routine to throw the expected exception

DIY PVC Flute

Have you been thinking about learning to play flute but the cost of purchasing a flute has been holding you back. Well if you're a do-it-yourselfer check out Mark Shep's website and book. Following Mark's instructions I was able to build a PVC flute in no time at all. I've been having some fun playing with it. Next week I'll build one from CPVC.

RSS Bandit

Well, after the issues I had with NewsGator I explored some other news aggregators. I used Attensa for a while now and have been fairly happy with it. However, it is tied to a single machine. Then a recent update broke it and after several attempts at figuring it out and getting it going again, it was just easiest to drop it. I tried the NewsMonster aggregator that works (s'posedly) with FireFox but no go. It wouldn't install and work correctly. I did check out some of the RSS readers on www.codeproject.com but had some issues with one that appealed to me. So, now I'm using RSS Bandit. Having it not tied in to Outlook has actually been a good thing. It has a handy configurable synch feature. I used it to save settings/state to a flash drive. Then when I got home, I installed RSS Bandit on the home machine and downloaded from the flash drive. RSS Bandit went out to the web and pulled the content. I was good to go. Ironically, I should be able to synch with NewsGator OnLine too. Since I've already paid for that, I might give it a go.

MS Word 2000 and Visual Studio 2003 Interop

The other day a friend of mine was asking me about reading content from a Word document. To me, this was an interesting question. I'd previously been exposed to Excel Interop and was somewhat intrigued by his problem.

After a quick search of the web I came across numerous solutions on how to write to a Word document but nothing on reading from one.

So, I put together a small VS2003 solution in VB with some NUnit 2.2.2 tests as a "spike" solution. I am making available the solution at http://www.dbbear.com/WordInterop.zip for a limited time? (maybe) I hope that other's might find the simple class and unit tests handy.

Note: updated based on feedback. Better clean up with finally block.

NewsGator sucks

Right now I am harboring a lot of ill will towards the Newsgator folks. I was one of those that bought the Outlook version early on. You know the one that you'll never have to update again? Well, it didn't take 'em long to figure out that wasn't going to work so they switched their business model to where the Outlook version is part of the business package. But hey, we'll give the existing users a "free" upgrade to the 2.5 version and 2 years of service. After that though you have to pay every year. In a bit of a revolt? many people were sounding off with, whatever, I'll just keeping using this version with out all of the other new features. I simply don't need them. That's the camp I fall in to. Well the folks at NewsGator put their thinking camps on and figured out that they could turn off service to 2.0 clients.
The online synchronization support for NewsGator Outlook edition 2.0 will be switched off on Tuesday, November 8, at approximately 5pm MST.

If you are using Outlook edition 2.0 in synchronized mode, you will need to upgrade to Outlook edition 2.5, which has greatly enhanced synchronization capabilities.

Existing 2.0 customers can get a free upgrade to 2.5, along with a free 2-year premium NewsGator Online subscription, by following these instructions.


But, hey, what am I complaining about, they gave me a whole 34 or so hours notice from the date/time on the email to turning the service off. To frustrate me even further the install process nuked all of my default folder settings for the feeds I'm subscribed too. Nice huh? Then, they proceeded to download the ENTIRE CONTENTS of ALL the feeds. Only about 800 items to wade through. GRRRRR. And guess what else, they didn't fix the post to Blogger bug. I'll have to reinstall that. IS THIS THE FUTURE OF WEB SERVICES? You thought Microsoft had a monopoly with Office, etc. At least they can't turn off your Office 97 installation.

I'll definitely be looking around for a different service.

Update: Now neither of my Outlook Edition machines are synching. Lovely.

Update 2: After having the synch fail, ALL of my specified folder settings have been lost AGAIN.

Update 3: After 3 days, I got an email back from NG tech support. They pointed me to "Greg's" blog where he says it's just the synching which will quit working. One of the main reasons people bought the lifetime Outlook version.

My favorite part of the response: "If you still have 2.5 installed can you describe the problems which you have?" I thought I had outlined them pretty well here. But as of this moment, I don't have NewsGator installed.

NewsGator really screwed up on this whole deal. They should have just sucked it up and let the 2.0 folks continue on with what they have. And then try and entice them to switch to one of the newer plans with better features and service. Depending on what we see in OutLook 12 or Windows Vista RSS, the need for NewsGator Outlook edition will be obviated. The NG WebEdition and Synch Service is where they will be making money down the road. That's why they had to figure out a way to pull the plug on the existing lifetimers. It all smacks of the PayPal "free now and free forever"

Extreme Programming in St Louis, MO

We had a meeting Monday night and did some testing of "untestable" code. Brian Button briefed us with a simple problem he'd run into and presented us with a sample project to tackle. The problem was not so overwhelming that you got lost in what it was that was trying to be accomplished by the code, but you could focus on the testing part. (It was a simple problem dealing with putting together a string based on the AppDomainName.)

We broke up in to small groups. Mixing up some with people we don't usually work with. (Which I really liked.)

The first thing we had to do was put together a VS2003 C# project. The VS2005 solution format isn't compatible with VS2003.

Brian had already briefed us that two of the tests weren't passing and it was obvious that this should be the case. However, the fun part was that two of the test may or may not pass depending on the test runner you ran them with. Initially, NUnit was passing two of the test and ZaneBug was failing all of the tests! It turns out that NUnit creates an AppDomain with a much longer name than does ZaneBug. I liked being able to switch between the two different test runners and see how things were behaving.

    The interesting things for me out of the evening:
  • My team got to see TDD on "untestable" code.
  • We got to practice mob/pair programming.
  • We got to interact with other people that are doing/working towards XP.
  • The different groups came up with 3 or 4 other solutions than what Brian had coded.
  • Although we didn't go this route, I saw where an interface would have been handy in creating a mock object.
    Things to keep the same in the future:
  • Mixing up the groups with people that don't usually work together.
  • Simple problems that let you focus on the TDD as opposed to the algorithm, etc.
  • Open networked environment
  • Brief presentation to entire group
    Things I'd do different:
  • Let someone else drive?
  • Have beginning/starting point code available printed.
  • Give TDD guidance up front or at the end, but not during session. (Only answer the business rules questions.) Maybe preferably at the end? I'm pretty sure we would have implemented things differently if we didn't know how Brian had implemented it. Although, we did discuss the various alternatives and their pros-cons and opted for the route he went. Partly for the sake of time, too. But once you had an inkling of how it was solved it seemed a bit like being told the ending to the movie.

Overall, I enjoyed the meeting and I look forward to future meetings and "hands on" nights.

Recent Command Post Deployments

I was Incident Command at our local "Ham and Turkey Festival" this past weekend. Luckily only a few minor incidents. We had our EMA command post set up and had multiple Law, multiple Fire, EMS and 911 in the structure. Good activity for all involved. I won't say exercise or training, because it was the real deal. We had real issues with the real people responding. As part of it, we were testing all features of the new command post and working with a prototype CAD software I'm developing. Numerous tours were given and feedback was gathered for review. 153 hours were logged for the event. Last night we had our first rapid deployment. We hadn't fully rehab'ed from the weekends activity, but we had worked out some kinks Saturday at the Ham and Turkey Festival. We responded with the Command Post to an overturned propane tanker. Ironically? while enroute, another ham from the neighboring county gave us a holler on our local UHF repeater to ask about our status. He was out with the HazMat Comm team from that area, which serves a wide area including our county. Luckily we didn't need that resource. It was estimated that 80 gallons of diesel and 8900 gallons of propane were onboard the truck. We set up on the road blocked highway in the cold zone. The incident commander took up residence at the command post and we established communications with the Law, Fire and EMS units on scene via mutual aid channels. The central dispatch center was able to clearly copy our traffic on one of the mutual aid frequencies. This freed up two of the county wide repeaters for other use. (Did I mention we also had another active incident in the same area a result of an earlier tornado warning?) We had numerous entities involved and multiple locations. Approximately 70 hours were logged during the time the command post was on scene. It was a somewhat extended deployment but overall very successful and rewarding.

Katrina window open and closed.

Well, I came close to deploying to Katrina several times. Actually had the green light once and was then disregarded. The last round I was scheduled for a third rotation with a comm team and the second team was released, mission complete.

Long Weekend

Complete Universal kits are never complete nor universal when you are 30 minutes from the hardware store.

A loose (inaccessible) battery cable is all it takes to make all your gauges wacko and finally leave you stuck on the side of the road.

No one stops for a big biker guy on the side of the road. Unless you've just about got the bike strapped down in your buddy's cattle trailer. Then the police stop to check things out.

The indicated gasket that you picked up before the bike died doesn't fit.

Finally, universal air conditioner install kits are not designed for the metal frame and concrete sash of a dorm room.

Do you have ICE in your mobile?

Putting ICE along with a name and telephone number will enable the emergency services to contact your family in the event of an emergency. I highly encourage everyone to put ICE in their mobile phone.

Radar Widget for Konfabulator

Here is a link to the Radar Widget I hacked up. Fun stuff.

Konfabulator

I recently heard of Konfabulator www.konfabulator.com when reading that Yahoo had bought them and they're going to be renamed Yahoo! Widgets

Konfabulator implements a pretty slick concept of "widgets" that are what you want them to be.

Combining the use of XML and JavaScript for implementing widgets definitely speeds up development.

Messing around with a widget I downloaded last night proved to be highly addictive.

They have a lot of widgets in the widget gallery.

I intend to release the updated Radar widget that I worked on last night.

Check 'em out, you'll like 'em.

I am Kung Fu Master

What Video Game Character Are You? I am Kung Fu Master.I am Kung Fu Master.

I like to be in control of myself. I dislike crowds, especially crowds containing people trying to kill me. Even though I always win, I prefer to avoid fights if possible. What Video Game Character Are You?

Willing to go?

The other day I was out fishing.  I was trying out some new tackle I'd received for father's day.  I had made a couple of casts when one hit.  I could tell that it was a good size fish by the way it was fighting and it was pulling line back out too.  I was playing it and hoping that it would show itself. Then it did one of those flying through the air like a ballerina moves.  It was beautiful.  We continued our struggle.  I was giving it slack when it needed it and reeling in when it tired.  Then, it decided to bolt for the open water.  This would typically have not been a problem.  I would usually let it run and give it the slack it needed.  But this time, I felt I couldn't.  If I would have given it the slack to run it have taken the line under a low foot bridge (that I couldn't pass under) and I would have had a heck of a time playing it then.  So, I grimaced and tried to bring it in the last couple of feet.  Then with the extra tension on the line the fish did a 180 degree turn and freed it self.  Retrieving the expelled lure intact was my only consolation.  Nothing else was biting that day.

There is a lesson here and it has been sticking with me so I feel compelled to put it in bits.  In contract work we are always out fishing for clients.  Sometimes we get a bite, a requirements gathering meeting and a request for quote.  As we're getting into the details of the requirements and design we see the prize.  The big bass in mid-air.  As we continue working on the quote, we have to struggle with do we want to go where it's taking us?  Are we willing to stretch and work under the foot bridge?  Or are we going to pull too hard and lose the client?

 

What areas of our life do we need to evaluate our willingness to go where we're being pulled?

The fish aren't biting.

Well, last night the fish weren't biting at all.  It's been over a year since I've gone fishing and not caught at least one or two fish.  I was fishing in a new area for me at an odd time.  I tried several different lures and varied the presentation.  No go.  Last Sunday, I pulled a 16" 2lb bass from the same waters.  So what was different?  Different time of day, different temperatures and slightly different lures.

Reflection

What can I learn from this?  That even though yesterday we used a technique and it paid off big doing the same thing today may not have the same return on investment.  We need to be constantly changing, improving adapting.  (Different lures and presentations.)  And even then we still may not see the return we want.  However, giving up isn't an option.  If anything the lack of result kept me out longer than I had intended.  Maybe the lesson there was cut your losses and get on to something more productive.  I keep thinking if I had gone back to a more familiar location I would have at least caught something.

Kind of like Extreme Programming versus Waterfall.  Even if you don't get to the target you had hoped you at least have some deliverable for the effort that was put in.

Life lessons from fishing

Goals Say you start the outing with the goal of bringing in a big bass. This could be like the life goal of landing your dream job with better salary. Changing the lure You get to fishing the lake and you're not having any luck bringing in the fish of your dreams. This is like trying to get that dream job. So, you have a couple of options; change your location, change your goal and self improvement. Changing your location This is pretty self explanatory. If you're fishing the bank, keep moving around. If you can get out on the water. If that's not working change lakes! Life story, work the job, angle for promotions. Move to another department or division for promotion or change jobs to get that raise. Changing the goal Maybe you are satisfied to not get the big bass. You've resigned yourself that they just aren't biting right now. Change your goal to fishing for panfish. Land one and be happy. This is like a soft job market. It's going to be tough to increase the income level for now so change the goal to be do the one thing I need to do that will best increase my marketability when the market firms up. Self-Education Read and study up on knots, lures, equipment and techniques. Practice before you get to the water. Life story, while you're away from work learn new skills that improve your marketability and potential wage earning capability. Maybe these new skills will give you the edge in landing that big bass (job). Networking Talk to other fisherman. Learn from them. They know the lay of the land. They have a feel for what lures work, the times of day and the hazards. In life your network can help you improve your work skills, tell you how to get through the red tape and warn you about the politics of the situation. And they can help you land that big bass. Success When it's all done, you can rest satisified. You did the best you could. You landed three bass and two crappie. None of them the dream bass you're after but you've learned, built relationships and had fun.

Busy day with webapp

Well, spent a bunch of time working on an ASP.Net application today. I haven't done much at all with ASP.Net so there was a bit of head pounding. However, by days end I had forms authentication set up. A table with the UserID, Password, etc info was built on SQL Server. Using stored procedures to get what I need. Getting the spike solution integrated into the real application proved to be a little interesting. I was running into issues because I hadn't remembered to abandon my session authentication between test runs. I got the application set up to be cookieless and save all state information with a state server hosted on separate machine. Had to edit the registry to permit non-local users to connect to the service. Then I was able to set some session variables for the application. Then I did some refactoring and created a common logout function for the application. I also set up the application to get configuration (connection) information from the web.config. So finally feeling like I had accomplished something, it was time to go home. It was a beautiful ride home on the Harley. It was extremely hard to keep from flexing the wrist. The icing on the evening was catching a couple of crappie right off the bank (they were nesting). Then I reeled in a nice small mouth bass with my ultra-lite combo. Now to get some rest before getting back at it tomorrow.

ColdHeat Soldering Iron

I just received a ColdHeat Soldering Iron as a gift. https://www.asseenontvnetwork.com/vcc/coldheat/coldheat/115785/  It's a pretty slick little device.  The two big things that caught my attention are that it's cordless and they claim that the tip cools off near instantly.  Well after working with it a little bit I can say the following:

Don't plan to use it for really fine work.   It has a split tip that works more like a welder than a soldering iron.

It works best on smaller gauge wire.  Seems like it would be great for splicing wires in the field.

My initial assessment is I don't think it would work well to solder coax or coax connectors.  Because of the mass involved with the coax braid and the connectors I think it would be tough for this device to heat them up well.  I think with larger wires and connectors we'll see lots of cold solder joints using this device.

Overall, I like it for it's intended use, soldering small gauge wires together in the field.  This will come in handy for antenna work.