I usually go for beer with other "geek" friends, complain to them. Another thing would be to do some physical work and shift all your focus on that, like building a dog/bird house or smth :)... bottom line: take a break and accomplish something your sure of than go back at it with higher morale.repeat if necessary.
HN user
vladisac
business and software dev, entrepreneur
Taking this decision depends on the context of the question. Do you have customers/revenue? What is the feedback you received so far? How does your P&L statement look like? :)
My take on this:
I stick if I have "some" customers/revenue and "some" positive feedback.
Pivot should be influenced by feedback (if I have any) and by the experience of the market (again, if I have any), provided costs can be sustained.
Quit if I accomplished nothing yet and there are little chances to make any revenue/profit in an established time frame. It's hard to give up on stuff you built and invested in and it gets harder the more you invest.
PS: I have my own company for some (5) years now and I have seen good and bad times.