There's nothing wrong with that and somewhere down the line you'll realize you actually learned something useful from all this.
Also, things could be much worse; for instance you could be an unemployed father or being hunted by money lenders or with a chronic disease and no insurance -- you're not the only one that experiences trouble in this economy, yet many people will live to see a brighter day.
You are also not an idiot. To succeed in this economy, smartness is only one factor. Others are luck, timing, the environment you live in and the acquaintances you have.
Get a job, any job whatsoever. Low paying jobs, like being a driver or a cashier or working in constructions, require more physical effort and a lot less mental effort. This is good, because you probably need a break from software development. Physical effort is also good when you're depressed and it helps you pay the rent too.
I would also move out of my parents' house as soon as I got a job that allows me to survive, as there's nothing worse when you're depressed to also be dependent on other people, especially parents that look down on you with disappointment; remember that they lived in different times when entrepreneurship and failure may not have been so common.
So take it easy and don't worry, you will recover.
There's nothing wrong with that and somewhere down the line you'll realize you actually learned something useful from all this.
Also, things could be much worse; for instance you could be an unemployed father or being hunted by money lenders or with a chronic disease and no insurance -- you're not the only one that experiences trouble in this economy, yet many people will live to see a brighter day.
You are also not an idiot. To succeed in this economy, smartness is only one factor. Others are luck, timing, the environment you live in and the acquaintances you have.
Get a job, any job whatsoever. Low paying jobs, like being a driver or a cashier or working in constructions, require more physical effort and a lot less mental effort. This is good, because you probably need a break from software development. Physical effort is also good when you're depressed and it helps you pay the rent too.
I would also move out of my parents' house as soon as I got a job that allows me to survive, as there's nothing worse when you're depressed to also be dependent on other people, especially parents that look down on you with disappointment; remember that they lived in different times when entrepreneurship and failure may not have been so common.
So take it easy and don't worry, you will recover.