Zombinanza 2 now in progress

It was mentioned that a sequel to Zombinanza has long been missing, and as a consequence Zombinanza 2 shall be attempted to be started to be made. Harass me if it doesn’t.

PHP: Get zipcode for an Address

I needed a small php function that could take an address (which lacked a zip code) and fetch a best guess postal code for it. I had a database full of addresses with city and state, but no zip code. Thankfully, if you have enough information in your address to locate it with the Google maps geocoding service, you have enough information to get the zip code. If not the correct zip code, it should pull one that’s relatively close assuming you’ve specified the correct city and state in your address.

This is possible because the geocoding service will return matches with full address data available. If we assume that the first match is most likely the correct match, we can just extract it’s postal code. I’ve only tested this with US addresses, but it may work in other countries where Google can geocode an address.

Continue reading “PHP: Get zipcode for an Address”

Recettear: An Item Shop’s Tale

Heh, this Saturday I spent nearly 7 hours playing Recettear: An Item Shop’s Tale and I have to say that I love it.  Beyond a fairly enjoyable cast of characters you can choose just about every aspect of your shop from what is stocked to the wallpaper, flooring and carpeting used.  As for inventory, you can work the town markets or go out adventuring to rustle up some sales from whatever you skin off monsters.  I love these types of games, and having such a cute protagonist certainly doesn’t hurt.

Drop by their website and check it out.