Posts Tagged ‘chemistry’

Chemistry: Calculate the Mass of an Atom [Video]

Sunday, April 15th, 2012

Chlorine Atom
I created and uploaded this video to youtube back in 2009. This video demonstrates how to solve a simple chemistry problem. I calculate the mass of a Chlorine atom. (more…)

Twitt

Python – Implementing Caching in Your Applications via Dictionaries

Friday, April 6th, 2012

Periodic Table of the ElementsIn this blog I demonstrate how you can implement and take advantage of caching in your Python scripts/applications.

Caching allows you to complete tasks more rapidly by storing and reusing results for repeated operations using the same criteria. For example, consider a function that takes several arguments and performs a complex calculation. What if you passed the same arguments to this function ten times; well, without caching, the same operation and complex calculation will be performed ten times. (more…)

Twitt