writing software is so painful sometimes. You sit ages never having big breakthroughs, sometimes it feels you're wasting time...sometimes you feel like you didn't do anything at all.
When things work the problem vanishes and suddenly the product is working.
Hell, that's a rollercoaster for sure