Problem with SSD corruption on power failure .. flactuation

only enterprise-class SSDs can be relied upon (at all) for safe behavior on power fail.

The enterprise-class SSDs have super-capacitors that store enough power to write all data stored in the RAM within the SSD on power fail, and vendors charge three times as much as they do for consumer class SSDs.

Some vendors do certify their SSDs, but you should check them under real power-fail conditions, like pulling the plug.

It is better to use an Arduino with a relay for experimenting with cutting off power.

New open source medical image repository debuts

A team of medical researchers from four European institutions has created the Image Data Resource, a repository “that is capable of storing and integrating data from multiple laboratories, whilst also significantly enhancing the potential for sharing and reusing imaging data.”

The repository “offers potential to identify new therapies and targets, and broadens the scope of research by allowing scientists around the world to access each other’s imaging datasets,” the team writes in a recently published paper. The software underpinning the repository is open source, which “opens the possibility of the tech being deployed in other image data systems.”

Get MD5 checksum hash of big files in Python

def checkHash(filename, blocksize=2**20):


        print(“need to creating hash of file ” +filename)

        m = hashlib.md5()

        with open(filename , “rb” ) as f:

            while True:

                buf =

                if not buf:


                m.update( buf )


        print(“hash of above file is  ” + hash1)

        return hash1

    except :

        print(“Exception in hash code:”)

        print(“-” * 60)


        print(“-” * 60)

        return “error”