I think that Amazon (Associates) aStore is a great idea. It’s a great way of getting book recommendations out to people/community. I deliver a reasonable number of presentations throughout the year and always have a ‘resources (books)’ slide. Amazon’s aStore firms that up and makes it easy for me to point attendees to the new link on my blog: Book Recommendations.
Glasgow 26th September 2006 – TDD slide deck and code
Today saw me run my Test-Driven Development and Code Coverage session for the third time in as many months. Whilst the audience was fewer in number than usual, the interactivity made it a good session for me (and for the attendees from what I can gather). One thing that came out of this delivery was the need to examine user interface testing in more detail – something for 2007 I think.
The source code, crib notes and slide deck are available here.
Leeds – Security Event with a former FBI agent
I am pleased to confirm that Microsoft’s Chief Security Advisor and former FBI agent, Ed Gibson, will definitely be making a stop in Leeds.
If you are a develop looking to learn more about what Oracle and Microsoft are doing in the security space, then this event is for you!
Venue:
Leeds, Courtyard By Marriott Leeds/Bradford
Date/Time:
12th Oct 2006 (4pm-7.30pm)
Further information can be found here, and if you want to register please click here.
Technorati Tags: security, Ed Gibson, NxtGenUG, ScottishDevelopers, Leeds, Microsoft, Oracle
Compressing PowerPoint slide decks using NXPowerLite
I’m getting super results from NXPowerLite, a PowerPoint compression tool.
It works wonders on slide decks that are graphics-heavy or those that contain cut’n’paste pieces from Word documents or Excel spreadsheets.
I’ve noticed .ppt files that were 2500K drop down to 250k without tweaking NXPowerLite.
If you have a web-site full of .ppt files, this application could be a real boon – I plan to compress all the slide decks over at www.craigmurphy.com as soon as time permits.
Technorati Tags: NXPowerLite, compression, slide deck, PowerPoint
Offline blogging using Windows Live Writer
I’ve been using Windows Live Writer for the last month – it’s an offline blogging tool that ideal for writing blog entries whilst in aircraft or on a train or anywhere without an Internet connection. It’s good, but since it’s a beta you do know where the edges are.
Microsoft’s Mike Taulty has written a super little plug-in for Windows Live Writer – it provides a very quick means of locating and inserting a URL into a blog post.
If, like me, you like the cross-linking nature of blog posts, you’ve probably found yourself search for another person’s blog URL using another browser window…then you’ve cut’n’paste it into the blog post.
Mike’s plug-in automates that, keeping the whole operation inside Windows Live Writer. At the back-end, it uses Live Search to produce its results.
Technorati Tags: Live Writer, plug-in, blog, Live Search, offline
Vista-style task bar preview for XP
At yesterday’s Vista session, delivered by Dan Moth, he demonstrated a lot of Vista’s [graphical] features, including the rather neat thumbnail preview of applications that are on the task bar.
If you’re running Windows XP, a similar effect can be achieved using Visual Tasktips.

