<?xml version='1.0' encoding='utf-8' ?>
<!--  If you are running a bot please visit this policy page outlining rules you must respect. http://www.livejournal.com/bots/  -->
<rss version='2.0' xmlns:lj='http://www.livejournal.org/rss/lj/1.0/' xmlns:media='http://search.yahoo.com/mrss/' xmlns:atom10='http://www.w3.org/2005/Atom'>
<channel>
  <title>The Coding Dragon</title>
  <link>http://codingdragon.livejournal.com/</link>
  <description>The Coding Dragon - LiveJournal.com</description>
  <lastBuildDate>Tue, 30 Dec 2008 18:57:28 GMT</lastBuildDate>
  <generator>LiveJournal / LiveJournal.com</generator>
  <lj:journal>codingdragon</lj:journal>
  <lj:journalid>14639533</lj:journalid>
  <lj:journaltype>personal</lj:journaltype>
  <atom10:link rel='hub' href='http://pubsubhubbub.appspot.com/' />
  <image>
    <url>http://l-userpic.livejournal.com/70230777/14639533</url>
    <title>The Coding Dragon</title>
    <link>http://codingdragon.livejournal.com/</link>
    <width>100</width>
    <height>100</height>
  </image>

<item>
  <guid isPermaLink='true'>http://codingdragon.livejournal.com/4810.html</guid>
  <pubDate>Tue, 30 Dec 2008 18:57:28 GMT</pubDate>
  <title>Account Closing</title>
  <link>http://codingdragon.livejournal.com/4810.html</link>
  <description>Whoops! I think I was too excited when I created this. I have no time to update it, so enjoy the entries I&apos;ve left. Bye bye!</description>
  <comments>http://codingdragon.livejournal.com/4810.html</comments>
  <lj:security>public</lj:security>
  <lj:reply-count>0</lj:reply-count>
</item>
<item>
  <guid isPermaLink='true'>http://codingdragon.livejournal.com/4552.html</guid>
  <pubDate>Sun, 20 Jan 2008 20:28:20 GMT</pubDate>
  <title>Dramatic Fox</title>
  <link>http://codingdragon.livejournal.com/4552.html</link>
  <description>This is fun.&lt;br /&gt;&lt;br /&gt;&lt;lj-embed id=&quot;7&quot; /&gt;&lt;br /&gt;&lt;a href=&quot;http://youtube.com/watch?v=jtDwLWtxGaU&quot;&gt;Direct Link&lt;/a&gt;</description>
  <comments>http://codingdragon.livejournal.com/4552.html</comments>
  <lj:security>public</lj:security>
  <lj:reply-count>0</lj:reply-count>
</item>
<item>
  <guid isPermaLink='true'>http://codingdragon.livejournal.com/4132.html</guid>
  <pubDate>Fri, 18 Jan 2008 08:31:49 GMT</pubDate>
  <title>My Plans To Become Cybernetic Are Slowly Coming To Fruition</title>
  <link>http://codingdragon.livejournal.com/4132.html</link>
  <description>I&apos;ve been wondering about the feasibility of this exact technology for upwards of two years now. I&apos;m extremely curious about how they managed to deal with the closeness problem (the closer an image is to your eye, the harder it is to focus on that image). Perhaps they plan to do a reverse blur on the screen images that will cancel out the blur caused by the inherent closeness. Anyway, I&apos;m going to be getting one of these as soon as they are approved for &lt;strike&gt;human&lt;/strike&gt; dragon use. Then, I&apos;ll be well on my way to full cyberization sans actual surgery.&lt;br /&gt;&lt;br /&gt;&lt;img src=&quot;http://www.uploadgeek.com/uploads456/0/lense.jpeg&quot; alt=&quot;My new eye&quot; /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href=&quot;http://uwnews.org/uweek/uweekarticle.asp?visitsource=uwkmail&amp;amp;articleID=39100&quot;&gt;Source&lt;/a&gt;</description>
  <comments>http://codingdragon.livejournal.com/4132.html</comments>
  <lj:security>public</lj:security>
  <lj:reply-count>0</lj:reply-count>
