Most of the functionality of the 7400 TTL and 4000 CMOS series chips can be replaced with a microcontroller these days. Still, I've found that it's useful to have some of the discrete logic chips lying around for experimentation or quick prototyping. What chips have you found useful, and for what kinds of purposes? What assortment of chips would you recommend the electronics hobbyist to have in their inventory?