cosmordinary

In this infinite cosmos we have only one life each. A life in this infinite cosmos is just like a dust in the world. Born by chance and die in necessity. Feeble life and boundless world, two facts we face. Even if you spend your whole life solving them. You will get nothing. - 1998

Friday, November 24, 2006

悟空、悟能、悟静

从小学就开始看西游记,电视剧、连环画和书。可是直到今天才发现悟空、悟能、悟静的佛教意义。三个名字正好是佛教中关于修炼的三个阶段:先静下心来,然后会出一些功能,但不要执卓,把这些功能悟没了之后,如来自现。说明作者吴承恩是一位佛家弟子,对佛法悟的比较深,才能有如此安排。世人都知“色亦是空,空亦是色”的说法,但不知何意。这里色亦是空的色不是指现代人所说的女色,而是指太
阳照耀,我们眼睛看到的一切东西,都是虚的,早晚要不存在的,是空。空亦是色的空是指修炼之人,把眼睛看到的,天目看到的东西看没了,不存在了;色是指之
后再自然出现的东西,这个东西就是佛祖说的金刚世界的东西。

Thursday, November 23, 2006

"const int * x" vs. "int * const x"

The second way to use const makes it impossible to
change the value of the pointer itself:

int sloth = 3;

const int * ps = // a pointer to const int

int * const finger = // a const pointer to int


Note that the last declaration has repositioned the keyword
const. This form of declaration constrains finger to point
only to sloth. However, it does allow you to use finger to
alter the value of sloth. The middle declaration does not allow you to
use ps to alter the value of sloth, but it does permit you to
have ps point to another location. In short, finger and
*ps are both const, and *finger and ps are
not const.

Const Pointer

You can use the const keyword two different ways with pointers. The
first way is to make a pointer point to a constant object, and that prevents you
from using the pointer to change the pointed-to value. The second way is to make
the pointer itself constant, and that prevents you from changing where the
pointer points.

Monday, November 20, 2006

Afterthoughts

I had been brooding over some questions in the last movies I saw. At the sight of sports car, I understood that the woman in the movie Spanlish is dating her real estate agent. And this morning, while I was walking to work, I am enlightened to the fact that the guard counting the bank note is to keep Rose stay so that they have more time together. This might be wrong, but I like the symmetry it brings. The man kills the women who loves him deeply, and Rose killed the man who loves her deeply, though not personally. The symmetry makes this movie an eligible for a high rank. Therefore I recommend this movie, "Curiosity Kills the Cat".

Monday, November 13, 2006

Pirates of Silicon Valley (1999)

I watched the movie "Pirates of Silicon Valley (1999)" yesterday. It is an unauthorized made-for-television docudrama written and directed by Martyn Burke. It covers the stories behind the advent of PC prevalence. Based upon the book, Fire in the Valley: The Making of The Personal Computer, by Paul Freiberger and Michael Swaine, this film documents the rise of the home computer/personal computer through the rivalry between Apple Computer (Apple II and the Apple Macintosh) and Microsoft (DOS, IBM PC, and Windows).

  • Steve Jobs and Bill Gates
    are the true revolutionaries of our time. Not the students who occupied
    the dean's office in the late '60s. Not the anti-war marchers who were
    determined to overthrow the establishment. Jobs and Gates are the ones
    who changed the way the world thinks, acts and communicates
    - answer to the question: "Why did these two "nerds" become icons?" in an interview with the director of the film, Martyn Burke

The Pink Panther

The Pink Panther is the movie industry's hippest cartoon star. Film audiences of all ages, sophisticated cinemaohiles and drive-in denizens alike love the high style, clever humor and colorful adventures of this pink-inked feline.

Initially created by Friz Freleng for the opening title sequence of Blake Edward's, 1964 comedy farce THE PINK PANTHER, the cartoon character received reviews that were as good or better than the film itself! The new star had obviously clawed his mark, and a series of short subjects was immediately put info production.

Friz Freleng was the perfect man for the job. Having begun his career in the same small Kansas City studio where Walt Disney got his start in animation, Freleng moved to California in the late 1920s. He was soon helping fellow Kansas City animators Hugh Harman and Rudolf Ising start up the series of "Looney Tunes" for Warner Brothers release. With the exception of one year with M-G-M in the mid-1930s, Freleng was a Warner Brothers stalwart, becoming Senior Director and supervising now-classic cartoons staring Bugs Bunny, Daffy Duck, and Tweety for over 30 years. Freleng also directed the first cartoons starring Sylvester, Porky Pig and Yosemite Sam, ultimately winning four Academy Awards® for the studio.

When Warner Brothers shut down its animation department in 1962, Freleng teamed up with cartoon producer David DePatie to make animated commercials and industrial films. At this time, director Blake Edwards - himself an aficionado of the classic Warner Brothers cartoons and silent comedies - approached Freleng about providing animation for the opening moments of his next film.

David DePatie recalls: "We got together with some of our guys and came up with probably 100 to 150 different illustrations of the Panther. I remember very well thatwe took them over to Blake's office and spread them all out and that he knew exactly what he wanted. He went right over, pointed to one of them and said 'that's the guy!'"

"Then they asked us to do a storyboard," remembers Freleng. "They just flipped when they saw it! When we finally got it onto the screen and they previewed it, the comment from the press was that the titles were better than the picture."