</item>
<item>
  <guid isPermaLink='true'>http://codingdragon.livejournal.com/4085.html</guid>
  <pubDate>Thu, 17 Jan 2008 18:56:34 GMT</pubDate>
  <title>Darkest Ever Material Created</title>
  <link>http://codingdragon.livejournal.com/4085.html</link>
  <description>This new material, made of &quot;forests&quot; of nanotubes, reflects less light than air. If you were to paint your walls with it, you&apos;d feel like you were living inside an endless black void. If you painted your car with it, you would look like several windows inside a void driving down the street. It would be cool to try this stuff out.&lt;br /&gt;&lt;br /&gt;&lt;a href=&quot;http://news.bbc.co.uk/2/hi/science/nature/7190107.stm&quot;&gt;Article&lt;/a&gt;</description>
  <comments>http://codingdragon.livejournal.com/4085.html</comments>
  <category>void</category>
  <category>absorb</category>
  <category>chemical</category>
  <category>air</category>
  <category>science</category>
  <category>black</category>
  <category>nanotubes</category>
  <lj:security>public</lj:security>
  <lj:reply-count>0</lj:reply-count>
</item>
<item>
  <guid isPermaLink='true'>http://codingdragon.livejournal.com/3686.html</guid>
  <pubDate>Tue, 15 Jan 2008 19:32:33 GMT</pubDate>
  <title>Thinnest Mac Ever</title>
  <link>http://codingdragon.livejournal.com/3686.html</link>
  <description>I&apos;ve got to have one of these! A computer so thin you could cut yourself on it.&lt;br /&gt;&lt;br /&gt;&lt;img src=&quot;http://www.uploadgeek.com/uploads456/0/macbookairThumb.jpg&quot; alt=&quot;Macbook Air&quot; /&gt;&lt;br /&gt;The Macbook Air&lt;br /&gt;&lt;br /&gt;&lt;a href=&quot;http://www.apple.com/macbookair/&quot;&gt;Source&lt;/a&gt;</description>
  <comments>http://codingdragon.livejournal.com/3686.html</comments>
  <category>computer</category>
  <category>apple</category>
  <category>air</category>
  <category>mac</category>
  <category>macbook</category>
  <category>thin</category>
  <category>announcement</category>
  <lj:security>public</lj:security>
  <lj:reply-count>0</lj:reply-count>
</item>
<item>
  <guid isPermaLink='true'>http://codingdragon.livejournal.com/3545.html</guid>
  <pubDate>Tue, 15 Jan 2008 08:49:52 GMT</pubDate>
  <title>Macworld &quot;Stevenote&quot; Tomorrow</title>
  <link>http://codingdragon.livejournal.com/3545.html</link>
  <description>For those of you who own Macs, and those of you who don&apos;t, you really should check out Steve Job&apos;s keynote that he&apos;ll be presenting tomorrow morning. Rumors are afly about what products and technologies he will be revealing. No matter what it is, it will be good, and as always, Steve Jobs will also make it fun to watch.&lt;br /&gt;&lt;br /&gt;Apple will be posting the video of the event Tuesday afternoon &lt;a href=&quot;http://www.apple.com/&quot;&gt;on their page&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;But if you can&apos;t wait even that long, try &lt;a href=&quot;http://www.tuaw.com/2008/01/15/the-macworld-2008-keynote-liveblog/&quot;&gt;a liveblog that will post news as it happens&lt;/a&gt;. That&apos;s where I&apos;ll be tomorrow. :)</description>
  <comments>http://codingdragon.livejournal.com/3545.html</comments>
  <category>computer</category>
  <category>apple</category>
  <category>keynote</category>
  <category>steve</category>
  <category>macworld</category>
  <category>mac</category>
  <category>jobs</category>
  <lj:security>public</lj:security>
  <lj:reply-count>0</lj:reply-count>
