whatspop
A log of things made by Kunal Anand
Data visualization, interface design, programming, music, and art

Link

Quicksilver autocomplete scorer in Python

I recently came across a JavaScript port of the Quicksilver autocomplete scorer and attempted to port it line for line in Python. The biggest difference is that the Python variant does not muck with the string prototype. As a caveat, I am pretty sure that the above can be written in a more idiomatic manner. If I was not pressed for time, I would take a stab at it.

July 13, 2008


 
Content and layout by Kunal Anand. Connect with me on Twitter, Facebook, or email.
My views/opinions expressed here in no way reflect those of my employer.