Cat Drinking from Wine Glass

Posted on: Mon, 07/04/2011 - 07:44 By: yunyao

Mayori loves drinking fresh-served water, especially from a wine glass. Obviously she believes that is the right way to drink water for a cat princess.

cat drink from wine glass

Cat in a Drawer

Posted on: Mon, 07/04/2011 - 07:36 By: yunyao

Mayori loves to play hide-and-seek with us. The top drawer of our dresser is now her new hiding place.

 

cat in a drawer.

Cat Pizza Delivery

Posted on: Mon, 07/04/2011 - 07:31 By: yunyao

Cat in a pizza box?

Either Mayori believes that she tastes better than the fresh baked version or that she believe that she needs a new bed smelled like fresh baked pizza. Either way she obviously enjoys the pizza box. 

 

How to redeem British Airways mileages for partner airline flights

Posted on: Wed, 06/15/2011 - 06:35 By: yunyao

I have accumulated over 60,000 miles on British Airlines Executive Club reward account for a while now, but keep on having problem redeeming them. First of all, it is difficult to find any reward flight available; secondly, the fee is extremely high --- for a flight from SFO to LHR, I would have to pay 50000 miles + over \$600 fee, while the same flight costs less than \$1000 when paying with cash.

Over the weekend, I have investigated the problem and found out that one of the best ways to spend my BA miles is to redeem for British Airways' partner airline flights. However, it is not straightforward to do so, as BA would show its own flights with steep fee first, except when American Airlines and a couple of other partner airlines operate the same route.

My solutions for problems No. 76-100 on 4clojure.com

Posted on: Sun, 06/05/2011 - 06:36 By: Huahai

Finally done with all the 100 problems listed on 4clojure.com so far :-). When new problems appears there, I will probably do them when I have some time to kill, but I will not post my solutions here any more. If I found interesting programming exercises, I may submit to 4clojure as well.

My solutions for problems No. 51-75 on 4clojure.com

Posted on: Wed, 05/25/2011 - 02:59 By: Huahai

This post continues the previous one, on my solutions for small clojure programming problems on 4clojure.com. Doing these problems seems to be addictive as I could not seem to stop myself. The site recently added a golf league feature, so one can see how short one's own solution compared with others. If a lot of people got a much shorter solution than yours, you know you are not thinking in the right way.

My solutions for the first 50 problems on 4clojure.com

Posted on: Thu, 05/19/2011 - 00:13 By: Huahai

For someone without previous Lisp experience, the hardest part of learning Clojure programming seems to be the functional way of doing things. It is like math, one really needs to do some exercises in order to master it. At this point, 4clojure.com seems to be the best place for getting such exercises. It has a lot of problems for new clojurians to solve. These problems ask one to fill in the blank __ so the given expressions are true. To give a little challenge, some clojure built-in functions are forbidden to use for some problems. New problems are added from time to time on the site, so it surely can keep me entertained for a while.

Develop clojure Web applications with vim

Posted on: Tue, 05/03/2011 - 00:02 By: Huahai

I recently started to learn clojure programming. It is an interesting experience. Ever since I learned computer programming almost 20 years ago, in Pascal, on a VAX minicomputer terminal, I have not experienced this newbie sensation with a computer language. The sense of excitement and novelty is high, and the eagerness to put the language to use is higher still. So for my new project at work, I am doing it with clojure.

This is a visual analytics project, and the visual part will be on the Web. It amazes me how much work has already been done for the Web using this 3 years old language. So it should be easy for me to get started. Here's what I have so far.


A conversation about the job talks of new Ph.D. graduates in computer science

Posted on: Mon, 03/07/2011 - 20:40 By: Huahai

Yunyao and I work in a research center of a major technology company. At this time of a year, we attend job talks every week. These talks are technical presentations given by candidates for our research or development positions, as part of their two day job interviews here. Not surprisingly, the majority of the talks are given by newly graduated computer science PhDs who have published a lot of technical papers in premier computer science conferences. After a while, we kind of see some common deficiencies of these new graduates. Below is an instant messaging conversation we had right after attending a talk, which I hope would be helpful for some people.

YY: How do you like the talk?

HH: good slides

YY: yes, very well made

HH: lack of big picture in question handling

Subscribe to