How to optimize just-in-time-informal learning