Inference, explanation, and other frustrations : essays in the philosophy of science