Computing the Newton polytope of the discriminant from the fiber polytope. Resolution of singularities. A research textbook in tribute to Oscar Zariski. Based on the courses given at the working week in Obergurgl, Austria, September 7--14, 1997 