I don't think the OP story is very good; we all make mistakes but the point of the story is about organizations, not people for the most part.
There is no reason to "stay hyper-productive and focused" every single day. Just as the work ebbs and flows, a person's energy ebbs and flows.
The key is to develop _habits_ which serve you well on "off" days. Put forth the effort to do things like wake up at the same time, log in and do certain "ceremonies" of work, always do SOMEthing productive every day.
It's the exact same thing as forcing yourself to go to the gym every day no matter what. You don't have to set new personal records every time. But if you go and put in at least SOME level of effort, push yourself at least somewhat, then on the "bad" days you can just put yourself on autopilot and still put in a good (not GREAT, not superb, not fantastic, just GOOD) performance. And that's what matters.
Tried habit-forming measurements, they've never worked and feel like a scam from the self-help industry.
> forcing yourself to go to the gym every day
This also never worked for me. While going to the gym is super effective, I found it the most boring and brain-deadening activity ever—I degenerate there even more than browsing Reddit for two hours. In contrast, I don't have a problem to motivate myself to go and play Tennis, without any habit-forming voodoo.
I like the question and at the same time I’m not sure if I understand what you are looking for. If I’m “hyper-productive” and “focused” on my “worst day”, it obviously wasn’t my worst day? Bad days usually are days when I can’t focus. Are you looking for people who never have a bad day?
> I’m not sure if I understand what you are looking for.
I like OP's post but would love to get some empirical data.
> If I’m “hyper-productive” and “focused” on my “worst day”, it obviously wasn’t my worst day?
Good q, I could also have asked: What's your system to overcome set-backs which usually distract you and turn an ok day into a bad day. Or just, how to turn a lazy or bad started day into a good day.
(1) Separate work from life, be able to walk away for a bit when work isn't going well. And do walk away if things aren't going well. If you haven't been able to write any code for the past few hours, odds are you won't be able to write any in the next few hours.
(2) Focus on process over results. IE have a good process to minimize the amount of time you spend thinking about what you should be doing, whether you did the right thing, etc. What honestly helps in these cases is just having a task list of "I need to get XYZ done today" and then blasting through it without leaving room for thinking about things too much. I like Getting Things Done (ie https://www.amazon.com/Getting-Things-Done-Stress-Free-Produ...) because it helps separate work from life.
(3) Take the long view of your life/career. The truth is that you are going to make mistakes, bugs will get into prod, you're going to get burned out, etc, so you need to accept that you will have "bad" days (or days, weeks, moths where you just don't care about what you're doing in which case it is obviously going to be crap) and focus on the process for improving them to minimize them over the long run. I think the important question here isn't "did I make mistakes" but rather "is my process resulting in a slower rate of mistakes/less severe mistakes.
(4) Never forget to eat, sleep, drink water, and exercise. Especially sleep. when things are bad we tend to sacrifice sleep, that almost always makes it worse.
Most of it I think is summarized as having a process you can trust so that when things do go poorly you can focus on the process in those moments. The process will get you out.
There is no reason to "stay hyper-productive and focused" every single day. Just as the work ebbs and flows, a person's energy ebbs and flows.
The key is to develop _habits_ which serve you well on "off" days. Put forth the effort to do things like wake up at the same time, log in and do certain "ceremonies" of work, always do SOMEthing productive every day.
It's the exact same thing as forcing yourself to go to the gym every day no matter what. You don't have to set new personal records every time. But if you go and put in at least SOME level of effort, push yourself at least somewhat, then on the "bad" days you can just put yourself on autopilot and still put in a good (not GREAT, not superb, not fantastic, just GOOD) performance. And that's what matters.