</item>
<item>
  <guid isPermaLink='true'>http://codingdragon.livejournal.com/3173.html</guid>
  <pubDate>Tue, 15 Jan 2008 08:37:02 GMT</pubDate>
  <title>Brawl Delayed</title>
  <link>http://codingdragon.livejournal.com/3173.html</link>
  <description>Well shoot! Super Smash Bros. Brawl has been delayed for a second time, though this time, only for a month. I was looking forward to playing this early February. Oh well, quality is quality.&lt;br /&gt;&lt;br /&gt;&lt;a href=&quot;http://www.smashbros.com/en_us/index.html&quot;&gt;Official Announcement&lt;/a&gt; (top of page)</description>
  <comments>http://codingdragon.livejournal.com/3173.html</comments>
  <category>nintendo</category>
  <category>smash</category>
  <category>bros.</category>
  <category>melee</category>
  <category>delay</category>
  <category>brawl</category>
  <category>super</category>
  <lj:security>public</lj:security>
  <lj:reply-count>0</lj:reply-count>
</item>
<item>
  <guid isPermaLink='true'>http://codingdragon.livejournal.com/3005.html</guid>
  <pubDate>Mon, 14 Jan 2008 08:19:39 GMT</pubDate>
  <title>Center Images The Correct Way</title>
  <link>http://codingdragon.livejournal.com/3005.html</link>
  <description>There are many, many ways to do even the simplest of things in HTML, but there are very few correct ways. Here&apos;s the correct (modern) way to center an image within whatever area you are in, be it a div, table cell, or the page itself.&lt;br /&gt;&lt;br /&gt;All you have to do is apply a &quot;centered&quot; class to the image you want centered, and then create the centered class in your CSS file (or stick it wherever you&apos;re declaring CSS styles).&lt;br /&gt;&lt;br /&gt;So, when you want an image centered, just be sure to add this part to the tag:&lt;br /&gt;&lt;code&gt;&amp;lt;img src=&quot;../someImage.jpg&quot; &lt;span style=&quot;font-size:20px&quot;&gt;class=&quot;centered&quot;&lt;/span&gt; /&amp;gt;&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;Then, in your CSS file, create this class:&lt;br /&gt;&lt;code&gt;.centered&lt;br /&gt;{&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;display: block;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;margin-left: auto;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;margin-right: auto;&lt;br /&gt;}&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;You can, of course, rename &quot;centered&quot; to whatever you want, so long as both names match.&lt;br /&gt;&lt;br /&gt;This works because you are saying that you have an object of a specific size (since the image has height and width properties), so you want to display it as a block, at its normal size. Then, you tell both the left and right side&apos;s margins to be as large as &quot;needed.&quot; That results in the margins taking up exactly the same amount of space on both the left and right sides, centering the image.</description>
  <comments>http://codingdragon.livejournal.com/3005.html</comments>
  <category>centering</category>
  <category>images</category>
  <category>xhtml</category>
  <category>html</category>
  <category>web</category>
  <category>design</category>
  <category>css</category>
  <category>standards</category>
  <category>website</category>
  <lj:security>public</lj:security>
  <lj:reply-count>0</lj:reply-count>
</item>
<item>
  <guid isPermaLink='true'>http://codingdragon.livejournal.com/2632.html</guid>
  <pubDate>Mon, 14 Jan 2008 08:04:39 GMT</pubDate>
  <title>Bridget Fursuit</title>
  <link>http://codingdragon.livejournal.com/2632.html</link>
  <description>I can&apos;t really determine if the person under the mask here is named Bridget, or if that&apos;s the name of the character portrayed, but this is another interesting fursuit, if you can call it that. The face is completely hard and most of the body is covered in relatively normal clothes. The only truly fursuit-y thing about this is the tail. Regardless of all that however, the suit works well in my opinion. It screams realism in a way that few other fursuits can.&lt;br /&gt;&lt;br /&gt;&lt;lj-embed id=&quot;4&quot; /&gt;&lt;br /&gt;&lt;a href=&quot;http://youtube.com/watch?v=30JJOCl3MmE&quot;&gt;Direct Link&lt;/a&gt;</description>
  <comments>http://codingdragon.livejournal.com/2632.html</comments>
  <category>furry</category>
  <category>video</category>
  <category>rabbit</category>
  <category>bridget</category>
  <category>fursuit</category>
  <lj:security>public</lj:security>
  <lj:reply-count>0</lj:reply-count>
