Monday, September 22, 2008

Chat Log

Magi:想想怎么回答学生问题……
Ryler:恩……就说一般的文件都有文件头,meta data之类的,这个没有,而且Google不到;其实主要是Google不到。所以应该是用户自定义的文件。内容嘛,只有鬼知道。
Magi:D这个回答好啊,developer就是诡异啊。
Magi:今年Yang kanyan和Yu renjun也要结婚了。
Ryler:啊!他们是gay? 没看出来……现在中国gay可以结婚了?
Magi:晕,我说错了。各自跟各自老婆结。钻牛角尖你的脑筋很快的嘛……

无题




知道,blog不是日记,日记是写给自己看的。不过,这些东西,一旦传到网上,就再也丢不了了。日记不行。答应为你写歌,可如今歌喉已不在,哪怕唱出来,也不会动人吧。


Monday, September 15, 2008

$songs[0]

It's My Life (lyrics)

Songwriters: Bon Jovi, Jon; Martin, Max; Sambora, Richard S;

This ain't a song for the broken-hearted
No silent prayer for the faith-departed
I ain't gonna be just a face in the crowd
You're gonna hear my voice
When I shout it out loud

It's my life
It's now or never
I ain't gonna live forever
I just want to live while I'm alive

(It's my life)
My heart is like an open highway
Like Frankie said
I did it my way
I just wanna live while I'm alive
It's my life

This is for the ones who stood their ground
For Tommy and Gina who never backed down
Tomorrow's getting harder make no mistake
Luck ain't even lucky
Got to make your own breaks

It's my life
And it's now or never
I ain't gonna live forever
I just want to live while I'm alive

(It's my life)
My heart is like an open highway
Like Frankie said
I did it my way
I just want to live while I'm alive
'Cause it's my life

Better stand tall when they're calling you out
Don't bend, don't break, baby, don't back down

It's my life
And it's now or never
'Cause I ain't gonna live forever
I just want to live while I'm alive

(It's my life)
My heart is like an open highway
Like Frankie said
I did it my way
I just want to live while I'm alive
'Cause it's my life!


Sunday, September 07, 2008

小方块和小蛋壳

人说,Wall-E是2008年最浪漫的影片。小方块好奇却又胆怯,但怀着只想要牵手的单纯,勇敢得差点粉身碎骨;小蛋壳一开始很白很暴力,后来却为旦夕中的小方块放弃自己的使命(directive)。其实,“他”是“她”或者“她”是“他”也说不定;他们之间到底是友情,还是爱情也说不定。浪漫不一定在爱人之间,为了彼此而超越自我的勇敢,就是最终极的浪漫了。无论在天荒地老的地球垃圾场,还是梦幻的星空中。


某人说,小蛋壳完全就是ipod啊。一说之下恍然大悟。乔布斯本来就是Pixar的老板(founder,其实是买过来的)啊。有眼光。

Monday, May 19, 2008

一个星期

再多的话也表达不出心中的悲痛,5月19日2点28分,在新加坡低头为受难的和幸存的人们祈祷。在生命面前,什么都变得不重要了。活着的人们,更没有理由不珍惜自己身边的亲人和朋友了,更没有理由自暴自弃了。愿天国的天空同样的蓝,鲜花同样的鲜艳。

Tuesday, April 22, 2008

Laptop build-in camera distortion problem

If you ever used laptop build-in camera for video conferencing, you will probably notice that your face is a bit distorted and not as pretty as the one inside a mirror. Actually, the same distortion happens for almost any cameras when the subject -- your face positions too close to them. For web cameras, wide-angle lens is used to jam in more environment, your face turns out to be even more funny.

Now that not everyone likes this distortion, and maybe it's an interesting application to flatten it. Assuming computation complexity is not a problem, it is possible to adjust each frame of image to de-distort it according to camera model and parameters before generating the video stream. An even more interesting approach is to build an accurate 3D model of your face, and dynamically manipulate it according to your facial expressions (while leaving less distorted, less important back ground as is). You can ask the software to pre-build your face model (not including hair of course) from several pictures of different angle. Or using a multi camera system, i.g., 3, from the left, center, and right side, to build it dynamically. This link shows a similar application using a single face picture. It's for fun, but surely shows the possibilities.

Wednesday, April 16, 2008

Thesis

Finally got the thesis writing done. The same old results, yet the procedure was full of struggling.

There's the saying that in order to do great things, you must aim high; another saying that the thousand miles journey starts with a single step forward. I guess I didn't really achieve a balance between these two, aiming too high, without a plan, only to discourage myself from stepping forward step by step. After all, I'm a normal person. But still, many great things are done by the normals.

"Welcome to the real-world, lad, where anything that is unthinkable is possible."