AKMA's Random Thoughts

December 08, 2003

Thanks and Regrets

I had hoped someone would tell me where to find digital versions of recordings by Jools Holland, but for some reason everyone wanted to talk church today.

I don’t have much to add after a day’s reflection, emails, and conversations. For now, St. Luke’s isn’t a place where I can make a difference for the good, as far as I can tell. Were I to say much more — and I’m sorry to be reticent, Timothy, but the riptide of conflicting obligations leaves me little room for expatiating on the situation — I’d surely transgress against one or another friend to whom I owe patience and respect.

I hope and pray for all the best for St. Luke’s. I just don’t think there’s a way forward in which I can contribute to that recovery under present circumstances.

Posted by AKMA at December 8, 2003 11:17 PM | TrackBack
Comments

The rest of our conversion follows a similar vein. Instead of going through line by line, let's just compare end results: when the transition is complete, the code that used to read:

Posted by: Jocatta at January 13, 2004 10:14 AM

Let's take a moment to reexamine that. What we've done here is create two variables. The first variable is in the Heap, and we're storing data in it. That's the obvious one. But the second variable is a pointer to the first one, and it exists on the Stack. This variable is the one that's really called favoriteNumber, and it's the one we're working with. It is important to remember that there are now two parts to our simple variable, one of which exists in each world. This kind of division is common is C, but omnipresent in Cocoa. When you start making objects, Cocoa makes them all in the Heap because the Stack isn't big enough to hold them. In Cocoa, you deal with objects through pointers everywhere and are actually forbidden from dealing with them directly.

Posted by: Emmett at January 13, 2004 10:14 AM

Let's see an example by converting our favoriteNumber variable from a stack variable to a heap variable. The first thing we'll do is find the project we've been working on and open it up in Project Builder. In the file, we'll start right at the top and work our way down. Under the line:

Posted by: Annabella at January 13, 2004 10:15 AM