June 5th, 2003

  • evan

girl graph

Girls in my life, based on the number of mentions they got in my LiveJournal:
Collapse )
This is not quite what I wanted for a number of reasons:
  • If I recall my stats right, these kernel density estimates integrate to one there’s some property of this method that I don’t really understand that means that the separate lines should not be compared visually as I do here. Meena has more overall mentions than the other two, but her graph is shorter because it’s more spread out. (I don’t know how to use R very well.)
  • I (coincidentally) began my LJ just around the time I broke up with Kim, so she gets fewer mentions... and because she’s more or less stuck around in my life, she gets more spread out and is also shorter than it should be.
  • I mentioned Faith a few times a day because I spent so much time with her; I spend a similar amount of time with Meena but I’ve made a point of not mentioning her (nor Faith or Kim) so much.

But with all of that said, it’s still kinda cool.
  • evan

i ought to be more careful

I got a really bad grade on my compilers assignment, and I was sorta disappointed because I really should’ve put more time into it. I was proud when I turned it in because I was pretty confident it mostly worked, but when I got it back I saw that it didn’t.

Just now I looked at it more carefully, wondering what I had wrong. Was it the harder stuff, like arrays of arrays or pass by reference? No, somehow I failed simple things like the “if-then-else” test! I investigated further and discovered that I had inverted the meanings of the literals “true” and “false” (apparently my test to verify they worked was something like if true or false, which has the same meaning when they’re inverted).

Many of their tests relied on those working. Stuff like the test of break (while (true) { okflag = 1; break; }) was not producing the expected result for reasons other than my (correctly working) break implementation.

And the arrays? They worked fine. 20% of my grade was lost due to the simple inversion of two very important characters.
  • Current Mood
    disappointed, but laughing about it