<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>BBQIguana.com</title>
	<atom:link href="http://www.bbqiguana.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.bbqiguana.com</link>
	<description></description>
	<lastBuildDate>Sat, 06 Mar 2010 20:57:42 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Can I learn to speak Italian fluently in one year?</title>
		<link>http://www.bbqiguana.com/2010/03/can-i-learn-to-speak-italian-fluently-in-one-year/</link>
		<comments>http://www.bbqiguana.com/2010/03/can-i-learn-to-speak-italian-fluently-in-one-year/#comments</comments>
		<pubDate>Thu, 04 Mar 2010 06:14:06 +0000</pubDate>
		<dc:creator>Randy Hunt</dc:creator>
				<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://www.bbqiguana.com/?p=1316</guid>
		<description><![CDATA[After the success I had with Russian last year, and with my goal to learn Italian this year,  I have decided to take on a fantastic and fun new project: I am going to learn one new foreign language fluently every year!]]></description>
			<content:encoded><![CDATA[<p>After the success I had with Russian last year, and with <a href="http://www.bbqiguana.com/2010/01/reflections-on-2009/" title="Reflections on 2009">my goal to learn Italian this year</a>,  I have decided to take on a fantastic and fun new project: I am going to learn one new foreign language fluently every year!</p>
<p>Last month, I started a new web site, <a href="http://www.fluenteveryyear.com/" title="FluentEveryYear.com">www.FluentEveryYear.com</a>, and I am excited to report that I have already started to gain subscribed readers and Facebook fans!</p>
<p>There will be plenty of tips and tricks for learning any language, and even more useful information if you&#8217;re interested in learning Italian &mdash; or whatever the language of the year is &mdash; so go check it out!</p>
<div class="link-summarizer"><p><strong>Links in this post</strong><ul><li><a href='http://www.bbqiguana.com/2010/01/reflections-on-2009/' title="Reflections on 2009">Reflections on 2009</a></li><li><a href='http://www.fluenteveryyear.com/' title="FluentEveryYear.com">FluentEveryYear.com</a></li></ul></p></div><a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Fwww.bbqiguana.com%2F2010%2F03%2Fcan-i-learn-to-speak-italian-fluently-in-one-year%2F&amp;linkname=Can%20I%20learn%20to%20speak%20Italian%20fluently%20in%20one%20year%3F"><img src="http://www.bbqiguana.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a>]]></content:encoded>
			<wfw:commentRss>http://www.bbqiguana.com/2010/03/can-i-learn-to-speak-italian-fluently-in-one-year/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>MacOS X error 0&#215;80020022 trying to burn DVDs</title>
		<link>http://www.bbqiguana.com/2010/02/macos-x-error-0x80020022-trying-to-burn-dvds/</link>
		<comments>http://www.bbqiguana.com/2010/02/macos-x-error-0x80020022-trying-to-burn-dvds/#comments</comments>
		<pubDate>Sat, 20 Feb 2010 21:55:51 +0000</pubDate>
		<dc:creator>Randy Hunt</dc:creator>
				<category><![CDATA[Software]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Apple]]></category>
		<category><![CDATA[OS X]]></category>

		<guid isPermaLink="false">http://www.bbqiguana.com/?p=1299</guid>
		<description><![CDATA[After being tremendously frustrated with my iMac failing to burn DVDs, and stressing myself out over what media might be supported, I've hit upon the solution to my problem: unicode characters.
]]></description>
			<content:encoded><![CDATA[<p>After being tremendously frustrated with my iMac failing to burn DVDs, and stressing myself out over what media might be supported, I&#8217;ve hit upon the solution to my problem: unicode characters.</p>
<p>I wanted to burn a DVD containing AVIs of Russian video, and I had given the Burn Folder a Russian name.  Every time I tried to burn, I was greeted with <strong>error 0&#215;80020022</strong>, and the media was immediately ejected.</p>
<p>Remembering the days of CD-R media and the compatibility hassles I once experienced, my first thought was to go buy a different brand of DVD media.  But I experienced the error with the new media as well.</p>
<p>After stumbling onto a Mac support forum in which users blindly suggested that renaming a file had fixed the problem, I realized that I was probably trying to use forbidden characters in the volume name.  Spelling my Russian words out in a Latin alphabet did the trick, and I am now burning the files.</p>
<a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Fwww.bbqiguana.com%2F2010%2F02%2Fmacos-x-error-0x80020022-trying-to-burn-dvds%2F&amp;linkname=MacOS%20X%20error%200%26%23215%3B80020022%20trying%20to%20burn%20DVDs"><img src="http://www.bbqiguana.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a>]]></content:encoded>
			<wfw:commentRss>http://www.bbqiguana.com/2010/02/macos-x-error-0x80020022-trying-to-burn-dvds/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Reflections on 2009</title>
		<link>http://www.bbqiguana.com/2010/01/reflections-on-2009/</link>
		<comments>http://www.bbqiguana.com/2010/01/reflections-on-2009/#comments</comments>
		<pubDate>Mon, 18 Jan 2010 20:09:34 +0000</pubDate>
		<dc:creator>Randy Hunt</dc:creator>
				<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://www.bbqiguana.com/?p=1276</guid>
		<description><![CDATA[Well, I hemmed and hawed, and I wasn&#8217;t planning on doing one of these this year, but I&#8217;ve finally decided to do it.  A lot of things happened in my life in 2009, and a lot of it was actually good.  So I feel like sharing. 
My career had basically stalled at the [...]]]></description>
			<content:encoded><![CDATA[<p>Well, I hemmed and hawed, and I wasn&#8217;t planning on doing one of these this year, but I&#8217;ve finally decided to do it.  A lot of things happened in my life in 2009, and a lot of it was actually good.  So I feel like sharing. </p>
<p>My career had basically stalled at the company I was working for, but out of comfort I didn&#8217;t want to leave.  Amazingly, I spend the majority of last year getting paid to sit on my hands.  My company actively ensured that I (like most of my coworkers) did no real work since fall of 2008.  Would I like to have been more productive career-wise?  Yes.  But overall, I think I used that dead time effectively.</p>
<p>For starters, I did manage to do some work-related work, and with a wealth of free time to do it in, I made the choice to learn more advanced languages, tools, and architectures.  Using those more advanced development strategies was almost certainly overkill for the tasks I performed, but the knowledge I gained was valuable for my career.  And frankly, when a company isn&#8217;t interested in using my talents effectively, I&#8217;m going to use their resources to improve my marketability toward finding a better company to work for.</p>
<p>Next, I managed to use a lot of my free time, both at work and at home, to study Russian.  I began 2009 knowing perhaps 10 useful phrases in the Russian language.  A year later, I am beyond conversational and close to fluent.  I understand 70-80% of what I hear, and have a vocabulary of approximately 3500 words.  I can read, write, speak, listen, search the web, order dinner, and withdraw money from my bank in Russian.</p>
<p>But I didn&#8217;t stop there&#8230;  I&#8217;ve also begun learning Italian, Ukrainian, and Polish.  Admittedly, Italian is easiest for me, being a fluent Spanish-speaker&#8230;  but I can successfully read and understand Ukrainian and Polish, and I have even followed a few simple recipes written in Polish on food packages. </p>
<p>On finances, I dropped more than $10,000 in debt last year and paid off all but one of my credit cards.  I might have done even better &#8212; maybe even completely paid it all off &#8212; but supporting two additional people, paying for repairs from a house fire, covering high medicine expenses for a Medicare donut-hole, and a handful of other large purchases prevented me from complete success.   I will complete this, however within the first couple of months this year.</p>
<p>That financial progress was boosted toward the end of the year as I changed jobs not once, but twice in November &#8212; in spite of all the horror stories about our economy.  I&#8217;ve upgraded my career to one that is thoroughly enjoyable and far more fulfilling, and I manage to bring home more money too.   All of this leaves me with good prospects for what&#8217;s to come in 2010.</p>
<p>And with regard to my photographic passions and goals, I was contacted last year by an editor compiling a book of photography, and I will have my work published.  While it won&#8217;t actually be published until this year, I count this as recognition given last year for the amazing progress my artwork saw in 2009.</p>
<p>And 2009 was also a year filled with new experiences.  I had many firsts, including seeing a symphony, going to the ballet, attending a master piano recital, riding a train across country, seeing showgirls dance in Las Vegas, and learning to make crepes.</p>
<p>So what&#8217;s on tap for 2010?  There&#8217;s no knowing for sure, but here are my thoughts at present:</p>
<p>I had intended to do international travel last year and I failed that.  Partially due to poor planning, but mostly due to a new economic situation for the world, and for myself.   This year, those excuses won&#8217;t work.  My finances are completely under control, and my plans are more specific:  For my two (minimum) international trips, I want to drive to Canada to see Niagara Falls, and I want to fly to Russia and ride the Trans-Siberian express cross-country.</p>
<p>While continuing to study and improve in Russian, I intend to achieve at least conversational level in Polish and fluency in Italian.  This is an aggressive goal, but one which I feel I can achieve.  I will measure my success in Polish by shopping in the many Polish stores here in Chicago while not using English.   And I will measure my success in Italian by finding Italians with whom to converse&#8230; perhaps by Skype, or perhaps by finding a local group&#8230; or perhaps by traveling to Italy.</p>
<p>I also intend to experience some more &#8220;firsts&#8221;, including (but not limited to): riding in a hot air balloon, skydiving, and snowboarding.  This is also a good year for me to cross of more states which I haven&#8217;t visited yet.  I wonder if I could use Alaska as a jump-off point to Russia&#8230;</p>
<a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Fwww.bbqiguana.com%2F2010%2F01%2Freflections-on-2009%2F&amp;linkname=Reflections%20on%202009"><img src="http://www.bbqiguana.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a>]]></content:encoded>
			<wfw:commentRss>http://www.bbqiguana.com/2010/01/reflections-on-2009/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Ten tips about something I know nothing about</title>
		<link>http://www.bbqiguana.com/2009/12/ten-tips-about-something-i-know-nothing-about/</link>
		<comments>http://www.bbqiguana.com/2009/12/ten-tips-about-something-i-know-nothing-about/#comments</comments>
		<pubDate>Thu, 10 Dec 2009 17:11:42 +0000</pubDate>
		<dc:creator>Randy Hunt</dc:creator>
				<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://www.bbqiguana.com/?p=1255</guid>
		<description><![CDATA[I can't help noticing that the majority of blog posts these days are lists of advice about things that are either common sense or utter bullshit.]]></description>
			<content:encoded><![CDATA[<p>I can&#8217;t help noticing that the majority of blog posts these days are lists of advice about things that are either common sense or utter bullshit.</p>
<p>The best ones, though, are those that propose a list of ten <em>must do</em> strategies for using an unproven technology in an undocumented business sector in relation to a prediction of things that haven&#8217;t even happened yet.</p>
<p>For example:</p>
<ul>
<li>Top 10 priorities for online marketing in 2010</li>
<li>Eight things you must do in order to succeed on Twitter</li>
<li>12 ways to be the better than everyone else, even the millions of other people who will also read this article</li>
<li>9 surefire ways to know that I&#8217;m a full-of-shit author and not an SEO expert</li>
<li>The 8 keys to showing others that I&#8217;ve never actually done the thing I&#8217;m writing about</li>
</ul>
<p>There&#8217;s an old saying that goes &#8220;Those who can <em>do</em>. Those who can&#8217;t <em>teach</em>.&#8221;  Obviously, that phrase was coined before the internet came along and made experts out of everyone.</p>
<a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Fwww.bbqiguana.com%2F2009%2F12%2Ften-tips-about-something-i-know-nothing-about%2F&amp;linkname=Ten%20tips%20about%20something%20I%20know%20nothing%20about"><img src="http://www.bbqiguana.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a>]]></content:encoded>
			<wfw:commentRss>http://www.bbqiguana.com/2009/12/ten-tips-about-something-i-know-nothing-about/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>App Approval</title>
		<link>http://www.bbqiguana.com/2009/12/app-approval/</link>
		<comments>http://www.bbqiguana.com/2009/12/app-approval/#comments</comments>
		<pubDate>Wed, 09 Dec 2009 21:26:20 +0000</pubDate>
		<dc:creator>Randy Hunt</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[Apple]]></category>
		<category><![CDATA[iPhone]]></category>

		<guid isPermaLink="false">http://www.bbqiguana.com/?p=1253</guid>
		<description><![CDATA[I see a lot of complaints from developers about Apple's app approval process.  But here's the thing:   If developers aren't complaining about app approval, it means someone, somewhere, is not doing their job right. If apps went out the way developers wanted them to, they'd have ugly interfaces, poor memory management, and no error checking whatsoever.]]></description>
			<content:encoded><![CDATA[<p>I see a lot of complaints from developers about Apple&#8217;s app approval process.  But here&#8217;s the thing:   If developers aren&#8217;t complaining about app approval, it means someone, somewhere, is not doing their job right. If apps went out the way developers wanted them to, they&#8217;d have ugly interfaces, poor memory management, and no error checking whatsoever.</p>
<p>Personally, I like Apple&#8217;s app approval process.  And I like the fact that it&#8217;s rigid and painful.  In fact, I don&#8217;t think it&#8217;s rigid enough.  I&#8217;d like to see them make it even harder to put apps like &#8220;iFart&#8221; online.</p>
<p>But, like it or not, iFart isn&#8217;t going to cause a system crash when you receive a phone call while using it.  And that&#8217;s what&#8217;s important.  The iPhone isn&#8217;t just a handheld computing platform&#8230;. it&#8217;s also <em>a phone</em>.  And that means it has to work.  It can&#8217;t be crashing all the time.  And Apple&#8217;s process helps make that a reality.</p>
<a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Fwww.bbqiguana.com%2F2009%2F12%2Fapp-approval%2F&amp;linkname=App%20Approval"><img src="http://www.bbqiguana.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a>]]></content:encoded>
			<wfw:commentRss>http://www.bbqiguana.com/2009/12/app-approval/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Bug tracking via Twitter?</title>
		<link>http://www.bbqiguana.com/2009/11/bug-tracking-via-twitter/</link>
		<comments>http://www.bbqiguana.com/2009/11/bug-tracking-via-twitter/#comments</comments>
		<pubDate>Wed, 11 Nov 2009 04:03:13 +0000</pubDate>
		<dc:creator>Randy Hunt</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[twitter]]></category>

		<guid isPermaLink="false">http://www.bbqiguana.com/?p=1219</guid>
		<description><![CDATA[An interesting thought just occurred to me...   It seems quite reasonable to implement the Twitter API as a bug-tracking tool.]]></description>
			<content:encoded><![CDATA[<p>An interesting thought just occurred to me&#8230;   It seems quite reasonable to implement the Twitter API as a bug-tracking tool.</p>
<p>A software team could implement a Twitter account for bug tracking, and include the API into their projects within various try-catch blocks around potential points of failure.  Then, all the members of that team would just follow that twitter account.  For more critical applications, they could turn on device updates.  It seems like a more available version of the elderly developer&#8217;s standby of programmatically emailing bug reports. </p>
<p>For sensitive applications, the tweets could be &#8220;protected&#8221;&#8230; but for less critical uses, the visibility of the public timeline would seem to be an added incentive for developers to fix bugs quickly.</p>
<p>It&#8217;s an interesting thought.</p>
<a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Fwww.bbqiguana.com%2F2009%2F11%2Fbug-tracking-via-twitter%2F&amp;linkname=Bug%20tracking%20via%20Twitter%3F"><img src="http://www.bbqiguana.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a>]]></content:encoded>
			<wfw:commentRss>http://www.bbqiguana.com/2009/11/bug-tracking-via-twitter/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>TweetPost</title>
		<link>http://www.bbqiguana.com/2009/11/tweetpost/</link>
		<comments>http://www.bbqiguana.com/2009/11/tweetpost/#comments</comments>
		<pubDate>Sun, 08 Nov 2009 16:33:24 +0000</pubDate>
		<dc:creator>Randy Hunt</dc:creator>
				<category><![CDATA[Software]]></category>
		<category><![CDATA[plugins]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://www.bbqiguana.com/?p=1212</guid>
		<description><![CDATA[TweetPost is a multiuser plugin which allows wordpress publishers to automatically tweet their new posts to their Twitter account.  Tweets consist of a message ("New post from @user") including a reference to the author's Twitter name, the title of the post, and a bit.ly shortened link to the post.]]></description>
			<content:encoded><![CDATA[<p>TweetPost is a multi-user plugin that automatically tweets bit.ly links to new posts. </p>
<p><strong>Description</strong></p>
<p>TweetPost is a multiuser plugin which allows wordpress publishers to automatically tweet their new posts to their Twitter account.  Tweets consist of a message (&#8220;New post from @user&#8221;) including a reference to the author&#8217;s Twitter name, the title of the post, and a bit.ly shortened link to the post.</p>
<p>Currently, the Twitter Poster consists of the following features.</p>
<ul>
<li>Specify a Twitter username and password to associate with the site</li>
<li>Specify a Bit.ly login and API key to associate with the site</li>
<li>Adds a &#8220;Twitter&#8221; property to user details, so users can manage their own Twitter name</li>
<li>Automatically submits the permalink to bit.ly and adds that to the tweet</li>
<li>Adds a reference to the author&#8217;s Twitter account in the tweet</li>
<li>Fits the tweet into Twitter&#8217;s 140-character limit.</li>
</ul>
<p><strong>License</strong></p>
<p>This Twitter Poster plugin and Wordpress Plugin Framework are being developed under the GNU General Public License, version 2.</p>
<p>[GNU General Public License, version 2](http://www.gnu.org/licenses/elderly-licenses/gpl-2.0.html &#8220;GNU General Public License, version 2&#8243;)</p>
<p><strong>Download</strong></p>
<p>The current version can be downloaded here: <a href='http://www.bbqiguana.com/wp-content/uploads/2009/11/tweetpost.zip'>tweetpost</a></p>
<p><strong>Installation</strong></p>
<ol>
<li>Unzip the archive file.</li>
<li>Verify the name of the unzipped folder to be &#8220;tweetpost&#8221;</li>
<li>Upload the &#8220;tweetpost&#8221; folder to the root of your Wordpress &#8220;plugins&#8221; folder.</li>
<li>Activate the &#8220;tweetpost&#8221; plugin in your website&#8217;s plugin administration page.</li>
<li>Navigate to the &#8220;Settings&#8221; ~ &#8220;TweetPost&#8221; administration page, to add account info.</li>
</ol>
<p><strong>Frequently Asked Questions</strong></p>
<p>None.</p>
<p><strong>Change Log</strong></p>
<ul>
<li><a href='http://www.bbqiguana.com/wp-content/uploads/2009/11/tweetpost.zip'>0.1</a></p>
<ul>
<li>Initial version</li>
</ul>
</li>
</ul>
<a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Fwww.bbqiguana.com%2F2009%2F11%2Ftweetpost%2F&amp;linkname=TweetPost"><img src="http://www.bbqiguana.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a>]]></content:encoded>
			<wfw:commentRss>http://www.bbqiguana.com/2009/11/tweetpost/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>String formatting for Javascript</title>
		<link>http://www.bbqiguana.com/2009/11/string-formatting-for-javascript/</link>
		<comments>http://www.bbqiguana.com/2009/11/string-formatting-for-javascript/#comments</comments>
		<pubDate>Mon, 02 Nov 2009 23:03:11 +0000</pubDate>
		<dc:creator>Randy Hunt</dc:creator>
				<category><![CDATA[Web]]></category>
		<category><![CDATA[Javascript]]></category>

		<guid isPermaLink="false">http://www.bbqiguana.com/?p=1149</guid>
		<description><![CDATA[Today, I was asked by a C# developer if Javascript has any string formatting functions comparable to the String.Format() method in C#.  I thought about it for a few minutes, going over the possibilities of regular expressions in my head, but finally settled on giving him a simple extension to Javascript's String object.
]]></description>
			<content:encoded><![CDATA[<p>Today, I was asked by a C# developer if Javascript has any string formatting functions comparable to the String.Format() method in C#.</p>
<p>I thought about it for a few minutes, going over the possibilities of regular expressions in my head, but finally settled on giving him a simple extension to Javascript&#8217;s String object.</p>

<div class="wp_syntax"><div class="code"><pre class="javascript" style="font-family:monospace;">String.<span style="color: #660066;">prototype</span>.<span style="color: #660066;">format</span> <span style="color: #339933;">=</span> <span style="color: #003366; font-weight: bold;">function</span> <span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
	<span style="color: #003366; font-weight: bold;">var</span> str <span style="color: #339933;">=</span> <span style="color: #000066; font-weight: bold;">this</span>.<span style="color: #660066;">toString</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
	<span style="color: #000066; font-weight: bold;">if</span> <span style="color: #009900;">&#40;</span>arguments.<span style="color: #660066;">length</span> <span style="color: #339933;">==</span> <span style="color: #CC0000;">0</span><span style="color: #009900;">&#41;</span> <span style="color: #000066; font-weight: bold;">return</span> str<span style="color: #339933;">;</span>
	<span style="color: #000066; font-weight: bold;">for</span> <span style="color: #009900;">&#40;</span><span style="color: #003366; font-weight: bold;">var</span> i<span style="color: #339933;">=</span><span style="color: #CC0000;">0</span><span style="color: #339933;">;</span> i<span style="color: #339933;">&lt;</span>arguments.<span style="color: #660066;">length</span><span style="color: #339933;">;</span> i<span style="color: #339933;">++</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
		str <span style="color: #339933;">=</span> str.<span style="color: #660066;">replace</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'{'</span><span style="color: #339933;">+</span>i<span style="color: #339933;">+</span><span style="color: #3366CC;">'}'</span><span style="color: #339933;">,</span> arguments<span style="color: #009900;">&#91;</span>i<span style="color: #009900;">&#93;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
	<span style="color: #009900;">&#125;</span>
	<span style="color: #000066; font-weight: bold;">return</span> str<span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span></pre></div></div>

<p>This simple function gives your Javascript strings the exact same formatting ability they would have in C#.</p>
<p>Test it out for yourself:</p>

<div class="wp_syntax"><div class="code"><pre class="javascript" style="font-family:monospace;"><span style="color: #003366; font-weight: bold;">var</span> s <span style="color: #339933;">=</span> <span style="color: #3366CC;">'Hello, {0}, I am {1}, and I am {2} to meet you.'</span><span style="color: #339933;">;</span>
<span style="color: #000066;">alert</span> <span style="color: #009900;">&#40;</span>s.<span style="color: #660066;">format</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'foo'</span><span style="color: #339933;">,</span><span style="color: #3366CC;">'bar'</span><span style="color: #339933;">,</span><span style="color: #3366CC;">'baz'</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></div></div>

<a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Fwww.bbqiguana.com%2F2009%2F11%2Fstring-formatting-for-javascript%2F&amp;linkname=String%20formatting%20for%20Javascript"><img src="http://www.bbqiguana.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a>]]></content:encoded>
			<wfw:commentRss>http://www.bbqiguana.com/2009/11/string-formatting-for-javascript/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Keyboard navigation plugin for WordPress</title>
		<link>http://www.bbqiguana.com/2009/10/keyboard-navigation-plugin-for-wordpress/</link>
		<comments>http://www.bbqiguana.com/2009/10/keyboard-navigation-plugin-for-wordpress/#comments</comments>
		<pubDate>Wed, 21 Oct 2009 20:44:47 +0000</pubDate>
		<dc:creator>Randy Hunt</dc:creator>
				<category><![CDATA[Software]]></category>
		<category><![CDATA[plugins]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://www.bbqiguana.com/?p=1136</guid>
		<description><![CDATA[I prefer to use the keyboard for navigating content whenever possible, rather than the more awkward movement of a mouse... and my carpal tunnels thank me for that preference.  I've seen keyboard navigation of posts implemented on FFFFOUND! and thought it was really nice.  So I decided to make a WordPress plugin to allow others that functionality easily.]]></description>
			<content:encoded><![CDATA[<p>I prefer to use the keyboard for navigating content whenever possible, rather than the more awkward movement of a mouse&#8230; and my carpal tunnels thank me for that preference.  I&#8217;ve seen keyboard navigation of posts implemented on <a href="http://ffffound.com/" title="FFFFOUND!">FFFFOUND!</a> and thought it was really nice. So I decided to make a WordPress plugin to allow others that functionality easily.</p>
<p>Scrolling through posts by keyboard may not be useful to everyone, but it makes a lot of sense for anyone with a photoblog.  Users can quickly flip through your content without enlessly flicking a scroll wheel or clicking and dragging until they grab their wrists in pain.</p>
<p><strong>Features:</strong></p>
<ul>
<li>Press the &#8220;J&#8221; key to see the next post, and the &#8220;K&#8221; key takes you to the previous post.</li>
</ul>
<p><strong>Planned features:</strong></p>
<ul>
<li>Add &#8220;next&#8221; and &#8220;previous&#8221; keys for page-by-page navigation.</li>
<li>Add an options page which allows the navigation keys to be customized.</li>
<li>Automatically load the &#8220;next&#8221; or &#8220;previous&#8221; page when you hit the end.</li>
<li>Detect the scrollable element in a site&#8217;s design.  (Current version only scrolls the body.)</li>
</ul>
<p><strong>Download</strong><br />
The current version can be downloaded at <a href="http://wordpress.org/extend/plugins/prev-next-keyboard-navigation/" title="WordPress.org">WordPress.org</a>.</p>
<p><strong>Changelog</strong></p>
<ul>
<li>0.5
<ul>
<li>Added scroll event listener to make the navigation sensitive to your current scroll position</li>
</ul>
</li>
<li>0.4
<ul>
<li>Continues to next/previous page when you navigate past the last (or first) post</li>
</ul>
</li>
<li>0.3
<ul>
<li>Javascript has moved to a separate file and is now added through via wp_enqueue_script</li>
<li>jQuery has been implemented for all DOM functions</li>
<li>ScrollTop is now at the top of the screen, as expected</li>
<li>Tested on Internet Explorer 7, Firefox 3.5, Safari 4, and Chrome 3</li>
</ul>
</li>
<li>0.2
<ul>
<li>Key navigation is no longer added on single posts</li>
<li>Keypress events are ignored inside of TEXTAREA and INPUT elements</li>
</ul>
</li>
<li>0.1
<ul>
<li>Initial version</li>
</ul>
</li>
</ul>
<div class="link-summarizer"><p><strong>Links in this post</strong><ul><li><a href='http://ffffound.com/' title="FFFFOUND!">FFFFOUND!</a></li><li><a href='http://wordpress.org/extend/plugins/prev-next-keyboard-navigation/' title="WordPress.org">WordPress.org</a></li></ul></p></div><a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Fwww.bbqiguana.com%2F2009%2F10%2Fkeyboard-navigation-plugin-for-wordpress%2F&amp;linkname=Keyboard%20navigation%20plugin%20for%20WordPress"><img src="http://www.bbqiguana.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a>]]></content:encoded>
			<wfw:commentRss>http://www.bbqiguana.com/2009/10/keyboard-navigation-plugin-for-wordpress/feed/</wfw:commentRss>
		<slash:comments>14</slash:comments>
		</item>
		<item>
		<title>Barnes and Noble &#8220;Nook&#8221;</title>
		<link>http://www.bbqiguana.com/2009/10/barnes-and-noble-nook/</link>
		<comments>http://www.bbqiguana.com/2009/10/barnes-and-noble-nook/#comments</comments>
		<pubDate>Wed, 21 Oct 2009 17:34:07 +0000</pubDate>
		<dc:creator>Randy Hunt</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[Amazon]]></category>
		<category><![CDATA[eBooks]]></category>
		<category><![CDATA[Kindle]]></category>
		<category><![CDATA[Nook]]></category>

		<guid isPermaLink="false">http://www.bbqiguana.com/?p=1129</guid>
		<description><![CDATA[Yesterday, Barnes and Noble released their new e-book reader called the nook, billing it as "the world's most advanced e-book reader". ]]></description>
			<content:encoded><![CDATA[<p>Yesterday, <a href="http://www.barnesandnoble.com/" title="Barnes and Noble">Barnes and Noble</a> released their new e-book reader called <a href="http://www.barnesandnoble.com/nook/">the nook</a>, billing it as &#8220;the world&#8217;s most advanced e-book reader&#8221;.  I don&#8217;t think &#8220;nook&#8221; is a very catchy name, in spite of rhyming with book&#8230; but that&#8217;s another story.</p>
<p>I&#8217;ve made <a href="/2007/11/ebook-readers-just-another-pointless-geek-toy/" title="Just another pointless geek toy">no secret in the past</a> about my dislike, even distrust, of eBook readers.  Especially <a href="/2007/11/more-on-the-amazon-kindle/" title="More on the Amazon Kindle">the Kindle</a>, which I vow to never own after <a href="http://www.nytimes.com/2009/07/18/technology/companies/18amazon.html">their 1984 debacle</a>.</p>
<p>As I&#8217;ve discussed the subject with friends and colleagues, my opinion has refined quite a bit, and my basic points come down to:
<ol>
<li>The price of a book reflected heavy publishing costs, including equipment, materials, labor, and distribution&#8230; none of which apply to eBooks, making them rather expensive in comparison.</li>
<li>Real books can be shared with friends, given away, or re-sold, but while the format of data makes doing this even easier, the licensing applied to eBooks prohibits doing so.</li>
<li>Real books don&#8217;t stop working when a battery dies.</li>
<li>Dropping a book in a puddle, losing it while on the bus, are misfortunes that only cost a few dollars to correct, a far smaller amount than the cost of even the cheapest ebook reader.</li>
<li>Dropping a book on the floor, or accidentally sitting on it does nothing to reduce your ability to read it later&#8230; and in fact, people often use books to hold things up, to sit on, to stand on, etc.</li>
<li>None of the books I would most desire to replace are available as ebooks.  I enjoy turning the pages of a novel, but I&#8217;d love to be able to carry around dozens or hundreds of reference books without breaking my back.</li>
<li>By that same measure, most students would also love to stop breaking their backs with textbooks, but no ebook reader yet has solved the problems of universal page numbers or of jotting notes in the margins.</li>
<li>And finally, they take away all those expected advantages of real books without giving any significant new adantages in return.</li>
</ol>
<p>While the Nook offers many advantages over the Kindle, including built-in WiFi, direct loading and reading of PDFs, replacable batteries, and synchronized annotations, it only overcomes one of my stated hurdles, and only to a limited extent.  Nook allows you &#8220;loan to a friend&#8221;, but it does not allow you to &#8220;give&#8221; to a friend.  Nor does it allow you to re-sell to anyone.</p>
<p>As far as I can tell, all Barnes and Noble did was add a touch-sensitive LCD screen to the bottom of a Kindle, and add a half-baked book loaning mechanism.  That may be enough to lure in people who want a Kindle but were scared off by the 1984 debacle&#8230; but I don&#8217;t believe it&#8217;s going to be enough to coax any book converts.</p>
<p>So what would it take to convert me &mdash; and lots of others like me &mdash; to ebooks?  Pressure publishers to make searchable ebook versions of reference materials.  </p>
<p>Working 9-to-5 in information technology, I have acquired a large library of reference books on programming languages, APIs, systems, data formats, and so on.  If I could carry all of those (dozens of books) to work with me on a small device, I&#8217;d jump on the opportunity, but none of those materials are available in ebook format.</p>
<p>And when I&#8217;m not at work, my two most time-consuming activities are photography and language study.  Admittedly, it will be a long time before photographic quality is available on ebook readers, but current readers are already capable of displaying language lessons&#8230; and most even support MP3 playback for the accompanying audio materials.  I have an entire bookshelf at home dedicated to beginner, intermediate, and advanced books and CDs for Spanish, Russian, Italian, German, French, Ukrainian, and Portuguese, which I would happily trade for even a mostly disfunctional e-reader if I could, but unfortunately, those materials are simply not available in any other format at present.</p>
<p>For companies with the leverage of Amazon and Barnes and Noble, it should be a no-brainer to lean on those publishers.  Today, all books are written in an electronic format to begin with.  Why should it be so hard to simply run that original through some converter and do a little bit of editing, and produce the single most useful argument for a higher-profit, lower-overhead version of their product?</p>
<div class="link-summarizer"><p><strong>Links in this post</strong><ul><li><a href='http://www.barnesandnoble.com/' title="Barnes and Noble">Barnes and Noble</a></li><li><a href='http://www.barnesandnoble.com/nook/'>http://www.barnesandnoble.com/nook/</a></li><li><a href='/2007/11/ebook-readers-just-another-pointless-geek-toy/' title="Just another pointless geek toy">Just another pointless geek toy</a></li><li><a href='/2007/11/more-on-the-amazon-kindle/' title="More on the Amazon Kindle">More on the Amazon Kindle</a></li><li><a href='http://www.nytimes.com/2009/07/18/technology/companies/18amazon.html'>http://www.nytimes.co...mpanies/18amazon.html</a></li></ul></p></div><a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Fwww.bbqiguana.com%2F2009%2F10%2Fbarnes-and-noble-nook%2F&amp;linkname=Barnes%20and%20Noble%20%26%238220%3BNook%26%238221%3B"><img src="http://www.bbqiguana.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a>]]></content:encoded>
			<wfw:commentRss>http://www.bbqiguana.com/2009/10/barnes-and-noble-nook/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
