??xml version="1.0" encoding="utf-8" standalone="yes"?>久久93精品国产91久久综合,免费久久人人爽人人爽av,欧美精品久久久久久久自慰http://www.shnenglu.com/heath/category/8908.htmlThere is no end, it is just the beginning! - A Game Developer's Noteszh-cnWed, 20 Jun 2012 11:04:55 GMTWed, 20 Jun 2012 11:04:55 GMT60从CPU频中学些硬件知?/title><link>http://www.shnenglu.com/heath/archive/2012/06/10/178365.html</link><dc:creator>Heath</dc:creator><author>Heath</author><pubDate>Sun, 10 Jun 2012 15:16:00 GMT</pubDate><guid>http://www.shnenglu.com/heath/archive/2012/06/10/178365.html</guid><wfw:comment>http://www.shnenglu.com/heath/comments/178365.html</wfw:comment><comments>http://www.shnenglu.com/heath/archive/2012/06/10/178365.html#Feedback</comments><slash:comments>2</slash:comments><wfw:commentRss>http://www.shnenglu.com/heath/comments/commentRss/178365.html</wfw:commentRss><trackback:ping>http://www.shnenglu.com/heath/services/trackbacks/178365.html</trackback:ping><description><![CDATA[<p><strong><font size="4">一、前a</font></strong> <p>     从大学到现在配过两台PCQ第一台Celeron的机器从大二用到研究生毕业,之后开始用W记本。第二台PC?9q入手的Q那阵子玩超频,但心气w,胡ؕ试一下就尝辄止了,q一些基本原理都没有弄清楚。最q刚搞好新房安顿下来Q有了自q工作_在重新组装PC和设|BIOS的时候又惌频了Q但q次我期望做到知其所以然Q故在网上查阅了一些资料恶补了一下硬件知识,权当作学习笔记。由于网l上关于gQ特别是内存部分Q知识很杂,仅以自己认ؓ比较靠谱的内容ؓ依据Q如有不准确之处Q欢q指正。由于用的是Intel CPUQ本文限于Intel架构Q且不适用Ipd架构? <p><a href="http://www.shnenglu.com/images/cppblog_com/heath/Windows-Live-Writer/18e4652fc073_1450A/500px-Motherboard_diagram.svg_2.png"><img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: block; float: none; margin-left: auto; border-top: 0px; margin-right: auto; border-right: 0px; padding-top: 0px" title="500px-Motherboard_diagram.svg" border="0" alt="500px-Motherboard_diagram.svg" src="http://www.shnenglu.com/images/cppblog_com/heath/Windows-Live-Writer/18e4652fc073_1450A/500px-Motherboard_diagram.svg_thumb.png" width="500" height="770" /></a> <p align="center">ȝ概览 <p><strong><font size="4">二、术?/font></strong> <p><strong><br /></strong> <p><strong>L芯片l:</strong>北桥芯片和南桥芯片? <p><strong>北桥QNorthbridgeQ:</strong>PCL芯片l其中之一Q设计用来处理高速信P与CPU、内存、AGP/PCIE、南桥芯片进行通信? <p>南桥QSouthbridgeQ:PCL芯片l其中之一Q设计用来处理低俗信P通过北桥和CPU通信Q与大多数I/O控制讑֤接口Q如PCI控制器、ATA控制器、USB控制器、网l控制器、音效控制器。各个芯片厂商对南桥芯片的命名有所不同QIntel其UCؓICHQnVidiaUCؓMCPQATIUCؓIXP/SB? <p><strong>前端ȝQFSB, Front Side BusQ:</strong>指CPU与北桥芯片之间的数据传输通道? <p><strong>锁相环(PLL, Phase-Locked LoopQ:</strong>一个闭环的反馈控制pȝQ它可以使PLL的输出可以与一个参考信号保持固定的怽关系? <p><strong>旉频率Q?/strong>切Ҏ晶振频率Q与锁相环电路配合用ؓPC提供定时信号Q通过倍频/分频产生不同频率的基准信P用以同步pȝ的每一步操作。对于CPU主频Q它是由晶振提供的频率通过CPU内部的PLL电\倍频而来? <p><strong>CPU外频Q?/strong>pȝȝ的工作频率,体现了CPU与芯片组之间的ȝ速度? <p><strong>前端ȝ频率Q?/strong>CPU与北桥芯片之间的ȝ工作频率。之所以将CPU外频与前端ȝ频率区分开来,是因为Intel在Pentium 4中加入了Quad Pumped Bus架构Q得系lȝ在一个时钟周期内传输4ơ数据,也就相当于工作频率ؓCPU外频?倍? <p><strong>CPU倍频Q?/strong>为倍频pL的简Uͼ是指CPU主频与CPU外频之间的相Ҏ例关pR在PC发展初期Q由于CPU速度不高Q大部分元g旉均保持同步,直到80486时代Q在CPU制程持箋q步下,CPU的速度也加速增长,当时׃其他外部元g受电气结构所限,无法跟进成长Q因此Intel首次在CPU中加入了倍频设计。它的作用是使系lȝ工作在相对较低的频率上,而CPU速度可以通过倍频来提升? <p><strong>双倍数据速率QDDR, Double Data RateQ:</strong>使SDRAM在一个时钟周期内q行两次数据传输的技术,具体地说它在信号的上升沿和下降沿传输数据一ơ,数据传输率是之前仅利用上升沿q行数据传输的SDRAM的两倍? <p><strong>内存频率Q?/strong>分ؓ核心频率(Internal rate)和I/Oȝ频率(Bus clock)。每条内存都是由内存芯片l成Q内存芯片的频率是核心频率。I/Oȝ频率是指北桥与内存之间的ȝ频率。通常内存条标U的实际上是最大数据传输频率:I/Oȝ频率X2。其实,从DDR到DDR3Q其内存颗粒的频率没有怎么提升Q提升的是ȝ频率。JEDEC制定的DDR三代参数对照如下表所C: <p><a href="http://www.shnenglu.com/images/cppblog_com/heath/Windows-Live-Writer/18e4652fc073_1450A/Image(11)_2.png"><img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: block; float: none; margin-left: auto; border-top: 0px; margin-right: auto; border-right: 0px; padding-top: 0px" title="Image(11)" border="0" alt="Image(11)" src="http://www.shnenglu.com/images/cppblog_com/heath/Windows-Live-Writer/18e4652fc073_1450A/Image(11)_thumb.png" width="644" height="140" /></a> <p><strong>双通道Q?/strong>是在北桥芯片里设计两个内存控制器,q两个内存控制器可相互独立工作,每个控制器控制一个内存通道。在q两个内存通道上CPU可分别寻址、读取数据,从而内存的带宽增加一倍,数据存取速度也相应增加一倍(理论上)。流行的双通道内存构架是由两个64bit DDR内存控制器构{而成的,其带宽可?28bit。因为双通道体系的两个内存控制器是独立的、具备互补性的内存控制器,因此二者能实现彼此间零{待旉Q同时运作。两个内存控制器的这U互?#8220;天?#8221;可让有效{待旉~减50%Q从而内存的带宽翻倍。双通道内存技术是解决CPUȝ带宽与内存带宽的矛盾的低仗高性能的方案? <p>  <p><strong><font size="4">三、原?/font></strong> <p align="center"><em><font size="4">CPU主频=外频×倍频</font></em></p><em> <p><br /></p></em> <p>     从公式可以看出,要提升CPU主频可以从提高外频和倍频两方面着手。然而在实际操作q程中,两者都会受CPU本n及外部硬Ӟ主要是主板)体质的限Ӟ如:锁倍频、主板FSB Frequency上限? <p>1Q提高外? <p>     因ؓCPU外频的设|直接媄响系lȝ工作频率Q所以通过提升外频和搭配合适的内存Q可以在L支持的前端ȝ频率上限内有效提升系l的整体性能。之所以要搭配合适的内存Q是因ؓ前端ȝ频率提高Q最大的受媄响者就是内存,所以内存能够支持的最高工作频率也需要考虑。虽然GPU数据也要通过前端ȝ由CPUl过北桥到达昑֍Q但是在仅针对CPU频的情况下Q一般会CPU与显卡之间通信的频率锁定在100MHz。D个例子:有一块前端ȝ上限频率?600MHz的主板,假如搭配一块上限ؓ1600MT/s的DDRIII内存Q?:2分频比的前提下,需要将CPU的外频提升到接近400MHzQ整个系l才会比较^衡? <p>2Q提高倍频 <p>     通过倍频的定义,可以看出Q在外频一定的情况下,提高倍频Q只能单U地提高CPU工作频率。虽ӞCPU的计能力除了跟工作频率有关外,q与g架构和指令集有关Q成倍提高工作频率肯定不{于成倍提高了计算能力Q但可以肯定的是频率提高肯定会在一定程度上提高计算能力? <p><strong><font size="4">四、实?/font></strong> <p><a href="http://www.shnenglu.com/images/cppblog_com/heath/Windows-Live-Writer/18e4652fc073_1450A/CaptureMB.png"><img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: block; float: none; margin-left: auto; border-top: 0px; margin-right: auto; border-right: 0px; padding-top: 0px" title="CaptureMB" border="0" alt="CaptureMB" src="http://www.shnenglu.com/images/cppblog_com/heath/Windows-Live-Writer/18e4652fc073_1450A/CaptureMB_thumb.png" width="573" height="118" /></a> <p>      <p>    五电容版E5200h很强的超频空_在倍频定在X8的情况下Q?.2V便可以轻松上370MHz。主板在不超频情况下FSB已l支?600MHz了,Corsair在用XMP时支?600Q在整体考量Q散热、CPU寿命Q后军_CPU外频定在350MHz、倍频设ؓx10Q这样FSB可工作在1400MHzQ内存按?1:2分频比I/Oȝ工作?00MHz下(数据传输频率?400MT/sQ。BIOS讄如下Q? <p><a href="http://www.shnenglu.com/images/cppblog_com/heath/Windows-Live-Writer/18e4652fc073_1450A/IMG_0602.jpg"><img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: block; float: none; margin-left: auto; border-top: 0px; margin-right: auto; border-right: 0px; padding-top: 0px" title="IMG_0602" border="0" alt="IMG_0602" src="http://www.shnenglu.com/images/cppblog_com/heath/Windows-Live-Writer/18e4652fc073_1450A/IMG_0602_thumb.jpg" width="640" height="478" /></a> <p>内存CL、tRCD{D其自动读取SPD配置? <p><a href="http://www.shnenglu.com/images/cppblog_com/heath/Windows-Live-Writer/18e4652fc073_1450A/IMG_0604.jpg"><img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: block; float: none; margin-left: auto; border-top: 0px; margin-right: auto; border-right: 0px; padding-top: 0px" title="IMG_0604" border="0" alt="IMG_0604" src="http://www.shnenglu.com/images/cppblog_com/heath/Windows-Live-Writer/18e4652fc073_1450A/IMG_0604_thumb.jpg" width="640" height="478" /></a> <p align="center"><a href="http://www.shnenglu.com/images/cppblog_com/heath/Windows-Live-Writer/18e4652fc073_1450A/Capture.png"><img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="Capture" border="0" alt="Capture" src="http://www.shnenglu.com/images/cppblog_com/heath/Windows-Live-Writer/18e4652fc073_1450A/Capture_thumb.png" width="496" height="480" /></a><a href="http://www.shnenglu.com/images/cppblog_com/heath/Windows-Live-Writer/18e4652fc073_1450A/CaptureMem.png"><img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="CaptureMem" border="0" alt="CaptureMem" src="http://www.shnenglu.com/images/cppblog_com/heath/Windows-Live-Writer/18e4652fc073_1450A/CaptureMem_thumb.png" width="499" height="480" /></a></p><strong> <p><br /></p></strong> <p><strong>参考:</strong> <p><strong><br /></strong> <p>[1] 前端ȝ <a >http://zh.wikipedia.org/wiki/%E5%89%8D%E7%AB%AF%E6%80%BB%E7%BA%BF</a> <p>[2] 晶振及其选用指南 <a >http://www.naiteli.com.cn/Info/Detail_50139_7547.html</a> <p>[3] 倍频 <a >http://baike.baidu.com/view/25647.htm</a> <p>[4] DDR SDRAM <a >http://en.wikipedia.org/wiki/DDR_SDRAM</a> <p>[5] DDR2 SDRAM <a >http://en.wikipedia.org/wiki/DDR2_SDRAM</a> <p>[6] DDR3 SDRAM <a >http://en.wikipedia.org/wiki/DDR3_SDRAM</a> <p>[7] 五电容E5200 <a >http://tech.163.com/digi/09/0316/08/54H0RJNT001618J7.html</a> </p><img src ="http://www.shnenglu.com/heath/aggbug/178365.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.shnenglu.com/heath/" target="_blank">Heath</a> 2012-06-10 23:16 <a href="http://www.shnenglu.com/heath/archive/2012/06/10/178365.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>实现一个以字符串ؓKey大小写不敏感的Hash Maphttp://www.shnenglu.com/heath/archive/2011/07/13/150906.htmlHeathHeathWed, 13 Jul 2011 15:36:00 GMThttp://www.shnenglu.com/heath/archive/2011/07/13/150906.htmlhttp://www.shnenglu.com/heath/comments/150906.htmlhttp://www.shnenglu.com/heath/archive/2011/07/13/150906.html#Feedback0http://www.shnenglu.com/heath/comments/commentRss/150906.htmlhttp://www.shnenglu.com/heath/services/trackbacks/150906.html    Hash Map有两个关键方法:哈希D方法和比较Ҏ。以STLPortZQ通过Hash Map的模版定义可以看出,其缺省的哈希Functor是hashQ比较functor为equal_toQ?/p>
  1. template <class _Key, class _Tp, _STLP_DFL_TMPL_PARAM(_HashFcn,hash<_Key>),
  2.           _STLP_DFL_TMPL_PARAM(_EqualKey,equal_to<_Key>),
  3.           _STLP_DEFAULT_PAIR_ALLOCATOR_SELECT(_STLP_CONST _Key, _Tp) >
  4. class hash_map

    在_hash_fun.h中有针对各种cd的哈希D特化版本,下面仅摘录针对C字符串的代码Q?/p>

  1. inline size_t __stl_hash_string(const char* __s) {
  2.   _STLP_FIX_LITERAL_BUG(__s)
  3.   unsigned long __h = 0;
  4.   for ( ; *__s; ++__s)
  5.     __h = 5*__h + *__s;
  6.  
  7.   return size_t(__h);
  8. }
  9.  
  10. _STLP_MOVE_TO_STD_NAMESPACE
  11.  
  12. _STLP_TEMPLATE_NULL
  13. struct hash<char*> {
  14.   size_t operator()(const char* __s) const {
  15.     _STLP_FIX_LITERAL_BUG(__s)
  16.     return _STLP_PRIV __stl_hash_string(__s);
  17.   }
  18. };
  19.  
  20. _STLP_TEMPLATE_NULL
  21. struct hash<const char*> {
  22.   size_t operator()(const char* __s) const {
  23.     _STLP_FIX_LITERAL_BUG(__s)
  24.     return _STLP_PRIV __stl_hash_string(__s);
  25.   }
  26. };

    __stl_hash_string实现了一个简单的哈希法Q因为算法中使用了字W的ASCII码,Z辑ֈ大小写不敏感的目的,可将每个字符转换成小?大写来计。对于hash functorQ我们也需要一个string的特化版?/p>

    在_function_base.h中定义了equal_to functorQ?/p>

  1. template <class _Arg1, class _Arg2, class _Result>
  2. struct binary_function {
  3.   typedef _Arg1 first_argument_type;
  4.   typedef _Arg2 second_argument_type;
  5.   typedef _Result result_type;
  6. #if !defined (__BORLANDC__) || (__BORLANDC__ < 0x580)
  7. protected:
  8.   /* See unary_function comment. */
  9.   ~binary_function() {}
  10. #endif
  11. };
  12.  
  13. template <class _Tp>
  14. struct equal_to : public binary_function<_Tp, _Tp, bool> {
  15.   bool operator()(const _Tp& __x, const _Tp& __y) const { return __x == __y; }
  16. };

    通过定制一个string版本的equal_toQ用stricmpq行字符串比较。下面列出实现及试代码Q?/p>

