<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-12712523</id><updated>2011-11-09T23:33:50.043-08:00</updated><title type='text'>Calvin Poker</title><subtitle type='html'>This is my blog about the random stuff that I think about.  If you're interested in the random stuff I think about, then you're in the right place.</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://calvinpoker.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12712523/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://calvinpoker.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Jeremy</name><uri>http://www.blogger.com/profile/04718378565097813475</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>20</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-12712523.post-2380820611306685774</id><published>2010-12-18T15:52:00.000-08:00</published><updated>2010-12-18T16:08:25.638-08:00</updated><title type='text'>Probability problem</title><content type='html'>&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;There's a famous problem in probability: find a probability distribution such that two such independent random variables have a sum that is uniformly distributed from 0 to 1.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;That turns out to be impossible.  One way to prove it is by considering the expected value of exp(2*pi*i*x).  Because the distribution of the sum has to have this quantity be 0, each part also has to have the same property.  The only distribution with support between 0 and .5 with this property is 0 w.p .5, and 0.5 w.p. 0.5.  That distribution doesn't work.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;A related problem is: find a probability distribution such that two such independent random variables x1, and x2 satisfy x1 + 2*x2 is uniformly distributed from 0 to 1.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Can you do it?&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12712523-2380820611306685774?l=calvinpoker.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://calvinpoker.blogspot.com/feeds/2380820611306685774/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12712523&amp;postID=2380820611306685774' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12712523/posts/default/2380820611306685774'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12712523/posts/default/2380820611306685774'/><link rel='alternate' type='text/html' href='http://calvinpoker.blogspot.com/2010/12/probability-problem.html' title='Probability problem'/><author><name>Jeremy</name><uri>http://www.blogger.com/profile/04718378565097813475</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-12712523.post-1181444053835578177</id><published>2010-12-02T19:27:00.001-08:00</published><updated>2010-12-02T19:27:24.251-08:00</updated><title type='text'></title><content type='html'>&lt;span class="Apple-style-span" style="font-family: arial, sans-serif; font-size: 13px; border-collapse: collapse; "&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: arial, sans-serif; font-size: 13px; border-collapse: collapse; "&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;package main&lt;br /&gt;&lt;br /&gt;func main(){&lt;br /&gt;stat := make([][][]int, 9)&lt;br /&gt;for i := 0; i &lt; 9; i++ {&lt;br /&gt;stat[i] = make([][]int, 9)&lt;br /&gt;for j := 0; j &lt; 9; j++ {&lt;br /&gt;stat[i][j] = make([]int, 9)&lt;br /&gt;}&lt;br /&gt;}&lt;br /&gt;rule := make([][]*int, 324)&lt;br /&gt;for i := 0; i &lt; 324; i++ {&lt;br /&gt;rule[i] = make([]*int, 9)&lt;br /&gt;}&lt;br /&gt;for i := 0; i &lt; 9; i++ {&lt;br /&gt;for j := 0; j &lt; 9; j++ {&lt;br /&gt;for k := 0; k &lt; 9; k++ {&lt;br /&gt;rule[i*9+j][k] = &amp;amp;stat[i][j][k]&lt;br /&gt;rule[81+i*9+j][k] = &amp;amp;stat[i][k][j]&lt;br /&gt;rule[162+i*9+j][k] = &amp;amp;stat[k][j][i]&lt;br /&gt;rule[243+i*9+j][k] = &amp;amp;stat[3*(i/3)+(k/3)][3*(i%3)+(&lt;wbr&gt;k%3)][j]&lt;br /&gt;}&lt;br /&gt;}&lt;br /&gt;}&lt;br /&gt;input := "96..1.7.4..1....2....2.59....&lt;wbr&gt;3......59.....76......1....98.&lt;wbr&gt;3....7....2..1.8.7..69"&lt;br /&gt;for i := 0; i &lt; 9; i++ {&lt;br /&gt;for j := 0; j &lt; 9; j++ {&lt;br /&gt;for k := 0; k &lt; 9; k++ {&lt;br /&gt;if input[9*i+j] == '1'+byte(k){&lt;br /&gt;stat[i][j][k] = 1&lt;br /&gt;}&lt;br /&gt;}&lt;br /&gt;}&lt;br /&gt;}&lt;br /&gt;for iter := 0; iter &lt; 100; iter++ {&lt;br /&gt;for i := 0; i &lt; 324; i++ {&lt;br /&gt;sum := 0&lt;br /&gt;for j := 0; j &lt; 9; j++ {&lt;br /&gt;sum += *rule[i][j]&lt;br /&gt;}&lt;br /&gt;if sum&amp;amp;1 == 1 {&lt;br /&gt;for j := 0; j &lt; 9; j++ {&lt;br /&gt;if *rule[i][j] == 0 {&lt;br /&gt;*rule[i][j] = 2&lt;br /&gt;}&lt;br /&gt;}&lt;br /&gt;}&lt;br /&gt;if sum == 16 {&lt;br /&gt;for j := 0; j &lt; 9; j++ {&lt;br /&gt;if *rule[i][j] == 0 {&lt;br /&gt;*rule[i][j] = 1&lt;br /&gt;}&lt;br /&gt;}&lt;br /&gt;}&lt;br /&gt;}&lt;br /&gt;}&lt;br /&gt;for i := 0; i &lt; 9; i++ {&lt;br /&gt;for j := 0; j &lt; 9; j++ {&lt;br /&gt;for k := 0; k &lt; 9; k++ {&lt;br /&gt;if stat[i][j][k] == 1 {&lt;br /&gt;print(k+1)&lt;br /&gt;}&lt;br /&gt;}&lt;br /&gt;}&lt;br /&gt;println()&lt;br /&gt;}&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12712523-1181444053835578177?l=calvinpoker.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://calvinpoker.blogspot.com/feeds/1181444053835578177/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12712523&amp;postID=1181444053835578177' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12712523/posts/default/1181444053835578177'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12712523/posts/default/1181444053835578177'/><link rel='alternate' type='text/html' href='http://calvinpoker.blogspot.com/2010/12/package-main-func-main-stat-makeint-9.html' title=''/><author><name>Jeremy</name><uri>http://www.blogger.com/profile/04718378565097813475</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-12712523.post-3517689051771321877</id><published>2008-12-31T12:50:00.000-08:00</published><updated>2008-12-31T13:15:13.330-08:00</updated><title type='text'>Graded New Year's Resolutions 2008</title><content type='html'>&lt;div&gt;&lt;span class="Apple-style-span" style="color: rgb(51, 51, 51); font-family: Verdana; font-size: 11px; line-height: 17px; "&gt;1. Read two books a month. ("Who do you think you are, Einstein?!")&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="color: rgb(51, 51, 51); font-family: Verdana; font-size: 11px; line-height: 17px;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="color: rgb(51, 51, 51); font-family: Verdana; font-size: 11px; line-height: 17px; "&gt;Nope.  But I've read some very good ones this year, including "American Fascists" (Chris Hedges) and "Facts and Mysteries in Elementary Particle Physics" (Martinus Veltman).&lt;br /&gt;&lt;br /&gt;2. Smell better. ("No way, really?", spark of hope lingering in Dina's eye)&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="color: rgb(51, 51, 51); font-family: Verdana; font-size: 11px; line-height: 17px;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="color: rgb(51, 51, 51); font-family: Verdana; font-size: 11px; line-height: 17px; "&gt;"Yeah, on average--you're definitely cleaner."&lt;br /&gt;&lt;br /&gt;3. Beat my time up Old La Honda (21:50) and olympic triathlon (2:30:31)&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="color: rgb(51, 51, 51); font-family: Verdana; font-size: 11px; line-height: 17px;"&gt;I got somewhat close to my OLH record (under 24:00), but didn't break it.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="color: rgb(51, 51, 51); font-family: Verdana; font-size: 11px; line-height: 17px; "&gt;&lt;br /&gt;4. Grade this years resolutions w/ Dina ("um... Is there any resolution about me? um...")&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="color: rgb(51, 51, 51); font-family: Verdana; font-size: 11px; line-height: 17px;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="color: rgb(51, 51, 51); font-family: Verdana; font-size: 11px; line-height: 17px;"&gt;Check!  Dina, don't you have anything to do now?  "Every year you're getting meaner; you take me for granted :'("&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="color: rgb(51, 51, 51); font-family: Verdana; font-size: 11px; line-height: 17px;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="color: rgb(51, 51, 51); font-family: Verdana; font-size: 11px; line-height: 17px;"&gt;Overall: 2/4, plus maybe some partial credit, but not really.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="color: rgb(51, 51, 51); font-family: Verdana; font-size: 11px; line-height: 17px;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="color: rgb(51, 51, 51); font-family: Verdana; font-size: 11px; line-height: 17px;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="color: rgb(51, 51, 51); font-family: Verdana; font-size: 11px; line-height: 17px;"&gt;Selected 2007 Resolutions&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="color: rgb(51, 51, 51); font-family: Verdana; font-size: 11px; line-height: 17px;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="color: rgb(51, 51, 51); font-family: Verdana; font-size: 11px; line-height: 17px;"&gt;2. Get more done at work, and spend less time there.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="color: rgb(51, 51, 51); font-family: Verdana; font-size: 11px; line-height: 17px;"&gt;Yes!  This year has been a very good one at work.  I definitely spent less time at work in 2008 than in 2006, but probably about the same as 2007 (can't keep going down forever)&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="color: rgb(51, 51, 51); font-family: Verdana; font-size: 11px; line-height: 17px;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="color: rgb(51, 51, 51); font-family: Verdana; font-size: 11px; line-height: 17px;"&gt;5. Keep in touch with friends and colleagues better&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="color: rgb(51, 51, 51); font-family: Verdana; font-size: 11px; line-height: 17px;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="color: rgb(51, 51, 51); font-family: Verdana; font-size: 11px; line-height: 17px;"&gt;I call my parents and brother more, so let's count this as a success.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12712523-3517689051771321877?l=calvinpoker.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://calvinpoker.blogspot.com/feeds/3517689051771321877/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12712523&amp;postID=3517689051771321877' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12712523/posts/default/3517689051771321877'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12712523/posts/default/3517689051771321877'/><link rel='alternate' type='text/html' href='http://calvinpoker.blogspot.com/2008/12/graded-new-years-resolutions-2008.html' title='Graded New Year&apos;s Resolutions 2008'/><author><name>Jeremy</name><uri>http://www.blogger.com/profile/04718378565097813475</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-12712523.post-4343979945972890139</id><published>2008-03-07T22:25:00.000-08:00</published><updated>2008-03-08T15:00:02.288-08:00</updated><title type='text'>Liars dice poker</title><content type='html'>Okay, here's a game I made up.  You use dice, and bet with chips, like poker.&lt;br /&gt;&lt;br /&gt;Two players: player 1 and player 2.&lt;br /&gt;&lt;br /&gt;Player 1 puts in 1 chip, player 2 puts in 2 chips.&lt;br /&gt;&lt;br /&gt;Player 1 rolls 10 dice and then declares a number of pips, from 1 to 6, say "4".&lt;br /&gt;&lt;br /&gt;Player 2 rolls 10 dice and then declares either "higher" or "lower", say"lower".&lt;br /&gt;&lt;br /&gt;At this point, we have a betting round, as in no-limit poker.  Both players have an opportunity to raise, starting with player 1 (who has only put in 1 chip).  If there is a showdown, the player with, in the example, the lower number of 4's wins and takes the pot.  If they have the same number of 4's, they chop the pot.&lt;br /&gt;&lt;br /&gt;What does everyone think?&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12712523-4343979945972890139?l=calvinpoker.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://calvinpoker.blogspot.com/feeds/4343979945972890139/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12712523&amp;postID=4343979945972890139' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12712523/posts/default/4343979945972890139'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12712523/posts/default/4343979945972890139'/><link rel='alternate' type='text/html' href='http://calvinpoker.blogspot.com/2008/03/liars-dice-poker.html' title='Liars dice poker'/><author><name>Jeremy</name><uri>http://www.blogger.com/profile/04718378565097813475</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-12712523.post-1399122294213727932</id><published>2008-01-01T20:58:00.000-08:00</published><updated>2008-01-19T13:42:27.059-08:00</updated><title type='text'>New Years Resolutions, 2008</title><content type='html'>In keeping with tradition,  I'm writing new year's resolutions on Jan 1, 2008.&lt;br /&gt;&lt;br /&gt;1. Read two books a month. ("Who do you think you are, Einstein?!")&lt;br /&gt;&lt;br /&gt;2. Smell better. ("No way, really?", spark of hope lingering in Dina's eye)&lt;br /&gt;&lt;br /&gt;3. Beat my time up Old La Honda (21:50) and olympic triathlon (2:30:31)&lt;br /&gt;&lt;br /&gt;4. Grade this years resolutions w/ Dina ("um...  Is there any resolution about me?  um...")&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;In addition to this year's resolutions, I'm also trying to keep my 2007 resolutions.&lt;br /&gt;&lt;br /&gt;Well, this year's resolutions are a bit silly, but I think I'm sticking with them.  I'm serious about them all.  Okay... it's 10:24 p.m., and time to hit the sack.&lt;br /&gt;&lt;br /&gt;To be updated :-)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12712523-1399122294213727932?l=calvinpoker.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://calvinpoker.blogspot.com/feeds/1399122294213727932/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12712523&amp;postID=1399122294213727932' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12712523/posts/default/1399122294213727932'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12712523/posts/default/1399122294213727932'/><link rel='alternate' type='text/html' href='http://calvinpoker.blogspot.com/2008/01/new-years-resolutions-2008.html' title='New Years Resolutions, 2008'/><author><name>Jeremy</name><uri>http://www.blogger.com/profile/04718378565097813475</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-12712523.post-6859488716099206606</id><published>2007-12-28T08:55:00.000-08:00</published><updated>2007-12-28T10:01:13.577-08:00</updated><title type='text'>Last year's resolutions graded!</title><content type='html'>1.  Blog more.  I used to have a ton of fun with this blog.&lt;br /&gt;&lt;br /&gt;Well, admittedly 362/365 of the days this year have passed without a peep, but there are still 3 days left, so I won't jump the gun in grading this one yet.  Besides, I'm writing now, aren't I?&lt;br /&gt;&lt;br /&gt;2.  Get more done at work, and spend less time there.&lt;br /&gt;&lt;br /&gt;Yeah!  This is a big success for this year.  After changing groups, I'm infinitely more productive, and I've been keeping reasonable hours much of the time.&lt;br /&gt;&lt;br /&gt;3.  Start dating a girl I can see as my equal in the ways that matter, and is a good match for me.&lt;br /&gt;&lt;br /&gt;Can't complain!  However,  I'm not going to write it all up here.&lt;br /&gt;&lt;br /&gt;4.  Revise my thesis.&lt;br /&gt;&lt;br /&gt;See #1.  Actually, after studiously ignoring this for most of this year, I've started working on this again.  I'm taking my officemate Bob's approach, which is this: learn the minimum set of tools necessary to get the job done, and get the job done.&lt;br /&gt;&lt;br /&gt;5.  Keep in touch with friends and colleagues better.&lt;br /&gt;&lt;br /&gt;Bad.  Actually, a huge failure this year was missing the retirement party of my graduate advisor.  The timing couldn't have been worse, with a major external product demo and several of us (including me) working 12+ hour days then.&lt;br /&gt;&lt;br /&gt;-------------------&lt;br /&gt;&lt;br /&gt;So, I guess that makes it 2/5 resolutions kept, which is at least par for the course.  Probably more like an eagle.&lt;br /&gt;&lt;br /&gt;Anyway, I'm really happy with the resolutions that I did keep this year.  In a few days, I'll write a new set of resolutions for the coming year (that's 2008!).  I'll renew the resolutions I didn't keep, and write a few new ones, which I've already been thinking about.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12712523-6859488716099206606?l=calvinpoker.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://calvinpoker.blogspot.com/feeds/6859488716099206606/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12712523&amp;postID=6859488716099206606' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12712523/posts/default/6859488716099206606'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12712523/posts/default/6859488716099206606'/><link rel='alternate' type='text/html' href='http://calvinpoker.blogspot.com/2007/12/last-years-resolutions-graded.html' title='Last year&apos;s resolutions graded!'/><author><name>Jeremy</name><uri>http://www.blogger.com/profile/04718378565097813475</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-12712523.post-116771896445220150</id><published>2007-01-01T22:05:00.000-08:00</published><updated>2007-01-01T23:09:20.493-08:00</updated><title type='text'>New Year's Resolutions</title><content type='html'>This year, I have some big resolutions to keep.  I'm writing 'em down while it's still Jan. 1 and still counts. &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;1.  Blog more.  I used to have a ton of fun with this blog.&lt;br /&gt;&lt;br /&gt;2.  Get more done at work, and spend less time there.&lt;br /&gt;&lt;br /&gt;3.  Start dating a girl I can see as my equal in the ways that matter, and is a good match for me.&lt;br /&gt;&lt;br /&gt;4.  Revise my thesis. &lt;br /&gt;&lt;br /&gt;5.  Keep in touch with friends and colleagues better.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;So, the most interesting one is #3, so why not talk about that for a while.  What are the ways that matter? &lt;br /&gt;&lt;br /&gt;I dated a girl for a long time who had everything any guy wants in terms of attractiveness and attentiveness.  The thing that ultimately made the relationship end was that I could never talk with her about things I care about a lot about.  Things I blog about.  Partly, that's because we grew up speaking different languages (and neither of us became fluent enough in the other's language).  Partly, that's because the things we care about are so different.&lt;br /&gt;&lt;br /&gt;Anyway, what I want to find is someone who's discriminating, caring, physically attractive, likes the person that I am, is liberal in the sense of "people should be free to make their own choices".&lt;br /&gt;&lt;br /&gt;Who knows what the new year will bring.  2006 was interesting--not the best year on record for me.  The best year on record for me might have been 1998, when I started working on what became my graduate work.  I hope 2007 can find itself looking more like 1998 than 2006.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12712523-116771896445220150?l=calvinpoker.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://calvinpoker.blogspot.com/feeds/116771896445220150/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12712523&amp;postID=116771896445220150' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12712523/posts/default/116771896445220150'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12712523/posts/default/116771896445220150'/><link rel='alternate' type='text/html' href='http://calvinpoker.blogspot.com/2007/01/new-years-resolutions.html' title='New Year&apos;s Resolutions'/><author><name>Jeremy</name><uri>http://www.blogger.com/profile/04718378565097813475</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-12712523.post-113951640510559931</id><published>2006-02-09T12:18:00.000-08:00</published><updated>2006-02-09T12:20:05.116-08:00</updated><title type='text'>Brain started to work</title><content type='html'>me: it's like my brain just started working for the first time in months&lt;br /&gt;&lt;br /&gt;Andy: what do you mean?&lt;br /&gt;&lt;br /&gt;me: well, i was trying to figure something out last night&lt;br /&gt;then, on the way home, i figured something out&lt;br /&gt;&lt;br /&gt;Andy: yeah&lt;br /&gt;&lt;br /&gt;me: then i came into work this morning, made like 10 changes to some code i was working on&lt;br /&gt;then ran it, and it just worked&lt;br /&gt;&lt;br /&gt;Andy: nice man&lt;br /&gt;glad to hear it&lt;br /&gt;&lt;br /&gt;me: that hasn't happened in such a long time&lt;br /&gt;&lt;br /&gt;Andy: totally cool&lt;br /&gt;good work [smile]&lt;br /&gt;&lt;br /&gt;me: thanks man&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12712523-113951640510559931?l=calvinpoker.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://calvinpoker.blogspot.com/feeds/113951640510559931/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12712523&amp;postID=113951640510559931' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12712523/posts/default/113951640510559931'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12712523/posts/default/113951640510559931'/><link rel='alternate' type='text/html' href='http://calvinpoker.blogspot.com/2006/02/brain-started-to-work.html' title='Brain started to work'/><author><name>Jeremy</name><uri>http://www.blogger.com/profile/04718378565097813475</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-12712523.post-112849942772388535</id><published>2005-10-05T00:02:00.000-07:00</published><updated>2005-10-05T01:03:47.730-07:00</updated><title type='text'>Fundamental observation of science</title><content type='html'>I had a post a way back about fundamental theorems of certain branches of mathematics.  This post is about what I think is the fundamental  observation of science.  Ready?  The fundamental observation of science is:&lt;br /&gt;&lt;br /&gt;Repeated observations are more reliable than unrepeated ones.&lt;br /&gt;&lt;br /&gt;Why is that?  Basically, that is because people are unreliable.  I have memories of things I can prove to myself never happened, or happened quite differently from what I remember.  How do I know?  Well, the time I am thinking of involves me doing something rather unthinkable that could have potentially killed my brother.  I firmly remember it as being on accident, but I also know that this memory has been reconstructed at least once in my head.  I actually have two different memories of the event.  I know that a particular one of them is wrong, because nobody could run as fast as I remember my brother running in that one.  &lt;br /&gt;&lt;br /&gt;Other times, I've made stuff up out of thin air.  Why?  Because it seemed advantageous at the time.  Like that I only had "one" piece of candy for desert.  That I had done my homework, but forgot it at home (might have said that more than once, and I'll bet it was a lie at least 99% of the time).&lt;br /&gt;&lt;br /&gt;It stands to reason that this kind of thing happens to other people too sometimes.  Maybe some people are more reliable than me.  Maybe some people never lie.  Maybe some people are never deceived by their senses or their memories.  Maybe some people have perfect intuition or never make a logical mistake.  Unfortunately, it's hard to reliably tell who those people are.&lt;br /&gt;&lt;br /&gt;So, if we can't trust any single person, can we ever gain a reliable picture of the world?  The laws of nature?  The gross history of the universe?  I think our best bet is to get rid of single points of failure in the system.&lt;br /&gt;&lt;br /&gt;A certain codification of this philosophy is called science.  An experiment is a procedure you can repeat any number of times to give an observation that either rejects or is consistent with a hypothesis.  You can be as sure as you like which is the case by repeating the experiment enough times.  A hypothesis is scientific if you can show that if it's false then there is some experiment that rejects it.&lt;br /&gt;&lt;br /&gt;That isn't, by far, enough to define science.  In fact, it's just one aspect.  Science is fundamentally a creative endeveor.  When does a hypothesis become accepted as being a probable fact?  At least it needs to go through a reasonable period of scrutiny in which people try to show that it's false based on some experiment, or that it's somehow infeasible to do the experiments.&lt;br /&gt;&lt;br /&gt;But serious scientists insist on not allowing single mistakes from forever corrupting the conclusions.  This is related to the value of skepticism, which says that it's better to be unsure than to be sure and wrong.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12712523-112849942772388535?l=calvinpoker.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://calvinpoker.blogspot.com/feeds/112849942772388535/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12712523&amp;postID=112849942772388535' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12712523/posts/default/112849942772388535'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12712523/posts/default/112849942772388535'/><link rel='alternate' type='text/html' href='http://calvinpoker.blogspot.com/2005/10/fundamental-observation-of-science.html' title='Fundamental observation of science'/><author><name>Jeremy</name><uri>http://www.blogger.com/profile/04718378565097813475</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-12712523.post-112527110691515357</id><published>2005-08-28T14:23:00.000-07:00</published><updated>2005-10-05T00:02:23.386-07:00</updated><title type='text'>Sideways</title><content type='html'>So, it's actually been a year or something since I've seen the movie Sideways, but for some reason it always manages to come up in interesting conversations, as it did a few nights ago.  I ended up loving the movie, even though I almost walked out of the theater (I had gone by myself) half an hour in.&lt;br /&gt;&lt;br /&gt;So, what was great about the movie?  I really don't care at all about the wine aspect.  I'm not a big fan of wine.  For me, wine was a metaphor for anything "otaku".  Otaku is a good Japanese word that means somewhere between "fanatic" and "geek".  Good examples of otaku are computer hackers and the guys who climb Mount Everest just for the hell of it.&lt;br /&gt;&lt;br /&gt;If you've seen the movie, the otaku is Miles, played by Paul Giamatti.  The non-otaku is Jack, played by Thomas Hayden Church (I just looked this crap up right now--I didn't know any of that off the top of my head).  The movie is about a trip that Miles and Jack take from L.A. to Napa Valley, ostensibly to tour the wineries, though Jack's actual purpose is to have as much sex as he can before he gets married the following week.&lt;br /&gt;&lt;br /&gt;Miles, meanwhile, has not recovered from a doomed marriage and does his best to avoid the intimacy of his past acquaintance and obvious soulmate, Maya.  Halfway through the movie comes a very memorable scene.  Jack has hooked up with a bartender and friend of Maya's named Stephanie, and the four, Jack, Stephanie, Miles and Maya find themselves at her house.  Maya opens her soul to Miles, and they share a conversation about the perfect wine experience.  Practically the only thing left to do is have sex, but Miles momentarily can't bring himself to it, and instead spoils the mood by hanging on to the topic of wine.&lt;br /&gt;&lt;br /&gt;But it is a kind of turning point in the movie, after which Miles begins to fall for Maya.  As they are driving away, separately, he gives her two boxfulls of pages that are the manuscript of his book and providing the thread that will keep them together.&lt;br /&gt;&lt;br /&gt;The way I've set it up, there should be a moral to the story that's expressable in terms of otaku.  Probably there's not.  If there was, it would go something like this: it's not worth pretending your something that you're not.  If you're an otaku, you might as well be an otaku.  Miles is much better off with Maya than with his ex-wife.  However, Jack might also be better off with his bride-to-be than with any of the people he just cheated on her with.  He shuns the otaku world, and good for him.  He was never one of them.&lt;br /&gt;&lt;br /&gt;How does this relate to me?&lt;br /&gt;&lt;br /&gt;I'm not sure whether I'm comfortable writing about all the ways it relates to me, but here's one basic way: I definitely think I'm an otaku.  Not about wine, obviously, but about other things.  I'm an otaku about languages, for one.  Mostly though, I just want to think my way through things.  I like understanding the technical arguments that people make.  I like thinking about the theory of science, like how you can never really prove that a hypothesis is right, only that certain alternatives are wrong.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12712523-112527110691515357?l=calvinpoker.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://calvinpoker.blogspot.com/feeds/112527110691515357/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12712523&amp;postID=112527110691515357' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12712523/posts/default/112527110691515357'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12712523/posts/default/112527110691515357'/><link rel='alternate' type='text/html' href='http://calvinpoker.blogspot.com/2005/08/sideways.html' title='Sideways'/><author><name>Jeremy</name><uri>http://www.blogger.com/profile/04718378565097813475</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-12712523.post-112242360606637266</id><published>2005-07-26T17:03:00.000-07:00</published><updated>2005-07-26T17:20:06.073-07:00</updated><title type='text'>Message?</title><content type='html'>I was at an airport recently, and after finishing a quick breakfast, I realized that I didn't have much time to get to my flight.  However, I couldn't remember what number my gate was.  Mentally, I narrowed it down to either 82 or 84, which I could see were in opposite directions.  For some reason it occured to me that my gate number would be written on the under side of my snapple cap.  When I turned it over, the message read "There are over 82 miles of shoreline in Nantucket."&lt;br /&gt;&lt;br /&gt;Amazed, I began to wonder how it was that my question had been so aptly answered.  After all, it's not every day that the idea comes to one that his flight number should be located on a bottle cap.  Most bottle caps don't have anything written on them at all, much less the flight number of a soon-to-depart airline.&lt;br /&gt;&lt;br /&gt;What could be the reason for that kind of a revelation at such a time?  Certainly it was an important flight for me not to miss.  Could some supernatural force be projecting itself into my mind at just the right moment, so that I wouldn't miss my flight?&lt;br /&gt;&lt;br /&gt;I took a look at my boarding pass just to make sure.  "Gate 84", it said.  I turned around and walked to my gate.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12712523-112242360606637266?l=calvinpoker.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://calvinpoker.blogspot.com/feeds/112242360606637266/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12712523&amp;postID=112242360606637266' title='5 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12712523/posts/default/112242360606637266'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12712523/posts/default/112242360606637266'/><link rel='alternate' type='text/html' href='http://calvinpoker.blogspot.com/2005/07/message.html' title='Message?'/><author><name>Jeremy</name><uri>http://www.blogger.com/profile/04718378565097813475</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>5</thr:total></entry><entry><id>tag:blogger.com,1999:blog-12712523.post-112139111417021619</id><published>2005-07-14T17:37:00.000-07:00</published><updated>2005-07-14T18:31:54.183-07:00</updated><title type='text'>Cousins</title><content type='html'>I was walking out of my lab yesterday and saw something that really struck me.  There was a chipmunk underneath an oak tree standing up and eating an acorn.  A large black dog on pulling at his leash regarded the chipmunk as the chipmunk stared back at the dog.  The dog's owner, talking on her cell phone took stock of the situation and allowed her dog to continue staring at the chipmunk.  I continued walking past the three, stopping only long enough to begin thinking about what all four of us have in common.&lt;br /&gt;&lt;br /&gt;I had the sudden feeling of satisfaction in knowing that we are all cousins, separated of course by generations, but tied together by a genuine family relation.  My great-great-great... grandfather and the chipmunk's could have been the same creature.  It wasn't a realization of the fact of evolution.  I've understood that theory for quite a long time.  Rather, it was almost a feeling of community with the animals.  After all, we are just one big family.&lt;br /&gt;&lt;br /&gt;What could be more fantastic?  And yet, I remember how doubters of evolution in my high-school would ask me "so you're related to &lt;emph&gt;monkeys&lt;/emph&gt;?", spitting out the words in disgust.&lt;br /&gt;&lt;br /&gt;So now I want to know: why is that disgusting?  What's wrong with acknowledging that you're cousins with the animals?  I know it goes against all of the myths of creation, which many educated people still believe.  Is that actually a reason to find the idea distasteful?&lt;br /&gt;&lt;br /&gt;One upshot of this is that I no longer feel like I want to eat the meat of mammals.  After all, I've known enough dogs to be sure of their intelligence and emotions.  Pigs are supposed to be even smarter.  I do not doubt that I could become friends with a pig if given the opportunity.  How can I justify killing a creature I might otherwise have been friends with to satisfy an appetite I could easily satisfy otherwise?&lt;br /&gt;&lt;br /&gt;I'll probably draw the line at mammals.  I don't feel as close to fish or fowl, and there is a much bigger difference between my mind and theirs, so I think that eating them is not so bad.&lt;br /&gt;&lt;br /&gt;What do you think?&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12712523-112139111417021619?l=calvinpoker.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://calvinpoker.blogspot.com/feeds/112139111417021619/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12712523&amp;postID=112139111417021619' title='7 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12712523/posts/default/112139111417021619'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12712523/posts/default/112139111417021619'/><link rel='alternate' type='text/html' href='http://calvinpoker.blogspot.com/2005/07/cousins.html' title='Cousins'/><author><name>Jeremy</name><uri>http://www.blogger.com/profile/04718378565097813475</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>7</thr:total></entry><entry><id>tag:blogger.com,1999:blog-12712523.post-112115951767326823</id><published>2005-07-11T22:15:00.000-07:00</published><updated>2005-07-15T02:45:49.070-07:00</updated><title type='text'>Internationalization of "Intellectual Property"</title><content type='html'>The Chinese Communist Party has acquiesced to enforce charges of piracy against Chinese people brought by United States companies.  Despite the potentially lucrative implications for those companies, this is an unfortunate development for several reasons.&lt;br /&gt;&lt;br /&gt;The first reason is straightforward.  It increases the perceived legitimacy of so-called intellectual property.  Although intellectual property was originally founded upon the public good, it is now increasingly being seen as a right that exists for the benefit of the IP owner.&lt;br /&gt;&lt;br /&gt;Another body of law which was founded upon the public good is anti-trust law. In this realm, litigation has been decided in a way that confirms that the laws are for the public good. Companies like AMD, alledging harm by Intel, must present their claims and arguments in terms of harm to the public good.&lt;br /&gt;&lt;br /&gt;By contrast, when companies (or individuals) try to use one of the Electronic Frontier Foundation's &lt;a href='http://www.eff.org/patent/wanted'&gt;10 Most Wanted Patents&lt;/a&gt; to extort money from small businesses, they do not have to show that such extortion is in the public interest.  In essence, that debate is presumed to have already happened.  The U.S. patent office implicitly takes it that the research done by the inventors, for the sake of the patents, has (in the preponderance of cases) benefited the public &lt;emph&gt;more&lt;/emph&gt; to an extent that justifies the heavy burden on the courts of enforcement, and on would-be competitors and the market they would serve.&lt;br /&gt;&lt;br /&gt;In a sense, it would be nice to have a renewed debate on whether the whole system is worth it in these terms.  Unfortunately, it may be too late.  Patents are no longer even supposed to be for the public good, but rather are considered as a right of inventors, akin to the freedom of speech or freedom to own physical objects.&lt;br /&gt;&lt;br /&gt;The second reason that the development in China is unfortunate is that it pits the U.S. government together with the CCP against certain freedoms of the Chinese people. This arrangement seems like it could undermine the pro-freedom stance that has been taken in the past by the US government (not that the US hasn't seriously undermined such positions in and around Iraq over the last 3 years).  Perhaps the CCP will be able to find tacit support from the U.S. and international corporations for "playing ball" like so many &lt;a href='http://home.iprimus.com.au/korob/fdtcards/Cards_Index.html'&gt;friendly dictatorships&lt;/a&gt;.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12712523-112115951767326823?l=calvinpoker.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://calvinpoker.blogspot.com/feeds/112115951767326823/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12712523&amp;postID=112115951767326823' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12712523/posts/default/112115951767326823'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12712523/posts/default/112115951767326823'/><link rel='alternate' type='text/html' href='http://calvinpoker.blogspot.com/2005/07/internationalization-of-intellectual.html' title='Internationalization of &quot;Intellectual Property&quot;'/><author><name>Jeremy</name><uri>http://www.blogger.com/profile/04718378565097813475</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-12712523.post-111697013352297443</id><published>2005-05-24T13:54:00.000-07:00</published><updated>2005-05-28T15:21:17.396-07:00</updated><title type='text'>Only a sith thinks in absolutes</title><content type='html'>So, I went to see star wars last night with 900 other geeks from Caltech.&lt;br /&gt;&lt;br /&gt;There's one line from the movie that nobody's going to understand in 20 years.  The line has nothing at all to do with the movie, and everything to do with the politics of W. Bush.  Yes, if you've seen the movie, you've already recognized the title of this post as being from the dialogue between Obi Wan Kenobi and Anakin Skywalker as they fight in the volcano world of Mustafar.  The dialog goes like this:&lt;br /&gt;&lt;br /&gt;Anakin: "Either you're with me, or you're my enemy"&lt;br /&gt;Obi Wan: "Only a sith thinks in absolutes"&lt;br /&gt;&lt;br /&gt;Now, let's all admit that this is a pretty good jab at W.  But, if you take the second line seriously for a moment, as if it is really from the movie, it makes no sense.  Not only does it make no sense, but it sells out the basic premise of the entire series of movies, which is Jedi versus the Dark Side Of The Force.  Good versus Evil, damnit!  The Jedi are the ones who see the world in terms of good and evil. In my opinion, Lucas pretty clumsily pushed his analogy past its breaking point with this line.&lt;br /&gt;&lt;br /&gt;And I was on board with the analogy too.  Yes, let the Galactic Empire be the United States!  Let Darth Vader be George W.  Fine with me, although I wouldn't give the US president credit for having any extra midichlorians.  Damnit Lucas, why did you have to mess it up by also turning the Jedi knights into postmodernist liberals.  Still, given your tack, there was an obvious continuation:&lt;br /&gt;&lt;br /&gt;Anakin: "Either you're with me, or you're my enemy"&lt;br /&gt;Obi Wan: "Only a sith thinks in absolutes"&lt;br /&gt;Anakin: "Actually, that's a misunderstanding. We Sith aren't really about 'good' or 'evil', we mostly just use the force as a means to our own ends. If you think about it, the Jedi are more the ones thinking in terms of absolutes."&lt;br /&gt;Obi Wan: "yes, well what I mean to say is, you're accepting the narrative of the oppressor; try listening to the narrative of the oppressed."&lt;br /&gt;Anakin: "What?"&lt;br /&gt;Obi Wan: "Just give up, I have the high ground."&lt;br /&gt;Anakin: "You think confusing me gives you some kind of moral superiority?"&lt;br /&gt;Obi Wan: "No, I mean that if you jump at me, I'll cut off your good arm."&lt;br /&gt;Anakin: "Oh, so it's back to the movie then is it?"&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12712523-111697013352297443?l=calvinpoker.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://calvinpoker.blogspot.com/feeds/111697013352297443/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12712523&amp;postID=111697013352297443' title='4 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12712523/posts/default/111697013352297443'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12712523/posts/default/111697013352297443'/><link rel='alternate' type='text/html' href='http://calvinpoker.blogspot.com/2005/05/only-sith-thinks-in-absolutes.html' title='Only a sith thinks in absolutes'/><author><name>Jeremy</name><uri>http://www.blogger.com/profile/04718378565097813475</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>4</thr:total></entry><entry><id>tag:blogger.com,1999:blog-12712523.post-111653512639865137</id><published>2005-05-19T13:22:00.000-07:00</published><updated>2005-05-22T15:37:25.646-07:00</updated><title type='text'>Funny betting game</title><content type='html'>So, I play poker sometimes, and one aspect that really interests me is the game-theoretic aspects to betting.  Here's an interesting abstraction of a certain situation involving repeated bets (i.e. pre-flop, flop, turn, river).&lt;br /&gt;&lt;br /&gt;There are just two players.  Each player can put any amount between $1 and $100 into the pot, and each chooses his amount secretly and independently of the other.  If the amounts are unequal, then whoever put more money into the pot wins.&lt;br /&gt;&lt;br /&gt;Now, there are two superpowers in this game, a tie-breaking superpower and a pot-stealing superpower.  the tie-breaking superpower is you get to win in the event of a tie, which means if you put in $100, the other player can't beat you by putting in a bigger amount.  The pot-stealing superpower is invoked when an ace comes off of the top of a shuffled deck of cards, in which case the player with that superpower automatically wins all the money.  The pot-stealing superpower takes precedence over the tie-breaking superpower.&lt;br /&gt;&lt;br /&gt;The question is: which superpower would you pick?  Also, how would you play the game?&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12712523-111653512639865137?l=calvinpoker.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://calvinpoker.blogspot.com/feeds/111653512639865137/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12712523&amp;postID=111653512639865137' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12712523/posts/default/111653512639865137'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12712523/posts/default/111653512639865137'/><link rel='alternate' type='text/html' href='http://calvinpoker.blogspot.com/2005/05/funny-betting-game.html' title='Funny betting game'/><author><name>Jeremy</name><uri>http://www.blogger.com/profile/04718378565097813475</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-12712523.post-111579152715856407</id><published>2005-05-10T22:12:00.000-07:00</published><updated>2005-05-10T23:06:09.366-07:00</updated><title type='text'>Computer go v. computer chess</title><content type='html'>What do you know about computer go?&lt;br /&gt;&lt;br /&gt;There is a phenomenon that current computer programs for chess are on par with international chess grandmasters. Meanwhile, the best computer go can't even compete with average players who have played for a year.&lt;br /&gt;&lt;br /&gt;What's the difference? Well, the common arguments are to the effect that go has a "bigger branching factor" because there are so many more possible moves in a typical position. This allows chess programs to look ahead up to twice as many moves ahead as a go program, given no pruning at all. Another reason is that chess programs can use sophisticated opening and endgame databases, and thus are really only able to lose a game in the mid-game.&lt;br /&gt;&lt;br /&gt;This analysis is undermined if one notices that computer go is equally skillful (or unskillful) at playing 9x9 go as it is at playing 19x19 go. In 9x9 go, the branching factor is much closer to that in chess (around 40 moves on average). Again, opening databases can be used, and very few games are won or lost in the endgame anyway.&lt;br /&gt;&lt;br /&gt;So, why do computers suck at go? The answer is that they don't suck at all. Rather, we humans are just much better at go than we are at chess. Spacial symmetry and spacial reasoning is much more meaningful in go than in chess, and we are good at spacial problems.&lt;br /&gt;&lt;br /&gt;Go is a game where we win by proving to ourselves that a certain move is "good enough", not by finding the best move. Even pros play this way. In go, there are often many variations on a particular play that lead to essentially the same result. Though the stones might be in slightly different positions, we can see that the differences are either trivial or else don't matter at all. Our minds automatically fold these possibilities into each other and we forget about the unimportant differences. The effective branching factor is thus much smaller for go than it appears.&lt;br /&gt;&lt;br /&gt;Logical separation of the action in different parts of the board is also possible in go to an extent that is not possible in chess. Long-range dependencies certainly exist in go, even on a relatively empty board, and good players take advantage of them. However, we can play reasonably well by forgetting about them, and it can save a lot of mental effort. That's a good trade-off, especially in the positions where we can prove to ourselves that the positions are truly independent.&lt;br /&gt;&lt;br /&gt;These reasons make go a much more interesting game than chess in which to pit computers against humans. Sure, computers can beat us at chess using tree search and clever hacks. To beat us at go will take much more. Computers will have to think a lot more like we do.&lt;br /&gt;&lt;br /&gt;Go is a game that offers big rewards for players that possess skills native to humans, to an extent that chess does not. The day that a computer became the world's chess champion was a milestone for artificial intelligence. The day that computers beat us in go will be a much bigger one.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12712523-111579152715856407?l=calvinpoker.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://calvinpoker.blogspot.com/feeds/111579152715856407/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12712523&amp;postID=111579152715856407' title='5 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12712523/posts/default/111579152715856407'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12712523/posts/default/111579152715856407'/><link rel='alternate' type='text/html' href='http://calvinpoker.blogspot.com/2005/05/computer-go-v-computer-chess.html' title='Computer go v. computer chess'/><author><name>Jeremy</name><uri>http://www.blogger.com/profile/04718378565097813475</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>5</thr:total></entry><entry><id>tag:blogger.com,1999:blog-12712523.post-111567462626503118</id><published>2005-05-09T14:36:00.000-07:00</published><updated>2005-05-09T15:19:16.853-07:00</updated><title type='text'>Extreme Programming</title><content type='html'>What the hell is Extreme Programming anyway?&lt;br /&gt;&lt;br /&gt;I guess it's a loose collection of software programming practices, philosophies, or just a cult.  It looks like a cult because there are a few big &lt;a href = 'http://labs.google.com/sets?hl=en&amp;q1=kent%2520beck&amp;q2=jeff%2520langr&amp;q3=&amp;q4=&amp;q5=&amp;btn=Shrink+Set+%28to+15+items+or+fewer%29'&gt;advocates&lt;/a&gt; and because it's so damn controversial.  One reason it's controversial is that it strongly de-emphasizes up front design in favor of methods that make code much more flexible.  What methods are those?  Well, there's &lt;a href = 'http://www.refactoring.com/'&gt;refactoring&lt;/a&gt;, which is a way of moving code around so that you create a different abstraction without actually changing the functionality.  Another one is &lt;a href = 'http://www.pairprogramming.com/'&gt;pair programming&lt;/a&gt;, which strongly encourages the programmer to write readily understandable code.&lt;br /&gt;&lt;br /&gt;Back to the controversy, it's more than just the way of presentation that causes controversy.  XP gives a lot more responsibility to the programmer, relative to his boss the software engineer, which he &lt;a href = 'http://www.softwarereality.com/lifecycle/xp/four_values.jsp'&gt;hates&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;Perhaps the one argument against the hollistic view taken by XP advocates is that it couples the practices that lead to code flexibility with big changes in the way projects are managed.  Software evolves, but teams that adopt XP are supposed, in one &lt;a href = 'http://www.mindground.net/glp.html'&gt;Great Leap Forward&lt;/a&gt;, to change the processes such as UML models and other documentation.&lt;br /&gt;&lt;br /&gt;Anyway, the core technical processes of XP are probably here to stay, and they're going to have a positive impact on most teams that choose to use them.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12712523-111567462626503118?l=calvinpoker.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://calvinpoker.blogspot.com/feeds/111567462626503118/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12712523&amp;postID=111567462626503118' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12712523/posts/default/111567462626503118'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12712523/posts/default/111567462626503118'/><link rel='alternate' type='text/html' href='http://calvinpoker.blogspot.com/2005/05/extreme-programming.html' title='Extreme Programming'/><author><name>Jeremy</name><uri>http://www.blogger.com/profile/04718378565097813475</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-12712523.post-111554176037831844</id><published>2005-05-08T01:07:00.000-07:00</published><updated>2005-05-08T01:42:55.420-07:00</updated><title type='text'>China v. Taiwan</title><content type='html'>Well, this is a sticky issue, isn't it.  First, let's look at the question of whether Taiwan is functionally an independent nation, shall we?  Here are some reasons to take each position.  First, the reasons to think Taiwan is an independent nation:&lt;br /&gt;&lt;br /&gt;1. Taiwan has it's own government that does not recognize the authority of the Chinese government.&lt;br /&gt;2. As a U.S. citizen, I need a visa to enter mainland China, but not Taiwan.&lt;br /&gt;3. Taiwan has it's own top-level domain name. (.tw), Olympic team.&lt;br /&gt;4. The U.S. and other nations have agreed to defend Taiwan if China were to make military threat toward Taiwan.&lt;br /&gt;&lt;br /&gt;Some reasons to believe that Taiwan is not an independent nation:&lt;br /&gt;&lt;br /&gt;1. Taiwan is not a member of the UN&lt;br /&gt;2. Almost all nations officially do not recognize Taiwan as a nation.&lt;br /&gt;3. The government of China claims sovereignty over the island of Taiwan.&lt;br /&gt;&lt;br /&gt;If Taiwan is not an independent nation, then it might be a part of China, or logically it might be a land mass that isn't part of any nation, like Antarctica, though nobody seriously espouses this position.&lt;br /&gt;&lt;br /&gt;The legal status of Taiwan is not agreed to by everybody.  The pro-independence position cites the &lt;a href = 'http://www.absoluteastronomy.com/encyclopedia/T/Tr/Treaty_of_San_Francisco.htm'&gt; San Francisco Treaty &lt;/a&gt; as renouncing Japan's Sovereignty over Taiwan, but does not officially state which nation, if any, is sovereign over Taiwan.  China did not sign the San Francisco Treaty.&lt;br /&gt;&lt;br /&gt;Historically, China has exercised some degree of sovereignty over Taiwan at various times in history.  See the &lt;a href = 'http://www.taiwandc.org/history.htm'&gt;pro-independence&lt;/a&gt; position and the &lt;a href = 'http://chineseculture.about.com/library/china/whitepaper/blstaiwan2.htm?terms=taiwan'&gt;pro-unification&lt;/a&gt; position on this issue.&lt;br /&gt;&lt;br /&gt;So, why should anybody besides the Chinese and Taiwanese people themselves care about the issue?  One possible reason is that there is a substantial gap in the status of human rights in the two countries.  For a rough, but accurate comparison, &lt;a href = 'http://www.worldaudit.org/democracy.htm'&gt; worldaudit.org &lt;/a&gt; is a good place to start.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12712523-111554176037831844?l=calvinpoker.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://calvinpoker.blogspot.com/feeds/111554176037831844/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12712523&amp;postID=111554176037831844' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12712523/posts/default/111554176037831844'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12712523/posts/default/111554176037831844'/><link rel='alternate' type='text/html' href='http://calvinpoker.blogspot.com/2005/05/china-v-taiwan.html' title='China v. Taiwan'/><author><name>Jeremy</name><uri>http://www.blogger.com/profile/04718378565097813475</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-12712523.post-111544185513385477</id><published>2005-05-06T21:20:00.000-07:00</published><updated>2005-07-15T21:30:05.600-07:00</updated><title type='text'>Calvin Poker!</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://photos1.blogger.com/blogger/1379/1090/1600/calvinpoker.gif"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;" src="http://photos1.blogger.com/blogger/1379/1090/400/calvinpoker.gif" border="0" alt="" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Calvinpoker is a blog about poker.  The name comes from my opinion about the house rules of a poker game that I play in sometimes.  I won't explain how the rule came up right now, but one of the rules that we apparently officially play with is that if a board card is accidentally dealt before the round of betting is finished, we keep the card and finish the round of betting.  After the round is over, any player can choose to have the card redealt, but this does not happen automatically.  Somebody has to ask for it.&lt;br /&gt;&lt;br /&gt;Sounds like &lt;a href='http://www.geocities.com/SoHo/Nook/2990/cb_rules.htm'&gt;CalvinBall&lt;/a&gt;, right?  From Calvin and Hobbes.  Exactly.  CalvinPoker.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12712523-111544185513385477?l=calvinpoker.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://calvinpoker.blogspot.com/feeds/111544185513385477/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12712523&amp;postID=111544185513385477' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12712523/posts/default/111544185513385477'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12712523/posts/default/111544185513385477'/><link rel='alternate' type='text/html' href='http://calvinpoker.blogspot.com/2005/05/calvin-poker.html' title='Calvin Poker!'/><author><name>Jeremy</name><uri>http://www.blogger.com/profile/04718378565097813475</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-12712523.post-111741407399227920</id><published>2005-04-29T16:24:00.000-07:00</published><updated>2005-06-06T16:35:22.013-07:00</updated><title type='text'>Fundamental Theorems</title><content type='html'>It's kind of surprising how many branches of mathematics are structured around some kind of single fundamental theorem. Maybe in some cases, there are more than one theorem that compete for the title, but often there is a clear winner.  Here are some fundamental theorems:&lt;br /&gt;&lt;br /&gt;Arithmetic - Every positive integers is the product of a unique multiset of prime factors.&lt;br /&gt;&lt;br /&gt;Algebra - Every complex polynomial of degree n is the product of n affine factors.&lt;br /&gt;&lt;br /&gt;Calculus - Riemann Integration and differentiation are inverses.&lt;br /&gt;&lt;br /&gt;Analysis - Lebesgue integration is the same as Riemann integration.&lt;br /&gt;&lt;br /&gt;Game Theory - In a matrix game, both players have a mixed strategy which stochastically gurantees a common average outcome, at worst.&lt;br /&gt;&lt;br /&gt;Statistics - The normalized limiting distribution of independent, bounded variance random variables is Gaussian.&lt;br /&gt;&lt;br /&gt;Data Compression - A random variable can be decodably compressed into an average number of bits equal to its binary entropy, but no smaller.&lt;br /&gt;&lt;br /&gt;Channel Coding - A channel can be used to reliably transmit a number of bits equal to its binary capacity, but no more.&lt;br /&gt;&lt;br /&gt;Geometry - Any polygon that has n vertices also has n sides.  Just kidding, there is no fundamental theorem of geometry, and don't tell me it's the Pythagorean theorem.&lt;br /&gt;&lt;br /&gt;Galois Theory - For any n, if n is the power of a prime then there is a unique field of size n, otherwise no field of size n exists.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12712523-111741407399227920?l=calvinpoker.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://calvinpoker.blogspot.com/feeds/111741407399227920/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12712523&amp;postID=111741407399227920' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12712523/posts/default/111741407399227920'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12712523/posts/default/111741407399227920'/><link rel='alternate' type='text/html' href='http://calvinpoker.blogspot.com/2005/04/fundamental-theorems.html' title='Fundamental Theorems'/><author><name>Jeremy</name><uri>http://www.blogger.com/profile/04718378565097813475</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>
