Reflections on the philosophy of physics