-(unichar) fn: (unichar)n{ return n ^ 0xFFFF004B == 0? n : [self fn:(n-0x1)]}

Archive for the ‘Principle’ Category

Don’t you think that Twitter is so boring …?

Thursday, March 19th, 2009

Twitter is good for the people who’s getting tired for the ordinary life, I guess. The tedious blogging, facebook and other SNS stuffs always rob your brain. Maybe I just don’t need such a thing to keep tracking what I am doing.

But from technician’s view, I like the API provided by Twitter. They are RESTful web services that you can access via http. Cool.



fla-img-sw: yet another open source stuff

Sunday, March 15th, 2009

I am happy to annouce the release of the following open source stuff which is images rollover flash movie clip (or you can call it HTML flash component). It looks like a gadget other than a whole project. Once you get the source code, you may open the fla source file with Adobe Flash 8.0 or higher version.

This gadget I developed can be dated back to 2 years ago, and the primary progamming language is ActionScript 2.0. My client requires a image rollover component that can easily embed to the existing website, that give me the chance to develop such a flash toy. It is small in size and quite efficient in runtime. The open source version is the original verion. You can find a demo in Product Demo, which is the  commercial version. The commercial one has been changed a little bit to fit my client’s need. The open source one contains smooth transition effects when switching images and browsing the thumbnail. My client don’t like those special effects. 

You can download the full version of the flash image rollover component on: http://code.google.com/p/fla-img-switch/

Or just simply get the source code via: 

svn checkout http://fla-img-switch.googlecode.com/svn/trunk/ fla-img-switch-read-only

Enjoy. :-)



Develop with pleasure, don’t they?

Saturday, March 14th, 2009

After a trial of using RoR to develop a new website, I could really feel what and how they call Ruby is a programming language of please. It’s so easy to use and change people’s mind on development. I think the reason why RoR becomes a buzzword due to the contemporary client-side web development playing an important part of the development phrase. Technically speaking, RoR simplifies the boring process of website development: also according to DRY principle. Moreover, the build-in AJAX support is inspiring too.  

Have you ever seen the recently movie Red Cliff the 2nd episode directed by John Woo? It tells a story about Three Kingdom period of ancient China. One of the main actor in the movie is called ZhuGeLiang who is well-known and prestigious as a strategist as well as politician in Three Kingdom period. What he said I quoted “Life is colorful if you know everything a little”. That’s true. Back to the scene we just talking. RoR is a good technique that everyone is encouraged to learnt, not because it makes you happy, but also because it changes the way you gonna be happy.



Hmmm, easy to read is the 1st priority

Tuesday, March 10th, 2009

What the…? My blog renew with a ugly face.. Because I think easy to read is most important, then the priority will be wide use, i mean the blog ought to be read by not only modern browsers but also handheld devices. Last should be the beautiful face, an attractive look of the website is less important than the contents. agree? :-)



Involve in an open source project: iDiner

Sunday, January 18th, 2009

The project targeting the users who would like to order their food service online and make payments, is issued by Max, the greatest software architect. Now I join the project. 

You may refer to the project home: http://code.google.com/p/idiner/



Williams town: Extraordinary traffic accident

Sunday, January 11th, 2009

Today i went to williams town. i would like to enjoy the beautiful sea view again. to be supprised,  there was a traffic accident, stupid, wierd, you never seen that before. guess what? a boat crashed into street. It blocked the traffic for about one hour.

but the williams’ beach looks still good. that’s courage. i love the boats there. :)



Take all the public transport for free?

Tuesday, December 23rd, 2008

这两天圣诞假期和新年假期,坐任何交通工具都不用钱。估计是怕路面交通繁忙,鼓励市民多坐交通工具,省钱又省时间。

而平常时间上班高峰期,坐火车也辛苦,火车也要经常误点,被骂到不行。为了鼓励市民乘火车时避开上班高峰,早上7点前坐火车都是免费的。



No title but should be worthy of note

Monday, December 22nd, 2008

Make a list of everything you want now, and then planning how to spend next 25 years of your life getting it slowly piece by piece.

— Good saying from a movie. I think everyone should keep it at least as a note, right?



Protected: IT创新与中国软件的未来

Saturday, December 13th, 2008

This post is password protected. To view it please enter your password below:




iTune sucks! (or vista’s fault?)

Friday, December 12th, 2008

iTune太烂了,竟然不能在Window Vista 64下运行。虽然官方网站上有iTune 64-bit版本,但实际上毫无用处。归根结底,是QuickTime这玩意不能通过Vista的DEP(Data Execution Protection),因而整个iTune就不能被执行了。

解决方案: 安装一个Window XP的虚拟机,考虑使用VirtualBox,开源免费。



Profile

Submit Your Site To The Web's Top 50 Search Engines for Free!