Whenever I have data that I want to save quickly in Python, I use the cPickle module to write the data to a binary *.pkl file. It’s a great module, but unfortunately the PKL extension isn’t recognized by Mac OS X. Here’s a neat little trick I found for teaching MacOS to recognize unusual/unknown extensions: […]
I just made a set of bookmarklets to give me Google Maps directions to the text I’ve selected in my browser. I thought I’d share them in case they’re useful to anyone else! If you want to use a bookmarklet, click and drag any of the below links into your browser’s bookmarks bar. If that […]
This is the greatest thing that has ever happened, in the history of the world, anywhere, ever. Also, that’s an extremely deep V that he’s wearing.
Eventually they will make an iPhone that jumps into your ear and translates everything in real time. Until then, we have this:
Atlantis has beaten R’lyeh in a bid for the 1962 World Fair. It’s a shame, but the resulting website is a monkey’s dream. Go there and enjoy. Who said we need flash for complex interaction design? Adobe, that’s who. BTW, side note: I want to include the following quote about R’lyeh, because it is the […]
So I’m writing a basic genetic algorithm using bit strings of length 16. I’m getting a weird error where some of my strings have an uneven number of 0s and 1s (and that’s after the check that I’ve built in, which always successfully corrects them). So I do a bunch of tests and fiddle around […]