Test Codes
  1. #include <hash_map>
  2. #include <string>
  3. #include <algorithm>
  4. #include <cctype>
  5.  
  6. inline size_t __stl_hash_string(const char* __s)
  7. {
  8.     unsigned long __h = 0;
  9.     for ( ; *__s; ++__s)
  10.         __h = 5*__h + tolower(*__s);
  11.  
  12.     return size_t(__h);
  13. }
  14.  
  15. template<>
  16. struct stlport::hash<stlport::string>
  17. {
  18.     size_t operator()(const stlport::string& __s) const
  19.     {
  20.         return __stl_hash_string(__s.c_str());
  21.     }
  22. };
  23.  
  24. template<>
  25. struct stlport::equal_to<stlport::string>
  26.     : public stlport::binary_function<stlport::string , stlport::string , bool>
  27. {
  28.     bool operator()(const stlport::string& __x, const stlport::string& __y) const
  29.     {
  30.         return !_stricmp(__x.c_str() , __y.c_str());
  31.     }
  32. };
  33.  
  34. int _tmain(int argc, _TCHAR* argv[])
  35. {
  36.     stlport::hash_map<stlport::string , int> map;
  37.  
  38.     map.insert(stlport::make_pair("Test" , 123));
  39.  
  40.     stlport::hash_map<stlport::string , int>::iterator iter = map.find("teSt");
  41.     if(iter != map.end())
  42.         printf("Found!\n");
  43.  
  44.     return 0;
  45. }


