I don’t drive. It shocks people here in Los Angeles, but I grew up taking trains and cabs in Philadelphia, and by the time I...
UPDATE: Apparently, you can pass variables in using Facebook’s app_data parameter, and then grab them by parsing out the signed request. Hard to say which is now the easier solution, but here’s another option, for whatever it’s worth. I guess it would be the way to go if you wanted to keep data out of […]
Here’s a basic rundown of one way (there are many) to build a store locator. Essentially it boils down to three steps: Geocode a table of addresses to latitude and longitude coordinates using the Google Maps API (only need to do this once). Geocode a query string to get its latitude and longitude coordinates. Query addresses from […]
I’d like to share with you a simple algorithm for taking random selections from a set of items while factoring in a manual, arbitrary “weighting” mechanism.