<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	>

<channel>
	<title>静静的，漂泊在异乡的云</title>
	<atom:link href="http://xilu.72pines.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://xilu.72pines.com</link>
	<description>Just another 七十二松 (72pines) weblog</description>
	<pubDate>Mon, 08 Jun 2009 02:23:58 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.7</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>cmake 执行外部程序</title>
		<link>http://xilu.72pines.com/2009/06/08/cmake-%e6%89%a7%e8%a1%8c%e5%a4%96%e9%83%a8%e7%a8%8b%e5%ba%8f/</link>
		<comments>http://xilu.72pines.com/2009/06/08/cmake-%e6%89%a7%e8%a1%8c%e5%a4%96%e9%83%a8%e7%a8%8b%e5%ba%8f/#comments</comments>
		<pubDate>Mon, 08 Jun 2009 02:23:58 +0000</pubDate>
		<dc:creator>xilu</dc:creator>
		
		<category><![CDATA[Linux/MacOS/Windows]]></category>

		<category><![CDATA[programming]]></category>

		<guid isPermaLink="false">http://xilu.72pines.com/?p=173</guid>
		<description><![CDATA[Get version number with SubWCRev in Windows:
if(WIN32)
EXECUTE_PROCESS(COMMAND SubWCRev
${dak_SOURCE_DIR}
${dak_SOURCE_DIR}/inc/dak_version_raw.h
${dak_SOURCE_DIR}/inc/dak_version.h)
endif(WIN32)
SubWCRev is part of TotoriseSVN.
]]></description>
			<content:encoded><![CDATA[<p>Get version number with SubWCRev in Windows:</p>
<blockquote><p>if(WIN32)<br />
EXECUTE_PROCESS(COMMAND SubWCRev<br />
${dak_SOURCE_DIR}<br />
${dak_SOURCE_DIR}/inc/dak_version_raw.h<br />
${dak_SOURCE_DIR}/inc/dak_version.h)<br />
endif(WIN32)</p></blockquote>
<p>SubWCRev is part of TotoriseSVN.</p>
]]></content:encoded>
			<wfw:commentRss>http://xilu.72pines.com/2009/06/08/cmake-%e6%89%a7%e8%a1%8c%e5%a4%96%e9%83%a8%e7%a8%8b%e5%ba%8f/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Windows 2003/2008 server shutdown event tracker</title>
		<link>http://xilu.72pines.com/2009/06/06/windows-20032008-server-shutdown-event-tracker/</link>
		<comments>http://xilu.72pines.com/2009/06/06/windows-20032008-server-shutdown-event-tracker/#comments</comments>
		<pubDate>Sat, 06 Jun 2009 22:39:15 +0000</pubDate>
		<dc:creator>xilu</dc:creator>
		
		<category><![CDATA[Linux/MacOS/Windows]]></category>

		<category><![CDATA[2003 server]]></category>

		<category><![CDATA[2008 server]]></category>

		<category><![CDATA[shutdown event tracker]]></category>

		<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://xilu.72pines.com/?p=169</guid>
		<description><![CDATA[Windows 2008 server 的shutdown event tracker对我这种常常重启的用户来说，就是一个额外的负担。可以用如下方法禁用：
运行 gpedit.msc，然后 &#8220;Computer Configuration - Administrative Templates - System&#8221;, 设置 Display Shutdown Event Tracker  为  disabled.
]]></description>
			<content:encoded><![CDATA[<p>Windows 2008 server 的shutdown event tracker对我这种常常重启的用户来说，就是一个额外的负担。可以用如下方法禁用：</p>
<p>运行 gpedit.msc，然后 &#8220;Computer Configuration - Administrative Templates - System&#8221;, 设置 Display Shutdown Event Tracker  为  disabled.</p>
]]></content:encoded>
			<wfw:commentRss>http://xilu.72pines.com/2009/06/06/windows-20032008-server-shutdown-event-tracker/feed/</wfw:commentRss>
		</item>
		<item>
		<title>CMake 简介（一）</title>
		<link>http://xilu.72pines.com/2009/05/26/cmake-%e7%ae%80%e4%bb%8b%ef%bc%88%e4%b8%80%ef%bc%89/</link>
		<comments>http://xilu.72pines.com/2009/05/26/cmake-%e7%ae%80%e4%bb%8b%ef%bc%88%e4%b8%80%ef%bc%89/#comments</comments>
		<pubDate>Tue, 26 May 2009 22:25:07 +0000</pubDate>
		<dc:creator>xilu</dc:creator>
		
		<category><![CDATA[Linux/MacOS/Windows]]></category>

		<category><![CDATA[c/c++]]></category>

		<category><![CDATA[programming]]></category>

		<category><![CDATA[cmake autoconf automake]]></category>

		<category><![CDATA[make makefile]]></category>

		<guid isPermaLink="false">http://xilu.72pines.com/?p=165</guid>
		<description><![CDATA[CMake 是一个跨平台的编译构建系统，它负责搜集系统中的函数库信息，管理源文件的依赖关系，生成合适的脚本供自动编译系统调用，完成程序的编译构建任务（compile and build）。它所能生成的格式包括常用的 Unix/Linux、Cygwin 以及 MinGW 下的 Makefile，Windows 下的 nmake 和 Visual Studio
CMake使用一个 CMakeList.txt 的输入文件，一个简单的例子如下：
cmake_minimum_required (VERSION 2.6)
project (HELLO)
# Recurse into the &#8220;Hello&#8221; and &#8220;Demo&#8221; subdirectories.  This does not actually
# cause another cmake executable to run.  The same process will walk through
# the project&#8217;s entire directory structure.
add_subdirectory (Hello)
add_subdirectory (Demo)
子目录 Hello 下有 CMakeList.txt 文件：
# [...]]]></description>
			<content:encoded><![CDATA[<p>CMake 是一个跨平台的编译构建系统，它负责搜集系统中的函数库信息，管理源文件的依赖关系，生成合适的脚本供自动编译系统调用，完成程序的编译构建任务（compile and build）。它所能生成的格式包括常用的 Unix/Linux、Cygwin 以及 MinGW 下的 Makefile，Windows 下的 nmake 和 Visual Studio</p>
<p>CMake使用一个 CMakeList.txt 的输入文件，<a href="http://www.cmake.org/cmake/help/examples.html">一个简单的例子如下</a>：</p>
<blockquote><p>cmake_minimum_required (VERSION 2.6)<br />
project (HELLO)</p>
<p># Recurse into the &#8220;Hello&#8221; and &#8220;Demo&#8221; subdirectories.  This does not actually<br />
# cause another cmake executable to run.  The same process will walk through<br />
# the project&#8217;s entire directory structure.<br />
add_subdirectory (Hello)<br />
add_subdirectory (Demo)</p></blockquote>
<p>子目录 Hello 下有 CMakeList.txt 文件：</p>
<blockquote><p># Create a library called &#8220;Hello&#8221; which includes the source file &#8220;hello.cxx&#8221;.<br />
# The extension is already found.  Any number of sources could be listed here.<br />
add_library (Hello hello.cxx)</p></blockquote>
<p>子目录 Demo 下有 CMakeList.txt</p>
<blockquote>
<div id="textboxstyle"># Make sure the compiler can find include files from our Hello library.<br />
include_directories (${HELLO_SOURCE_DIR}/Hello)</p>
<p># Make sure the linker can find the Hello library once it is built.<br />
link_directories (${HELLO_BINARY_DIR}/Hello)</p>
<p># Add executable called &#8220;helloDemo&#8221; that is built from the source files<br />
# &#8220;demo.cxx&#8221; and &#8220;demo_b.cxx&#8221;.  The extensions are automatically found.<br />
add_executable (helloDemo demo.cxx demo_b.cxx)</p>
<p># Link the executable to the Hello library.<br />
target_link_libraries (helloDemo Hello)</p></div>
</blockquote>
<p>通常的编译安装为：</p>
<blockquote><p>cmake c:\devel\project-X -G &#8220;Visual Studio 9 2008&#8243;</p></blockquote>
<p>然后用Visual studio打开生成的 solution 文件。</p>
]]></content:encoded>
			<wfw:commentRss>http://xilu.72pines.com/2009/05/26/cmake-%e7%ae%80%e4%bb%8b%ef%bc%88%e4%b8%80%ef%bc%89/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Emacs auto revert mode</title>
		<link>http://xilu.72pines.com/2009/05/24/161/</link>
		<comments>http://xilu.72pines.com/2009/05/24/161/#comments</comments>
		<pubDate>Sun, 24 May 2009 19:49:26 +0000</pubDate>
		<dc:creator>xilu</dc:creator>
		
		<category><![CDATA[Linux/MacOS/Windows]]></category>

		<category><![CDATA[Misc.]]></category>

		<category><![CDATA[TeX/Word]]></category>

		<category><![CDATA[emacs config mode revert]]></category>

		<guid isPermaLink="false">http://xilu.72pines.com/?p=161</guid>
		<description><![CDATA[If you often look at files that are updated,  a log file for a running process, you&#8217;ll want to make sure you&#8217;re looking at the most recent version of the file.
To do this, add the following to your .emacs:
(global-auto-revert-mode 1)
For more documentation type:
C-h C-f global-auto-revert-mode RET
]]></description>
			<content:encoded><![CDATA[<p>If you often look at files that are updated,  a log file for a running process, you&#8217;ll want to make sure you&#8217;re looking at the most recent version of the file.</p>
<p>To do this, add the following to your .emacs:</p>
<p><code>(global-auto-revert-mode 1)</code></p>
<p>For more documentation type:</p>
<p><code>C-h C-f global-auto-revert-mode RET</code></p>
]]></content:encoded>
			<wfw:commentRss>http://xilu.72pines.com/2009/05/24/161/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Life as an Algorithm</title>
		<link>http://xilu.72pines.com/2009/05/12/lifeasanalgorithm/</link>
		<comments>http://xilu.72pines.com/2009/05/12/lifeasanalgorithm/#comments</comments>
		<pubDate>Tue, 12 May 2009 00:05:12 +0000</pubDate>
		<dc:creator>xilu</dc:creator>
		
		<category><![CDATA[Misc.]]></category>

		<category><![CDATA[杂七杂八]]></category>

		<guid isPermaLink="false">http://xilu.72pines.com/?p=159</guid>
		<description><![CDATA[Life is like a searching algorithm, someone uses greedy searching, someone uses breadth-first searching, someone uses depth-frist searching. There are also ones using heuristic searching.
]]></description>
			<content:encoded><![CDATA[<p>Life is like a searching algorithm, someone uses greedy searching, someone uses breadth-first searching, someone uses depth-frist searching. There are also ones using heuristic searching.</p>
]]></content:encoded>
			<wfw:commentRss>http://xilu.72pines.com/2009/05/12/lifeasanalgorithm/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Apache 2 + PHP + MySQL</title>
		<link>http://xilu.72pines.com/2009/05/02/apache-2-php-mysql/</link>
		<comments>http://xilu.72pines.com/2009/05/02/apache-2-php-mysql/#comments</comments>
		<pubDate>Sat, 02 May 2009 18:39:08 +0000</pubDate>
		<dc:creator>xilu</dc:creator>
		
		<category><![CDATA[Linux/MacOS/Windows]]></category>

		<category><![CDATA[linux apache2 web server database mysql]]></category>

		<guid isPermaLink="false">http://xilu.72pines.com/?p=127</guid>
		<description><![CDATA[It has been years I have not touched Web server on Linux. There are new commands to release you from editing the *conf in /etc/apache2:
$sudo a2enmod userdir
then try this
&#60;?php phpinfo(); ?&#62;
See the results !
]]></description>
			<content:encoded><![CDATA[<p>It has been years I have not touched Web server on Linux. There are new commands to release you from editing the *conf in /etc/apache2:</p>
<p>$sudo a2enmod userdir</p>
<p>then try this</p>
<blockquote><p>&lt;?php phpinfo(); ?&gt;</p></blockquote>
<p>See the results !</p>
]]></content:encoded>
			<wfw:commentRss>http://xilu.72pines.com/2009/05/02/apache-2-php-mysql/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Frank&#8217;s Superflag of NAG F95</title>
		<link>http://xilu.72pines.com/2009/05/02/franks-superflag-of-nag-f95/</link>
		<comments>http://xilu.72pines.com/2009/05/02/franks-superflag-of-nag-f95/#comments</comments>
		<pubDate>Sat, 02 May 2009 00:29:15 +0000</pubDate>
		<dc:creator>xilu</dc:creator>
		
		<category><![CDATA[programming]]></category>

		<category><![CDATA[fortran f95 f90 nag compiler]]></category>

		<guid isPermaLink="false">http://xilu.72pines.com/?p=121</guid>
		<description><![CDATA[Here it is:

-gline : produce traceback for run time error. increase file size and execution time.
-Wc,-m32
-Wl,-m32
-maxcontin=100
-ieee=nonstop
-D_NAG, use fpp
-Call
-nan, initialize double and complex to be IEEE NaN

]]></description>
			<content:encoded><![CDATA[<p>Here it is:</p>
<ul>
<li>-gline : produce traceback for run time error. increase file size and execution time.</li>
<li>-Wc,-m32</li>
<li>-Wl,-m32</li>
<li>-maxcontin=100</li>
<li>-ieee=nonstop</li>
<li>-D_NAG, use fpp</li>
<li>-Call</li>
<li>-nan, initialize double and complex to be IEEE NaN</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://xilu.72pines.com/2009/05/02/franks-superflag-of-nag-f95/feed/</wfw:commentRss>
		</item>
		<item>
		<title>PAC09 Links</title>
		<link>http://xilu.72pines.com/2009/04/24/pac09-links/</link>
		<comments>http://xilu.72pines.com/2009/04/24/pac09-links/#comments</comments>
		<pubDate>Fri, 24 Apr 2009 19:30:23 +0000</pubDate>
		<dc:creator>xilu</dc:creator>
		
		<category><![CDATA[Misc.]]></category>

		<category><![CDATA[杂七杂八]]></category>

		<category><![CDATA[conference accelerator physics canada]]></category>

		<guid isPermaLink="false">http://xilu.72pines.com/?p=122</guid>
		<description><![CDATA[PAC 2009 Vancouver Canada

http://appora.fnal.gov/pls/pac09/profile.html
http://www.triumf.info/hosted/PAC09/index.html
http://appora.fnal.gov/pls/pac09/eDot.html

]]></description>
			<content:encoded><![CDATA[<p>PAC 2009 Vancouver Canada</p>
<ul>
<li><a href="http://appora.fnal.gov/pls/pac09/profile.html">http://appora.fnal.gov/pls/pac09/profile.html</a></li>
<li><a href="http://www.triumf.info/hosted/PAC09/index.html">http://www.triumf.info/hosted/PAC09/index.html</a></li>
<li><a href="http://appora.fnal.gov/pls/pac09/eDot.html">http://appora.fnal.gov/pls/pac09/eDot.html</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://xilu.72pines.com/2009/04/24/pac09-links/feed/</wfw:commentRss>
		</item>
		<item>
		<title>LaTeX equations to png</title>
		<link>http://xilu.72pines.com/2009/04/03/latex-equations-to-png/</link>
		<comments>http://xilu.72pines.com/2009/04/03/latex-equations-to-png/#comments</comments>
		<pubDate>Fri, 03 Apr 2009 23:53:16 +0000</pubDate>
		<dc:creator>xilu</dc:creator>
		
		<category><![CDATA[Linux/MacOS/Windows]]></category>

		<category><![CDATA[TeX/Word]]></category>

		<guid isPermaLink="false">http://xilu.72pines.com/?p=116</guid>
		<description><![CDATA[Use LaTeX equations as a png figure in OpenOffice:

produce tex file:
\documentclass{article}
\usepackage[active,tightpage,displaymath]{preview}
\begin{document}
\begin{preview}
f(x)=\sqrt{x}
\end{preview}
\begin{preview}
f(x)=e^{\sqrt{x}}
\end{preview}
\end{document}
compile tex file with latex and get dvi file.
dvipng -Ttight &#8211;depth &#8211;height -bg Transparent eq-preview

You will get a series of pictures
]]></description>
			<content:encoded><![CDATA[<p>Use LaTeX equations as a png figure in OpenOffice:</p>
<ol>
<li>produce tex file:</li>
<blockquote><p>\documentclass{article}<br />
\usepackage[active,tightpage,displaymath]{preview}<br />
\begin{document}<br />
\begin{preview}<br />
f(x)=\sqrt{x}<br />
\end{preview}<br />
\begin{preview}<br />
f(x)=e^{\sqrt{x}}<br />
\end{preview}<br />
\end{document}</p></blockquote>
<li>compile tex file with latex and get dvi file.</li>
<li>dvipng -Ttight &#8211;depth &#8211;height -bg Transparent eq-preview</li>
</ol>
<p>You will get a series of pictures</p>
]]></content:encoded>
			<wfw:commentRss>http://xilu.72pines.com/2009/04/03/latex-equations-to-png/feed/</wfw:commentRss>
		</item>
		<item>
		<title>阻止Windows更新后自动重启</title>
		<link>http://xilu.72pines.com/2009/03/12/%e9%98%bb%e6%ad%a2windows%e6%9b%b4%e6%96%b0%e5%90%8e%e8%87%aa%e5%8a%a8%e9%87%8d%e5%90%af/</link>
		<comments>http://xilu.72pines.com/2009/03/12/%e9%98%bb%e6%ad%a2windows%e6%9b%b4%e6%96%b0%e5%90%8e%e8%87%aa%e5%8a%a8%e9%87%8d%e5%90%af/#comments</comments>
		<pubDate>Thu, 12 Mar 2009 03:57:00 +0000</pubDate>
		<dc:creator>xilu</dc:creator>
		
		<category><![CDATA[Linux/MacOS/Windows]]></category>

		<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://xilu.72pines.com/?p=114</guid>
		<description><![CDATA[自作聪明有时候很麻烦：
Start / Run / gpedit.msc / Local Computer Policy / Computer Configuration / Administrative Templates / Windows Components / Windows Update / Re-prompt for restart with scheduled installations
搞定！
]]></description>
			<content:encoded><![CDATA[<p>自作聪明有时候很麻烦：</p>
<blockquote><p>Start / Run / gpedit.msc / Local Computer Policy / Computer Configuration / Administrative Templates / Windows Components / Windows Update / Re-prompt for restart with scheduled installations</p></blockquote>
<p>搞定！</p>
]]></content:encoded>
			<wfw:commentRss>http://xilu.72pines.com/2009/03/12/%e9%98%bb%e6%ad%a2windows%e6%9b%b4%e6%96%b0%e5%90%8e%e8%87%aa%e5%8a%a8%e9%87%8d%e5%90%af/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>
