IE Only in this Day and Age

In this day, it is hard to believe that there are still sites that only work with IE. It doesn't really look like they want people to look at their claim information.

gallagherbassetfail.jpg

When I tried to access the site with IE 8 the site said that it couldn't validate my information. The reason is because my last name contains an apostrophe. The system does not allow apostrophes in a last name. An apostrophe is a valid name character!

Self Optimizing AJAX Object

In 2007 I wrote a self contained AJAX object that supports asynchronous and synchronous access with PUT and GET methods, text and XML and XSL tranforms. The impetous for making certain methods of the object self optimizing came from an blog post by Peter-Paul Koch on @media Ajax 2007 Day 2. The example used by Dan Webb is the following addEvent function.

function addEvent(obj, evt, fn) {
    if (document.addEventListener) {
        addEvent = function (obj, evt, fn) {
            obj.addEventListener(evt, fn, false);
        }
    } else if (document.attachEvent) {
        addEvent = function (obj, evt, fn) {
            obj.attachEvent('on' + evt, fn);
        }
    }
    addEvent(obj, evt, fn);
}

Rewriting a function at runtime is a wonderful way to avoid object detection and improve performance. From Peter-Paul Koch's blog post:

Basically, what happens is that the first time addEvent is called, the function determines whether the browser supports addEventListener or attachEvent. It then rewrites itself to a new function that uses the detected method to add the event. As a result, we only have to do the object detection once, which is much more elegant than doing it every time.

I realized that an AJAX object was a perfect place to use runtime function optimization. Consider the following createXMLHTTPObject function.

Continue Reading "Self Optimizing AJAX Object..."

2010 Old Country Tour

CIMG0000tb.jpg A 100 mile scenic tour along some of the old roads of northern Los Angeles county. Steve, Gene, Mark, Luke (Mark's son), Doug and myself showed up. Gene brought his Spitfire with a GT6 roof. It's a very interesting car though it still has some teething problems. It dropped its muffler on the way over and Gene said that there was a vibration he though might be a u-joint. Because Gene couldn't trust his car, Gene left us and went back home.

It was a different run than the Santa Monica Mountain runs in that the turns were less twisty. It was the fastest as far as speed that I've been on. There were some wildflowers and the hills were green. We went past a place called Close Encounters Recreation Center. I don't know if it had to do with UFOs or something else, but this is a family site. There were a lot of interesting small stores on the way and a street called Wayuptop. It is a very nice run and I recommend it the next time it's planned.

  1. Meet at Newhall Avenue and Highway 14 in the parking area to the west of the highway.
  2. Head WEST on Newhall Ave toward Sierra Hwy.
  3. Turn RIGHT at Placertia Canyon Road for 5.1 miles (to end of road).
  4. Turn LEFT at Sand Canyon Road for 3.3 miles.
  5. Turn Right at Soledad Canyon Road for 15.6 miles.
  6. Turn LEFT at Crown Valley Road (at stop sign) for 0.4 miles.
  7. Turn LEFT at Syracuse Ave (no stop sign, easy to miss) for 0.1 miles.
  8. BECOMES Escondido Canyon road, continue for 2.7 miles.
  9. Turn RIGHT at Ward Road for 0.1 miles. Note: Ward Road is very easy to miss. Look for the freeway overpass on the right. That's Ward Road! If you cross over the freeway while still on Escondido Road, you've gone a couple miles too far.
  10. Cross freeway then turn LEFT at the stop sign to stay on Ward Rd. Continue for 0.2 miles.
  11. MERGES with Sierra Hwy. Continue for 14.1 miles.
  12. Turn RIGHT at Vasquez Canyon Road (at traffic signal) for 3.6 miles (to end of road).
  13. Turn RIGHT at Bouquet Canyon Road for 18.0 miles (to end of road).
  14. Turn LEFT at Elizabeth Lake Road for 1.1 miles.
  15. Rest stop at Rancher's market (on right at 90th Street).
  16. Continue on Lake Elizabeth Road for 6.3 miles.
  17. Turn LEFT to stay on Elizabeth Lake Road for 4.6 miles.
  18. Turn LEFT at Lake Hughes Road (no stop sign, watch for it) for 23.2 miles.
  19. End of run at Castaic Road.

Other Links

2009 Day After Thanksgiving Run

PRE_2009-11-27-112007tbm.jpg At 9:00 am we met at the Malibu Colony Plaza, 23841 Malibu Rd, Malibu, CA 90265. After about an hour and fifteen minutes of looking at cars and talking to each other we started the run. It was a gorgeous day. The weather was perfect and we had a nice turnout. Thank you everyone who came. After the run a bunch of us went to Rib Ranch in Woodland Hills. You really have to taste their ribs and Steve says the Tri-tip is pretty good too.

Follow along if you want to take the run.

  1. Exit parking lot from rear, turn left on Malibu Road for 0.1 miles.
  2. LEFT on Webb Way for 0.1 miles.
  3. LEFT onto CA-1 N/Pacific Coast Hwy for 12.5 miles.
  4. RIGHT on Decker Canyon Rd (CA-23) for 3.9 miles.
  5. RIGHT on Lechusa Rd for 0.1 miles.
  6. CONTINUE STRAIGHT onto Encinal Canyon Rd for 5.0 miles.
  7. RIGHT on CA-1 N/Pacific Coast Hwy for 2.9 miles.
  8. RIGHT on Mulholland Hwy for 7.5 miles.
  9. LEFT at 'T' onto CA-23 (Mulholland Hwy / Decker Canyon Rd) for 1.9 miles.
  10. RIGHT on Mulholland Hwy for 2.4 miles.
  11. LEFT on Encinal Canyon Rd / Mulholland Hwy for 1.4 miles.
  12. REGROUP at the Rock Store overlook, 0.5 miles past Kanan Road.
  13. CONTINUE on Mulholland Hwy for 8.2 miles.
  14. Arrive at: Mulholland Hwy & Las Virgenes Rd – end of run!

2009DayAfterThanksgivingRunMap.png

Morgan in his Caterham pressured me all the way up Decker then took off for a faster crowd. He can really move and there is no way I could keep up with him if he were in front. Here I'm waiting for the others to catch up.

PRE_2009-11-27-104112tb.jpg

Nate can make his Metropolitan move, considering it has an automatic transmission. Nate kept all four wheels on the ground, sort-of. You'll have to ask Nate.

PRE_2009-11-27-112019tb.jpg

Other Links

Drawing Cars in my Youth

I graduated high school a year early in 1973. Because of a mix up with my classes they didn't send me my diploma until August 1973. After graduating high school I went to the Academy of Automobile Design in Los Angeles. I went there a year and after Detroit laid off about 70 percent of the Automobile Stylists, I thought that maybe I should pursue a different career. I sometimes wish that I had stayed with it and graduated as an Automobile designer. When going through junk today that has been in the garage since I moved to our home in October 2005, I found a design I drew, I believe in 1974 when I was 18. I thought it had been lost many years ago.

Auto design from 1974 by Tanny O'Haley

I based it off the front wheel drive of the Saab Sonnet III. Looking at it now, I think I should have moved the windshield just behind the front wheel and given the mid section a little bit more length. After all these years, I still like it.