A tiny device that can be reprogrammed using a laser could lead to adaptable devices for computing, imaging and telecommunications. Most devices are built to perform a particular job.