<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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>Comments for [Scientific &amp; Financial Computation ] -- Shawn&#039;s blog[Scientific &amp; Financial Computation ] -- Shawn&#039;s blog</title>
	<atom:link href="http://www.xyzhang.info/comments/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.xyzhang.info</link>
	<description>Work hard and Dream big</description>
	<lastBuildDate>Thu, 24 Jan 2013 05:51:31 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.5.1</generator>
	<item>
		<title>Comment on Constraints on Arguments in Python by Shawn Zhang</title>
		<link>http://www.xyzhang.info/constraints-on-arguments-in-python/#comment-62</link>
		<dc:creator>Shawn Zhang</dc:creator>
		<pubDate>Thu, 24 Jan 2013 05:51:31 +0000</pubDate>
		<guid isPermaLink="false">http://www.xyzhang.info/?p=580#comment-62</guid>
		<description><![CDATA[Hi, Trevor
    I think the decorator will be good solution if the programming contains 100 functions which need constraints on their arguments. if the number of functions remains a small amount , your suggestion is more simple and elegant .]]></description>
		<content:encoded><![CDATA[<p>Hi, Trevor<br />
    I think the decorator will be good solution if the programming contains 100 functions which need constraints on their arguments. if the number of functions remains a small amount , your suggestion is more simple and elegant .</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Constraints on Arguments in Python by Trevor Rowland</title>
		<link>http://www.xyzhang.info/constraints-on-arguments-in-python/#comment-61</link>
		<dc:creator>Trevor Rowland</dc:creator>
		<pubDate>Thu, 24 Jan 2013 05:40:53 +0000</pubDate>
		<guid isPermaLink="false">http://www.xyzhang.info/?p=580#comment-61</guid>
		<description><![CDATA[Not as pretty as the decorator, but you can use isinstance() for example:-
def addsomething(x,y):
....if  not isinstance(x, int):
........raise
I have used this on the odd occasion to implement overloaded function calls when other people are calling my code and I&#039;m not sure what they are sending me

Cheers
Trevor]]></description>
		<content:encoded><![CDATA[<p>Not as pretty as the decorator, but you can use isinstance() for example:-<br />
def addsomething(x,y):<br />
....if  not isinstance(x, int):<br />
........raise<br />
I have used this on the odd occasion to implement overloaded function calls when other people are calling my code and I'm not sure what they are sending me</p>
<p>Cheers<br />
Trevor</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Constraints on Arguments in Python by Shawn Zhang</title>
		<link>http://www.xyzhang.info/constraints-on-arguments-in-python/#comment-53</link>
		<dc:creator>Shawn Zhang</dc:creator>
		<pubDate>Tue, 22 Jan 2013 10:49:34 +0000</pubDate>
		<guid isPermaLink="false">http://www.xyzhang.info/?p=580#comment-53</guid>
		<description><![CDATA[Hi,Mike
   Thanks for your comment , that&#039;s a thoughtful thinking and I recently having a look at Ocaml(which is a strongly type language), and I can&#039;t agree more with you.  That&#039;s a lot cooler if using a strongly typed language ， not only saving developing workload but also enjoy a far more executing speed than Python.

   I&#039;ve been told that Ocaml is 70% elegance as Python and 70% speed performance of C. that&#039;s why I&#039;m learning this language, it can served as a general-purpose language and strongly typed(with great type inference system)]]></description>
		<content:encoded><![CDATA[<p>Hi,Mike<br />
   Thanks for your comment , that's a thoughtful thinking and I recently having a look at Ocaml(which is a strongly type language), and I can't agree more with you.  That's a lot cooler if using a strongly typed language ， not only saving developing workload but also enjoy a far more executing speed than Python.</p>
<p>   I've been told that Ocaml is 70% elegance as Python and 70% speed performance of C. that's why I'm learning this language, it can served as a general-purpose language and strongly typed(with great type inference system)</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Constraints on Arguments in Python by Mike Meyer</title>
		<link>http://www.xyzhang.info/constraints-on-arguments-in-python/#comment-52</link>
		<dc:creator>Mike Meyer</dc:creator>
		<pubDate>Tue, 22 Jan 2013 10:30:54 +0000</pubDate>
		<guid isPermaLink="false">http://www.xyzhang.info/?p=580#comment-52</guid>
		<description><![CDATA[You can get that workload savings you talk about in languages with statically typed variables - *if* the language has a good type inferencing engine. For instance, you can write:

add x y = x + 1

to define your add function, and just like python, it&#039;ll work for any type for which the + operator is defined. However, because the variables have types, the compiler (not the run-time system) will catch  the error if you try and pass in a pair of variables which can&#039;t be added, saving even *more* time. 

Given that the compiler already has a notion of types, then all you need is a notation to tell it which types you want to allow, and it can provide the same kind of restrictions that your decorator does. Again, caught at compile time instead of run time.

Now all I need is a language for general-purpose programming that I as much as I like Python that has a type system of that quality.]]></description>
		<content:encoded><![CDATA[<p>You can get that workload savings you talk about in languages with statically typed variables - *if* the language has a good type inferencing engine. For instance, you can write:</p>
<p>add x y = x + 1</p>
<p>to define your add function, and just like python, it'll work for any type for which the + operator is defined. However, because the variables have types, the compiler (not the run-time system) will catch  the error if you try and pass in a pair of variables which can't be added, saving even *more* time. </p>
<p>Given that the compiler already has a notion of types, then all you need is a notation to tell it which types you want to allow, and it can provide the same kind of restrictions that your decorator does. Again, caught at compile time instead of run time.</p>
<p>Now all I need is a language for general-purpose programming that I as much as I like Python that has a type system of that quality.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Generic Newton-Raphson Method in R by lose weight naturally</title>
		<link>http://www.xyzhang.info/generic-newton-raphson-method-in-r/#comment-6</link>
		<dc:creator>lose weight naturally</dc:creator>
		<pubDate>Sun, 16 Dec 2012 08:01:30 +0000</pubDate>
		<guid isPermaLink="false">http://www.xyzhang.info/?p=158#comment-6</guid>
		<description><![CDATA[Thank you ever so for you blog article.Really thank you! Keep writing.]]></description>
		<content:encoded><![CDATA[<p>Thank you ever so for you blog article.Really thank you! Keep writing.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Generic Newton-Raphson Method in R by weight loss fast</title>
		<link>http://www.xyzhang.info/generic-newton-raphson-method-in-r/#comment-5</link>
		<dc:creator>weight loss fast</dc:creator>
		<pubDate>Sun, 16 Dec 2012 07:57:32 +0000</pubDate>
		<guid isPermaLink="false">http://www.xyzhang.info/?p=158#comment-5</guid>
		<description><![CDATA[I think this is a real great post.Really thank you! Want more.]]></description>
		<content:encoded><![CDATA[<p>I think this is a real great post.Really thank you! Want more.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Market Data Extraction from LMAX API using Regular Expression by Shawn</title>
		<link>http://www.xyzhang.info/market-data-extraction-from-lmax-api-using-regular-expression/#comment-3</link>
		<dc:creator>Shawn</dc:creator>
		<pubDate>Tue, 20 Nov 2012 01:46:56 +0000</pubDate>
		<guid isPermaLink="false">http://www.xyzhang.info/?p=289#comment-3</guid>
		<description><![CDATA[:smile:  hi, Julien ,sorry for late reply.

I&#039;m not tested it yet .
but this regrex practise provide a clear code ,but less OO.
if you want to get prices of bid /ask , you have to loop the getAskPrices() getBidPrices(),that will be a overhead cost .]]></description>
		<content:encoded><![CDATA[<p> <img src='http://www.xyzhang.info/wp-includes/images/smilies/icon_smile.gif' alt=':smile:' class='wp-smiley' />   hi, Julien ,sorry for late reply.</p>
<p>I'm not tested it yet .<br />
but this regrex practise provide a clear code ,but less OO.<br />
if you want to get prices of bid /ask , you have to loop the getAskPrices() getBidPrices(),that will be a overhead cost .</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Market Data Extraction from LMAX API using Regular Expression by julien</title>
		<link>http://www.xyzhang.info/market-data-extraction-from-lmax-api-using-regular-expression/#comment-2</link>
		<dc:creator>julien</dc:creator>
		<pubDate>Mon, 08 Oct 2012 13:38:19 +0000</pubDate>
		<guid isPermaLink="false">http://www.xyzhang.info/?p=289#comment-2</guid>
		<description><![CDATA[Hey this looks great!  Does this runs faster than orderBookEvent&#039;s built i methods?
Also I was wondering if you know a good way to retrieve the instrument name?

I&#039;ve recently started to look at the LMAX API seriously and so far I like it very much.  Hope we can exchange some implementation ideas !]]></description>
		<content:encoded><![CDATA[<p>Hey this looks great!  Does this runs faster than orderBookEvent's built i methods?<br />
Also I was wondering if you know a good way to retrieve the instrument name?</p>
<p>I've recently started to look at the LMAX API seriously and so far I like it very much.  Hope we can exchange some implementation ideas !</p>
]]></content:encoded>
	</item>
</channel>
</rss>
