In the mental/emotional arena I don't have as easy a time. I started with judo recently and encountered a phenomenon I remember from other sports back in school, which is the other beginners being extremely hyped up and trying to backseat coach, telling you to do a thing NOW without allowing time or space to take a careful or exploratory stance (also they aren't necessarily doing it right themselves). I'm a lot more resilient in putting up with that stuff than when I was a kid but it still bothers me - fortunately, with the class being just once a week, there's plenty of time to recover.
And with programming, I definitely have a cycle but it's extremely hard to schedule it like I can with the gym. I don't get to pick exactly what I'm working on so it might be too easy(boring) or too hard(can't pick it back up) that day. Sometimes my attention gets torn by other stuff during the day, too, which cuts into coding.