Monthly Archives: June 2010

Fast numeric queries

This post introduces a relatively new algorithm, along with an open-source demo iPad app, that can pre-process a large set of numeric data to help perform extremely fast error-tolerant lookups at query time. Problems you can solve There is a class of algorithms known as locality-sensitive hashing (LSH) algorithms; this is a new one of […]

Clash-happy method names

This post lists a few special-case method names that are somewhat likely to be used accidentally by you but can only be used correctly if you understand their built-in functions.  Specifically: class, description, load, and hash. Why it’s tricky, by example Here’s an easy way to mess this up: start with a model object meant […]

Drag and drop in 3 lines