Heath 2011-07-13 23:36 发表评论
]]>
让VC++ 2003与Win7和睦相处http://www.shnenglu.com/heath/archive/2011/03/14/141837.htmlHeathHeathMon, 14 Mar 2011 15:49:00 GMThttp://www.shnenglu.com/heath/archive/2011/03/14/141837.htmlhttp://www.shnenglu.com/heath/comments/141837.htmlhttp://www.shnenglu.com/heath/archive/2011/03/14/141837.html#Feedback1http://www.shnenglu.com/heath/comments/commentRss/141837.htmlhttp://www.shnenglu.com/heath/services/trackbacks/141837.html    微Y太谦虚了QWin7对VS2003的兼Ҏƈ不像他说的那样差。其实仅有两个问题:

1、search时程序死?/p>

2、debug旉住pdb不释放,下次build时出现文件写错误

    对于W一个问题,在devenv.exe属性的Compatibility的Settings中勾选“Disable visual themes”,或者停用Aero主题Q用Basic themes?/p>

    对于W二个问题,可用sysinternals工具handle来释攑֯pdb的引用,在此不列出handle的用,有兴可以自qI。下面给Z个批处理Q关闭指定名U的pdb文g占用Q?/p>

@echo off
cd /d "%~dp0"
for /f "tokens=2-3 skip=5 delims=:" %%a in ('handle -p devenv.exe "%1.pdb"') do (
  for /f "tokens=1,4" %%c in ("%%a%%b") do (
      handle.exe -c %%d -y -p %%c
  )
)
@echo on

    其保存C个文Ӟ攑֜project的pre-build event。当Ӟq需要一个参数来喂批处理中的%1?/p>

