<?xml version="1.0" encoding="UTF-8"?><!-- generator="WordPress/2.5.1" -->
<rss version="0.92">
<channel>
	<title>Chris Hedgate</title>
	<link>http://www.hedgate.net</link>
	<description>Self implied</description>
	<lastBuildDate>Thu, 03 Jul 2008 09:21:34 +0000</lastBuildDate>
	<docs>http://backend.userland.com/rss092</docs>
	<language>en</language>
	
	<item>
		<title>test</title>
		<description>test </description>
		<link>http://www.hedgate.net/articles/2008/07/03/test/</link>
			</item>
	<item>
		<title>The elevator pitch introduction session</title>
		<description>Start a conference with a big introduction session where every speaker has to present a 45 second version of his or her session. This would make it easier for the attendees to decide which sessions to go to, and also increase the quality of the sessions.


	
	Photo from bogenfreund&#8217;s Flickr photostream


I ...</description>
		<link>http://www.hedgate.net/articles/2008/07/02/the-elevator-pitch-introduction-session/</link>
			</item>
	<item>
		<title>Documentation (photos) from Agila Sverige open space session about retrospectives</title>
		<description>This is just a very short post linking to a couple of photos that we took to document an open space session about retrospectives and effective meetings, which we hosted at the Agila Sverige 2008 conference. Since some people asked to have them, the photos can be found at the ...</description>
		<link>http://www.hedgate.net/articles/2008/06/25/documentation-photos-from-agila-sverige-open-space-session-about-retrospectives/</link>
			</item>
	<item>
		<title>Facilitator tip: Break contact when you are the centre of attention</title>
		<description>As a facilitator, your role is normally a neutral one with regards to whatever is discussed. Your job is to help and encourage other people to engage and discuss in an efficient collaborative way. A common problem that occurs is when a facilitator is not seen as a neutral person ...</description>
		<link>http://www.hedgate.net/articles/2008/06/25/facilitator-tip-break-contact-when-you-are-the-centre-of-attention/</link>
			</item>
	<item>
		<title>Great Developers</title>
		<description>Great developers know that writing code is a much smaller and easier task than understanding and modifying code is. Therefore, they make sure that the code they write is easy to understand, and possible to extend by writing new code rather than rewriting old code.

