How to Successfully Learn Online