The cool contemporary style of the design and graphics (co-credited to Hawley Pratt), the distinctive theme music from Henry Mancini, and the pantomime comedy were a complete departure from the cheaply made theatrical cartoons created by their competitors. The first Panther cartoon, THE PINK PHINK , was honored with an Academy Award®. "We made them for the theaters, and we made them for adults really," says Freleng. "They didn't appeal to children; they're a little too sophisticated. Adults are the people who are really the fans."

Though the theatrical cartoons continued for almost twenty years, it is the earlier entries - those directed by Friz Freleng and Hawley Pratt - which are considered classics. Freleng and Pratt placed the Panther in many offbeat situations: spoofing 60s trends such as secret agents in PINKFINGER and youth culture in PSYCHEDELIC PINK ; exploring musical themes in PINK, PLUNK, PLINK and romping into the surreal in PINK PUNCH. However the most entertaining of all the shorts are those featuring "the little man," who can turn up as anyone - including a safecracker in DIAL 'P' FOR PINK and a drunk in PINK PAJAMAS.

When Edwards directed an Inspector Clouseau follow-up the next year, a similar situation occurred. The DePatie/Freleng opening title for A SHOT IN THE DARK, (1964) brought demands for yet another theatrical series. The resulting group of witty and distinctive cartoons, entitled THE INSPECTOR, featured the voice talents of comedian Pat Harrington as both the not-so-clever Inspector and his faithful assistant Deaux-Deaux.

The Pink Panther live-action feature films continued into the 70s, 80s, and 90s, each beginning with lavish animated opening titles.


This information from laserdisc cover of THE PINK PANTHER ANIMATION ARCHIVE
©1994 MGM/UA Home Video

Wednesday, November 08, 2006

Visual Illusions

While I am searching for a solution of my cable TV network, I received again a "funny" mail about visual illusions. I cann't help digging into some discent explanations, since last time I am not given the chance to do it. The first image is a famous "Rotationg Snakes", and the following several pictures are all about static motion illusion. I hunt down to the term "asymmetric luminance steps " and then to this article on the Journal of Neural Science: June 8, 2005 . 25(23):5651–5656 . 5651,

Neural Basis for a Powerful Static Motion Illusion
Bevil R. Conway,1,5 Akiyoshi Kitaoka,2 Arash Yazdanbakhsh,1,3 Christopher C. Pack,4 and Margaret S. Livingstone1

The major founding is the denial of chromatic factors and support of luminance steps. Also that direction-selective neurons in macaque visual cortex gave directional responses to the same static element pairs, also in a direction consistent with the
illusory motion.

The last image is about "negative retinal afterimage" which was found long long time ago by Newton, as documented in Newton's hue circle. It is through this observation, that Newton gives definition of "Complementary Colors". Here is more about it http://www.handprint.com/HP/WCL/color4.html#negafter


Monday, November 06, 2006

小京叔叔来访

昨天(星期天)小京叔叔带着王主任来看我们,小京叔叔他们到二医大培训一周。哥哥开车把小京叔叔他们先带到他家,然后到妈妈家,然后到我家。然后我们一起到鑫鑫吃饭。吃完饭哥哥就送叔叔他们走了。叔叔给我们讲了创办农民工医院的事:

  新华网郑州8月31日电 “免挂号费,检查、治疗、用药等均优惠20%,没钱也可先看病……”8月30日,河南省首家农民工定点医院在信阳解放军第154医院挂牌。

    据《河南日报》报道,信阳解放军第154医院的院长赵京生告诉记者,从8月30日
起,凡在信阳市务工的农民,持由当地劳动保障局发放的医疗卡到医院就医,均可享受“一免一减”:免挂号费,门诊、住院检查、治疗、用药等全部费用,一律优
惠20%。同时为农民工专门开通了“就医直通车”,农民工患者到医院就医不用挂号,可直接找有关专家检查、治疗。对那些特困或患有重大疾病和发生意外事故
的农民工,无论有没有钱,都将先行救治。

    当日,这个医院先后接诊农民工患者20人,2名病情较重的农民工住进了病房。(完)

Friday, November 03, 2006

小王的婚礼

星期二晚上去参加了小王的婚礼,在南华亭。气氛比wedding story的那场好多了。吃得也好多了,价格肯定也比wedding story便宜得多了。婚宴真浪费,我们那桌也就吃掉了1/3,其余的都扔了。婚礼上小王的讲话挺不错的,后来我们八点半就走了,因为要去ikea定家具。第二天听小周说婚礼九点半就结束了,也没人闹新房,我觉得也挺好的,总比在wedding story坐着干等等到10点半好。我也不喜欢婚礼上太闹,何必整人呢。

Thursday, November 02, 2006

ikea的家具

昨天在ikea定的电视柜和茶几到了,质量不错,比想象中的要好。确实是刨花板,看上去质量很好的样子,尺寸开孔都很精确到位,安装没有遇到什么问题,自己装很有乐趣。和家具城里的那些三无家具相比,ikea的性价比要高。

三分配器

初步鉴定家里有线电视是因为一分三分配器不好,现在不用分配器接一路是好的,一接上分配器就不好了。上次有线电视的师傅来修,也说是分配器不好,还说让我们找装修的人来搞分路,只要他们有本事。其实这又不是很难的,大不了再加一个放大器,搞的一付牛比轰轰的样子。

Wednesday, November 01, 2006

想做个软路由

家里一台古代机,mmx166,96mb,3.2G, 想做个软路由,发现routeos要钱的,而且软路由的实现太繁琐而不切实际了,随决定放弃。但仍然在想如何利用古代机。