I get that in the former, the man fits the mold of "misunderstood bit-twiddling genius" or related mythologies of the craft, but the latter is no less of a person. Show some humanity.
Besides, what did putting this person in 2 months of jail do? I doubt this accomplished anything other than spending more of taxpayers dollars. If she's "fucking crazy", then do you think 2 months of jail is a deterrent to stalking somebody? Or just something to make sure she's more careful when stalking?
Throwing people with mental illnesses into jail is as effective as spanking a baby. Sure, they might be conditioned to associate certain behaviour with punishment. But it won't fix underlying causes like behavioural patterns, addiction, or value systems.