|
Tuesday, February 27
Two cents
Dreamhost, my hosting service, had a lil' hiccup on Sunday that pretty much took down all my sites for a good part of Sunday. It was a problem caused by some scheduled emergency maintenance on the facility's power systems, so I can't fault them. And, as usual, they were good at keeping me informed of what was going on, so I didn't fret. I think the best response I saw, though, came from Mr. Very Important Business Man, who pretty much nailed it with this comment This downtime is entirely unacceptable. I just launched my latest product and now all my websites are down! We pay eight dollars a month to run a multibillion dollar company here! There are 8,760 hours in a year, and here I’ve lost 5 of them. That means so far we’re already down to a 99.94% Uptime! OMG! SIX HUNDREDTHS OF A PERCENT IS DOWN THE TOILET!I think that puts things in the right perspective. Labels: funny, internet, sitenews '; } 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); ?> |