So the advice I can give is - find another programming job, which is closer to your home, and chances are your boss will be better. That can solve the problem with money, boss, and time for your child.
Regarding the more existential questions (meaning of life, etc.), I personally would not looking for the solution in the work I do.