??xml version="1.0" encoding="utf-8" standalone="yes"?>久久99精品国产麻豆宅宅,www久久久天天com,亚洲AV伊人久久青青草原http://www.shnenglu.com/nj-blog/category/2643.htmlM,学习(fn)与思?zh-cnTue, 20 May 2008 00:30:46 GMTTue, 20 May 2008 00:30:46 GMT60l制牛顿法复杂边界分形图 && L(fng)扭Ӟhttp://www.shnenglu.com/nj-blog/archive/2006/12/31/17108.html山日志山日志Sun, 31 Dec 2006 15:58:00 GMThttp://www.shnenglu.com/nj-blog/archive/2006/12/31/17108.htmlhttp://www.shnenglu.com/nj-blog/comments/17108.htmlhttp://www.shnenglu.com/nj-blog/archive/2006/12/31/17108.html#Feedback3http://www.shnenglu.com/nj-blog/comments/commentRss/17108.htmlhttp://www.shnenglu.com/nj-blog/services/trackbacks/17108.html
谨以此图BS自己的懒惰行为!呵呵Q?月䆾的想法到现在才完成。还好没有拖?7q去^_^?br />先把囄和代码给出,明天再把文字补上?br />




山日志 2006-12-31 23:58 发表评论
]]>
UC~写的矩阵工具包http://www.shnenglu.com/nj-blog/archive/2006/12/07/16099.html山日志山日志Thu, 07 Dec 2006 09:06:00 GMThttp://www.shnenglu.com/nj-blog/archive/2006/12/07/16099.htmlhttp://www.shnenglu.com/nj-blog/comments/16099.htmlhttp://www.shnenglu.com/nj-blog/archive/2006/12/07/16099.html#Feedback4http://www.shnenglu.com/nj-blog/comments/commentRss/16099.htmlhttp://www.shnenglu.com/nj-blog/services/trackbacks/16099.html矩阵怹Q纯C~写?br />不能用C++q点让我十分郁闷啊^_^....
一共包含如下东西:(x)
typedef (tng)struct (tng)_matrix2D (tng)matrix2D; (tng)//一个结构体cdmatrix2D

BOOL (tng)initMatrix(matrix2D
* (tng)pm, (tng)int (tng)h, (tng)int (tng)w); (tng)//初始化pm为h×w的零矩阵
void (tng)delMatrix(matrix2D* (tng)pm); (tng) (tng)//矩阵的内部数据空间全部是动态分配的Q所以退Z前一定要删除矩阵
int (tng)getData(matrix2D* (tng)pm, (tng)int (tng)x, (tng)int (tng)y); (tng) (tng)//q回矩阵pmQ坐标ؓ(f)x、y的元素?/span>
void (tng)setData(matrix2D* (tng)pm, (tng)int (tng)x,int (tng)y, (tng)int (tng)data); (tng) (tng) (tng)//矩阵pmQ坐标ؓ(f)x、y的元素值置为data
void (tng)setMatrix(matrix2D* (tng)lhs, (tng)matrix2D* (tng)rhs); (tng) (tng)//删除矩阵lhs原先的|q深层拷贝ؓ(f)rhs
matrix2D (tng)addMatrix(matrix2D* (tng)lhs, (tng)matrix2D* (tng)rhs); (tng) (tng)//矩阵相加Q返回一个新的矩?/span>
matrix2D (tng)mulMatrix(matrix2D* (tng)lhs, (tng)matrix2D* (tng)rhs); (tng) (tng)//矩阵怹Q返回一个新的矩?/span>
void (tng)printMatrix(matrix2D* (tng)pm); (tng) (tng)//格式化打印矩阵pm

q是一个测试程序,单相乘(sh)个矩阵:(x)
#include (tng)"matrix2d.h"

int (tng)main()
{
 (tng) (tng) (tng) (tng)
int (tng)i,j;
 (tng) (tng) (tng) (tng)matrix2D (tng) (tng)rhs;
 (tng) (tng) (tng) (tng)matrix2D (tng) (tng)lhs;
 (tng) (tng) (tng) (tng)matrix2D (tng) (tng)result;

 (tng) (tng) (tng) (tng)initMatrix(
&lhs, (tng)11, (tng)10);
 (tng) (tng) (tng) (tng)initMatrix(
&rhs, (tng)10, (tng)2);

 (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng)
//lhs矩阵讄元素?/span>
 (tng) (tng) (tng) (tng)for(i (tng)= (tng)0; (tng)i<11; (tng)i++){
 (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng)
for(j (tng)= (tng)0; (tng)j<10; (tng)j++){
 (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng)setData(
&lhs, (tng)i, (tng)j, (tng)1);
 (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng)}

 (tng) (tng) (tng) (tng)}

 (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng)
//rhs矩阵讄元素?/span>
 (tng) (tng) (tng) (tng)for(i (tng)= (tng)0; (tng)i<10; (tng)i++){
 (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng)
for(j (tng)= (tng)0; (tng)j<2; (tng)j++){
 (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng)setData(
&rhs, (tng)i, (tng)j, (tng)i+1);
 (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng)}

 (tng) (tng) (tng) (tng)}

 (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng)
//矩阵怹
 (tng) (tng) (tng) (tng)result (tng)= (tng)mulMatrix(&lhs, (tng)&rhs);
 (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng)
//打印三个矩阵
 (tng) (tng) (tng) (tng)printMatrix(&lhs);
 (tng) (tng) (tng) (tng)printMatrix(
&rhs);
 (tng) (tng) (tng) (tng)printMatrix(
&result);
 (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng)
//不用?jin),记得释放矩阵I间..
 (tng) (tng) (tng) (tng)delMatrix(&lhs);
 (tng) (tng) (tng) (tng)delMatrix(
&rhs);
 (tng) (tng) (tng) (tng)delMatrix(
&result);
}

