Archive for December 10th, 2006

Shell script stupidity …

Earlier this week I was told that I had to add some SQL to a batch process that we run every night to correct an error. Basically, this was a stopgap measure until the programmers were able to get in new code. I was in a silly mood that night, so I got a little more creative than I usually would be.

Read the rest of this entry »

Super Bowl halftime bound to suck …

From the article:

Since then the NFL and CBS have put on safe-seeming artists from decades past. But critics groaned at ex-Beatle Paul McCartney’s out of touch tunes in 2005, and at the Rolling Stones’ elderly antics in 2006. That show had its own mini-uproar, as the Stones complained that a still-leery CBS censored them by turning down Mick Jagger’s microphone for risqué lines in songs like Start Me Up.

So who does the NFL turn to for it’s Super Bowl XLI halftime show?

Prince.

Apparently, they were looking for that perfect combination of old and controversial.

This might be a good year for me to order the Lingerie Bowl on Pay Per View.

Google Maps API

I spent most of this afternoon playing around with the Google Maps API. I created a page that highlighted many of the local coffee resources. It was a little more difficult than I was expecting, but mostly I think that was due to my relative unfamiliarity (is that even a word?) with Javascript. It’s been years since I’ve used it.

If anyone takes a look at the code, which was hacked together from a couple of the examples on Google, you might question why I created the addMarker function. I think that I might have found a tiny little bug in Firefox, even though it might just be an issue with Javascript. Initially I had all that code embedded in the for loop a couple of lines above. No matter which marker you clicked, the Information Window would always open over the last one that was created. For some reason throwing everything into a seperate function got it working.

Finally, one of the things that is seriously great about this API is that GXml object. That simplified everything a great deal. At this point it would be a very simple matter for me to just create a PHP page that generates that XML and then I could store everything in a database.