Furthermore, when a great developer encounters ...</description>
		<link>http://www.hedgate.net/articles/2008/06/17/great-developers/</link>
			</item>
	<item>
		<title>Motivation for one-line methods</title>
		<description>A simple thing that I often do to clean up and improve code as I am trying to understand it is to extract short fragments of a method into a new, smaller method. Quite often I will move just a single line of code into a new method. The reason ...</description>
		<link>http://www.hedgate.net/articles/2008/04/24/motivation-for-one-line-methods/</link>
			</item>
	<item>
		<title>Real Retrospectives - Not Just Talking</title>
		<description>Last Thursday, me and my colleague Andr&#233;s Taylor ran a session at Cornerstone&#8217;s Developer Summit 2008 in Stockholm. The title was Real Retrospectives - Not Just Talking. Our main point was that retrospectives are a great way of helping the team define (and refine) their own process, one that they ...</description>
		<link>http://www.hedgate.net/articles/2008/04/15/real-retrospectives-not-just-talking/</link>
			</item>
	<item>
		<title>Sharing</title>
		<description>Late friday evening, after some wine, whisky and beer and a movie, I could not think of anything better to do than to catch up a bit on my blog reading (it&#8217;s not just my posting that is more or less dead right now, parental leave has left a lot ...</description>
		<link>http://www.hedgate.net/articles/2007/08/24/sharing/</link>
			</item>
	<item>
		<title>Programming with your nose</title>
		<description>While flipping through an old MSDN magazine* today, I was inspired to this thought: Programming is done with the nose! One way of describing programming as using your nose would be to refer to the analogy of code smells. While I have always liked that analogy, that was however not ...</description>
		<link>http://www.hedgate.net/articles/2007/07/04/programming-with-your-nose/</link>
			</item>
	<item>
		<title>Will it be C#?</title>
		<description>In More Ruby-Influenced BDD in .NET, Scott Bellware writes:

I&#8217;m not sure that C# will ultimately the language that will let BDD really shine on the CLR.  Without some kind of DSL ability like what can be had from Ruby and Boo, it&#8217;s kinda hard to conceive of specification syntaxes ...</description>
		<link>http://www.hedgate.net/articles/2007/06/19/will-it-be-c/</link>
			</item>
	<item>
		<title>Don&#8217;t blame Paula!</title>
		<description>
I used to subscribe to the blog Worse Than Failure (formerly The Daily WTF), but it got removed when I was trimming the number of blogs in my reader. If you have not seen it, they post examples of code that is really badly written or designed. Most often there ...</description>
		<link>http://www.hedgate.net/articles/2007/06/13/dont-blame-paula/</link>
			</item>
	<item>
		<title>Ruby-style iterations in C# 3.0</title>
		<description>While Ruby does have a for-loop, it is not commonly used in idiomatic Ruby code. Instead, to loop a number of times and do something in each run you would write code like this:




5.times do &#124;i&#124;
  print i
end

# equivalent for loop over a range
for int i in 0...5
  ...</description>
		<link>http://www.hedgate.net/articles/2007/05/10/ruby-style-iterations-in-c-3-0/</link>
			</item>
	<item>
		<title>Freedom fosters responsibility</title>
		<description>

Take a look at the photo to the right. Notice anything specific about it? Here is a hint: think about enforcing rules. See it now? That is right, there are no lanes, road signs, pedestrian crossings or similar. Other than the give-way markings on the ground, the intersection is completely ...</description>
		<link>http://www.hedgate.net/articles/2007/05/04/freedom-fosters-responsibility/</link>
			</item>
	<item>
		<title>Testing events with unit tests</title>
		<description>How to test events seem to be a question that sometimes comes up regarding unit testing. There are three different things that we want to test when using events.

  * Verify that an event subscriber really wires up a listener to an event
  * Verify that an event ...</description>
		<link>http://www.hedgate.net/articles/2007/03/13/testing-events-with-unit-tests/</link>
			</item>
	<item>
		<title>Back from SQL Server Open World 2007</title>
		<description>From thursday evening until saturday afternoon I was at the SQL Server Open World in Denmark. SSOW turned out to be an excellent conference. There where about 140 attendees and speakers and there was a lot of interaction between people. Networking is always important and of course happens at all ...</description>
		<link>http://www.hedgate.net/articles/2007/03/11/back-from-sql-server-open-world-2007/</link>
			</item>
	<item>
		<title>Public fields vs properties and a bit of YAGNI</title>
		<description>A month ago or so a friend of mine IM:d me and said they were having a discussion regarding properties, if they should always be used to access fields or if you could sometimes just make the fields public. My response was instant (it was IM after all): Always use ...</description>
		<link>http://www.hedgate.net/articles/2007/02/24/public-fields-vs-properties-and-a-bit-of-yagni/</link>
			</item>
	<item>
		<title>Databinding a WPF control to something else than a static property</title>
		<description>A couple of days ago I was trying to solve a problem with databinding in WPF. What I was trying to do was to create columns for a ListView (with a GridView set for it&#8217;s view). Creating columns was no problem, neither was binding the columns to some property of ...</description>
		<link>http://www.hedgate.net/articles/2007/02/21/dynamically-databinding-a-wpf-control-to-items-in-a-list/</link>
			</item>
	<item>
		<title>Strange card games and methodology discussions</title>
		<description>One of the most demoralizing and improductive things that can happen to a project and team are endless discussions about methodology.

Do not get me wrong here, how we work should definitely not be a once-and-for-all decision that we can never change. Quite the contrary, we must reflect regularly on the ...</description>
		<link>http://www.hedgate.net/articles/2007/02/09/strange-card-games-and-methodology-discussions/</link>
			</item>
	<item>
		<title>Article about CLR integration posted</title>
		<description>About a year ago I wrote an article for the SQL Server Standard magazine called Understanding CLR integration in SQL Server 2005. This article is now also available here at my site, in the Articles section. It is an overview of how the CLR and SQL Server work together and ...</description>
		<link>http://www.hedgate.net/articles/2007/02/02/article-about-clr-integration-posted/</link>
			</item>
	<item>
		<title>Instantiating a WPF control from an NUnit test</title>
		<description>If you try to run a test like the following from NUnit, you will find that it does not work. You get an InvalidOperationException telling you that &#8220;The calling thread must be STA, because many UI components require this&#8221;.




[Test]
public void CanCreateAndShowWpfWindow()
{
  Console.WriteLine(Thread.CurrentThread.GetApartmentState());

  System.Windows.Window window = new System.Windows.Window();
  ...</description>
		<link>http://www.hedgate.net/articles/2007/01/08/instantiating-a-wpf-control-from-an-nunit-test/</link>
			</item>
	<item>
		<title>User stories and customer</title>
		<description>On the XP mailing list, Adam Sroka posted this great reply to a question regarding how to write a story when there is no user involved. The entire thread is very interesting, but this message contains probably the most well written description that I have seen of the customer in ...</description>
		<link>http://www.hedgate.net/articles/2007/01/04/user-stories-and-customer/</link>
			</item>
	<item>
		<title>Plus one on Ayende&#8217;s OSS post</title>
		<description>Ayende Rahien recently wrote a very well thought through post discussing The Problem of Open Source in the Microsoft World. This is a must-read for any .NET developer who has reached the stage of looking for tools outside of Microsoft. As Ayende describes, a big part of the problem is ...</description>
		<link>http://www.hedgate.net/articles/2006/12/11/plus-one-on-ayendes-oss-post/</link>
			</item>
	<item>
		<title>Testable UI code presentation at SNUG</title>
		<description>I did a presentation two days ago at SNUG. The topic was Testable UI Code. The title of my presentation was actually &#8220;Cleaning up the mess&#8221; with the subtitle &#8220;How to take control over monstrous UI classes&#8220;. You can download the presentation and code (it was mostly code) in a ...</description>
		<link>http://www.hedgate.net/articles/2006/12/08/testable-ui-code-presentation-at-snug/</link>
			</item>
	<item>
		<title>Quick should never imply dirty</title>
		<description>My friend and former colleague Magnus M&#38;Atilde;&#165;rtensson recently wrote about his feelings about YAGNI and how he instead would like us to follow what he calls &#8220;GYCFKSTF&#8221; (Give Yourself Credit For Knowing Some Things First). I do not quite agree with what he says (but I guess you knew that ...</description>
		<link>http://www.hedgate.net/articles/2006/12/06/quick-should-never-imply-dirty/</link>
			</item>
	<item>
		<title>One assertion per test should come natural</title>
		<description>In an earlier post I mentioned very briefly the one-assert-per-test-method rule. This is something I think originally came from Dave Astels and definitely a guideline that I try to follow. The reason is of course that it helps make tests simpler and more expressive and therefore make them more helpful ...</description>
		<link>http://www.hedgate.net/articles/2006/11/17/one-assertion-per-test-should-come-natural/</link>
			</item>
	<item>
		<title>To setup or not to setup</title>
		<description>Recently I have been trying the BDD
 (Behavior-Driven Development) approach to developing software. Normally, when I am doing TDD there are a couple of &#8220;house-rules&#8221; that I like to follow. These have developed over time, often following advice from either a colleague or other resource.

One such &#8220;rule&#8221; that has developed ...</description>
		<link>http://www.hedgate.net/articles/2006/10/20/to-setup-or-not-to-setup/</link>
			</item>
	<item>
		<title>FOR XML EXPLICIT</title>
		<description>A couple of weeks ago I was engaged as trainer for the course 2779: Implementing a Microsoft SQL Server 2005 Database. The module that was by far the most difficult according to the attendees was the one on xml, with none of them having any practical experience with xml. One ...</description>
		<link>http://www.hedgate.net/articles/2006/10/09/for-xml-explicit/</link>
			</item>
	<item>
		<title>Unit testing internals</title>
		<description>One of the cool things about Dotway is that we have these &#8220;competence weekends&#8221; three or four times a year, where we go away to some hotel and geek out about something more or less of technical nature. As Andr&#38;Atilde;&#169;s mentions recently we spent a weekend learning about TDD. One ...</description>
		<link>http://www.hedgate.net/articles/2006/10/04/unit-testing-internals/</link>
			</item>
	<item>
		<title>Coming user group meetings</title>
		<description>This Thursday I will be in Stockholm for the Swedish SQL Server User Group&#8217;s final meeting of 2005. The two presentations will be given by none other than Dr. Michael Rys of Microsoft (and member of the ISO standard SQL committee as well as the XQuery committee on W3c)! I ...</description>
		<link>http://www.hedgate.net/articles/2006/10/04/coming-user-group-meetings/</link>
			</item>
	<item>
		<title>To aggregate or not to aggregera</title>
		<description>I do not think I have yet posted a message that is only meant for Swedish (speaking) readers. Anyway, this post is probably mostly interesting to Swedish-speaking people, but I will keep it in English anyway (except where not possible, as is natural from the following discussion).

A couple of months ...</description>
		<link>http://www.hedgate.net/articles/2006/10/04/to-aggregate-or-not-to-aggregera/</link>
			</item>
	<item>
		<title>SQLUG - Michael Rys</title>
		<description>So I was at the Swedish SQL Server User Group meeting in Stockholm yesterday. It&#8217;s sad that there is never anyone but me from Sk&#195;&#165;ne (the part of Sweden where I live) that come there, but of course it is an hour&#8217;s flight and the meeting ends at like 21.30 ...</description>
		<link>http://www.hedgate.net/articles/2006/10/04/sqlug-michael-rys/</link>
			</item>
	<item>
		<title>Driving a car or riding the bus</title>
		<description>Here is an interesting question. You are at point A and want to get to point B. The problem is that you do not know exactly where point B is. So to help you find it you have a device that always shows you the current direction to point B. ...</description>
		<link>http://www.hedgate.net/articles/2006/10/04/driving-a-car-or-riding-the-bus/</link>
			</item>
	<item>
		<title>Dynamic Management Objects in SQL Server 2005</title>
		<description>Performance tuning and troubleshooting in SQL Server has always been something of a black art. To be effective at it you need to know how to use a large set of tools, including Profiler, Perfmon, DBCC commands and stored procedures. Sometimes it can seem almost random which tool you should ...</description>
		<link>http://www.hedgate.net/articles/2006/10/04/dynamic-management-objects-in-sql-server-2005/</link>
			</item>
	<item>
		<title>Agile advice from P&#038;P</title>
		<description>I have been listening to an excellent webcast called Lessons Learned from the Warroom. It features Peter Provost, Brian Button, Brad Wilson and Darrell Snow (all working in the Patterns &#38; Practices group at Microsoft) discussing what they have learned from working by agile methodologies. Among the projects they have ...</description>
		<link>http://www.hedgate.net/articles/2006/10/04/agile-advice-from-p-p/</link>
			</item>
	<item>
		<title>Inverted wisdom</title>
		<description>The agile community is full of words of wisdom. These often describe a lot more about the process than an article (or even books), at least if you understand the meaning behind them. The funny thing is that many of these are often kind of inverted wisdoms, negations if you ...</description>
		<link>http://www.hedgate.net/articles/2006/10/04/inverted-wisdom/</link>
			</item>
	<item>
		<title>No pipe in functions</title>
		<description>I spent a couple of minutes with a confused look on my face today. I was writing a CLR function and wanted to output some information about the progress. SqlContext.Pipe.Send(&#34;some message&#34;); should work, right? Nope, a NullReferenceException was all I got for my troubles. I figured out that it was ...</description>
		<link>http://www.hedgate.net/articles/2006/10/04/no-pipe-in-functions/</link>
			</item>
	<item>
		<title>Two notes about impersonation in SQLCLR</title>
		<description>While experimenting a bit with impersonation in SQLCLR I noted two things I thought would be good to mention here. Firstly, if you are creating a function you need to set the named parameter DataAccess or SystemDataAccess (I assume it works with both set as well) of the SqlFunction attribute ...</description>
		<link>http://www.hedgate.net/articles/2006/10/04/two-notes-about-impersonation-in-sqlclr/</link>
			</item>
	<item>
		<title>Extension methods and method overload resolution</title>
		<description>Eric Gunnerson recently posted an interesting piece of C# code and asked what it does. As he explains in the follow-up discussion post, the reason why it does what it does is that we would not want the behaviour of our program to change due to a new method being ...</description>
		<link>http://www.hedgate.net/articles/2006/10/04/extension-methods-and-method-overload-resolution/</link>
			</item>
	<item>
		<title>Troubles with shared state and anonymous delegates in SQLCLR</title>
		<description>Earlier today I set out to create a SQLCLR function for splitting a comma-separated string including ranges (such as &#226;2,5,7-9,13&#226;) into a set of values. I encountered some problems that I think is valuable to document here. The code below shows what I initially wrote:




SqlFunction(
  DataAccess = DataAccessKind.None,
  ...</description>
		<link>http://www.hedgate.net/articles/2006/10/04/troubles-with-shared-state-and-anonymous-delegates-in-sqlclr/</link>
			</item>
	<item>
		<title>Splitting a comma separated string with ranges included</title>
		<description>While browsing the SqlServerCentral.com forums earlier today I saw a question that interested me. The person asking it wanted to split a string containing a repeating group of values into a set of values. I remembered that Eric Gunnerson is running a series of regular expression puzzle questions and that ...</description>
		<link>http://www.hedgate.net/articles/2006/10/04/splitting-a-comma-separated-string-with-ranges-included/</link>
			</item>
	<item>
		<title>Index lookups, seeks and scans</title>
		<description>In my latest article entitled Dynamic Management Objects I describe a great new feature in SQL Server 2005. With Dynamic Management Views (DMVs) and Dynamic Management Functions (DMFs) we can get a lot of real-time information regarding what have been going on in the server since the latest restart. I ...</description>
		<link>http://www.hedgate.net/articles/2006/10/04/index-lookups-seeks-and-scans/</link>
			</item>
	<item>
		<title>More on magic numbers</title>
		<description>I recently posted a recommendation about avoiding magic numbers in stored procedures (and other t-sql routines of course). Yesterday I updated that post with some important info that invalidates the recommendation from a performance view. Please read the updated post if you have not seen this. However, I still think ...</description>
		<link>http://www.hedgate.net/articles/2006/10/04/more-on-magic-numbers/</link>
			</item>
	<item>
		<title>Stored Procedure Guidelines: Avoid magic numbers</title>
		<description>UPDATE: I have just read a post by Ian Jose from the Query Optimizer team that sort of invalidates this recommendation. He writes that you should use literals, or at least unchanged parameters, for query inputs. As his post shows, using variables as I write below can often have a ...</description>
		<link>http://www.hedgate.net/articles/2006/10/04/stored-procedure-guidelines-avoid-magic-numbers/</link>
			</item>
	<item>
		<title>Review: Pragmatic Unit Testing in C# with NUnit</title>
		<description>I read Pragmatic Unit Testing in C# with NUnit this morning. I love the fast-paced to-the-point writing style of Andy Hunt and Dave Thomas (and the other authors in their publishing house), and this book was no different than other books in the Pragmatic-series. Most of the contents was stuff ...</description>
		<link>http://www.hedgate.net/articles/2006/10/04/review-pragmatic-unit-testing-in-c-with-nunit/</link>
			</item>
	<item>
		<title>Design Patterns in Ruby: Chain of Command</title>
		<description>Chain of Responsibility:

Avoid coupling the sender of a request to its receiver by giving more than one object a chance to handle the request. Chain the receiving objects and pass the request along the chain until an object handles it.

GOF p.223

In the book, the GoF mention how in Smalltalk it ...</description>
		<link>http://www.hedgate.net/articles/2006/10/03/design-patterns-in-ruby-chain-of-command/</link>
			</item>
	<item>
		<title>Design Patterns in Ruby</title>
		<description>One of the cool things about working at Dotway is the Design Patterns study group that we have. We have been meeting weekly/biweekly/sometimes for a while now and each time we discuss one of the GoF patterns in detail. We like to find out how they are used, what variations ...</description>
		<link>http://www.hedgate.net/articles/2006/10/03/design-patterns-in-ruby/</link>
			</item>
	<item>
		<title>Setting the contents of a WPF RichTextBox</title>
		<description>In the project I am currently working on we are using Windows Presentation Foundation for building the GUI. This means there are a lot of new things to learn. Even the small things take some time when you do not know which of the new controls to use are what ...</description>
		<link>http://www.hedgate.net/articles/2006/10/03/setting-the-contents-of-a-wpf-richtextbox/</link>
			</item>
	<item>
		<title>Active Record presentation at SNUG</title>
		<description>Wednesday evening we had the last SNUG meeting before summer. The meeting was hosted Dotway. We had a great turnout with around 30 people apart from us that arranged it, even though we informed about the meeting as late as two weeks earlier. First we had Jim Christensen from Commentor ...</description>
		<link>http://www.hedgate.net/articles/2006/10/03/active-record-presentation-at-snug/</link>
			</item>
	<item>
		<title>Microsoft Certified Technology Specialist</title>
		<description>I just noted in my MCP transcript that I passed the Beta Exam for 70-431 TS: Microsoft&#174; SQL Server&#8482; 2005 &#226; Implementation and Maintenance. This means that I am now a Microsoft Certified Technology Specialist (MCTS) for SQL Server 2005. Curiuosly though, I do not feel any different. :)

It is ...</description>
		<link>http://www.hedgate.net/articles/2006/10/03/microsoft-certified-technology-specialist/</link>
			</item>
	<item>
		<title>PASS Europe 2006 over</title>
		<description>I am back home after attending PASS Europe 2006 in Barcelona, where I also presented a session myself. I have uploaded a zip file with the presentation that I did (Understanding CLR Integration in SQL Server 2005). I will be posting a followup post about some of the things that ...</description>
		<link>http://www.hedgate.net/articles/2006/10/03/pass-europe-2006-over/</link>
			</item>
	<item>
		<title>Getting things done with TDD and pair-programming</title>
		<description>

Last week me and Andres where in Barcelona for three days. The main reason we where there was that I was presenting a session at the PASS Europe 2006 conference, and we of course wanted to see as much as possible of the other sessions at the conference as well. ...</description>
		<link>http://www.hedgate.net/articles/2006/10/03/getting-things-done-with-tdd-and-pair-programming/</link>
			</item>
	<item>
		<title>Getting FeedTools to work with SQL Server</title>
		<description>I have been trying for a few days (hey, I&#8217;m on vacation and have been spending time with my girlfriend, son and dog so I have not spent a lot of time with this) to get FeedTools to work with a Rails application I am working on. I had a ...</description>
		<link>http://www.hedgate.net/articles/2006/10/03/getting-feedtools-to-work-with-sql-server/</link>
			</item>
	<item>
		<title>Assert.IsEmpty(blog)</title>
		<description>A while ago my host had a major mishap with a server, resulting in my blog getting &#8220;lost&#8221; and moving to a new server (at the same host though). Unfortunately it also meant my content was lost, and as far as I understand there are no backups (my bad). I ...</description>
		<link>http://www.hedgate.net/articles/2006/09/08/assert-isempty-blog/</link>
			</item>
	<item>
		<title>Really Simple Faking</title>
		<description>Interaction based testing is a technique that is often made much more difficult and/or magical than it needs to be. Any experienced TDDer will have lots of arguments for and against using a mock framework for doing interaction based testing. Personally I have been very much for and very much ...</description>
		<link>http://www.hedgate.net/articles/2006/09/04/really-simple-faking/</link>
			</item>
</channel>
</rss>
