|
Thursday, August 7
When robots suck
I know some day robots will rule the earth, but until that day, I say make 'em work for it. That's why I splurged for a Roomba automated vacuum system. That's right, it's a robot that vacuums the floor. Vacuuming is a chore neither I or Conny As far as robot slaves go, the Roomba isn't bad. He is more like a unionized robot slave, though. He mostly sits around all day, never taking the initiative to start cleaning up on his own. I have to take him out and tell him to clean. I think Roomba has some sort of drug or drinking problem, too, after watching the bizarre way he does the floors. It's not very efficient, but he is thorough. Emptying out his dust tray, because the shop steward won't let him empty his own dust cup, revealed he does a good job too. Still, I would think I wouldn't have to carry my robot slave back to his bed after he works, but I guess we can accept a few compromises for version 1. Leo and Roomba get along great. Roomba ignores Leo, and Leo is terrified of Roomba. Probably because he realizes Roomba can eat more dust bunnies than he can. '; } else { if(stristr($filename,"archive")) { $dir=$_SERVER['DOCUMENT_ROOT']; $template='_01_archive.html'; $tail=strlen($template); $thisArchive=$filename; //$files=scandir($dir); $dh = opendir($dir); while (false !== ($filename = readdir($dh))) { $files[] = $filename; } sort($files); $earlyarch=""; $laterarch=""; $prevarch=""; $next=0; foreach($files as $file) { if (substr($file,-$tail)==$template) { if ($next==1) { $laterarch=$file; $earlyarch=$prevarch; $next=0; } if ($file==$thisArchive) { $next=1; } else { $prevarch=$file; $earlyarch=$prevarch; } } } $link=''; $divider=''; if(file_exists($earlyarch)) { $link='< Earlier Archive'; $divider=" | "; } if(file_exists($laterarch)) { $link=$link.$divider.'Later Archive >'; } $link=$link.' '; } } echo($link); ?> |