</item>
<item>
  <guid isPermaLink='true'>http://codingdragon.livejournal.com/2322.html</guid>
  <pubDate>Sun, 13 Jan 2008 09:32:14 GMT</pubDate>
  <title>Upcoming Furry Documentary</title>
  <link>http://codingdragon.livejournal.com/2322.html</link>
  <description>So there&apos;s a documentary about the furry fandom and the members thereof. It&apos;s called &quot;American Furry: Life, Liberty and the Fursuit of Happiness.&quot; It&apos;s still in progress, but they&apos;ve released two preview videos, one of which I&apos;ve posted below. Looks interesting. Should be another good explanation of furries to the world.&lt;br /&gt;&lt;br /&gt;&lt;lj-embed id=&quot;3&quot; /&gt;&lt;br /&gt;Direct Links:&lt;br /&gt;&lt;a href=&quot;http://youtube.com/watch?v=iY2NTbui6kY&quot;&gt;Part 1&lt;/a&gt;&lt;br /&gt;&lt;a href=&quot;http://youtube.com/watch?v=yNTo2MuF3LA&quot;&gt;Part 2&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href=&quot;http://rabbitholefilms.com/american_furry.html&quot;&gt;Project Website&lt;/a&gt;</description>
  <comments>http://codingdragon.livejournal.com/2322.html</comments>
  <category>feature</category>
  <category>convention</category>
  <category>furry</category>
  <category>lion</category>
  <category>fursuit</category>
  <category>leopard</category>
  <category>video</category>
  <category>documentary</category>
  <lj:security>public</lj:security>
  <lj:reply-count>0</lj:reply-count>
</item>
<item>
  <guid isPermaLink='true'>http://codingdragon.livejournal.com/2085.html</guid>
  <pubDate>Sat, 12 Jan 2008 05:40:22 GMT</pubDate>
  <title>Making Better Webpages</title>
  <link>http://codingdragon.livejournal.com/2085.html</link>
  <description>I love making websites. They combine my love for programming with my love for good visual design. Both are skills I have worked for years to achieve. Perhaps one day I&apos;ll get time and use those skills for this very Livejournal. For now, however, I&apos;ll make due by telling all of you some of my tips for making your pages better.&lt;br /&gt;&lt;br /&gt;I&apos;m going to start off by assuming that you&apos;re making your sites from scratch in a text editor. If you are not, shame on you! You really need to know XHTML and CSS at the code level to get the kinds of professional looking sites you really desire. That&apos;s a subject I&apos;ll save for later.&lt;br /&gt;&lt;br /&gt;So, this time I&apos;m going to cover the very end of website development, after you&apos;ve made the website, make sure your website is standards compliant.&lt;br /&gt;&lt;br /&gt;To do this, the W3C has made it extremely easy for you. Just post the URL, the file, or the text of the file on their &lt;a href=&quot;http://validator.w3.org/&quot;&gt;validator webpage&lt;/a&gt;, and click &quot;Check&quot;.&lt;br /&gt;&lt;br /&gt;Depending on how you made your site, it will test it against one of several standards. It will warn you of most errors and warnings. It&apos;s to your and your visitor&apos;s benefit to make sure you have no errors or warnings. If you can do that, your site will be standards compliant! And you can use one of these nice little buttons:&lt;br /&gt;&lt;br /&gt;&lt;img src=&quot;http://img37.picoodle.com/img/img37/4/1/11/f_xhtml10copym_fc929fc.gif&quot; alt=&quot;XHTML Compliant!&quot; width=&quot;80&quot; height=&quot;15&quot; /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href=&quot;http://validator.w3.org/&quot;&gt;W3C Validator&lt;/a&gt;&lt;br /&gt;&lt;a href=&quot;http://gtmcknight.com/buttons/validated.php&quot;&gt;Validated Buttons&lt;/a&gt;</description>
  <comments>http://codingdragon.livejournal.com/2085.html</comments>
  <category>site</category>
  <category>validate</category>
  <category>compliant</category>
  <category>design</category>
  <category>standards</category>
  <category>website</category>
  <category>w3c</category>
  <lj:security>public</lj:security>
  <lj:reply-count>0</lj:reply-count>
