澄澄回老家去了

这几天我自己一个人过还真有点不习惯,说比上来是怎么不习惯:既有获得自由的喜悦,也有没有家人陪伴的那种空虚。生活就是这样,在你得到某样东西(或某种心情)的同时,必然伴随着其他东西(或心情)离你而去......

LD 带着澄澄回老家去了,是去给宝宝补办满月酒。本来计划等到元旦再办的,考虑到LD下周该去上班了,那时候要抽出三到四天时间还真不容易,所以还是早点儿办了吧。其实LD甚至可以再请一到两个月的假的,不过那样对LD自己来说未必就好。倒不是因为收入减少了,而是,尽管陪着儿子自有其中的乐趣,可LD就基本失去自我了,而且照顾儿子并不见得比上班轻松。所以说还真得谢谢我的父母,希望他们这几年能把宝宝照顾得好好的,同时也希望他们的身体一直健健康康的。

小狮子最近有点儿’妖’

不知道是不是因为上海这几天(有10天了吧)连续阴雨绵绵的原因,前天从家乐福出来的时候,LD发现我家小狮子的安全带报警提醒功能失效了,车都开出停车场了,还没报警,真是奇了怪了。今天早上我又故意试了一下,不记安全带出了小区还是没有报警。

还有就是十一的时候,就发现倒车雷达坏了,可突然有一天回到家在小区里倒车时,倒车雷达又报警了,于是乎欣喜若狂的以为它“自动恢复”了。好景不长,第二天就不报警了,幸亏我小心,要不然就碰人家车头了。所以说倒车雷达这东西真不能太信任它。

小狮子的这些问题现在暂时先不管它了,到5000KM首保的时候再一起处理吧,前保险杠不是还有一点伤嘛(心中永远的痛…)。

Freeze Current Blog Style

I'd have my blog style (theme) at blogsome and blogger frozen from now on. I've spend too much time in decorating and refining them. Thus I will have to come back to my working track and improve my skill and experience in IC design.

Kelly Clarkson - Because Of You



今天早晨上班路上FM里听到的歌,有点熟悉,应该不是第一次听到。到公司上网google到:原来是美国偶像(American Idol)Kelly Clarkson的歌,所以现在可以肯定这歌一定红遍一时了。

喜欢前半段娓娓道来的低吟,高潮部分应该说也比较出彩,但总是觉得很多歌曲有类似的高潮。

Kelly Clarkson - Because Of You (Lyrics)

I will not make
The same mistakes that you did
I will not let myself
Cause my heart so much misery
I will not break
The way you did, you fell so hard
I’ve learned the hard way
To never let it get that far

Because of you
I never stray too far from the sidewalk
Because of you
I learned to play on the safe side so I don’t get hurt
Because of you
I find it hard to trust not only me, but everyone around me
Because of you I am afraid

I lose my way
And it’s not too long before you point it out
I cannot cry
Because I know that’s weakness in your eyes
I’m forced to fake
A smile, a laugh, every day of my life
My heart can’t possibly break
When it wasn’t even whole to start with

I watched you die
I heard you cry every night in your sleep
I was so young
You should have known better than to lean on me
You never thought of anyone else
You just saw your pain
And now I cry in the middle of the night
For the same damn thing

Because of you
Because of you
Because of you I am afraid

Because of you I never stray too far from the sidewalk
Because of you I learned to play on the safe side so I don’t get hurt

Because of you I try my hardest just to forget everything
Because of you
I don’t know how to let anyone else in
Because of you
I’m ashamed of my life because it’s empty
Because of you I am afraid

Because of you

Desktop Wallpaper

I changed my desktop wallpaper just now. It is also from Ubuntu Forums as the previous one (on left) I used.

[转]一点关于姚明的感想

亚裔或者华裔在西方国家成功的很少很少,我记得20年前有一个叫王安的华人,创办的电脑公司曾经在美国家喻户晓,然而90年代以后就式微乃至消失了。前两年有一个韩裔做到了Oracle全球的CFO,在韩国本土已经被当作商界明星。

在美国政界,高层几乎从未出现过华人的身影。一个台湾人做到小小的纽约警署长官,马上在华人世界声名鹊起。

