Yahoo produces web software that it gives to customers for free and then sells ads against. They are profitable doing this.
They valley makes fun of them because the valley doesn't value profitable businesses, the valley values consumer craze for a product.