个人网站思路

摘要: * 主要实现功能列表:** 数据库的链接部分,主要表结构: 文章部分 | Key | Value | |------------------+----------| | _id | title? | | content | | | Original file | org file | | date | | | folder(cate... 阅读全文
posted @ 2012-06-08 17:53 Richard Wong 阅读(177) 评论(0) 推荐(0)

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 阅读(264) 评论(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 阅读(4552) 评论(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 阅读(562) 评论(0) 推荐(0)

测试MetaWeb之后。

摘要: 不错,貌似可以实用。testing。。。。可以发送文章, 但是不给删除。。伤不起。。这个是我用ScribeFire来测试得。。这个chrome插件还不错。推荐一下。但是毕竟写博客得时候喜欢用emacs + org-mode(跟笔记似的个文章多tnnd嚣张啊),所以一个转换插件和一个上传插件是必须得。。logs:ScribeFire found this little error when tryi... 阅读全文
posted @ 2011-12-18 09:03 Richard Wong 阅读(383) 评论(0) 推荐(0)

Programming achievement

摘要: 这几天看新闻,发现一些有意思得东西,那就是对自己得编程进行游戏式的评级。在玩游戏得时候会通过各种目标达成来判断自己得水平。即使是运气,也是实力得体现。所以我自己就简单得google了一下,参考并写了一些achievement,看看各位达到多少。。嘿嘿。。#+TITLE: Programming Achievement(kloc[kiloline of code])1 = beginner2 = intermediate3 = professional4 = master5 = god....(If you can do this for 2 days Please write me email 阅读全文
posted @ 2011-12-01 22:09 Richard Wong 阅读(182) 评论(0) 推荐(0)