2000年我去了LA和Chicago,和当地的一些名牌大学毕业生一起上课,他们都能较准确地说出中国的地理位置,知道台湾与大陆的恩恩怨怨,了解Mao的Greatness,然而恰恰对当代中国人的生存现状,以及中国人内心潜藏的情感所知无几,其实那时已经有很多华人在美国事业小成,过得也是富殷的生活,但在美国仍然是一个没有太多影响力的种族。

不过那时,已经有学生知道中国有两个篮球长人,问我他们的情况。那时是王治郅的巅峰时期,我绘声绘色地向美国朋友描述了王的全面能力,谈到姚明,我也所知不多,只是说比王还高,但很瘦,与王还是有差距。

当时篮球在美国的普及程度还是让我惊讶的,之前我一直认为棒球和橄榄球占有统治地位,不过这次发现篮球是美国真正的群众运动,几乎每所学校都有非常出色的业余玩家,你站在篮球场上看,他们打球的专业程度和运动力,与中国学校里的爱好者还是不可同日而语,能扣篮的黑人到处都是,而且球技都很好。

美国人晚上特别喜欢去酒吧,这些酒吧里一般弥漫着放纵的气氛,女生和教室们都摆脱了白天的矜持,显得性感而热情,有人喝酒聊天,有人打九球,不过电视里似乎永远在放着NBA的球赛。我随便和一个来自Milwaukee的胖家伙聊天,说到NBA,他说他的一个好朋友是Chauncey Billups的同学,还一起吃过饭。那个时候Chauncey只是个NBA的菜鸟球员而已,我说我知道他,对方很开心,“他打球很努力,他一定会成功的”。

回国以后,我就想,什么时候,在篮球界能有一位华裔获得成功呢,如果一个华人能在任何一支球队打上主力,其意义就已经非常深远。这代表了华人在美国生存发展的里程碑,代表了亚裔人种挑战非常强调运动力的主流体育项目,这也代表了中国经济高速发展基础上,文化的影响力。

2002年,姚明选上状元秀,我几乎不敢相信,因为之前,大家对他瘦弱的身躯,并不协调的体形,印象太深了,很多人边看CBA边跟我说,“就这个傻大个,也能去NBA?”

对Pacers的那场首战,我很早起床看了第一节,看到姚明被Foster和JO欺负得不成人形的样子,我心里很难受。不过很快,形势似乎就改变了。02-03赛季是让人永难忘怀的赛季,那一年发生了太多的故事。

直到今天,看到了姚明的成功,不过也看到了他的艰难。

美国是一个口头上、公开场合从来宣扬种族平等的国家,但是你生活久了,骨子里还是有很多种族歧视基因,华人在美国,基本上排在白人、黑人、墨西哥人之后,属于那种底层民族,你去看看唐人街的模样,就知道华人在美国的地位。

所以,美国的Yao Haters其实蛮多的。姚明被第一控位晃倒时,他们毫无顾及地嘲笑;姚明被Nate Robinson盖帽时,他们幸灾乐祸;姚明的身体素质不行,他们嘲笑他软。

不过我没有想到的是,在中国也出现了一个新名词,姚黑。他们往往不太懂篮球技战术,然而却可以恣意发表一些完全不专业的意见,特别在一些主流媒体,文章又比美国正宗姚黑差了一个档次。

比如,他们说中锋就是要靠扣篮为生的,但他们只知道Shaq,却没有看过Dream和Ewing的经典大战,根本不知道短距离跳投是中锋的基本技术。

比如,他们说喜欢那种运动力强肌肉发达的球员,只有那种球员才称得上伟大,却没有看过Larry Bird和Magic的长期对决,不知道什么叫做篮球智慧。

比如,他们批评姚明的失误、打铁、迟缓、体力,却没有看过TD被欺负、Shaq被欺负、Dream被欺负的场面。

中国姚黑们对姚明在美国的成功似乎不太满意。

不过这些都不重要,当我在HoopChina下一个BT种子,看到居然有30000人同时在线的时候,我就知道姚明的影响力已经深深植入当代中国。

姚明让我印象最深的两点,一是他的决心和勤奋,是属于让老天都感动的那种,这种主要靠后天努力成才的样本,是非常值得我们学习的。二是他的Smart和沟通力,能够如此快的掌握英语,如此快的融入美国社会,如此轻松的应对媒体,能够承受背后13亿人的沉重期望,对于一个并未在高等学府深造的人来讲,简直是一个奇迹。