Heath 2011-03-14 23:49 发表评论
]]>
对TortoiseSVN的扩展实?/title><link>http://www.shnenglu.com/heath/archive/2011/01/23/139190.html</link><dc:creator>Heath</dc:creator><author>Heath</author><pubDate>Sun, 23 Jan 2011 13:55:00 GMT</pubDate><guid>http://www.shnenglu.com/heath/archive/2011/01/23/139190.html</guid><wfw:comment>http://www.shnenglu.com/heath/comments/139190.html</wfw:comment><comments>http://www.shnenglu.com/heath/archive/2011/01/23/139190.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.shnenglu.com/heath/comments/commentRss/139190.html</wfw:commentRss><trackback:ping>http://www.shnenglu.com/heath/services/trackbacks/139190.html</trackback:ping><description><![CDATA[<p>    个h有个需求,希望在update时用颜色高亮己感兴趣的文Ӟ目前我只对sln及vcproj文g感兴?/p> <p>    首先惛_的是用TSVN的hook script(client side)Q但仔细研究后发C入script的参C有操作\径,且通过script也不可能讉K/修改Notify对话框中的信息和字体颜色。唯一的办法就是修Ҏ代码重新~译Q从TSVN官方代码库获取到了trunk source code后,按照根\径下的build.txt文档q行构徏Qdoc\build-zh_CN.txt有些q时了,不要按照该文档进行构建)Q最C码需要用到VC++10.0~译Q过E中除了hunspell下affixmgr.cxx、hashmgr.cxx和hunspell.cxx三个文g׃svn的编码{换导致文件内容异常外Q没什么大问题?/p> <p>    TSVN的代码写得很beautifulQ这个要赞一下。在清晰的结构下很快对source codeq行了分析,发现TSVN的操作处理代码位于src\TortoiseProc下面Q而对各种操作的UI反馈主要攑֜SVNProgressDlg中。找到要修改的地方,d了几行代码,用NAnt构徏后,替换现装版中的对应文Ӟ出现subversion too old问题Q点开TortoiseProc.exe发现最C码中的subversion版本已经用到?.7.2Q而TSVN对外发布的最新版却还?.6.15Q可能是开发者认MinorVersionqtoo old了吧。算了,不折腾了Q直接拉发布?.6.12的tag来修改吧?/p> <p>    1.6.12版的source code用VC++9.0~译Q按照build文档调整一下与前面构徏有差异的地方Q值得注意的是TSVN用到了RibbonQ所以必d安装一下vs2008 sp1补丁。在构徏TortoiseProcӞ有个头文件中重复声明了MFC中已l定义了的类型,D构徏p|Q需要将重复定义之处注释掉。TortoiseProc一出,我的目的pCQ由于构建的版本与我安装的一_所以只需替换TortoiseProc.exeQ经试一切OK?/p> <p><a href="http://www.shnenglu.com/images/cppblog_com/heath/Windows-Live-Writer/3869eb50ee51_FB58/test_2.png"><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="test" border="0" alt="test" src="http://www.shnenglu.com/images/cppblog_com/heath/Windows-Live-Writer/3869eb50ee51_FB58/test_thumb.png" width="671" height="310"></a> </p> <p>    个h觉得Q对TSVN的扩展还是麻烦了一点,整个构徏q程p了大量时_增强hook script?/p><img src ="http://www.shnenglu.com/heath/aggbug/139190.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.shnenglu.com/heath/" target="_blank">Heath</a> 2011-01-23 21:55 <a href="http://www.shnenglu.com/heath/archive/2011/01/23/139190.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>&quot;Inception&quot; ?/title><link>http://www.shnenglu.com/heath/archive/2010/09/05/125961.html</link><dc:creator>Heath</dc:creator><author>Heath</author><pubDate>Sun, 05 Sep 2010 15:02:00 GMT</pubDate><guid>http://www.shnenglu.com/heath/archive/2010/09/05/125961.html</guid><wfw:comment>http://www.shnenglu.com/heath/comments/125961.html</wfw:comment><comments>http://www.shnenglu.com/heath/archive/2010/09/05/125961.html#Feedback</comments><slash:comments>7</slash:comments><wfw:commentRss>http://www.shnenglu.com/heath/comments/commentRss/125961.html</wfw:commentRss><trackback:ping>http://www.shnenglu.com/heath/services/trackbacks/125961.html</trackback:ping><description><![CDATA[<p>    不愧为“天才导演”,Nolan选取了h们很关注的梦境作ؓ题材Q利用梦中梦的递归手法拓宽了时I感Q让观众觉得q很有嚼头。媄片首֑应,中间以入늛标梦境ƈ植入一个想法ؓȝQ递归深度辑ֈ?层,可见导演的用心之处。期间还I插着一条支U,那就是柯布的梦境Q这一直是他的痛,直到故事最后,他才释怀?/p> <p>    心理学ؓ该媄片了理论基础Q盗梦的目的是ZH探目标埋藏在心里的U密Q因为梦是伪装得最的潜意识表现。而作入目标梦境的工具Q导演却是一W带q,不得不说是一个遗憾,因而该q也就成了一部纯U电媄?/p> <p>    观媄毕,个h感觉Dream Design应该也和Game Design怼吧:故事、h物、时间、场景的设计。Programmer也深d温习了一下递归吧?/p> <p> </p> <p>B.T.W. 多年以来Q能够撼动我思想的媄片仅有两部:"The Matrix"?Inception"?/p> <p> </p> <p><a href="http://www.shnenglu.com/images/cppblog_com/heath/WindowsLiveWriter/Inception_13B82/Inception_2.jpg"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="Inception" border="0" alt="Inception" src="http://www.shnenglu.com/images/cppblog_com/heath/WindowsLiveWriter/Inception_13B82/Inception_thumb.jpg" width="409" height="570"></a></p><img src ="http://www.shnenglu.com/heath/aggbug/125961.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.shnenglu.com/heath/" target="_blank">Heath</a> 2010-09-05 23:02 <a href="http://www.shnenglu.com/heath/archive/2010/09/05/125961.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>Kindle DXGhttp://www.shnenglu.com/heath/archive/2010/08/21/124193.htmlHeathHeathSat, 21 Aug 2010 08:44:00 GMThttp://www.shnenglu.com/heath/archive/2010/08/21/124193.htmlhttp://www.shnenglu.com/heath/comments/124193.htmlhttp://www.shnenglu.com/heath/archive/2010/08/21/124193.html#Feedback2http://www.shnenglu.com/heath/comments/commentRss/124193.htmlhttp://www.shnenglu.com/heath/services/trackbacks/124193.html    Amazon??日发布了代号为Graphite的Kindle DXQ同时全面下调kindle 2和kindle DX的h根{原计划{IPad在HK上市后去那边买的Q后来考虑C用于看电子书Q还是E-INK屏比较好Q正?.7寸屏的Kindle DXG也落C心理价位Q于是决定入手之?7?日下单,期间遇上了v关严打,货被扣了2周后交税放行Q??0日到手。用近一个月QM来讲q不错:

