- 博客(37)
- 资源 (44)
- 收藏
- 关注
翻译 How to Write High-Performance C# Code
编写快的代码和快的编写代码有时是冲突的。 计算机科学权威人士兼快速排序算法的发现者C.A.R. Hoare, 曾经说过这样一段著名的话: "不成熟的优化是一切罪恶的源头." 极限编程的设计原理之"You Arent Gonna Need It" (YAGNI) 反对实现任何不必要的功能,包括性能优化,除非它们真的需要.编写不需要的代码毫无疑问会降低工作效率. 然而,重要的是我们需要认识到不同
2009-04-19 21:57:00 1238
转载 逃离x86架构-----CPU体系结构CISC与RISC之争
x86架构诞生 早在1981年,IBM公司推出了基于Intel 8088处理器的个人电脑;和不久后的8086处理器相比,它是一台低价格,低性能的处理器。尽管在当时Motorola MC69000处理器的性能也相当不错,但是IBM这样选择的理由是因为8088处理器已经能够对地址总线进行“复用”,并且总线宽度达到8位,和以往相比,大大减少了整个系统的开销。由于当时没有芯片组这一概念,
2009-04-07 12:26:00 4672 1
转载 十年磨一剑 - 优秀程序员养成之道
By Peter Norvig 为何每个人都如此心急?走进书店,我们会看到许许多多像《教你7天学会Java》(Teach Yourself Java in 7 Days)这样的书,还有其他的书声称能在几天之内甚至几小时之内教会你Visual Basic, Windows, Internet等等。 我在Amazon.com上做了如下的搜索: 1992年以后发行;
2009-04-07 11:25:00 1106
转载 VIM Command
Working with filesVim commandAction:e filenameOpen a new file. You can use the Tab key for automatic file name completion, just like at the shell command prompt.:w filenameSave changes to a file. If you don't specify a file name, Vim saves as the file na
2011-02-19 13:01:00 917
原创 VIM
<br />Ctags<br /> <br />ctags -R *<br />Generate tags for all files under current directory recursively.<br /> <br />Ctrl + ]: go to the definition of current tag<br />Ctrl + t: go back to the last tag position<br />Ctrl + i & Ctrl + o: go back and forth t
2011-01-11 03:40:00 561
转载 十条不错的编程观点
<br />在Stack Overflow上有这样的一个贴子《What’s your most controversial programming opinion?》,翻译成中文就是“你认为最有争议的编程观点是什么?”,不过,在400多个主回贴,以及千把个子回贴中,好像并不是很有争议,而是令人相当的茅塞顿开,下面罗列一些,并通过我自己的经历和理解发挥了一些,希望对你有帮助。<br />1) The only “best practice” you should be using all the
2010-10-16 14:23:00 531
原创 软件开发项目的风险
参加过项目制作的人 都知道一个项目开发过程中 会遇到许多困难,很多事情都会影响一个软件开发的失败 风险是在项目中发生的一系列事件或不利结果的可能性。软件开发是一项高风险的活动,在项目开发过程的任何一个阶段都可能存在风险。采取积极的风险管理方式,可以使项目进程更加平稳,可以获得很高的跟踪和控制项目的能力,可以规避、转移风险,或缓解风险带来的不利影响。风险管理是对项目风险进行识别、分析、应对和监控的
2010-03-18 20:04:00 622
原创 英语9句
称赞九句 每天都该对自己跟别人说的话 You are great. 一般的用法: You’re great/errific. 你好棒/好厉害。 I admire you. 我佩服你。 You’re really cool. 你真酷。 You’re amazing. 你真了不起。 You’re awesome. 你真了不起。 完成一项任务后的说法: You did a gre
2010-03-18 19:52:00 652
原创 google的另类用法(转)
第一篇突破封锁之电子书、多媒体下载 在搜索框上输入: "indexof/"inurl:lib 再按搜索你将进入许多图书馆,并且一定能下载自己喜欢的书籍。 在搜索框上输入: "indexof/"cnki 再按搜索你就可以找到许多图书馆的CNKI、VIP、超星等入口! 在搜索框上输入: "indexof/"ppt 再按搜索你就可以突破网站入口下载p
2010-03-18 19:44:00 688
转载 十个看完,九个有领悟
1、人之所以痛苦,在于追求错误的东西。2、与其说是别人让你痛苦,不如说自己的修养不够。 3、如果你不给自己烦恼,别人也永远不可能给你烦恼。因为你自己的内心,你放不下。4、好好的管教你自己,不要管别人。 5、不宽恕众生,不原谅众生,是苦了你自己。6、别说别人可怜,自己更可怜,自己修行又如何?自己又懂得人生多少?7、福报不够的人,就会常常听到是非;福报够的人,从来就没听到过是非。8、你永远要感谢给你逆
2010-03-18 19:41:00 470
原创 与人相处的十二条准则 .非常实用
与人相处的十二条准则 毫无疑问,渊博的学识和不断的创新是事业成功的基础。然而,把一个概念变为成果,离开他人的合作,任何人,无论是伟人还是凡夫,都无法实现。 与人合作得是否愉快且卓有成效,完全取决于你与人相处的能力。以下的准则是自己一生的总结。准则一 “让我感到我的重要” 几年前,我向劳伦斯学到一个信条,它成为我在人际关系上的启蒙。他说在每个人的脖子上都有个无形的胸卡,上面写着“让我感到我的
2010-03-18 19:38:00 962
原创 Calculate 24
#include using namespace std;int whereT[] = {1,3,5,6 };int cal(int *stack){ for(int i = 4; i >= 0; i-=2) { switch(stack[i]) { case -1: // + stack[i] = stack[i + 2] + sta
2010-01-31 22:47:00 600
原创 C++ Reference
The standard C++ library is a collection of functions, constants, classes, objects and templates that extends the C++ language providing basic functionality to perform several tasks, like classes to i
2009-10-16 10:45:00 746
原创 History of C++
During the 60s, while computers were still in an early stage of development, many new programming languages appeared. Among them, ALGOL 60, was developed as an alternative to FORTRAN but taking from i
2009-10-16 10:31:00 557
转载 Converting numbers to strings and strings to numbers
Converting numbers to text and vice versa is a common issue as it can be useful in many different situations and C++ doesnt provide a tool designed specifically to solve this problem.Luckily C++ is a
2009-10-16 10:12:00 572
原创 关于控件的事件穿透
回答问题 http://topic.csdn.net/u/20090429/14/b5fc3df8-3e14-4439-af86-786ed7b135db.html?seed=1434478337 时实现。 第一步:定义接口 public interface IMyControls { void MyOnClick(EventArgs e);
2009-04-29 15:26:00 943
转载 Building a LINQ IQueryable provider - Part XIV (IQToolkit v3)
This is the fourteenth in a series of posts on how to build a LINQ IQueryable provider. If you have not read the previous posts you might request a weeks vacation, sit back, relax with a mochacin
2009-04-27 12:44:00 1745
转载 Building a LINQ IQueryable Provider - Part XIII
This is the thirteenth in a series of posts on how to build a LINQ IQueryable provider. If you have not read the previous posts you probably have a life beyond the keyboard, but if you dont then
2009-04-27 12:43:00 1108
转载 Building a LINQ IQueryable Provider - Part XII
This is the twelfth in a series of posts on how to build a LINQ IQueryable provider. If you have not read the previous posts you probably were born yesterday. How could you possibly make sense of
2009-04-27 12:42:00 1012
转载 LINQ: Building an IQueryable Provider - Part XI
This is the eleventh in a series of posts on how to build a LINQ IQueryable provider. If you have not read the previous posts you’ll want to do so before proceeding, or at least before proceeding
2009-04-27 12:40:00 708
转载 LINQ: Building an IQueryable Provider - Part X
This is the tenth in a series of posts on how to build a LINQ IQueryable provider. If you have not read the previous posts youll want to find a nice shady tree, relax and meditate on why your wo
2009-04-27 12:38:00 1149
转载 LINQ: Building an IQueryable Provider - Part IX
This is the nineth in a series of posts on how to build a LINQ IQueryable provider. If you have not read the previous posts heres a handy list of all the fun youve been missing. Complete list
2009-04-27 12:37:00 1023
转载 LINQ: Building an IQueryable Provider - Part VIII
This is the eighth in a series of posts on how to build a LINQ IQueryable provider. If you have not read the previous posts you might want to shut off the Halo 3 and get crackin. Complete list
2009-04-27 12:36:00 865
转载 LINQ: Building an IQueryable provider - Part VII
This is the seventh in a series of posts on how to build a LINQ IQueryable provider. If you have not read the previous posts you might want to rethink your place in the universe. :-) Complete l
2009-04-27 12:35:00 849
转载 LINQ: Building an IQueryable Provider - Part VI
This is the sixth in a series of posts on how to build a LINQ IQueryable provider. If you have not read the previous posts you might want to file for a government grant and take sabbatical becaus
2009-04-27 12:32:00 845
转载 LINQ: Building an IQueryable Provider - Part V
This is the fifth in a series of posts on how to build a LINQ IQueryable provider. If you have not read the previous posts please take a look before proceeding, or if you are daring dig right in
2009-04-27 12:31:00 1006
转载 LINQ: Building an IQueryable Provider - Part IV
This post is the fourth in a series of posts covering how to build a LINQ IQueryable provider. If you have not read the previous posts, please do so before proceeding.Complete list of posts in
2009-04-27 12:30:00 602
转载 LINQ: Building an IQueryable Provider - Part III
This post is the third in a series of posts covering how to build a LINQ IQueryable provider. If you have not read the previous posts, please do so before proceeding.Complete list of posts in t
2009-04-27 12:28:00 721
转载 LINQ: Building an IQueryable Provider - Part II
This is the second post in a multi-post series on building LINQ providers using the IQueryable interface. If you are new to this series please read the following post before proceeding.Complete
2009-04-27 12:25:00 1062
转载 LINQ: Building an IQueryable Provider - Part I
This is the first in a series of posts on how to build a LINQ IQueryable provider. Each post builds on the last one.Complete list of posts in the Building an IQueryable Provider series I
2009-04-27 12:24:00 955
转载 LINQ Books
Books on LINQLINQ in Action by Fabrice Marguerie, Steve Eichert, Jim Wooley, and Matt Warren Pro LINQ: Language Integrated Query in C# 2008 by Joseph C. Rattz Professional LINQ (Programmer to
2009-04-27 12:17:00 639
转载 Dynamic in C# VII: Phantom Method Semantics
By now, my hope is that you all have a well-rounded view of dynamic. We started this series by introducing dynamic and talking about the basics of the feature, and have just finished talking abou
2009-04-26 23:56:00 794
转载 The C# Programming Language Version 4.0
By Doug Holland (Intel) (193 posts) on March 30, 2009 at 10:02 am Visual Studio 2010 and the .NET Framework 4.0 will soon be in beta and there are some excellent new features that we can all get
2009-04-26 23:53:00 1024
翻译 C# 文档与注释
Introduction我们中的大部分人都经历过不时地更新文档的痛苦。C# 和 Visual Studio .NET (VS.NET)使我们能够将代码和文档写在一个文件里,从而是维护文档的过程变得更加简单。 VS.NET通过从代码文件里提取特殊标记过的结构化的注释,并将他们生成到XML文件里做到这一点的。 这种 XML文件可以被用来生成人们可读(human-readable )的格式的文档,包
2009-04-24 12:58:00 2901
转载 C# 2008 新特性
26. Overview of C# 3.0C# 3.0 (“C# Orcas”) introduces several language extensions that build on C# 2.0 to support the creation and use of higher order, functional style class libraries. The extension
2009-04-20 16:12:00 708
转载 [转] C/C++术语中英对照
以下是侯捷个人收集到的 C/C++ 编程方面的术语对照。请大陆朋友给我一些意见,尤其是标示 ? 之栏位。谢谢。两岸朋友,如果您想到哪些术语尚未列入本表,请提示我,谢谢。新书写作时,我会以此表为叁考。●英中繁简编程术语对照英文 台湾惯用术语 大陆惯用术语------------------------
2009-04-07 13:12:00 642
转载 Events In C#
By Sanju From:http://www.csharphelp.com/archives/archive253.htmlAn event is defined in C# as a member that enables an object or class to provide notifications. Now, let us see in detail what
2009-04-06 22:30:00 618
编程 - 贪心算法.pdf
2009-04-11
C# 操作系统音量代码
2009-04-10
An axiomatic basis for computer programming .pdf
2009-04-08
Oracle Call Interface Programmer's Guide, 10g Release 2 (10.2).pdf
2009-04-08
A Practical FlowSensitive and ContextSensitive C and C++ Memory Leak Detector
2009-04-08
The C++ Preprocessor
2009-04-07
ECMA-335: Common LanguageInfrastructure (CLI) Partitions I to VI
2009-04-07
C++ 函数库参考.chm
2009-04-07
Intel 64 and IA-32 Architectures Software Developer's Manual
2009-04-07
C# Version 3.0 Specification (September 2005)
2009-04-07
编译器构造 Compilor Construction
2009-04-07
Apress.Pro.LINQ.Language.Integrated.Query.in.C#2008
2009-04-06
Pro Android 3
2011-07-26
Perl Cookbook 2nd Edition
2010-10-29
[麻省理工学院-算法导论].Introduction.to.Algorithms,.Second.Edition.chm
2009-08-27
Introduction to the Theory of Computation
2009-08-22
Springer - Logic Programming With Prolog (2005)
2009-07-21
HPL: Vol. IV: Functional and Logic Programming Languages
2009-07-20
Lisp in a Box for Windows - Lisp 编译器
2009-07-17
.Net Prolog 扩展
2009-07-17
Pro C# With 3.0, Special Edition - 2007-01 Apress.pdf
2009-04-20
[计算机系统结构-量化研究方法]
2009-04-20
汇编语言全接触 Win32 Odbc Vxd PE
2009-04-20
FastReport.Net
2009-04-17
各个算法的介绍, 详见资源描述
2009-04-13
排序搜索算法.pdf
2009-04-13
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人