“If any person, not being an officer on duty in the military or naval service of the state or of the United States, shall go armed with a dirk, dagger, sword or pistol, or other offensive or dangerous weapon, without reasonable cause to fear an assault or other injury or violence . . . . (he shall be punished).