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...
If you care about this, I don’t need to give you too much background. Longtail’s JW Player is a great HTML5/Flash video player that has been around for years, with tons of plugins and a large user base, and at this point there’s very little you can’t do with it. At least as far as […]
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.