Technorati Tags: Vista, Visual Tasktips, task bar
Did you know? Windows Quality?
When an application crashes, Windows error reporting pops up a box with “send” and “don’t send” buttons offering you the chance to send technical data relating to the crash back to Microsoft. It happens for Microsoft applications and third-party applications too.
As a side-effect of attending an MSDN session about Vista, the speaker (Dan Moth) mentioned “winqual” to the audience.
This is what he was talking about. Dan was telling us that we can register on the winqual site and gain access to the technical data sent as a result of our own applications crashing (assuming our end-users actually click Send…everybody clicks on Send, right?) Whilst a credit card is required for registration, gaining access to your own application’s data is free – the site is careful to advise if there a cost involved for other content.
DDD4 Geek Dinner!
I am pleased to announce that Zi has once again organised a geek dinner for those attending DDD4 on the 2nd December 2006!
If you wish to attend, please sign up here.
Spaces are limited to 40, so sign up is very important! Last time at DDD3, we had a full house and ran a waiting list – book early, that’s my advice!
Whilst we’re on the subject – do you want to speak at DDD4? If so, sign up here (earlier site outages have been fixed!)
Glasgow 26th September 2006 – Re-running Test-Driven Development and Code Coverage
What and When
I will be running my Test-Driven Development and Code Coverage session (for the third time) in Glasgow on the 26th of September 2006. Praise for the session can be found here.
Venue
Woodside Hall
36, Glenfarg Street
G20 7QS
Map
Click here
Contact
Emma Britton via VBUG.
—
TDD and Code Coverage in .NET
ABSTRACT
Testing code can be a laborious process that is repetitive in its nature. Empirical evidence confirms that most repetitive processes enjoy a lot of success, or coverage, during early iterations, but later iterations suffer from lower coverage as the tedium sets in. For that reason, we sought to automate the repetitive testing process, i.e. we wrote some code that could replace the repetitive process. The development community achieved this by the adoption of a testing framework that embraced Test-Driven Development (TDD) and testing tools such as NUnit.
The ethos behind TDD and NUnit is “write once, use often”, i.e. once a test has been written it can be used many times. Naturally, by embodying “tests” in code and by using a tool to run those tests, we find the repetitive nature of testing disappears and the process of testing actually beings to provide confidence boosts.
However, whilst adoption of TDD and NUnit provides major advances in the reduction of repetitive testing tasks, they do not help us ensure that the tests actually cover as much of the code-base as is possible/required. It is possible to write a collection of tests that only exercise 25% of the code-base, yet because the tests are successful (i.e. they pass), the developer’s confidence is so high, s/he fails to spot that there is still a lot of test code still to be written.
Code coverage, is not a new technique, the likes of Boris Bezier discussed it in 1990 and Tom McCabe wrote about it as far back as 1976. Today, we can use graphical tools to determine how much of our code is exercised, or covered during an execution cycle. Such tools help us identify which areas of our code have not been tested and can help us direct our effort. However, they do rely on some manual effort that is repetitive, i.e. a user/developer must walk through the application. Luckily, if we are practicing TDD, we have a set of automated tests that we can tap into thus alleviate this repetition.
Over the course of 90 minutes Craig will demonstrate four .net tools, NUnit, NCover, NCoverExplorer and TestDriven.Net. All of these tools and free and work with .net 1.1 and 2.0. A variety of IDEs are supported, include Visual Studio 2003 and Visual Studio 2005. He will explain the basics of TDD and code coverage and why they are both important skills and processes to include in your development/build process. Examples will be written in C# and Visual Studio 2005.
BIO
Craig Murphy is an author, developer, speaker, project manager, Microsoft MVP (Connected Systems) and is a Certified ScrumMaster. Commercially, Craig has been using Borland Delphi since 1998; today, he uses Visual Studio 2005 and C#. He regularly writes articles product/book reviews: The Delphi Magazine, International Developer, ASPToday and Computer Headline have published his work. Craig has written for virtually every Developers Group magazine issue since the year 2000! He specialises in all things related to .NET, C#, Borland Delphi, XML/Web Services, XSLT, Test-Driven Development, Extreme Programming, agile methods and Scrum. In his career to date, Craig has written cost estimating software for the oil and gas industry and asset valuation software for local councils and the Ministry of Defence. He has a day-job, a wife and a son.
Windows Vista Developer Features Beyond .NET – 20 September, Edinburgh
Former MVP, now Microsoft employee, Dan Moth is coming to Edinburgh on the 20th of September to deliver a Vista session.
Registration is essential, follow the link on the left-hand side of this page:
http://msevents.microsoft.com/CUI/EventDetail.aspx?culture=en-GB&eventid=1032306822
—
Windows Vista Developer Features Beyond .NET
20 September 2006 09:45 – 20 September 2006 12:30 GMT, London
Welcome Time: 09:00
Language: English
Microsoft Edinburgh
Spey
127 George Street
Edinburgh EH2 4JN
United Kingdom
General Event Information
Products: Windows Vista.
Recommended Audience: Developer.
Windows Vista brings with it a fantastic platform for managed development, namely .NET Framework v3.0 (formerly WinFX). However, there are many new native APIs in Windows Vista that aren’t a part of .NET Framework 3.0. In this session you will discover how you – a C# or Visual Basic developer – can take advantage of this new functionality. Alongside plenty of demos, you will learn how to make your application feel like a real extension to the Windows Vista platform, and not like a ported application that just runs on it.
Technologies covered will include using the “glass” interface in your applications, new dialog box features, the RSS API, sidebar gadgets, the restart/recovery API and an overview of User Account Control (UAC) feature including how to ensure your applications work with UAC, TxF, plus many more.
Timings
9.00 for 9.45 Registration
9.45 – 11.00 Session 1
11.00 – 11.15 break
11.15 -12.30 Session 2
12.30 close
What do an ex-FBI agent and Microsoft community have in common?

