Unless you're the rare tech entrepreneur getting a lifetime's fortune in a single acquisition event, or the equally rare successful serial entrepreneur, there will be ups and downs and you won't know the outcome until years later. The specifics of what you do today will inevitably become irrelevant even if it's the hottest technology of the moment. Save and continually adapt.