<?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/'><id>tag:blogger.com,1999:blog-9182705499898252496.post78531014571407286..comments</id><updated>2011-06-18T08:27:02.968-04:00</updated><category term='web'/><category term='bugs'/><category term='books'/><category term='interesting'/><category term='dotted-tail'/><category term='fermat'/><category term='pmd'/><category term='practice'/><category term='carroll'/><category term='css'/><category term='perfect numbers'/><category term='probability'/><category term='c++'/><category term='float'/><category term='bias'/><category term='integral'/><category term='simulation'/><category term='scheme'/><category term='halloween'/><category term='table'/><category term='snippets'/><category term='reading'/><category term='visualization'/><category term='big-o'/><category term='threads'/><category term='dvorak'/><category term='java'/><category term='double'/><category term='logic'/><category term='security'/><category term='fractals'/><category term='schneier'/><category term='coin toss'/><category term='links'/><category term='fibonacci'/><category term='misc'/><category term='c'/><category term='geometry'/><category term='pair programming'/><category term='algebra'/><category term='goldbach'/><category term='html'/><category term='vectors'/><category term='puzzles'/><category term='qwerty'/><category term='mersenne'/><category term='statistics'/><category term='testing'/><category term='chess'/><category term='crypto'/><category term='24'/><category term='horner'/><category term='randomness'/><category term='statitstics'/><category term='curiosity'/><category term='answers'/><category term='education'/><category term='technology'/><category term='blog spam'/><category term='benford'/><category term='cout'/><category term='pi'/><category term='lists'/><category term='conway'/><category term='map'/><category term='solutions'/><category term='data visualization'/><category term='unsolved'/><category term='python'/><category term='trees'/><category term='blowfish'/><category term='windows'/><category term='sicp'/><category term='productivity'/><category term='learning'/><category term='usability'/><category term='science'/><category term='gauss'/><category term='golden ratio'/><category term='math'/><category term='dodgson'/><category term='programming'/><category term='experience'/><category term='calculus'/><category term='CSV'/><category term='precision'/><category term='simpson'/><category term='letter frequency'/><category term='hints'/><category term='netbeans'/><category term='proof'/><category term='time'/><category term='sequences'/><category term='pascal'/><category term='primes'/><category term='captcha'/><category term='hello world'/><category term='data structures'/><category term='matrix'/><category term='euler'/><category term='exercises'/><category term='languages'/><category term='miller-rabin'/><category term='quotes'/><category term='gambling'/><category term='chaos'/><category term='numbers'/><category term='equals'/><category term='questions'/><category term='sets'/><title type='text'>Comments on Bill the Lizard: SICP Exercise 1.22: Timed Prime Test</title><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://www.billthelizard.com/feeds/78531014571407286/comments/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9182705499898252496/78531014571407286/comments/default'/><link rel='alternate' type='text/html' href='http://www.billthelizard.com/2010/02/sicp-exercise-122-timed-prime-test.html'/><author><name>Bill the Lizard</name><uri>http://www.blogger.com/profile/09810099093752485841</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/_PnLYRqe0k9g/SKywgF43rhI/AAAAAAAAAAQ/0l6VoF8jG0M/S220/lizard-icon.jpeg'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>5</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-9182705499898252496.post-6471503271033200826</id><published>2011-06-18T08:27:02.968-04:00</published><updated>2011-06-18T08:27:02.968-04:00</updated><title type='text'>The &amp;#39;runtime&amp;#39; function is available in DrR...</title><content type='html'>The &amp;#39;runtime&amp;#39; function is available in DrRacket with http://www.neilvandyke.org/racket-sicp/</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9182705499898252496/78531014571407286/comments/default/6471503271033200826'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9182705499898252496/78531014571407286/comments/default/6471503271033200826'/><link rel='alternate' type='text/html' href='http://www.billthelizard.com/2010/02/sicp-exercise-122-timed-prime-test.html?showComment=1308400022968#c6471503271033200826' title=''/><author><name>Alex Marandon</name><uri>http://alexmarandon.com/articles/</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img1.blogblog.com/img/blank.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.billthelizard.com/2010/02/sicp-exercise-122-timed-prime-test.html' ref='tag:blogger.com,1999:blog-9182705499898252496.post-78531014571407286' source='http://www.blogger.com/feeds/9182705499898252496/posts/default/78531014571407286' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-698767524'/></entry><entry><id>tag:blogger.com,1999:blog-9182705499898252496.post-5076432059946345398</id><published>2010-02-05T21:11:12.577-05:00</published><updated>2010-02-05T21:11:12.577-05:00</updated><title type='text'>pbewig,
Good suggestion.  That is one of the optio...</title><content type='html'>pbewig,&lt;br /&gt;Good suggestion.  That is one of the options that I looked at when I realized &amp;#39;runtime&amp;#39; wasn&amp;#39;t going to work.  I&amp;#39;d hoped I&amp;#39;d be able to rewrite &amp;#39;timed-prime-test&amp;#39; using &amp;#39;time&amp;#39;, but I couldn&amp;#39;t figure out a clean way to conditionally report the timing stats only if the input was prime.  The only way I could get it to work was to test once for primality, then test again wrapped in a &amp;#39;time&amp;#39; call.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9182705499898252496/78531014571407286/comments/default/5076432059946345398'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9182705499898252496/78531014571407286/comments/default/5076432059946345398'/><link rel='alternate' type='text/html' href='http://www.billthelizard.com/2010/02/sicp-exercise-122-timed-prime-test.html?showComment=1265422272577#c5076432059946345398' title=''/><author><name>Bill the Lizard</name><uri>http://www.blogger.com/profile/09810099093752485841</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/_PnLYRqe0k9g/SKywgF43rhI/AAAAAAAAAAQ/0l6VoF8jG0M/S220/lizard-icon.jpeg'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.billthelizard.com/2010/02/sicp-exercise-122-timed-prime-test.html' ref='tag:blogger.com,1999:blog-9182705499898252496.post-78531014571407286' source='http://www.blogger.com/feeds/9182705499898252496/posts/default/78531014571407286' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-743262253'/></entry><entry><id>tag:blogger.com,1999:blog-9182705499898252496.post-8293479997030543228</id><published>2010-02-05T20:49:33.771-05:00</published><updated>2010-02-05T20:49:33.771-05:00</updated><title type='text'>Troy,
You have a sharp eye!  The first set of erro...</title><content type='html'>Troy,&lt;br /&gt;You have a sharp eye!  The first set of errors were all my bad, since I just copied the first row to fill in the table, then somehow forgot to correct that group.  In the second set (in the 10^15 group), the numbers were actually too big for Excel, where I had saved them temporarily, so the values were rounded off.  Still, that was my fault for blindly copying and pasting them into my blog editor.  I really appreciate the correction.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9182705499898252496/78531014571407286/comments/default/8293479997030543228'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9182705499898252496/78531014571407286/comments/default/8293479997030543228'/><link rel='alternate' type='text/html' href='http://www.billthelizard.com/2010/02/sicp-exercise-122-timed-prime-test.html?showComment=1265420973771#c8293479997030543228' title=''/><author><name>Bill the Lizard</name><uri>http://www.blogger.com/profile/09810099093752485841</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/_PnLYRqe0k9g/SKywgF43rhI/AAAAAAAAAAQ/0l6VoF8jG0M/S220/lizard-icon.jpeg'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.billthelizard.com/2010/02/sicp-exercise-122-timed-prime-test.html' ref='tag:blogger.com,1999:blog-9182705499898252496.post-78531014571407286' source='http://www.blogger.com/feeds/9182705499898252496/posts/default/78531014571407286' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-743262253'/></entry><entry><id>tag:blogger.com,1999:blog-9182705499898252496.post-4167453394348859900</id><published>2010-02-05T19:38:19.208-05:00</published><updated>2010-02-05T19:38:19.208-05:00</updated><title type='text'>Use the &lt;em&gt;time&lt;/em&gt; function.  See &lt;a href="http...</title><content type='html'>Use the &lt;em&gt;time&lt;/em&gt; function.  See &lt;a href="http://programmingpraxis.codepad.org/b4BtoRwq" rel="nofollow"&gt;http://programmingpraxis.codepad.org/b4BtoRwq&lt;/a&gt;.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9182705499898252496/78531014571407286/comments/default/4167453394348859900'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9182705499898252496/78531014571407286/comments/default/4167453394348859900'/><link rel='alternate' type='text/html' href='http://www.billthelizard.com/2010/02/sicp-exercise-122-timed-prime-test.html?showComment=1265416699208#c4167453394348859900' title=''/><author><name>pbewig</name><uri>http://www.blogger.com/profile/11936034693953650339</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.billthelizard.com/2010/02/sicp-exercise-122-timed-prime-test.html' ref='tag:blogger.com,1999:blog-9182705499898252496.post-78531014571407286' source='http://www.blogger.com/feeds/9182705499898252496/posts/default/78531014571407286' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1934134733'/></entry><entry><id>tag:blogger.com,1999:blog-9182705499898252496.post-8142158282743180169</id><published>2010-02-05T19:19:55.161-05:00</published><updated>2010-02-05T19:19:55.161-05:00</updated><title type='text'>I think you have some transcription errors in your...</title><content type='html'>I think you have some transcription errors in your table.  You list the first three primes after 10**10 as &lt;br /&gt;&lt;br /&gt;10000000019&lt;br /&gt;10000000019&lt;br /&gt;10000000019&lt;br /&gt;&lt;br /&gt;Also, all of the &amp;quot;primes&amp;quot; after 10**15 are divisible by 10.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9182705499898252496/78531014571407286/comments/default/8142158282743180169'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9182705499898252496/78531014571407286/comments/default/8142158282743180169'/><link rel='alternate' type='text/html' href='http://www.billthelizard.com/2010/02/sicp-exercise-122-timed-prime-test.html?showComment=1265415595161#c8142158282743180169' title=''/><author><name>Troy</name><uri>http://www.blogger.com/profile/10271402111427382278</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.billthelizard.com/2010/02/sicp-exercise-122-timed-prime-test.html' ref='tag:blogger.com,1999:blog-9182705499898252496.post-78531014571407286' source='http://www.blogger.com/feeds/9182705499898252496/posts/default/78531014571407286' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1000007615'/></entry></feed>
