<?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>programming &#8211; James Lin&#039;s Blog</title>
	<atom:link href="https://james.lin.net.nz/tag/programming-2/feed/" rel="self" type="application/rss+xml" />
	<link>https://james.lin.net.nz</link>
	<description>Just bits and pieces of my life</description>
	<lastBuildDate>Fri, 19 Jan 2018 22:42:50 +0000</lastBuildDate>
	<language>en-NZ</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>https://wordpress.org/?v=4.9.2</generator>
<site xmlns="com-wordpress:feed-additions:1">22801464</site>	<item>
		<title>What&#8217;s wrong with this statement?</title>
		<link>https://james.lin.net.nz/2014/04/17/whats-wrong-with-this-statement/</link>
		<comments>https://james.lin.net.nz/2014/04/17/whats-wrong-with-this-statement/#respond</comments>
		<pubDate>Thu, 17 Apr 2014 04:08:10 +0000</pubDate>
		<dc:creator><![CDATA[James Lin]]></dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[Python]]></category>
		<category><![CDATA[programming]]></category>
		<category><![CDATA[python]]></category>

		<guid isPermaLink="false">http://james.lin.net.nz/?p=3517</guid>
		<description><![CDATA[This morning I made a code change to log some stuff in a core package and created a pull request, the change was very simple: from [crayon-5a66457a81b02903546790/] to [crayon-5a66457a81b13099430874/] One of the team lead pointed out the statement has a problem, and it was a life saver, but I won&#8217;t tell you why just yet,… <span class="read-more"><a href="https://james.lin.net.nz/2014/04/17/whats-wrong-with-this-statement/">Read More &#187;</a></span>]]></description>
				<content:encoded><![CDATA[<p>This morning I made a code change to log some stuff in a core package and created a pull request, the change was very simple:</p>
<p>from</p>
<p></p><pre class="crayon-plain-tag">self.execute_command(command, cwd=os.path.dirname(infile))</pre><p></p>
<p>to</p>
<p></p><pre class="crayon-plain-tag">logger.debug(self.execute_command(command, cwd=os.path.dirname(infile)))</pre><p></p>
<p>One of the team lead pointed out the statement has a problem, and it was a life saver, but I won&#8217;t tell you why just yet, see if you can spot it.</p>
]]></content:encoded>
			<wfw:commentRss>https://james.lin.net.nz/2014/04/17/whats-wrong-with-this-statement/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<post-id xmlns="com-wordpress:feed-additions:1">3517</post-id>	</item>
		<item>
		<title>When to optimize?</title>
		<link>https://james.lin.net.nz/2012/08/29/when-to-optimize/</link>
		<comments>https://james.lin.net.nz/2012/08/29/when-to-optimize/#respond</comments>
		<pubDate>Wed, 29 Aug 2012 01:17:15 +0000</pubDate>
		<dc:creator><![CDATA[James Lin]]></dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[optimization]]></category>
		<category><![CDATA[programming]]></category>
		<category><![CDATA[stylistic]]></category>

		<guid isPermaLink="false">http://james.lin.net.nz/?p=1114</guid>
		<description><![CDATA[&#8220;We should forget about small efficiencies, say about 97% of the time: premature optimization is the root of all evil.&#8221; &#8212; Donald Knuth]]></description>
				<content:encoded><![CDATA[<p>&#8220;We should forget about small efficiencies, say about 97% of the time: premature optimization is the root of all evil.&#8221; </p>
<p>&#8212; Donald Knuth</p>
]]></content:encoded>
			<wfw:commentRss>https://james.lin.net.nz/2012/08/29/when-to-optimize/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<post-id xmlns="com-wordpress:feed-additions:1">1114</post-id>	</item>
	</channel>
</rss>
