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...
I really do like my 13″ Macbook Air more than I ever thought I could when Airs were first unveiled. I maxed out the RAM and HD, but I didn’t pick up the Ethernet adapter or external optical drive, and I haven’t really missed them. The battery life is great, and on the road, getting […]
Coding HTML for emails can be a total bitch. I’m not going to give an exhaustive how-to here, but I just wanted to share a few tricks I had to learn the hard way, in case it might save you some headaches. First, a few general rules. These rules will occasionally need to be broken, […]
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.