</item>
<item>
  <guid isPermaLink='true'>http://codingdragon.livejournal.com/1900.html</guid>
  <pubDate>Sat, 12 Jan 2008 03:44:46 GMT</pubDate>
  <title>Rise of the Video Game: Second Life</title>
  <link>http://codingdragon.livejournal.com/1900.html</link>
  <description>I&apos;ve been busy lately, which is why it took me so long to look up the final episode of Discovery Channel&apos;s special on video games, &quot;Rise of the Video Game.&quot; While I like the series, and it has a great history toward the beginning, I think they spend far too much time studying the social and cultural aspects of games. These are game&apos;s we are talking about here, I don&apos;t want to hear about why Missile Command is such a story of that time in American history. Games are about having fun. That&apos;s my opinion anyway.&lt;br /&gt;&lt;br /&gt;So part three of episode five talks about online communities. The first half of it is about professional gamers and gaming conventions. The second half of this video is about Second Life, arguably not a video game at all. It was funny how many furry characters they show. I know that Second Life has a very large furry population, so that&apos;s understandable. The narrator and commenters kind of shrugged off the existence of animal avatars as a manifestation of the &lt;a href=&quot;http://en.wikipedia.org/wiki/Totem&quot;&gt;Totem&lt;/a&gt;. The word furry wasn&apos;t used, but it was fun to see their reactions to something they likely weren&apos;t expecting when planning the documentary.&lt;br /&gt;&lt;br /&gt;&lt;lj-embed id=&quot;1&quot; /&gt;&lt;br /&gt;&lt;a href=&quot;http://www.youtube.com/watch?v=EZpF0VJ_7cY&quot;&gt;Full Video&lt;/a&gt;</description>
  <comments>http://codingdragon.livejournal.com/1900.html</comments>
  <category>life</category>
  <category>game</category>
  <category>furry</category>
  <category>video</category>
  <category>history</category>
  <category>rise</category>
  <category>second</category>
  <lj:security>public</lj:security>
  <lj:reply-count>0</lj:reply-count>
</item>
<item>
  <guid isPermaLink='true'>http://codingdragon.livejournal.com/1538.html</guid>
  <pubDate>Fri, 11 Jan 2008 07:23:21 GMT</pubDate>
  <title>Charizard Cosplay</title>
  <link>http://codingdragon.livejournal.com/1538.html</link>
  <description>I feel no shame in telling you guys that I like Pokémon. It&apos;s a great game series with fun characters. Whilst looking for fursuit-related stuff on YouTube, I happened across a well made anthro Charizard costume, made and worn by Tusami. The fact that she can wear clothes instead of a full-body fursuit makes it look much more natural to move around in. Nice job, Tusami!&lt;br /&gt;&lt;br /&gt;&lt;lj-embed id=&quot;2&quot; /&gt;&lt;br /&gt;&lt;a href=&quot;http://www.youtube.com/watch?v=DuhPI5n4_4o&quot;&gt;Full Video&lt;/a&gt;</description>
  <comments>http://codingdragon.livejournal.com/1538.html</comments>
  <category>charizard</category>
  <category>pokemon</category>
  <category>cosplay</category>
  <category>jaw</category>
  <category>pokémon</category>
  <category>tusami</category>
  <category>costume</category>
  <lj:security>public</lj:security>
  <lj:reply-count>0</lj:reply-count>
