AKMA's Random Thoughts

October 23, 2003

Thank You

A couple of weeks ago, Trevor and I conducted our “Webbiness for Congregations” consultation as a continuing education event at Seabury. One of the features of our presentation is the “Let us cast obloquy on your parish website” portion. Among the participants who volunteered their parishes was the Rev. David Cobb, a priest whose congregation’s website wouldn’t load. We went ahead to another congregation and a wonderful time was had by all — but a couple of days later he sent me a note, observing that it was just possible that I was acquainted with his parish, Christ Church, New Haven.

Well, duh! It’s only the parish that was our home base while I was in seminary, where I served as an assistant during my second masters program, where I was ordained to the priesthood, where Si was baptized, where Margaret attended Bible study classes while very pregnant with Si (and after he was born, nursed him through Bible study). I returned his note gladly; I remembered Christ Church vividly, and sensually — Margaret and I both recall with strong affection the distinctive scent of Christ Church’s custom-blended incense. Well, yesterday, we received in the mail a lovely gift: a jar of Christ Church “Angelus” incense, which Margaret and Si and Pippa and I sat around, sniffing fondly. Si and Pip don’t even remember Christ Church, of course, but we all were enraptured by the deep message of reverent devotion that those grains of frankincense signified. “Walk in love, as Christ loved us and gave
himself up for us, a fragrant offering and sacrifice to God.”

Posted by AKMA at October 23, 2003 02:29 PM | TrackBack
Comments

Ah, incense. Isn't it wonderful?

And people wonder why some of us love smells and bells. It's wonderful to go to church and have more than one's senses of sight and hearing activated....

My dad, who's an evangelical Protestant, has accompanied me to Christmas midnight Mass at the parish in my hometown (of which I have never been a member, but which I show up faithfully for every year that I am there). They always use lots of incense there at that service, and I remember my dad asking what the significance of it was. I felt really proud, in some way, to tell him that it was representative of our prayers to God, which are as sweet incense in His/Her nostrils.

Posted by: Nate at October 24, 2003 10:54 AM

Since the Heap has no definite rules as to where it will create space for you, there must be some way of figuring out where your new space is. And the answer is, simply enough, addressing. When you create new space in the heap to hold your data, you get back an address that tells you where your new space is, so your bits can move in. This address is called a Pointer, and it's really just a hexadecimal number that points to a location in the heap. Since it's really just a number, it can be stored quite nicely into a variable.

Posted by: Edi at January 12, 2004 11:53 PM

That gives us a pretty good starting point to understand a lot more about variables, and that's what we'll be examining next lesson. Those new variable types I promised last lesson will finally make an appearance, and we'll examine a few concepts that we'll use to organize our data into more meaningful structures, a sort of precursor to the objects that Cocoa works with. And we'll delve a little bit more into the fun things we can do by looking at those ever-present bits in a few new ways.

Posted by: Martin at January 12, 2004 11:53 PM

This code should compile and run just fine, and you should see no changes in how the program works. So why did we do all of that?

Posted by: Georgette at January 12, 2004 11:53 PM

Each Stack Frame represents a function. The bottom frame is always the main function, and the frames above it are the other functions that main calls. At any given time, the stack can show you the path your code has taken to get to where it is. The top frame represents the function the code is currently executing, and the frame below it is the function that called the current function, and the frame below that represents the function that called the function that called the current function, and so on all the way down to main, which is the starting point of any C program.

Posted by: Aaron at January 13, 2004 09:20 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: Edwin at January 13, 2004 09:20 AM

This variable is then used in various lines of code, holding values given it by variable assignments along the way. In the course of its life, a variable can hold any number of variables and be used in any number of different ways. This flexibility is built on the precept we just learned: a variable is really just a block of bits, and those bits can hold whatever data the program needs to remember. They can hold enough data to remember an integer from as low as -2,147,483,647 up to 2,147,483,647 (one less than plus or minus 2^31). They can remember one character of writing. They can keep a decimal number with a huge amount of precision and a giant range. They can hold a time accurate to the second in a range of centuries. A few bits is not to be scoffed at.

Posted by: Sybil at January 13, 2004 09:20 AM