-
Tech support via Screen Sharing
One of the features that I really like about Leopard is iChat's ability to do Screen Sharing. There have been different implementations of screen sharing including Apple Remote Desktop and VNC, but none is as easy to use through home routers as this. In the last week, I helped my dad with email (he just upgraded to Leopard) and helped a ReceiptWallet user with an issue. Sometimes it is much faster and easier for me to poke around than to talk on the phone or exchange email. While there are some problems with the feature dealing with different screen resolutions, for most people it works quite well. This feature, alone, is a reason to get anyone that you support to upgrade to Leopard; if you've ever spent hours on the phone trying to talk someone through a problem, then this is for you!
(Of course, certain firewalls and routers can cause this to fail. I got rid of my Linux server awhile ago that was my router and now things like Screen Sharing work quite seamlessly. If you have problems, stop kidding yourself and buy an Apple TimeCapsule or Airport Extreme and be much happier. It costs more than other routers, but the time and hassle it saves is well worth it.)
-
Excellent Crash Reports
I find that a majority of the crash reports that come in for ReceiptWallet have the following for the description:
Yes, they are blank! While I appreciate people sending in crash reports (I read everyone of them and try to figure out the problem), having no description makes it much harder to figure out the problem. Today I received a blank description, but in reading the report, I was able to "reproduce it" (hard to reproduce when I wasn't told what happened) and quickly fixed it. I'm contemplating making description a required field for the report; this could reduce the reports which I don't want as it would give me a false view of how many crashes people are getting.
-
Filtering NSTextField - Take 2
Thanks to Jim Correia of Bare Bones Software, I have a slightly different method for filtering NSTextFields based on an NSFormatter. While my older method worked, this is a bit cleaner.
Like my old filter, this also has three methods:
- (void) setAcceptableCharacterSet:(NSCharacterSet *) inCharacterSet; - (void) setMaximumLength:(int) inLength; - (void) setMaximumValue:(int) inValue;
However, they're called differently. You'd do something like this:
NSMutableCharacterSet *characterSet = [[NSMutableCharacterSet alloc] init]; [characterSet addCharactersInString:@"0123456789"]; [secondaryTextField setFormatter:[[[PartialFormatter alloc] init] autorelease]]; [[secondaryTextField formatter] setMaximumValue:65535]; [[secondaryTextField formatter] setAcceptableCharacterSet:characterSet]; [characterSet release];
Note that the formatter is based on NSFormatter and not NSNumberFormatter. I actually am using this for a number field as I want the number field to give me back a string instead of a number, so that's why I put in the setMaximumValue and didn't base it on NSNumberFormatter.
As always, feedback is welcome.
The attached code can be freely used in commercial and non-commercial projects. While I'd like some credit in the about box, it isn't necessary. This code has no warranty and you assume all risk for using it.
-
Easiest update to WordPress yet!
I saw that WordPress 2.5 was released and always dread updating my WordPress installations as I have to read the instructions so I don't screw it up. Well, today I decided to try out the update script I wrote and I was amazed (OK, I shouldn't have been amazed) that it took just a few seconds and the upgrade was done. Everything seemed to work and now I'm running WordPress 2.5 on 2 installations! I'm not sure what I get out of the new versions, but the admin interface looks cool. Thanks WordPress folks for the upgrade and if you upgrade your WordPress installation when new versions come out, definitely check out my script as it could save you a lot of time.