Skip to content

Comment on Show HN: Fruits and vegetables in season in your zip codeparent

Comments

Ah yeah, the zip database I'm using is a bit out of date (as some other people have mentioned) and you're seeing this behaviour as it thinks 22003 is in Georgia. I had a hunch people might be more interested in results from their own state even if they were a bit further away, but clearly in this case that doesn't make sense.

I'll experiment with moving the email form to under the results, or putting it behind a button. I was trying to make it low friction, but I think I might have gone a bit far.

Interesting, I take it the distances are being computed in some other way? The "results from State" would definitely make a lot more sense if they matched the zip code.

Distances are being computed from a geopoint representation of each zip code (which is a bit out of date, but which I can update fairly easily) to a set of shape files representing US counties. It's intentionally not 100% accurate because the underlying math is quite slow and using slight approximations speeds things way up.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.