It's true a steel inner strength is required in day to day engineering. It's hard, and it lacks positive reinformcement almost always. When you hear something it is bad.
But let's define "buck up" and see the other side of the elephant. That blog post is a textbook example of negative self talk. You can have a world that looks down on you and spit back at it and do your best work, but if you look down on yourself you _will not_ bootstrap your way out, because you learn to believe you cannot.
That is depression, and depression is reinforced if not caused by that self-talk. Addressing the self-talk and stopping the flagellation will allow that steel inner strength to build up. Medication is a parachute but the wings and engine need to be rebuilt using self confidence, and that's a long road of:
* reframing failures as lessons
* honesty with self about your own role in your depression
* careful build-up of support
* learning to find the important and good in each memory, vs the deprecating and painful
In my opinion the prerequisites are a natural aptitude and a genuine curiosity.
It can be simultaneously true that they are struggling and unlikely to succeed now, and that their natural aptitude is not being realized due to non-work factors.
Hell, one time my friend died suddenly, and I failed out of every project I was on and developed a ton of health problems. Since then, I've gone back to my natural state, but it was hard. Anyone looking at me during that time would have seen a distracted fuckup. I probably would have been given an ADHD diagnosis and drugged heavily, were it not for the acute signal from the proximity of a good friends sudden murder.
One of the thing that is important is to segment the work and have checkpoints and mini bosses. You don’t climb a mountain in one go. That’s one of the reason I dislike LLM in coding is because coding is my down time after a deep thinking session.
Another thing is to have an end goal in mind, and plan the journey according to those. You do this by having enough information about the business domain. I’ve seen people rush blindly into solving problem and get a burnout in the process. This also help with pacing yourself to a sustainable rate of effort.
Exercise, cultivating positive fear responses, self-challenge are all important.
What you're pinning as "therapy talk" is just that last one - you need to think critically about how you approach life problems, not just accept the most negative interpretation of events and your inner monologue.
I think any stoic would agree with that statement.