Tuesday, 24 January 2012

How to write the related work section

My advisor's suggestion on how to write the related work section:

  • It's not a literature review. So don't go into to too much details. Describe the work in enough details to show that you understand it.
  • Show how the previous work is related to your work.
    • You can build on the previous work.
    • You can show how you are doing differently.

Friday, 6 January 2012

Monday, 2 January 2012

CSS dimensions

Relative units

  • % - percentage of some other size (usually the same size in the parent element).
  • em - the font-size of the parent element.

CSS layout: the box model


  • Each element is a box.
  • Default width: maximum that fits into the parent element.
  • Default height: minimum that fits in all the children elements.
    • %: Defines the height in percent of the containing block.


  • Inline elements can share a line. Examples: <em>, <strong>, <input>, <select>, <img>. They have no margins or paddings.



Saturday, 31 December 2011

激情和爱情

今天在开心网上看到的帖子,觉得说的不错,记录下来。

有朋友问到区分激情和爱情,其实很好区分的,当你不见她时茶饭不思,是激情。老想见到她,想和她一起玩,一起上床,一起做白日梦,是激情。每天短信电话多的没完,是激情。为了生日节日费尽心思想浪漫的点子,是激情。当你和她在一起时脑子里不自觉的规划实实在在的将来,是爱情。当你们争吵到很凶,火很大时,也不忍心说一句伤害她的话,是爱情。当你们有分歧时,你总是能清楚的知道她是怎么想的,能理解她的初衷,是爱情。 

Thursday, 29 December 2011

Java profiler

jvisualvm is a Java virtual machine monitoring, troubleshooting and profiling tool. It comes with Sun Java 6 JDK and works out of the box. It works pretty well on Ubuntu so far for me.

Tuesday, 20 December 2011

Kinect statistics

Depth full resolution: 640 x 480 pixels
Device max depth: 10,000
Depth sensitivity: 11-bit, 2,048 levels
The depth sensor has a range limit of about 0.5m - 5m with a resolution of 1.5mm at 0.5m and 5cm at 5m.