I'm learning numeric computation and have a Core i5, 4gb laptop which I find to be slow for some tasks.I've read that a single PS3 has the processing power of 30 clustered PCs. Basically I'm thinking of purchasing a PS and installing Linux on it and then running my python programs on it.I've read that Sony has disabled the ability to install Linux with firmware update 3.21Is there a way to run Linux on recent versions of PS? Is there a hack around the new limitation? If I went out and bought one would I be able to run Linux or not? 
How to run linux on PS3?
linux
As matters currently stand, there is no safe way to use Linux on a PS3 you buy brand new from a retail store. Since the firmware will not provide you low level access to the hypervisor, it's impossible to install Linux without first replacing the firmware. The console will only install firmware with Sony's cryptographic signature, and you are not allowed to downgrade the firmware; it is not possible to overwrite the firmware unless you can build your own and forge Sony's signing key.To directly answer your questions:Are there ways? Yes, because Sony is not very good at keeping their signing keys a secret. You will need to do research on custom firmware. Using such firmware would void your warranty, and you risk having your console banned from the Playstation Network if you connect to it and Sony detects that you're not running an official firmware release. Even if a firmware is safe one day, it might not be the next.Would you be able to run Linux on one that you bought? Maybe. Do your research, and pay very close attention to any commentary about whether or not the hacks work with newer hardware revisions. Do not buy unless you're sure that the hack you intend to use will work with that console, proceeding recklessly could permanently damage your purchase.Instructions that are more specific than this are unlikely to be posted as answers, because nobody wants Sony breathing down their neck.