Wednesday, December 17, 2008

earliness

Q: What's the earliest example of recursion?
A: When God said: "I am what I am." in the Bible!

LOL and we were all thinking along the lines of Fibonacci.

Zhenghao showed us a graph. Not the y=x^2 nonsense but real programming type of graphs. Which are nodes with edges! And then when we were all like :O he said, "But that's okay. We're only doing trees!" Which are still nodes with edges, but still. A node is basically just a cheem way of saying "circle".

Zexi was being annoying and decided to ask cheem questions like: "Can you have a tree where a node is both the root AND a leaf?"
Zhenghao: Uh can. It looks like this: *draws a node* It's called a self-sufficient tree.
Daniel: No! It's a circle!

Anyway we were trying out DFS today and Keyun and I couldn't get around it ): So we saw Pangwei on googletalk, who was apparently checking our OJ submissions from home, and spent super long arguing via our pm thingys on gtalk about who should ask Pangwei. I suggested that maybe we just ask Zhenghao, and then Keyun wrote on her pm, "Zhenghao is scaryyyyyyyyyyy". We'd both thought that Pangwei was afk when all of a sudden (just as Keyun realised that it was incriminating and was about to take it down) he said to Keyun, "hahahahahahahah what did Zhenghao do?"

Then we got scared that he'd tell Zhenghao that so we asked him a question to distract him. (: Something about how to code DFS.

And then the next thing we knew Zhenghao was zipping over to help us code DFS. ._. We were pondering for awhile over whether Zhenghao really was psychic or not, because he suddenly asked, "Did you ask Pangwei anything about programming? Anything at all?"

In the end all was revealed when Zhenghao's handphone buzzed. He picked it up, looked at it, and shouted across the room: "OI! JOSEPH! ARE YOU USING -insert random cheem programming term here-"

Joseph: :O HOW'D YOU KNOW?!?!?!
Zhenghao: I have eyes everywhere >) And ears everywhere >) And a handphone. :)

We finally finished coding our DFS and were playing with it.
Daniel: You two aren't still playing with Anagram, are- well, clearly I was wrong.

Then Zhenghao walked past us with Daniel on their rounds awhile later.
Zhenghao: OMG you're still playing with Anagram?
Daniel: I think this would be a good time to bang your head on the table.
Zhenghao: Uhh no the table's too low.
Daniel: I bang your head on the table for you :D

But anyway debugging my code was super hard. Because for some weird reason I found it very amusing whenever the code wouldn't compile and kept laughing.
Daniel: The only person I know who gets so happy whenever their code won't compile is you *points at Zhenghao*
Zhenghao: What?
Daniel: Last time, he sent me a code to compile and when I tried compiling it there were 430 compile errors. 430!

They were so happy when they finally finished debugging my code that they got up and hugged each other and thumped each other on the back really hard.

For some reason during lunch, the caterer forgot to pack Zhenghao's share, but gave us two bunches of bananas.
Daniel: Oh. Looks like Chen will have to eat bananas >)

Anyway Zhenghao ate cupnoodles so there were loads of bananas left over. Cue more of Zhenghao's weird comparisons. Halfway through our coding...

Zhenghao: CODING... IS LIKE A MARATHON.
Everyone: Is this some inspirational bs? :/
Zhenghao: Wait la! CODING IS LIKE A MARATHON. YOU NEED LOTS OF BANANAS. Here, I've got bananas for everyone :)

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home