3 ms·
Am I reading correctly that he is using his CPU to heat his room...?
by daok 16y ago
Am I reading correctly that he is using his CPU to heat his room...?
- dinedal 16y agoDon't knock it until you've tried it.
- sophacles 16y agoI have a script in my ~/bin that does some very inefficient calculations on some numbers from /dev/random. It is called heat.py and used to get run in the winter, when I lived in a less than ideal place with a barely working heater and poor insulation. Definitely made a difference.
- Naga 16y agoWould you care to post that? I am going to have some problems in my new place.
- sophacles 16y agoCan't right now, as apparently my home internet connection is down. Off the top of my head tho, basically I used python's random module, and got a random int, and a random float, then did a bunch of pow(rfloat, rint) and multiplications in loops and bit shifts and so on. Basically i tried to utilize all the parts of the CPU I could think of, and keep the cpu usage pegged.
- andfarm 16y agoBetter yet: apt-get install cpuburn
- adbge 16y agoAlternatively, you could use Prime95. Run it in stress test mode and it should heat your room just fine. http://www.mersenne.org/freesoft/#newusers http://www.mersenne.org/freesoft/#newusers
- PatrickTulskie 16y agoI used to live over a garage and during the winter it would get freezing cold in my room even with the heat on. I left my tower on all the time running World Community Grid to keep the place warm. Conversely, during the Summer it would become unbearable to even operate my tower so it was a great incentive to turn it off, save electricity, and go outside.