<?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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>程序员实验室</title>
	<atom:link href="http://www.prglab.com/blog/feed" rel="self" type="application/rss+xml" />
	<link>http://www.prglab.com/blog</link>
	<description>多读书，读好书</description>
	<lastBuildDate>Mon, 07 May 2012 22:11:33 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.4</generator>
		<item>
		<title>验证用户信息的ABAP函数</title>
		<link>http://www.prglab.com/blog/p/245</link>
		<comments>http://www.prglab.com/blog/p/245#comments</comments>
		<pubDate>Tue, 21 Feb 2012 16:03:35 +0000</pubDate>
		<dc:creator>Aqua</dc:creator>
				<category><![CDATA[ABAP程序库]]></category>

		<guid isPermaLink="false">http://www.prglab.com/blog/?p=245</guid>
		<description><![CDATA[可以用SAP标准函数BAPI_USER_GET_DETAIL返回用户信息，在GROUPS参数表中有用户分组信息。]]></description>
			<content:encoded><![CDATA[<p>可以用SAP标准函数BAPI_USER_GET_DETAIL返回用户信息，在GROUPS参数表中有用户分组信息。</p>
]]></content:encoded>
			<wfw:commentRss>http://www.prglab.com/blog/p/245/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Windows无法安装卸载软件时怎么办？</title>
		<link>http://www.prglab.com/blog/p/243</link>
		<comments>http://www.prglab.com/blog/p/243#comments</comments>
		<pubDate>Thu, 10 Nov 2011 20:07:02 +0000</pubDate>
		<dc:creator>Aqua</dc:creator>
				<category><![CDATA[站长杂谈]]></category>

		<guid isPermaLink="false">http://www.prglab.com/blog/?p=243</guid>
		<description><![CDATA[想重新装ITunes，结果怎么也装不了，原因是旧的AppleSoftwareUpdate无法卸载，说是缺什么软件。 在网上搜了下，原来微软居然有这个小工具，专门对付不能安装或卸载的问题，我觉得对付卸载应该用的更多，这世道霸王软件大多，动不动就不让你卸，试了一下还蛮管用的。记下来备用。 http://support.microsoft.com/mats/Program_Install_and_Uninstall 进去点 Run Now 就可以了。]]></description>
			<content:encoded><![CDATA[<p>想重新装ITunes，结果怎么也装不了，原因是旧的AppleSoftwareUpdate无法卸载，说是缺什么软件。</p>
<p>在网上搜了下，原来微软居然有这个小工具，专门对付不能安装或卸载的问题，我觉得对付卸载应该用的更多，这世道霸王软件大多，动不动就不让你卸，试了一下还蛮管用的。记下来备用。</p>
<p><a href="http://support.microsoft.com/mats/Program_Install_and_Uninstall" target="_blank">http://support.microsoft.com/mats/Program_Install_and_Uninstall</a></p>
<p>进去点 Run Now 就可以了。</p>
]]></content:encoded>
			<wfw:commentRss>http://www.prglab.com/blog/p/243/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>2010~2011 Season</title>
		<link>http://www.prglab.com/blog/p/234</link>
		<comments>http://www.prglab.com/blog/p/234#comments</comments>
		<pubDate>Sun, 03 Apr 2011 13:11:49 +0000</pubDate>
		<dc:creator>tony</dc:creator>
				<category><![CDATA[站长杂谈]]></category>

		<guid isPermaLink="false">http://www.prglab.com/blog/?p=234</guid>
		<description><![CDATA[Ice skiing 1. practiced ice with RC at CF - body can&#8217;t fall behind(center stands), avoid survivor mode on ice - sharp edge -  engage edge early to avoid skidding, why? don&#8217;t know(Roy also mentioned this) 2. ultimate skiing book - understood platform angle and edge angle. big edge angle doesn&#8217;t always mean good edge [...]]]></description>
			<content:encoded><![CDATA[<p>Ice skiing</p>
<p>1. practiced ice with RC at CF</p>
<p>- body can&#8217;t fall behind(center stands), avoid survivor mode on ice</p>
<p>- sharp edge</p>
<p>-  engage edge early to avoid skidding, why? don&#8217;t know(Roy also mentioned this)</p>
<p>2. ultimate skiing book</p>
<p>- understood platform angle and edge angle. big edge angle doesn&#8217;t always mean good edge hold</p>
<p>leg force and platform angle has to be less than 90, however, bigger edge angle will decrease platform angle(personal conclusion)</p>
<p>basically this also confirms personal experience why sometimes it is easier to get get hold on steep</p>
<p>- talked to a race coach, she mentioned if one can carve on snow, he/she should also  be able to do it on ice, make sense after understanding</p>
<p>platform angle</p>
<p>-  Took video on steep, analysis below</p>
<p>vic &amp; roy: backseat, weight on inside ski, arm too much apart</p>
<p>bo: upper body turns, no phase 1 or 2.</p>
<p>rc: backseat, arm too much apart</p>
<p>- practiced on steep and ice at MT, conclusion</p>
<p>1. weight has to be on outside ski</p>
<p>2. body has to follow downhill, otherwise, backseat</p>
<p>next season goal:</p>
<p>1. carve on ice and steep, weight on outside ski, body follow up, think about early edge(platform angle)</p>
<p>Mogul</p>
<p>- not as much improvement as last year</p>
<p>- but able to handle half windigo on a good condition day</p>
<p>problem: left turn as as quick</p>
<p>next season goal: focus on left turn and absorb</p>
]]></content:encoded>
			<wfw:commentRss>http://www.prglab.com/blog/p/234/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>SAP Transaction Codes</title>
		<link>http://www.prglab.com/blog/p/211</link>
		<comments>http://www.prglab.com/blog/p/211#comments</comments>
		<pubDate>Wed, 23 Feb 2011 15:24:11 +0000</pubDate>
		<dc:creator>Aqua</dc:creator>
				<category><![CDATA[SAP/ABAP]]></category>

		<guid isPermaLink="false">http://www.prglab.com/blog/?p=211</guid>
		<description><![CDATA[ABAPer 工作中常用到的SAP transaction code SM36 &#8211; Define back ground job AL11 &#8211; SAP Directories 服务器文件目录列表 SM50 &#8211; Process Overview 进程列表(可以kill process) SM51 &#8211; SAP Servers 服务器列表 SM59 &#8211; Configuration of RFC connections 配置远程功能 RFC 链接 SICF &#8211; Maintain Service 服务项目维护 (可以维护Web Services) SE91 &#8211; Message Maintenance 维护提示信息内容 SE93 &#8211; Maintain Transaction 维护事务代码 ST22 &#8211; ABAP [...]]]></description>
			<content:encoded><![CDATA[<p>ABAPer 工作中常用到的SAP transaction code</p>
<p><strong>SM36</strong> &#8211; Define back ground job<br />
<strong>AL11</strong> &#8211; SAP Directories 服务器文件目录列表</p>
<p><strong>SM50</strong> &#8211; Process Overview 进程列表(可以kill process)</p>
<p><strong>SM51</strong> &#8211; SAP Servers 服务器列表</p>
<p><strong>SM59</strong> &#8211; Configuration of RFC connections 配置远程功能 RFC 链接</p>
<p><strong>SICF</strong> &#8211; Maintain Service 服务项目维护 (可以维护Web Services)</p>
<p><strong>SE91</strong> &#8211; Message Maintenance 维护提示信息内容</p>
<p><strong>SE93</strong> &#8211; Maintain Transaction 维护事务代码</p>
<p><strong>ST22</strong> &#8211; ABAP Runtime Error (Short Dumps)</p>
<p><strong>&#8212;&#8212;&#8212;  HR 模块</strong> &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;</p>
<p><strong>PA20</strong> &#8211; display HR master data 显示人力资源主数据</p>
<p><strong>&#8212;&#8212;&#8212;  EHS 模块</strong> &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;</p>
<p><strong>CBIH102</strong> &#8211; Edit Incident / Claim Management  编辑管理事故/索赔</p>
<p><strong>CBIH02</strong> &#8211; Edit Work Area 编辑工作区域</p>
<p><strong>CG12</strong> &#8211; Edit Phrase 定义短语</p>
<p><strong>CT04</strong> &#8211; Characteristics 特征定义</p>
<p><strong>&#8212;&#8212;&#8212;- Security &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;</strong></p>
<p><strong>SU01</strong> &#8211; User master record 用户主数据</p>
<p><strong>SU21</strong> &#8211; authorization object</p>
<p>&nbsp;</p>
<p>不断更新中。。。</p>
]]></content:encoded>
			<wfw:commentRss>http://www.prglab.com/blog/p/211/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SAP 几种用户界面解决方案的比较</title>
		<link>http://www.prglab.com/blog/p/203</link>
		<comments>http://www.prglab.com/blog/p/203#comments</comments>
		<pubDate>Fri, 31 Dec 2010 05:14:59 +0000</pubDate>
		<dc:creator>Aqua</dc:creator>
				<category><![CDATA[SAP/ABAP]]></category>

		<guid isPermaLink="false">http://www.prglab.com/blog/?p=203</guid>
		<description><![CDATA[上WebDynpro课时问了SAP的老师，一位经验丰富的老师，简单的总结如下： ITS &#8211; 可以便捷的实现将某个ＳＡＰ的transaction发布到web上，适合特殊情况(ad-hoc)使用。 Portal &#8211; 适于开发单点登录的应用，例如与windows用户绑定。 WebDynpro &#8211; 适用于开发给内网(intranet)专业用户使用的界面应用，界面元素比较固定，有一定限制，SAP的标准界面风格，做出的界面比较朴素，开发速度快。 BSP &#8211; 专注于网页界面的设计，可实现各种界面风格和网页元素，适用于开发面向非专业用户的internet网页应用，也就是适合设计比较花哨的网页界面。我觉得这个跟jsp, asp,php等属于一类。]]></description>
			<content:encoded><![CDATA[<p>上WebDynpro课时问了SAP的老师，一位经验丰富的老师，简单的总结如下：</p>
<p><strong>ITS</strong> &#8211; 可以便捷的实现将某个ＳＡＰ的transaction发布到web上，适合特殊情况(ad-hoc)使用。</p>
<p><strong>Portal</strong> &#8211; 适于开发单点登录的应用，例如与windows用户绑定。</p>
<p><strong>WebDynpro</strong> &#8211; 适用于开发给内网(intranet)专业用户使用的界面应用，界面元素比较固定，有一定限制，SAP的标准界面风格，做出的界面比较朴素，开发速度快。</p>
<p><strong>BSP</strong> &#8211; 专注于网页界面的设计，可实现各种界面风格和网页元素，适用于开发面向非专业用户的internet网页应用，也就是适合设计比较花哨的网页界面。我觉得这个跟jsp, asp,php等属于一类。</p>
]]></content:encoded>
			<wfw:commentRss>http://www.prglab.com/blog/p/203/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SAP/ABAP 程序员“不”常用的表</title>
		<link>http://www.prglab.com/blog/p/208</link>
		<comments>http://www.prglab.com/blog/p/208#comments</comments>
		<pubDate>Thu, 23 Dec 2010 15:58:25 +0000</pubDate>
		<dc:creator>Aqua</dc:creator>
				<category><![CDATA[SAP/ABAP]]></category>

		<guid isPermaLink="false">http://www.prglab.com/blog/?p=208</guid>
		<description><![CDATA[自己工作中碰到的，记在这里。其实也不常用，但是偶尔用到时不用满世界找了。 表名 英文描述 中文描述 TTZZ Time zones 时区列表 ADRC Addresses (Business Address Services) 地址列表 DD02L All SAP Table Names 列出SAP中所有表名 DD02T Description of table names 列出SAP中所有表名和不同语言的描述 DD03L Fields in a table 表域列表 TSTC SAP Transaction Code table SAP所有事务代码表 TSTCT SAP Transaction Code Text table SAP事务代码描述表 THOL Public Holidays 公共假日列表 DEVACCESS Table for development user 开发人员Access [...]]]></description>
			<content:encoded><![CDATA[<p>自己工作中碰到的，记在这里。其实也不常用，但是偶尔用到时不用满世界找了。</p>
<table>
<tbody>
<tr>
<th>表名</th>
<th>英文描述</th>
<th>中文描述</th>
</tr>
<tr>
<td><strong>TTZZ</strong></td>
<td>Time zones</td>
<td>时区列表</td>
</tr>
<tr>
<td><strong>ADRC</strong></td>
<td>Addresses (Business Address Services)</td>
<td>地址列表</td>
</tr>
<tr>
<td><strong>DD02L</strong></td>
<td>All SAP Table Names</td>
<td>列出SAP中所有表名</td>
</tr>
<tr>
<td><strong>DD02T</strong></td>
<td>Description of table names</td>
<td>列出SAP中所有表名和不同语言的描述</td>
</tr>
<tr>
<td><strong>DD03L</strong></td>
<td>Fields in a table</td>
<td>表域列表</td>
</tr>
<tr>
<td><strong>TSTC</strong></td>
<td>SAP Transaction Code table</td>
<td>SAP所有事务代码表</td>
</tr>
<tr>
<td><strong>TSTCT</strong></td>
<td>SAP Transaction Code Text table</td>
<td>SAP事务代码描述表</td>
</tr>
<tr>
<td><strong>THOL</strong></td>
<td>Public Holidays</td>
<td>公共假日列表</td>
</tr>
<tr>
<td><strong>DEVACCESS</strong></td>
<td>Table for development user</td>
<td>开发人员Access Key</td>
</tr>
<tr>
<td><strong>TBTCP</strong></td>
<td>Background Job Step Overview</td>
<td>后台工作分步概况表</td>
</tr>
</tbody>
</table>
<p>不断更新中。。。</p>
]]></content:encoded>
			<wfw:commentRss>http://www.prglab.com/blog/p/208/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SAP 表结构定义 migration 中数据内容丢失</title>
		<link>http://www.prglab.com/blog/p/205</link>
		<comments>http://www.prglab.com/blog/p/205#comments</comments>
		<pubDate>Wed, 22 Dec 2010 17:35:17 +0000</pubDate>
		<dc:creator>Aqua</dc:creator>
				<category><![CDATA[SAP/ABAP]]></category>

		<guid isPermaLink="false">http://www.prglab.com/blog/?p=205</guid>
		<description><![CDATA[测试过程中发现某数据库表结构定义需要修改（需要将一个字段的名称和数据元素，底层数据类型定义不变，比如长20的字符型还是长20的字符型，只是对应的数据元素名称变了）。 从开发环境migrate到测试环境中后，发现被修改的字段内容原有数据内容全部都被抹掉了。 不知道这其实是不是可控的。 还好只是测试数据。以后要小心了。]]></description>
			<content:encoded><![CDATA[<p>测试过程中发现某数据库表结构定义需要修改（需要将一个字段的名称和数据元素，底层数据类型定义不变，比如长20的字符型还是长20的字符型，只是对应的数据元素名称变了）。<br />
从开发环境migrate到测试环境中后，发现被修改的字段内容原有数据内容全部都被抹掉了。<br />
不知道这其实是不是可控的。<br />
还好只是测试数据。以后要小心了。</p>
]]></content:encoded>
			<wfw:commentRss>http://www.prglab.com/blog/p/205/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ABAP调用UNIX命令显示服务器文件列表</title>
		<link>http://www.prglab.com/blog/p/177</link>
		<comments>http://www.prglab.com/blog/p/177#comments</comments>
		<pubDate>Sun, 26 Sep 2010 02:13:32 +0000</pubDate>
		<dc:creator>Aqua</dc:creator>
				<category><![CDATA[ABAP程序库]]></category>

		<guid isPermaLink="false">http://www.prglab.com/blog/?p=177</guid>
		<description><![CDATA[*---------------------------------------------------------------------* *Report  READ_DIRECTORY *---------------------------------------------------------------------* *调用UNIX命令 ls -l 显示指定服务器路径下的文件列表 *---------------------------------------------------------------------* REPORT  READ_DIRECTORY. selection-screen begin of block ucmd with frame title text-001. parameters: unixdir like   rlgrap-filename.   &#34; 输入服务器路径 selection-screen end of block ucmd. data: begin of tabl occurs 500, line(400), end of tabl. data: wa_line(400) type c. *---------------------------------------------------------------------- start-of-selection. refresh tabl. * 调UNIX命令读取路径，结果写到内表中 concatenate &#039;ls&#039; &#039;-l&#039; unixdir [...]]]></description>
			<content:encoded><![CDATA[<pre class="brush: java">

*---------------------------------------------------------------------*
*Report  READ_DIRECTORY
*---------------------------------------------------------------------*
*调用UNIX命令 ls -l 显示指定服务器路径下的文件列表
*---------------------------------------------------------------------*

REPORT  READ_DIRECTORY.

selection-screen begin of block ucmd with frame title text-001.
parameters: unixdir like   rlgrap-filename.   &quot; 输入服务器路径
selection-screen end of block ucmd.

data: begin of tabl occurs 500,
line(400),
end of tabl.

data: wa_line(400) type c.

*----------------------------------------------------------------------
start-of-selection.
refresh tabl.

* 调UNIX命令读取路径，结果写到内表中
concatenate &#039;ls&#039; &#039;-l&#039; unixdir into unixdir
separated by space.

call &#039;SYSTEM&#039; id &#039;COMMAND&#039; field unixdir
id &#039;TAB&#039;  field tabl[].

* 结果写到屏幕
loop at tabl into wa_line.
write: / wa_line.
endloop.
</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.prglab.com/blog/p/177/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>房贷还款的计算</title>
		<link>http://www.prglab.com/blog/p/165</link>
		<comments>http://www.prglab.com/blog/p/165#comments</comments>
		<pubDate>Thu, 08 Oct 2009 21:01:18 +0000</pubDate>
		<dc:creator>Aqua</dc:creator>
				<category><![CDATA[站长杂谈]]></category>

		<guid isPermaLink="false">http://www.prglab.com/blog/?p=165</guid>
		<description><![CDATA[怎么样才能付最少的利息是俺准房奴最关心的事儿，到底是拿浮动利率好，还是固定利率好，3年固定还是5年固定好，除了个人对利率走向的预测，还得知道利息是怎样计算的。最近刚刚研究了一下，跟大家分享一下心得吧。 房贷还款其实就是分期还款 (amortization)，每期还款金额相同，银行从还款中先扣利息，再算本金。(一般也允许每期多付一点，多付的部分全都算还的本金，因为影响银行的利息收入，一般有限额，这个后面再另说，这里先考虑只老老实实按时还，不多付的情况。） 计算还款金额分两步走，一算周期利率，二算分期金额。 第一步，首先说周期利率。 通常银行给的那个百分数(4%啊，6%啊什么的）都说是年利率，而付款周期可以是按月付(monthly)，半月付(semi-monthly)，按周付(weekly)，或者双周付(Bi-weekly)。计算利息的时候需要计算周期利率，计息周期和付款周期的选择是会影响最终的实际利息的。一般计息周期和付款周期是相同的，这种情况下计息周期的利率等于年利率除以一年的期数，比如年利率是6%，按月付一年12期，周期利率就是6%/12=0.5%。但是有些情况下，比如加拿大的房贷有些是半年计息的，也就是说一年计两次，而还款还是可以选不同周期，这样计息周期与还款周期不同，周期利率就与前面的计算稍有不同。 周其利率的计算公式是： 其中 是银行给的年利率，c是每年的计息周期数，p是每年还款周期数。 比如还是年利率6%，每半年计息（在很多加拿大银行的网站经常会看到一句 Rate calculated semi-annually, not in advance就是这个意思），每年的计息周期就是2，还是按月还款，每年的还款周期是12, 那么周期利率就是 (1-6%/2)^(2/12)-1=0.494%，看到不同了吧。（不过注意一般只有固定利率的房贷是半年计的，浮动利率的一般还是按还款周期计）。 第二步，每期还款额。 有了周期利率就可以算每期还款额了，公式如下： 其中A是每期的还款金额， P 是借款总额（房价减首付），i 是前面算出来的周期利率，n 是还款周期数 （例如如果计划按月还，20年还完，那么还款周期数 n = 20 X 12 = 420） 银行收款后首先从A中拿出本期的利息，然后剩下的钱算你还的本金。具体的公式推导去看后面列出的参考资料。 未完待续。。。 参考： Amortization Calculator &#8211; Wikipedia]]></description>
			<content:encoded><![CDATA[<p>怎么样才能付最少的利息是俺准房奴最关心的事儿，到底是拿浮动利率好，还是固定利率好，3年固定还是5年固定好，除了个人对利率走向的预测，还得知道利息是怎样计算的。最近刚刚研究了一下，跟大家分享一下心得吧。</p>
<p>房贷还款其实就是分期还款 (amortization)，每期还款金额相同，银行从还款中先扣利息，再算本金。(一般也允许每期多付一点，多付的部分全都算还的本金，因为影响银行的利息收入，一般有限额，这个后面再另说，这里先考虑只老老实实按时还，不多付的情况。）</p>
<p>计算还款金额分两步走，一算周期利率，二算分期金额。</p>
<p><strong>第一步，首先说周期利率。</strong></p>
<p>通常银行给的那个百分数(4%啊，6%啊什么的）都说是年利率，而付款周期可以是按月付(monthly)，半月付(semi-monthly)，按周付(weekly)，或者双周付(Bi-weekly)。计算利息的时候需要计算周期利率，计息周期和付款周期的选择是会影响最终的实际利息的。一般计息周期和付款周期是相同的，这种情况下计息周期的利率等于年利率除以一年的期数，比如年利率是6%，按月付一年12期，周期利率就是6%/12=0.5%。但是有些情况下，比如加拿大的房贷有些是半年计息的，也就是说一年计两次，而还款还是可以选不同周期，这样计息周期与还款周期不同，周期利率就与前面的计算稍有不同。</p>
<p>周其利率的计算公式是： <img class="alignnone" src="http://upload.wikimedia.org/math/4/0/3/403a6ee6e669fe86808a380b801b334f.png" alt="" width="204" height="54" /></p>
<p>其中 <img class="alignnone" src="http://upload.wikimedia.org/math/7/c/a/7ca811e322b6a8b8632100075a2af94d.png" alt="" width="48" height="17" />是银行给的年利率，<strong><em>c</em></strong>是每年的计息周期数，<strong><em>p</em></strong>是每年还款周期数。</p>
<p>比如还是年利率6%，每半年计息（在很多加拿大银行的网站经常会看到<span>一句 Rate calculated semi-annually, not in advance就是这个意思），每年的计息周期就是2，还是按月还款，每年的还款周期是12, 那么周期利率就是 (1-6%/2)^(2/12</span>)-1=0.494%，看到不同了吧。（不过注意一般只有固定利率的房贷是半年计的，浮动利率的一般还是按还款周期计）。</p>
<p><strong>第二步，每期还款额。</strong></p>
<p>有了周期利率就可以算每期还款额了，公式如下：</p>
<p><img class="alignnone" src="http://upload.wikimedia.org/math/a/f/0/af0abaab37e3734dac8f9b9306d89635.png" alt="" width="407" height="48" /></p>
<p>其中<strong>A</strong>是每期的还款金额， <strong><em>P</em></strong> 是借款总额（房价减首付），<strong><em>i</em></strong> 是前面算出来的周期利率，<strong><em>n</em></strong> 是还款周期数 （例如如果计划按月还，20年还完，那么还款周期数 <strong><em>n</em></strong> = 20 X 12 = 420）</p>
<p>银行收款后首先从<em><strong>A</strong></em>中拿出本期的利息，然后剩下的钱算你还的本金。具体的公式推导去看后面列出的参考资料。</p>
<p>未完待续。。。</p>
<p>参考： <a href="http://en.wikipedia.org/wiki/Amortization_calculator" target="_blank">Amortization Calculator &#8211; Wikipedia</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.prglab.com/blog/p/165/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>怎样在Eclipse上安装PHP插件</title>
		<link>http://www.prglab.com/blog/p/106</link>
		<comments>http://www.prglab.com/blog/p/106#comments</comments>
		<pubDate>Mon, 03 Aug 2009 20:36:17 +0000</pubDate>
		<dc:creator>Aqua</dc:creator>
				<category><![CDATA[建站交流]]></category>

		<guid isPermaLink="false">http://www.prglab.com/blog/?p=106</guid>
		<description><![CDATA[首先你要有已安装好的Eclipse平台，如果没有，可以去这里下载一款合适的版本进行安装。 这里介绍的安装方法是基于Eclipse平台版本3.3.2的，其他版本的安装也大同小异。 PHP插件安装步骤： 1、启动Eclipse，到菜单项 &#8220;帮助(Help) -&#62; 软件更新(Software Update) -&#62; 查找和安装(Find and Install&#8230;)&#8221; 2、选择寻找安装新组件(Search for new feature to install)，然后点下一步(next)按钮。 3、在安装对话框中点“新增远程站点(New Remote Site&#8230;)”按钮。 4、输入PHPEclipse下载站点的名称和URL： 名称： PHPEclipse Nightly Builds URL: http://update.phpeclipse.net/update/nightly/ 然后点OK按钮。 5、返回安装对话框，选择以下三个站点：Europa Discovery Site、 PHPEclipse Nightly Builds、和 The Eclipse Project Updates，然后点击完成(Finish)按钮。 6、选择完成后，系统会自动进行搜索。搜索过程中可能会出现如下对话框提示你为每一个所选站点选择镜像服务器，选一个离你最近的站点就好。 7、在搜索结果对话框中选上必要的安装和更新项目，最少应该选上PHPEclipse Nightly Builds。如果只选上该项后，你看到对话框顶部出现如下错误信息：　JessDE(7.0.0) requires plug-in “org.eclispe.pde.ui”，这说明你的Ｅｃｌｉｐｓｅ插件开发环境需要更新。 消除这个错误的方法很简单，继续展开选项The Eclipse Project Updates -&#62; Eclipse 3.3.2，找到最低部的插件开发环境选项（Ｅｃｌｉｐｓｅ　Ｐｌｕｇ-in Development Environment），选上这一项就可以了，然后选择下一步(next)按钮。 [...]]]></description>
			<content:encoded><![CDATA[<p>首先你要有已安装好的Eclipse平台，如果没有，可以去<a title="Eclipse下载" href="http://www.eclipse.org/downloads/" target="_blank">这里</a>下载一款合适的版本进行安装。<br />
这里介绍的安装方法是基于Eclipse平台版本3.3.2的，其他版本的安装也大同小异。</p>
<h2>PHP插件安装步骤：</h2>
<p>1、启动Eclipse，到菜单项 &#8220;帮助(Help) -&gt; 软件更新(Software Update) -&gt; 查找和安装(Find and Install&#8230;)&#8221;</p>
<div id="attachment_107" class="wp-caption aligncenter" style="width: 310px"><a href="http://www.prglab.com/blog/wp-content/uploads/step1.jpg"><img class="size-medium wp-image-107" title="step1" src="http://www.prglab.com/blog/wp-content/uploads/step1-300x124.jpg" alt="Eclipse安装PHP插件第一步" width="300" height="124" /></a><p class="wp-caption-text">Eclipse安装PHP插件第一步</p></div>
<p>2、选择寻找安装新组件(Search for new feature to install)，然后点下一步(next)按钮。</p>
<div id="attachment_109" class="wp-caption aligncenter" style="width: 606px"><a href="http://www.prglab.com/blog/wp-content/uploads/step2.jpg"><img class="size-full wp-image-109" title="step2" src="http://www.prglab.com/blog/wp-content/uploads/step2.jpg" alt="Eclipse安装PHP插件第二步" width="596" height="556" /></a><p class="wp-caption-text">Eclipse安装PHP插件第二步</p></div>
<p><span id="more-106"></span></p>
<p>3、在安装对话框中点“新增远程站点(New Remote Site&#8230;)”按钮。</p>
<div id="attachment_110" class="wp-caption aligncenter" style="width: 610px"><a href="http://www.prglab.com/blog/wp-content/uploads/step3.jpg"><img class="size-full wp-image-110" title="step3" src="http://www.prglab.com/blog/wp-content/uploads/step3.jpg" alt="Eclipse安装PHP插件第三步" width="600" height="560" /></a><p class="wp-caption-text">Eclipse安装PHP插件第三步</p></div>
<p>4、输入PHPEclipse下载站点的名称和URL：</p>
<p>名称： PHPEclipse Nightly Builds</p>
<p>URL: <a href="http://update.phpeclipse.net/update/nightly/">http://update.phpeclipse.net/update/nightly/</a></p>
<p>然后点OK按钮。</p>
<div id="attachment_111" class="wp-caption aligncenter" style="width: 364px"><a href="http://www.prglab.com/blog/wp-content/uploads/step4.jpg"><img class="size-full wp-image-111" title="step4" src="http://www.prglab.com/blog/wp-content/uploads/step4.jpg" alt="Eclipse安装PHP插件第四步" width="354" height="152" /></a><p class="wp-caption-text">Eclipse安装PHP插件第四步</p></div>
<p>5、返回安装对话框，选择以下三个站点：Europa Discovery Site、 PHPEclipse Nightly Builds、和 The Eclipse Project Updates，然后点击完成(Finish)按钮。</p>
<div id="attachment_112" class="wp-caption aligncenter" style="width: 609px"><a href="http://www.prglab.com/blog/wp-content/uploads/step5.jpg"><img class="size-full wp-image-112" title="step5" src="http://www.prglab.com/blog/wp-content/uploads/step5.jpg" alt="Eclipse安装PHP插件第五步" width="599" height="555" /></a><p class="wp-caption-text">Eclipse安装PHP插件第五步</p></div>
<p>6、选择完成后，系统会自动进行搜索。搜索过程中可能会出现如下对话框提示你为每一个所选站点选择镜像服务器，选一个离你最近的站点就好。</p>
<div id="attachment_113" class="wp-caption aligncenter" style="width: 466px"><a href="http://www.prglab.com/blog/wp-content/uploads/step6.jpg"><img class="size-full wp-image-113" title="step6" src="http://www.prglab.com/blog/wp-content/uploads/step6.jpg" alt="Eclipse安装PHP插件第六步" width="456" height="380" /></a><p class="wp-caption-text">Eclipse安装PHP插件第六步</p></div>
<p>7、在搜索结果对话框中选上必要的安装和更新项目，最少应该选上PHPEclipse Nightly Builds。如果只选上该项后，你看到对话框顶部出现如下错误信息：　JessDE(7.0.0) requires plug-in “org.eclispe.pde.ui”，这说明你的Ｅｃｌｉｐｓｅ插件开发环境需要更新。</p>
<div id="attachment_115" class="wp-caption aligncenter" style="width: 607px"><a href="http://www.prglab.com/blog/wp-content/uploads/step8.jpg"><img class="size-full wp-image-115" title="step8" src="http://www.prglab.com/blog/wp-content/uploads/step8.jpg" alt="Eclipse安装PHP插件第七步" width="597" height="519" /></a><p class="wp-caption-text">Eclipse安装PHP插件第七步</p></div>
<p>消除这个错误的方法很简单，继续展开选项The Eclipse Project Updates -&gt; Eclipse 3.3.2，找到最低部的插件开发环境选项（Ｅｃｌｉｐｓｅ　Ｐｌｕｇ-in Development Environment），选上这一项就可以了，然后选择下一步(next)按钮。</p>
<div id="attachment_116" class="wp-caption aligncenter" style="width: 606px"><a href="http://www.prglab.com/blog/wp-content/uploads/step9.jpg"><img class="size-full wp-image-116" title="step7-2" src="http://www.prglab.com/blog/wp-content/uploads/step9.jpg" alt="Eclipse安装PHP插件第七步-2" width="596" height="354" /></a><p class="wp-caption-text">Eclipse安装PHP插件第七步-2</p></div>
<div id="attachment_117" class="wp-caption aligncenter" style="width: 610px"><a href="http://www.prglab.com/blog/wp-content/uploads/step10.jpg"><img class="size-full wp-image-117" title="step7-3" src="http://www.prglab.com/blog/wp-content/uploads/step10.jpg" alt="Eclipse安装PHP插件第七步-3" width="600" height="521" /></a><p class="wp-caption-text">Eclipse安装PHP插件第七步-3</p></div>
<p>8、接受license条款，然后下一步。</p>
<div id="attachment_118" class="wp-caption aligncenter" style="width: 608px"><a href="http://www.prglab.com/blog/wp-content/uploads/step11.jpg"><img class="size-full wp-image-118" title="step8" src="http://www.prglab.com/blog/wp-content/uploads/step11.jpg" alt="Eclipse安装PHP插件第八步" width="598" height="521" /></a><p class="wp-caption-text">Eclipse安装PHP插件第八步</p></div>
<p>9、完成</p>
<div id="attachment_119" class="wp-caption aligncenter" style="width: 610px"><a href="http://www.prglab.com/blog/wp-content/uploads/step12.jpg"><img class="size-full wp-image-119" title="step9" src="http://www.prglab.com/blog/wp-content/uploads/step12.jpg" alt="Eclipse安装PHP插件第九步" width="600" height="520" /></a><p class="wp-caption-text">Eclipse安装PHP插件第九步</p></div>
<p>10、等待下载插件。下载完成后系统会逐一提示安装所选插件。你可以逐一选择安装(Install)每一个插件，也可以一次性选择安装所有下载的插件(Install All)。</p>
<div id="attachment_120" class="wp-caption aligncenter" style="width: 606px"><a href="http://www.prglab.com/blog/wp-content/uploads/step13.jpg"><img class="size-full wp-image-120" title="step10" src="http://www.prglab.com/blog/wp-content/uploads/step13.jpg" alt="Eclipse安装PHP插件第十步" width="596" height="497" /></a><p class="wp-caption-text">Eclipse安装PHP插件第十步</p></div>
<p>11、最后重启Eclipse。</p>
<div id="attachment_108" class="wp-caption aligncenter" style="width: 453px"><a href="http://www.prglab.com/blog/wp-content/uploads/step16.jpg"><img class="size-full wp-image-108" title="step11" src="http://www.prglab.com/blog/wp-content/uploads/step16.jpg" alt="Eclipse安装PHP插件第十一步" width="443" height="152" /></a><p class="wp-caption-text">Eclipse安装PHP插件第十一步</p></div>
<p>恭喜你，现在你已经在Eclipse平台上成功安装了PHP插件，可以开始开发你的PHP项目了！</p>
]]></content:encoded>
			<wfw:commentRss>http://www.prglab.com/blog/p/106/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