1QFree 3G速度快,看新L便;

2Q分辨率高,字体清晰Q?/p>

2QNative PDF SupportQ翻速度已经很快了,对于内嵌中文字体也有很好地支持。看PDF文档Ӟ9.7寸屏?寸屏更易于阅诅RZoom功能q乎鸡肋Q因为很不喜Ƣ拉着滚动条阅读,看扫描书的时候顶多用一下横屏。此外,׃Kindle会把颜色转换为灰度,所以对于非U色的文字,会显得很淡?/p>

3Q由于AmazonMobipocket收归旗下的缘故,所以对mobi/prc文g格式的支持和azw格式一样好Q提供指译、字体羃放、注?W记{功能;

4Q通过Gift Card的方式购买电子书也挺方便Q免M买纸质书的运费和q输延迟。不q技术书的电子版本很,且h格昂贵;

5Q待机时间长Q这是E-INK阅读器的一大优势;

6Q加上原装皮套,重量和一本A4 600左右的书差不多?/p>

    对于电子书{换工P个h推荐QMobipocket和CalibreQ仅Mac OSQ。后者是开源的Q功能和输出文g质量胜于前者?/p>

image

image

image

image



Heath 2010-08-21 16:44 发表评论
]]>
How to install Mac OS X 10.6.3 on PC from Hard Diskhttp://www.shnenglu.com/heath/archive/2010/05/14/115403.htmlHeathHeathFri, 14 May 2010 13:57:00 GMThttp://www.shnenglu.com/heath/archive/2010/05/14/115403.htmlhttp://www.shnenglu.com/heath/comments/115403.htmlhttp://www.shnenglu.com/heath/archive/2010/05/14/115403.html#Feedback7http://www.shnenglu.com/heath/comments/commentRss/115403.htmlhttp://www.shnenglu.com/heath/services/trackbacks/115403.html阅读全文