</item>
<item>
  <guid isPermaLink='true'>http://codingdragon.livejournal.com/1511.html</guid>
  <pubDate>Fri, 11 Jan 2008 07:13:37 GMT</pubDate>
  <title>LOLCODE</title>
  <link>http://codingdragon.livejournal.com/1511.html</link>
  <description>Ever wished you could write a program in &lt;a href=&quot;http://en.wikipedia.org/wiki/Lolcat&quot;&gt;LOLCAT&lt;/a&gt; speak and have it work? The thought never crossed your mind, you say? Well, fear not! It&apos;s already implemented, though a lot of work still has to be done. That&apos;s right, BTW, ORLY, and KTHXBYE are all valid statements in this language. Okay, so it isn&apos;t a language per se, but it&apos;s been implemented on top of other languages like Javascript and Perl.&lt;br /&gt;&lt;br /&gt;Here are a few fun examples:&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Prints out values from 0 to 10 (I think)&lt;/strong&gt;&lt;br /&gt;&lt;code&gt;&lt;br /&gt;HAI&lt;br /&gt;CAN HAS STDIO?&lt;br /&gt;I HAS A VAR&lt;br /&gt;IM IN YR LOOP&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;UP VAR!!1&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;VISIBLE VAR&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;IZ VAR BIGGER THAN 10? KTHXBYE&lt;br /&gt;IM OUTTA YR LOOP&lt;br /&gt;KTHXBYE&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Opens and prints filed named &quot;LOLCATS.TXT&quot;, or if an error occurs, handles said error.&lt;/strong&gt;&lt;br /&gt;&lt;code&gt;&lt;br /&gt;HAI&lt;br /&gt;CAN HAS STDIO?&lt;br /&gt;PLZ OPEN FILE &quot;LOLCATS.TXT&quot;?&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;AWSUM THX&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;VISIBLE FILE&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;O NOES&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;INVISIBLE &quot;ERROR!&quot;&lt;br /&gt;KTHXBYE&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;And, of course, the inevitable &quot;Hai World&quot; program.&lt;/strong&gt;&lt;br /&gt;&lt;code&gt;&lt;br /&gt;HAI&lt;br /&gt;CAN HAS STDIO?&lt;br /&gt;VISIBLE &quot;HAI WORLD!&quot;&lt;br /&gt;KTHXBYE&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;Had enough? Want more? &lt;a href=&quot;http://lolcode.com/&quot;&gt;You got it&lt;/a&gt;!</description>
  <comments>http://codingdragon.livejournal.com/1511.html</comments>
  <category>btw</category>
  <category>programming</category>
  <category>language</category>
  <category>macro</category>
  <category>lol</category>
  <category>humor</category>
  <category>cat</category>
  <category>orly</category>
  <lj:security>public</lj:security>
  <lj:reply-count>1</lj:reply-count>
</item>
<item>
  <guid isPermaLink='true'>http://codingdragon.livejournal.com/1060.html</guid>
  <pubDate>Thu, 10 Jan 2008 08:14:31 GMT</pubDate>
  <title>Simple Steps to Faster Code (Part 1)</title>
  <link>http://codingdragon.livejournal.com/1060.html</link>
  <description>The very last thing you should do to your code is make it fast. Your first concern should be making code that &lt;em&gt;works&lt;/em&gt;, then make your code easy to &lt;em&gt;read&lt;/em&gt;. And by read, I mean people other than you should be able to understand your code after a short time. Readable code is almost as important as working code, so no slacking.&lt;br /&gt;&lt;br /&gt;But assuming you&apos;ve done all that, there are some simple steps that you can take to make your program run a little bit (or a lot) faster, and these don&apos;t effect the readability much, if at all.&lt;br /&gt;&lt;br /&gt;Step 1. Reverse the loop&lt;br /&gt;Looping is often the slowest part of a program because you are doing a fast operation so many times that it becomes a slow operation, not to mention the overhead required to run the loop. You should reduce how much each loop does. One way is to make your loop run backwards. Obviously, this kind of technique will only work on loops that don&apos;t care what order they execute in, perhaps you need to add a 5 to every element in an array. You can make that loop faster by counting down to 0 than counting up to the array length.&lt;br /&gt;&lt;br /&gt;The reason is because you reduce the number of times you access the length property to once, and you count down to a well-known number: 0. Some programming languages can process logical operations on 0 better than some arbitrary number. So let&apos;s look at the code.&lt;br /&gt;&lt;br /&gt;The original loop:&lt;br /&gt;&lt;code&gt;&lt;br /&gt;for (var i = 0; i &amp;lt; a.length; i++)&lt;br /&gt;{&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;a[i] += 5;&lt;br /&gt;}&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;This code segment, with an array of 1 million numbers, takes about 1423 milliseconds to operate (almost 1.5 seconds). &lt;em&gt;The code and tests are being done in Javascript for simplicity, but the technique can be applied to many languages.&lt;/em&gt;&lt;br /&gt;&lt;br /&gt;Now, the reversed loop:&lt;br /&gt;&lt;code&gt;&lt;br /&gt;for (var i = a.length - 1; i &amp;gt; 0; i--)&lt;br /&gt;{&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;a[i] += 5;&lt;br /&gt;}&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;This code segment, with the same million numbers, takes about 1357 milliseconds to operate, a savings of 66 milliseconds. Admittedly, this isn&apos;t all that impressive, but we&apos;re talking about Javascript here. The difference will likely be more drastic in other languages. Additionally, not every speed enhancement you add will make your program faster. It might actually make it slower, so be sure to check for that. But if you&apos;re making your program for speed, every little bit helps.&lt;br /&gt;&lt;br /&gt;Bonus version:&lt;br /&gt;&lt;code&gt;&lt;br /&gt;var i = a.length;&lt;br /&gt;while (i &amp;gt; 0)&lt;br /&gt;{&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;a[--i] += 5;&lt;br /&gt;}&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;So here, I removed the line that decrements the loop by sticking it inside the brackets and using its return value as the array index. This relatively major change saves us an additional 41 milliseconds, for a total savings of a little more than a tenth of a second. Not bad.&lt;br /&gt;&lt;br /&gt;Keep in mind though, that this kind of change is a bit more complicated, so you&apos;ll want to make sure you test it to ensure it does the same job as the other code. Notice that we don&apos;t subtract the one from the length before entering the loop because the decrement happens before we access the array element (--i vs. i--).&lt;br /&gt;&lt;br /&gt;Alright folks, try that on for size. If you can&apos;t use this code in your projects, I hope you&apos;ve at least had fun learning something new.</description>
  <comments>http://codingdragon.livejournal.com/1060.html</comments>
  <category>technique</category>
  <category>faster</category>
  <category>speed</category>
  <category>coding</category>
  <category>programming</category>
  <category>enhance</category>
  <lj:security>public</lj:security>
  <lj:reply-count>0</lj:reply-count>
