Your own problems as a programmer tend to be shared by other people who are equally motivated to—and capable of—solving them. By picking a programmer's problem, you're picking an oversaturated market.
If the goal is really to make a reliable profit, then you should specifically look for problems programmers don't relate to. Make something for parents, old folks, hikers, knitting clubs, etc. They may not be as avid software consumers as programmers, but when you service is the first solution they've found, it's an easy sell.