Heath 2010-05-14 21:57 发表评论
]]>
Enable AHCI mode after installing Windows xphttp://www.shnenglu.com/heath/archive/2010/05/14/115400.htmlHeathHeathFri, 14 May 2010 13:26:00 GMThttp://www.shnenglu.com/heath/archive/2010/05/14/115400.htmlhttp://www.shnenglu.com/heath/comments/115400.htmlhttp://www.shnenglu.com/heath/archive/2010/05/14/115400.html#Feedback0http://www.shnenglu.com/heath/comments/commentRss/115400.htmlhttp://www.shnenglu.com/heath/services/trackbacks/115400.html阅读全文

Heath 2010-05-14 21:26 发表评论
]]>
C++认知误区(1)Q成员保护机?/title><link>http://www.shnenglu.com/heath/archive/2010/04/24/113445.html</link><dc:creator>Heath</dc:creator><author>Heath</author><pubDate>Sat, 24 Apr 2010 08:16:00 GMT</pubDate><guid>http://www.shnenglu.com/heath/archive/2010/04/24/113445.html</guid><wfw:comment>http://www.shnenglu.com/heath/comments/113445.html</wfw:comment><comments>http://www.shnenglu.com/heath/archive/2010/04/24/113445.html#Feedback</comments><slash:comments>3</slash:comments><wfw:commentRss>http://www.shnenglu.com/heath/comments/commentRss/113445.html</wfw:commentRss><trackback:ping>http://www.shnenglu.com/heath/services/trackbacks/113445.html</trackback:ping><description><![CDATA[     摘要: 生活、工作中会有各种各样认知误区Q与自己认知相悖的,不一定是错误?nbsp; <a href='http://www.shnenglu.com/heath/archive/2010/04/24/113445.html'>阅读全文</a><img src ="http://www.shnenglu.com/heath/aggbug/113445.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.shnenglu.com/heath/" target="_blank">Heath</a> 2010-04-24 16:16 <a href="http://www.shnenglu.com/heath/archive/2010/04/24/113445.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>Visual Buildhttp://www.shnenglu.com/heath/archive/2010/03/09/109314.htmlHeathHeathTue, 09 Mar 2010 12:22:00 GMThttp://www.shnenglu.com/heath/archive/2010/03/09/109314.htmlhttp://www.shnenglu.com/heath/comments/109314.htmlhttp://www.shnenglu.com/heath/archive/2010/03/09/109314.html#Feedback0http://www.shnenglu.com/heath/comments/commentRss/109314.htmlhttp://www.shnenglu.com/heath/services/trackbacks/109314.html阅读全文

Heath 2010-03-09 20:22 发表评论
]]>
让博客写得更L点吧http://www.shnenglu.com/heath/archive/2010/01/18/105901.htmlHeathHeathSun, 17 Jan 2010 16:36:00 GMThttp://www.shnenglu.com/heath/archive/2010/01/18/105901.htmlhttp://www.shnenglu.com/heath/comments/105901.htmlhttp://www.shnenglu.com/heath/archive/2010/01/18/105901.html#Feedback1http://www.shnenglu.com/heath/comments/commentRss/105901.htmlhttp://www.shnenglu.com/heath/services/trackbacks/105901.html    怹没更新博客,一是因为工作占据了几乎所有时_二是惌发布一图文ƈ茂的博文真的太耗时了。对于第二点Q繁琐的上传囄和调整格式就会浪费很多宝늚旉Q虽然MS Office 2007提供了blog功能Q消除了手动上传囄的烦|然而在实际使用中,不知是否是Metaweblog API转换Word格式的问题,上传至blog的文章的格式却与Word中的大相径庭Q比如:标号错ؕQ图片拉伸羃、编号不能显C等诸多问题Q最l还是作|,让文档存在本圎ͼ期待有大把的I闲旉再作分n?/p>

    问题q是要想办法解决啊,用google搜烦了一下“博客写作工具”,才得知MS推出了一Ƒօ费的博客写作工具——Windows Live Writer。我正在用它写着q篇文章Q它是Windows版的.TextQ有Edit、Preview和HTML SourceQ由于直接用了HTMLQ就不存在像Word发布到博客时格式错ؕ的问题。比L接?Text~辑文章QWindows Live Writer的优势在于不依赖|络、操作速度快、支持一些Web环境难以做到的操作(如:copy & paste picturesQ以及Plug-inQ如Q代码高亮)?/p>

    夜深了,今天p用到q里?/p>

Koala

If you want to be a good writer, you must write more?

    Writer下蝲地址http://download.live.com/writer



