It chooses companies for financing in two batches of 8 to 12 ; one batch is selected in the winter from companies based in Silicon Valley , the other in the summer from those in Cambridge , Mass . '' When you change the amount of money , a lot of things change , '' said Paul Graham , one of four partners in Y Combinator , who made millions when his company , Viaweb , was sold to Yahoo in 1998 . ''