Several weeks ago, Yelp launched a dataset challenge and released data on their users and businesses in Phoenix, AZ. The challenge shared some similarities with the Netflix Prize, and I was curious to see if the Alternating Least Squares algorithm that I used for my Netflix project was versatile enough …
On numerous occasions, I find myself trying to number the last line (and only
the last line!) of a long series of derivations in an
align* environment. I
usually switch to the
align environment and use
\notag to turn off the
number on each line except the last.
There is …
It should have a valid factory
I use Factory Girl in my tests, and I have found it useful to check that I have valid factories for each model in my tests/specs. Here is a matcher you can use for that purpose.
Add this file to
spec/support. Then …
I am working on a Monopoly manual for my professional writing class, and did a heat map showing the relative probabilities of landing on each square of the Monopoly board. It's done using canvas on HTML5.
Here is a preview:
Check it out here.
If you use SSH frequently to access
unix.andrew.cmu.edu, you must have tried at some point to set up passwordless login using public/private keys. That didn't work for me, and when I did
ssh -vv unix.andrew.cmu.edu, it always failed at
debug2: we did not …
This is my first blog post using Pelican.
I first tried using Wordpress, then migrated to Tumblr. Hope this works better! Old posts are still accessible at tumblr. This one is starting anew.