Other tactics I have developed in order to keep momentum are.
1. Don't finish your learning session on a bug or somewhere you are stuck. You will feel anxious just coming back to it.
2. Finish a section of the tutorial and skim over the next part without starting it. This will serve to allow you estimate how long it might take and for me reduces the anxiety in starting a potential black hole of confusion.
3. Finish and start with Anki. 2-3 long term memory takeaways from each learning session is enough for me. I have only recently accepted that I couldn't explain what rake routes, generate scaffold and generate listing even did. This in spite of the fact that I have now typed them all 15+ times.