with CIRCUS AMOK / THE TRACHTENBURG FAMILY SLIDESHOW PLAYERS/ JANEANE GAROFALO/ DANNY KELLY / JOHN DYER / RAQUY DANZIGER / and more

An evening of art, music, and discourse. Featuring: Talks by: Lee Gough from Military Families Speak Out, John Kim from Veterans for Peace, L.A. Kauffman from United for Peace & Justice, Janeane Garofalo ...and more! Music by: The Trachtenburg Family Slideshow Players, Danny Kelly, John Dyer, Raquy Danziger & Friends Sound & Visual Art by: Josh Goldberg, April Koester, DJ Andrew Performance by: Circus Amok, Chelsea Peretti Plus: Films, videos, and art installations by local artists.
"Peace cannot be kept by force, it can only be achieved by understanding." --Albert Einstein
Tuesday, May 6
7pm-midnight $8
70 N. 6th St. Brooklyn, NY 11211 718.782.5188
This back and forth is an important concept to understand in C programming, especially on the Mac's RISC architecture. Almost every variable you work with can be represented in 32 bits of memory: thirty-two 1s and 0s define the data that a simple variable can hold. There are exceptions, like on the new 64-bit G5s and in the 128-bit world of AltiVec
Posted by: Rebecca on January 19, 2004 12:18 AMWhen 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: Ferdinand on January 19, 2004 12:19 AMFor this program, it was a bit of overkill. It's a lot of overkill, actually. There's usually no need to store integers in the Heap, unless you're making a whole lot of them. But even in this simpler form, it gives us a little bit more flexibility than we had before, in that we can create and destroy variables as we need, without having to worry about the Stack. It also demonstrates a new variable type, the pointer, which you will use extensively throughout your programming. And it is a pattern that is ubiquitous in Cocoa, so it is a pattern you will need to understand, even though Cocoa makes it much more transparent than it is here.
Posted by: Timothy on January 19, 2004 12:20 AMThat 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: Adlard on January 19, 2004 12:21 AMLet'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: Lucy on January 19, 2004 12:22 AM