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.

About this Entry

This page contains a single entry by Milligan published on June 30, 2007 1:56 AM.

Last Week's Reading List was the previous entry in this blog.

Assorted Updates is the next entry in this blog.

Find recent content on the main index or look in the archives to find all content.

Pages

Powered by Movable Type 4.31-en