I usually follow this rules:
If one of those rules is met, then I'd continue working on it, even if I drop it later.
If others (by contributing/publishing) or me (by learning) have earned anything, it was not vain.
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.