Hundreds of years ago, someone took great pains to carve thousands of holes into a long ridge-top strip in the Andean foothills.