Judge William Alsup taught himself to code for fun in the 1980s. Now he's the judge on Silicon Valley's biggest cases.