Making good of losses : generating heat with nanostructures