Politicians everywhere seem doomed to repeat their mistakes. There is another way