News for hackers. Stuff that matters.
Re:Hacking Scrabble (part 1) by ttttannebaum on Tuesday December 13, 2011 @05:06PM (#3349556)
Looking at your Python script. Might want to learn about the built-in set() functionality. For exmaple:

def uniqueletters(s): return set(c for c in s)

def intersect(word, charlist): return len(uniqueletters(word).intersection(charlist))

Re:Hacking Scrabble (part 1) by ttttannebaum on Tuesday December 13, 2011 @05:11PM (#3349586)
In fact:

max(wordlist, key=(lambda w: intersect(w, charlist))

should replace a good portion of the create_mnemonic function. But now I'm just showing off. Just letting you know that Python is much cooler than you know.

Haskell, however, could probably do this in a few lines.

Re:Hacking Scrabble (part 1) by zephod on Tuesday December 13, 2011 @07:46PM (#3350094)
I've got a pull request sitting on GitHub showing me exactly this. Awesome! I'm about eight months into Python but my knowledge isn't particularly deep.