Mostly about my amusement

Author: Jan Dembowski (page 82 of 96)

XHTML and image rotate for the header

I’ve had some free time so I’ve added so I went through all my posts (153!) and made sure they validate as XHTML strict. I’ve also played with this theme and added the image rotator for the header.

Using Matt’s rotate.php script, I created a directory called and dumped some images in there.  The images were lifted from Stefan’s Flickr page.  His pictures are great and I was using one of his images as a banner already.

In my CSS file I replaced the

#header {
background: url(img/bus.jpg) no-repeat bottom;

with

#header {
background: url(img/rotate.php) no-repeat bottom;

Per the CSS for my header the files should be 700×175; which I forgot and created 700×200 images. No big deal the CSS fixes the images to fit.

The fun part was getting the caching to work so I could see the files and how they look. Internet Explorer and Firefox cache the page to make the whole experience is faster. But that also means that when I reloaded the page the banner would not necessarily change.

Using Google I found that adding the following right below the <head> statement in my header.php would get Internet Explorer and Firefox to reload the whole page with a new banner (most of the time).

<meta http-equiv=”Expires” content=”Tue, 01 Jan 1980 1:00:00 GMT” />
<meta http-equiv=”Pragma” content=”no-cache” />

I turned it off after my curiosity was satisfied. Caching is your friend and should be respected.

Happy 4th of July

4th of JulyFor the 4th, the family went over to Stefan’s place for a BBQ. It was raining but everyone had a good time. We moved the table into the garage and hung out till it go dark.

The garage had no lights so Janny got us candles. A good time was definitely had by all.

Living in Long Island for a couple of years now has spoiled me for Queens. On the next block they were shooting off fireworks and had some guys informally closing the street. I expected someone to call the cops (I’m paranoid that way) but I guess everyone liked it so it was all cool.

The drive back was fun. Since it was only the four of us I insisted we take the MINI. That’s always a fun car to drive but gets a little scary when it starts raining hard. Because of the rain the barge carrying the Jones Beach fireworks was not able to get there and they had to cancel.

Too bad, a lot of people must have been disappointed.

Completed Halo 2 on Vista

Halo 2 on Vista banner from microsoft.com

That was anticlimactic.

My saved games came back and I was farther along than I thought. After a couple of “boss” battles I completed the game. I actually had to check the Wikipedia page to see if there was something I missed.

It was definitely an “okay” game but nothing to get excited about. After playing Call of Duty 2 (and CoD 3 on the PS3) I have a feeling of “that’s it?”

When Halo 3 comes out I’ll probably get it for the Xbox 360, but Bungie and Microsoft better get some more excitement into the game.

Halo 2 on Vista problems

Delta HaloMy installation of Halo 2 on Vista is not working. I get to the part where the Arbiter gets pushed off the ledge when Keyes gets captured and he loses the icon.

The game complains about needing the DVD, I insert it and I have to repeat the whole level. Twice. I’m taking a break but that is really a pain in the ass. I may re-install it and see if that fixes the problem.

So far the game is “okay”.

Kids pictures from trip

Saturday we drove to Lancaster County to have a “Day out with Thomas”. We gave the kids a camera each and here are some of the pictures that they took.

First the girl: she’s going to be 4 at the end of the month.

MINI Cooper on the road small

She likes MINI’s, go figure.

Boy taking picture small

Nice picture of the boy taking a picture.

Now for some of my 5 year old son’s pictures:

Boy’s MINI picture small

He also likes MINIs.

Here is when he discovered the record button.

They did more, I’ll upload the keepers to Flickr.

Kids and digital cameras

For Christmas the kids had each gotten Disney digital cameras. These were okay but needed special software, a non-standard USB cable, and had no preview window.

Yesterday Lily and I got the kids inexpensive affordable low end HP digital cameras. I’ll post the best pictures they take over the weekend here.

Safari 3 beta, safer and faster?

Security. Sweet.

Safari Security

Security on Safari 3 Beta. Not so sweet.

BetaNews | ‘Day One’ for Safari for Windows Becomes Zero-Day Nightmare

Speed! Sweet.

Safari Speed

Speed. Can’t see the increase myself. Not so sweet.

Joel on Software: Apple Safari for Windows: The world’s slowest web browser

Joel updates the post a few times regarding the speed thing. I get a kick out of his “Safari even managed to bring the inferior font rendering of the OS X platform to Windows, no easy trick.”

I’ve already removed it from my system. When I need to check a web page for how it displays, I use Firefox, Internet Explorer 7, and Opera 9. If I could easily swing it I would also check with Internet Explorer 6. I guess having a working Safari on Windows would be useful, but I’ll wait for it to come out of beta.

The claims of better, faster, more secure just irks me. It would not have been that difficult to have someone reputable ethically hack Safari 3 beta before releasing it. Given the large number of security folks who are “Give me Mac or give me death!” I’m sure they could have found some good volunteers.

Images lifted from Apple’s Safari web page.