How to keep your coffee warm with a laptop
First, get a laptop with a side exhaust. Second, load up a nice CPU intensive program. I like using the command-line version of SETI@Home since it operates at idle priority yet still cranks your CPU up to 100%.
Ah, feel the heat.
Place your coffee right next to the exhaust, like so: