Donald Trump, aided by technology and American military precision, is learning from his predecessors' mistakes.