Archives for the 'Coding' Category

NetNewsWire Theme “uni” Updated

09/28/2007 Coding 1 Comment

A very quick note to let those who use my “uni” theme for NetNewsWireone of my 10 must-have apps — know that I gave it a point update today, which addresses the use of the “pre” and “code” html tags in articles. Click to download the updated skin if you use it. To install, simply double-click the theme in the Finder & NNW does the rest.

New Yasu on the Way

11/02/2006 Coding, Yasu Comments Off

A minor bug was found in the 2.0.3 version of Yasu that would throw an AppleScript error on faster machines when the application would close the main window for restart or shutdown while still trying to write to the preferences file after the maintenance pass had finished.

I’ve been able to track the problem down thanks to the help of Gregor Rittinger and Peter Gillies. A new version has been built and is ready to be released first thing tomorrow morning.

Keep an eye out for it…

Cache Out X Problems

08/31/2006 Cache Out X, Coding Comments Off

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!

08/29/2006 Coding, Yasu 1 Comment

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 will might 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…

Here’s a Great CSS Trick

08/21/2006 Coding, How To... 2 Comments

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!

Technorati Tags: