I've discovered, for my part, that wearing yellow glasses works even better than f.lux when I'm working in an environment where I can't control the ambient lighting.