Born more than 150 years apart, the two British luminaries each encountered rough receptions for their radical ideas