?

Log in

No account? Create an account
Traitors to the cause - Lindsey Kuper [entries|archive|friends|userinfo]
Lindsey Kuper

[ website | composition.al ]
[ userinfo | livejournal userinfo ]
[ archive | journal archive ]

Traitors to the cause [Jun. 21st, 2010|02:49 am]
Lindsey Kuper
[Tags|, ]

Alex oniugnip came up to Ithaca to visit me this weekend!

Our original plan had been to spend Friday through Monday doing the ICFP Programming Contest, as has been our tradition for the last couple years. When Alex showed up around 11:30 on Thursday night, though, my reaction was more or less, "Uh, we both just spent the whole week writing code, and right now I mostly just want to show you some waterfalls." I figured my enthusiasm would pick up by the next day, but on Friday I looked at the contest description and, well, maybe this shouldn't matter, but the theme of the contest is, like, vendor lock-in and dependence on fossil fuels, and it was a little off-putting. Hours after the contest had officially started, I still had bugs to fix in my OS homework that was due that night, and in the meantime, Alex had a project of his own to hack on that he was finding more appealing than the contest. Then we had to spend some time dealing with insurance-related fallout from someone hitting Alex's parked car1, and basically, it all added up to us not really being willing or able to participate in the contest this year.

I feel a little traitorous; I'm going to have to 'fess up to my co-workers, who know that I took Friday off with the intention of doing the contest and are going to ask me how it went. And I feel that I've betrayed a small part of my identity. But honestly, I don't feel too bad. I'm working so hard during the weeks that, dang it, I deserved a relaxing weekend. And I got one. Alex and I ended up spending the weekend walking around large chunks of Ithaca and doing a lot of leisurely hacking on things that were not the contest. I took him to the Moosewood Restaurant on Saturday, because my mom would be deeply upset if I spent the whole summer in Ithaca without going to the Moosewood, particularly if she knew my office was a block away from it (hi, Mom), and this morning we went to Waffle Frolic. We were going to walk to the lake from my place today, but we weren't sure if we could reasonably expect to make it there and back before Alex had to get on the bus back to NYC, and it was threatening to rain, and oh, look, there's the comic shop just opening up for the afternoon, let's just duck in there for a minute, and yeah. Alex found an impressive run of issues of The Maxx in the three-for-a-dollar section, and perhaps predictably, I picked up Logicomix. I've been reading it this evening after sending Alex on his way. It's the first comic I've read in recent memory that has sent me scurrying for scratch paper.

I didn't get all the bugs out of my OS homework -- a dynamic heap allocation library that replaces the functionality of malloc/realloc/free with a different interface! -- before turning it in on Friday, giving rise to an utterly one-sided email exchange with our instructor, if such a thing can be called an "exchange". It went kind of like, "I'm having trouble with such-and-such a problem"; "never mind, I fixed it; on to the next bug"; "argh; this still doesn't work, but it's due in four minutes and I'm turning in what I've got"; and finally, triumphantly but a day late, "it works!". I don't know if he saw any of the four messages, but the whole experience is making me think that maybe I shouldn't be so quick to answer my students' emails; maybe I should give them a few hours, at least, to let them try to figure it out themselves. Anyway, it all worked out in the end, but I'm irked at myself for blowing my heretofore perfect homework score, which as far as I can tell is the only basis for grading, since we don't have exams. I really want to get an A in this class, because I think that's the only circumstance in which I can justify putting it on my CV, which is obviously the only reason to do anything ever.


  1. Alex's car is here in Ithaca with me for the summer. At some point on Thursday morning, someone managed to smash their car into its left rear corner as it sat parked on the street, rendering it undriveable. I discovered this on Thursday evening, when I was about to drive to a dinner party at a co-worker's place and discovered that there was a note on the windshield and a strange askew-ness to the left rear wheel. Nobody's hurt, but we've had to spend a fair amount of time on the phone with Geico.
LinkReply

Comments:
[User Picture]From: pmb
2010-06-21 04:39 pm (UTC)
Student emails are best left unanswered until at least a few hours have elapsed, or the time-until-due has halved.

Please use the minimum of these criteria, however, and not the max.
(Reply) (Thread)
[User Picture]From: stereotype441
2010-06-21 05:54 pm (UTC)
So if the assignment is due in x hours, and it takes us each y minutes to write and send an e-mail, and neither of us writes/sends an e-mail to the other while awaiting a reply to a previous e-mail, what is the maximum number of e-mails we can exchange in the remaining time before the assignment is due?