</item>
<item>
  <guid isPermaLink='true'>http://codingdragon.livejournal.com/800.html</guid>
  <pubDate>Thu, 10 Jan 2008 02:36:14 GMT</pubDate>
  <title>NetNewsWire is Free</title>
  <link>http://codingdragon.livejournal.com/800.html</link>
  <description>&lt;a href=&quot;http://www.newsgator.com/&quot;&gt;Newsgator&lt;/a&gt; has made their popular Mac RSS feed reader, &lt;a href=&quot;http://www.newsgator.com/Individuals/NetNewsWire/Default.aspx&quot;&gt;NetNewsWire&lt;/a&gt;, free to download (no more lite version for me). For the uninitiated, &lt;a href=&quot;http://en.wikipedia.org/wiki/News_aggregator&quot;&gt;Wikipedia - Feed Reader&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;&lt;a href=&quot;http://www.newsgator.com/Individuals/NetNewsWire/Default.aspx&quot;&gt;Download it here&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;And for the Windows users out there, &lt;a href=&quot;http://www.newsgator.com/Individuals/FeedDemon/Default.aspx&quot;&gt;Feed Demon&lt;/a&gt; is now also free.</description>
  <comments>http://codingdragon.livejournal.com/800.html</comments>
  <category>reader</category>
  <category>free</category>
  <category>feed</category>
  <category>rss</category>
  <category>netnewswire</category>
  <category>software</category>
  <lj:security>public</lj:security>
  <lj:reply-count>0</lj:reply-count>
</item>
<item>
  <guid isPermaLink='true'>http://codingdragon.livejournal.com/724.html</guid>
  <pubDate>Thu, 10 Jan 2008 02:27:38 GMT</pubDate>
  <title>Hello</title>
  <link>http://codingdragon.livejournal.com/724.html</link>
  <description>I&apos;m Coding Dragon. I hope you like technology, because I sure do. It&apos;s likely that technology is all that I will post about, that and furry-related stuff.&lt;br /&gt;&lt;br /&gt;Have a pleasant day.</description>
  <comments>http://codingdragon.livejournal.com/724.html</comments>
  <category>start</category>
  <category>beginning</category>
  <category>welcome</category>
  <category>intro</category>
  <lj:security>public</lj:security>
  <lj:reply-count>0</lj:reply-count>
</item>
</channel>
</rss>
