In the interest of safety, comments have been added regarding this power supply design and transformerless designs in general. This type of supply is fine where it is totally enclosed in an insulated housing. Power supplies of this type are at line voltage potential and can be fatal if parts are touched. Understand the hazards before constructing a supply of this type.
Several messages in this stream have been deleted; they had to do with warnings about the power supply shown above.