<?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>Extraneous</title>
	<atom:link href="http://ext.raneous.net/feed/" rel="self" type="application/rss+xml" />
	<link>http://ext.raneous.net</link>
	<description>Thoughts on programming, design and entrepreneurship</description>
	<lastBuildDate>Tue, 07 Sep 2010 15:01:50 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Props</title>
		<link>http://ext.raneous.net/2010/09/07/props/</link>
		<comments>http://ext.raneous.net/2010/09/07/props/#comments</comments>
		<pubDate>Tue, 07 Sep 2010 14:57:14 +0000</pubDate>
		<dc:creator>Brian</dc:creator>
				<category><![CDATA[Ext JS]]></category>
		<category><![CDATA[Off Topic]]></category>

		<guid isPermaLink="false">http://ext.raneous.net/?p=19</guid>
		<description><![CDATA[Just got awarded a new badge on StackOverflow that apparently did not exist until I earned it.  Cool.]]></description>
			<content:encoded><![CDATA[<p>Just got awarded a new badge on StackOverflow that apparently did not exist until I earned it.  Cool.</p>
<p><a href="http://ext.raneous.net/wp-content/uploads/2010/09/extjs-badge.png"><img class="alignleft size-full wp-image-20" title="Ext JS Badge" src="http://ext.raneous.net/wp-content/uploads/2010/09/extjs-badge.png" alt="" width="571" height="269" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://ext.raneous.net/2010/09/07/props/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>I&#8217;m Back! (A personal note)</title>
		<link>http://ext.raneous.net/2010/07/29/im-back-a-personal-note/</link>
		<comments>http://ext.raneous.net/2010/07/29/im-back-a-personal-note/#comments</comments>
		<pubDate>Thu, 29 Jul 2010 06:09:24 +0000</pubDate>
		<dc:creator>Brian</dc:creator>
				<category><![CDATA[Entrepreneurship]]></category>
		<category><![CDATA[Ext JS]]></category>

		<guid isPermaLink="false">http://ext.raneous.net/?p=16</guid>
		<description><![CDATA[Or&#8230; &#8220;You were gone?&#8221; Cross-posted from my Extensible blog. This is a post about re-engaging with the Ext JS development community with some of the projects I&#8217;m currently working on. Yes, I&#8217;ve been pretty well absent from the Ext JS community lately.  For a while, actually, thanks for asking.  If you noticed my absence, then [...]]]></description>
			<content:encoded><![CDATA[<h2>Or&#8230; &#8220;You were gone?&#8221;</h2>
<p style="border: 1px solid #ddd; padding: 10px 20px; background: #ffe;">Cross-posted from my <a href="http://ext.ensible.com/blog/2010/07/im-back-a-personal-note/">Extensible blog</a>. This is a post about re-engaging with the Ext JS development community with some of the projects I&#8217;m currently working on.</p>
<p>Yes, I&#8217;ve been pretty well absent from the Ext JS community lately.  For a while, actually, thanks for asking.  If you noticed my absence, then you probably already know who I am and maybe even a bit about my background.  If you did not notice (shame on you!) let me give a few details, if you&#8217;re interested.</p>
<h2>A Little Background</h2>
<p>Waaay back in the fall of 2006 I met up with Jack Slocum over the internets.  At the time he was working on his YUI-Ext components (extensions to Yahoo&#8217;s at-the-time nascent JS framework) and I was doing some contract web app development and was looking around for a framework to use (again).  I ran across YUI-Ext and thought it was just awesome stuff, especially coming from some random, lone dude out in cyberspace.  I pulled down the code, sent a few patches back to Jack which he liked and we started talking.</p>
<p>Before you know it, by March of 2007, Ext JS (both the 1.0 framework and the company behind it) was officially born.  In those days it was literally just Jack and me &#8212; it was a crazy amount of work, but fun and a very interesting time.  As you probably know (since you&#8217;re reading this) Ext JS took off and continues to do quite well as one of the premiere web app development frameworks available.  All of that sounds great, right?  Then you&#8217;re probably asking&#8230;</p>
<h2>&#8220;So Why Did You Leave?&#8221;</h2>
<p>Well, in startup companies, as in life, things can get pretty interesting.  Things change (constantly), situations change, people change&#8230; none of which is good or bad necessarily, it just is what it is.  As the company grew, it simply got to a point where I didn&#8217;t fit quite as well into what was going on as I had in the beginning.  That, combined with the fact that my wife and I were going to have a baby in early 2009 (which did not gel very well with my 16-hour work days at the time) meant that something had to change.</p>
<p>I left Ext JS in October of 2008 on amicable terms.  At the time I was pretty burned out (and the baby was due shortly) so I literally switched off my brain for about 6 months and worked on the house, outfitted the nursery, read a bunch of baby books, watched movies&#8230; basically anything that did not involve writing code.</p>
<h2>Fast Forward to July 2010</h2>
<p>My daughter is now a happy (well, mostly) and healthy 17-month-old toddler.  Wow, let me let that sink in for a sec&#8230;</p>
<p>I finally switched my brain back on sometime during last year and have slowly been ramping a few projects up.  Even back when I left Ext JS officially, I always planned to return actively to the community at some point, when the time was right for me.</p>
<p>It just so happened that I had been working on some calendar components already when I heard that the Ext team was also thinking about doing something similar. I got back in touch with the current team (now <a href="http://www.sencha.com/blog/2010/06/14/ext-js-jqtouch-raphael-sencha/">rebranded as Sencha</a>) and ended up working with them to contribute my components as a sample calendar application to the Ext JS 3.3 release (<a href="http://www.sencha.com/blog/2010/07/28/announcing-ext-js-3-3-beta-pivotgrids-calendars-and-more/">currently in beta</a> as of this writing).</p>
<p>I&#8217;m still improving and adding features to those same components and will be releasing a <a href="http://ext-calendar.com">more advanced version</a> independently in the coming months (with Sencha&#8217;s full blessing).  Contributing something back to the framework has been a great way for me to jump back into the Ext JS game with both feet.  My plan for Extensible is to continue pushing out interesting and useful components for Ext, as well as other resources like tutorials and other tools, so keep an eye out here if that sounds interesting to you.</p>
<p>All of this is a really long-winded way for me to get to my real point, which is simply&#8230; It&#8217;s great to be back!  I can&#8217;t wait to start building some cool stuff (again).</p>
<p>&#8211;Brian</p>
]]></content:encoded>
			<wfw:commentRss>http://ext.raneous.net/2010/07/29/im-back-a-personal-note/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>.obj_class_name_* Symbol(s) not found</title>
		<link>http://ext.raneous.net/2010/02/05/obj_class_name_-symbols-not-found/</link>
		<comments>http://ext.raneous.net/2010/02/05/obj_class_name_-symbols-not-found/#comments</comments>
		<pubDate>Fri, 05 Feb 2010 16:26:32 +0000</pubDate>
		<dc:creator>Brian</dc:creator>
				<category><![CDATA[Objective-C]]></category>
		<category><![CDATA[Xcode]]></category>

		<guid isPermaLink="false">http://ext.raneous.net/?p=15</guid>
		<description><![CDATA[Yet another needlessly cryptic Xcode compile error I ran into today.  Here is the full error: &#8220;.objc_class_name_AVAudioPlayer&#8221;, referenced from: literal-pointer@__OBJC@__cls_refs@AVAudioPlayer in PhoneViewController.o ld: symbol(s) not found collect2: ld returned 1 exit status I mean, seriously.  What is that supposed to mean?  Now, since I had just added some new code for playing a sound in [...]]]></description>
			<content:encoded><![CDATA[<p>Yet another needlessly cryptic Xcode compile error I ran into today.  Here is the full error:</p>
<blockquote><p>&#8220;.objc_class_name_AVAudioPlayer&#8221;, referenced from:<br />
literal-pointer@__OBJC@__cls_refs@AVAudioPlayer in PhoneViewController.o<br />
ld: symbol(s) not found<br />
collect2: ld returned 1 exit status</p></blockquote>
<p>I mean, seriously.  What is that supposed to mean?  Now, since I had just added some new code for playing a sound in my iPhone application, it was pretty obvious that was the cause, but the error message gave me no clue as to what the actual problem was.  Here is the line of code that caused the error:</p>
<div class="codecolorer-container objc default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br /></div></td><td><div class="objc codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #400080;">NSURL</span> <span style="color: #002200;">*</span>soundURL <span style="color: #002200;">=</span> <span style="color: #002200;">&#91;</span><span style="color: #400080;">NSURL</span> fileURLWithPath<span style="color: #002200;">:</span><span style="color: #002200;">&#91;</span>mainBundle pathForResource<span style="color: #002200;">:</span><span style="color: #bf1d1a;">@</span><span style="color: #bf1d1a;">&quot;my-sound&quot;</span> ofType<span style="color: #002200;">:</span><span style="color: #bf1d1a;">@</span><span style="color: #bf1d1a;">&quot;caf&quot;</span><span style="color: #002200;">&#93;</span><span style="color: #002200;">&#93;</span>;</div></td></tr></tbody></table></div>
<p>Pretty straightforward, and copied directly from an Apple sample app.  Turns out that even though I was properly importing the AVFoundation framework (required for working with audio/video) in my code, e.g.:</p>
<div class="codecolorer-container objc default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br /></div></td><td><div class="objc codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #6e371a;">#import &lt;AVFoundation/AVFoundation.h&gt;</span></div></td></tr></tbody></table></div>
<p>&#8230;I had not created a <em>project reference</em> to that library.  You do that by right-clicking on the <strong>Frameworks</strong> folder in the <strong>Groups &amp; Files</strong> pane in Xcode and choosing &#8220;Add&#8230; Existing Frameworks&#8230;&#8221; then selecting the framework(s) you need.</p>
<p>Again, very simple and only something that would trip up a complete n00b like me.  I don&#8217;t mind a learning curve, but more-helpful error messages would sure make it quicker to overcome these types of issues.</p>
]]></content:encoded>
			<wfw:commentRss>http://ext.raneous.net/2010/02/05/obj_class_name_-symbols-not-found/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>&#8220;The model used to open the store is incompatible with the one used to create the store&#8221;</title>
		<link>http://ext.raneous.net/2010/01/29/the-model-used-to-open-the-store-is-incompatible-with-the-one-used-to-create-the-store/</link>
		<comments>http://ext.raneous.net/2010/01/29/the-model-used-to-open-the-store-is-incompatible-with-the-one-used-to-create-the-store/#comments</comments>
		<pubDate>Sat, 30 Jan 2010 05:34:35 +0000</pubDate>
		<dc:creator>Brian</dc:creator>
				<category><![CDATA[Xcode]]></category>
		<category><![CDATA[iPhone]]></category>

		<guid isPermaLink="false">http://ext.raneous.net/?p=12</guid>
		<description><![CDATA[This is an Xcode error I was getting that took me a little while to figure out &#8212; my application would simply die when starting up with no other clues as to what was happening. I have been running through some tutorials on setting up CoreData for an iPhone app I&#8217;m working on, and I&#8217;ve [...]]]></description>
			<content:encoded><![CDATA[<p>This is an Xcode error I was getting that took me a little while to figure out &#8212; my application would simply die when starting up with no other clues as to what was happening.  I have been running through some tutorials on setting up CoreData for an iPhone app I&#8217;m working on, and I&#8217;ve been jumping between my laptop and desktop at various points, sharing the same project code between them.  Turns out that you can&#8217;t just change the data model configuration in Xcode and re-run your application (my database had changed between working environments).  You can either <a href="http://developer.apple.com/mac/library/documentation/Cocoa/Conceptual/CoreDataVersioning/Introduction/Introduction.html">version and migrate</a> to your updated data model (which is what you would do in a production app, but gets a bit complicated), or in development, you can simply delete your existing database and have the compiler recreate it.</p>
<p><a href="http://ext.raneous.net/wp-content/uploads/2010/01/hello-world.jpg"><img class="alignright size-full wp-image-13" style="margin: 0 0 15px 20px;" title="Hello World!" src="http://ext.raneous.net/wp-content/uploads/2010/01/hello-world.jpg" alt="" width="78" height="88" /></a>It was easy enough to figure out the problem through a little Googling, but it took me a while to discover how to actually solve it, at least running on the iPhone simulator.  Of course, it makes sense once you figure it out&#8230; all you have to do is delete the app from the simulator, the same exact way you delete apps off of a physical iPhone &#8212; click and hold the icon until it switches into jiggling edit mode, then click the <strong>X</strong> button to delete it.  So simple, yet maybe not so obvious.  You would logically think that this is something Xcode would do for you, or at least give you the option.</p>
<p>After doing that I was able to simply recompile and run my project with no problem.  I like Objective-C so far, but the errors you have to figure out while working through the learning cycle have often been a bit more cryptic than I&#8217;m used to from other environments&#8230;</p>
<p><strong>EDIT</strong>: Well, it seems that another error, <em><strong>Can&#8217;t find model for source store</strong></em>, is also solved by the same method of deleting the app from the simulator.  I have no idea what caused it though&#8230; <img src='http://ext.raneous.net/wp-includes/images/smilies/icon_confused.gif' alt=':?' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://ext.raneous.net/2010/01/29/the-model-used-to-open-the-store-is-incompatible-with-the-one-used-to-create-the-store/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WordPress: Highlight Author Comments</title>
		<link>http://ext.raneous.net/2010/01/27/wordpress-highlight-author-comments/</link>
		<comments>http://ext.raneous.net/2010/01/27/wordpress-highlight-author-comments/#comments</comments>
		<pubDate>Wed, 27 Jan 2010 05:23:43 +0000</pubDate>
		<dc:creator>Brian</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://ext.raneous.net/?p=6</guid>
		<description><![CDATA[Every time I do a fresh WordPress configuration, one of my first tasks is to customize the comments template to enable highlighting any comments by me to have unique formatting. It also seems that each time I need to set this up, I have to Google how to do it again since it involves getting [...]]]></description>
			<content:encoded><![CDATA[<p>Every time I do a fresh WordPress configuration, one of my first tasks is to customize the comments template to enable highlighting any comments by me to have unique formatting.  It also seems that each time I need to set this up, I have to Google how to do it again since it involves getting into the templates and monkeying around with internal PHP code, so this time around I thought I&#8217;d document it for myself <img src='http://ext.raneous.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> .  It would be so nice if WP built this feature into the default template&#8230;</p>
<p>Well, apparently <strong>they have</strong>!  And it&#8217;s actually been available since version 2.7.0., but it does not appear to be very well publicized (and many custom themes, like the one I&#8217;m using, have not been updated to use the new function).  Googling for the phrase &#8220;<a href="http://www.google.com/search?q=wordpress+highlight+author+comments">wordpress highlight author comments</a>&#8221; leads to lots of methods for doing this the old-school ways of modifying template code, or installing special WordPress plugins to achieve comment highlighting.  Luckily, I stumbled across <a href="http://codex.wordpress.org/Template_Tags/comment_class">this page</a> from the WordPress documentation website that describes the <code class="codecolorer php default"><span class="php">comment_class<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span></span></code> function, which automatically outputs a set of CSS class names that provide for just about any comment theming you would need.</p>
<p>If you are using a theme that has not been updated (but you are running WordPress 2.7+), you can modify one line in <code class="codecolorer php default"><span class="php">comments<span style="color: #339933;">.</span>php</span></code> like I did so that it will call the new function.  Find the loop that outputs the comment blocks, and modify the opening <code class="codecolorer html4strict default"><span class="html4strict"><span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">li</span>&gt;</span></span></code> tag code to match this:</p>
<div class="codecolorer-container php default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br />3<br />4<br />5<br /></div></td><td><div class="php codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #b1b100;">foreach</span> <span style="color: #009900;">&#40;</span><span style="color: #000088;">$comments</span> <span style="color: #b1b100;">as</span> <span style="color: #000088;">$comment</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">:</span> <span style="color: #000000; font-weight: bold;">?&gt;</span><br />
&nbsp; &nbsp; &lt;li <span style="color: #000000; font-weight: bold;">&lt;?php</span> comment_class<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span> id=&quot;comment-<span style="color: #000000; font-weight: bold;">&lt;?php</span> comment_ID<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>&quot;&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp;...<br />
&nbsp; &nbsp; &lt;/li&gt;<br />
<span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #b1b100;">endforeach</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span></div></td></tr></tbody></table></div>
<p>The key is the <code class="codecolorer php default"><span class="php">comment_class<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span></span></code> function (which should be defined in the file <code class="codecolorer php default"><span class="php">wp<span style="color: #339933;">-</span>includes<span style="color: #339933;">/</span>comment<span style="color: #339933;">-</span>template<span style="color: #339933;">.</span>php</span></code> if your WordPress version is current). This function is called on each iteration, which will give you an extremely useful list of CSS classes in your HTML output.  Here&#8217;s an example of the output for a comment I wrote:</p>
<div class="codecolorer-container html4strict default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br /></div></td><td><div class="html4strict codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">li</span> <span style="color: #000066;">class</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;comment byuser comment-author-admin bypostauthor even thread-even depth-1&quot;</span> <span style="color: #000066;">id</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;comment-12&quot;</span>&gt;</span></div></td></tr></tbody></table></div>
<p>Wow, that&#8217;s a lot of useful classes!  The class I&#8217;m looking for is <code class="codecolorer css default"><span class="css">bypostauthor</span></code>, which indicates that it&#8217;s a comment I wrote.  You could also choose <code class="codecolorer css default"><span class="css">comment-author-admin</span></code> instead, for a blog by mutliple authors if you wanted any admin of the blog to be highlighted. They&#8217;ve even included classes for thread depth, if you&#8217;ve configured nested comments &#8212; too cool!</p>
<p>While I&#8217;m here, I&#8217;ll also add a separate style for odd and even rows to get alternating row colors.  Doing all of this is simple now, just a few basic CSS rules added to the theme&#8217;s main stylesheet:</p>
<div class="codecolorer-container css default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br />3<br />4<br />5<br />6<br /></div></td><td><div class="css codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #cc00cc;">#comments</span> <span style="color: #6666ff;">.even</span> <span style="color: #00AA00;">&#123;</span><br />
&nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">background</span><span style="color: #00AA00;">:</span><span style="color: #cc00cc;">#f6f6f6</span><span style="color: #00AA00;">;</span><br />
<span style="color: #00AA00;">&#125;</span><br />
<span style="color: #cc00cc;">#comments</span> <span style="color: #6666ff;">.bypostauthor</span> <span style="color: #00AA00;">&#123;</span><br />
&nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">background</span><span style="color: #00AA00;">:</span><span style="color: #cc00cc;">#E0E8EF</span><span style="color: #00AA00;">;</span><br />
<span style="color: #00AA00;">&#125;</span></div></td></tr></tbody></table></div>
<p>Note that the <code class="codecolorer css default"><span class="css">bypostauthor</span></code> rule must come <strong>after</strong> the <code class="codecolorer css default"><span class="css">even</span></code> rule in the CSS file (in my example at least).  Since they both change the same attribute (background color) the second rule will always take precedence when they both apply (i.e., when one of my comments is an even row).  I want any comment by me to always show up with the same color regardless of the odd/even rule.</p>
<p>So there you go &#8212; nice and simple, much better than the old days.  Thanks, WordPress!</p>
]]></content:encoded>
			<wfw:commentRss>http://ext.raneous.net/2010/01/27/wordpress-highlight-author-comments/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Silliest Site Warning I&#8217;ve Seen In a While</title>
		<link>http://ext.raneous.net/2010/01/19/silliest-site-warning-ive-seen-in-a-while/</link>
		<comments>http://ext.raneous.net/2010/01/19/silliest-site-warning-ive-seen-in-a-while/#comments</comments>
		<pubDate>Tue, 19 Jan 2010 08:53:22 +0000</pubDate>
		<dc:creator>Brian</dc:creator>
				<category><![CDATA[User Experience]]></category>
		<category><![CDATA[Web]]></category>

		<guid isPermaLink="false">http://ext.raneous.net/?p=9</guid>
		<description><![CDATA[I recently ran across the website LetStartUp.com.  It&#8217;s in the market of matching up people who own their own startups, people who are interested in partnering or investing in startups, etc.  It&#8217;s actually an idea I had a long time ago to fill an open niche I saw when trying to find similar services.  Back [...]]]></description>
			<content:encoded><![CDATA[<p>I recently ran across the website <a href="http://letsstartup.com" target="_blank">LetStartUp.com</a>.  It&#8217;s in the market of matching up people who own their own startups, people who are interested in partnering or investing in startups, etc.  It&#8217;s actually an idea I had a long time ago to fill an open niche I saw when trying to find similar services.  Back then this url was still available, but I guess someone else had the same idea!</p>
<p>I randomly ran across it again and decided to check it out, but was immediately met with this inane &#8220;error&#8221; message upon loading the home page:</p>
<p><a href="http://ext.raneous.net/wp-content/uploads/2010/01/letsstartup.jpg"><img class="aligncenter size-full wp-image-10" title="LetsStartUp Silliness" src="http://ext.raneous.net/wp-content/uploads/2010/01/letsstartup.jpg" alt="" width="455" height="189" /></a>Normally these types of messages are more geared toward viewers with low resolutions who may not be able to see the full width of a site.  Still terrible from a UI perspective to hammer your user with an alert, but at least (arguably) reasonable from a logical point of view if your layout will be visually truncated.  But warning me that my <em>resolution</em> (as opposed to my browser window) is too <em>big</em>?  That&#8217;s a new one to me.  Sure enough, here is the code from their script:</p>
<div class="codecolorer-container javascript default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br />3<br />4<br />5<br /></div></td><td><div class="javascript codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #000066; font-weight: bold;">if</span> <span style="color: #009900;">&#40;</span><span style="color: #009900;">&#40;</span>screen.<span style="color: #660066;">width</span> <span style="color: #339933;">&gt;</span> <span style="color: #CC0000;">1024</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">&amp;&amp;</span> <span style="color: #009900;">&#40;</span>screen.<span style="color: #660066;">height</span> <span style="color: #339933;">&gt;</span> <span style="color: #CC0000;">768</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><br />
<span style="color: #009900;">&#123;</span><br />
&nbsp; &nbsp; <span style="color: #000066;">alert</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'Your resolution is '</span><span style="color: #339933;">+</span>screen.<span style="color: #660066;">width</span><span style="color: #339933;">+</span><span style="color: #3366CC;">'x'</span><span style="color: #339933;">+</span>screen.<span style="color: #660066;">height</span><span style="color: #339933;">+</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #3366CC;">'. LetsStartUp.com is best viewed in 1024x768.'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
<span style="color: #009900;">&#125;</span></div></td></tr></tbody></table></div>
<p><strong>WTF</strong>?  So the recommendation is not that I resize my browser (which would be bad enough, although it is commonly done), but I&#8217;m expected to go into my computer&#8217;s settings and <em>reduce the screen resolution for my entire operating system</em> so that I can &#8220;best view&#8221; their (kinda crappy-looking, by the way) site?  And that is crucial enough to stop me dead in my tracks on the home page of the site during my very first experience as a user of their site?</p>
<p>Note to the site author: I&#8217;m doing OK with my 2560&#215;1600 resolution, and am able to view your site just fine, in all its glory.  In fact, I am able to view more than <strong>one</strong> site at a time, one of the perks of having a resolution larger than 1024&#215;768.  You should try it sometime <img src='http://ext.raneous.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://ext.raneous.net/2010/01/19/silliest-site-warning-ive-seen-in-a-while/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Firefox &amp; Double-Hyphens in Comments</title>
		<link>http://ext.raneous.net/2010/01/14/firefox-double-hyphens-in-comments/</link>
		<comments>http://ext.raneous.net/2010/01/14/firefox-double-hyphens-in-comments/#comments</comments>
		<pubDate>Thu, 14 Jan 2010 19:53:47 +0000</pubDate>
		<dc:creator>Brian</dc:creator>
				<category><![CDATA[Browsers]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[Firefox]]></category>
		<category><![CDATA[HTML]]></category>

		<guid isPermaLink="false">http://ext.raneous.net/?p=3</guid>
		<description><![CDATA[So in kicking off this blog, before I could even post something about stuff I&#8217;m working on, I ran into an interesting problem just setting up the blog itself that I&#8217;ll share. I just freshly installed WordPress 2.9.1 and found a nice clean theme called Clean Home (version 1.2 at the time of install).  I&#8217;ll [...]]]></description>
			<content:encoded><![CDATA[<p>So in kicking off this blog, before I could even post something about stuff I&#8217;m working on, I ran into an interesting problem just setting up the blog itself that I&#8217;ll share.</p>
<p>I just freshly installed WordPress 2.9.1 and found a nice clean theme called <a href="http://midmodesign.com/news/general/our-special-wordpress-theme/">Clean Home</a> (version 1.2 at the time of install).  I&#8217;ll probably change it up later, but for now, it&#8217;s a nice simple clean slate to start off with.  After getting the basic site set up I decided to compare across my typical suite of testing browsers that I always use to verify web pages I&#8217;m working on (Safari, FF and Chrome on Mac, and FF, IE, Chrome and Opera on Windows).  I was primarily comparing the font rendering to see if I wanted to tweak anything, when I noticed that my non-blog pages (like the <a href="/About/">About</a> page) had a weird rendering issue only in Firefox (both Mac and Win).  Basically, there was a post slug (title, date, author, category, etc.) that was not supposed to be there since they only show up within the blog section of the site.  Also, there was a <code class="codecolorer html4strict default"><span class="html4strict">--&gt;</span></code> displayed at the end of the slug, the telltale sign that an HTML comment tag did not get closed properly.  But this code is generated from a template on the server, so it&#8217;s exactly the same in all browsers (and works fine in everything BUT Firefox).  So what gives?</p>
<p>I examined the page source (found in page.php) and saw this right after the start of the <code class="codecolorer html4strict default"><span class="html4strict"><span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">div</span> <span style="color: #000066;">class</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;post&quot;</span>&gt;</span></span></code> block:</p>
<div class="codecolorer-container html4strict default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="html4strict codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #009900;">&lt;--uncomment <span style="color: #000066;">for</span> header tags-- &lt;<span style="color: #000000; font-weight: bold;">h1</span>&gt;</span> ...[etc]</div></div>
<p>A big block of HTML &#8212; the page title and post slug section &#8212; are commented out (but still available to tinkerers like me, which I appreciate).  I have never run across the case where having a double-hyphen inside a comment would cause a problem, but being the genius hacker that I am, my first instinct was to remove that and refresh the page &#8212; voilà, no more post slug in FF.  The block of HTML is now properly commented out.</p>
<p>Out of curiosity I Googled this just to check my sanity, and sure enough, it&#8217;s a well-known &#8220;bug that&#8217;s not a bug&#8221; with versions of Firefox going back many years.  Basically, the HTML spec (up until version 5) allows whitespace between the <code class="codecolorer html4strict default"><span class="html4strict">--</span></code> and the <code class="codecolorer html4strict default"><span class="html4strict">&gt;</span></code> of a closing comment tag (although interestingly, not in an opening comment tag), and Firefox is apparently the <em><strong>only</strong></em> browser that actually enforces that rule.  I found a <a href="http://marcorogers.com/blog/08-02-2009/strange-firefox-rendering-bug">great write-up</a> on this issue from a blogger who tried unsuccessfully to report this &#8220;bug&#8221; to Mozilla &#8212; if you are a web developer you&#8217;ll definitely appreciate it.</p>
<p>Anyway, problem solved and blog officially kicked off, all in one post!</p>
]]></content:encoded>
			<wfw:commentRss>http://ext.raneous.net/2010/01/14/firefox-double-hyphens-in-comments/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
