Attacks on police underscore why citizens pack hardware