Heath 2010-01-18 00:36 发表评论
]]>
Windows 7 & Visual Studio 2010 使用记http://www.shnenglu.com/heath/archive/2009/12/27/104160.htmlHeathHeathSat, 26 Dec 2009 16:13:00 GMThttp://www.shnenglu.com/heath/archive/2009/12/27/104160.htmlhttp://www.shnenglu.com/heath/comments/104160.htmlhttp://www.shnenglu.com/heath/archive/2009/12/27/104160.html#Feedback0http://www.shnenglu.com/heath/comments/commentRss/104160.htmlhttp://www.shnenglu.com/heath/services/trackbacks/104160.htmlM来说比Vista强多了,主要表现在资源占用和易用性上?search programs and files"是笔者最喜欢用的功能Q不是执行E序q是查找记忆模糊的文档,都能很好满需求。此外,在程序的兼容性上QWindows 7也有很出色的表现?/div>
Visual Studio 2010
作ؓ一名WindowsE序员,Visual Studio一直是个开发利器,?.0?003, 2008Q每个版本在功能、易用性、稳定性上都有Ex提升。前不久Visual Studio 2010评估版发布,W者第一旉到官|下载,一斚w是因为Visual Studio 2008在Windows 7下连接程序有时会崩溃Q另一斚w想看看新版有那些改进。经q一D|间的使用Q感受如?只关注VC++部分)Q?/div>
1QUI的颜艌Ӏ布局有所调整Q但感觉不是那么和谐Q?/div>
2Q创建MFCE序可以选择的界面风g富了Q不用借助W三方组件就可以开发出复杂界面Q?/div>
3Q智能提C更E_Q虽然吸收了vs助手的一些小功能Q但最好用的Find File in Solutionq是没有集成q来Q?/div>
4Q围lTeam development更丰富和完善的功能,Visual Studio已经覆盖了项目开发的各个斚wQ已l不再是只关注代码编写、编译的单纯IDE了?/div>
4Q在Windows 7上运行稳定?/div>
下图为MFC Ribbon做AppQ?img border=0 alt="" align=left src="http://www.shnenglu.com/images/cppblog_com/heath/VS2010_Ribbon.PNG" width=600 height=348>


Heath 2009-12-27 00:13 发表评论
]]>听Lippman讲http://www.shnenglu.com/heath/archive/2009/12/05/102605.htmlHeathHeathSat, 05 Dec 2009 08:19:00 GMThttp://www.shnenglu.com/heath/archive/2009/12/05/102605.htmlhttp://www.shnenglu.com/heath/comments/102605.htmlhttp://www.shnenglu.com/heath/archive/2009/12/05/102605.html#Feedback6http://www.shnenglu.com/heath/comments/commentRss/102605.htmlhttp://www.shnenglu.com/heath/services/trackbacks/102605.html阅读全文

Heath 2009-12-05 16:19 发表评论
]]>
Amazon低调推出Kindle for PChttp://www.shnenglu.com/heath/archive/2009/11/20/101453.htmlHeathHeathFri, 20 Nov 2009 02:14:00 GMThttp://www.shnenglu.com/heath/archive/2009/11/20/101453.htmlhttp://www.shnenglu.com/heath/comments/101453.htmlhttp://www.shnenglu.com/heath/archive/2009/11/20/101453.html#Feedback0http://www.shnenglu.com/heath/comments/commentRss/101453.htmlhttp://www.shnenglu.com/heath/services/trackbacks/101453.html阅读全文

Heath 2009-11-20 10:14 发表评论
]]>
Mark H-H and his 'Real-Time Cameras'http://www.shnenglu.com/heath/archive/2009/11/19/101404.htmlHeathHeathThu, 19 Nov 2009 10:35:00 GMThttp://www.shnenglu.com/heath/archive/2009/11/19/101404.htmlhttp://www.shnenglu.com/heath/comments/101404.htmlhttp://www.shnenglu.com/heath/archive/2009/11/19/101404.html#Feedback2http://www.shnenglu.com/heath/comments/commentRss/101404.htmlhttp://www.shnenglu.com/heath/services/trackbacks/101404.html阅读全文

Heath 2009-11-19 18:35 发表评论
]]>
《媄响力》读书笔?/title><link>http://www.shnenglu.com/heath/archive/2009/10/28/99623.html</link><dc:creator>Heath</dc:creator><author>Heath</author><pubDate>Tue, 27 Oct 2009 16:29:00 GMT</pubDate><guid>http://www.shnenglu.com/heath/archive/2009/10/28/99623.html</guid><wfw:comment>http://www.shnenglu.com/heath/comments/99623.html</wfw:comment><comments>http://www.shnenglu.com/heath/archive/2009/10/28/99623.html#Feedback</comments><slash:comments>1</slash:comments><wfw:commentRss>http://www.shnenglu.com/heath/comments/commentRss/99623.html</wfw:commentRss><trackback:ping>http://www.shnenglu.com/heath/services/trackbacks/99623.html</trackback:ping><description><![CDATA[     摘要: C交之利?nbsp; <a href='http://www.shnenglu.com/heath/archive/2009/10/28/99623.html'>阅读全文</a><img src ="http://www.shnenglu.com/heath/aggbug/99623.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.shnenglu.com/heath/" target="_blank">Heath</a> 2009-10-28 00:29 <a href="http://www.shnenglu.com/heath/archive/2009/10/28/99623.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>初读E序员修g?/title><link>http://www.shnenglu.com/heath/archive/2009/10/27/99620.html</link><dc:creator>Heath</dc:creator><author>Heath</author><pubDate>Tue, 27 Oct 2009 15:53:00 GMT</pubDate><guid>http://www.shnenglu.com/heath/archive/2009/10/27/99620.html</guid><wfw:comment>http://www.shnenglu.com/heath/comments/99620.html</wfw:comment><comments>http://www.shnenglu.com/heath/archive/2009/10/27/99620.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.shnenglu.com/heath/comments/commentRss/99620.html</wfw:commentRss><trackback:ping>http://www.shnenglu.com/heath/services/trackbacks/99620.html</trackback:ping><description><![CDATA[     摘要: Z么在设计良好或者优的代码之上Q我们L一U竭力维护其优美性的們֐呢?一直以来,我都以ؓq只是我的个人好Ӟ然?..  <a href='http://www.shnenglu.com/heath/archive/2009/10/27/99620.html'>阅读全文</a><img src ="http://www.shnenglu.com/heath/aggbug/99620.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.shnenglu.com/heath/" target="_blank">Heath</a> 2009-10-27 23:53 <a href="http://www.shnenglu.com/heath/archive/2009/10/27/99620.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>[Ref]Getting a Job in 3D and Gameshttp://www.shnenglu.com/heath/archive/2009/08/27/94607.htmlHeathHeathThu, 27 Aug 2009 14:03:00 GMThttp://www.shnenglu.com/heath/archive/2009/08/27/94607.htmlhttp://www.shnenglu.com/heath/comments/94607.htmlhttp://www.shnenglu.com/heath/archive/2009/08/27/94607.html#Feedback2http://www.shnenglu.com/heath/comments/commentRss/94607.htmlhttp://www.shnenglu.com/heath/services/trackbacks/94607.html阅读全文

