I've been coding for a living for about 15 years and, while there are plenty of days where I learn something new, overall, I'd say I'm actually pretty good at it, and generally quickly earn the respect of my peers wherever I work.
The problem is, I've lost my spark and enthusiasm for the job, BUT, I can't afford NOT to work, and with 3 young kids, I have some pretty significant overheads to meet each month.
I still read HN and other tech sources avidly, so I still have enthusiasm for the industry, in fact, I dream one day of running my own successful tech business. I'm just finding the physical and mental act of programming for a living draining, having done it for several years, I'm in need of a change, and, if I don't change something, I fear I'll burn out.
So, turning to HN for some inspiration. What should I do?
So, here are somethings you can consider: Try finding work you're passionate about first, that also pays. Maybe work for a non-profit? Try to find a role that lets you expand from where you currently are, perhaps management, business analysis, marketing, design or whatever pet preference you have. The point is not to over extend a single skill. Consider less hours, I've personally found 30 hours a week to be tolerable. Relax that skill more often. Try working on different projects regularly, I work on different projects every 2-6 weeks. The change in pace & direction keeps me excited & interested.
Also consider: building passive income generators, you've been programming for 15 years (why isn't the code working for you?).
All in all, keep changing your angle until you're happier.
Just my two cents.