Sorry for the flapping, fixed now.

Marc MERLIN marc at merlins.org
Sat Nov 19 18:36:51 PST 2011


Dear readers,

You may have noticed a bit of spam on some lists with a status flapping back
and forth.

The bug is that caltrans has 2 servers for their roadinfo URL, they are
using round robin DNS (remember the internet in the late '90s?) and one of
the 2 servers was serving out of date information.

This was causing my script to get one page and the other back and forth and
seeing a state change every single time.

Sorry about that, I fixed it by wroting extra code to look at the
Last-Modified: header in the http response, and discard a page that is older
than the previous one (and all in shell, woot!) :)

I also tried to notify caltrans, but I have no idea if it'll ever get to
their real webmaster, we'll see.

Marc
-- 
"A mouse is a device used to point at the xterm you want to type in" - A.S.R.
Microsoft is to operating systems ....
                                      .... what McDonalds is to gourmet cooking
Home page: http://marc.merlins.org/  

_______________________________________________
I80 mailing list
I80 at lists.merlins.org
http://lists.merlins.org/lists/listinfo/i80



More information about the Tahoeroads mailing list