For the problem to solve in the first place, one might use a gps-tracker for pets or something.
Reply on news.ycombinator.com