2011年7月30日星期六

给父亲的一个短信

正在写我的第一个游戏,这个游戏是移植另外一个pygame所写的游戏:krank.写这个游戏的初衷其实是想给我的Nokia N900用Qt写一点什么。作为Nokia Developer Community的一员,自从去年年中拿到了这台N900以后,一直答应要给Nokia写个程序作为免费拿到手机的回报。虽然那之后写了一个简单的抓取google movie网页的程序,用来显示新加坡岛内所有电影院的电影信息,不过一直没有把程序呈交给Ovi程序商店。到了最近N9都快出来了,才下定决心真正的做点什么,为了自己,为了那些喜爱N900的朋友们。

写这篇文章是因为刚才突然给父亲发了一个短信,希望明年他能够用上我给他买的手机,一方面是因为从大学直到出国的头两年,所有的手机都是他给我买的,现在我有了经济实力,也想回报他。另外更重要的一个原因是自从最近自己也当了爸爸以后,对于父母对子女的期望,子女对父母的不负期望的感觉,有了越来越多的理解。所以我很希望自己的父亲能够玩上我写的游戏,为我自豪,为我欢呼。

今天写下这段话,是为了告诉自己,我对自己有承诺,对父亲有承诺,如此就能让自己坚持把游戏写出来。也是为了自己鼓劲加油。fighting!呵呵

2011年1月13日星期四

Use VLC to forward streaming in Ubuntu 10.04

My recent project needs a video stream relay server that forwards MJPEG stream from a camera (Panasonic BL131) to client. I install VLC (v1.0.6) through "apt-get" in Ubuntu 10.04. However, it can't display the video from the HTTP server in the camera. The error message repeatedly tells "can't reach the host" as it always looks for the proxy. I disable the proxy in the system and firefox web broswer. Then I can use firefox to display the video streaming from camera but still fail to use VLC to retrieve the video. My colleage uses VLC (v1.1.5) in his Fedora and suceeds to display and relay the streaming. So it is clear that there is something wrong in Ubuntu but not VLC. It takes me almost one working day to find the reason. Finally I doubt it is related to firewall configuration in Ubuntu. So I disable the firewall in Ubuntu and reboot the system. Surprisingly, it succeeds to show the streaming.
THIS IS NOT FIRST TIME THE DEFAULT FIREWALL ENABLE STATE THAT SUCKS IN MY WORK.

2010年9月1日星期三

对于专业人士的致敬

刚刚在ppstream上面看了福尔摩斯的那个内部评估版,跟第一集的内容梗概是一样的,不过有很多细节上的变化。如果说没有看过第一集的话,这个评估版本也是不错了。但是跟第一集比较以后,就发现这个版本失色不少。不得不说,专业的电视剧制作人士对于如何让电视剧更好看确实是很有办法。添加的那些细节,确实增加了观赏性,同时也更贴近原著。

2010年8月29日星期日

博客新建

这个博客姗姗来迟,终于下定决心创建了一个。希望以后能够好好利用这个博客