The interaction of dislocations and precipitates