Do you know of a document explaining the most important ideas in these chess engines? I know about alphabeta search and the like, but I'm wondering what the secret sauces in the recent best chess engines are.
Here you go: http://chessprogramming.wikispaces.com/ It's an ultimate source about chess programming. Also, Stockfish code is short (several KLOC) and well commented.