June 30, 2007

Cats

Most of my high-level programming is done in Perl -- there are many reasons for this, but one is that it lends itself so well to flights of whimsy. For example, yesterday I was exceedingly delighted to find that this actually works:

use Quantum::Entanglement;

$gas = entangle(1, 'bottled', 1, 'released');
# gas now in states |bottled> + |released>

$cat_health = p_op($gas, 'eq', 'released',
sub {'Dead'},
sub {'Alive'});
# cat,gas now in states |Alive, bottled> + |Dead, released>

Speaking of cats, over at Dynamics of Cats we have ongoing summaries of a workshop on exotic solar systems, including tantalizing hints of possible terrestrial planet(s) next door at Proxima Centauri. Solar sail probe, anyone?


Okay, I'll go to bed now.

Posted by Milligan at June 30, 2007 01:56 AM | TrackBack
Comments
Post a comment









Remember personal info?






The views and opinions expressed in this page are strictly those of the page author. The contents of this page have not been reviewed or approved by the University of Minnesota.