| ProfileLEO, A ProgrammerPhotosBlogLists | Help |
|
|
February 19 佯装少年前天凌晨
用眼角瞟了瞟电脑右下角,凌晨4点, 过8个小时后有两场球赛。
昨天下午
用衣袖擦了擦汗,赢了两场球,进了一个球。
现在
凌晨1:08,继续干活。
那将来呢???
挣呗! December 06 不是日记 记载在这儿的不是日记. 还是有很多话是不能随便写下来, 有些时候想想blog也挺搞笑的. 或者说自己本身就不坦荡吧.
不过这阵子倒是有事情值得书写一番. 老家地震了. 而但是女儿和父母都在那儿, 虽说只有5.7级,但是震源浅, 而且是冬天. 想想他们住在大巴上. 心急如焚. 还好现在他们都回到北京了. 经历如此事件. 才突然感觉到原来家人在心里的地位有多么重要.
October 13 神话? 看完神话后的感觉有几个
1. 剧情庸俗简单。 这种类似的题材似乎香港电影已经花样翻新的拍了很多次了。而且剧中可以看得出来想竭力表达一些有哲理或者有思想的元素。却看上去没有主题思想, 是爱情,是爱国还是爱科学?
2. 演技让人失望。 既没有看见老版的成龙,也没有看见新的突破, 考古学家不像考古学家, 武林高手不像武林高手。连向来以演技派著称的梁家辉也乏善可陈。反倒是戏份越少的演员给人印象越深刻。
3. 不认真。 拜托各位前辈们再认真一点。连点血浆都不舍的用,剑锋挥过就看见拙劣的后期合成的血雾喷出。死尸堆积如山却不见地下丁点的红色。临时演员拿着兵器互相比划的简直业余可笑。不说和那些大片例如魔戒或者kindom of heaven相比, 就连徐大侠的七剑也差之不是一星半点。
本来是想再度欣赏成大哥的英雄气概和宏大场面的。结果却令人极度失望。倒不是说成龙老了,而是感觉像是被愚弄了。很多人说英雄不好,功夫不好,七剑不好。等等等等。但是毕竟还是看过以后觉得有可取之处,而神话,简直让我觉得看完脑海里一片空白。费力找了半天也没有什么痕迹。
香港电影之所以日趋没落,个人觉得与行业的心态和风气越来越浮躁,越来越失衡,也越来越庸俗化有关。也与香港电影界因循守旧,论资排辈和大哥意识不无瓜葛。 September 20 博客中国?今天一个好朋友的电脑出了个"小"问题。IE无法打开。 后来打开进程管理器却发现有好几个IE的进程,应该是这位朋友多次试图打开后的结果。。
经上网一查终于找到根由
好不容易卸载那个插件以后,终于一切又恢复平静了。这种东西,说的好听一点可能是程序员的不认真或者是水平不够,说的不好听一点,就有如上面引用的仁兄的话"黑客中国" September 09 We Are The WorldAn old song should never been forgot, let's remember and lend a helping hand
"We Are The World", U.S.A. for Africa Written by Michael Jackson and Lionel Richie
There comes a time when we need a certain call When the world must come together as one There are people dying Oh, and it's time to lend a hand to life The greatest gift of all We can't go on pretending day by day That someone, somehow will soon make a change We're all a part of God's great big family And the truth - you know love is all we need ( CHORUS ) We are the world, we are the children We are the ones who make a brighter day so let's start giving There's a choice we're making We're saving our own lives It's true we'll make a better day Just you and me Well, send'em you your heart So they know that someone cares And their lives will be stronger and free As God has shown us By turning stone to bread And so we all must lend a helping hand ( REPEAT CHORUS ) When you're down and out There seems no hope at all But if you just believe There's no way we can fall Well, well, well, let's realize That one change can only come When we stand together as one ( REPEAT CHORUS AND FADE ) To this day I just love to hear "We Are The World" - the melody is so simple but beautifully arranged and produced by Daddy Q. Okay, so it woud not hit the top 40 in the 90's, but re-produce it and replace the singers with those like Puff Daddy, R. Kelly, Mariah Carey, Madonna, etc, and chances are it's going all the way to the top! Here's a list of the singers next to their lyric from the 1985 version. . .
There comes a time when we heed a certain call (Lionel Richie) When the world must come together as one (Lionel Richie & Stevie Wonder) There are people dying (Stevie Wonder) Oh, and it's time to lend a hand to life (Paul Simon) The greatest gift of all (Paul Simon/Kenny Rogers) We can't go on pretending day by day (Kenny Rogers) That someone, somehow will soon make a change (James Ingram) We're all a part of God's great big family (Tina Turner) And the truth (Billy Joel) You know love is all we need (Tina Turner/Billy Joel) ( CHORUS ) We are the world, we are the children We are the ones who make a brighter day so let's start giving (Michael Jackson) There's a choice we're making we're saving our own lives (Diana Ross) It's true we'll make a better day just you and me (Michael Jackson/Diana Ross) Well, send'em you your heart so they know that someone cares (Dionne Warwick) And their lives will be stronger and free (Dionne Warwick/Willie Nelson) As God has shown us by turning stone to bread (Willie Nelson) And so we all must lend a helping hand (Al Jurreau) ( REPEAT CHORUS ) We are the world, we are the children (Bruce Springsteen) We are the ones who make a brighter day so let's start giving (Kenny Logins) There's a choice we're making we're saving our own lives (Steve Perry) It's true we'll make a better day just you and me (Daryl Hall) When you're down and out there seems no hope at all (Michael Jackson) But if you just believe there's no way we can fall (Huey Lewis) Well, well, well, let's realize that a change can only come (Cyndi Lauper) When we (Kim Carnes) stand together as one (Kim Carnes/Cyndi Lauper/Huey Lewis) (REPEAT CHORUS AND FADE ) (additional ad-lib vox by Bob Dylan, Ray Charles, Stevie Wonder, Bruce Springsteen,James Ingram) Performers :
August 23 时间 今天一个朋友的名字挺有意思,“时间是静止的,我们才是流逝的”, 不论这是颇有哲理的一句话,还是某位抑或哪位高人的闲时感悟,这句话却勾起我的一些情绪。
想想看,自己17岁从老家流到北京,从幼时的天真到三十而立,时间寂静而没有一丝改变,我却变了了。时间不会逝去,但有一天我们终将逝去。
自己一直在刻意在淡化时间在自己的空间落下的痕迹,而有些细节却时时提醒着时间的存在, 奶奶身体不好了,外婆也终于风湿腿寒到了限度卧病在床,我的记忆里她们带着那个满眼清澈的小男孩玩耍的时间总是就在昨天?
故事是昨天的,希望是明天的。我们继续流逝。 August 02 Script IDEWhy there is no good IDE for JavaScript? Any one know some and could recommand something?
these days mess in my brain, not productive. July 15 It's not funnyI don't think this is funny: http://www.cagle.com/news/ChinaOlympicsnew04/main.asp
Be honesty, I feel the guys who draws these pictures either not know China or have some special purpose.
There are lots of scarcities with China, it is real, but you can not imagine that this nation have achieve greate improvement since 1980. if you have been Beijing when the night it win the 2008, you will know the feeling of a common Chinese people.
These guys not, I guess they think they "outbalance" us, and this pictures could let them been focused and famous, but at least I will not keep on watching these. July 03 <<Java Rules>>Although it was published 2-3 years ago, but I think this book still worth you to read it. The basic concept and somethign deep in side codes, but it is a pity I just have the Chinese version, not excellent. If you concern performance of your codes and something behind the java sdk, you'd better to read it. July 01 JavaScript inherit issues1.Array or Object member inherit issue, An
Array or Object member in prototype will be shared by the instances of
the class, since it is not deep copied to the instance, just reference,
thus change one instance member will affect others. function copyObject(srcObj,desObj){ var memberType=""; for(var member in srcObj){ if(typeof srcObj[member]=="object"){ desObj[member]=(srcObj[member].constructor==Array)?[]:{}; copyObject(srcObj[member],desObj[member]); }else{ desObj[member]=srcObj[member]; } } } //class Test function Test(){ } //set a array type for Test's prototype Test.prototype.tArr=[]; //Class Test2 function Test2(){ } //not use system.define method, but copy all Test.prototype to Test2's in deep copyObject(Test.prototype,Test2.prototype); function testT(){ var t1=new Test(); //change t1's tArr[0] t1.tArr[0]="orginal"; //will not affect Test2's new instance it should alert undefined var t2=new Test2(); alert(t2.tArr[0]); //problem comes, t3 is also a new Test without set tArr but now the tArr[0] have value //that setted by t1. var t3=new Test(); alert(t3.tArr[0]); } 2. IE6 and Firefox's diffrent in handling prototype: codes here first: function Test1(){ } Test1.prototype.t="hello"; Test1.prototype.f=function(){ alert("hello! world"); } function copyObject(srcObj,desObj){ var memberType=""; for(var member in srcObj){ if(typeof srcObj[member]=="object"){ desObj[member]=(srcObj[member].constructor==Array)?[]:{}; copyObject(srcObj[member],desObj[member]); }else{ desObj[member]=srcObj[member]; } } } function Test2(){ } copyObject(Test1.prototype,Test2.prototype); for(var mem in Test2){ alert(mem); } If
you tried to loop Test2 Class before copy a prototype to it,
IE and Firefox will not alert a "prototype" both. at this point, they
are same, but after Test2 get a prototype, like codes above, Firefox
will alert a member name "prototype" but IE will not. So if you want to
copy prototype from one class to another in IE, you should do like this
"copyObject(Test1.prototype,Test2.prototype); " but not "copyObject(Test1,Test2);", as you can imagine, firefox will allow you to do it with second aproach. |
|
|