Scottish Developers and the NxtGenUG are proud to announce the ‘Ed Gibson “On The Road”‘ Events which will take place mid-Septermber to mid-October 2006 at 5 venues around the country. The aim of the events are to raise awareness of the issues surrounding computer security, specifically Organised Crime and Hacking and also to raise the awareness amongst the Business and Developer communities of Developer and IT Pro User Groups and how they can help instruct and inform developers and managers about new technologies and other issues such as security.
The headline speaker is Ed Gibson the new Chief Security Advisor for Microsoft UK. Ed is an ex-FBI agent and delivers a fascinating talk on his experiences and views on security in the IT world and how to combat organised crime on the Internet.
Other speakers from the likes of Oracle will offer alternative or differing views on computer security and the event will end with an hour long ‘panel discussion’ with question and answers.
Register via here.
Ed’s Dates and Venues
Birmingham
Faraday Wharf,Aston Science Park
20th Sept 2006 (4pm-7.30pm)
This event will feature Ed Gibson, Dinis Cruz and Barry Dorrans and is being run by The Next Generation User Group and the Scottish Developers Group in association with Aston Science Park and iCentrum, Birmingham.
Cambridge
Microsoft Laboratories, Cambridge
3rd Oct 2006 (4pm-7.30pm)
This event will feature Ed Gibson and Alun Rogers of Risual and is being run by The Next Generation User Group and the Scottish Developers Group in association with the Cambridge Network.
Leeds
Leeds Univeristy
12th Oct 2006(Prov) (4pm-7.30pm)
This event will feature Ed Gibson, Dinis Cruz and Duncan Harris of Oracle and is being run by the Scottish Developers Group and The Next Generation User Group in association with Leeds University.
London
Microsoft Offices London
26th Oct 2006 (4pm-7.30pm)
This event will feature Ed Gibson, Dinis Cruz and Chris Seary of Charteris and is being run by the Scottish Developers Group and The Next Generation User Group in association with the London .NET User Group.
Edinburgh
Royal Pharmaceutical Society
2nd Nov 2006 (1pm-5pm)
This event will feature Ed Gibson and Duncan Harris of Oracle and is being run by the Scottish Developers Group and The Next Generation User Group.
DDD4 – Call For Speakers
Would you like to speak at one of the UK’s leading developer community events?
We’re looking for community-oriented folks to speak at DeveloperDeveloperDeveloper 4 (2nd December 2006)!
Please take a look at the submissions so far, then feel free to submit your own session!
If you are sitting on the fence or have not spoken to an audience before, fear not! DDD is a friendly place, you will be made most welcome!
As usual, the event will be held at Microsoft’s Reading Campus in Thames Valley Park.
Check out what I’ve said about previous DDD days here, here and here!