First time I was let go, I was fresh out of university. I had only been in the position for around 3 weeks. I came into the company at the worst possible time and they gave me a task which, in retrospect, was very difficult for a recent graduate; the project had around 30K concurrent users at its peak and I had to make it so that their results tables would update in realtime... They gave me only 3 weeks to do that task (which I had to complete along with some other tasks/bug fixing)... Also, I had to learn git which was not mainstream at the time (this was before GitHub). This was also before WebSockets were widely supported and before Socket.io existed. In retrospect, I should have asked to be assigned to an easier task as a starter, or should have negotiated down the scope. Anyway this was my first job and I was deeply passionate about web technologies so it was a painful experience to be rejected for something which was the center of my universe at the time.

After that, I held onto, in fact, excelled at every job and was often one of the top software engineers wherever I worked. I also launched some popular open source projects since then. I experienced some success in crypto (after facing a lot of adversity). I led significant improvements in the crypto project I worked on and things were looking up, the blockchain became highly stable and supported some unique features which would allow it to scale and meet its original vision; but after a couple of years, founders decided they wanted to go in a different direction which I did not agree with and so I had to quit. I made such an impact on that project that I managed to earn income from it for about 3 years after quitting the company; the biggest crypto voting cartel in that ecosystem broke up and re-formed just to include me as a member. Then after 3 years of horrible decisions, the founders essentially ran the project into the ground (no surprise to me); they did such a bad job that they then had to migrate their token to a competitor's platform. I lost my passive income... Though I must have earned like 200K EUR from it over the years. Best years of my life; no job, earning passive income while working voluntarily on open source project I cared about. I was not beholden to anyone and had no responsibilities besides just keeping my node running.

After that, I had to go back to working 9-to-5 doing the most tedious jobs, for lower pay. I was forced to accept work for a company in the mainstream finance sector which was the antithesis of everything I knew and believed in, literally going to work every day believing 100% that I was making the world a worse place. I struggled to find motivation; I did my best to hide it but I got fired after almost 1 year (coincidentally, just a few months before my shares would vest). Talent cannot make up for lack of enthusiasm it turns out... It was an unsettling experience hearing the CTO tell me how smart I was and that I won't have trouble finding other work... while firing me... Like 2 weeks after giving me access to their Stripe control panel where I could see all company finances! At that point, I had full access to everything, all user data, all services, all infrastructure. They'd literally put me in a position of ultimate trust, before pulling the rug from under me. I left in a very classy manner and on decent terms, as I always did before. In retrospect, the whole experience working there was very strange.

Anyway it's been a struggle to find motivation since then. I don't take my career too seriously now; having seen both the lows and the highs and seeing how talent and determination doesn't doesn't actually make a difference in the face of political machinations (which are pervasive in the industry). I don't think I would even care much if I got fired again. I'm now more political myself; I do the bare minimum. In effect, I've become like the people I used to hate, but I don't hate them anymore because I now understand why they might have been that way.