- 博客(18)
- 收藏
- 关注
原创 The Just-World Fallacy
The Just-World Fallacy<br />The Misconception: People who are losing at the game of life must have done something to deserve it.<br /><br /><br />The Truth: The beneficiaries of good fortune often do nothing to earn it, and bad people often get away with t
2010-06-12 16:33:00 934
原创 CET4--1
<br />Throughout this long, tense election, everyone has focused on the presidential candidates and how they'll changed America. Rightly so. But selfishly. I'm more fascinated(着迷) by Michelle Obama and what she might be able to do, not just for this countr
2010-06-03 22:39:00 900
原创 比特涂鸦——开张仪式
“很长时间以来我一直困惑不已,为什么一些又贵又先进的东西会一点用都没有。直到我突然想起,计算机不就是一台愚蠢之至却拥有难以置信的做聪明事能力的机器嘛, 而程序员不就是聪明绝顶却拥有难以置信的干蠢事的能力的人嘛。一句话,他们简直就是天生绝配。” ——比尔·布莱森,旅游文学作家 “不像学学涂涂画画也能让某人成为专家级画家,计算机科学教育不会让任何人成
2010-06-02 20:49:00 493
原创 i++循环与 i--循环的执行效率
i++循环与i--循环的执行效率<br /> 参考:http://www.limodev.cn/blog<br /> CPSR(current program status register):程序状态寄存器,在用户级编程时用于存储条件码。<br /> CPSR包含条件码标志等。<br /> CPSR的条件标志位:<br /
2010-06-02 20:16:00 556
原创 Ubuntu 10.04 brings Linux closer to the mainstream
Ubuntu 10.04 brings Linux closer to the mainstream<br />No Windows viruses. Free. Any questions?<br /> <br />Of course. Start with this one: How can an operation system with those virtues, the open-source Linux, remain confined to a tiny minority of deskto
2010-06-01 21:35:00 473
原创 i++循环与i--循环的执行效率
i++循环与i--循环的执行效率 参考:http://www.limodev.cn/blog CPSR(current program status register):程序状态寄存器,在用户级编程时用
2010-05-30 18:33:00 563
原创 Bash Shell 实例 ——环境变量
环境变量环境变量一般是指在操作系统中用来指定操作系统运行环境的一些参数,比如Linux中Path变量就是标示系统中一些命令(ls、cd、chmod、umount等等)文件所在的位置(/bin、usr/bin、usr/local/bin、当前目录等)。 在bash和几乎所有其他shell中,用户可以定义环境变量,这些环境以ASCII字符串存储。环境变量的最便利之处在于:它
2010-05-30 17:20:00 2739
原创 山寨与创新——创新更重要
创新更重要 中国人一直以最勤劳,最聪明的民族自誉。拥有聪明的民族和制造业大国头衔的中国为什么只能处于产业链的最低端?为什么中国的创新研发能力远不如欧美强国,近不如邻国韩国和一海之隔的台湾同胞?在生产制造环节上的产品设计、原料采购、仓储运输、订单处理、批发经营和终端零售这六个环节,无一掌握在中国人手里。一方水土养一方人。当山寨和忽悠
2010-05-28 11:10:00 716
转载 Bash Shell 实例 ——为什么要掌握Shell
Bash 实例——part1转载自:IBM中国http://www.ibm.com/developerworks/cn/linux/shell/index.html 通过学习如何使用bash脚本语言编程,将使Linux的日常交互更加有趣和有动力,同时还可以利用那些已熟悉和喜爱的标准UNIX概念(如管道和重定向)。你可能要问:为什么要学Bash编程?
2010-05-27 22:42:00 1200 1
原创 History of sudo
History of sudoSudo found its beginnings in 1980 at the department of computer science SUNY/Buffalo(created by Bob Coggeshall and Cliff Spencer). Since its first inception(起初), sudo has been reit
2010-05-27 20:47:00 470
原创 Google's Logo Celebrates 30 Years of Pac-Man
Googles Logo Celebrates 30 Years of Pac-Man We can now add Pac-Man to the ever-growing list of anniversaries we didnt know were coming.Released exactly 30 years ago, the
2010-05-25 22:03:00 615
原创 嵌入式学习之路
本文转载自:http://blog.csdn.net/zhangheng0624/archive/2010/05/17/5602038.aspx目标:达到适应嵌入式应用软件开发、嵌入式系统开发或嵌入式驱动开发的基本素质。
2010-05-24 21:46:00 1015
原创 Lenovo set to target China phone niche
<!-- @page { margin: 0.79in } P { margin-bottom: 0.08in } -->Lenovo set to target Chinaphone niche Lenovo, the Chinese PCmaker, said it would release its first
2010-05-24 21:10:00 760
原创 GeekOS project0
GeekOSproject0话说记得自己前几天做GeekOS的实验时,总以为没有什么,看什么都是粗粗一逛。虽然开始很顺利,但上天总是不会让我养成如此的习惯的,扔了一个砖头给我,搞的我好几天头蒙蒙的。后来才知道,自己
2010-05-19 18:37:00 2509
原创 记“Linux程序设计日记”
记“Linux程序设计日记” 当自己无法去完成自己想像的事情时,我就会采取措施,只因为那是想像之中的事情。——献给为未来奋斗的你我他(她) 最近Linux很火,很火的地方总会有很多人。我也涌入其中,成为大海中的一份子。不知方向的我,东闯闯,西碰碰。虽有创伤,多的更是收获;而收获的除了知识,
2010-05-19 08:38:00 557
原创 Linux 下getch()和getche()
Linux下getch()和getche()I would recommend never mixing input techniques in a program. Dont mix fgets() or scanf() with getchar(). Dont mix any standerd C library
2010-04-30 22:59:00 2822
原创 bool类型
bool类型 今天在linux下编译了一个简单的C程序,用到了bool类型,习惯性的只写了头文件stdio.h。编译的时候报错:error: syntax error before "fuction",是语法错误。在C Primer Plus第五版(中文版)的46及577页均有对布尔类型的说明,其中577页的说明比较简练明了: C99的布尔类型是
2010-04-25 19:52:00 12540
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人