This difference is something I always doubt about too. Could you say that affect is something going on over a longer period of time and effect is something more direct or sudden?

That's how I think I understand it from the definitions given through the link.