q里是显C结果:(x)

点击q里下蝲完整的源代码和运行程序?br />

山日志 2006-12-07 17:06 发表评论
]]>
【{载】乔布斯在斯坦福大学的演?/title><link>http://www.shnenglu.com/nj-blog/archive/2006/11/05/14704.html</link><dc:creator>山日志</dc:creator><author>山日志</author><pubDate>Sun, 05 Nov 2006 13:30:00 GMT</pubDate><guid>http://www.shnenglu.com/nj-blog/archive/2006/11/05/14704.html</guid><wfw:comment>http://www.shnenglu.com/nj-blog/comments/14704.html</wfw:comment><comments>http://www.shnenglu.com/nj-blog/archive/2006/11/05/14704.html#Feedback</comments><slash:comments>3</slash:comments><wfw:commentRss>http://www.shnenglu.com/nj-blog/comments/commentRss/14704.html</wfw:commentRss><trackback:ping>http://www.shnenglu.com/nj-blog/services/trackbacks/14704.html</trackback:ping><description><![CDATA[ <p>转自<a class="" title="" target=""><font color="#0000ff">Dreamer's Blog</font><br /></a><br /> (tng) (tng) (tng) (tng) (tng) (tng)今天在网上无意中发现?jin)苹果?sh)脑之父乔布斯在斯坦福大学的演Ԍ他在演讲中说?jin)三个关于自q故事Q我看了(jin)之后很有感触。今天把原文和译文都发上来,供大家参考。另?a target="_blank" tip="">q里有YouTube上的视频</a>观看?a target="_blank" tip="">q里有演讲mp3下蝲?/a><br /><br /> (tng) (tng) (tng) (tng) (tng) (tng)Steve Jobs_(d)你得扑և你爱?(You've got to find what you love.)。?br /><br /> (tng) (tng) (tng) (tng) (tng) (tng)以下是苹果计机公司与Pixar动画制作室执行长Steve Jobs?005q六?2日对全体史丹?jng)大学毕业生的演讲内容?x)<br /><br /> (tng) (tng) (tng) (tng) (tng) (tng)今天Q有荣幸来到各位从世界上最好的学校之一毕业的毕业典Cg。我从来没从大学毕业。说实话Q这是我d学毕业最q的一刅R今天,我只说三个故事,不谈大道理,三个故事好。?br /><br /> (tng) (tng) (tng) (tng) (tng) (tng)W一个故事,是关于h生中的点Ҏ(gu)滴怎么串连在一赗?br /><br /> (tng) (tng) (tng) (tng) (tng) (tng)我在里d学院QReed collegeQ待?jin)六个月办休学了(jin)。到我退学前Q一׃学了(jin)十八个月。那么,我ؓ(f)什么休学? (tng)<br /><br /> (tng) (tng) (tng) (tng) (tng) (tng)q得从我出生前讲赗我的亲生母亲当时是个研I生Q年L婚妈妈,她决定让别h收养我。她强烈觉得应该让有大学毕业的h收养我,所以我出生Ӟ她就准备让我被一对律师夫妇收充R但是这对夫d?jin)最后一d(zhn)了(jin)Q他们想收养奛_。所以在{待收养名单上的一对夫妻,我的ȝ母,在一天半夜里接到一通电(sh)话,问他们「有一名意外出生的男孩Q你们要认养他吗Q」而他们的回答是「当然要」。后来,我的生母发现Q我现在的妈妈从来没有大学毕业,我现在的爸爸则连高(sh)毕业也没有。她拒绝在认L件上做最后签字。直到几个月后,我的ȝ母同意将来一定会(x)让我上大学,Ҏ(gu)软化态度。?br /><br /> (tng) (tng) (tng) (tng) (tng) (tng)十七q后Q我上大学了(jin)。但是当时我无知选了(jin)一所学费几乎跟史丹佛(jng)一栯的大学,我那工h阶的父母所有积蓄都花在我的学费上。六个月后,我看不出念这个书的h(hun)g在。那时候,我不知道q辈子要q什么,也不知道念大学能Ҏ(gu)有什么帮助,而且我ؓ(f)?jin)念q个书,花光?jin)我父母q辈子的所有积蓄,所以我军_休学Q相信船到桥头自然直。当时这个决定看来相当可怕,可是现在看来Q那是我q辈子做q最好的军_之一。当我休学之后,我再也不用上我没兴趣的必修课Q把旉拿去听那些我有兴的课。?br /><br /> (tng) (tng) (tng) (tng) (tng) (tng)q一点也不浪漫。我没有宿舍Q所以我睡在友h安的地板上Q靠着回收可乐I罐的五先o(h)退费买吃的Q每个星期天晚上得走七里的\l过大半个镇d度教的Hare Krishna庙吃顿好料。我喜欢Hare Krishna庙的好料。追L的好奇与直觉Q我所驻的大部分事物Q后来看来都成了(jin)无h(hun)之宝。D例来_(d)(x) (tng)<br /><br /> (tng) (tng) (tng) (tng) (tng) (tng)当时里d学院有着大概是全国最好的书法指导。在整个校园内的每一张v报上Q每个抽屉的标签上,都是丽的手写字。因为我休学?jin),可以不照正常选课E序来,所以我跑去学书法。我学了(jin)serif与san serif字体Q学到在不同字母l合间变更字间距Q学到活版印刷伟大的地方。书法的好、历史感与艺术感是科学所无法捕捉的,我觉得那很迷人。?br /><br /> (tng) (tng) (tng) (tng) (tng) (tng)我没预期q学的这些东西能在我生活中v些什么实际作用,不过十年后,当我在设计第一台麦金塔Ӟ我想起了(jin)当时所学的东西Q所以把q些东西都设计进?jin)麦金塔里,q是W一台能印刷出漂亮东西的计算机。如果我没沉Z那样一门课里,麦金塔可能就不会(x)有多重字体跟变间距字体了(jin)。又因ؓ(f)Windows抄袭?jin)麦金塔的用方式,如果当年我没q样做,大概世界上所有的个h计算机都不会(x)有这些东西,C出现在我们看到的漂亮的字来了(jin)。当?dng)当我q在大学里时Q不可能把这些点Ҏ(gu)滴预先串在一P但是q在十年后回,显得非常清楚。?br /><br /><span style="COLOR: red"> (tng) (tng) (tng) (tng) (tng) (tng)我再说一ơ,你不能预先把点点滴滴串在一P唯有未来回顾Ӟ你才?x)明白那些点?gu)滴是如何串在一L(fng)。所以你得相信,你现在所体会(x)的东西,来多少?x)连接在一块。你得信L个东西,直觉也好Q命q也好,生命也好Q或者业力。这U作法从来没让我失望Q也让我的h生整个不同v来。?/span><br /><br /> (tng) (tng) (tng) (tng) (tng) (tng)我的W二个故事,有关׃失去。?br /><br /> (tng) (tng) (tng) (tng) (tng) (tng)我好q-q轻时就发现自己爱做什么事。我二十岁时Q跟Steve Wozniak在我爸妈的R库里开始了(jin)Ҏ(gu)计算机的事业。我们拼命工作,Ҏ(gu)计算机在十年间从一间R库里的两个小伙子扩展成了(jin)一家员工超q四千h、市(jng)价二十亿金的公司,在那之前一q推Z(jin)我们最的作品Q麦金塔Q而我才刚q入人生的第三十个年_(d)然后被炒鱉K。要怎么让自己创办的公司炒自己鱿|好吧Q当Ҏ(gu)计算机成长后Q我请了(jin)一个我以ؓ(f)他在l营公司上很有才q的家伙来,他在头几q也实q得不错。可是我们对未来的愿景不同,最后只好分道扬镻I董事?x)站在他那边Q炒?jin)我鱉KQ公开把我请了(jin)出去。曾l是我整个成q生z重?j)的东西不见了(jin),令我不知所措。?br /><br /> (tng) (tng) (tng) (tng) (tng) (tng)有几个月Q我实在不知道要q什么好。我觉得我o(h)企业界的前辈们失望-我把他们交给我的接力弄丢了(jin)。我见了(jin)创办HP的David Packard跟创办Intel的Bob NoyceQ跟他们说我很抱歉把事情搞砸得很厉害?jin)。我成了(jin)公众的非常负面示范,我甚x(chng)要离开谷。但是渐渐的Q我发现Q我q是喜爱着我做q的事情Q在Ҏ(gu)的日子经历的事g没有丝毫改变我爱做的事。我被否定了(jin)Q可是我q是爱做那些事情Q所以我军_从头来过。?br /><br /> (tng) (tng) (tng) (tng) (tng) (tng)当时我没发现Q但是现在看来,被苹果计机开除,是我所l历q最好的事情。成功的沉重被从头来q的L所取代Q每件事情都不那么确定,让我自由q入q辈子最有创意的q代。?br /><br /> (tng) (tng) (tng) (tng) (tng) (tng)接下来五q_(d)我开?jin)一家叫做NeXT的公司,又开一家叫做Pixar的公司,也跟后来的老婆谈v?jin)恋爱。Pixar接着制作?jin)世界上W一部全计算机动ȝ(sh)影,玩具d员,现在是世界上最成功的动d作公司。然后,Ҏ(gu)计算Z下了(jin)NeXTQ我回到?jin)苹果,我们在NeXT发展的技术成?jin)苹果计机后来复兴的核心(j)。我也有?jin)个妙的家庭。?br /><br /> (tng) (tng) (tng) (tng) (tng) (tng)我很定Q如果当q苹果计机没开除我Q就不会(x)发生q些事情。这帖药很苦口,可是我想Ҏ(gu)计算个病人需要这帖药?span style="COLOR: red">有时候,人生?x)用砖头打你的头。不要׃?j)。我信Q我爱我所做的事情Q这是q些q来让我l箋(hu)Cȝ唯一理由。你得找ZqQ工作上是如此,Ҏ(gu)Z是如此。你的工作将填满你的一大块人生Q唯一获得真正满的方法就是做你相信是伟大的工作,而唯一做伟大工作的Ҏ(gu)是爱你所做的事。如果你q没扑ֈq些事,l箋(hu)找,别停ѝ尽你全?j)全力,你知道你一定会(x)扑ֈ。而且Q如同Q何伟大的关系Q事情只?x)随着旉愈来愈好。所以,在你扑ֈ之前Q(h)l找Q别停顿。?/span><br /><br /><br /> (tng) (tng) (tng) (tng) (tng) (tng)我的W三个故事,关于M。?br /><br /> (tng) (tng) (tng) (tng) (tng) (tng)当我十七岁时Q我d一则格aQ好像是「把每一天都当成生命中的最后一天,你就?x)轻松自在。」这Ҏ(gu)影响pQ在q去33q里Q我每天早上都会(x)照镜子,自问Q「如果今天是此生最后一日,我今天要q些什么?」每当我q箋(hu)太多天都得到一个「没事做」的{案Ӟ我就知道我必L所变革?jin)。?br /><br /> (tng) (tng) (tng) (tng) (tng) (tng)提醒自己快死?jin),是我在h生中下重大决定时Q所用过最重要的工兗因为几乎每件事Q所有外界期望、所有名誉、所有对困窘或失败的恐惧Q在面对MӞ都消׃(jin)Q只有最重要的东西才?x)留下。提醒自己快M(jin)Q是我所知避免掉入自己有东西要失M(jin)的陷阱里最好的Ҏ(gu)。h生不带来Q死不带去,没什么道理不心(j)而ؓ(f)。?br /><br /> (tng) (tng) (tng) (tng) (tng) (tng)一q前Q我被诊断出癌症。我在早上七点半作断层扫描,在胰脏清楚出C个肿瘤,我连胰脏是什么都不知道。医生告诉我Q那几乎可以定是一U不M症,我大概活不到三到六个月了(jin)。医生徏议我回家Q好好跟亲h们聚一聚,q是ȝ对(f)l病人的标准。那代表你得试着在几个月内把你将来十q想跟小孩讲的话讲完。那代表你得把每件事情搞定,家h才会(x)量L。那代表你得跟h说再见了(jin)。?br /> (tng) (tng) (tng)<br /> (tng) (tng) (tng) (tng) (tng) (tng)我整天想着那个诊断l果Q那天晚上做?jin)一ơ切片,从喉咙入一个内视镜Q从胃进肠子Q插?jin)根针进胰脏Q取?jin)一些肿瘤细?yu)出来。我打了(jin)镇静(rn)剂,不醒ZQ但是我老婆在场。她后来跟我_(d)当医生们用显微镜看过那些l胞(yu)后,他们都哭?jin),因?f)那是非常见的一U胰脏癌Q可以用手术d。所以我接受?jin)手术,康复了(jin)。?br /><br /> (tng) (tng) (tng) (tng) (tng) (tng)q是我最接近M的时候,我希望那?x)?h)l是未来几十q内最接近的一ơ。经历此事后Q我可以比之前死亡只是抽象概忉|要更肯定告诉你们下面q些Q?br /><br /> (tng) (tng) (tng) (tng) (tng) (tng)没有人想歅R即佉K些想上天堂的人,也想zȝ上天堂。但是死亡是我们共有的目的地Q没有h逃得q。这是注定的Q因为死亡简直就是生命中最的发明Q是生命变化的媒介,送走老h们,l新生代留下I间。现在你们是新生代,但是不久的将来,你们也会(x)逐渐变老,被送出人生的舞台。抱歉讲得这么戏剧化Q但是这是真的。?br /><br /><span style="COLOR: red"> (tng) (tng) (tng) (tng) (tng) (tng)你们的时间有限,所以不要浪Ҏ(gu)间活在别人的生活里。不要被信条所惑-盲从信条是zd别h思考结果里。不要让别h的意见没了(jin)你内在的?j)声。最重要的,拥有跟随内心(j)与直觉的勇气Q你的内?j)与直觉多少已经知道你真正想要成Z么样的h。Q何其它事物都是次要的。?/span><br /><br /> (tng) (tng) (tng) (tng) (tng) (tng)在我q轻Ӟ有本奇的杂志叫做Whole Earth CatalogQ当q我们很q本杂志。那是一位住在离q不q的Menlo Park的Stewart Brand发行的,他把杂志办得很有诗意。那?960q代末期Q个机跟桌上出版还没发明,所有内定w是打字机、剪刀跟拍立得相机做出来的。杂志内Ҏ(gu)点像印在U怸的GoogleQ在Google出现之前35q就有了(jin)Q理惛_Q充满新奇工具与奇的注记。?br /><br /> (tng) (tng) (tng) (tng) (tng) (tng)Stewart跟他的出版团队出?jin)好几期Whole Earth CatalogQ然后出?jin)停刊号。当时是1970q代中期Q我正是你们现在q个q龄的时候。在停刊L(fng)底Q有张早晨乡间小路的照片Q那U你ȝ山时?x)经q的乡间\。在照片下有行小字:(x) (tng)<br /><span style="COLOR: red"> (tng) (tng) (tng) (tng) (tng) (tng)求知若饥Q虚?j)若愚。?/span><br /><br /> (tng) (tng) (tng) (tng) (tng) (tng)那是他们亲笔写下的告别讯息,我L以此自许。当你们毕业Q展开新生z,我也以此期许你们。?br /><br /> (tng) (tng) (tng) (tng) (tng) (tng)求知若饥Q虚?j)若愚。?br /><br /> (tng) (tng) (tng) (tng) (tng) (tng)非常谢谢大家?<br /><br /><strong>原文Q?/strong><br /><br />Stanford Report, June 14, 2005 <br /><br />'You've got to find what you love,' Jobs says <br /><br />This is the text of the Commencement address by Steve Jobs, CEO of Apple Computer and of Pixar Animation Studios, delivered on June 12, 2005. <br /><br />I am honored to be with you today at your commencement from one of the finest universities in the world. I never graduated from college. Truth be told, this is the closest I've ever gotten to a college graduation. Today I want to tell you three stories from my life. That's it. No big deal. Just three stories. <br /><br />The first story is about connecting the dots. <br /><br />I dropped out of Reed College after the first 6 months, but then stayed around as a drop-in for another 18 months or so before I really quit. So why did I drop out? <br /><br />It started before I was born. My biological mother was a young, unwed college graduate student, and she decided to put me up for adoption. She felt very strongly that I should be adopted by college graduates, so everything was all set for me to be adopted at birth by a lawyer and his wife. Except that when I popped out they decided at the last minute that they really wanted a girl. So my parents, who were on a waiting list, got a call in the middle of the night asking: "We have an unexpected baby boy; do you want him?" They said: "Of course." My biological mother later found out that my mother had never graduated from college and that my father had never graduated from high school. She refused to sign the final adoption papers. She only relented a few months later when my parents promised that I would someday go to college. <br /><br />And 17 years later I did go to college. But I naively chose a college that was almost as expensive as Stanford, and all of my working-class parents' savings were being spent on my college tuition. After six months, I couldn't see the value in it. I had no idea what I wanted to do with my life and no idea how college was going to help me figure it out. And here I was spending all of the money my parents had saved their entire life. So I decided to drop out and trust that it would all work out OK. It was pretty scary at the time, but looking back it was one of the best decisions I ever made. The minute I dropped out I could stop taking the required classes that didn't interest me, and begin dropping in on the ones that looked interesting. <br /><br />It wasn't all romantic. I didn't have a dorm room, so I slept on the floor in friends' rooms, I returned coke bottles for the 5?? deposits to buy food with, and I would walk the 7 miles across town every Sunday night to get one good meal a week at the Hare Krishna temple. I loved it. And much of what I stumbled into by following my curiosity and intuition turned out to be priceless later on. Let me give you one example: <br /><br />Reed College at that time offered perhaps the best calligraphy instruction in the country. Throughout the campus every poster, every label on every drawer, was beautifully hand calligraphed. Because I had dropped out and didn't have to take the normal classes, I decided to take a calligraphy class to learn how to do this. I learned about serif and san serif typefaces, about varying the amount of space between different letter combinations, about what makes great typography great. It was beautiful, historical, artistically subtle in a way that science can't capture, and I found it fascinating. <br /><br />None of this had even a hope of any practical application in my life. But ten years later, when we were designing the first Macintosh computer, it all came back to me. And we designed it all into the Mac. It was the first computer with beautiful typography. If I had never dropped in on that single course in college, the Mac would have never had multiple typefaces or proportionally spaced fonts. And since Windows just copied the Mac, its likely that no personal computer would have them. If I had never dropped out, I would have never dropped in on this calligraphy class, and personal computers might not have the wonderful typography that they do. Of course it was impossible to connect the dots looking forward when I was in college. But it was very, very clear looking backwards ten years later. <br /><br />Again, you can't connect the dots looking forward; you can only connect them looking backwards. So you have to trust that the dots will somehow connect in your future. You have to trust in something - your gut, destiny, life, karma, whatever. This approach has never let me down, and it has made all the difference in my life. <br /><br />My second story is about love and loss. <br /><br />I was lucky - I found what I loved to do early in life. Woz and I started Apple in my parents garage when I was 20. We worked hard, and in 10 years Apple had grown from just the two of us in a garage into a $2 billion company with over 4000 employees. We had just released our finest creation - the Macintosh - a year earlier, and I had just turned 30. And then I got fired. How can you get fired from a company you started? Well, as Apple grew we hired someone who I thought was very talented to run the company with me, and for the first year or so things went well. But then our visions of the future began to diverge and eventually we had a falling out. When we did, our Board of Directors sided with him. So at 30 I was out. And very publicly out. What had been the focus of my entire adult life was gone, and it was devastating. <br /><br />I really didn't know what to do for a few months. I felt that I had let the previous generation of entrepreneurs down - that I had dropped the baton as it was being passed to me. I met with David Packard and Bob Noyce and tried to apologize for screwing up so badly. I was a very public failure, and I even thought about running away from the valley. But something slowly began to dawn on me - I still loved what I did. The turn of events at Apple had not changed that one bit. I had been rejected, but I was still in love. And so I decided to start over. <br /><br />I didn't see it then, but it turned out that getting fired from Apple was the best thing that could have ever happened to me. The heaviness of being successful was replaced by the lightness of being a beginner again, less sure about everything. It freed me to enter one of the most creative periods of my life. <br /><br />During the next five years, I started a company named NeXT, another company named Pixar, and fell in love with an amazing woman who would become my wife. Pixar went on to create the worlds first computer animated feature film, Toy Story, and is now the most successful animation studio in the world. In a remarkable turn of events, Apple bought NeXT, I retuned to Apple, and the technology we developed at NeXT is at the heart of Apple's current renaissance. And Laurene and I have a wonderful family together. (tng) (tng) (tng) (tng)<br /><br />I'm pretty sure none of this would have happened if I hadn't been fired from Apple. It was awful tasting medicine, but I guess the patient needed it. Sometimes life hits you in the head with a brick. Don't lose faith. I'm convinced that the only thing that kept me going was that I loved what I did. You've got to find what you love. And that is as true for your work as it is for your lovers. Your work is going to fill a large part of your life, and the only way to be truly satisfied is to do what you believe is great work. And the only way to do great work is to love what you do. If you haven't found it yet, keep looking. Don't settle. As with all matters of the heart, you'll know when you find it. And, like any great relationship, it just gets better and better as the years roll on. So keep looking until you find it. Don't settle. <br /><br />My third story is about death. <br /><br />When I was 17, I read a quote that went something like: "If you live each day as if it was your last, someday you'll most certainly be right." It made an impression on me, and since then, for the past 33 years, I have looked in the mirror every morning and asked myself: "If today were the last day of my life, would I want to do what I am about to do today?" And whenever the answer has been "No" for too many days in a row, I know I need to change something. <br /><br />Remembering that I'll be dead soon is the most important tool I've ever encountered to help me make the big choices in life. Because almost everything - all external expectations, all pride, all fear of embarrassment or failure - these things just fall away in the face of death, leaving only what is truly important. Remembering that you are going to die is the best way I know to avoid the trap of thinking you have something to lose. You are already naked. There is no reason not to follow your heart. <br /><br />About a year ago I was diagnosed with cancer. I had a scan at 7:30 in the morning, and it clearly showed a tumor on my pancreas. I didn't even know what a pancreas was. The doctors told me this was almost certainly a type of cancer that is incurable, and that I should expect to live no longer than three to six months. My doctor advised me to go home and get my affairs in order, which is doctor's code for prepare to die. It means to try to tell your kids everything you thought you'd have the next 10 years to tell them in just a few months. It means to make sure everything is buttoned up so that it will be as easy as possible for your family. It means to say your goodbyes. <br /><br />I lived with that diagnosis all day. Later that evening I had a biopsy, where they stuck an endoscope down my throat, through my stomach and into my intestines, put a needle into my pancreas and got a few cells from the tumor. I was sedated, but my wife, who was there, told me that when they viewed the cells under a microscope the doctors started crying because it turned out to be a very rare form of pancreatic cancer that is curable with surgery. I had the surgery and I'm fine now. <br /><br />This was the closest I've been to facing death, and I hope its the closest I get for a few more decades. Having lived through it, I can now say this to you with a bit more certainty than when death was a useful but purely intellectual concept: <br /><br />No one wants to die. Even people who want to go to heaven don't want to die to get there. And yet death is the destination we all share. No one has ever escaped it. And that is as it should be, because Death is very likely the single best invention of Life. It is Life's change agent. It clears out the old to make way for the new. Right now the new is you, but someday not too long from now, you will gradually become the old and be cleared away. Sorry to be so dramatic, but it is quite true. <br /><br />Your time is limited, so don't waste it living someone else's life. Don't be trapped by dogma - which is living with the results of other people's thinking. Don't let the noise of other's opinions drown out your own inner voice. And most important, (tng) (tng)have the courage to follow your heart and intuition. They somehow already know what you truly want to become. Everything else is secondary. <br /><br />When I was young, there was an amazing publication called The Whole Earth Catalog, which was one of the bibles of my generation. It was created by a fellow named Stewart Brand not far from here in Menlo Park, and he brought it to life with his poetic touch. This was in the late 1960's, before personal computers and desktop publishing, so it was all made with typewriters, scissors, and polaroid cameras. It was sort of like Google in paperback form, 35 years before Google came along: it was idealistic, and overflowing with neat tools and great notions. <br /><br />Stewart and his team put out several issues of The Whole Earth Catalog, and then when it had run its course, they put out a final issue. It was the mid-1970s, and I was your age. On the back cover of their final issue was a photograph of an early morning country road, the kind you might find yourself hitchhiking on if you were so adventurous. Beneath it were the words: "Stay Hungry. Stay Foolish." It was their farewell message as they signed off. Stay Hungry. Stay Foolish. And I have always wished that for myself. And now, as you graduate to begin anew, I wish that for you. <br /><br />Stay Hungry. Stay Foolish. <br /><br />Thank you all very much.</p> <img src ="http://www.shnenglu.com/nj-blog/aggbug/14704.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.shnenglu.com/nj-blog/" target="_blank">山日志</a> 2006-11-05 21:30 <a href="http://www.shnenglu.com/nj-blog/archive/2006/11/05/14704.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>ACM初体?/title><link>http://www.shnenglu.com/nj-blog/archive/2006/09/20/12771.html</link><dc:creator>山日志</dc:creator><author>山日志</author><pubDate>Wed, 20 Sep 2006 15:18:00 GMT</pubDate><guid>http://www.shnenglu.com/nj-blog/archive/2006/09/20/12771.html</guid><wfw:comment>http://www.shnenglu.com/nj-blog/comments/12771.html</wfw:comment><comments>http://www.shnenglu.com/nj-blog/archive/2006/09/20/12771.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.shnenglu.com/nj-blog/comments/commentRss/12771.html</wfw:commentRss><trackback:ping>http://www.shnenglu.com/nj-blog/services/trackbacks/12771.html</trackback:ping><description><![CDATA[ (tng) (tng) (tng) q是我第一此参加ACM竞赛Q我想也是最后一ơ了(jin)。呵呵,要毕业啦^_^<br /> (tng) (tng) (tng) 8?8日接到nƣ苹的电(sh)话,说是有一个编E比赛要l队参加Q邀(g)h加入她的队伍里?a target="" class="" title="" href="/nj-blog/gallery/image/1211.html"><img alt="" src="http://www.shnenglu.com/images/cppblog_com/nj-blog/2644/t_acm5.JPG" align="" border="" height="90" hspace="0" vspace="0" width="120" /></a><br /> (tng) (tng) (tng) 因ؓ(f)不考研Q开学比较闲Q其实我一向是个闲人啦^_^Q,所以不假思烦(ch)q应了(jin)?br />三天后去pML老师那里报名Q这才第一ơ见到听d久的另一个队友:(x)Uv?a target="" class="" title="" href="/nj-blog/gallery/image/1212.html"><img alt="" src="http://www.shnenglu.com/images/cppblog_com/nj-blog/2644/t_acm6.JPG" align="" border="" height="90" hspace="0" vspace="0" width="120" /></a><br /> (tng) (tng) (tng) 报完名才知道原来比赛是ACM啊!<br /> (tng) (tng) (tng) 9?0号预赛,勉强通过?6号在哈工E的体育馆里册Q做Z(jin)5道题。大概组委会(x)念在是黑龙江省的W一ơ区域性竞赛,AC?道题的全l了(jin)三等奖,一共有32个。呵呵,特h(hun)甩卖?jin)。最多的也只AC?道题Q这些是一{奖Q?支队伍?道题的是二等奖,6支队伍?br /><a target="" class="" title="" href="/nj-blog/gallery/image/1207.html"><img alt="" src="http://www.shnenglu.com/images/cppblog_com/nj-blog/2644/t_acm1.JPG" align="" border="" height="90" hspace="0" vspace="0" width="120" /></a><a target="" class="" title="" href="/nj-blog/gallery/image/1210.html"><img alt="" src="http://www.shnenglu.com/images/cppblog_com/nj-blog/2644/t_acm3.JPG" align="" border="" height="90" hspace="0" vspace="0" width="120" /><img alt="" src="http://www.shnenglu.com/images/cppblog_com/nj-blog/2644/t_acm7.JPG" align="" border="" height="90" hspace="0" vspace="0" width="120" /><img alt="" src="http://www.shnenglu.com/images/cppblog_com/nj-blog/2644/t_acm4.JPG" align="" border="" height="90" hspace="0" vspace="0" width="120" /></a><br /> (tng) (tng) (tng) 从接到欣苹的通知那天到决赛,我只准备?9天,感觉很仓?j)。如果上天能l我再来一ơ的Z(x)的话......<br /> (tng) (tng) (tng) 不说废话?jin),q是十分高兴可以有这样一ơ机?x)和q么多高水^的h同场竞技Q让我认识到自己在程序之路上原来q只是个井底之蛙。要学习(fn)的东西还是很多,努力Q加油!<br /> (tng) (tng) (tng) 而且意外收获?jin)一个三{奖Q哈哈^_^<br /><img src="http://www.shnenglu.com/images/cppblog_com/nj-blog/2644/r_acm2.JPG" /><br /><br /><img src ="http://www.shnenglu.com/nj-blog/aggbug/12771.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.shnenglu.com/nj-blog/" target="_blank">山日志</a> 2006-09-20 23:18 <a href="http://www.shnenglu.com/nj-blog/archive/2006/09/20/12771.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item></channel></rss> <footer> <div class="friendship-link"> <p>лǵվܻԴȤ</p> <a href="http://www.shnenglu.com/" title="精品视频久久久久">精品视频久久久久</a> <div class="friend-links"> </div> </div> </footer> <a href="http://www.fridc.cn" target="_blank">þù</a>| <a href="http://www.czzhiyou.cn" target="_blank">ŷþۺ</a>| <a href="http://www.fyhd.net.cn" target="_blank">ҹþþþþþþþ </a>| <a href="http://www.mivrcloud.cn" target="_blank">һɫۺþ</a>| <a href="http://www.wordboy.cn" target="_blank">þþƷһ</a>| <a href="http://www.945ba.cn" target="_blank">þó˹Ʒ</a>| <a href="http://www.unnk.cn" target="_blank">þþþ㽶Ƶ</a>| <a href="http://www.paper51.cn" target="_blank">Ʒþþþþ޾Ʒ</a>| <a href="http://www.txhyhf.cn" target="_blank">ҹƷþþþþþС˵</a>| <a href="http://www.nuzc.cn" target="_blank">þþþþþþŮ</a>| <a href="http://www.jipiaocq.cn" target="_blank">þw5www</a>| <a href="http://www.vanblog.cn" target="_blank">þԭƷ</a>| <a href="http://www.iaftvc.cn" target="_blank">ձŷþþþѲ</a>| <a href="http://www.pf925.cn" target="_blank">91Ըߺþþþ</a>| <a href="http://www.g549.cn" target="_blank">þ99Ʒþþþþþò</a>| <a href="http://www.seomajor.cn" target="_blank">þþþþþۺձ</a>| <a href="http://www.top119.cn" target="_blank">ھƷþþþ</a>| <a href="http://www.0475job.cn" target="_blank">7777Ʒ˾þþô߽</a>| <a href="http://www.vgqk.cn" target="_blank">þõӰ</a>| <a href="http://www.231it.cn" target="_blank">þþƷԴվ</a>| <a href="http://www.55542.com.cn" target="_blank">ŷҹƷþþþþ˳</a>| <a href="http://www.xorfbrt.cn" target="_blank">þóӰԺƷ777</a>| <a href="http://www.x3077.cn" target="_blank">AVþ</a>| <a href="http://www.0371trip.cn" target="_blank">þëƬһ</a>| <a href="http://www.swangxinwen.cn" target="_blank">뾫Ʒþþ</a>| <a href="http://www.webugame.cn" target="_blank">þþþùƷŮӰԺ </a>| <a href="http://www.75063.com.cn" target="_blank">ھƷþþþav </a>| <a href="http://www.hotfan.cn" target="_blank">ƷþavĻ</a>| <a href="http://www.grandfreshop.cn" target="_blank">鶹wwwþùƷ</a>| <a href="http://www.zouzouqiaoqiao.cn" target="_blank">99reֻоƷȾþ</a>| <a href="http://www.26zf.cn" target="_blank">ձǿƬþþþþAAA</a>| <a href="http://www.xysrsks.cn" target="_blank">һþaþþƷvrۺ</a>| <a href="http://www.jemjc.cn" target="_blank">޹Ʒһþ</a>| <a href="http://www.chaoyuemobile.com.cn" target="_blank">þþƷ9988</a>| <a href="http://www.tzfxw.cn" target="_blank">88þþƷһëƬ</a>| <a href="http://www.blt5.cn" target="_blank">99ŷþþþƷѿ</a>| <a href="http://www.dlwz8.cn" target="_blank">99þþƷ鶹</a>| <a href="http://www.sh-jixiang.cn" target="_blank">91Ƶ91þþ</a>| <a href="http://www.xiezongjun.cn" target="_blank">þøݾƷԴվ</a>| <a href="http://www.951ax.cn" target="_blank">þseƷһƷ</a>| <a href="http://www.sanda8.com.cn" target="_blank">þþƷƵ</a>| <script> (function(){ var bp = document.createElement('script'); var curProtocol = window.location.protocol.split(':')[0]; if (curProtocol === 'https') { bp.src = 'https://zz.bdstatic.com/linksubmit/push.js'; } else { bp.src = 'http://push.zhanzhang.baidu.com/push.js'; } var s = document.getElementsByTagName("script")[0]; s.parentNode.insertBefore(bp, s); })(); </script> </body>