我不确定姚明能否在职业生涯里达到伟大的程度,甚至于是否能拿到总冠军,因为我不确定他的身体素质缺陷是否具有决定性意义;但我确定的是,在很多很多年后,都会有人记得和纪念姚明今天的成就;在很多很多年后,当美国诞生另一个华裔明星时,大家会不由自主的拿他和姚明做比较;在很多很多年后,当这一代球迷都已经垂垂老矣,我们仍然会庆幸生于这个时代;

到时候,我们会常常恋旧但快乐的谈及这个话题,那些年,有一些人,他们享受着姚明带来的每周四场直播,他们享受着姚明带来的中国人在全球范围所赢得的尊敬,他们有一个非常值得学习的榜样而不知学习,他们的国家有一个奇迹但不知珍惜,他们其实不太懂篮球,我们居然和这些菜鸟战斗了那么多年。多么有趣的经历。

From HoopChina
By jeffshi@hoopchina

Pick Up Blogsome

I have to say I’m going to resume my blogsome. As you see I decorated the new theme and made its looking more beautiful.

For my blogger it’s still blocked by China GFW, which is the major reason that makes leave it for blogsome. Actually I’m not going to completely abandon the Google’s blogger service (as a Google fan ^_^). I will post a copy at blogger too as it is published at blogsome.

DictCN

I find a wonderful add-on for Firefox right now, DictCN, which is an online English to Chinese (and vise versa) dictionary extension for FF developed by Google Code. With the DictCN I think Kingsoft's CIBA can be rarely started in your computer.

To use DictCN, simply hover the mouse (coming with 3.0) upon the word you want to translate , or select it (drag or double-click to highlight the word), the translation (pronunciation and explanation) will show up soon in a layer on the same web page.

You may click on the 'D' icon on the status-bar to activate and deactivate DictCN (color of the icon changes correspondingly). You may also press ctrl-alt-d short-key to do the job.

By Moving the mouse over the translation, you can hear the speech, and a click on it will bring you to the detailed explanation page.

Verilog Implementation of CRC

CRC Algorithm discusses how CRC error control encoder works. Now we're going to provide a simple implementation of CRC encoding in Verilog. Here we assume the bit length of information data to be encoded is 16, and the Generated Code is 4 steps.

module crc_encoder (crc_done, crc_start, crc_code, di, gc, clk, rst_);

parameter DataL = 16; //data length
parameter GcL = 4; //generated code length

output crc_done;
output [GcL - 1:0] crc_code;
input crc_start;
input [DL - 1:0] di;
input [GcL - 1:0] gc;
input clk;
input rst_;

reg crc_encode_enable; //crc encoding enable if this signal is high
reg [3:0] crc_encode_cnt; //width of the counter relies on the size of input data.
reg [GcL - 1:0] crc_shf;

assign crc_done = crc_encode_cnt == DL - 1;

always @ (posedge clk) begin
   if (rst_)
      crc_encode_cnt <= 0;
   else if (crc_done)
       crc_encode_cnt <= 0;
   else if (crc_start | crc_encode_enable)
       crc_encode_cnt <= crc_encode_cnt + 1;
end

always @ (posedge clk) begin
   if (rst_)
      crc_encode_enable <= 0;
   else if (crc_start | crc_done)
      crc_encode_enable <= crc_start;
end

always @ (posedge clk) begin
   if (rst_)
      crc_shf <= 0;
   else if (crc_start)
      crc_shf <= 0;
   else if (crc_encode_enable)
      crc_shf <= { crc_shf[GcL - 2:0], di[DL - 1] } ^ ({GCL{crc_shf[GcL - 1]}} & gc);
end

always @ (posedge clk) begin
   if (rst_)
      crc_code <= 0;
   else if (crc_done)
      crc_code <= crc_shf;
end

endmodule

Kylie Minogue - Can't Get You Out Of My Head

Kylie Minogue - Can't Get You Out Of My Head (Lyrics)

La la la la la la la la
La la la la la la la la
La la la la la la la la
La la la la la la la la