Let's assume that the minimum value of "a few" is 2.
(Reply) (Parent) (Thread)
[User Picture]From: pmb
2010-06-21 06:05 pm (UTC)
It takes 5 minutes if the answer isn't "come ask me in person". I prefer to assume that a "few" hours is 1 hour and 55 minutes.

So, the answer is ... complicated.

f (x) = x > 2 ? x / 2 + f(2) : number of terms in a geometric and arithmetic series intertwined which sums to no more than x hours.

I would write a program, but it's lunchtime. If you haven't replied with one (or, even better, a closed form) expect a reply to this with the answers in a few hours.
(Reply) (Parent) (Thread)
[User Picture]From: stereotype441
2010-06-21 06:09 pm (UTC)
expect a reply to this with the answers in a few hours.

Touché.
(Reply) (Parent) (Thread)
[User Picture]From: pmb
2010-06-21 07:09 pm (UTC)

Don't be so touché :)

http://pastie.org/1014033

10 9
9 9
8 8
7 8
6 7
5 7
4 6
3 6
2 5
1 4
0 0
(Reply) (Parent) (Thread)
[User Picture]From: lindseykuper
2010-06-21 09:10 pm (UTC)
It often takes me upwards of 20 minutes to compose a response. Of course, then the answer is really "You should have come and asked me in person at some point before 9 p.m. on the night the assignment is due."
(Reply) (Parent) (Thread)
[User Picture]From: pmb
2010-06-21 11:44 pm (UTC)
My current system is to set a timer, and if my answer is taking more than 10 minutes, I forcibly wrap it up and say "to learn more, come to my office"
(Reply) (Parent) (Thread)
[User Picture]From: stereotype441
2010-06-22 02:43 pm (UTC)
That's a really good idea. I should do a similar thing when I'm writing comments in people's ...

To learn more, come visit me in Portland.
(Reply) (Parent) (Thread)
[User Picture]From: eliciel
2010-06-21 10:07 pm (UTC)

re: footnote

As someone who has accidentally driven into someone's parked car while gently (less than 5mph) turning left out of a parking lot onto a 1-way street, and then spending the next half an hour trying to think of everything that should go into the note explaining why their left-rear tire has been driven halfway up onto the curb and into a tree... (torq holy crap!)

on behalf of the person who drove into Alex's car, I'm sorry! It was completely unintentional and surprising and I feel awful!
(Reply) (Thread)
[User Picture]From: lindseykuper
2010-06-21 10:45 pm (UTC)

Re: footnote

The other driver, I should point out, did everything right as far as reporting the accident goes. The "note" was an official accident information exchange form containing his complete contact information, and he had already contacted the police, who had apparently been able to look up Alex by his license plate, because Alex's name was on the form as well. He was quite apologetic when I spoke to him, and I thanked him for making it so easy to contact him, and for having insurance. Assuming insurance foots the repair bill, this is really a minor inconvenience for us. I was only using the car about once a week anyway.
(Reply) (Parent) (Thread)
[User Picture]From: eliciel
2010-06-22 12:24 am (UTC)

Re: footnote

Oh, I'm sure the driver had done so, from your blasé manner of relaying the incident. (^^) Reading your description just took me back to that moment...
(Reply) (Parent) (Thread)
[User Picture]From: keystricken
2010-06-22 04:37 am (UTC)
I was very intrigued by Logicomix. I read a few pages in Powell's Tech. How would you characterize it?
(Reply) (Thread)
[User Picture]From: lindseykuper
2010-06-24 01:57 am (UTC)
Well, you know how in Hofstadter's books, Bertrand Russell is sometimes characterized as being abjectly terrified of self-reference, recursion, infinity and all that? This book paints a more nuanced picture. It doesn't hold Russell up as an infallible hero -- not even close -- but it emphasizes the idea that if it hadn't been for Russell's work, Gödel couldn't have done his. It's nice to see Russell get a fair shake. You get to see the human side of Russell and his colleagues in the book, too. And you end up admiring Russell for surviving the foundational crisis in mathematics without either going batshit insane or giving up on math entirely, as it would appear so many others did.

The book is, of course, itself self-referential; it's partly about the authors and their process of writing the book, a la Maus. And it starts with exactly the same surprised-artist-looks-up-at-reader-peering-in-on-them device as Stop Forgetting to Remember does. I'm not sure it's possible to do better than Maus in the self-reference department, but I like what they do with it, and you very much get to see the human side of Papadimitriou, the modern mathematician, too. (When I picked up the book, I saw the author's name and thought "Huh -- wonder if he's related to the Papadimitriou who writes theory textbooks." A few pages in, I was delighted to discover that it was the same guy.)
(Reply) (Parent) (Thread)