TFS Event Handler
June 19, 2007
I got a track back in my aggregator this morning from Martin Hinshelwood who has been working on the TFS Event Handler project up on CodePlex. It is an interesting idea and I’ve had a little look through the source code, but I am wondering about two things:
- Is MSMQ really required? I can see why it is being used but I wonder if there might be a better solution because that is a fairly heavy dependency.
- Looking at the configuration file it seems like the way you “handle” the events is that you add an assembly which gets loaded dynamically. Rather than that I’d prefer to see something more “scripty” like PowerShell being used as the automation language as that would support a more speedy, glue like approach.
Definitely worth looking at though.
Human Tetris
June 19, 2007
A friend of mine sent me a link to this Japanese game show where they play “human tetris“. I thought it was really funny.
Unintended Consequences: Login Scripts
June 19, 2007
Recently I’ve been doing some work for a client writing a little (yet tedious) piece of code that converts an input file to an output file of a slightly different format.
Because the client doesn’t have development workstations for us we have been allowed to connect our laptops to the corporate network and develop inside some virtual machines, we connect the virtual machines to their Active Directory domain. This actually requires a system administrator to come around and type in their credentials to get the process started.
After the machine is successfully joined to the domain I need to reboot and login which is of course when all the fun starts. I am of course talking about login scripts.
In 500 years time when archeologists dig up the fossilized remains of Active Directory domain controllers they will remark how humans of the period developed a complex mechanism by which they could ensure that they had time to go grab a coffee after typing in their username but before starting doing any actual work.
After typing in my username I stepped around the corner to make myself a cup of tea and returned to find a dialog like the following staring back at me:
This is of course a VBScript error being thrown up by Windows Scripting Host which is being executed as part of the login script. No doubt this is because the machine that I connected to the domain doesn’t have exactly the standard desktop configuration that the script was expecting.
Another interesting thing about this dialog is that it is modal, that is to say that it stops execution of the login script until I click OK. Being time constrained I ponder this for a few moments and decide the best course of action is to drag the error message over to the bottom right of the screen as far as I can so that I can barely even see its border.
Effect? The login script is still running but it isn’t wasting valuable CPU cycles and I can get to work.
P.S. Later that day I did click OK and I was required to reboot the machine three times (sigh).