AKMA's Random Thoughts

July 29, 2003

Worse Things Happen at Sea

But this is bad enough. In the run-up to the choir tour, the organizing of which has consumed most of Margaret’s estimable energies for weeks, and in the middle of our friendly conviviality, Bea the Bichon has come down with a bacterial enteric infection. That spells “diarrhea” and “blood” and a massive burden of anxiety and guilt about leaving her behind for Jennifer and Pippa and (after them) a house-sitter who does not like cleaning up after dogs.

She’s stabilized now (Bea, that is), and has a prescription, and will in all likelihood be fine. Just one more thing.

Posted by AKMA at July 29, 2003 11:30 AM | TrackBack
Comments

If its any consolation. Roy has had his fits of messy illness, and it doesn't bother us any. Bea will be fine with neighbors who love her and who will look out for her.

Posted by: Frank at July 30, 2003 03:48 PM

Our next line looks familiar, except it starts with an asterisk. Again, we're using the star operator, and noting that this variable we're working with is a pointer. If we didn't, the computer would try to put the results of the right hand side of this statement (which evaluates to 6) into the pointer, overriding the value we need in the pointer, which is an address. This way, the computer knows to put the data not in the pointer, but into the place the pointer points to, which is in the Heap. So after this line, our int is living happily in the Heap, storing a value of 6, and our pointer tells us where that data is living.

Posted by: Phillipa at January 12, 2004 11:35 PM

When Batman went home at the end of a night spent fighting crime, he put on a suit and tie and became Bruce Wayne. When Clark Kent saw a news story getting too hot, a phone booth hid his change into Superman. When you're programming, all the variables you juggle around are doing similar tricks as they present one face to you and a totally different one to the machine.

Posted by: Archilai at January 12, 2004 11:36 PM

Our next line looks familiar, except it starts with an asterisk. Again, we're using the star operator, and noting that this variable we're working with is a pointer. If we didn't, the computer would try to put the results of the right hand side of this statement (which evaluates to 6) into the pointer, overriding the value we need in the pointer, which is an address. This way, the computer knows to put the data not in the pointer, but into the place the pointer points to, which is in the Heap. So after this line, our int is living happily in the Heap, storing a value of 6, and our pointer tells us where that data is living.

Posted by: David at January 12, 2004 11:36 PM

When the machine compiles your code, however, it does a little bit of translation. At run time, the computer sees nothing but 1s and 0s, which is all the computer ever sees: a continuous string of binary numbers that it can interpret in various ways.

Posted by: Machutus at January 13, 2004 12:45 PM

Being able to understand that basic idea opens up a vast amount of power that can be used and abused, and we're going to look at a few of the better ways to deal with it in this article.

Posted by: Rose at January 13, 2004 12:45 PM

The Stack is just what it sounds like: a tower of things that starts at the bottom and builds upward as it goes. In our case, the things in the stack are called "Stack Frames" or just "frames". We start with one stack frame at the very bottom, and we build up from there.

Posted by: Elizabeth at January 13, 2004 12:45 PM