The mention of “telephoto lens” in the article along with a search of statutes in your state might be of some help. It could be difficult to catch someone taking such pictures, though, examples being private investigators or people who post pictures to creepy web sites. Home security measures might be the most effective way to deal with it (tinted windows, curtains, tactical lighting, outfacing security cameras, etc.).
I don’t think you or anyone else should have to close your curtains and imprison yourself in your/their home just to keep prying eyes out.
Should you wear revealing clothing or do risque things in front of a window? No, because then you’re enticing folks to check you out.
Just going about normal home life should not open you up to some guy taking photos and publishing them.
As for people in public, I don’t think you have the assumption of privacy there. I will say that I don’t agree with the ability of folks to take pictures of others and sell them for money without permission, even if they are in public.