01 2012 档案

Your Dual CPU Modes(PracmaticThking and Learning II)
摘要:Your Dual CPU Modes* You brain has Two CPUs which provide R-mode and L-modes.* RULE 8:** Capture all ideas to get more of them.* RULE 9:** Learn by synthesis as well as by analysis.* RULE 10:** Strive... 阅读全文

posted @ 2012-01-31 23:42 Richard Wong 阅读(189) 评论(0) 推荐(0)

Journey From Novice To Expert
摘要:Journey From Novice To ExpertStudy:* RULE1:** Always consider the context.* RULE2:** Use rules for novices, intuition for experts.* RULE3:** Know what you don't know.* RULE4:** Learn by watching and i... 阅读全文

posted @ 2012-01-31 23:07 Richard Wong 阅读(151) 评论(0) 推荐(0)

2012年得计划!
摘要:#2012#计划:* 按照时间顺序:1. 去深圳找一个外企(专业软件企业,不做外包企业的码农)就职。 尽量找个最合适的工作,先是实习吧。我觉着我能力是有一定竞争力的,有 技术,懂交流,工资就要个可以平常实习生得的就行了。能力有更合适得发 展前景很重要。周围得人都是大牛就算了,国内也没指望都是大牛。但是至 少用vim 或者emacs之类得Editor很重要,都是教育你用eclipse 或者IDE去 ... 阅读全文

posted @ 2012-01-20 20:07 Richard Wong 阅读(265) 评论(0) 推荐(0)

flex之旅:关于undefined reference to `yywrap'错误。
摘要:当调试出现undefined reference to `yywrap'得时候解决办法。%option noyywrap或者是链接时候使用-lfl参数来使用fl库中得函数。当然也可以自己添加一个yywrap函数。返回个1就行了。不过他默认定义这个东西意义实在不大,或许这也是侧面提醒你,手册必须要看完全。附赠我用的Makefile一枚:# -*- mode: makefile-gmake -*-# Last modified: <2012-01-19 09:33:22 Thursday by richard># Version 0.1b# Author: Richard Wo 阅读全文

posted @ 2012-01-19 08:34 Richard Wong 阅读(4553) 评论(0) 推荐(1)

调试秘诀!(一)
摘要:软件调试秘诀!(一)概览Understanding is everything.理解整个软件运行是进行调试的基础。调试的核心步骤:1. 重现2. 识别3. 修复4. 思索Reproduce:Find a way to reliably and conveniently reproduce the problem ondemand.Diagnose:Construct hypotheses, and... 阅读全文

posted @ 2012-01-16 19:18 Richard Wong 阅读(221) 评论(0) 推荐(0)

开始flex
摘要:今天用flex写了老半天,发现总是告诉我premature EOF错误。查了查google,还是没发现,不过有人遇到说是因为后面得%}写反了,可惜我没有。最后发现是%}有一个自动缩进,看来我得emacs的flex-mode没有写好啊,这让人很伤感。查这么久错误就是因为习惯性得全局indent。看来简单得从cc-mode里面派生flex-mode并不是那么靠谱。附送简单的一个测试代码: 1 /* 2 * Sample Scanner: 3 * Description: Count the number of characters and the number of lines 4 *... 阅读全文

posted @ 2012-01-15 22:38 Richard Wong 阅读(564) 评论(0) 推荐(0)