While the obstructions provided for in this article remain on any street, sidewalk, highway or other public place, suitable safeguards by day and by night shall be maintained by the contractor, owner or person in charge of the work, for the protection of the public, by roping off, using lanterns and other proper means.