a) know the market
b) not interview for 4-8 hours only to find out they are going to pay you 30k less than your current job (yep had that, never make that mistake again)