Tuesday, May 1, 2012

Chopsticks and Chinese Culture

By Rui Chen
After hearing about the cross talker performer Degang Guo, I have been attracted to the history of Chopsticks and its behind idea. When performing On Eating, he did come up with some interesting ideas connecting the Chinese eating culture with the oldest book I Ching(aka. Book of Changes). What he said, I quote and translate here:
The chopsticks consists of two. When held in hand, one is yang, the other is yin, which means one is proactive, the other one is reactive. The two ends of chopstick are round and square, respectively. This is equivalent to the two divinatory trigrams in the eight trigrams. And the round end is for the earth, while the other end is for the heaven. If including the fingers in the middle, that's also called Three Forces in the world. Also there is a famous idiom for it, People regard food as their heaven.
If we goes further, yin and yang, which are the Chinese general terms for female and male, are illustrated a lot in   another famous book, Tao Te Ching by Laozi. Actually, in ancient China, the relationship between the earth and the heaven, along with the genesis of the world, is discussed a lot, just like what happened in the western history. The great thinkers always have their unique opinions, so does Laozi.
Know masculinity, Maintain femininity, and be a ravine for all under heaven." (chap. 28, tr. Mair) 
All things have their backs to the female
and stand facing the male.
When male and female combine,
all things achieve harmony. (chap. 42)
This statement can be another viewpoint for what happened in using chopsticks. Another statement, which I like very much is,
The Tao gives birth to One.
One gives birth to Two.
Two gives birth to Three.
Three gives birth to all things.(chap. 40)
 There is also a good statement regarding food is Food and Sex are part of human nature by Confucius, who lived at the same time as Laozi.

Reference
I Ching http://www.akirarabelais.com/i/i.html
Tao Te Ching http://academic.brooklyn.cuny.edu/core9/phalsall/texts/taote-v3.html
Analects http://classics.mit.edu/Confucius/analects.html

Saturday, April 21, 2012

3805 South Madelain Dr., San Jose

New place, new motive.

1. 住apartment, 进去前最好是拍照记录下一些不好的地方。
2. 搬出来前如果需要换地毯,可以自己找搬家公司考虑
3. 和房东的纠纷,多看看帖子

Friday, April 20, 2012

转身: A poem


转身
Rui Chen

并不愿以真面目示人
但眼中却流露期许
猜忌 流言
胡妄之中
要的却也只是一个理由

转身 却未离开
假面舞会之中的流光错影
聚焦的却也 并非你我
散落在角落之中心情
萌动地想要了解别人

春风拂过青涩的面颊
有些话语却总难倾吐
总会是想着
宏大的志向来掩饰
稚嫩的情感
然而走走停停的诠释之中
却也有些迷离

面朝大海
博爱却也是翻斗的浪花
并没有这炫目的挑剔
但却在波涛阵阵之中
怀揣着最深沉的撞响
这种协奏之中契合
注写着人生的韵脚

海风拂面
晃动不平的行程
海鸥时近时远
但海天一线 却无限延伸到
视线的深处
在这同一样的维度上
我体味着不可言说的颠簸

追逐之中
记得与不记得
忘却与回忆
一并在这夜色之中
弥散,淡去

Sunday, April 1, 2012

to 爱人: a poem


我喜欢你 这是一种感觉 不仅仅是在白天
睡梦之中 你的留影  也会让梦甜蜜
我喜欢你 这是一种声音
在静静的仿佛之中 也会幻化为一种发自心底的 纯美干净

我喜欢你 喜欢你身上的体味
静静的幽香 惹人怜爱
我喜欢你 喜欢你曼妙的舞步
峰回路转之间 淌现的是你的生活态度

我喜欢你 有时也会痴想
在一望无垠的大海边

你我坐拥 注视斜阳的静谧
波光点点 鸟鸣阵阵
相对无言的专注 体味着大自然的和谐
并不需要那种浑身的激情 却也能享受通彻灵魂的恬淡
即使是身旁的新婚眷侣 也会投来羡慕的目光

我喜欢你 我常常幻象
相忘于江湖 不分你我
在果敢与专断之间 你更甚于我
在柔情与缠绵之间 我并不输于你

我喜欢你 日日夜夜
深入我的骨髓 幻化成一种心灵的意志

Thursday, March 29, 2012

Use vcs to sim systemc file

My ubuntu is 10.04, the default g++ is 4.4. But for simulating systemc file, you need to specify the lower version of g++.

The problem can be solved as follows:
1.  Go to the archive link to download the following five files:
    gcc-3.4-base_3.4.6-6Ubuntu3_i386.deb、
    gcc-3.4_3.4.6-6Ubuntu3_i386.deb、
    cpp-3.4_3.4.6-6Ubuntu3_i386.deb、
    g++-3.4_3.4.6-6Ubuntu3_i386.deb、
    libstdc++6-dev_3.4.6-6Ubuntu3_i386.deb
Put them into the same folder, like g++-3.4, and then run command "dpkg -i *.deb";

