上一页 1 2 3 4 5 6 ··· 30 下一页

2012年12月28日

摘要: 3 高级C数据类型 人们在设计完全傻瓜式的系统时,常犯的错误就是低估了十足傻瓜的能力——Douglas Adams A common mistake that people make when trying to design something completely foolproof is to underestimate the ingenuity of complet... 阅读全文
posted @ 2012-12-28 08:55 zhaorui 阅读(324) 评论(0) 推荐(0) 编辑

2012年12月5日

摘要: 这里基本上全部是书摘看了前面的两三个章节,让我想直接去看 K&R 的 C语言,这个应该算是十年前欠下的“债”------------------------------------------------------------- 译者序 -------------------------------------------------------------有一扇窗,从未打开,却要永远关闭;有一些人,确实存在,我们却无缘相见;有一种生活,还没有到来,我们却已永远离开。好的程序就如同好的音乐一样,他们完成的那么巧妙,那么完美,体现出完全没有词藻的魅力。----------------- 阅读全文
posted @ 2012-12-05 22:10 zhaorui 阅读(408) 评论(0) 推荐(0) 编辑

2012年4月16日

摘要: 偶尔看到一篇文章《现代软件工程讲义 如何提出靠谱的项目建议》,里面提到关于创新一般分为:incremental innovation 和 disruptive innovation,这个倒是以前没有想到过的。 另外,文中提到关于新的创意的框架 NABC 模型(也许应该是 NABCD 模型): N(Need) 解决用户的什么需求? A(Approach) 如何采用独特的招数解决用户的... 阅读全文
posted @ 2012-04-16 16:56 zhaorui 阅读(335) 评论(0) 推荐(0) 编辑

2012年4月9日

摘要: 原文:How to Read a Paper.pdfreasonsreview paper for a conference or a classkeep current in the fieldfor a literature survey of a new fieldthree-pass approachgeneral idea about the papergrasp the paper's content, not detailsunderstand the paper in depththe first pass (5-10 min) quick scan, get a bi 阅读全文
posted @ 2012-04-09 16:15 zhaorui 阅读(219) 评论(0) 推荐(0) 编辑

2012年3月24日

摘要: 使用 C# 进行 Socket 编程 阅读全文
posted @ 2012-03-24 15:43 zhaorui 阅读(257) 评论(0) 推荐(0) 编辑

2012年3月22日

摘要: 《演说之禅》的读书笔记,不过只有第一章的 阅读全文
posted @ 2012-03-22 21:11 zhaorui 阅读(222) 评论(0) 推荐(0) 编辑

2012年3月19日

摘要: 今天在网上看到了有 Sample of the Day 这样的栏目,其实每天看一个代码示例,也花费不了多少时间,如果能坚持下来,应该会有收获。今天看了一下 [Sample of Mar 12th] Check whether a file is in use or not,代码如下: 1 /// <summary> 2 /// This function checks whether the file is in use or not. 3 /// </summary> 4 /// <param name="filename">File 阅读全文
posted @ 2012-03-19 11:41 zhaorui 阅读(304) 评论(0) 推荐(0) 编辑

2012年3月11日

摘要: 第五课 看到 Mehran Sahami 把变量 variable 比做盒子 box,真是让人开心,因为我也是这么想的。 一个变量有三个要素:名字 name,类型 type 和 值 value。 编程语言里面的关键字也不是 key word 而是 reserve word。 Java 中的原类型 primitive type 整型 int (integer),取值范围 minus ... 阅读全文
posted @ 2012-03-11 20:16 zhaorui 阅读(283) 评论(0) 推荐(0) 编辑
摘要: 第四课 Mehran Sahami 给出了一个简要的计算机发展史: 1800's Charles Babbage 提出了通用计算机的设想(谁要是说算盘就是最早的计算机,蹴鞠就是最早的足球,那我就……)。 Ada Byron 是世界上的第一个程序员,而且还是个女程序员。当时并没有计算机,她只是在Babbage 设想的计算机上编程 。 1930-40's : prototype 原型机 1... 阅读全文
posted @ 2012-03-11 19:49 zhaorui 阅读(381) 评论(0) 推荐(0) 编辑
摘要: 第三课原来死循环的英文名字不是“Dead Loop”,而是“Infinite Loop”。Mehran Sahami 讲了一个关于死循环的段子,说曾经有一个芯片公司(名称不可考)号称自己开发出了当时世界上最快的芯片,广告词里说:“……执行一个死循环只需要 2.5 秒……”而真实情况是,一旦执行死循环,那么芯片的温度会迅速的升高,以至于融掉……OBOE, off-by-one error/bug is a logic error involving the discrete equivalent of a boundary condition. It often occurs in comput 阅读全文
posted @ 2012-03-11 19:20 zhaorui 阅读(463) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 ··· 30 下一页

导航