The tale is about different perceptions of reality and self-fulfilling prophecies. Both consultants were skilled and helped their companies grow, but none saw the possibilities in both planets because they were subject to framing[1].
The OP wrote:
> Now someone else open sourced my Idea and It is one of trending repositories on github.
The OP sees this is a failure because this is his perception of reality. However, there are other signals at play that the OP did not capture. The fact that someone else brought forward the same idea at around the same time automatically tells me the following things:
1. There is a growing interest about this idea
2. It’s not irrelevant, crazy or stupid. Might be a solid idea.
3. There might even be an emerging market
4. The timing for this idea must be right (That’s why different people are coming up with this idea)
5. The OP is smart.
So whatever the OP’s idea is, must be good and worth pursuing. The OP thinks like ‘Mike’, but ‘Joe’ made it rain too. There are countless example for products that came ‘after’ and took over the market (e.g. Apple and Microsoft, iOs and Android, etc).
[1] https://en.wikipedia.org/wiki/Framing_(social_sciences)