2. redirect the g++ link to use the lower version
   You can find the g++-3.4 with find / -name g++-3.4* command, however, it is already inside the /usr/bin if you are familiar. All you need to do right now is to redirect the g++ to your newly installed file.
   The command is "ln -sf /usr/bin/g++-3.4 /usr/bin/g++";
   There is also another way, check the reference link(in Chinese)

With the user guide, the easiest way is to run simulations of your systemc file is :
   syscan adder.cpp
   syscan adder_tb.cpp adder_main.cpp
   vcs -sysc sc_main
   ./simv

Tuesday, March 27, 2012

Verdi and VCS cosim

1. add fsdb functions into your testbench
  $fsdbDumpfile("test.fsdb");
  $fsdbDumpvars;
use `ifdef macros to optionally enable. Need to specify +define+DumpFSDB(`ifdef DumpFSDB) in your vcs command options

2. Find fsdb PLI lib files
  for vcs ${NOVAS_INST_DIR}/share/PLI/VCS/${PLATFORM}/pli.a(or novas.tab)
  also include the lib directory
  ${NOVAS_INST_DIR}/share/PLI/lib/${PLATFORM}
  better to specify the path for the LD_LIBRARY_PATH within your ~/.bashrc file

3. Specify the PLI archive files
  My method is copy the files(novas.tab and pli.a) into the working directory, and use the vcs command:
  vcs filename.v +v2k -P novas.tab pli.a(${abosulute_path/pli.a} if not copied)

4. ./simv to get the .fsdb file

5. use Verdi to check the .fsdb file
  command like, verdi -2001 -f vcs.args -ssf test.fsdb

Monday, February 13, 2012

深夜上Trail


将近傍晚的时候,准备出去小跑锻炼下身体,就想起了之前屡次经过的trail。在佛罗里达出去玩的时候,也是经常会走一些trail,但是也还没有看到过把trail设在高处,像高架桥一样的。就这样,兴气冲冲地跑了过去。傍晚的车流确实跟早上的很不一样,记得上次早上6、7点的时候,都可以躺在路上睡觉,而不用担心有车路过。这绝不是说天还未亮,只是因为早晨的时候天气反而会凉一些,所以不敢一试。

车水马龙的光线映射着两旁更加的黑魆,如果不是有着行人路灯的指示,恐怕一些路段也确实是很难看清行人。这是雨过之后,但偶尔也会有自行车的路人从身边经过,身负行囊,行色匆匆,回家的心切映照在尾灯上的一闪一闪。想象中这trail还真是和家有一段距离,都快到了mountain view 的caltrain中转站了。

Trail并不是想象之中的设施齐备,更有着一种城市之中的原生态,完完全全的伸手不见五指,偶尔远处自行车的尾灯还能让我确认即使是有些湿漉的路面也还有这行人路过。面对这陌生的周遭,我其实还是有些莫名的不镇静,审查了一下周围的情况,我这才决定上了那个类似高架桥的trail。木制的地面,接着车水马龙的前车灯以及旁边的微暗的路灯,还能辨出雨过的痕迹。在Sunnyvale,下雨可不是一件容易的事情,经常是等上20天,也才会有场让人有些春意的小雨;时常也会看到天空逗留着的积云,但总是在下雨之时,被阳光照散。小雨固然是可爱,有时更有种惬意的魅力,但在这trail上,我却总是有种说不出的味道。湿滑的路面总是能让我联想起电影中的镜头,亦或是南方的那场雪灾,又想起了当时因为跌跤而摔的骨折的同学。但黑夜的确有种魅惑,又也许是走了一段路,在这个时间,这个地点,我总是有种向前的冲动。

于是,我缓步上前,将我的步子尽量迈的小一些(前几天打篮球,这双鞋还给我造成过麻烦),但站在车水马龙上面,我又有些不淡定了,嗖嗖的冷风刮到我的身上,让我感到了些寒意,而此时ipod里面有正好飘出了all angels的歌曲。真是有点搞笑,反反复复,我又是在桥上面来回踱步,客服着心理上的障碍。好不容易是迈过了这道坎,却又在caltrain的铁轨上方犯起了愁,我安慰自己,照几张照片表示自己来过,却又在未知的前方面前躁动不安。这时候我在想,我是怎么了?我似乎从来没有摆脱过小时候的那个自己,都这么大的人了,却还在这种小事上面犯愁。我想到了,小时候经常做噩梦的时候,事实上,那种做噩梦的心理体验似乎从来没有离开过我。我又想着室友过马路的过分谨慎小心,这个时候看看自己,却总是摆脱不了着恐高症的心理。也许知道现在我也并没有完全地客服掉噩梦对我的影响,我只是学会了更好地去回避,将自己的体验融入到噩梦之中,想到这里,我有了一些线索。我试图去转移自己的注意力,让自己融入到黑暗对我的吸引之中,慢慢地我通过了拱桥,走到了对面。

回来的路上,我有时也在玩味过去一个小时里对我的生命体验。如何放弃自己,才能突破自我,享受到更多的东西。