Online rants by would-be shooters create dilemma for police