<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss 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/" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">
<channel>
	<title>Comments for [blog.rayfoo]</title>
	
	<link>http://blog.rayfoo.info</link>
	<description>Here's where I write stuff, and you read what I wrote.</description>
	<lastBuildDate>Tue, 03 Aug 2010 20:45:25 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=abc</generator>
	<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/rayfoo-blogcomments" /><feedburner:info uri="rayfoo-blogcomments" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><item>
		<title>Comment on How a visit to the pub with friends ends up in a sleepless night by ray</title>
		<link>http://feedproxy.google.com/~r/rayfoo-blogcomments/~3/tFyXC5iLUE0/comment-page-1</link>
		<dc:creator>ray</dc:creator>
		<pubDate>Tue, 03 Aug 2010 20:45:25 +0000</pubDate>
		<guid isPermaLink="false">http://blog.rayfoo.info/?p=663#comment-98</guid>
		<description>Updated!

Yeah. The more beer, the better the mathematics :P</description>
		<content:encoded><![CDATA[<p>Updated!</p>
<p>Yeah. The more beer, the better the mathematics <img src='http://blog.rayfoo.info/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' /> </p>
<img src="http://feeds.feedburner.com/~r/rayfoo-blogcomments/~4/tFyXC5iLUE0" height="1" width="1"/>]]></content:encoded>
	<feedburner:origLink>http://blog.rayfoo.info/2010/07/how-a-visit-to-the-pub-with-friends-ends-up-in-a-sleepless-night/comment-page-1#comment-98</feedburner:origLink></item>
	<item>
		<title>Comment on How a visit to the pub with friends ends up in a sleepless night by lsc</title>
		<link>http://feedproxy.google.com/~r/rayfoo-blogcomments/~3/16CjB-dh11E/comment-page-1</link>
		<dc:creator>lsc</dc:creator>
		<pubDate>Tue, 27 Jul 2010 16:36:22 +0000</pubDate>
		<guid isPermaLink="false">http://blog.rayfoo.info/?p=663#comment-88</guid>
		<description>Beer is the driving force for great statistics... question best attempted when intoxicated ;-)</description>
		<content:encoded><![CDATA[<p>Beer is the driving force for great statistics&#8230; question best attempted when intoxicated <img src='http://blog.rayfoo.info/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>
<img src="http://feeds.feedburner.com/~r/rayfoo-blogcomments/~4/16CjB-dh11E" height="1" width="1"/>]]></content:encoded>
	<feedburner:origLink>http://blog.rayfoo.info/2010/07/how-a-visit-to-the-pub-with-friends-ends-up-in-a-sleepless-night/comment-page-1#comment-88</feedburner:origLink></item>
	<item>
		<title>Comment on Not all “China-men” are like that by Daphne Maia</title>
		<link>http://feedproxy.google.com/~r/rayfoo-blogcomments/~3/ropNz3RAotE/comment-page-1</link>
		<dc:creator>Daphne Maia</dc:creator>
		<pubDate>Mon, 26 Jul 2010 17:38:12 +0000</pubDate>
		<guid isPermaLink="false">http://blog.rayfoo.info/2010/07/not-all-china-men-are-like-that#comment-86</guid>
		<description>i appreciate people who stand up and question why people do / think certain things, instead of doing the flock-mentality thing. :) good night, ray! don't be a panda in the office tmr! ;)</description>
		<content:encoded><![CDATA[<p>i appreciate people who stand up and question why people do / think certain things, instead of doing the flock-mentality thing. <img src='http://blog.rayfoo.info/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  good night, ray! don&#8217;t be a panda in the office tmr! <img src='http://blog.rayfoo.info/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<img src="http://feeds.feedburner.com/~r/rayfoo-blogcomments/~4/ropNz3RAotE" height="1" width="1"/>]]></content:encoded>
	<feedburner:origLink>http://blog.rayfoo.info/2010/07/not-all-china-men-are-like-that/comment-page-1#comment-86</feedburner:origLink></item>
	<item>
		<title>Comment on Not all “China-men” are like that by ray</title>
		<link>http://feedproxy.google.com/~r/rayfoo-blogcomments/~3/29ik5p8fvKI/comment-page-1</link>
		<dc:creator>ray</dc:creator>
		<pubDate>Mon, 26 Jul 2010 17:15:46 +0000</pubDate>
		<guid isPermaLink="false">http://blog.rayfoo.info/2010/07/not-all-china-men-are-like-that#comment-85</guid>
		<description>Thanks for dropping by and commenting Hello Kitty, err, Daphne :)

Humans are generally tended to not like those different from themselves, or at least different from what they perceive themselves to be.

This probably isn't a very popular post, but I was thinking what the heck, I'll still write this post anyway ;)</description>
		<content:encoded><![CDATA[<p>Thanks for dropping by and commenting Hello Kitty, err, Daphne <img src='http://blog.rayfoo.info/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Humans are generally tended to not like those different from themselves, or at least different from what they perceive themselves to be.</p>
<p>This probably isn&#8217;t a very popular post, but I was thinking what the heck, I&#8217;ll still write this post anyway <img src='http://blog.rayfoo.info/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<img src="http://feeds.feedburner.com/~r/rayfoo-blogcomments/~4/29ik5p8fvKI" height="1" width="1"/>]]></content:encoded>
	<feedburner:origLink>http://blog.rayfoo.info/2010/07/not-all-china-men-are-like-that/comment-page-1#comment-85</feedburner:origLink></item>
	<item>
		<title>Comment on How a visit to the pub with friends ends up in a sleepless night by ray</title>
		<link>http://feedproxy.google.com/~r/rayfoo-blogcomments/~3/fzg0vXPNzhE/comment-page-1</link>
		<dc:creator>ray</dc:creator>
		<pubDate>Mon, 26 Jul 2010 17:05:43 +0000</pubDate>
		<guid isPermaLink="false">http://blog.rayfoo.info/?p=663#comment-84</guid>
		<description>Wow thanks, I see my mistake now.  Should have used 5^(n-r) instead of 6^(n-r) for the permutations of the remaining dice, then added/subtracted each probability accordingly rather than just calculating all in one shot!

Will be correcting my post accordingly at a later time..

On a side note, I'm quite surprised you actually bothered to take the time to write all that! :)</description>
		<content:encoded><![CDATA[<p>Wow thanks, I see my mistake now.  Should have used 5^(n-r) instead of 6^(n-r) for the permutations of the remaining dice, then added/subtracted each probability accordingly rather than just calculating all in one shot!</p>
<p>Will be correcting my post accordingly at a later time..</p>
<p>On a side note, I&#8217;m quite surprised you actually bothered to take the time to write all that! <img src='http://blog.rayfoo.info/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<img src="http://feeds.feedburner.com/~r/rayfoo-blogcomments/~4/fzg0vXPNzhE" height="1" width="1"/>]]></content:encoded>
	<feedburner:origLink>http://blog.rayfoo.info/2010/07/how-a-visit-to-the-pub-with-friends-ends-up-in-a-sleepless-night/comment-page-1#comment-84</feedburner:origLink></item>
	<item>
		<title>Comment on How a visit to the pub with friends ends up in a sleepless night by LSC</title>
		<link>http://feedproxy.google.com/~r/rayfoo-blogcomments/~3/SLmrJL4rrRQ/comment-page-1</link>
		<dc:creator>LSC</dc:creator>
		<pubDate>Mon, 26 Jul 2010 16:43:24 +0000</pubDate>
		<guid isPermaLink="false">http://blog.rayfoo.info/?p=663#comment-83</guid>
		<description>Er, probability of greater than 1 kind of runs counter to statistics leh.

How about the following:

c=Total permutation = 6^35

a1=Permutations with only 0 dice with r = 35C0*5^(35-0) = 5^35
a1=Permutations with only 1 dice with r = 35C1*5^(35-1) = 5^34
a2=Permutations with only 2 dice with r = 35C2*5^(35-2) = 5^33
a3=Permutations with only 3 dice with r = 35C3*5^(35-3) = 5^32
a4=Permutations with only 4 dice with r = 35C4*5^(35-4) = 5^31
a5=Permutations with only 5 dice with r = 35C5*5^(35-5) = 5^30
a6=Permutations with only 6 dice with r = 35C6*5^(35-6) = 5^29

b=Probability of only 6 or less dice with r = (a0=a1+a2+a3+a4+a5+a6)/c

Probability of at least 7 dice with r = 1-b = 218/599 = 0.36393992184419


If 35 dice is complicated, try just 2 dice.
Total permutations = 6^2 = 36
Permutations for zero dice with r = 2C0 * 5^2 (ie choosing zero from two dice, and the remaining two dice will be of any of the 5 numbers beside r) = 1*25 = 25
Permuations for one dice with r = 2C1 * 5^1 (ie choosing one from two dice, and the other dice will be of any of the 5 numbers beside r) = 2*5 = 10
Permuations for two dice with r = 2C2 * 5^0 (ie choosing two from two dice, and the remaining zero dice will be of any of the 5 numbers beside r) = 1*1 = 1
If you add up the permutations for zero, one and two dice with r, the total permutations will be 36, the same as 6^2.
This means the probability for each of the permutations will add up to 1:
probability of zero dice with r = 25/36
probability of only one dice with r = 10/36
probability of two dice with r = 1/36
25/36 + 10/36 + 1/36 = 36/36 = 1

By extension, probability of at least one dice with r = probability of one dice with r + probability of two dice with r
which is also = 1 - (probability of zero dice with r)</description>
		<content:encoded><![CDATA[<p>Er, probability of greater than 1 kind of runs counter to statistics leh.</p>
<p>How about the following:</p>
<p>c=Total permutation = 6^35</p>
<p>a1=Permutations with only 0 dice with r = 35C0*5^(35-0) = 5^35<br />
a1=Permutations with only 1 dice with r = 35C1*5^(35-1) = 5^34<br />
a2=Permutations with only 2 dice with r = 35C2*5^(35-2) = 5^33<br />
a3=Permutations with only 3 dice with r = 35C3*5^(35-3) = 5^32<br />
a4=Permutations with only 4 dice with r = 35C4*5^(35-4) = 5^31<br />
a5=Permutations with only 5 dice with r = 35C5*5^(35-5) = 5^30<br />
a6=Permutations with only 6 dice with r = 35C6*5^(35-6) = 5^29</p>
<p>b=Probability of only 6 or less dice with r = (a0=a1+a2+a3+a4+a5+a6)/c</p>
<p>Probability of at least 7 dice with r = 1-b = 218/599 = 0.36393992184419</p>
<p>If 35 dice is complicated, try just 2 dice.<br />
Total permutations = 6^2 = 36<br />
Permutations for zero dice with r = 2C0 * 5^2 (ie choosing zero from two dice, and the remaining two dice will be of any of the 5 numbers beside r) = 1*25 = 25<br />
Permuations for one dice with r = 2C1 * 5^1 (ie choosing one from two dice, and the other dice will be of any of the 5 numbers beside r) = 2*5 = 10<br />
Permuations for two dice with r = 2C2 * 5^0 (ie choosing two from two dice, and the remaining zero dice will be of any of the 5 numbers beside r) = 1*1 = 1<br />
If you add up the permutations for zero, one and two dice with r, the total permutations will be 36, the same as 6^2.<br />
This means the probability for each of the permutations will add up to 1:<br />
probability of zero dice with r = 25/36<br />
probability of only one dice with r = 10/36<br />
probability of two dice with r = 1/36<br />
25/36 + 10/36 + 1/36 = 36/36 = 1</p>
<p>By extension, probability of at least one dice with r = probability of one dice with r + probability of two dice with r<br />
which is also = 1 &#8211; (probability of zero dice with r)</p>
<img src="http://feeds.feedburner.com/~r/rayfoo-blogcomments/~4/SLmrJL4rrRQ" height="1" width="1"/>]]></content:encoded>
	<feedburner:origLink>http://blog.rayfoo.info/2010/07/how-a-visit-to-the-pub-with-friends-ends-up-in-a-sleepless-night/comment-page-1#comment-83</feedburner:origLink></item>
	<item>
		<title>Comment on Not all “China-men” are like that by Daphne Maia</title>
		<link>http://feedproxy.google.com/~r/rayfoo-blogcomments/~3/36HUCVs4nxE/comment-page-1</link>
		<dc:creator>Daphne Maia</dc:creator>
		<pubDate>Mon, 26 Jul 2010 13:15:26 +0000</pubDate>
		<guid isPermaLink="false">http://blog.rayfoo.info/2010/07/not-all-china-men-are-like-that#comment-82</guid>
		<description>i like this post. i think the media have given a very unfair and sensationalized portrayal of foreigners in this country. i personally feel that there are cheats, dishonest people, and criminals in every country, and these may be citizens, not just people who are immigrants or those who come here to look for a living.

i personally have worked with many foreigners, from malaysia, PRC, philippines and india, and most of my experience with them have been great. especially during my days as HR exec in a manufacturing company.. a lot of these blue collar workers jus wanna earn a living, they don't mean harm to anyone here, n they are, in fact, very kind people too. :) so i just can't tolerate it whn people pass generalizing, discriminating remarks (nothing to do with the fact that i'm not local either) haha.. actually i just don't like discrimination of any sort. :P</description>
		<content:encoded><![CDATA[<p>i like this post. i think the media have given a very unfair and sensationalized portrayal of foreigners in this country. i personally feel that there are cheats, dishonest people, and criminals in every country, and these may be citizens, not just people who are immigrants or those who come here to look for a living.</p>
<p>i personally have worked with many foreigners, from malaysia, PRC, philippines and india, and most of my experience with them have been great. especially during my days as HR exec in a manufacturing company.. a lot of these blue collar workers jus wanna earn a living, they don&#8217;t mean harm to anyone here, n they are, in fact, very kind people too. <img src='http://blog.rayfoo.info/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  so i just can&#8217;t tolerate it whn people pass generalizing, discriminating remarks (nothing to do with the fact that i&#8217;m not local either) haha.. actually i just don&#8217;t like discrimination of any sort. <img src='http://blog.rayfoo.info/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' /> </p>
<img src="http://feeds.feedburner.com/~r/rayfoo-blogcomments/~4/36HUCVs4nxE" height="1" width="1"/>]]></content:encoded>
	<feedburner:origLink>http://blog.rayfoo.info/2010/07/not-all-china-men-are-like-that/comment-page-1#comment-82</feedburner:origLink></item>
	<item>
		<title>Comment on How a visit to the pub with friends ends up in a sleepless night by ray</title>
		<link>http://feedproxy.google.com/~r/rayfoo-blogcomments/~3/53vkJOfjXBE/comment-page-1</link>
		<dc:creator>ray</dc:creator>
		<pubDate>Sat, 24 Jul 2010 14:44:12 +0000</pubDate>
		<guid isPermaLink="false">http://blog.rayfoo.info/?p=663#comment-78</guid>
		<description>Lol, lucky (for me) I couldn't remember the formulae involved on the spot, else the game might have been destroyed real quick.</description>
		<content:encoded><![CDATA[<p>Lol, lucky (for me) I couldn&#8217;t remember the formulae involved on the spot, else the game might have been destroyed real quick.</p>
<img src="http://feeds.feedburner.com/~r/rayfoo-blogcomments/~4/53vkJOfjXBE" height="1" width="1"/>]]></content:encoded>
	<feedburner:origLink>http://blog.rayfoo.info/2010/07/how-a-visit-to-the-pub-with-friends-ends-up-in-a-sleepless-night/comment-page-1#comment-78</feedburner:origLink></item>
	<item>
		<title>Comment on How a visit to the pub with friends ends up in a sleepless night by Kelly</title>
		<link>http://feedproxy.google.com/~r/rayfoo-blogcomments/~3/QK04ynZpKDU/comment-page-1</link>
		<dc:creator>Kelly</dc:creator>
		<pubDate>Sat, 24 Jul 2010 09:55:10 +0000</pubDate>
		<guid isPermaLink="false">http://blog.rayfoo.info/?p=663#comment-77</guid>
		<description>I cannot believe you!!~ :P</description>
		<content:encoded><![CDATA[<p>I cannot believe you!!~ <img src='http://blog.rayfoo.info/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' /> </p>
<img src="http://feeds.feedburner.com/~r/rayfoo-blogcomments/~4/QK04ynZpKDU" height="1" width="1"/>]]></content:encoded>
	<feedburner:origLink>http://blog.rayfoo.info/2010/07/how-a-visit-to-the-pub-with-friends-ends-up-in-a-sleepless-night/comment-page-1#comment-77</feedburner:origLink></item>
	<item>
		<title>Comment on Can’t wait by ray</title>
		<link>http://feedproxy.google.com/~r/rayfoo-blogcomments/~3/bAfJFfRgrPA/comment-page-1</link>
		<dc:creator>ray</dc:creator>
		<pubDate>Sat, 03 Jul 2010 15:12:31 +0000</pubDate>
		<guid isPermaLink="false">http://blog.rayfoo.info/?p=596#comment-71</guid>
		<description>I very much think I'm hooked, though money/time constraints mean that I won't be able to go diving as much as I'd love to :P</description>
		<content:encoded><![CDATA[<p>I very much think I&#8217;m hooked, though money/time constraints mean that I won&#8217;t be able to go diving as much as I&#8217;d love to <img src='http://blog.rayfoo.info/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' /> </p>
<img src="http://feeds.feedburner.com/~r/rayfoo-blogcomments/~4/bAfJFfRgrPA" height="1" width="1"/>]]></content:encoded>
	<feedburner:origLink>http://blog.rayfoo.info/2010/07/cant-wait/comment-page-1#comment-71</feedburner:origLink></item>
</channel>
</rss><!-- Dynamic page generated in 0.364 seconds. --><!-- Cached page generated by WP-Super-Cache on 2010-08-04 04:45:47 -->