Heath 2009-08-27 22:03 发表评论
]]>
以往的文章连?/title><link>http://www.shnenglu.com/heath/archive/2009/06/24/88436.html</link><dc:creator>Heath</dc:creator><author>Heath</author><pubDate>Wed, 24 Jun 2009 08:31:00 GMT</pubDate><guid>http://www.shnenglu.com/heath/archive/2009/06/24/88436.html</guid><wfw:comment>http://www.shnenglu.com/heath/comments/88436.html</wfw:comment><comments>http://www.shnenglu.com/heath/archive/2009/06/24/88436.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.shnenglu.com/heath/comments/commentRss/88436.html</wfw:commentRss><trackback:ping>http://www.shnenglu.com/heath/services/trackbacks/88436.html</trackback:ping><description><![CDATA[<p>博客是个不错的备忘录Q把自己的学习心得和思ASave一下,需要的时候还可以Load?br><a >http://blog.csdn.net/Lodger007/</a></p> <img src ="http://www.shnenglu.com/heath/aggbug/88436.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.shnenglu.com/heath/" target="_blank">Heath</a> 2009-06-24 16:31 <a href="http://www.shnenglu.com/heath/archive/2009/06/24/88436.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>q期d的一些好?/title><link>http://www.shnenglu.com/heath/archive/2009/05/06/82112.html</link><dc:creator>Heath</dc:creator><author>Heath</author><pubDate>Wed, 06 May 2009 15:57:00 GMT</pubDate><guid>http://www.shnenglu.com/heath/archive/2009/05/06/82112.html</guid><wfw:comment>http://www.shnenglu.com/heath/comments/82112.html</wfw:comment><comments>http://www.shnenglu.com/heath/archive/2009/05/06/82112.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.shnenglu.com/heath/comments/commentRss/82112.html</wfw:commentRss><trackback:ping>http://www.shnenglu.com/heath/services/trackbacks/82112.html</trackback:ping><description><![CDATA[     摘要: ȝ一?nbsp; <a href='http://www.shnenglu.com/heath/archive/2009/05/06/82112.html'>阅读全文</a><img src ="http://www.shnenglu.com/heath/aggbug/82112.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.shnenglu.com/heath/" target="_blank">Heath</a> 2009-05-06 23:57 <a href="http://www.shnenglu.com/heath/archive/2009/05/06/82112.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>被动D3D HookingҎhttp://www.shnenglu.com/heath/archive/2008/11/23/67661.htmlHeathHeathSun, 23 Nov 2008 07:22:00 GMThttp://www.shnenglu.com/heath/archive/2008/11/23/67661.htmlhttp://www.shnenglu.com/heath/comments/67661.htmlhttp://www.shnenglu.com/heath/archive/2008/11/23/67661.html#Feedback1http://www.shnenglu.com/heath/comments/commentRss/67661.htmlhttp://www.shnenglu.com/heath/services/trackbacks/67661.html阅读全文

Heath 2008-11-23 15:22 发表评论
]]>
HOW TO PerfHUDhttp://www.shnenglu.com/heath/archive/2008/11/22/67603.htmlHeathHeathSat, 22 Nov 2008 09:29:00 GMThttp://www.shnenglu.com/heath/archive/2008/11/22/67603.htmlhttp://www.shnenglu.com/heath/comments/67603.htmlhttp://www.shnenglu.com/heath/archive/2008/11/22/67603.html#Feedback3http://www.shnenglu.com/heath/comments/commentRss/67603.htmlhttp://www.shnenglu.com/heath/services/trackbacks/67603.html阅读全文

Heath 2008-11-22 17:29 发表评论
]]>
99þþƷһëƬ| 99þѹƷػ| ޹Ʒһþ| þþþþ޾Ʒ| ŷպþAV| ٸþþþþþþþ| þܳ| þĻƷѩ| 91þþþþþ| þAVij| ˾þô߽| ھƷ˾þþþAVӰԺ| þþƷƷ| þ99Ʒþþþ| ŷþ޾Ʒ| պŷþþwwwۺ| þþƷ| þۺۺϾþ97ɫ| ŷƷþþþþþο| պAvĻþþ޸| þþþƷ2019ѹۿ| ˳wwwþþ| ھƷþþþþòӰԺ| þۺϾƷþ| þ޹ƷAVϼ| þþƷ| þþù| þۺϾɫۺϾ99| þùƷ| ˾þô߽ۺAv| ھƷþþþþþþõӰ | þۺϾƷþ| þþþþùƷŮ| þav뾫Ʒ˳| þþƷ99ɫĻ| þþWWWѾƷ| þþ޾Ʒ| Ļ˾þ| ŷþþþ9999| ŷ޹Ʒþ| 99þþƷѿһ|