Cannot emphasize enough how important is to take breaks especially after being frustrated when something doesn't work.
Coming in with a fresh mind the next day might be all you need.
I totally agree and unless you learn how to detach yourself from the problem at hand, you'll get caught up in an infinite stress loop that sometimes culminates in performing the following:
Oh yeah definitely don't want to do that lol
We're a place where coders share, stay up-to-date and grow their careers.
We strive for transparency and don't collect excess data.