I usually go to sleep listening to gnaural or watching old TV shows on the computer beside my bed (which my wife just loves). Rather than have it running all night, I’d rather have my computer sleep after a certain time.
Here’s a simple (Bash) script to do just that.
A few of my students are having trouble using Maple to pull off a quadratic approximation. I wanted to post a little code to help them along.
Proof positive that you just can’t run from the cops… Even if you have a time machine.
The aim of this article is to demonstrate how numpy can be used to dramatically increase the efficiency of the simple task of integrating the two dimensional diffusion equation. There will also be an example of advanced visualization with matplotlib, creating an animated image map to visualize the solution. The code in this article is nowhere near as elegant as it could be, but it is intentionally plain for the beginners eye.
By Yasmin Ranade
Read the full list of 2010 CNMA finalists and explore their websites and work. I’m sure you’ll agree they represent a remarkable, wide-angled portrait of Canadian digital creativity.
As of the date of this post, the latest Ubuntu (10.10) and Debian unstable (Sid) repositories contain an old and slightly obsolete version of matplotlib (0.99). The latest matplotlib (1.0) has several API changes… Luckily, compiling the latest matplotlib is relatively painless.
I shake my head as I watch the constant roll of articles detailing some new height of insecurity or lack of privacy in Facebook. But there’s hardly been a promising alternative: until now.
The velocity autocorrelation function (VAF) is usually calculated when one wishes to analyse the vibrational or diffusive properties of a system of atoms. […] If the motion of the atoms tends to an oscillatory pattern, the VAF will characterize the ossilations because the velocity of the atoms will self-correlate in a periodic fashion…