I just can’t get you out of my head
Boy your lovin’ is all I think about
I just can’t get you out of my head
Boy it’s more than I dare to think about

La la la la la la la la
La la la la la la la la

I just can’t get you out of my head
Boy your lovin’ is all I think about
I just can’t get you out of my head
Boy it’s more than I dare to think about

Every night, every day
Just to be there in your arms
Won’t you stay
Won’t you then stay forever
And ever and ever and ever

La la la la la la la la
La la la la la la la la
La la la la la la la la
La la la la la la la la

I just can’t get you out of my head
Boy your lovin’ is all I think about
I just can’t get you out of my head
Boy it’s more than I dare to think about

There’s a dark secret in me
Don’t leave me locked in your heart
Set me free
Feel the need in me
Set me free
Stay forever
And ever and ever and ever

La la la la la la la la
La la la la la la la la
La la la la la la la la
La la la la la la la la

I just can’t get you out of my head
La la la la la la la la
La la la la la la la la
I just can’t get you out of my head
La la la la la la la la
La la la la la la la la
I just can’t get you out of my head
La la la la la la la la
La la la la la la la la
I just can’t get you out of my head
La la la la la la la la
La la la la la la la la

Dido - Here With Me



Dido - Here With Me (Lyrics)

I didn't hear you leave,
I wonder how am I still here
I don't want to move a thing,
It might change my memory

Oh I am what I am,
I'll do what I want, but I can't hide
I won't go, I won't sleep,
I can't breathe, until you're resting here with me
I won't leave, I can't hide,
I cannot be, until you're resting here with me

I don't want to call my friends,
They might wake me from this dream
And I can't leave this bed,
Risk forgetting all that's been

Oh I am what I am,
I'll do what I want, but I can't hide
I won't go, I won't sleep,
I can't breathe, until you're resting here with me
I won't leave, I can't hide,
I cannot be, until you're resting here with me

Alison Krauss - When You Say Nothing At All

Title: When You Say Nothing At All
Artist: Alison Krauss


Alison Krauss - When You Say Nothing At All (Lyrics)

It’s amazing how you can speak right to my heart
Without saying a word you can light up the dark
Try as I may I could never explain
What I hear when you don’t say a thing

The smile on your face lets me know that you need me
There’s a truth in your eyes sayin’ you’ll never leave me
The touch of your hand says you’ll catch me if ever I fall
You say it best when you say nothing at all

All day long I can hear people talking out loud
But when you hold me near, you drown out the crowd
Old mr. webster could never define
What’s being said between your heart and mine

The smile on your face lets me know that you need me
There’s a truth in your eyes sayin’ you’ll never leave me
The touch of your hand says you’ll catch me if ever I fall
You say it best when you say nothing at all

The smile on your face lets me know that you need me
There’s a truth in your eyes sayin’ you’ll never leave me
The touch of your hand says you’ll catch me if ever I fall
You say it best when you say nothing at all

CRC Algorithm

Cyclic Redundancy Check (CRC) algorithm is often used in communication devices for transmission error control. In this post simple explanations are described to this algorithm and a common approach of hardware implementation is also given.

In transmitter information data with fixed length (packet) should be encoded by appending some CRC bits. When receiver receives the encoded packet it'll check if there is any error bit occurred during transmission using the CRC bits.

Suppose we have a
N-bit packet (e.g. 10101101) to be transmitted. There should be a pre-defined K-stage Generated Code e.g. 11001 (K=4).
1) The information data is appended with K zeros at right side, 101011010000.
2) The information data is divided by the Generated Code.
3) We throw away the quotient, and keep the residual 1001, which is exact the CRC checking code.
Finally the transmitted data with CRC code should be 101011011001.

In the receiver the received data will be also divided by the same Generated Code as that used in transmitter. Then it is checked to see if the residual is zero. If yes, there's no error bit in the packet, otherwise the packet contains at least one error bit and error control mechanism then will be started.

Below I'm giving a algorithm description for CRC.

GC[3:0] = 4'b1001; //Generated Code
Shf[3:0] = 4'b0000; //Temporary shift register to XOR with GC
Packet[MSB:LSB]; //Information packet data
i = MSB; //The number of information data's Most Significant Bit
while (i != LSB) {
tmp = Shf[3];
Shf = {Shf[2:0], Packet[i]}
if (tmp == 1'b1) Shf = Shf XOR GC
i = i - 1;
}
CRC_Code[3:0] = Shf[3:0];

Savage Garden - I Don't Know You Anymore

Title: I Don't Know You Anymore
Artist: Savage Garden


Savage Garden - I Don't Know You Anymore (Lyrics)

I would like to visit you for a while
Get away and out of this city
Maybe I shouldn't have called but
Someone had to be the first to break
We can go sit on your back porch
Relax
Talk about anything
It don't matter
I'll be courageous if you can pretend
That you've forgiven me

Because I don't know you anymore
I don't recognise this place
The picture frames have changed
And so has your name
We don't talk much anymore
We keep running from the pain
But what I wouldn't give to see your face again

Springtime in the city
Always such a relief from winter freeze
The snow was more lonely than cold if you know what I mean
Everyone's got an agenda
Don't stop keep that chin up you'll be alright
Can you believe what a year it's been
Are you still the same?
Has your opinion changed?

Because I don't know you anymore
I don't recognise this place
The picture frames have changed
And so has your name
We don't talk much anymore
We keep running from the pain
But what I wouldn't give to see your face again

I know I let you down
Again and again
I know I never really treated you right
I've paid the price
I'm still paying for it every day

So maybe I shouldn't have called
Was it too soon to tell?
Oh what the hell
It doesn't really matter
How do you redefine something that never really had a name?
Has your opinion changed?

Because I don't know you anymore
I don't recognise this place
The picture frames have changed
And so has your name
We don't talk much anymore
We keep running from the pain
But what I wouldn't give to see your face again

I see your face
I see your face

Ubuntu Wallpaper

I got this high-resolution Ubuntu Wallpaper (Dark Rainy Ubuntu Edgy Eft) here. I think it's a wow and it suits my taste. You can find more beautiful Ubuntu theme pictures at that site, of which there must be your favorites.

How to login beta.blogger.com

Since beta.blogger.com was blocked to login I've searched for a way to manage my blog site. Two days ago I found out a simple method at the forum of newsmth. You just need to add a line "72.14.219.190 beta.blogger.com" at the bottom of the file 'hosts', which is located at ~system32\drivers\etc\ for Windows OS while /etc/hosts/ for Linux OS.

澄澄四个月了

再过两天澄澄就足足4个月大,小家伙现在越来越讨人喜欢了,每天下班回家一看到我就会笑得很开心,看来是开始认人了:知道爸爸回家了。

这几天宝宝似乎有些变化:有的时候吃奶(妈妈的奶)不是很专心,除非真的是饿极了才大口大口的吃;每次给他把便便的也不像前几天那样顺利了,之前基本上是一把一个准,现在基本上都把不到,可是过了一会又拉到纸尿裤上了。第一个问题据澄澄妈调查后得知,是因为宝宝长到4个月左右,对这个世界的好奇心越来越大,吃奶已经不是他唯一的乐趣,所以容易分神。:)

还是母乳营养啊,宝宝体重也增加了不少,小区里的人看到他都管他叫小胖子。我估计到下次检查体重会到9公斤,我同事的宝宝现在才这个重量,要知道我们宝宝比他可要小4个月啊。当然比我宝宝长得更大的也有,比如李丽的儿子。^_^

Song of the Day - 秋天不回来

Title: 秋天不回来
Artitst: 王强


偶然的机会,那天晚上在给LD买水果的时候听到的,水果摊主反复的播放着这首‘秋天不回来’,当时的感觉是:现在很少有这样清新朴实的小情歌了。今天早上上班路上,电台的广播里再次听到这首歌的时候才知道原来这是现在最近电台点播和手机铃声点播的热门歌曲了。哎,真的跟不上这个流行时代了...

Blogger's Down Again

Ooh Jesus, it's down AGAIN. This time even beta.blogger.com is blocked by GFW (Great Firewall) so that I can do nothing to my bog site, except for email-to-blogger like this post.

Blogspot is Back

Waiting for days I found blogspot.com is accessible here in China this morning. That's great. Now you guys may easily read my posts at jimxia.blogspot.com. In the days when it is blocked by the government my blogger site has to be accessed by an alias provider inblogs.net that will probably be re-used once such bad things happened again.