Archives for August, 2006
Cache Out X Problems
For those of you who are suddenly having trouble with Cache Out X, it would seem there are some authentication problems that have recently popped up.
I’ve not been paying attention, but there must have been a 10.3 security update recently that broke this. It would also appear that COX is suffering the same cache path woes as Yasu 1.3.6 did. I’ll address both of these over the weekend.
[UPDATE] - I’m in the process of setting up a test machine to look into this problem. But, it being the holiday weekend and all, family commitments are not going to allow the time to work on the issue until after the long weekend.
It’s Beta Test Time!
I’m so beat, it’s not even funny. The past 5 days have been a huge push to get Yasu wrapped up to the point of being testable by those who have volunteered. I will be sending them what they need tonight.
I’m hoping for a week or two of good testing and fixing (if needed), with a release ready to hit the streets no later than mid-September. I can’t believe it’s finally to this point. Of course, I’ve done more work in the last week than I have in the 8 months since I announced development began. Even I was beginning to think that Yv2 was going to be vaporware.
For those who are curious, a few details about the new release;
It’s Tiger only, for now. I
willmight be able to make it a Jaguar thru Tiger app, but decided not to do that yet in order to not hold up the release. Besides, I need somewhere to go from here, right?Yes, it’s shareware now, but it’s the cheapest shareware you’ll ever have to buy. At a recommended minimum donation of $3.50, even starving students can afford it. My goal is to be able to eventually buy a Mac Book from the proceeds. I know some will opt to use one of the free options instead. I understand, and that’s cool. We all have to do what we have to do.
Though some options have changed, and extra features have been added, it’s still the same old Yasu you’re used to. I almost went with a tabbed interface, but realized that would kill the true spirit of what the application is. I’m glad I came to my senses.
That’s it for now. I put it all in the hands of the testers…
A Sneak Peek…
Here’s a little teaser. It’s so close, you can almost taste it…

Here’s a Great CSS Trick
While I’m handing out tips, I think I’ll share a CSS trick that I picked up somewhere (but can’t remember where) not too long ago. This cool little method will pre-load the images for your site theme without the need for any JavaScript. It’s too simple not to use it!
First, add an id selector to your stylesheet similar to the following:
#preload {
width: 0;
height: 0;
display: inline;
background-image: url(images/background.gif);
background-image: url(images/banner.gif);
background-image: url(images/logo.gif);
background-image: url();
}
The critical thing here is the size (width/height: 0), to display it inline (no box of it’s own) and that the last background image url be empty so nothing shows as a background (even though the width/height is 0).
Then in your page, right after the “<body>” tag, add an empty div element as such;
<div id="preload"></div>
That’s it. As soon as your page loads, the style images are downloaded and stored in the browser cache. No need for a JavaScript function to do it anymore. Slick, huh? Works great for those who prefer to browse with JS disabled too.
Yes, it adds just a little superfluous code to the page, but it’s far less cumbersome than the JS alternative, and far more manageable when you want to add or remove images.
There you have it. Enjoy!
One for the Wordpress Users
Here’s a little hint for the Wordpress users that smacked me square between the eyes yesterday in one of those “a-hah!” moments while dinking with the theme files for my site.
A lot of people will tuck an “All content © 2003-2006 So-and-so” or similar notice in the footer of their site. If you’re one of those who do, and you’re bugged by the fact that you have to change (or forget to change) the latter year every time a new year rolls around, there’s a quick and simple solution for you.
It dawned on me, since Wordpress themes are based on the PHP language (this works with any PHP based template system really), why not just tuck the date function into my template footer in place of the latter year? That way it will automatically change when it’s supposed to, and I won’t have to remember anything. So, in place of the following:
<p>All content © 2004-2006 jimmitchell.org</p>
I simply did this:
<p>All content © 2004-<?php echo date("Y") ?> jimmitchell.org</p>
Yippie! No more having to remember to change the footer on January 1st.
Overly simple? Yes. Painfully obvious? Only to those further along the path to web development enlightenment than myself. To the other neophytes like me, it’s one of those moments where we start to wonder “If I can do that, could I do this?” I hope this helps to bring one of those moments to your own work, be it for fun or profit.