The more hundreds of hours tick on, the more pressure there is inside me to not feel like I wasted my time. My mind never thinks that I have done a good job, I cannot appease it. I used to code all day, until I felt something well up inside me so fierce that I was crawling out of my skin. Since then, I have been researching programming things all day for 700 days straight just to feel okay. I still feel a strong imposter syndrome come on every time i read someone talk about something I don't know. When that happens, I usually just isolate myself for days. Part of the turmoil of the time wasted thing are thoughts like: am I going about this the right way? why did I spend so much time doing X instead of Y "all this time and I didn't get a degree, and I don't even think I would be able to pass if I tried" and more.
This is going to be some shit advice, but it's what I've been doing to keep myself sane. Just don't care. My psychologist has been telling me to combat those feelings of impostor syndrome (because I do that too) and be a "lawyer for your thoughts". Prove to your feelings that you have learned, and that it wasn't a waste of time. And when someone says something you don't know, take it as an opportunity to learn.