438 karma · joined January 13, 2009
I've found, in practice, a Bayesian weighted average is easy to implement and pretty effective. It's also a good candidate for "stream" processing (i.e., calculating in a single pass)
You could take it a step further and incorporate more than explicit up/down vote features, such as "clicked", "commented", "saved", etc.
Then incorporate some business rules that filter recommendations by subreddits, boost results by time, and now you have a decent recommender.
Easier said than done of course.
Also looking forward to this in book format
Also, this same relative says he doesn't walk around at night without a 0.50 caliber pistol and a shotgun. Apparently these pigs can be pretty unfriendly
Also, 2.7 introduced a couple of cool things in collections: OrderedDict and Counter
That said, if Redis can EVAL a script stored as a String or a Hash->Key, the client can deal with registering and versioning scripts.
Awesome work btw - been looking forward to scripting in Redis for a long time
>>> "<h1>Hello, World!</h1>".encode('base64').strip('\n')
'PGgxPkhlbGxvLCBXb3JsZCE8L2gxPg=='
Paste this into your location bar: data:text/html;base64,PGgxPkhlbGxvLCBXb3JsZCE8L2gxPg==Works in Chrome 10.0