Archive for May, 2007

Some interesting findings regarding the Finder

Tuesday, May 22nd, 2007

Earlier today, as I posted earlier to the cocoa-dev list of which I am a proud subscriber, I read on MacInTouch that all of the icons on Mac OS X’s Desktop are actually windows — that’s right, real windows, just like you see when you click on the Finder in the dock. The speculation on the MacInTouch thread is that the mere fact that those windows have to be customized constantly; that is, kept hidden, somewhat transparent, etc., and there are so many of them on many peoples’ desktops (like mine for example), leads to a big performance drop in the Finder. That would explain why clearing off your Desktop by putting all or most of the icons into a folder on the Desktop is said to speed up your computer so much. (I verified this by using the Quartz Debug utility. I’d say more, but I have no wish to violate my NDA. For details check out the MacInTouch thread link above.)

I just found another interesting Finder “gem”: I was going through /Library/Preferences looking for something else, when I stumbled across com.apple.com.dockfixup.plist. That name seemed a bit curious, so I opened it up and you won’t believe what it is: All it does is keep track of which of the original items that came in my Mac OS X (i.e., that shipped preinstalled with the OS) are still in the Dock. It also keeps track of what version… well, I guess it started keeping track in: The version it’s got for me is 10.3, but I’ve had Mac OS X going back to 10.0. My guess is this is another performance inefficiency of the Finder: It probably looks at this plist every time Finder loads to see what changes it has to make to the default base Dock settings before it can continue the loading the Dock. I guess in a way it’s a good idea on Apple’s part, but there must be some better way to do this…

By the way, comments are welcome. I’ve had this blog running for months now and still have zero comments…

“Radical” or Just “Evangelical”?

Tuesday, May 22nd, 2007

Why is it that we hear a lot about radical Islam, but when people talk about Christians with the same fervor of religious belief they call them “evangelical”? Maybe it’s because probably half the people in the Bible Belt, Bush included, would be “radicals” if we didn’t have this alternative term. Just something to think about…

Latest Confidence in U.S. Foreign Policy index released

Wednesday, May 16th, 2007

I just received an email from Foreign Affairs letting me know that the latest Confidence in U.S. Foreign Policy Index has been released, so I took a look at their summary of the results and I’m sad to say that it’s only gotten worse since 2006… Guess why? Click here for details.

Leopard to mean the end of “windows”?

Monday, May 14th, 2007

This article speculates that Leopard could mean the end of the while “windows” user-interface paradigm. We’ll find out for sure when Steve Jobs gives his WWDC keynote on June 11th. If Leopard really does turn out to mean the end of windows, I’m going to have to really put some serious time into thinking about whether it’s worth keeping Tiger support for this program that I’m working on now.

Maybe you should think before you say “Five-Second Rule…”

Thursday, May 10th, 2007

I just read this interesting article on nytimes.com that seems to disprove the wide-held idea that if you drop a piece of food on the ground, you won’t get sick if you pick it up within five seconds. Definitely worth a read.

How get the observedObject from a NSManagedObject subclass

Tuesday, May 8th, 2007

This comes in handy… I’d been stuck for several days because apparently Scott Stevenson’s [item valueForKey:@”observedObject”] trick will only work in NSManagedObject, not a subclass of it. So I just guessed my way to this, which is now a method in each of my NSManagedObject subclasses:

-(NSManagedObject *)observedObject {
NSManagedObjectID *objID = [self objectID];
NSManagedObjectContext *moc = [self managedObjectContext];
id tmpObject = [moc objectWithID:objID];

return tmpObject;
}

Changed name of blog

Tuesday, May 8th, 2007

So… yeah, I just changed the name of this blog from “My Semester Abroad” to reflect the fact that I’m posting about things other than Australia. Don’t worry though; I’ll still post some about Australia….

‘Epidemic’ of sleep deprivation spreads among busy Britons

Wednesday, May 2nd, 2007

Basically says that people need 8 hours of sleep, but more and more aren’t getting it.

read more | digg story

30 Mac switchers’ mistakes: How many are Apple’s fault?

Tuesday, May 1st, 2007

I just found this really interesting blog post (and I “digg” it) about all these common mistakes switchers make. I suggest this article; it makes for a good read.

read more | digg story