The Diffraction of Waves by Ribbons and by Slits