<?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:gd="http://schemas.google.com/g/2005"><id>tag:blogger.com,1999:blog-3227963714264318937.comments</id><updated>2012-01-25T20:45:54.133-08:00</updated><title type='text'>Coding Patterns</title><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://codingpatterns.blogspot.com/feeds/comments/full'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3227963714264318937/comments/full'/><link rel='alternate' type='text/html' href='http://codingpatterns.blogspot.com/'/><link rel="hub" href="http://pubsubhubbub.appspot.com/"/><author><name>Gabe Moothart</name><uri>http://www.blogger.com/profile/16926123100967129905</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>10</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-3227963714264318937.post-7218479423606696883</id><published>2012-01-25T20:45:54.133-08:00</published><updated>2012-01-25T20:45:54.133-08:00</updated><title type='text'>&amp;quot;This is really only a proof-of-concept, of c...</title><content type='html'>&amp;quot;This is really only a proof-of-concept, of course. You can&amp;#39;t use Lisp in a real project because nobody knows Lisp. &amp;quot;&lt;br /&gt;&lt;br /&gt;I know Lisp and use it on real projects.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3227963714264318937/3105772842720106824/comments/default/7218479423606696883'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3227963714264318937/3105772842720106824/comments/default/7218479423606696883'/><link rel='alternate' type='text/html' href='http://codingpatterns.blogspot.com/2007/10/executable-configuration-files.html?showComment=1327553154133#c7218479423606696883' title=''/><author><name>Anonymous</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/blank.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://codingpatterns.blogspot.com/2007/10/executable-configuration-files.html' ref='tag:blogger.com,1999:blog-3227963714264318937.post-3105772842720106824' source='http://www.blogger.com/feeds/3227963714264318937/posts/default/3105772842720106824' type='text/html'/><gd:extendedProperty name="blogger.itemClass" value="pid-423926662"/><gd:extendedProperty name="blogger.displayTime" value="January 25, 2012 at 8:45 PM"/></entry><entry><id>tag:blogger.com,1999:blog-3227963714264318937.post-2805992347170148398</id><published>2011-11-26T03:08:43.509-08:00</published><updated>2011-11-26T03:08:43.509-08:00</updated><title type='text'>(floor (fromIntegral n/2))&#xa;&#xa;should be written as&#xa;&#xa;...</title><content type='html'>(floor (fromIntegral n/2))&lt;br /&gt;&lt;br /&gt;should be written as&lt;br /&gt;&lt;br /&gt;(n `div` 2)</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3227963714264318937/8898102370264953752/comments/default/2805992347170148398'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3227963714264318937/8898102370264953752/comments/default/2805992347170148398'/><link rel='alternate' type='text/html' href='http://codingpatterns.blogspot.com/2009/06/exploring-fibonacci-numbers.html?showComment=1322305723509#c2805992347170148398' title=''/><author><name>Anonymous</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/blank.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://codingpatterns.blogspot.com/2009/06/exploring-fibonacci-numbers.html' ref='tag:blogger.com,1999:blog-3227963714264318937.post-8898102370264953752' source='http://www.blogger.com/feeds/3227963714264318937/posts/default/8898102370264953752' type='text/html'/><gd:extendedProperty name="blogger.itemClass" value="pid-423926662"/><gd:extendedProperty name="blogger.displayTime" value="November 26, 2011 at 3:08 AM"/></entry><entry><id>tag:blogger.com,1999:blog-3227963714264318937.post-5393238865385423181</id><published>2010-12-10T01:36:03.767-08:00</published><updated>2010-12-10T01:36:03.767-08:00</updated><title type='text'>Glad to find another Colemak user. I am learning C...</title><content type='html'>Glad to find another Colemak user. I am learning Colemak for 3 days. &lt;br /&gt;&lt;br /&gt;Unlearning Qwerty is a hard process. D and G, S and R is often mistaken :-)&lt;br /&gt;&lt;br /&gt;But my hands don&amp;#39;t hurt any more. They are just confused.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3227963714264318937/1476946128716544448/comments/default/5393238865385423181'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3227963714264318937/1476946128716544448/comments/default/5393238865385423181'/><link rel='alternate' type='text/html' href='http://codingpatterns.blogspot.com/2008/01/switching-keyboard-layouts-colemak.html?showComment=1291973763767#c5393238865385423181' title=''/><author><name>Anonymous</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/blank.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://codingpatterns.blogspot.com/2008/01/switching-keyboard-layouts-colemak.html' ref='tag:blogger.com,1999:blog-3227963714264318937.post-1476946128716544448' source='http://www.blogger.com/feeds/3227963714264318937/posts/default/1476946128716544448' type='text/html'/><gd:extendedProperty name="blogger.itemClass" value="pid-423926662"/><gd:extendedProperty name="blogger.displayTime" value="December 10, 2010 at 1:36 AM"/></entry><entry><id>tag:blogger.com,1999:blog-3227963714264318937.post-8284801974145787755</id><published>2010-02-09T21:12:38.193-08:00</published><updated>2010-02-09T21:12:38.193-08:00</updated><title type='text'>(Note, I&amp;#39;m using F[0] = 0, F[1] = 1, F[2] = 1,...</title><content type='html'>(Note, I&amp;#39;m using F[0] = 0, F[1] = 1, F[2] = 1, F[3] = 2, ...&lt;br /&gt;Thus indicies which are multiples of three give even Fibonacci numbers.)&lt;br /&gt;&lt;br /&gt;By the recursion relation:&lt;br /&gt;Sum[F[3*i],{i,0,n}] = Sum[F[3*i-1] + F[3*i-2],{i,1,n}] = Sum[F[i],{i,0,3*n}] / 2.&lt;br /&gt;&lt;br /&gt;From the analytical form, F[n] = (phi^n - (-1/phi)^n)/sqrt(5), you can derive:&lt;br /&gt;Sum[F[i],{i,0,n}] = F[n+2] - 1.&lt;br /&gt;&lt;br /&gt;Then for large enough arguments, you can approximate F[n] as phi^n / sqrt(5):&lt;br /&gt;&lt;br /&gt;phi = (1 + sqrt(5))/2&lt;br /&gt;f = 4000000&lt;br /&gt;n = floor(log(sqrt(5)*f)/log(phi))&lt;br /&gt;n = n - n mod 3&lt;br /&gt;ans = (floor(phi^(n+2) / sqrt(5) + 1/2) - 1) / 2&lt;br /&gt;&lt;br /&gt;Anyway, thanks for the interesting post.  I&amp;#39;m going to have to give Haskell a shot.  Hope you have fun with Project Euler.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3227963714264318937/8898102370264953752/comments/default/8284801974145787755'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3227963714264318937/8898102370264953752/comments/default/8284801974145787755'/><link rel='alternate' type='text/html' href='http://codingpatterns.blogspot.com/2009/06/exploring-fibonacci-numbers.html?showComment=1265778758193#c8284801974145787755' title=''/><author><name>Frank</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/blank.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://codingpatterns.blogspot.com/2009/06/exploring-fibonacci-numbers.html' ref='tag:blogger.com,1999:blog-3227963714264318937.post-8898102370264953752' source='http://www.blogger.com/feeds/3227963714264318937/posts/default/8898102370264953752' type='text/html'/><gd:extendedProperty name="blogger.itemClass" value="pid-423926662"/><gd:extendedProperty name="blogger.displayTime" value="February 9, 2010 at 9:12 PM"/></entry><entry><id>tag:blogger.com,1999:blog-3227963714264318937.post-729668628856886360</id><published>2009-01-27T01:50:00.000-08:00</published><updated>2009-01-27T01:50:00.000-08:00</updated><title type='text'>Thanks for writing up this nice little script, cha...</title><content type='html'>Thanks for writing up this nice little script, chaining is what i liked the most in your code, this definitely makes dom building a nicer experience. But one thing which is bugging me is that, everytime I call the domBuilder method it loops through the &lt;B&gt;autoTags[]&lt;/B&gt; array and creates those functions again and again, don&#39;t you think creating those functions each time should be avoided....one last thing that is can you please explain a little bit why did you store &#39;parent_el.document&#39; in the &#39;document&#39; property of &#39;that&#39; object, it&#39;s not clear to me or may b I am missing something, but if I remove that line, I get an error. anyway thanks again for the effort....</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3227963714264318937/1122064890582972075/comments/default/729668628856886360'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3227963714264318937/1122064890582972075/comments/default/729668628856886360'/><link rel='alternate' type='text/html' href='http://codingpatterns.blogspot.com/2008/06/javascript-dom-builder.html?showComment=1233049800000#c729668628856886360' title=''/><author><name>Anonymous</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/blank.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://codingpatterns.blogspot.com/2008/06/javascript-dom-builder.html' ref='tag:blogger.com,1999:blog-3227963714264318937.post-1122064890582972075' source='http://www.blogger.com/feeds/3227963714264318937/posts/default/1122064890582972075' type='text/html'/><gd:extendedProperty name="blogger.itemClass" value="pid-423926662"/><gd:extendedProperty name="blogger.displayTime" value="January 27, 2009 at 1:50 AM"/></entry><entry><id>tag:blogger.com,1999:blog-3227963714264318937.post-2862123726899222246</id><published>2008-04-20T21:23:00.000-07:00</published><updated>2008-04-20T21:23:00.000-07:00</updated><title type='text'>Agreed!  I have found this to the be case in my ex...</title><content type='html'>Agreed!  I have found this to the be case in my experience as well.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3227963714264318937/2175156615587766598/comments/default/2862123726899222246'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3227963714264318937/2175156615587766598/comments/default/2862123726899222246'/><link rel='alternate' type='text/html' href='http://codingpatterns.blogspot.com/2008/01/code-organization.html?showComment=1208751780000#c2862123726899222246' title=''/><author><name>Anonymous</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/blank.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://codingpatterns.blogspot.com/2008/01/code-organization.html' ref='tag:blogger.com,1999:blog-3227963714264318937.post-2175156615587766598' source='http://www.blogger.com/feeds/3227963714264318937/posts/default/2175156615587766598' type='text/html'/><gd:extendedProperty name="blogger.itemClass" value="pid-423926662"/><gd:extendedProperty name="blogger.displayTime" value="April 20, 2008 at 9:23 PM"/></entry><entry><id>tag:blogger.com,1999:blog-3227963714264318937.post-7335469904863344034</id><published>2007-10-10T14:26:00.000-07:00</published><updated>2007-10-10T14:26:00.000-07:00</updated><title type='text'>I&#39;ve been getting some feedback that these links a...</title><content type='html'>I&#39;ve been getting some feedback that these links aren&#39;t working for everyone. I&#39;ll try to get that fixed. In the meantime, sorry!</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3227963714264318937/3936899703048772445/comments/default/7335469904863344034'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3227963714264318937/3936899703048772445/comments/default/7335469904863344034'/><link rel='alternate' type='text/html' href='http://codingpatterns.blogspot.com/2007/10/ycombinator-in-chrome.html?showComment=1192051560000#c7335469904863344034' title=''/><author><name>Gabe Moothart</name><uri>https://www.blogger.com/profile/16926123100967129905</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://codingpatterns.blogspot.com/2007/10/ycombinator-in-chrome.html' ref='tag:blogger.com,1999:blog-3227963714264318937.post-3936899703048772445' source='http://www.blogger.com/feeds/3227963714264318937/posts/default/3936899703048772445' type='text/html'/><gd:extendedProperty name="blogger.itemClass" value="pid-539658780"/><gd:extendedProperty name="blogger.displayTime" value="October 10, 2007 at 2:26 PM"/></entry><entry><id>tag:blogger.com,1999:blog-3227963714264318937.post-8397270257234168389</id><published>2007-10-09T17:02:00.000-07:00</published><updated>2007-10-09T17:02:00.000-07:00</updated><title type='text'>Dan,Thanks for stopping by!</title><content type='html'>Dan,&lt;BR/&gt;Thanks for stopping by!</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3227963714264318937/955727338535309167/comments/default/8397270257234168389'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3227963714264318937/955727338535309167/comments/default/8397270257234168389'/><link rel='alternate' type='text/html' href='http://codingpatterns.blogspot.com/2007/10/welcome.html?showComment=1191974520000#c8397270257234168389' title=''/><author><name>Gabe Moothart</name><uri>https://www.blogger.com/profile/16926123100967129905</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://codingpatterns.blogspot.com/2007/10/welcome.html' ref='tag:blogger.com,1999:blog-3227963714264318937.post-955727338535309167' source='http://www.blogger.com/feeds/3227963714264318937/posts/default/955727338535309167' type='text/html'/><gd:extendedProperty name="blogger.itemClass" value="pid-539658780"/><gd:extendedProperty name="blogger.displayTime" value="October 9, 2007 at 5:02 PM"/></entry><entry><id>tag:blogger.com,1999:blog-3227963714264318937.post-4328502802914118477</id><published>2007-10-08T10:50:00.000-07:00</published><updated>2007-10-08T10:50:00.000-07:00</updated><title type='text'>Hi Gabe, looking forward to reading this blog.</title><content type='html'>Hi Gabe, looking forward to reading this blog.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3227963714264318937/955727338535309167/comments/default/4328502802914118477'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3227963714264318937/955727338535309167/comments/default/4328502802914118477'/><link rel='alternate' type='text/html' href='http://codingpatterns.blogspot.com/2007/10/welcome.html?showComment=1191865800000#c4328502802914118477' title=''/><author><name>Anonymous</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/blank.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://codingpatterns.blogspot.com/2007/10/welcome.html' ref='tag:blogger.com,1999:blog-3227963714264318937.post-955727338535309167' source='http://www.blogger.com/feeds/3227963714264318937/posts/default/955727338535309167' type='text/html'/><gd:extendedProperty name="blogger.itemClass" value="pid-423926662"/><gd:extendedProperty name="blogger.displayTime" value="October 8, 2007 at 10:50 AM"/></entry><entry><id>tag:blogger.com,1999:blog-3227963714264318937.post-1396453002355010797</id><published>2007-10-03T09:04:00.000-07:00</published><updated>2007-10-03T09:04:00.000-07:00</updated><title type='text'>Test Comment</title><content type='html'>Test Comment</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3227963714264318937/955727338535309167/comments/default/1396453002355010797'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3227963714264318937/955727338535309167/comments/default/1396453002355010797'/><link rel='alternate' type='text/html' href='http://codingpatterns.blogspot.com/2007/10/welcome.html?showComment=1191427440000#c1396453002355010797' title=''/><author><name>Gabe Moothart</name><uri>https://www.blogger.com/profile/16926123100967129905</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://codingpatterns.blogspot.com/2007/10/welcome.html' ref='tag:blogger.com,1999:blog-3227963714264318937.post-955727338535309167' source='http://www.blogger.com/feeds/3227963714264318937/posts/default/955727338535309167' type='text/html'/><gd:extendedProperty name="blogger.itemClass" value="pid-539658780"/><gd:extendedProperty name="blogger.displayTime" value="October 3, 2007 at 9:04 AM"/></entry></feed>