Resistance in high-temperature superconductors