Hacker Newsnew | comments | show | ask | jobs | submit login

I wrote a speed trap application a few years ago and I used this similar structure for speed trap locations. eg

    http://www.vroomtrap.com/speed-trap-list/united-states/california/san-francisco/1900-mission-st-san-francisco-ca-94103-usa--VT144-2
While that scheme works well in the US and in English, some other countries/languages can't follow that pattern consistently. You'll also run into name collions that will break your scheme. I had to add a unique ID at the end of every address just to make sure I didn't get address collisions.



Guidelines | FAQ | Support | API | Security | Lists | Bookmarklet | DMCA | Apply to YC | Contact

Search: