date: 2002-08-14
description: walk, dreams: layered underwear droor, black facepaint;
lj-entry-id: 200,175

walk, dreams: layered underwear droor, black facepaint; - 2002-08-14 - Entry 202 - TOGoS's Journal

So I went for a walk Monday night/Tuesday morning (standard walk-in-the-middle-of-the-night route). It rained on me on the way back. And I saw some big lightnings which must have been pretty far away. I went the long way around the golf course instead of going right through it.

I had a dream in which there were orange (I think) things. Hannah and Sarah wanted me to give them some. Or something. I think there was also something about my underwear droor and it had layers (?). There was this bridge that the city had built and nobody liked it but there were a bunch of kids (looked like they were from West) who hung out there all the time. In the summer the sun wouldn't go down all the way and that was weird. We were in Israel or something. I was covering my face in black paint. That way I wouldn't get sunburned, like some fat guy I was looking at whose nose was all sunburned at the tip.

Right now I'm eating that long grain and wild rice with cheese dish that I haven't eaten since I stopped watching the X files. Earlier I ate some yummy triscuts and read about some company that thinks they can build a space elevator in 15 years.

And now I'm finding out how to do stuff in C which I didn't know before by fiddling around with test.c:

#include 

/* I don't have to say 'struct Glorm peewee;', because I used 'typedef'
typedef struct {
  int foo;
  int bar;
} Glorm;

int main (int argc, char **argv) {
  Glorm peewee;
  peewee.foo = 1;
  peewee.bar = 2;
  fprintf (stdout, "foo: %d; bar: %d;\n", peewee.foo, peewee.bar);
}
*/


/*
typedef int Burp[2];

int main (int argc, char **argv) {
  Burp man;
  man[0] = 6;
  man[1] = 3;
  fprintf (stdout, "man[0]: %d; man[1]: %d;\n", man[0], man[1]);
}
*/

typedef struct {
  int man;
  char *loathe;
} Boot;

/* in order to use {a, b, c} syntax, you I include the typename */
Boot make_boot (int man, char *l) {
  /* this works: */
  Boot mo = {man, l};
  /* this wouldn't:
     Boot mo;
     mo = {man, l};

     and neither would this:
     return {man, l}
  */
  return mo;
}

/* I can create a literal array of literal Boots outside of a function */
Boot dude[5] = {
  {4, "come here a little closer"},
  {6, "'cuz I wanna see you baby real close up"},
  {},
  {8, "fooch!"}
};

int main (int argc, char **argv) {
  Boot loot;
  int x;
  for (x=0; x<5; ++x) {
    loot = dude[x];
    fprintf (stdout, "man: %d; loathe: \"%s\";\n", loot.man, loot.loathe);
  }
}

Neato, huh? No, really. I didn't know these things before! I wish I had!