Tania.log

7 Apr 2011

world-shaker:

I never understood why my high school geometry teacher got so sad for this lesson…

world-shaker:

I never understood why my high school geometry teacher got so sad for this lesson…

5 Apr 2011

5 Apr 2011

1 Apr 2011

Senta

It’s almost 3 am and I’m still wide awake. I randomly browsed through the websites of some dog shelters and dog rescue initiatives in Singapore again, and suddenly my memory flashed back to the first time I got interested in dogs.

I first met Senta when I was about 4 years old (I think). She was my maternal grandparents’ German shepherd mix. My grandparents had two dogs at that time: a similar-sized black dog named Lassie and Senta herself. 

My family stayed a 7-hour drive away from my grandparents’ house. We usually only come to visit in holidays, so I’d only see her for a few days every 6 or so months.

Senta was  a very gentle and good-natured dog. I liked to sit and pet her for a long time, just letting time pass by. Even when it was time to go home, I often found it hard to part with her, so I would sit beside her for as long as possible before my parents tell me I had to get in the car.

One day, someone asked me and my sister to bring the dogs to the front garden to play under the sun. My sister put Lassie on a leash. Lassie was walking with my sister when she saw me walking with Senta without putting her on a leash (I didn’t see the need to put her on leash). She got jealous so she ran towards me and hit me (she was bigger than me, I sure looked like an easy target).

Another time, Senta had some kind of skin problem. Her fur in some areas fell off, exposing her infected bare skin. 

Senta was like everyone’s dog. The whole family from my mother’s side loves dogs. Everyone who comes to the house will at some point play with the dogs. 

But when Senta was sick, my grandma told me that my cousins got scared and avoided her.

Not me. I sat beside her and pet her even more.

Senta recovered by my next visit, but she lost some weight and looked rather weak. When I left my grandparents’ house after that, I somehow felt that it would be our last meeting.

And it was. She died a few months afterwards. That was the first time I lost a very good friend.

In my mom’s family, several other dogs (at least 2) have been named after her, because she was such a sweetheart.

30 Mar 2011

Because I need to improve my CS skills…

Interesting CS books:

Programming Pearls by Jon Bentley

The Pragmatic Programmer: From Journeyman to Master by Andrew Hunt, David Thomas

C++ Programming Language by Bjarne Stroustrup

Working Effectively with Legacy Code by Michael Feathers

Clean Code: A Handbook of Agile Software Craftsmanship by Robert C. Martin

Refactoring: Improving the Design of Existing Code by Martin Fowler

More:

From YCombinator’s forum

The Pragmatic Bookshelf

26 Mar 2011

Kasavana says Cantaloupe’s software was the first to use daily sales data to calculate the routes and number of drivers needed to replenish machines the next day, an approach known as “dynamic routing.” The advance means that customers no longer have to depend on experience, intuition, and historical data to decide which machines need to be restocked. Removing the guesswork means fewer drivers and trucks, less spoiled food, and better-stocked columns of popular snacks.

Sowell has worked with Cantaloupe for nearly 10 years and says he’s fascinated by how the company takes the raw data from his vending machines and turns it into useful information. “Any schmuck can go to RadioShack and build a wireless system,” he says, “but what are you going to do with that information once you get it? That’s the key.”

23 Mar 2011

One of the modules I’m taking this semester, say module A, gave me a favorable impression at the beginning of the semester. The reasons are pretty simple, with one being the fact that I took a module taught by someone very close to module A’s lecturer and I liked the lecturer for that module.

So yeah, I was really enthusiastic in the class. However, things have been going downhill because of a few incidents. Small incidents, probably, but they have affected me nonetheless.

First, I answered a question in class. It was a pretty challenging question that saw no one answering it correctly for quite some time. I got it correct.

In the next class, he mentioned my answer again, and said, “and this was answered by… ah I forgot, someone in the class”. He forgot me.

That really felt like a small incident initially, but I later observed that it was part of a bigger trend. This lecturer seems to be only interested in (1) people from a class he taught the previous semester (which he knew already) and (2) people who came from the same country as him.

I’m not in any of those categories, so I’m forgettable. At least so it seems to me.

Second, as I was typing out notes on my (lecture) slides in the class, he suddenly asked me a question. After I answered, he told the class that he asked me because I seemed distracted.

Well, I’ve been typing out my notes on my laptop since the first week of the class. I’m not a model student that has never done nothing irrelevant to the lesson in class, but I was paying attention at that time. I was naturally disappointed to hear why he asked me the question.

The third incident happened right after the second.

The marks for our previous assignment had just been published. I was surprised to see my low marks because I was confident that I’d done a pretty good job. I did my best for the assignment. Poured my heart and soul into it.

However, it turns out that I’d misunderstood a part of the assignment. It’s a little hard to explain without going down to the details, but I believe the misunderstanding was not totally my fault, or anyone’s for that matter. It was an unfortunate incident.

Still, (again, a little hard to explain) I believed I deserved more marks than what I had been given (zero for that part).

This lecturer loves to talk. Earlier in the day, he gave our midterm papers back, and humorously boasted about how considerate and generous he was in giving marks. He, again humorously, said that he probably should have gotten an award for being the most generous grader in the faculty.

So I went to him to appeal for my grades, less than 5 minutes after he said those things. His face turned dark and his voice louder (may I say… meaner?) as he said to me that he did not understand how he could help me since what I had submitted was not what was asked. He also said that he obviously could not give me another chance at submitting.

I was pretty discouraged by that response, although (while trying to contain my stupid welled-up tears) I proceeded with my argument. I explained that I was not asking for another chance. I was just asking for a reconsideration, since what I submitted was actually very close to what the assignment asked for (but I was given 0 marks for such attempt). His teaching assistant, to whom I explained the same thing the previous day, helped me by saying that what I said about my submission was indeed true. My submission was detailed and was very close to what was asked.

He gave in in the end, saying that he would discuss it with his teaching assistant privately.

Just a few hours afterwards, I got an e-mail about a change in my score. 

Now, I’m thankful for that, but the incidents that happened before, including how he reacted to my appeal, has formed my impression of him quite solidly already. My favorable first impression is gone.

It’s just a little unfortunate. I was hoping for a great time in this module, but I’ve sort of grown to not really like the class now. The materials are OK, the workload is OK, but I don’t really like the… lecturer. In a personal way. I think he’s a good, competent lecturer otherwise.

Some remarks about the ‘welled-up tears’ part. I don’t know why, but I get really sad (and instantly teary) when something I poured my heart into doing gives me a result far worse than what I’ve expected.

2 Mar 2011

Chinese Grammar Notes

我喜欢听越剧,可是我自己不会唱越剧。

自己first, then 不会。

虽然我看过几遍《红楼梦》了,但是我想再看一遍。

你想不想再看一次电影《红楼梦》?

一遍 can be used here because the verb is 看 (and assuming that the action is done from beginning to end, i.e. the subject watched / wants to watch 红楼梦 from beginning to end).

想 comes before 再。

我 some-verb 两年了。

我坐在他的左边一年了。

两年了/一年了 should be at the back.

这五年从来没有回过上海。

这五年 should come before 从来。

9 Feb 2011

No fancy special effects, just simple heartfelt storytelling. Best I’ve seen in months.

No fancy special effects, just simple heartfelt storytelling. Best I’ve seen in months.