<?xml version="1.0" encoding="utf-8"?><feed xmlns="http://www.w3.org/2005/Atom"><title type="text">博客园_毒龙的程序人生</title><subtitle type="text">BASIC, C, C++, Java, C#, VB, Qt, Haskell, OIV, ObjC, 程序人生魔方, 象棋, 桥牌, 游戏人生</subtitle><id>http://feed.cnblogs.com/blog/u/6796/rss</id><updated>2012-02-10T01:23:09Z</updated><author><name>毒龙的程序人生</name><uri>http://www.cnblogs.com/speeding/</uri></author><generator>CNBlogs BlogServer</generator><link rel="alternate" type="text/html" href="http://www.cnblogs.com/speeding/"/><link rel="self" type="application/atom+xml" href="http://feed.cnblogs.com/blog/u/6796/rss"/><entry><id>http://www.cnblogs.com/speeding/archive/2012/02/09/2343887.html</id><title type="text">读书笔记：《一生的计划》</title><summary type="text">2012年读的第一本书，读此书的初衷是想制定一个切实可行的2012年计划，从网上查来查去就发现这本书了，打印下来后很快就读完了。书的作者是一个虔诚的基督徒，书中充满了《圣经》中的语句，读完后最大的感悟就是“平衡”，没看过英文版，我感觉英语应该翻译成&amp;quot;Balance”吧，人生要在精神、理财、教育和娱乐4个方面的平衡，以前见过各种各样的分类方式，对我来说可能划分为工作、学习（个人修炼）、健康、生活（关爱家人）、朋友和娱乐等几个方面吧，根据每个人目标的不同，就会在各个方面投入得互有侧重，曾想着把这几项排个先后顺序，用“平衡”的思想去理解的话，就不再关心如何排序了，而是要在整个一生中把这些方</summary><published>2012-02-09T06:10:00Z</published><updated>2012-02-09T06:10:00Z</updated><author><name>毒龙的程序人生</name><uri>http://www.cnblogs.com/speeding/</uri></author><link rel="alternate" href="http://www.cnblogs.com/speeding/archive/2012/02/09/2343887.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/speeding/archive/2012/02/09/2343887.html"/><content type="html">&lt;p&gt;2012年读的第一本书，读此书的初衷是想制定一个切实可行的2012年计划，从网上查来查去就发现这本书了，打印下来后很快就读完了。&lt;/p&gt;&#xD;
&lt;p&gt;书的作者是一个虔诚的基督徒，书中充满了《圣经》中的语句，读完后最大的感悟就是&amp;ldquo;平衡&amp;rdquo;，没看过英文版，我感觉英语应该翻译成"Balance&amp;rdquo;吧，人生要在精神、理财、教育和娱乐4个方面的平衡，以前见过各种各样的分类方式，对我来说可能划分为工作、学习（个人修炼）、健康、生活（关爱家人）、朋友和娱乐等几个方面吧，根据每个人目标的不同，就会在各个方面投入得互有侧重，曾想着把这几项排个先后顺序，用&amp;ldquo;平衡&amp;rdquo;的思想去理解的话，就不再关心如何排序了，而是要在整个一生中把这些方面如何进行的相对平衡，这也是作者给出的&amp;ldquo;成功&amp;rdquo;定义中的一个要素。另外的2个要素是方向感和信念，方向感就是书名《一生的计划》，信念就是要不断地给自己一些励志类的精神鸦片（从老罗的演讲里听说的），让自己不断地坚持下去！&lt;/p&gt;&#xD;
&lt;p&gt;第一章，告诉你可以成功！&lt;/p&gt;&#xD;
&lt;p&gt;第二章，成功的定义，方向感、平衡和信念。&lt;/p&gt;&#xD;
&lt;p&gt;第三章，成功体系的六步，理解起来还有一定的困难，需要不断的回味。&lt;/p&gt;&#xD;
&lt;ul&gt;&#xD;
&lt;ul&gt;&#xD;
&lt;ul&gt;&#xD;
&lt;li&gt;第一步：获取成功智慧。掌握学习方法，不断的学习！&lt;/li&gt;&#xD;
&lt;li&gt;第二步：让自己以成功为方向。生活的态度发生了重要改变，朋友、同事、家人都会认同你，一切都会慢慢改善！&lt;/li&gt;&#xD;
&lt;li&gt;第三步：内心的快乐。每一天去做的事情都是按自己设定的目标在前进，一些以前看不惯的人和事，不再会破坏你内心的平静。&lt;/li&gt;&#xD;
&lt;li&gt;第四步：轻松的心理态度。感觉与第三步是一个意思，能够一点也不带烦躁和焦虑地对付各种境遇。&lt;/li&gt;&#xD;
&lt;li&gt;第五步：获得爱的能力。可能是指圣经中提到的真正的、完全的和无私的爱吧，这是作者的信仰！&lt;/li&gt;&#xD;
&lt;li&gt;第六步：把握生活的细节。前面五步都是调整心态，这一步就是不断地应对每天的挑战了吧！&amp;nbsp;&lt;/li&gt;&#xD;
&lt;/ul&gt;&#xD;
&lt;/ul&gt;&#xD;
&lt;/ul&gt;&#xD;
&lt;p&gt;第四章，制定一个目标、高的目标，阶段目标，行动，必胜信念。&lt;/p&gt;&#xD;
&lt;p&gt;第五章，精神和理财的平衡。服务，然后成功！&lt;/p&gt;&#xD;
&lt;p&gt;第六章，教育和娱乐的平衡。缺乏应用的知识是无用的知识，自己学到的知识要做为服务卖出去。坚强的身体和可靠的大脑要和谐地运转！&lt;/p&gt;&#xD;
&lt;p&gt;第七章，黄金半小时。与《晨间日记》的理念相当一致，早起、沉思、忏悔、感恩、思考他人利益、自己的需要。&lt;/p&gt;&#xD;
&lt;p&gt;第八章，人际关系大师。看上去单纯，内心明智；谦逊；关心工作伙伴，不带功利色彩；工作和生活中诚实可靠；远离流言；赞扬他人；温厚耐心；公平公正；乐于接受批评；值得尊敬；慷慨大度；积极的心理态度；&lt;/p&gt;&#xD;
&lt;p&gt;第九章，你和机会。认真做事，到处是chance。&lt;/p&gt;&#xD;
&lt;p&gt;第十章，时不我待。珍惜时间，提供更好的服务，完善自己，享受生活，增加快乐！&lt;/p&gt;&#xD;
&lt;p&gt;第十一章，那就是方向。&lt;/p&gt;&#xD;
&lt;p&gt;&lt;/p&gt;&#xD;
&lt;p&gt;读到最后的行动手册，提到月计划、周计划和日计划，感觉这些对我来说难以执行，只能记住Balance的七项修炼！&lt;/p&gt;&#xD;
&lt;p&gt;&lt;/p&gt;&#xD;
&lt;p&gt;&lt;a href="http://images.cnblogs.com/cnblogs_com/speeding/201202/201202091409296567.png"&gt;&lt;img style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border: 0px;" title="image" src="http://images.cnblogs.com/cnblogs_com/speeding/201202/201202091409302206.png" alt="image" width="388" height="303" border="0" /&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://www.cnblogs.com/speeding/aggbug/2343887.html?type=1" width="1" height="1" alt=""/&gt;&lt;p&gt;&lt;a href="http://www.cnblogs.com/speeding/archive/2012/02/09/2343887.html" target="_blank"&gt;本文链接&lt;/a&gt;&lt;/p&gt;</content></entry><entry><id>http://www.cnblogs.com/speeding/archive/2012/02/03/2336626.html</id><title type="text">2012年的目标</title><summary type="text">计划不能执行的一个主要原因，就是没有写下来，没有公开。“写到”才能“做到”，人会遗忘或假装忘掉，白纸黑字才是契约！2012年全年目标：工作：让iOS小程序上架发布，三维可视化程序发布，工程院合同验收，完成863收尾。个人提升：完成1000个新词条，12篇VOA的听写，写一篇新的GTD体会文章，参加一次GTD交流班，读完12本书。家庭：全家外出旅游一次，发起一中Supermemo志愿者计划，督促孩子提前背完初三的单词。健康：每天坚持至少30分钟步行，体重控制在66公斤以下。娱乐：每周至少练习一副桥牌，象棋水平就顺其自然了！</summary><published>2012-02-03T02:24:00Z</published><updated>2012-02-03T02:24:00Z</updated><author><name>毒龙的程序人生</name><uri>http://www.cnblogs.com/speeding/</uri></author><link rel="alternate" href="http://www.cnblogs.com/speeding/archive/2012/02/03/2336626.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/speeding/archive/2012/02/03/2336626.html"/><content type="html">&lt;p&gt;计划不能执行的一个主要原因，就是没有写下来，没有公开。&amp;ldquo;写到&amp;rdquo;才能&amp;ldquo;做到&amp;rdquo;，人会遗忘或假装忘掉，白纸黑字才是契约！&lt;/p&gt;&#xD;
&lt;p&gt;&lt;/p&gt;&#xD;
&lt;p&gt;&lt;strong&gt;2012年全年目标：&lt;/strong&gt;&lt;/p&gt;&#xD;
&lt;p&gt;&lt;strong&gt;工作：&lt;/strong&gt;&lt;/p&gt;&#xD;
&lt;p&gt;让iOS小程序上架发布，三维可视化程序发布，工程院合同验收，完成863收尾。&lt;/p&gt;&#xD;
&lt;p&gt;&lt;strong&gt;个人提升：&lt;/strong&gt;&lt;/p&gt;&#xD;
&lt;p&gt;完成1000个新词条，12篇VOA的听写，写一篇新的GTD体会文章，参加一次GTD交流班，读完12本书。&lt;/p&gt;&#xD;
&lt;p&gt;&lt;strong&gt;家庭：&lt;/strong&gt;&lt;/p&gt;&#xD;
&lt;p&gt;全家外出旅游一次，发起一中Supermemo志愿者计划，督促孩子提前背完初三的单词。&lt;/p&gt;&#xD;
&lt;p&gt;&lt;strong&gt;健康：&lt;/strong&gt;&lt;/p&gt;&#xD;
&lt;p&gt;每天坚持至少30分钟步行，体重控制在66公斤以下。&lt;/p&gt;&#xD;
&lt;p&gt;&lt;strong&gt;娱乐：&lt;/strong&gt;&lt;/p&gt;&#xD;
&lt;p&gt;每周至少练习一副桥牌，象棋水平就顺其自然了！&lt;/p&gt;&lt;img src="http://www.cnblogs.com/speeding/aggbug/2336626.html?type=1" width="1" height="1" alt=""/&gt;&lt;p&gt;&lt;a href="http://www.cnblogs.com/speeding/archive/2012/02/03/2336626.html" target="_blank"&gt;本文链接&lt;/a&gt;&lt;/p&gt;</content></entry><entry><id>http://www.cnblogs.com/speeding/archive/2012/01/31/2332411.html</id><title type="text">用supermemo背单词5周年了</title><summary type="text">从2007年2月1日开始坚持用supermemo背单词整整5周年了，在2011年新增词条较少，刚刚到6900，鼓励自己坚持下去！</summary><published>2012-01-30T22:21:00Z</published><updated>2012-01-30T22:21:00Z</updated><author><name>毒龙的程序人生</name><uri>http://www.cnblogs.com/speeding/</uri></author><link rel="alternate" href="http://www.cnblogs.com/speeding/archive/2012/01/31/2332411.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/speeding/archive/2012/01/31/2332411.html"/><content type="html">&lt;p&gt;从2007年2月1日开始坚持用supermemo背单词整整5周年了，在2011年新增词条较少，刚刚到6900，鼓励自己坚持下去！&lt;/p&gt;&#xD;
&lt;p&gt;&lt;img src="http://pic002.cnblogs.com/images/2012/3787/2012013020582381.jpg" alt="" /&gt;&lt;/p&gt;&#xD;
&lt;p&gt;&lt;img src="http://pic002.cnblogs.com/images/2012/3787/2012013021011032.jpg" alt="" width="738" height="497" /&gt;&lt;/p&gt;&lt;img src="http://www.cnblogs.com/speeding/aggbug/2332411.html?type=1" width="1" height="1" alt=""/&gt;&lt;p&gt;&lt;a href="http://www.cnblogs.com/speeding/archive/2012/01/31/2332411.html" target="_blank"&gt;本文链接&lt;/a&gt;&lt;/p&gt;</content></entry><entry><id>http://www.cnblogs.com/speeding/archive/2011/12/28/2300827.html</id><title type="text">美国之行攻略</title><summary type="text">2011年有幸促成了美国之行，回想起来上一次去美国已是10年之前的事了，由于那次的美国之行有个华人旅游接待，其它时间都在houston培训，因此在美国待了20多天竟然对住宿、出行、购物等诸多方面一无所知。由于本次美国之行的任务需要，Washington.D.C.和Houston都是必须要去的地方，而洛杉矶或者旧金山是必须要经过的地方，因此我们的这次美国之行要贯穿美国的东、西海岸，由于机票的预订不由我们控制，5趟机票就已经基本花光了全部预算，已无力承担找导游的费用，所以注定了这次的美国之行是一次自助之旅，回想一步一步在美国闯荡的历程，收获也颇丰。出行前要携带的东西：护照Passport（必须携带</summary><published>2011-12-28T07:35:00Z</published><updated>2011-12-28T07:35:00Z</updated><author><name>毒龙的程序人生</name><uri>http://www.cnblogs.com/speeding/</uri></author><link rel="alternate" href="http://www.cnblogs.com/speeding/archive/2011/12/28/2300827.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/speeding/archive/2011/12/28/2300827.html"/><content type="html">&lt;p&gt;2011年有幸促成了美国之行，回想起来上一次去美国已是10年之前的事了，由于那次的美国之行有个华人旅游接待，其它时间都在houston培训，因此在美国待了20多天竟然对住宿、出行、购物等诸多方面一无所知。&lt;/p&gt;&#xD;
&lt;p&gt;由于本次美国之行的任务需要，Washington.D.C.和Houston都是必须要去的地方，而洛杉矶或者旧金山是必须要经过的地方，因此我们的这次美国之行要贯穿美国的东、西海岸，由于机票的预订不由我们控制，5趟机票就已经基本花光了全部预算，已无力承担找导游的费用，所以注定了这次的美国之行是一次自助之旅，回想一步一步在美国闯荡的历程，收获也颇丰。&lt;/p&gt;&#xD;
&lt;p&gt;&lt;strong&gt;出行前要携带的东西：&lt;/strong&gt;&lt;/p&gt;&#xD;
&lt;p&gt;护照Passport（必须携带，是在境外的唯一身份证明）、身份证（在国内住宿还要用）、双币信用卡（有这个会非常方便）、少量美元现金（给小费、打投币电话等）、驾照（想租车的人一定要带着）、护照的复印件（与护照分开放，防止把护照丢了的特殊情况）、邀请函（在入境时给移民官出示，会说一堆话方便）、电子机票（各个航班的公司名、航班号、始发地、目的地、起飞时间、到达时间等，如果有航站楼信息更好）、酒店预订单（住宿时给前台出示，可以很快入住）、笔记本电脑（上网方便，带个iPad也行）、充电器（美国用的都是110V的标准，确认各个设备是否支持，一般的电脑、手机、剃须刀的充电器都没问题）、手机（可以开通国际漫游服务）、旧手机（一般的三频手机就行，可以在美国买个本地卡插上，国内的山寨手机最好别带）、剃须刀（男人必备）、相机、海关锁（海关检查人员可以打开你的箱子进行检查，还不用破坏你的锁）、捆箱带（用一根特殊颜色的捆箱带可以方便的在一大堆行李中快速找到自己的行李，减少出机场的时间）、衣物（提前查询各地的温度和天气情况）、牙刷和牙膏（美国的酒店一般不提供这类东西，但都提供肥皂）、拖鞋、烧水壶（美国不提供热水，如果想泡方便面或泡茶，就要带上，但会增加行李的体积）、药（感冒药、肠胃药、创可贴备上一点点）、方便背包（平时出门应该带个腰包更加方便）、小本子与笔（如果英语不好，在问路时可以用上）。&lt;/p&gt;&#xD;
&lt;p&gt;&lt;strong&gt;预订酒店：&lt;/strong&gt;&lt;/p&gt;&#xD;
&lt;p&gt;在机票的各个航班确定之后，就可以安排预订酒店了，SXD这个驴友的出国经验发挥了巨大作用，从expedia网站上用了2天时间完成3个酒店的预订，在里根机场附近的Hilton酒店（3.5星）是住过的最贵的酒店，每晚费用高达89.14$（房间费79.20$，税和服务费为9.94$，不含早餐），在houston的2星房间最便宜，每晚59.11$（房间50.99$，税和服务费8.12$，含大陆早餐），而洛杉矶的同样2星房间要73.64$（房间费64.18$，税和服务费为9.46$，含大陆早餐）。用国内的双币信用卡就可以完成费用的支付（美国出行带着一张信用卡是非常必要的，在各个地方都可以刷卡，用现金购物的非常少见，在有的飞机上甚至不能用现金买单），由于行程较紧，航班都在下午5点左右起飞，所以选择的这些酒店都离机场较近，一般不超过3公里。但根据后来的行程看来，酒店与机场的距离还可以再远一点，只要能提供免费的shuttle就行。所谓shuttle就是来往于机场与各个地点之间穿梭的大巴。美国的交通工具非常发达，各种shuttle以机场为中心，把人们从各处送到机场，也可以把游客送往各个角落，是一种非常经济的出行方式。 订酒店时也明白了queen bed和king bed，美国的queen bed就是1.5米x2米的床，睡上2个普通人一般没问题。&lt;/p&gt;&#xD;
&lt;p&gt;&lt;strong&gt;入关与转机：&lt;/strong&gt;&lt;/p&gt;&#xD;
&lt;p&gt;第一站是华盛顿，但旅行社给订了Continental Airlines(大陆航空公司，简称CO）的联程机票，要经过纽约的Newark机场进行转机。在北京机场check in和拖运行李时，说明了华盛顿是终点站时，会同时拿到2张登机牌，一张是北京至newark，另一张是newark到华盛顿。由于Newark机场是入境的机场，所以要在这里完成入关手续。在飞机上，机组人员会向非美国人员发放I-94入境登记表和海关申报单，下飞机后拿着填好的表格、护照、邀请函进行入境登记，由于国际航班都是大飞机，因此要排长长的队来完成这项手续，这就是入关最花时间的地方。在我排到入关的窗口时，出示了邀请函并说明了团队的人数后，移民官只问了一句出境的时间，很快就在VISA上盖了一个章，并在I-94表格的出境单上盖章（要认真地收好这张小纸在回国时收回），然后要取出行李，在出口的路上会有提示，只需将行李扔到那个transfer通道即可，然后再过安检通道即可，美国的安检果然比较严格，鞋子和皮带都要解下来，并通过一个全身扫描式的检查。 在newark拿行李时出了一点小的插曲，我的行李箱的左侧轮子断掉了，问值班人员说是在washington办理即可。我在dulles机场拿到行李后，在转盘附近找到行李claim处进行问题申报，工作人员给我一张免责声明，原来像损坏轮子之类的问题是不在索赔范围内的。&lt;/p&gt;&#xD;
&lt;p&gt;&lt;strong&gt;机场到酒店：&lt;/strong&gt;&lt;/p&gt;&#xD;
&lt;p&gt;到达华盛顿的机场是dulles机场，离我们订的酒店有50公里的距离，酒店与reagan机场较近，所以酒店只提供到reagon机场的free shuttle，而下飞机之后如何赶往酒店是美国之行的第一个比较现实的问题，经过多方询问发现还是shuttle最省钱，还可以从网站上直接预定。很多公司都提供shuttle服务，但在dulles机场只找到了supershuttle公司的服务信息，登录公司的网站（不像国内假冒网站满天飞，听在美国的一个朋友说，美国的服务性很正规，想找个假的都难）输入一些基本信息和信用卡信息很快就能完成预定，第1人要29$，以后每人要10$，油费要5$，小费可以自己填，填写时我还google了一个优惠券coupon，省了10$，最终70$搞定。 下飞机后，shuttle站在dulles机场按照一些标记还是比较容易找到的，一般在机场的下层，很快就能发现supershuttle的服务柜台，出示预订单后，等待了没有5分钟就坐上了大巴，一切都如预订时说明的一样，这个大巴限乘7人，除了我们5人之外，另外2人也互不认识，大巴首先把其中1人送到家，然后再送我们5人。 在hilton酒店发现电梯与国内的一点不同，除了1、2、3等楼层外，还多了一个L按钮，原来是指lobby大厅。&lt;/p&gt;&#xD;
&lt;p&gt;很多酒店提供了到机场的free shuttle，只需要提前跟酒店说明乘坐shuttle的时间和人数，可以方便和准时的到达机场。一家小酒店提供的free shuttle竟然还有时间限制，只提供了6点到10点的（还伸手要小费），这就意味着其它时间只能打车了。还是Super8比较正规，从早晨4点就有free shuttle，一直到深夜。&lt;/p&gt;&#xD;
&lt;p&gt;&lt;strong&gt;吃饭问题：&lt;/strong&gt;&lt;/p&gt;&#xD;
&lt;p&gt;用国内挣的那点人民币来美国的餐馆吃饭不仅交税还要给服务员18%左右的小费，总会感觉贵得无法承受，只有麦当劳之类的快餐来得实惠，3-4$就能把肚子填饱，可乐还能随便添。如果饿了几天的肚子，也可以找个自助的buffet，基本上10$可以腐败一顿。&lt;/p&gt;&#xD;
&lt;p&gt;早餐一般在住宿的酒店里免费解决，大陆早餐(Continental breakfast)把肚子填饱还是没有问题的，有面包、果酱、牛奶、咖啡、麦片、蛋糕、果汁等，以前在中国的酒店里没有留意，回国后发现汉庭快捷酒店里在餐厅的一角也都有类似这样的西式早餐。&lt;/p&gt;&#xD;
&lt;p&gt;连续的吃上几顿西餐，有些中国胃就有些吃不消了，没有面条、稀饭、大米、中国菜，只有面包、热狗、牛肉、生菜、可乐、冷饮，如果不适应这些，估计在美国就要受罪了。&lt;/p&gt;&#xD;
&lt;p&gt;&lt;strong&gt;华盛顿DC：&lt;/strong&gt;&lt;/p&gt;&#xD;
&lt;p&gt;一般说华盛顿是指美国的州名，而D.C.才是指美国的首都，到了DC当然就是看看南草坪、白宫、林肯纪念馆、博物馆了，从地铁的Federal Triangle出来，一路走过来还不用花一分钱。&lt;/p&gt;&#xD;
&lt;p&gt;&lt;a href="http://images.cnblogs.com/cnblogs_com/speeding/201112/201112281534232692.jpg"&gt;&lt;img style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border: 0px;" title="dc_metro" src="http://images.cnblogs.com/cnblogs_com/speeding/201112/20111228153424250.jpg" alt="dc_metro" width="426" height="313" border="0" /&gt;&lt;/a&gt;&lt;/p&gt;&#xD;
&lt;p&gt;&lt;strong&gt;购物：&lt;/strong&gt;&lt;/p&gt;&#xD;
&lt;p&gt;在美国各地的消费税不太一样，对于有钱的美国人，他不一定了解各地的税率，而对于我们这种集中购物的人们来说，了解一下税率则是能省一些费用。去美国之前原以为华盛顿DC这样的大城市消费税应该最高，但实际上正好相反，在D.C.区的消费税为6%，而在D.C.西边的virginia的消费税只有5%，所以住在Virginia州的arlington市比较实惠，出行也挺方便，乘坐地铁可以很方便的到达DC区。&lt;/p&gt;&#xD;
&lt;p&gt;去美国后还一定要去逛逛premium outlets，几百家的精品店或工厂店在这里云集，在国内卖得很贵的品牌在这里会有一个非常不错的价格，就是一些美国人也会开车到这里。 这次在美国看了2个地方的outlets，一个是houston的(在郊区的西北角)，一个是洛杉矶的Camarillo Premium Outlets（离洛杉矶国际机场有90公里），感觉后者的outlets更大一些。&lt;/p&gt;&#xD;
&lt;p&gt;&lt;a href="http://images.cnblogs.com/cnblogs_com/speeding/201112/201112281534258189.jpg"&gt;&lt;img style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border: 0px;" title="houston_outlets" src="http://images.cnblogs.com/cnblogs_com/speeding/201112/201112281534266860.jpg" alt="houston_outlets" width="404" height="349" border="0" /&gt;&lt;/a&gt;&amp;nbsp;&lt;a href="http://images.cnblogs.com/cnblogs_com/speeding/201112/201112281534276436.jpg"&gt;&lt;img style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border: 0px;" title="los_angeles_outlets" src="http://images.cnblogs.com/cnblogs_com/speeding/201112/201112281534298237.jpg" alt="los_angeles_outlets" width="440" height="351" border="0" /&gt;&lt;/a&gt;&lt;/p&gt;&#xD;
&lt;p&gt;&lt;strong&gt;WIFI：&lt;/strong&gt;&lt;/p&gt;&#xD;
&lt;p&gt;去美国之前听说美国网络发达，到处是WIFI，也现实情况是想用免费的WIFI也不太容易。在许多机场的WIFI都不免费，提供免费WIFI的机场速度也很慢，连个QQ发2条消息都着急，只有在一天早晨的麦当劳快餐感觉免费的WIFI速度非常快，小旅馆提供的免费WIFI虽然经常不太稳定，但还是完成了搜寻地图路线等重要任务。&lt;/p&gt;&#xD;
&lt;p&gt;&lt;strong&gt;打的：&lt;/strong&gt;&lt;/p&gt;&#xD;
&lt;p&gt;要想方便的出行，应该还是坐出租车，不过也是非常贵。出租车不是满大街乱跑，而是打电话预约，在洛杉矶城市里也可以看到一些Taxi在专门的区域等待。在houston坐了一次taxi，起步2/11英里是2.5$，以后每1/11英里0.17$，也有等待费、夜行费等，Houston跑45公里总共花了64$。&lt;/p&gt;&#xD;
&lt;p&gt;&lt;strong&gt;租车自驾：&lt;/strong&gt;&lt;/p&gt;&#xD;
&lt;p&gt;美国是一个活在汽车上的城市，没有车相当不方便。所以更方便更经济的出行工具就是自己租车了。国内的驾照在美国是可以直接用的（不像一些人所说的还要正规的翻译机构翻译公证之说），只需拿着护照、驾照、信用卡在avis，badget等租车的地点办理相关手续即可，顺利的话应该不用10分钟。我们这次租车由于遇到了圣诞，费用比平时高出了将近一半，普通的ford经济轿车加上保险花了大概90多美元。还车手续也非常简单，在租用时车是满油的，返还时加满就行（租车的时候最好记得问一下汽车该加几号的油），5分钟之内就办完手续走人。&lt;/p&gt;&#xD;
&lt;p&gt;在美国开车，导航软件非常重要，这回我的iPhone预先安排好的tomtom发挥了重要作用，里面安装的是美国离线地图，不需要任何的电话卡和网络信号就可以导航（当然得用GPS信号），导航提示也相当人性，显示出几个车道，提前告诉你在哪几条车道上行驶。另外也安装过navigon软件，也可以使用，只是查过离线的地图，没有用于实际导航。&lt;/p&gt;&#xD;
&lt;p&gt;&lt;a href="http://images.cnblogs.com/cnblogs_com/speeding/201112/201112281534297223.png"&gt;&lt;img style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border: 0px;" title="tomtom" src="http://images.cnblogs.com/cnblogs_com/speeding/201112/201112281534309208.png" alt="tomtom" width="172" height="244" border="0" /&gt;&lt;/a&gt;&lt;/p&gt;&#xD;
&lt;p&gt;&lt;strong&gt;地铁：&lt;/strong&gt;&lt;/p&gt;&#xD;
&lt;p&gt;最便宜的交通就是地铁和巴士MetroBus了，在洛杉矶可以花5美元买一天的地铁票，包括地下和地面的metrobus，几乎可以到达各个地方。&lt;/p&gt;&#xD;
&lt;p&gt;地铁有多种票，按次购买、按天购买，30天的车票等等，根据自己的情况选择性购买即可，在地铁口会有多台自动售票机，可以用现金购买也可以用刷信用卡，当然每一次购买时最好能找个人帮助一下。&lt;/p&gt;&#xD;
&lt;p&gt;&lt;strong&gt;小费问题：&lt;/strong&gt;&lt;/p&gt;&#xD;
&lt;p&gt;一直没搞清楚该给多少小费，一般在酒店的枕头上留上1、2美元，给shuttle的司机2-5美元，在饭馆留下5$，吃快餐不需要给小费。&lt;/p&gt;&#xD;
&lt;p&gt;&lt;strong&gt;信用卡：&lt;/strong&gt;&lt;/p&gt;&#xD;
&lt;p&gt;在美国一定要有一个信用卡，在国内办理双币的VISA信用卡就行，可以直接用人民币购汇还款，美国刷卡消费时都不需要密码，总是感觉那么的不安全，听美国的同学说，美国有完善的信用机制，如果钱被盗刷了银行要赔钱。&lt;/p&gt;&#xD;
&lt;p&gt;&lt;strong&gt;电话：&lt;/strong&gt;&lt;/p&gt;&#xD;
&lt;p&gt;在美国找同学办了一张AT&amp;amp;T的电话卡，有一种预付费的卡很适合，每天2$包干，美国境内电话随便打，免费发国内短信。&lt;/p&gt;&#xD;
&lt;p&gt;&lt;strong&gt;行李：&lt;/strong&gt;&lt;/p&gt;&#xD;
&lt;p&gt;美国境内航班也只让拖运一件行李，手提一件登机，手提的行李千万别超过标准尺寸，拖运的行李超出1件收35$，国际航班超出1件收70$。&lt;/p&gt;&lt;img src="http://www.cnblogs.com/speeding/aggbug/2300827.html?type=1" width="1" height="1" alt=""/&gt;&lt;p&gt;&lt;a href="http://www.cnblogs.com/speeding/archive/2011/12/28/2300827.html" target="_blank"&gt;本文链接&lt;/a&gt;&lt;/p&gt;</content></entry><entry><id>http://www.cnblogs.com/speeding/archive/2011/11/20/2256143.html</id><title type="text">iOS开发笔记：导航栏里的&amp;quot;Back&amp;quot;按钮显示不出来</title><summary type="text">近日写了个有二级导航栏的程序，第一层导航栏点进去时有“Back”按钮，但再进入第二层时就找不到Back按钮了，百思不得其解，就从网上找了一段代码硬把BACK的按钮加上。//定制导航栏左边按钮上的字符串UIBarButtonItem *backButton = [[UIBarButtonItem alloc] initWithTitle:@&amp;quot;Back&amp;quot; style:UIBarButtonItemStylePlain target:nil action:nil];self.navigationItem.backBarButtonItem = backButton;但后来在coc</summary><published>2011-11-20T06:46:00Z</published><updated>2011-11-20T06:46:00Z</updated><author><name>毒龙的程序人生</name><uri>http://www.cnblogs.com/speeding/</uri></author><link rel="alternate" href="http://www.cnblogs.com/speeding/archive/2011/11/20/2256143.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/speeding/archive/2011/11/20/2256143.html"/><content type="html">&lt;p&gt;近日写了个有二级导航栏的程序，第一层导航栏点进去时有&amp;ldquo;Back&amp;rdquo;按钮，但再进入第二层时就找不到Back按钮了，百思不得其解，就从网上找了一段代码硬把BACK的按钮加上。&lt;/p&gt;&#xD;
&lt;pre&gt;//定制导航栏左边按钮上的字符串&lt;/pre&gt;&#xD;
&lt;pre&gt;UIBarButtonItem *backButton = [[UIBarButtonItem alloc] initWithTitle:@"Back" style:UIBarButtonItemStylePlain target:nil action:nil];&lt;/pre&gt;&#xD;
&lt;pre&gt;self.navigationItem.backBarButtonItem = backButton;&lt;/pre&gt;&#xD;
&lt;p&gt;但后来在cocoachina论坛里发现，原来是导航栏的title如果是空串，则既没有标题也没有BACK按钮，也就是说根本不用上面那种复杂的解决办法。&lt;/p&gt;&#xD;
&lt;p&gt;也就是说我的rootViewController.title没有赋值，secondViewController.title是用下面语句来赋值的：&lt;/p&gt;&#xD;
&lt;pre&gt;secondViewController.title = [[NSString alloc] init]; //问题就在这一句上&lt;/pre&gt;&#xD;
&lt;p&gt;上面一句画蛇添足，如果不写这句，BACK按钮仍能出现，最后把上面一句修改成：&lt;/p&gt;&#xD;
&lt;pre&gt;secondViewController.title = [[NSString alloc] initWithString:@&amp;rdquo;My Title&amp;rdquo;];&lt;/pre&gt;&#xD;
&lt;p&gt;这回可以在最后一层View里看到BACK按钮了。&lt;/p&gt;&lt;img src="http://www.cnblogs.com/speeding/aggbug/2256143.html?type=1" width="1" height="1" alt=""/&gt;&lt;p&gt;&lt;a href="http://www.cnblogs.com/speeding/archive/2011/11/20/2256143.html" target="_blank"&gt;本文链接&lt;/a&gt;&lt;/p&gt;</content></entry><entry><id>http://www.cnblogs.com/speeding/archive/2011/11/16/2250677.html</id><title type="text">iOS开发笔记：Views</title><summary type="text">看《Programming iOS 4》的第14章Views，记住这些要点：（1）UIView也是UIResponder的子类；（2）View有树状的层次结构；（3）view可以用XIB创建，也可以用代码来创建；（4）UIWindow也是UIView的子类；（5）view的坐标原点在左上角；（6）view显示不出来可能是忘了调用initWithFrame；（7）调用sizeToFit，会让view根据内容自动适应大小；（8）CGRect f = [[UIScreen mainScreen] applicationFrame]; 可取得不包括顶端状态条的区域对象；（9）CGRectInset可以</summary><published>2011-11-16T01:35:00Z</published><updated>2011-11-16T01:35:00Z</updated><author><name>毒龙的程序人生</name><uri>http://www.cnblogs.com/speeding/</uri></author><link rel="alternate" href="http://www.cnblogs.com/speeding/archive/2011/11/16/2250677.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/speeding/archive/2011/11/16/2250677.html"/><content type="html">&lt;p&gt;看《Programming iOS 4》的第14章Views，记住这些要点：&lt;/p&gt;&#xD;
&lt;p&gt;（1）UIView也是UIResponder的子类；&lt;/p&gt;&#xD;
&lt;p&gt;（2）View有树状的层次结构；&lt;/p&gt;&#xD;
&lt;p&gt;（3）view可以用XIB创建，也可以用代码来创建；&lt;/p&gt;&#xD;
&lt;p&gt;（4）UIWindow也是UIView的子类；&lt;/p&gt;&#xD;
&lt;p&gt;（5）view的坐标原点在左上角；&lt;/p&gt;&#xD;
&lt;p&gt;（6）view显示不出来可能是忘了调用initWithFrame；&lt;/p&gt;&#xD;
&lt;p&gt;（7）调用sizeToFit，会让view根据内容自动适应大小；&lt;/p&gt;&#xD;
&lt;p&gt;（8）CGRect f = [[UIScreen mainScreen] applicationFrame]; 可取得不包括顶端状态条的区域对象；&lt;/p&gt;&#xD;
&lt;p&gt;（9）CGRectInset可以得到一个矩形内边上、下、左、右都缩小一些的矩形；&lt;/p&gt;&#xD;
&lt;p&gt;（10）直接修改bounds的宽和高，则是中心点不变，而宽高发生变化；&lt;/p&gt;&#xD;
&lt;p&gt;（11）用bounds和center来修改view的位置和大小！&lt;/p&gt;&#xD;
&lt;p&gt;（12）这些方法convertPoint:fromView:, convertPoint:toView:, convertRect:fromView:, convertRect:toView:可以在不同的坐标系间转换；&lt;/p&gt;&lt;img src="http://www.cnblogs.com/speeding/aggbug/2250677.html?type=1" width="1" height="1" alt=""/&gt;&lt;p&gt;&lt;a href="http://www.cnblogs.com/speeding/archive/2011/11/16/2250677.html" target="_blank"&gt;本文链接&lt;/a&gt;&lt;/p&gt;</content></entry><entry><id>http://www.cnblogs.com/speeding/archive/2011/11/15/2245026.html</id><title type="text">【转译与感受】成为专家的5条原则</title><summary type="text">英文原文来自于《5 Simple Principles for Becoming an Expert》。There aren’t shortcuts.Merely direct paths.Most people don’t take them, because they frighten us.Things that look like shortcuts are usually detours disguised as less work.-Seth GodinFor the past month, I’ve been studying people who have become ski</summary><published>2011-11-15T07:42:00Z</published><updated>2011-11-15T07:42:00Z</updated><author><name>毒龙的程序人生</name><uri>http://www.cnblogs.com/speeding/</uri></author><link rel="alternate" href="http://www.cnblogs.com/speeding/archive/2011/11/15/2245026.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/speeding/archive/2011/11/15/2245026.html"/><content type="html">&lt;p&gt;英文原文来自于《&lt;a href="http://zenhabits.net/expert/"&gt;5 Simple Principles for Becoming an Expert&lt;/a&gt;》。&lt;/p&gt;&#xD;
&lt;blockquote style='border:2px solid #EFEFEF;color:#333333;padding:5px 10px;'&gt;&#xD;
&lt;p&gt;There aren&amp;rsquo;t shortcuts.&lt;/p&gt;&#xD;
&lt;p&gt;Merely direct paths.&lt;/p&gt;&#xD;
&lt;p&gt;Most people don&amp;rsquo;t take them, because they frighten us.&lt;/p&gt;&#xD;
&lt;p&gt;Things that look like shortcuts are usually detours disguised as less work.&lt;/p&gt;&#xD;
&lt;p&gt;-Seth Godin&lt;/p&gt;&#xD;
&lt;/blockquote&gt;&#xD;
&lt;p&gt;For the past month, I&amp;rsquo;ve been studying people who have become skilled and knowledgeable enough to be called &amp;ldquo;experts&amp;rdquo; in preparation for the launch of a new blog.&lt;/p&gt;&#xD;
&lt;p&gt;在过去的几个月内，为了准备发布一篇博文，我研究了一些有丰富技能和渊博知识的称为&amp;ldquo;专家&amp;rdquo;的人。&lt;/p&gt;&#xD;
&lt;p&gt;I&amp;rsquo;ve interviewed experts, spent time with them and have &lt;a href="http://expertenough.com/196/expert-shortcuts"&gt;asked them whether shortcuts exist to becoming an expert&lt;/a&gt; (and received some incredible responses like the one from Seth Godin above). I&amp;rsquo;ve even read books by people who &lt;a href="http://www.amazon.com/Outliers-Story-Success-Malcolm-Gladwell/dp/0316017922"&gt;study success&lt;/a&gt; and expertise (expertologists?).&lt;/p&gt;&#xD;
&lt;p&gt;我已经采访许多专家，与他们在一起问他们善于是否存在一条捷径成为专家（其中的Seth Godin给出了不可思议的回答）。许多研究成功学和专家知识的人写的书我都读过。 &lt;br /&gt;&lt;br /&gt;Part of me expected to find some secret shortcuts to becoming an expert, and part of me knew better. I&amp;rsquo;m most interested in how people gain expert-level skills and knowledge on multiple subjects quickly. Being a renaissance man has always appealed to me, as has getting very good at just a couple of things. Both types of expertise are as fascinating as they are useful.&lt;/p&gt;&#xD;
&lt;p&gt;Despite wanting to believe secrets and shortcuts to expertise exist, deep down I think I&amp;rsquo;ve always known what you probably know too: becoming an expert takes hard work, focus and dedication.&lt;/p&gt;&#xD;
&lt;p&gt;There are certainly ways to become an expert faster than traditional teaching might dictate, but there&amp;rsquo;s no getting around putting your time in.&lt;/p&gt;&#xD;
&lt;p&gt;The good news is, becoming an expert is much like changing a habit. The fact that secrets don&amp;rsquo;t exist is a &lt;em&gt;good thing&lt;/em&gt; in my book, because we can stop wasting time searching for secrets and start making direct progress towards our goals.&lt;/p&gt;&#xD;
&lt;p&gt;Instead of looking for secrets, rely simply on these best practices for becoming an expert:&lt;/p&gt;&#xD;
&lt;p&gt;&lt;strong&gt;1. Realize expert is a relative term.&lt;/strong&gt;&lt;/p&gt;&#xD;
&lt;p&gt;&lt;strong&gt;专家是一个&amp;ldquo;相对的&amp;rdquo;概念。&lt;/strong&gt;&lt;/p&gt;&#xD;
&lt;p&gt;I&amp;rsquo;m a big believer in relative expertise. For most purposes, you don&amp;rsquo;t need to be the world&amp;rsquo;s foremost expert on something to benefit from what you know. Being &lt;em&gt;expert enough&lt;/em&gt; means knowing enough or being good enough to accomplish your goals, however modest or grand they may be.&lt;/p&gt;&#xD;
&lt;p&gt;Someone once told me to think about expertise as a scale from one to ten, not as an absolute. If you&amp;rsquo;re a &lt;em&gt;two&lt;/em&gt; or &lt;em&gt;three&lt;/em&gt; on the scale, you&amp;rsquo;re expert enough to help people who are &lt;em&gt;ones&lt;/em&gt; and &lt;em&gt;twos&lt;/em&gt;. In fact, you might be better suited to helping beginners than a &lt;em&gt;ten&lt;/em&gt; on the expert scale, because you&amp;rsquo;re closer to their level and better understand where they&amp;rsquo;re coming from.&lt;/p&gt;&#xD;
&lt;p&gt;可以把专家分为1到10级，如果你是2、3级的水平，你就足以成为1、2级水平的专家，此时让10级水平的专家来指导初级水平者并不一定适合，因为你的水平与初学者更接近，你更了解他们的情况。&lt;/p&gt;&#xD;
&lt;p&gt;&lt;strong&gt;2. Learn from books and experience.&lt;/strong&gt;&lt;/p&gt;&#xD;
&lt;p&gt;&lt;strong&gt;从书中学习并实践。&lt;/strong&gt;&lt;/p&gt;&#xD;
&lt;p&gt;There&amp;rsquo;s a time for learning and a time for practicing. A true expert needs to have both &lt;em&gt;expertise&lt;/em&gt; (book learning) and &lt;em&gt;experience&lt;/em&gt; (real-world practice).&lt;/p&gt;&#xD;
&lt;p&gt;For example, if you want to become a bodybuilder, all the reading you can possibly do won&amp;rsquo;t help you actually build muscle (unless they&amp;rsquo;re really heavy books). On the other hand, would-be bodybuilders who just jump into lifting weights without learning about best practices won&amp;rsquo;t know time-saving techniques and principles for optimum rep counts, resting time between sets, nutrition, supplements and more.&lt;/p&gt;&#xD;
&lt;p&gt;There&amp;rsquo;s a balance between learning and doing. Most people spend far too much time doing one or the other. If you&amp;rsquo;ve been mostly learning, it&amp;rsquo;s probably time to start doing. If you&amp;rsquo;ve long been practicing without the results you&amp;rsquo;re looking for, it&amp;rsquo;s time to learn more and time to focus, which brings us to point #3.&lt;/p&gt;&#xD;
&lt;p&gt;在学习和实践2方面进行平衡。不能只学不做，也不能只做不学。&lt;/p&gt;&#xD;
&lt;p&gt;&lt;strong&gt;3. Focus.&lt;/strong&gt;&lt;/p&gt;&#xD;
&lt;p&gt;&lt;strong&gt;专注&lt;/strong&gt;。&lt;/p&gt;&#xD;
&lt;p&gt;Just as Leo advocates for changing habits, focus is a powerful ally for gaining expertise (especially in the beginning).&lt;/p&gt;&#xD;
&lt;p&gt;When you start learning something new, it&amp;rsquo;s easy to become daunted by everything you have to master to reach your final goal. Instead of just focusing on the very next step you need to take, it&amp;rsquo;s easy to be overwhelmed by the bigger picture.&lt;/p&gt;&#xD;
&lt;p&gt;Focus is critical for two reasons. First, it helps you pay attention to &lt;a href="http://zenhabits.net/doing/"&gt;the task at hand&lt;/a&gt; so you don&amp;rsquo;t become paralyzed by the thought of everything to follow. Second, you have to focus so you can ignore all the possible distractions that are always waiting to pull you off your path.&lt;/p&gt;&#xD;
&lt;p&gt;You can follow Leo&amp;rsquo;s &lt;a href="http://zenhabits.net/4/"&gt;four steps for changing habits&lt;/a&gt; to focus on what you need to become an expert:&lt;/p&gt;&#xD;
&lt;blockquote style='border:2px solid #EFEFEF;color:#333333;padding:5px 10px;'&gt;&#xD;
&lt;p&gt;&lt;/p&gt;&#xD;
&lt;p&gt;1. Start very small.&lt;/p&gt;&#xD;
&lt;p&gt;2. Do only one change at a time.&lt;/p&gt;&#xD;
&lt;p&gt;3. Be present and enjoy the activity (don&amp;rsquo;t focus on results).&lt;/p&gt;&#xD;
&lt;p&gt;4. Be grateful for every step you take.&lt;/p&gt;&#xD;
&lt;/blockquote&gt;&#xD;
&lt;p&gt;&lt;strong&gt;4. Get outside help.&lt;/strong&gt;&lt;/p&gt;&#xD;
&lt;p&gt;&lt;strong&gt;寻求外界帮助。&lt;/strong&gt;&lt;/p&gt;&#xD;
&lt;p&gt;When I asked productivity coach &lt;a href="http://www.productiveflourishing.com/"&gt;Charlie Gilkey&lt;/a&gt; about whether shortcuts exist to becoming an expert, he pointed out another critical aspect of gaining expertise:&lt;/p&gt;&#xD;
&lt;blockquote style='border:2px solid #EFEFEF;color:#333333;padding:5px 10px;'&gt;&#xD;
&lt;p&gt;When you look at peak-performing experts, you&amp;rsquo;ll often see that they have either coaches, involved mentors, or a pack of growth-oriented friends that help them excel. You simply can&amp;rsquo;t gauge your performance as well as someone external can, and, past the &amp;ldquo;competent&amp;rdquo; stage of skill acquisition, it gets increasingly harder to both observe what you&amp;rsquo;re doing and find quick and easy answers as to how to improve.&lt;/p&gt;&#xD;
&lt;/blockquote&gt;&#xD;
&lt;p&gt;At some point, learning and practicing will only get you so far. You need feedback from outsiders to uncover more opportunities for improvement.&lt;/p&gt;&#xD;
&lt;p&gt;&lt;strong&gt;5. Make mistakes.&lt;/strong&gt;&lt;/p&gt;&#xD;
&lt;p&gt;&lt;strong&gt;犯错。&lt;/strong&gt;&lt;/p&gt;&#xD;
&lt;p&gt;Fear of failure might be the biggest opponent you&amp;rsquo;ll face on your road to learning new things.&lt;/p&gt;&#xD;
&lt;p&gt;Take something as simple as learning a language. As language hacking expert &lt;a href="http://zenhabits.net/fluent/"&gt;Benny Lewis explains&lt;/a&gt;, people who speak a language learn it. People who don&amp;rsquo;t speak a language don&amp;rsquo;t learn it. It&amp;rsquo;s simple: you need to learn &lt;em&gt;and&lt;/em&gt; practice. What keeps many people from practicing a language is the fear of making mistakes and embarrassing themselves.&lt;/p&gt;&#xD;
&lt;p&gt;You have to be willing to make mistakes &lt;a href="http://zenhabits.net/god/"&gt;in order to learn and grow&lt;/a&gt;. That&amp;rsquo;s what practice is. The sooner you get comfortable with making mistakes, the quicker you&amp;rsquo;ll learn your new skill.&lt;/p&gt;&#xD;
&lt;p&gt;学习和实践的过程中肯定会不断地犯错，没有错误就没有进步。&lt;/p&gt;&#xD;
&lt;p&gt;&lt;/p&gt;&#xD;
&lt;p&gt;&lt;strong&gt;What&amp;rsquo;s on your wish list to learn and do?&lt;/strong&gt;&lt;/p&gt;&#xD;
&lt;p&gt;&lt;strong&gt;你会学习或执行哪一条？&lt;/strong&gt;&lt;/p&gt;&#xD;
&lt;p&gt;Maybe there&amp;rsquo;s a skill you&amp;rsquo;re actively trying to get better at, or maybe you&amp;rsquo;ve been afraid to get started. In either case, try these five simple principles and see if you can make a breakthrough.&lt;/p&gt;&#xD;
&lt;p&gt;在这些原则里，可能你正努力实践中，也可能望而却步，不管是哪种情况，试试这5个简介的原则可能你会有所突破。&lt;/p&gt;&#xD;
&lt;p&gt;Try becoming a (relative) expert in something you&amp;rsquo;ve always wanted to learn or do. There are few things as rewarding and fun as acquiring new skills and knowledge that enrich your life.&lt;/p&gt;&#xD;
&lt;p&gt;&lt;strong&gt;Corbett Barr is founder of &lt;a href="http://expertenough.com/"&gt;Expert Enough&lt;/a&gt;, where he helps people become experts of all levels. Read the full answers to the question he recently asked a group of experts: &lt;a href="http://expertenough.com/196/expert-shortcuts"&gt;do shortcuts exist to becoming an expert&lt;/a&gt;?.&lt;/strong&gt;&lt;/p&gt;&lt;img src="http://www.cnblogs.com/speeding/aggbug/2245026.html?type=1" width="1" height="1" alt=""/&gt;&lt;p&gt;&lt;a href="http://www.cnblogs.com/speeding/archive/2011/11/15/2245026.html" target="_blank"&gt;本文链接&lt;/a&gt;&lt;/p&gt;</content></entry><entry><id>http://www.cnblogs.com/speeding/archive/2011/11/10/2243859.html</id><title type="text">iPhone开发笔记：指定启动的主界面XIB文件，在xcode4.2里可以不指定MainWindow.xib了</title><summary type="text">在项目的Target的Summary的iPhone/iPod Deployment Info的Main Interface可以选择主程序启动时要加载的XIB文件。 在xcode4.2里面新建的Empty Window模板里不再出现MainWindow.xib了，看出代码更简洁了，我从4.2中把这些代码复制过来，稍微修改，就可以在4.0上编译了，这个工程可以 点这里下载 。 修改了下面几个地方：...</summary><published>2011-11-10T00:25:00Z</published><updated>2011-11-10T00:25:00Z</updated><author><name>毒龙的程序人生</name><uri>http://www.cnblogs.com/speeding/</uri></author><link rel="alternate" href="http://www.cnblogs.com/speeding/archive/2011/11/10/2243859.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/speeding/archive/2011/11/10/2243859.html"/><content type="html">&lt;p&gt;在项目的Target的Summary的iPhone/iPod Deployment Info的Main Interface可以选择主程序启动时要加载的XIB文件。&lt;/p&gt;  &lt;p&gt;在xcode4.2里面新建的Empty Window模板里不再出现MainWindow.xib了，看出代码更简洁了，我从4.2中把这些代码复制过来，稍微修改，就可以在4.0上编译了，这个工程可以 &lt;a href="http://files.cnblogs.com/speeding/EmptyWindowDemo.zip"&gt;点这里下载&lt;/a&gt; 。&lt;/p&gt;  &lt;p&gt;修改了下面几个地方：&lt;/p&gt;  &lt;p&gt;（1）把Deployment Target从iOS 5.0改回到iOS4.3。&lt;/p&gt;  &lt;p&gt;（2）把strong 改回retain。&lt;/p&gt;  &lt;p&gt;&lt;span &gt;在 &lt;a href="http://clang.llvm.org/docs/AutomaticReferenceCounting.html" rel="nofollow"&gt;Objective-C Automated Reference Counting (ARC)&lt;/a&gt;里面，strong用来代替retain。&lt;/span&gt;&lt;/p&gt;  &lt;p&gt;（3）&lt;span &gt;在LLVM3.0里又增加了@autoreleasepool这个特性，代码更简洁，但旧编译器不认了，改回原来的NSAutoreleasePool 代码即可。&lt;/span&gt;&lt;/p&gt;  &lt;div style="background-color: #F5F5F5;border: 1px solid #CCCCCC;padding-left:5px;padding-right:5px;"&gt;   &lt;pre&gt;NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init];&lt;br /&gt; [pool drain]; &lt;/pre&gt;&#xD;
&lt;/div&gt;&#xD;
&#xD;
&lt;p&gt;&lt;span &gt;（4）main.m里调用UIApplicationMain时，第4个参数把AppDelegate的类填上即可。&lt;/span&gt;&lt;/p&gt;&#xD;
&#xD;
&lt;div style="background-color: #F5F5F5;border: 1px solid #CCCCCC;padding-left:5px;padding-right:5px;"&gt;&#xD;
  &lt;pre&gt;&lt;span style="color: #0000ff"&gt;int&lt;/span&gt; retVal = UIApplicationMain(argc, argv, nil, NSStringFromClass([YourAppDelegate &lt;span style="color: #0000ff"&gt;class&lt;/span&gt;]));&lt;/pre&gt;&#xD;
&lt;/div&gt;&#xD;
&#xD;
&lt;p&gt;现在想执行主程序后，启动一个带导航栏的表视图，就可以这样了。&lt;/p&gt;&#xD;
&#xD;
&lt;p&gt;要在YourAppDelegate.h里加上navController&lt;/p&gt;&#xD;
&#xD;
&lt;div style="background-color: #F5F5F5;border: 1px solid #CCCCCC;padding-left:5px;padding-right:5px;"&gt;&#xD;
  &lt;pre&gt;&lt;span style="color: #0000ff"&gt;#import&lt;/span&gt; &amp;lt;UIKit/UIKit.h&amp;gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: #0000ff"&gt;@interface&lt;/span&gt; YourAppDelegate : UIResponder &amp;lt;UIApplicationDelegate&amp;gt;&lt;br /&gt;&lt;br /&gt;@property (retain, nonatomic) UIWindow *window;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: #008000"&gt;//&lt;/span&gt;&lt;span style="color: #008000"&gt;主窗口上要出现导航栏&lt;/span&gt;&lt;span style="color: #008000"&gt;&lt;br /&gt;&lt;/span&gt;@property (retain, nonatomic) UINavigationController *navController;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: #0000ff"&gt;@end&lt;/span&gt;&lt;/pre&gt;&#xD;
&lt;/div&gt;&#xD;
&#xD;
&lt;p&gt;在YourAppDelegate.m里：&lt;/p&gt;&#xD;
&#xD;
&lt;div style="background-color: #F5F5F5;border: 1px solid #CCCCCC;padding-left:5px;padding-right:5px;"&gt;&#xD;
  &lt;pre&gt;&lt;span style="color: #0000ff"&gt;@synthesize&lt;/span&gt; navController;&lt;br /&gt;&lt;br /&gt;- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions&lt;br /&gt;{&lt;br /&gt;    self.window = [[UIWindow alloc] initWithFrame:[[UIScreen mainScreen] bounds]];&lt;br /&gt;    &lt;span style="color: #008000"&gt;//&lt;/span&gt;&lt;span style="color: #008000"&gt; 下面的MyTableViewController是一个UITableViewController&lt;/span&gt;&lt;span style="color: #008000"&gt;&lt;br /&gt;&lt;/span&gt;    MyTableViewController *myTableViewController=[[[MyTableViewController alloc]initWithStyle:UITableViewStylePlain]autorelease];&lt;br /&gt;    self.navController = [[UINavigationController alloc] initWithRootViewController:myTableViewController];&lt;br /&gt;    [self.window addSubview:navController.view];&lt;br /&gt;&lt;br /&gt;    &lt;br /&gt;    self.window.backgroundColor = [UIColor whiteColor];&lt;br /&gt;    [self.window makeKeyAndVisible];&lt;br /&gt;    &lt;span style="color: #0000ff"&gt;return&lt;/span&gt; YES;&lt;br /&gt;}&lt;/pre&gt;&#xD;
&#xD;
  &lt;br /&gt;&lt;/div&gt;&#xD;
&#xD;
&lt;p&gt;在YourAppDelegate.m里的其它代码都不用改。&lt;/p&gt;&#xD;
&#xD;
&lt;p&gt;这样虽然没有MainWindow.xib，也可以用代码启动一个带导航栏的表视图了。&lt;/p&gt;&lt;img src="http://www.cnblogs.com/speeding/aggbug/2243859.html?type=1" width="1" height="1" alt=""/&gt;&lt;p&gt;&lt;a href="http://www.cnblogs.com/speeding/archive/2011/11/10/2243859.html" target="_blank"&gt;本文链接&lt;/a&gt;&lt;/p&gt;</content></entry><entry><id>http://www.cnblogs.com/speeding/archive/2011/11/03/2234421.html</id><title type="text">做个轻松省力的父母的几个原则</title><summary type="text">近日读到Leo Babauta的&amp;quot;The Rules of Effortless Parenting”这篇博文，在教育孩子方面对我有一些启发。1. Teach kids to be self-sufficient. Our kids started by learning how to pick up after themselves (as 1 and 2 year olds), and later learned how to feed themselves breakfast, brush their teeth and shower and dress themselves,</summary><published>2011-11-03T05:32:00Z</published><updated>2011-11-03T05:32:00Z</updated><author><name>毒龙的程序人生</name><uri>http://www.cnblogs.com/speeding/</uri></author><link rel="alternate" href="http://www.cnblogs.com/speeding/archive/2011/11/03/2234421.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/speeding/archive/2011/11/03/2234421.html"/><content type="html">&lt;p&gt;近日读到&lt;a href="http://leobabauta.com/"&gt;Leo Babauta&lt;/a&gt;的"The Rules of Effortless Parenting&amp;rdquo;这篇博文，在教育孩子方面对我有一些启发。&lt;/p&gt;&#xD;
&lt;p&gt;&lt;strong&gt;1. Teach kids to be self-sufficient&lt;/strong&gt;. Our kids started by learning how to pick up after themselves (as 1 and 2 year olds), and later learned how to feed themselves breakfast, brush their teeth and shower and dress themselves, wash dishes and clean up in the kitchen, clean their rooms, do laundry, etc. Our jobs as parents became tons easier, but it does take a little patient teaching in the beginning of each skill.&lt;/p&gt;&#xD;
&lt;p&gt;尽早的教会孩子自给自足，中国的家长在这方面都喜欢大包大揽，只让孩子学习，其它的事情一概不会。想想我自己的孩子也没有洗过几次碗、叠过几次被，估计只有上寄宿班时才是孩子自立的时候。&lt;/p&gt;&#xD;
&lt;p&gt;&lt;strong&gt;2. Teach older kids to help with the younger kids&lt;/strong&gt;. If you have multiple kids, this rule is golden. Our teens can help the little kids with anything. That makes our jobs a lot easier, and the older kids learn responsibility.&lt;/p&gt;&#xD;
&lt;p&gt;让大孩子帮助小孩子。在绝大多数都是独生子女的中国，这条几乎没用。&lt;/p&gt;&#xD;
&lt;p&gt;&lt;strong&gt;3. Teach them to solve problems&lt;/strong&gt;. This is really the main job of unschooling, which is the philosophy we follow as homeschoolers. Our kids don&amp;rsquo;t learn facts or even skills. They learn to solve problems on their own. If they know how to do this, they can learn any facts or skills they need to solve their problems. Want to learn how to write a computer program? That&amp;rsquo;s just another problem that you need to learn how to solve. Want to cook Thai food, or write a blog, or start a business, or build something? Problems that you can solve.&lt;/p&gt;&#xD;
&lt;p&gt;教会她们解决问题的办法，这一点对我影响最大。在给孩子讲解一些数学题时，直接就把过程一步一步地写出来，告诉她这样的题就得这么做。1个多月前给孩子和我之间定了一个协议，&amp;ldquo;每天给孩子讲1个电脑小知识&amp;rdquo;，前30天都是我拿出一个电脑小技巧直接教给她，在看了这篇文章后，改变了教育的思路，我的GTD系统里把任务改为&amp;ldquo;每天给孩子出一个电脑小问题，让她来解决&amp;rdquo;，看着孩子在解决一个问题时，用了多种办法去尝试，在解决这个问题的同时，又带来了其它的一些问题，甚至最后她的解决办法都是我之前没有想到过的。给孩子一些尝试、一些犯错的机会，在这个过程中学到的远远比填鸭式教育学的内容多，记忆得也更深刻！&lt;/p&gt;&#xD;
&lt;p&gt;&lt;strong&gt;4. Show them how to be passionate&lt;/strong&gt;. The other main thing you teach unschoolers, besides solving their own problems, is how to be passionate about something. If they know this, they will do work they&amp;rsquo;re passionate about as adults. How do you teach them this? By modeling it yourself. By doing projects with them where you&amp;rsquo;re passionate about something. Kids learn an amazing amount by watching and mimicking.&lt;/p&gt;&#xD;
&lt;p&gt;在她们面前表现得充满激情，孩子也会乐观的面对学习和生活。&lt;/p&gt;&#xD;
&lt;p&gt;&lt;strong&gt;5. Play with them outside, and be active&lt;/strong&gt;. Spending time with your kids is one of the best ways to show them you love them. Playing with them is one of the best ways to spend time with them. Playing outside shows them how to be active and have fun being active. I also stay active on my own, but I make sure they know what I&amp;rsquo;m doing, why, and how much fun it is. They have a role model who is healthy and fit, and that will help them for the rest of their lives.&lt;/p&gt;&#xD;
&lt;p&gt;积极地与她们在户外玩耍。在国内学校这铺天盖地的作业面前，连周末都得不到喘息之机（周六、周日各一个辅导班），更别说周一到周五了。小学时，晚上写完作业还能带着孩子去玩个轮滑或滑板，现在9点前能写完作业就感觉是老师们大发慈悲了。&lt;/p&gt;&#xD;
&lt;p&gt;&lt;strong&gt;6. Don&amp;rsquo;t overschedule&lt;/strong&gt;. Most parents schedule too many classes, sports, parties, activities. We give our kids lots of unstructured, unscheduled time. They have to figure out what to do with that time. That&amp;rsquo;s an important skill to learn. It also means their lives are less stressed out, as are ours, and they learn a slower pace of life.&lt;/p&gt;&#xD;
&lt;p&gt;别把日程表排得太满。不用排其它的，单单一大堆作业就把日程表排满了。&lt;/p&gt;&#xD;
&lt;p&gt;&lt;strong&gt;7. Don&amp;rsquo;t dote&lt;/strong&gt;. I&amp;rsquo;ve seen lots of parents that dote on everything their kids do, who are worried about every little thing their kid might touch or that might cause a fall. Back off, and give them some space. They need attention, but they also need some time alone to explore, to fall and get back up, to scrape their knees, to figure stuff out on their own. Go do something on your own, and leave your kids alone sometimes.&lt;/p&gt;&#xD;
&lt;p&gt;不要溺爱。给孩子们一些自己的空间，让她们亲手去做，一点小磕小碰是难免的。&lt;/p&gt;&#xD;
&lt;p&gt;&lt;strong&gt;8. Dance&lt;/strong&gt;. Because life without dance is dull and not worth living. Play loud music. Go crazy.&lt;/p&gt;&#xD;
&lt;p&gt;跳舞。这点我不喜欢。&lt;/p&gt;&#xD;
&lt;p&gt;&lt;strong&gt;9. Read with them, and read in front of them&lt;/strong&gt;. Kids love books, especially if you read them with them. &lt;a href="http://zenhabits.net/best-all-time-childrens-books/"&gt;Here are some of my favorites&lt;/a&gt;. If you are a reader yourself, and they see that, this will teach them to love reading too. Reading is one of the best loves you can instill in kids.&lt;/p&gt;&#xD;
&lt;p&gt;一起阅读。曾经拿着中英双语的读物，我看英文的，她读中文的，她看得比我快的多，我翻译成中文，让好来检查，让孩子从小养成了阅读的习惯。&lt;/p&gt;&#xD;
&lt;p&gt;&lt;strong&gt;10. Be inquisitive&lt;/strong&gt;. Ask questions about everything, and encourage them to do the same. Kids are naturally inquisitive &amp;hellip; they can ask a million questions, because everything is new to them. Learn to see the world through their eyes &amp;mdash; it&amp;rsquo;s amazing. Why the hell IS the sky blue? Why do leaves change color? How does a bird fly? These are brilliant questions, and you should explore them with the kids &amp;mdash; don&amp;rsquo;t just give them answers, but show them how to find out.&lt;/p&gt;&#xD;
&lt;p&gt;好问。对孩子的任何问题都保持耐心。&lt;/p&gt;&lt;img src="http://www.cnblogs.com/speeding/aggbug/2234421.html?type=1" width="1" height="1" alt=""/&gt;&lt;p&gt;&lt;a href="http://www.cnblogs.com/speeding/archive/2011/11/03/2234421.html" target="_blank"&gt;本文链接&lt;/a&gt;&lt;/p&gt;</content></entry><entry><id>http://www.cnblogs.com/speeding/archive/2011/10/27/2226013.html</id><title type="text">iPhone开发笔记-没有开发者证书，先用模拟器也要开发</title><summary type="text">在新建一个iOS Device项目后编译，出现Code Sign error: The identity &amp;#39;iPhone Developer&amp;#39; doesn&amp;#39;t match any valid certificate/private key pair in the default keychain错误，原来是Scheme选择的不对，xcode建立一个项目时，默认的scheme是“iOS Device”，我没有开发者证书，只能选择“iPhone 4.3 Simulator”或“iPad 4.3 Simulator”的scheme，等我的第一个iPhone程序写好了，必须花上</summary><published>2011-10-27T01:27:00Z</published><updated>2011-10-27T01:27:00Z</updated><author><name>毒龙的程序人生</name><uri>http://www.cnblogs.com/speeding/</uri></author><link rel="alternate" href="http://www.cnblogs.com/speeding/archive/2011/10/27/2226013.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/speeding/archive/2011/10/27/2226013.html"/><content type="html">&lt;p&gt;在新建一个iOS Device项目后编译，出现Code Sign error: The identity 'iPhone Developer' doesn't match any valid certificate/private key pair in the default keychain错误，原来是Scheme选择的不对，xcode建立一个项目时，默认的scheme是&amp;ldquo;iOS Device&amp;rdquo;，我没有开发者证书，只能选择&amp;ldquo;iPhone 4.3 Simulator&amp;rdquo;或&amp;ldquo;iPad 4.3 Simulator&amp;rdquo;的scheme，等我的第一个iPhone程序写好了，必须花上$99弄上一个证书，不然到处都是问题啊。&lt;/p&gt;&lt;img src="http://www.cnblogs.com/speeding/aggbug/2226013.html?type=1" width="1" height="1" alt=""/&gt;&lt;p&gt;&lt;a href="http://www.cnblogs.com/speeding/archive/2011/10/27/2226013.html" target="_blank"&gt;本文链接&lt;/a&gt;&lt;/p&gt;</content></entry></feed>
