2006年4月18日
摘要:
对于static data member的initialization,如果是在multi-threading的环境下,可以采用如下方法初始化: Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--> 1 if (s_data ==...
阅读全文
posted @ 2006-04-18 12:01
万俊峰Kevin
阅读(778)
推荐(0)
摘要:
前一阵在一个project中使用了ReaderWriterLock,发现了两个问题: Performance非常差 UpgradeToWriterLock并不是atomic的从ReaderLock转换到WriterLock,而是等同于"lock.ReleaseReaderLock(); lock.AcquireWriterLock();"。这样的semantics有一定的迷惑性,...
阅读全文
posted @ 2006-04-18 11:55
万俊峰Kevin
阅读(2065)
推荐(1)
2006年4月17日
摘要:
上个礼拜在公司的机器上装上了Office 2007(code name: Office 12)的beta版,感觉界面美化了不少。word上面的toolbar增大了很多,觉得有点臃肿,不过带来的好处是功能增强,但对我这样的word低手来说,很多功能也就是一个摆设而已。出于公司policy的原因,不便在此贴上screenshot。
阅读全文
posted @ 2006-04-17 10:05
万俊峰Kevin
阅读(805)
推荐(0)
2006年4月16日
摘要:
Google今天叫——谷歌(组图)http://news.sohu.com/20060412/n242775102.shtml 好难听的名字啊!sigh,
阅读全文
posted @ 2006-04-16 13:43
万俊峰Kevin
阅读(524)
推荐(0)
2006年4月14日
摘要:
From http://cero.cn/weblog/8.html 车东写的关于面向搜索引擎的网站设计系列文章的一个长篇,虽然希望自己的BLOG更多是原创文章,不过如此好文与总结还是要转过来的收藏+共享的,我想,从事网站设计的人是必读的. 内容摘要: 目前中文网站在整个互联网中的影响还比较小,这主要是由于中文网站总体的水平(技术上,内容上)都还相对落后造成的,最主要的表现有: ...
阅读全文
posted @ 2006-04-14 22:23
万俊峰Kevin
阅读(647)
推荐(0)
摘要:
Bjarne Stroustrup裘宗燕 译_________________________________________ 这里是一组在你学习C++的过程中或许应该考虑的"规则"。随着你变得更加熟练,你将能把它转化为某种更适合你的那类应用系统或者你自己的程序设计风格的东西。它们有意被写得很简单,因此都缺乏细节。请不...
阅读全文
posted @ 2006-04-14 18:07
万俊峰Kevin
阅读(1483)
推荐(0)
摘要:
#include struct NullType; template struct typelist{ typedef T0 Head; typedef typelist Tail; enum { length = 1 + Tail::length };}; template struct typelist{ enum { length = 0 };}; template...
阅读全文
posted @ 2006-04-14 18:05
万俊峰Kevin
阅读(814)
推荐(0)
摘要:
Microsoft launched Windows Live Academic Search to compete with Google Scholar.http://academic.live.comIt implemented some features that allow users to get more information about a result before click...
阅读全文
posted @ 2006-04-14 14:00
万俊峰Kevin
阅读(514)
推荐(0)
2006年4月13日
摘要:
From http://www.cnitblog.com/martin/archive/2006/04/13/9147.html搜索Google大家都用过吧?我们正是利用它强劲的搜索功能来突破封锁下载,Google搜索和限制下载有什么关系,没可能实现吧?不要不相信哦,往下看哦!http://www.google.com/intl/zh-CN/http://www.3721.com/...
阅读全文
posted @ 2006-04-13 22:13
万俊峰Kevin
阅读(5560)
推荐(0)
摘要:
C#面试基础问题http://dflying.cnblogs.com/archive/2006/04/01/364458.html
阅读全文
posted @ 2006-04-13 17:39
万俊峰Kevin
阅读(539)
推荐(0)