Ask HN: How do I move up my career/life?
My background:

I'm a 25 year old Indian software developer working in India.

As for my education, I actually studied in the United States for my MS in Computer Science (from a large public university; not ivy league), and is one of the rare Indian students who actually returned to India immediately after I got my degree. I cannot pinpoint exactly why I returned; it was a combination of me being an introvert + I really felt like I didn't belong there. (Don't get me wrong here — all Americans (and non Americans, for that matter) I met in USA were wonderful nice kind people; it's just, I didn't belong there).

After returning back to India, I got a software engineering job which I would've gotten anyway even if I never went to America (I try not to think too much about this).

I have 2.5 years of work experience, and at work I do Laravel for the most part, with occasional Python and Go. If I may say so myself, I'm an expert in Laravel, great with python, and just a beginner in Go. I'm constantly learning and improving myself.

I work on a specific product (that our company sells to many other companies; basically what I'm saying is, this product is not something a specific client asked us to build — it is a web application we built and sell and make money from), ie., I'm NOT a consultant programmer or anything like that.

I've become good enough at my current job that it's no longer stressful.

I'm making decent money (decent enough for a single guy living in a tier-2 city in India), and I don't have much expenses. No loans or mortgages or crap like that.

My problem is that I don't know where to go to from here. Like, I'm in a good, comfortable place. I want to get to a better, even more comfortable place, and I don't know what to do.

I've considered applying to other jobs, but the work environment in most other places around here is hectic and is not worth with going to. And most other jobs here are those consultancy/outsourcing type jobs which I'm not keen on doing. Also, I doubt if any of those would be intellectually stimulating.

I tried my luck applying to FAANG companies, and well, I didn't get them. Unlike previous years, this year I didn't even get a callback after I applied (I used to get to the interview stages). Maybe they decided I might never improve lmao.

Perhaps I should move abroad? But where to? Going to USA is out of the question with the H1B lottery and associated crapshoot that I don't want to subject myself to. Plus, that's a country I choose to return from.

Or perhaps I should try to get away from my web developer job and get into something else?

Let's see. Consider machine learning. I'm good at math, yet I had an extremely difficult time in my artificial intelligence class; therefore I might end up being bad at ML, but who knows. Although there's plenty of ML jobs here, it's difficult to get those jobs if you're not already in ML. Hard to get my foot in the door.

I have more interest in type systems and programming language theory and things like that. While I'm not an expert, I know little of Haskell and Racket, and I think I'd enjoy doing more of those in a professional capacity. But then again, the job market for those kinds of things is next to nil here. A career at Jane Street interests me more than a career at Google, but I don't think I'm great enough for them to move me to one of their offices abroad (they don't have offices in India).

Should I learn ML/Data Science and get into that? Should I move abroad? Should I do anything else?

So, I'm asking for general career and life advise here. I don't have any active pressing problems, but my life is just meh. Borderline depressing.

Thanks for reading thus far, and sorry if I wasted your time.