You aren't untalented, empty and dumb. You just lack self-esteem and perspective.
You don't appreciate what you're capable of. If you can write code and combine technical knowledge with well-crafted English sentences, you already have skills most people on the planet never will. If you work in tech in general, you are blessed with a life free of physical exertion, with a flexible schedule, and the opportunity for a high paycheck. You are very fortunate. If you were actually untalented, empty and dumb, but still benefiting from this occupation, you're very fortunate indeed!
And you don't feel bad because you think you're untalented, empty and dumb. You feel bad because you're judgemental and egotistical. You look at people who, to you, appear to be more accomplished, and then you look at yourself, and you judge yourself. Imagine if you were doing this to someone else; "Catherine is so untalented, empty and dumb, because she hasn't achieved what Karl did. What a stupid loser!" Your egotism drives the urge for an inflated self-view, but then your self-judgement for lack of accomplishment lowers your self-esteem.
You want to be someone better; someone that you'd admire. But you're unwilling to put in the effort and risk it takes to be admirable. You're here on HN telling thousands of strangers how you feel like crap, wanting one of us to give you some magic words to make it easier to either reconcile your thoughts or make something of yourself. But there are no magic words. Whether you're satisfied with life or not is completely up to you alone. You can decide to be satisfied and be happy. Or you can decide to be unsatisfied and be unhappy. Or, you can decide to be momentarily unsatisfied/unhappy, and do the difficult work to change that state. Climbing tall mountains isn't easy.
You don't have to "do something" or "be smart". You don't have to learn anything new, be impressive or accomplished. Those things will not make you a better person, or even happier. But you can attempt those things if you choose to. Coast, carve, or climb; pick one. And stop judging yourself, and stop underestimating your own accomplishments.