<?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>Mike Industries &#187; Code</title>
	<atom:link href="http://www.mikeindustries.com/blog/archive/category/original/code/feed" rel="self" type="application/rss+xml" />
	<link>http://www.mikeindustries.com/blog</link>
	<description>A running commentary of occasionally interesting things.</description>
	<lastBuildDate>Fri, 24 May 2013 16:15:03 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.5.1</generator>
		<item>
		<title>Make Your Twitter Stream More Interesting with the Stellar Tweetbot</title>
		<link>http://www.mikeindustries.com/blog/archive/2012/07/make-your-twitter-stream-more-interesting-with-the-stellar-tweetbot</link>
		<comments>http://www.mikeindustries.com/blog/archive/2012/07/make-your-twitter-stream-more-interesting-with-the-stellar-tweetbot#comments</comments>
		<pubDate>Mon, 16 Jul 2012 06:33:53 +0000</pubDate>
		<dc:creator>Mike D.</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://www.mikeindustries.com/blog/?p=14345</guid>
		<description><![CDATA[If you&#8217;re like me, you&#8217;re both particular about who you follow on Twitter and perpetually in search of more entertainment in your feed. The problem with following everyone who belches out a random good tweet is that you then have ten more ho-dum tweets a day from them in your feed. The disincentive to follow [...]<div><small><a href="http://www.mikeindustries.com/blog/archive/2012/07/make-your-twitter-stream-more-interesting-with-the-stellar-tweetbot">Comments</a></small></div>]]></description>
				<content:encoded><![CDATA[<p>If you&#8217;re like me, you&#8217;re both particular about who you follow on Twitter and perpetually in search of more entertainment in your feed. The problem with following everyone who <a href="https://twitter.com/TacoBell/status/193433530477461504" target="_blank">belches out a random good tweet</a> is that you then have ten more ho-dum tweets a day from them in your feed. The disincentive to follow people on Twitter has never been higher than it is now, despite the fact that the service hosts more great content than it ever has.</p>
<p>I have a few ideas for fixing this problem, but one of them came to me a few months ago as I was using <a href="http://kottke.org" target="_blank">Jason Kottke&#8217;s</a> excellent <a href="http://stellar.io" target="_blank">Stellar.io</a> service (pronounced &#8220;Ste-LAH-ree-oh&#8221; by everyone except Jason). Stellar.io is a fantastic web-based service that lets you follow interesting people and receive a feed of all the tweets, Flickr images, YouTube videos, and other content they have faved on other services.  In Twitter terms, imagine a feed that doesn&#8217;t contain your friends&#8217; tweets, but rather the tweets that your friends have faved. In other words, one degree of separation away from your current Twitter stream.</p>
<p>Stellar is a great way to assemble this sort of feed, but if you&#8217;re like me, you&#8217;d rather see its output merged into your existing Twitter stream. To put it differently, when I open up my Twitter client, I want to see tweets from the few people I follow (as I do currently) <strong>and</strong> tweets from people I <strong>don&#8217;t</strong> follow which have been marked as favorites from people I <strong>do</strong> follow. Have I lost you yet?</p>
<p>To create this experience, I wrote a PHP script I call <a href="http://mikeindustries.github.com/Stellar-Tweetbot/" target="_blank">Stellar Tweetbot</a> which runs every 5 minutes via a cronjob that checks my Stellar account for new faved tweets, and then retweets any new tweets to my zombie Twitter account <a href="http://twitter.com/mike_stellar" target="_blank">@mike_stellar</a>. Then, I follow @mike_stellar from my normal Twitter account <a href="http://twitter.com/mikeindustries" target="_blank">@mikeindustries</a> and I magically have a more interesting Twitter stream.</p>
<p>To see what sorts of things now appear in my Twitter feed, without having to follow any new people, peep the image below (or just follow <a href="http://twitter.com/mike_stellar" target="_blank">@mike_stellar</a>):</p>
<p><img src="/blog/images/inline/stellar.gif" alt="" title="" width="450" height="298" class="border" /></p>
<p>The first tweet is <a href="http://twitter.com/robdelaney" target="_blank">Rob Delaney</a> making sure a can of Pepsi gets home safe. I don&#8217;t follow Rob so I would have normally missed this tweet. However, since I follow some people who faved it, I now see it in my Twitter stream.</p>
<p>The second tweet is to a really interesting article tweeted by <a href="https://twitter.com/robpegoraro/" target="_blank">Rob Pegoraro</a>. I don&#8217;t follow Rob, but I do follow the person who faved it: <a href="https://twitter.com/tcarmody" target="_blank">Tim Carmody</a> (not to be confused with <a href="https://twitter.com/tomcarmony/" target="_blank">Tom Carmony</a>, who I also follow, but let&#8217;s not even get into that).</p>
<p>The third tweet is by the funniest person on Twitter, <a href="https://twitter.com/kenjennings/" target="_blank">Ken Jennings</a>. Since I already follow him, I won&#8217;t see this as a dupe in my feed. Magic.</p>
<p>So that&#8217;s it. The <a href="http://mikeindustries.github.com/Stellar-Tweetbot/" target="_blank">Stellar Tweetbot</a>. I&#8217;ve opened sourced it on GitHub, and it&#8217;s the ugliest designer-written PHP code you&#8217;ve likely ever seen, but it works, yo! If you&#8217;re one of those propeller heads who writes much better PHP, feel free to rewrite it, and merge it into the GitHub Branch Repository Chamber Fork Commitment Thingamajigger.</p>
<p>Otherwise, feel free to do what I do and just use it. It will make your Twitter feed more interesting.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.mikeindustries.com/blog/archive/2012/07/make-your-twitter-stream-more-interesting-with-the-stellar-tweetbot/feed</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>How to Permanently Prevent OS X 10.7 Lion from ever Re-Opening Apps After a Restart</title>
		<link>http://www.mikeindustries.com/blog/archive/2012/03/how-to-permanently-prevent-os-x-10.7-lion-from-ever-re-opening-apps-after-a-restart</link>
		<comments>http://www.mikeindustries.com/blog/archive/2012/03/how-to-permanently-prevent-os-x-10.7-lion-from-ever-re-opening-apps-after-a-restart#comments</comments>
		<pubDate>Thu, 08 Mar 2012 18:38:00 +0000</pubDate>
		<dc:creator>Mike D.</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[Miscellany]]></category>
		<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://www.mikeindustries.com/blog/?p=12849</guid>
		<description><![CDATA[While the latest version of Mac OS X, Lion, is generally wonderful, there is one &#8220;feature&#8221; that annoys thousands of people to no end: whenever your machine is restarted, every single application you happen to have open at the time is also relaunched and restored to the state it was in before you restarted. If [...]<div><small><a href="http://www.mikeindustries.com/blog/archive/2012/03/how-to-permanently-prevent-os-x-10.7-lion-from-ever-re-opening-apps-after-a-restart">Comments</a></small></div>]]></description>
				<content:encoded><![CDATA[<p><img src="/blog/images/inline/restart.jpg" alt="" title="" width="450" height="243" class="border" /></p>
<p>While the latest version of Mac OS X, Lion, is generally wonderful, there is one &#8220;feature&#8221; that annoys thousands of people to no end: whenever your machine is restarted, every single application you happen to have open at the time is also relaunched and restored to the state it was in before you restarted. If you restart manually via the &#8220;Restart&#8230;&#8221; menu item, there is a checkbox you can uncheck which is supposed to shut off this behavior but it doesn&#8217;t always work. Additionally, if your computer restarts for any other reason &#8212; e.g. a power failure or a crash &#8212; you don&#8217;t even have the option of <em>trying</em> to prevent this behavior.</p>
<p>The downside of the behavior is obvious: it increases the time it takes to start up your machine into a steady state and it re-opens apps you may not be using anymore.</p>
<p>If you want to prevent this behavior entirely, there is now a foolproof, fully reversible way to do it. Simply:</p>
<ol>
<li>Quit all of your apps.</li>
<li>Navigate to here: <code>~/Library/Preferences/ByHost/com.apple.loginwindow.*.plist</code> (whereby * is a bunch of characters)</li>
<li>Click the file, do a <code>File > Get Info</code> (or command-I if you&#8217;re a pro), and lock it using the <code>Locked</code> checkbox.</li>
</ol>
<p>Voila. You&#8217;ve now prevented Lion from saving what apps and windows are open. To reverse this setting, simply unlock the file!</p>
<p>Another helpful hint as well: Lion, by default, hides your <code>~/Library/</code> folder. To make it visible again without showing all of your other invisible files, simply open up Terminal and type:</p>
<p><code>chflags nohidden ~/Library/</code></p>
]]></content:encoded>
			<wfw:commentRss>http://www.mikeindustries.com/blog/archive/2012/03/how-to-permanently-prevent-os-x-10.7-lion-from-ever-re-opening-apps-after-a-restart/feed</wfw:commentRss>
		<slash:comments>20</slash:comments>
		</item>
		<item>
		<title>Never Be Another</title>
		<link>http://www.mikeindustries.com/blog/archive/2011/10/never-be-another</link>
		<comments>http://www.mikeindustries.com/blog/archive/2011/10/never-be-another#comments</comments>
		<pubDate>Fri, 07 Oct 2011 03:22:21 +0000</pubDate>
		<dc:creator>Mike D.</dc:creator>
				<category><![CDATA[Business]]></category>
		<category><![CDATA[Code]]></category>
		<category><![CDATA[Design]]></category>
		<category><![CDATA[Miscellany]]></category>
		<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://www.mikeindustries.com/blog/?p=10678</guid>
		<description><![CDATA[When someone dies, the phrase &#8220;there will never be another&#8221; gets used quite frequently. It&#8217;s one of those phrases that is both always true and yet almost always not true. It&#8217;s true that, yes, no other person will ever be exactly like any other person, but it&#8217;s usually false in the compliment it&#8217;s actually trying [...]<div><small><a href="http://www.mikeindustries.com/blog/archive/2011/10/never-be-another">Comments</a></small></div>]]></description>
				<content:encoded><![CDATA[<p><img src="/blog/images/inline/stevejobs.jpg" alt="" width="450" height="410" class="" /></p>
<p>When someone dies, the phrase &#8220;there will never be another&#8221; gets used quite frequently. It&#8217;s one of those phrases that is both always true and yet almost always not true. It&#8217;s true that, yes, no other person will ever be exactly like any other person, but it&#8217;s usually false in the compliment it&#8217;s actually trying to pay.</p>
<p>In almost every case, when a public figure dies, there are plenty of his or her contemporaries ready to fill the void. A great guitarist died? Well we at least have hundreds of other world class guitarists to listen to. A basketball star died? Luckily we have plenty of those too.</p>
<p>The truth of the matter is that even best of the best in most fields, at any given time, is only a little better than the rest.</p>
<p>Counterexamples to this seem to happen only a handful of times per century. The number of times we lose someone whose impact was so dramatic and whose substitute seems so unfathomable is vanishingly small.</p>
<p>We lost that person yesterday in Steve Jobs, and we are only beginning to feel the impact of his absence.</p>
<p>What gets lost in all of these Steve Jobs tributes you read online is just how dark things were for personal technology only ten years ago. People forget that until the iPhone came out, &#8220;The Apple Way&#8221; was still largely on the sidelines. Windows PCs were unavoidable. Cell phones were unapproachable. There were even a few years around the turn of the century when many websites didn&#8217;t even work on Macs because developers only coded to PC Internet Explorer &#8220;standards&#8221; (airiest of air quotes there, of course).</p>
<p>It was just dark as hell out there; especially for those of us who wanted so badly for the story to end differently. The lesson that idealism and attention to detail could lose out to &#8220;good enough and a little cheaper&#8221; was not something we wanted to learn.</p>
<p>The long, but impeccably planned, turnaround that Steve Jobs has led over the last 14 years is impressive for thousands of reasons. None is more astounding to me than this one though: he was quite literally the one person on the face of the earth capable of pulling it off.</p>
<p>One. Out of 6,800,000,000 people.</p>
<p>He wasn&#8217;t just the best choice. He was the only choice. And that&#8217;s why we&#8217;ll miss him so much.</p>
<p>When people die after suffering from prolonged illness or pain, my thoughts are almost always positive. Death is not something I fear, and when it&#8217;s ultimately the relief method for someone&#8217;s pain and suffering, I feel happy for their newfound peace. I felt this way when Kurt Cobain died, for instance.</p>
<p>With Steve Jobs, however, I don&#8217;t get the feeling death was any sort of relief at all. Yes he was obviously at peace with the concept, as he expressed beautifully in his <a href="http://www.youtube.com/watch?v=D1R-jKKp3NA" target="_blank">Stanford commencement speech</a>, but SJ put the pedal to the metal until his final breath.</p>
<p>What would you do if you knew you had a short time to live? Most of us would quit our jobs. Many of us would travel. Some of us would relax and keep our stress levels down. What did Steve do? He hit the gas. He released the iPhone, unveiled the iPad, and led Apple to its current and still unfathomable status as the most valuable company in the world.</p>
<p>Just as incredibly, he was able to lift his body out of Apple without also removing his soul; on a day when many once feared AAPL stock would dive precipitously, it&#8217;s comfortably unchanged from the day before.</p>
<p>He had his flaws and he may not be the greatest person to ever live, but no one has ever left this world more on top than Steve Jobs has just left it.</p>
<p>Thanks for everything.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.mikeindustries.com/blog/archive/2011/10/never-be-another/feed</wfw:commentRss>
		<slash:comments>14</slash:comments>
		</item>
		<item>
		<title>Cognition Comments Considered Harmful</title>
		<link>http://www.mikeindustries.com/blog/archive/2010/10/cognition-comments-considered-harmful</link>
		<comments>http://www.mikeindustries.com/blog/archive/2010/10/cognition-comments-considered-harmful#comments</comments>
		<pubDate>Mon, 11 Oct 2010 06:42:33 +0000</pubDate>
		<dc:creator>Mike D.</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[Design]]></category>
		<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://www.mikeindustries.com/blog/?p=5554</guid>
		<description><![CDATA[I was looking forward to writing a post this weekend about Happy Cog&#8217;s new commenting system on their otherwise excellent new blog, but the sage minds at Full Stop interactive beat me to it. You should read Nate&#8217;s whole post. It&#8217;s spot-on. It&#8217;s interesting to me that Happy Cog is trying to eliminate the negative [...]<div><small><a href="http://www.mikeindustries.com/blog/archive/2010/10/cognition-comments-considered-harmful">Comments</a></small></div>]]></description>
				<content:encoded><![CDATA[<p>I was looking forward to writing a post this weekend about Happy Cog&#8217;s <a href="http://cognition.happycog.com/article/is-this-thing-on" target="_blank">new commenting system</a> on their otherwise excellent new blog, but the sage minds at Full Stop interactive beat me to it. <a href="http://www.fullstopinteractive.com/blog/2010/10/in-defense-of-comments/" target="_blank">You should read Nate&#8217;s whole post</a>. It&#8217;s spot-on.</p>
<p>It&#8217;s interesting to me that Happy Cog is trying to eliminate the negative things associated with commenting by encouraging brevity, while for several years, the secret sauce I&#8217;ve cooked up to prevent comment spam has involved just the opposite: measuring the amount of time you spend typing and only entering your comment into the database if you spend more than a few seconds on it. It works like a charm and eliminates 99.9% of comment spam before it even gets in the front door.</p>
<p>In my opinion, what Happy Cog has created is useful. Let&#8217;s just not confuse it with a commenting system for a blog.</p>
<p>It doesn&#8217;t encourage community, it doesn&#8217;t encourage conversation, and for the most part, it&#8217;s not accretive in any way. What it does do is create a lot of linkbacks to your blog on Twitter. Is this valuable? Sure. But is it as valuable as free-flowing, insightful, conversations which elevate ordinary posts into conversation pieces?</p>
<p>Not for me it&#8217;s not.</p>
<p>For all the great things about Twitter &#8212; and there are many &#8212; one of the worst things about it is that it&#8217;s making us lazy ambassadors of our thoughts. Why spend an hour on a blog post when we can tweet out our main thesis in ten seconds? Why allow conversations on our blogs when we can just hear the first 140 characters of our readers&#8217; opinions?</p>
<p>We know short attention spans are bad for our intellectual development. We should be creating solutions that fight against this threat&#8230; not feed into it.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.mikeindustries.com/blog/archive/2010/10/cognition-comments-considered-harmful/feed</wfw:commentRss>
		<slash:comments>16</slash:comments>
		</item>
		<item>
		<title>Another Nail in the Pageview Coffin</title>
		<link>http://www.mikeindustries.com/blog/archive/2010/06/another-nail-in-the-pageview-coffin</link>
		<comments>http://www.mikeindustries.com/blog/archive/2010/06/another-nail-in-the-pageview-coffin#comments</comments>
		<pubDate>Mon, 28 Jun 2010 23:08:34 +0000</pubDate>
		<dc:creator>Mike D.</dc:creator>
				<category><![CDATA[Advertising]]></category>
		<category><![CDATA[Business]]></category>
		<category><![CDATA[Code]]></category>
		<category><![CDATA[Design]]></category>
		<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://www.mikeindustries.com/blog/?p=4887</guid>
		<description><![CDATA[This weekend, msnbc.com launched a sweeping redesign of the most important part of their site: the story page. The result is something unlike anything any other major news site is offering and is a bold step in a direction no competitor has gone down (yet): the elimination of pageviews as a primary metric. For many [...]<div><small><a href="http://www.mikeindustries.com/blog/archive/2010/06/another-nail-in-the-pageview-coffin">Comments</a></small></div>]]></description>
				<content:encoded><![CDATA[<p>This weekend, msnbc.com launched a <a href="http://www.msnbc.msn.com/id/37643077" target="_blank">sweeping redesign</a> of the most important part of their site: the story page.  The result is something unlike anything any other major news site is offering and is a bold step in a direction no competitor has gone down (yet): the elimination of pageviews as a primary metric.</p>
<p><img src="/blog/images/inline/newmsnbc.jpg" alt="" width="450" height="440" /></p>
<p>For many years, I&#8217;ve <a href="http://www.mikeindustries.com/blog/archive/2007/04/pagination-is-evil">railed against tricks like pagination</a> and &#8220;jump pages&#8221; as a means to goose pageviews. Honest people in the industry will tell you these are simply acceptable tricks to bump revenue a bit, while disingenuous or uninformed people will use &#8220;readability&#8221; as an excuse to make users click ten times to read ten parts of a single story.  For this latest redesign, msnbc.com has decided to de-emphasize page views entirely and present stories in a manner that maximizes <em>enjoyment</em> and as a result, <em>total time on site</em>.</p>
<p>What do I mean by this?</p>
<p>Think of how a typical user session works on most news sites these days.  A user loads an article (1 pageview), pops open a slideshow (1 pageview), flips through 30 slides of an HTML-based slideshow (30 pageviews).  That&#8217;s 32 pageviews and a lot of extraneous downloading and page refreshing.</p>
<p>On new msnbc.com story pages, the above sequence would register one pageview: the initial one.  The rest of the interactions occur within the page itself.  Can msnbc.com serve ad impressions against in-page interactions? Sure, and that&#8217;s key to the strategy, but as a user, your experience is much smoother, and as an advertiser, <em>the impressions you purchase are almost guaranteed to come across human eyes</em> since your ads are only loaded upon user interaction.</p>
<p>This is the first time (to my knowledge) this sort of model has been deployed on a major media site with over a billion pageviews a month, and it has the potential to change the entire industry if it works.  It&#8217;s also a big risk, as most advertisers are not used to thinking of inventory this way.  We like big risks with big payoffs though and we feel that when you take care of the user and the advertiser at the same time, you&#8217;re probably onto something.</p>
<p>Ad model aside, there are also tons of other interesting things about the new msnbc.com story pages:</p>
<ul>
<li>Every form of storytelling (text, video, audio, slideshows, discussion, voting, and more) is now available right within each story page itself.</li>
<li>The top navigation (nicknamed &#8220;the upscroll&#8221;) contains all basic elements when a page loads but if you scroll the page upward past its initial position, you get more interesting stories to read. It&#8217;s a great way of presenting a content-packed header without sacrificing screen real estate.</li>
<li>A social bar at the bottom of the screen, powered by Newsvine, which lets you easier share content via Newsvine, Facebook, Twitter, and other services.</li>
<li>An &#8220;annotated scrollbar&#8221; down the right side of the screen capable of teleporting you to any section of the page you desire.</li>
<li>Bigger, easier to read text. Goodbye Arial, once and for all!</li>
</ul>
<p>To be clear, the msnbc.com team is very proud of what&#8217;s been launched so far, but is under no illusions that things are perfect yet.  Everyone involved in creating these new story pages is monitoring reaction closely and ready to modify anything that needs improvement.  Since we have plenty of thoughtful design and development voices here on Mike Industries, I&#8217;d love to open this thread up for some reactions.  What is working for you, and what, if anything, would you change?  The team is listening.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.mikeindustries.com/blog/archive/2010/06/another-nail-in-the-pageview-coffin/feed</wfw:commentRss>
		<slash:comments>33</slash:comments>
		</item>
		<item>
		<title>Better E-Commerce Design using the Luhn Algorithm?</title>
		<link>http://www.mikeindustries.com/blog/archive/2010/02/better-e-commerice-design-using-the-luhn-algorithm</link>
		<comments>http://www.mikeindustries.com/blog/archive/2010/02/better-e-commerice-design-using-the-luhn-algorithm#comments</comments>
		<pubDate>Wed, 24 Feb 2010 06:32:00 +0000</pubDate>
		<dc:creator>Mike D.</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[Design]]></category>

		<guid isPermaLink="false">http://www.mikeindustries.com/blog/?p=4148</guid>
		<description><![CDATA[I finally put in my pre-order for SimpleScott&#8217;s Designing Obama book a few minutes ago. I wanted to buy it earlier but never overcame the inertia until I got a chance to have beers with Scott and then listen to him speak at the excellent Webstock conference in New Zealand last week (by the way, [...]<div><small><a href="http://www.mikeindustries.com/blog/archive/2010/02/better-e-commerice-design-using-the-luhn-algorithm">Comments</a></small></div>]]></description>
				<content:encoded><![CDATA[<p><img src="/blog/images/inline/designingobama.jpg" alt="" width="171" height="250" class="rightinline" />I finally put in my pre-order for <a href="http://www.designing-obama.com/products/designing-obama" target="_blank">SimpleScott&#8217;s Designing Obama book</a> a few minutes ago. I wanted to buy it earlier but never overcame the inertia until I got a chance to have beers with <a href="http://simplescott.com" target="_blank">Scott</a> and then listen to him speak at the excellent <a href="http://www.webstock.org.nz/" target="_blank">Webstock conference</a> in New Zealand last week (by the way, thanks to <a href="http://www.subtraction.com" target="_blank">Khoi Vinh</a> for asking me to step in for him as a <a href="http://www.flickr.com/photos/webstock06/4380748159/in/set-72157623366859689/" target="_blank">speaker</a>). Can I also just say that Webstock is the best designed conference I&#8217;ve ever seen?</p>
<p>Scott&#8217;s a great designer, obviously, but hearing about the care that&#8217;s going into just the <em>production</em> of the book is going to make this piece of art a must-have. I may even order two and keep one suspended in formaldehyde.</p>
<p>While ordering the book, one part of the process stuck out to me as something I&#8217;d never seen before, even having ordered probably a thousand items online in the past: when I typed in my credit card number, a green checkmark showed up immediately after the last digit was entered. My immediate suspicion was that they were counting digits and gave me a check to indicate I had typed in enough of them, but again, having never seen that before, my interest was piqued. I tried deleting the last digit and replacing it with a 1, then a 2, then a 3, and so on.  Only when I typed the actual digit from the credit card did I get the green checkmark again.</p>
<p>Further investigation revealed that no server calls were being made, which means this was some sort client-side algorithm that verified credit card patterns. <em>Iiiiiiiiiinteresting!</em>. Even more investigation revealed that this was the work of something I&#8217;d never heard of: <a href="http://en.wikipedia.org/wiki/Luhn_algorithm" target="_blank">The Luhn Algorithm</a>.</p>
<p>The Luhn Algorithm is a formula which can be run in javascript, PHP, and most other programming languages that uses some mathematical rules to determine if a credit card number is likely to be valid. Apparently, credit card companies issue numbers according to this algorithm, and if a number doesn&#8217;t fit it, it&#8217;s definitely not valid.  Before you say to yourself &#8220;wow, that&#8217;s some neat, new technology I can use!&#8221;, note that <em>the Luhn Algorithm has been around since 1954!</em></p>
<p>Although using this algorithm in your own projects is clearly not a necessity, I see a couple of potential advantages and a couple of potential disadvantages:</p>
<h3>Advantages</h3>
<ul>
<li>Instant UI feedback is a great tool to help users correct errors</li>
<li>The checkmark is a nice bit of instant emotional validation to make sure users complete the process</li>
</ul>
<h3>Disadvantages</h3>
<ul>
<li>Is there a guarantee that every card will always follow this pattern? What happens if one or many stop following it?</li>
<li>Since it&#8217;s an unusual experience, does it add a bit of suspicion in some users? Would a less technical user assume their number was being broadcast across the internet more times than necessary?</li>
</ul>
<p>I&#8217;m curious to see if this catches on as a trend.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.mikeindustries.com/blog/archive/2010/02/better-e-commerice-design-using-the-luhn-algorithm/feed</wfw:commentRss>
		<slash:comments>13</slash:comments>
		</item>
		<item>
		<title>Idea: &#8220;Record This&#8221; Bookmarklet</title>
		<link>http://www.mikeindustries.com/blog/archive/2009/12/idea-record-this-bookmarklet</link>
		<comments>http://www.mikeindustries.com/blog/archive/2009/12/idea-record-this-bookmarklet#comments</comments>
		<pubDate>Sat, 26 Dec 2009 19:23:28 +0000</pubDate>
		<dc:creator>Mike D.</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://www.mikeindustries.com/blog/?p=3912</guid>
		<description><![CDATA[Lately I&#8217;ve been intrigued by situations in which the amount of effort required to complete a task is not overwhelming but it is enough to prevent the task from getting done. The latest example, from a couple of weeks ago, was wine journaling. Sure it only takes a few minutes to pull out a laptop, [...]<div><small><a href="http://www.mikeindustries.com/blog/archive/2009/12/idea-record-this-bookmarklet">Comments</a></small></div>]]></description>
				<content:encoded><![CDATA[<p>Lately I&#8217;ve been intrigued by situations in which the amount of effort required to complete a task is not overwhelming but it is enough to prevent the task from getting done. The latest example, from a couple of weeks ago, was <a href="http://www.mikeindustries.com/blog/archive/2009/12/iphone-app-idea-winesnap" target="_blank">wine journaling</a>. Sure it only takes a few minutes to pull out a laptop, log into your wine-dot-whatever account and structure a proper review, but unless a few minutes becomes a few seconds, I&#8217;m out&#8230; and so are thousands of other people.</p>
<p><em>Minertia</em> is what I might call it&#8230; short for a &#8220;minimal level of inertia&#8221;.</p>
<p>Many companies have succeeded primarily because their products overcome <em>minertia</em>. Twitter is a good example of this. There were millions of people with (purportedly entertaining) thoughts, but none of these thoughts were worth spending more than 30 seconds to publish. Twitter provided a way to turn these idle thoughts into legitimate published communication with 30 seconds of effort, and BAM, they are the hottest company on the internet.</p>
<p>On to more pedestrian matters though: recording stuff on TV.</p>
<p>I&#8217;ll use Tivo as an example because that&#8217;s what I have, but this could apply to any DVR, Apple TV, Boxee, etc etc:</p>
<p>Here is how I decide to add a show to the repertoire of things my Tivo records automatically:</p>
<ol>
<li>Read about a new show somewhere online.</li>
<li>Hear or read about it again somewhere else.</li>
<li>Read about how good it is <em>again</em> and finally decide to do something about it.</li>
<li>If I&#8217;m home, turn on the TV, navigate somewhat laboriously through on-screen menus and search for the show in order to set up automatic recording.  If I&#8217;m away, go to Tivo.com and use their totally crappy search feature, try to find the program, and if that is even successful, set up automatic recording.</li>
</ol>
<p>As you can see, this sometimes equates to several minutes of work (I&#8217;ve spent over 15 minutes trying to do this on my iPhone). Again, we&#8217;re not talking about a huge time investment here, but it&#8217;s enough to require steps 1-3 whereas with a little <em>minertia</em> reduction, people might be willing to record shows the first time they hear about them.</p>
<p>What got me thinking about this was an <a href="http://www.mediaite.com/online/5qq-rex-sorgatz/" target="_blank">interview with Rex</a> I read yesterday. In it, he mentions <em>Modern Family</em> as the best show on TV right now (I say it&#8217;s <em>Dexter</em> or <em>Million Dollar Listing</em>, but whatever). Thankfully, Rex&#8217;s interview was about the third time I&#8217;d heard this so I bucked up and did step 4. But here&#8217;s how much easier it could be:</p>
<ol>
<li>Read article on web which contains the name of a TV show.</li>
<li>Click a bookmarklet to query Tivo, and Tivo spiders the page, highlighting all TV shows it recognizes.</li>
<li>Click on the show you want, confirm with a little ajaxed-in dialog box, and a command gets sent to your Tivo to create a Season Pass for the show.</li>
</ol>
<p>The effort would thusly be reduced to under 10 seconds.</p>
<p>As with the wine example, I fully expect someone to leave a comment pointing me to something that &#8220;kinda sorta&#8221; does this, but not in as optimal of a manner as I described above. Anybody know of something that does this? Or better yet, anyone work at Tivo and want to build this? :)</p>
]]></content:encoded>
			<wfw:commentRss>http://www.mikeindustries.com/blog/archive/2009/12/idea-record-this-bookmarklet/feed</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
		<item>
		<title>Newsvine is looking for a web developer</title>
		<link>http://www.mikeindustries.com/blog/archive/2009/07/newsvine-is-looking-for-a-web-developer</link>
		<comments>http://www.mikeindustries.com/blog/archive/2009/07/newsvine-is-looking-for-a-web-developer#comments</comments>
		<pubDate>Wed, 01 Jul 2009 17:47:35 +0000</pubDate>
		<dc:creator>Mike D.</dc:creator>
				<category><![CDATA[Code]]></category>

		<guid isPermaLink="false">http://www.mikeindustries.com/blog/?p=3593</guid>
		<description><![CDATA[There&#8217;s no better place to be during an economic downturn than a solid, profitable company with a long track record of success. Come to think of it, there&#8217;s no better place to be during an economic boom than that sort of place either. Msnbc.com, proud parent of Newsvine, is just that sort of place. The [...]<div><small><a href="http://www.mikeindustries.com/blog/archive/2009/07/newsvine-is-looking-for-a-web-developer">Comments</a></small></div>]]></description>
				<content:encoded><![CDATA[<p>There&#8217;s no better place to be during an economic downturn than a solid, profitable company with a long track record of success.  Come to think of it, there&#8217;s no better place to be during an economic boom than that sort of place either.  Msnbc.com, proud parent of Newsvine, is just that sort of place.  The most visited news site in the United States for the past 12 months and running, msnbc.com is hitting on all cylinders and is expanding the Newsvine team by one talented web developer.</p>
<p>As co-founder and CEO of Newsvine, I can tell you that this is a great place to work and retains the best aspects of a startup atmosphere while inheriting the equally great aspects of working for an established media organization like msnbc.com.  If you&#8217;re interested in joining the crew, please read the job description below and send your stuff to <a href="mailto:msnbcjobs@msnbc.com">msnbcjobs@msnbc.com</a>. One caveat, however: We are specifically looking for someone who is passionate about writing code.  Javascript, PHP, HTML, etc.  This is not a design position and the only UI work involved will be on the implementation side, from a coding perspective.</p>
<h3>Job description</h3>
<p>The Newsvine Team is looking for an experienced, self-motivated, and passionate front-end developer to join us in building products and services on the Newsvine platform. Your primary responsibility will be to design and develop site features and functionality in a multi-tier web environment using PHP, CSS, JavaScript, and the YUI JavaScript library. Additional responsibilities include daily site support and maintenance. The ideal candidate is able to work on small teams under tight deadlines with little supervision. A computer science degree or equivalent is a plus, but experience, skill, and attention to detail are more important.</p>
<p>The ideal candidate will have a strong command of the following knowledge areas:</p>
<ul>
<li>X/HTML, CSS, DOM, and JavaScript</li>
<li>PHP or similar scripting language</li>
<li>Mastery of web standards and cross-browser compatibility</li>
</ul>
<p>Preferable Job Qualifications:</p>
<ul>
<li>Experience working on large-scale, high-availability web sites</li>
<li>Successful industry experience using latest DHTML and ajax technologies</li>
<li>Experience with SQL and relational database implementations serving as the backend to production web applications</li>
<li>Experience with, or an interest in, working with the YUI JavaScript library</li>
<li>Familiarity with Subversion a plus</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.mikeindustries.com/blog/archive/2009/07/newsvine-is-looking-for-a-web-developer/feed</wfw:commentRss>
		<slash:comments>15</slash:comments>
		</item>
		<item>
		<title>Examining Typekit</title>
		<link>http://www.mikeindustries.com/blog/archive/2009/05/examining-typekit</link>
		<comments>http://www.mikeindustries.com/blog/archive/2009/05/examining-typekit#comments</comments>
		<pubDate>Sun, 31 May 2009 20:41:37 +0000</pubDate>
		<dc:creator>Mike D.</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[Design]]></category>
		<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://www.mikeindustries.com/blog/?p=3510</guid>
		<description><![CDATA[Last week brought word of a promising new type solution for the web called Typekit. Created by Jeff Veen and the smart folks at Small Batch, Typekit aims to solve the problem of custom typography on the web once and for all. Unlike sIFR, Cufon, and several other stopgaps before it, Typekit does not attempt [...]<div><small><a href="http://www.mikeindustries.com/blog/archive/2009/05/examining-typekit">Comments</a></small></div>]]></description>
				<content:encoded><![CDATA[<p>Last week brought word of a promising new type solution for the web called <a href="http://blog.typekit.com/2009/05/27/introducing-typekit/" target="_blank">Typekit</a>. Created by <a href="http://www.veen.com/jeff/" target="_blank">Jeff Veen</a> and the smart folks at <a href="http://www.smallbatchinc.com" target="_blank">Small Batch</a>, Typekit aims to solve the problem of custom typography on the web once and for all.  Unlike <a href="http://www.mikeindustries.com/sifr/">sIFR</a>, <a href="http://wiki.github.com/sorccu/cufon/about" target="_blank">Cufon</a>, and several other stopgaps before it, Typekit does not attempt to hack around the problem, but to solve it in a permanent way, which is exciting.</p>
<p>As a co-inventor of sIFR, I&#8217;ve been getting a lot of emails this week asking what I think of this new effort. In evaluating its promise, it&#8217;s important to examine the following characteristics, in order of importance: compatibility, functionality, legality, ease of use, and hackiness.</p>
<h3>Compatibility</h3>
<p>Compatibility is the most important aspect of any new web technology. If your shiny new method only works in 10% of web browsers, it&#8217;s nothing more than a proof-of-concept. It is this reality check that keeps me from getting excited about W3C meetings, Internet Explorer extensions, or anything else that doesn&#8217;t apply all browsers in the here and now&#8230; or at least the right around the corner.</p>
<p>Compatibility was also what pushed sIFR over the top in terms of popularity, working in over 90% of all systems and falling back gracefully in most others. It also came out at a time, 2004, when there wasn&#8217;t a whole lot of tolerance for leaving certain browsers behind or having things look ideal in a few browsers and not so ideal in others.</p>
<p>Typekit appears to be doing ok on the compatibility front, targeting current versions of Safari, Chrome, and Opera natively, the next version of Firefox (3.1) natively, and all versions of Internet Explorer via a &#8220;backup&#8221; EOT solution.  Here&#8217;s what the <a href="http://marketshare.hitslink.com/browser-market-share.aspx?qprid=0" target="_blank">browser share landscape</a> looks like today:</p>
<ul>
<li>Works in:
<ul>
<li>Internet Explorer: 66.1%</li>
<li>Safari: 8.21%</li>
<li>Chrome: 1.42%</li>
<li>Opera: 0.68%</li>
<li>Firefox 3.1 or greater: 0.18%</li>
</ul>
</li>
<li>Doesn&#8217;t work in:
<ul>
<li>Firefox 3.0 or lower: 22.3%</li>
<li>Miscellaneous other browsers: 1.11%</li>
</ul>
</li>
</ul>
<p>So you can see right off the bat that Typekit will work in just over 76% of browsers. Not quite as high as some of the methods that came before it, but it&#8217;s extremely important to recognize that the one group that&#8217;s keeping Typekit from almost universal compatibility is Firefox. I have no evidence to support this, but I imagine that Firefox users are among the quickest to upgrade, which would seem to suggest that this compatibility gap could be closed relatively quickly. Data shows that <a href="http://marketshare.hitslink.com/browser-market-share.aspx?qprid=2" target="_blank">Firefox 3 is already used by 11 times more people than Firefox 2</a>, and considering it was released just short of a year ago, this sort of upgrade pattern is encouraging.</p>
<p>Given the above data, combined with how often Firefox seems to annoy me these days with upgrade notices, I expect Firefox 3.1 or greater to be the dominant Firefox version in use one year from now, thus pushing Typekit&#8217;s compatibility percentage into the upper 90s fairly soon.</p>
<p>It&#8217;s also important to praise what Small Batch has done here on the compatibility front: their killer concept was involving type foundries in web-only licensing and propagating the font files through the standards-complaint @font-face CSS declaration, but they realized their solution would be academic if it didn&#8217;t work in Internet Explorer, so they made sure their backup implementation using EOT files took care of all IE users.  The lack of this sort of practical thinking is what keeps a lot of great ideas from gaining traction on the web.</p>
<p>I also think that designers these days, self included, are a lot more amenable to things looking great on &#8220;most systems&#8221; as long as they at least work reasonably on other systems (as long as they look great on the particular system the designer uses).  This is a bit of designer bias, of course, but it also represents an increasing desire in the design and development community to <a href="http://forabeautifulweb.com/blog/about/universal_internet_explorer_6_css/" target="_blank">leave the old web behind</a>. I still remember how much crap I took at ESPN from <a href="http://www.webstandards.org" target="_blank">validatorians</a> when we decided to leave Netscape 4 &#8212; with its 1% marketshare &#8212; behind. Now it&#8217;s all the rage&#8230; and I love it!</p>
<h3>Functionality</h3>
<p>By all accounts, Typekit will be more functional than any method that came before it. This is quite obviously because it uses a browser&#8217;s native font rendering technology. There are some concerns about reliability gaps stemming from downloading fonts off third-party servers, but I believe this fear will prove unfounded. Additionally, I imagine both the @font-face and EOT versions of fonts will come in larger files than sIFR font files (because usually you only embed a subset of characters in a sIFR font file) but with broadband penetration being what it is today, this too will prove immaterial. Additionally, even though sIFR font files may be smaller, the noticeable delay in rendering them probably more than makes up the difference.</p>
<h3>Legality</h3>
<p>I put legality in the middle of the pack and not at the top because, to my knowledge, there haven&#8217;t been any serious legal dust-ups over the use of technologies like sIFR and Cufon. So far, the burden has been on designers to buy the fonts they use before embedding them using sIFR or Cufon, but at the same time, there&#8217;s been no clear blessing or condemnation of this practice by foundries or type designers.</p>
<p>The nice thing about Typekit is that it specifically involves foundries and type designers in the process of licensing their fonts for use on the web. When you use Typekit, you <em>know with certainty</em> that what you&#8217;re doing has the direct blessing of the people who created and/or marketed the typeface you&#8217;re using.  This is a nice piece-of-mind upgrade as well as a way of further compensating type designers for giving us <a href="http://informationarchitects.jp/the-web-is-all-about-typography-period/" target="_blank">the building blocks of web design</a>.</p>
<h3>Ease of use</h3>
<p>Typekit promises to be easier to implement than either sIFR, Cufon, or any other font replacement technology. I guess we won&#8217;t know until we start using it, but it would shock me if it took more than a few minutes to implement, including licensing the font you want to use. sIFR&#8217;s second most common complaint other than &#8220;it uses Flash and Flash kills puppies&#8221; is that it&#8217;s a bit difficult to implement. Typekit&#8217;s improvement on this front will be more than welcome.</p>
<h3>Hackiness</h3>
<p>First let me say something I&#8217;ve said many times before: the entire world wide web is a hack. Get over it. Secondly, however, any technologies or methods &#8212; <em>that work</em> &#8212; which serve to dehackify it a bit are welcome. Typekit certainly dehackifies custom typography on the web by leaps and bounds.  It was the solution we all knew would come eventually when we created sIFR as a stopgap five years ago.  Just about the only things hacky about it are that it falls back to EOT (which, as discussed earlier, is great) and that it uses Javascript to handle the licensing nuts and bolts (meh, big deal).</p>
<h3>Conclusion</h3>
<p>Typekit is likely the best thing to happen to web design since the re-emergence of browser competitiveness. It will be embraced quickly and fervently when it is released this summer, and its creators should be loudly applauded for <em>doing it</em> instead of just talking about it. There are too many talkers in the world and not enough doers. The team at Small Batch has done an excellent job of taking a problem that a lot of people like to talk about and solving it in a practical, equitable way.  It&#8217;s a welcome solution to a real issue and a significant step towards a leaner, Veener web.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.mikeindustries.com/blog/archive/2009/05/examining-typekit/feed</wfw:commentRss>
		<slash:comments>35</slash:comments>
		</item>
		<item>
		<title>The Sorry State of WYSIWYG Web Editors</title>
		<link>http://www.mikeindustries.com/blog/archive/2009/04/the-sorry-state-of-wysiwyg-web-editors</link>
		<comments>http://www.mikeindustries.com/blog/archive/2009/04/the-sorry-state-of-wysiwyg-web-editors#comments</comments>
		<pubDate>Tue, 28 Apr 2009 01:57:40 +0000</pubDate>
		<dc:creator>Mike D.</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://www.mikeindustries.com/blog/?p=3452</guid>
		<description><![CDATA[We got into a heated discussion in the office about WYSIWYG web editors today. While heated discussions are nothing new to us, neither side even being happy with their own argument was. When people are arguing over things they don&#8217;t even believe in, there can be no positive outcome. My side was as follows: All [...]<div><small><a href="http://www.mikeindustries.com/blog/archive/2009/04/the-sorry-state-of-wysiwyg-web-editors">Comments</a></small></div>]]></description>
				<content:encoded><![CDATA[<p>We got into a heated discussion in the office about WYSIWYG web editors today. While heated discussions are nothing new to us, neither side even being happy with their own argument was. When people are arguing over things they don&#8217;t even believe in, there can be no positive outcome.</p>
<p>My side was as follows: All web editors &#8212; including <a href="http://tinymce.moxiecode.com/" target="_blank">TinyMCE</a>, <a href="http://developer.yahoo.com/yui/editor/" target="_blank">YUI</a>, and <a href="http://www.fckeditor.net/" target="_blank">FCKEditor</a> &#8212; are broken in different ways, and the only software I&#8217;ve seen which can satisfactorily desuckify one of them is WordPress. Because of that, we should deconstruct what WordPress has done to TinyMCE and apply the same duct tape to our own editor on Newsvine (we use TinyMCE currently, but are in the process of moving to YUI).</p>
<p>Our development staff&#8217;s side was as follows: All web editors &#8212; including TinyMCE, YUI, and FCKEditor &#8212; are broken in different ways, and because of the crazy amount of ridiculous cleaning, converting, regexing, transforming, and other shenanigans WordPress has to do to their editor just to get it to the state it&#8217;s in right now, it&#8217;s not worth spending the time to recreate such a mess, only to have it remain imperfect and possibly break in upcoming browser releases.</p>
<p>There are several things wrong with each editor but the particular problem we are trying to solve is that when you&#8217;re in HTML mode, you can&#8217;t create paragraphs just by putting double newlines between them. Some people say that because you&#8217;re in HTML mode, you shouldn&#8217;t expect an editor to do this for you, but I&#8217;ve been using blog software for six or seven years and that is the behavior I &#8212; and I believe most others &#8212; are accustomed to, so I couldn&#8217;t imagine releasing something without it. As mentioned above, the WordPress team has craftily hacked this functionality into their WYSIWYG system, but other platforms like Typepad have not.</p>
<p>I could go on and on for another hour about details, but after going through all of the WYSIWYG editor machinations we&#8217;ve gone through, I&#8217;m left wondering why the web development world still hasn&#8217;t figured this out yet. We can write an <a href="http://gmail.com" target="_blank">entire e-mail application</a>, a <a href="http://www.editgrid.com" target="_blank">replacement for Excel</a>, and <a href="http://www.chromeexperiments.com/" target="_blank">whatever the hell these things are</a>, but we can&#8217;t replicate <a href="http://www.mac512.com/macwebpages/macwrite.htm" target="blank">a toolset we&#8217;ve had in MacWrite since 1984</a>?</p>
<p>Think of how much has happened in the last 25 years, and we haven&#8217;t been able to nail that.</p>
<p><img src="/blog/images/inline/tiny_mce.gif" alt="" width="450" height="144" /></p>
<p class="caption">TinyMCE circa 2009: Millions and millions crrrrrrrrazy features. Doesn&#8217;t work satisfactorily.</p>
<p><img src="/blog/images/inline/word.gif" alt="" width="450" height="163" /></p>
<p class="caption">Microsoft Word circa 1991: Just enough features. Works plenty fine for most people.</p>
<p>I know hard-core coders like to hand-code html even when writing web comments (self included), but 90% of the world would rather not be bothered with that. What&#8217;s it going to take for this problem to go away?  If you&#8217;re involved in WYSIWYG editor development, I&#8217;d love to know.  Is it the disappearance of old browsers?  Is it something that should be Flash-based?  Is it just that no one&#8217;s really worked full-time on the problem yet?  Why isn&#8217;t WordPress&#8217;s crazy hackery built into TinyMCE in the first place?  So many questions&#8230;</p>
<p>So far, the one effort I&#8217;ve noticed that seems to take the cleanest possible approach is the <a href="http://www.wymeditor.org/" target="_blank">WYSIWYM Editor</a>. What-You-See-Is-What-You-Mean essentially translates to &#8220;the HTML code associated with what users type will semantically match what they intend&#8221;.  Meaning, if I type two blocks of text separated by a double newline, I get two properly <code>&lt;p&gt;</code>d paragraphs out of that&#8230; not just a blob of text separated by <code>&lt;br&gt;</code> tags. Or if I bold some text, I get <code>&lt;strong&gt;</code> tags instead of other ridiculousness.</p>
<p>Sadly, the WYSIWYM Editor seems to have been in development since 2006 and is only at 0.5b, but happily, there appears to be a healthy flurry of activity around it lately. I really don&#8217;t mean to disparage the hard work that&#8217;s gone into all of these imperfect WYSIWYG editors in the past, and I do realize that browsers are the core culprits here, but it&#8217;s 2009 already and I&#8217;d prefer a solution to this longstanding <em>real-world</em> problem over almost anything promised in HTML 5, CSS 3, or any of the other specs we&#8217;ve been eagering awaiting for the last several years.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.mikeindustries.com/blog/archive/2009/04/the-sorry-state-of-wysiwyg-web-editors/feed</wfw:commentRss>
		<slash:comments>78</slash:comments>
		</item>
		<item>
		<title>Presto Chango</title>
		<link>http://www.mikeindustries.com/blog/archive/2009/02/presto-chango</link>
		<comments>http://www.mikeindustries.com/blog/archive/2009/02/presto-chango#comments</comments>
		<pubDate>Thu, 05 Feb 2009 04:54:41 +0000</pubDate>
		<dc:creator>Mike D.</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[Design]]></category>
		<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://www.mikeindustries.com/blog/?p=2341</guid>
		<description><![CDATA[After almost five years of running Mike Industries, it&#8217;s time for a change! The fact that I made it this long without redesigning is either a testament to the majestic timelessness of the original design or my general uncomfortableness in doing &#8220;self identity&#8221; work. Since we know there is no such thing as timelessness on [...]<div><small><a href="http://www.mikeindustries.com/blog/archive/2009/02/presto-chango">Comments</a></small></div>]]></description>
				<content:encoded><![CDATA[<div ><span></span></div>
<div >
<div ><span></span></div>
<div ><span></span></div>
<div ><span></span></div>
<div ><span></span></div>
<div ><span></span></div>
<div ><span></span></div>
<div ><span></span></div>
<div ><span></span></div>
<div ><span></span></div>
<div ><span></span></div>
<div ><span></span></div>
<div ><span></span></div>
<div ><span></span></div>
<div ><span></span></div>
<div ><span></span></div>
<div ><span></span></div>
<div ><span></span></div>
<div ><span></span></div>
<div ><span></span></div>
<div ><span></span></div>
<div ><span></span></div>
<div ><span></span></div>
<p>After almost five years of running Mike Industries, it&#8217;s time for a change!  The fact that I made it this long without redesigning is either a testament to the majestic timelessness of the original design or my general uncomfortableness in doing &#8220;self identity&#8221; work. Since we know there is no such thing as timelessness on the web, we can therefore assume it&#8217;s the latter.</p>
<p>This redesign had five objectives, in order of importance:</p>
<ol>
<li>Make shared items such as found links, video, and photography more a part of the overall content presentation. I still write original posts 1-3 times a month, but it&#8217;s nice to keep things fresh in-between as well.</li>
<li>Refresh things visually with a wider layout, new typography, and a fuller footer, among other elements.</li>
<li>Modernize and completely rewrite the code that was brought over when I <a href="http://www.mikeindustries.com/blog/archive/2008/03/mike-industries-now-powered-by-wordpress">switched from Movable Type to WordPress a year ago</a>.</li>
<li>Offer more feed customization, including full-text RSS.</li>
<li>Don&#8217;t break old pages with the new design.</li>
</ol>
<p>&#8230; and away we go:</p>
<h3>Bringing multi-source aggregation into the fold</h3>
<p>It&#8217;s easy to take posts from other places like <a href="http://delicious.com/mikeindustries" target="_blank">Delicious</a>, <a href="http://tumblelog.mikeindustries.com" target="_blank">Tumblr</a>, and <a href="http://twitter.com/mikeindustries" target="_blank">Twitter</a> and display them in various places around your blog.  It&#8217;s a bit harder to ingest those same posts into your blog&#8217;s publishing system and then output them as actual native blog posts that people can comment on.  And finally, it&#8217;s <em>incredibly hard</em> to do the second thing in a way that&#8217;s flexible enough to display many different types of content in many different contexts.</p>
<p>Getting to the first stage would have been easy via a few lines of javascript, and in fact, I already got there with the previous design, embedding my Delicious links in the Mike Industries sidebar.</p>
<p>In trying to make it to the second stage, I tried several different &#8220;aggregation&#8221; plug-ins for WordPress, but eventually settled on a wonderful little creation called <a href="http://projects.radgeek.com/feedwordpress/" target="_blank">FeedWordPress</a>, by the one they call &#8220;Rad Geek&#8221;.  After installing the FeedWordPress plug-in, you simply give it some feeds to suck in, tell it how to categorize and tag items from each feed, and then let WordPress templates do the rest.</p>
<p>I was originally going to move over all of my link-saving from Delicious to Tumblr because I love Tumblr&#8217;s posting interface, but since my Tumblr account got hacked within a couple weeks of opening it, I decided to only use the Tumblr account to post fun stuff like videos. My initial reflex was to move all &#8220;collecting&#8221; to one platform, but since everything is getting pulled directly into the main blog anyway, I&#8217;ve convinced myself that the use of multiple platforms is actually a strength.  I&#8217;m essentially pulling my Tumblr and Delicious feeds into the &#8220;Shared&#8221; column and my Twitter feed into the &#8220;Overshared&#8221; column.</p>
<p>I am unconvinced that Twitter will be a permanent part of this blog, since I still don&#8217;t enjoy either publishing or reading many tweets, but I&#8217;m giving it a try to see if it sticks. Twitter&#8217;s rising popularity continues to amaze me to the point where I&#8217;m almost ready to officially consider myself &#8220;too old&#8221;. On the one hand, I totally understand it because it&#8217;s so easy.  But on the other hand, I totally despise it because it enables such laziness and extravagance of expression.  Anyway, that&#8217;s a conversation for another blog post.</p>
<p>The single hardest part of the entire redesign was writing a script that ensured no items in the Shared column would render wider than the column itself.  Since there will be plenty of YouTube video tags in there, it was essential to resize them all as the column renders, but not permanently in the database, so that they can render at full size when viewed from the permalink pages.  I am no <a href="http://www.shauninman.com" target="_blank">Wolf</a> with regular expressions, but after hours and hours of hackerations, I came up with this:</p>

<textarea style="width: 450px; height: 300px">

function shrinkContent ($matches) {
	// SET WHICH $matches PARAMETER APPLIES TO HEIGHT AND WHICH TO WIDTH
	if (preg_match('/(\<[^\>]+?(width=([\'|"|0-9]+))[^\>]+?(height=([\'|"|0-9]+)).*?\>)/',$matches[1])) {
		$widthspot = 3;
		$heightspot = 5;
	} else {
		$widthspot = 5;
		$heightspot = 3;
	}
	// CHOOSE A MAX WIDTH
	$maxwidth = 240;
	// INTEGERIZE WIDTH
	$width = (int)preg_replace('/[^0-9]+/','',$matches[$widthspot]);
	// IF WIDTH IS MORE THAN OUR LIMIT PERFORM THE TRANSFORMATION
	if ($maxwidth/$width < 1) {
		$height = (int)preg_replace('/[^0-9]+/','',$matches[$heightspot]);
		$height = round(($height*$maxwidth)/$width);
		$width = $maxwidth;
		$pattern = '/width=([\'|"|0-9]+)/';
		$widthstring = 'width="'.$width.'"';
		$resizedtag = preg_replace($pattern,$widthstring,$matches[1]);
		$pattern = '/height=([\'|"|0-9]+)/';
		$heightstring = 'height="'.$height.'"';
		$resizedtag = preg_replace($pattern,$heightstring,$resizedtag);
		return $resizedtag;
	// ELSE LEAVE IT ALONE
	} else {
		return $matches[1];
	}
}

function scale_image_240($matches) {
	$p = $matches[3];
	$mw=240;
	$mh=1000;
    if(list($w,$h) = @getimagesize($p)) {
    foreach(array('w','h') as $v) { $m = "m{$v}";
        if(${$v} > ${$m} && ${$m}) { $o = ($v == 'w') ? 'h' : 'w';
        $r = ${$m} / ${$v}; ${$v} = ${$m}; ${$o} = ceil(${$o} * $r); } }
    return("<img src='{$p}' alt='' width='{$w}' height='{$h}' />"); }
}

// START WITH YOUR HTML
$contents = $yourhtml;

// LOOK FOR TAGS WHERE WIDTH IS BEFORE HEIGHT AND REPLACE
$pattern = '/(\<[^\>]+?(width=([\'|"|0-9]+))[^\>]+?(height=([\'|"|0-9]+)).*?\>)/';
$contents = preg_replace_callback($pattern, 'shrinkContent', $contents);

// LOOK FOR TAGS WHERE HEIGHT IS BEFORE WIDTH AND REPLACE
$pattern = '/(\<[^\>]+?(height=([\'|"|0-9]+))[^\>]+?(width=([\'|"|0-9]+)).*?\>)/';
$contents = preg_replace_callback($pattern, 'shrinkContent', $contents);

// LOOK FOR EMPTY IMG TAGS
$pattern = '/(\<img[^\>|^width=]+?(src="([^"]+?)")[^\>|width=]+?\>)/';
$contents = preg_replace_callback($pattern, 'scale_image_240', $contents);
						
// VOMIT OUT NEW CODE WHERE NOTHING IS MORE THAN 240 PIXELS WIDE
echo $contents;

</textarea>

<p>I cribbed part of the short scale_image_240 function, but the rest was from scratch.  Beforehand, I searched for quite some time on Google for a function to do exactly this and couldn&#8217;t find it, so hopefully this post will help some future searchers in their own quests to resize content.</p>
<p>Even though running these computations when the sidebars render isn&#8217;t too computationally ferocious, I went ahead and &#8220;widgetized&#8221; my sidebar in WordPress as well, so I could make use of the excellent <a href="http://wordpress.org/extend/plugins/wp-widget-cache/" target="_blank">WP Widget Cache plug-in</a>.  WP Widget Cache writes your entire sidebar out to disk so that it can be served up quickly and statically.</p>
<p>Ok, now that the geekiest part of the redesign has been explained, on to hopefully more interesting matters&#8230;</p>
<h3>Separation of different content types</h3>
<p>As much as I love what <a href="http://www.stopdesign.com" target="_blank">Doug</a> and <a href="http://www.mezzoblue.com" target="_blank">Dave</a> have done with their superb redesigns, I just don&#8217;t like displaying original posts and peripheral content in the same column.  I may not be the most prolific original post writer, but when I write an article, I want it front and center, and not pushed down by links or other distractions. With this redesign, the flow is simple: the most important stuff is on the left, the semi-interesting stuff is to the right of that, and the barely-interesting stuff is to the right of that.  Size also flows according.  The wide column is important, the medium column is semi-interesting, and the narrow column is barely-interesting.</p>
<h3>Typography</h3>
<p><a href="http://www.mikeindustries.com/sifr/">sIFR</a> lives on in the new Mike Industries &#8212; of course &#8212; in the form of Trade Gothic Condensed. While I don&#8217;t think sIFR should be used in every project (we don&#8217;t use it on <a href="http://www.newsvine.com" target="_blank">Newsvine</a>), I still find it an invaluable method to really shine up blog design. The first version of Mike Industries used Agency Condensed rendered with sIFR 2, while the new version uses the aforementioned Trade Gothic (a <a href="http://www.jasonsantamaria.com" target="_blank">Stan</a> favorite) and sIFR 3.</p>
<p>By the way, I don&#8217;t usually like to call fellow developers out, but I will say this about <a href="http://novemberborn.net/sifr3" target="_blank">sIFR 3</a>: it&#8217;s beautiful and it&#8217;s been ready for at least a year, in my opinion, and yet it&#8217;s not officially &#8220;released&#8221; yet. I find this highly unfortunate. When you&#8217;re developing software for the web, <em>it&#8217;s never going to be perfect</em>. As long as your software generally works and isn&#8217;t causing any damage, <em>release it</em>.  The entire web is a beta.  The entire web is a hack. It always will be. Don&#8217;t fight it. If you&#8217;re on <a href="http://novemberborn.net/sifr3/r436" target="_blank">Release Candidate 436</a>, that&#8217;s a sign you may need to let go a little.</p>
<p>Aside from the Trade Gothic, Mike Industries now uses Helvetica Neue for body copy and downwind headers. I am certainly no devotee of Helvetica, like 90% of the people in <a href="http://www.helveticafilm.com/" target="_blank">the film</a> are, but with anti-aliasing so much improved in the last decade, it does make for some good readability these days. Plus, I just needed to get off the Lucida Grande/Verdana bandwagon for awhile at least.</p>
<h3>Grids, shmids</h3>
<p>I feel like <a href="http://www.thegridsystem.org/" target="_blank">grids</a> are the new web standards. What I mean is that they are a potentially useful tool to achieve a noble means, but they aren&#8217;t the second coming of the messiah. If grids help you do great work, then by all means learn them, love them, and live them. But if you&#8217;re perfectly happy eyeing layouts as a drunken painter eyes a canvas, then eye away. I&#8217;m no painter, but I&#8217;m plenty happy creating layouts without the use of grids or any sort of sizing heuristics.  I don&#8217;t make sure my main column is sized according to a golden-ratio and I don&#8217;t make sure every line of type lines up vertically with every other.</p>
<p>I just do what feels right&#8230; and that&#8217;s plenty good enough for me.  You should do the same, whether or not that involves the use of grids.</p>
<h3>Feeds revisited and reloaded</h3>
<p>Due to popular demand, I am now pushing out full text RSS feeds. I would still rather not publish these because of content theft and other reasons, but in the end, my reticence should not trump the will of my subscribers. I&#8217;ll try it out and unless I notice widespread plagiarism on spam blogs, full-text feeds will probably continue.</p>
<p>Also, after running <a href="http://www.mikeindustries.com/blog/archive/2008/12/what-should-go-in-a-default-rss-feed">this poll</a> about a month ago, I&#8217;ve decided to include original and shared items in the default RSS feed (the one you&#8217;re probably already subscribed to). According to the poll results, most people want to see interesting links and other stuff in the main feed, so that was the justification.  If, however, you find the shared items superfluous, <em>please</em> switch over to the <a href="http://www.mikeindustries.com/blog/archive/category/original">Articles Only</a> feed. I hate the idea of anyone unsubscribing entirely because the main feed is now updated too often.</p>
<p>One thing I can&#8217;t seem to figure out is how to correctly enable the &#8220;all&#8221; feed in WordPress.  For all of you WordPress gurus out there, I basically applied a filter to my existing &#8220;/blog/feed&#8221; feed to remove the Overshared/Twitter categories.  It is as follows:</p>
<p><code><br />
function exclude_category($query) {<br />
	if ( $query->is_feed ) {<br />
		$query->set('cat', '-473,-281');<br />
	}<br />
return $query;<br />
}</p>
<p>add_filter('pre_get_posts', 'exclude_category');<br />
</code></p>
<p>That correctly takes the stuff out of the &#8220;main&#8221; feed, but I need to provide another feed with everything in it.  Something like maybe &#8220;/blog/feed?all&#8221;.  I figured I should be able to just modify the line above to:</p>
<p><code><br />
	if ( $query->is_feed &#038;! $query->query_vars['all'] ) {<br />
</code></p>
<p>&#8230; and it should work.  It doesn&#8217;t.  If anyone has any ideas, I&#8217;d love some help on that one (or another way to do it entirely).</p>
<h3>Big footers are in</h3>
<p>My footer now contains a lot of what was previously in my sidebar and more.  I&#8217;m not sure how I feel about this yet.  On the one hand, I like big, informative footers.  But on the other hand, I don&#8217;t like burying such potentially important stuff so low on the page.  If I end up getting rid of the Overshared column, some of the footer content may end up replacing it.</p>
<h3>Backwards compatibility</h3>
<p>Originally, I wanted to find a way to <a href="http://www.mikeindustries.com/blog/archive/2008/11/lazyweb-request-date-based-theme-switcher-for-wordpress">keep old blog posts in the old theme and style new blog posts with the new theme</a>. I like this idea because it preserves the context in which posts were originally written and it also doesn&#8217;t break <a href="http://www.mikeindustries.com/blog/archive/2005/05/ipod-giveaway-2" target="_blank">heavily designed posts like this one</a>. In the end though, I was able to keep my main content area the same size as my old one, so the new theme really didn&#8217;t break any entries, so I have &#8212; for now &#8212; decided to move everything to the new theme.  This decision is definitely subject to change though as I really don&#8217;t want to be tied to a 450 pixel wide white column for the rest of my life.</p>
<h3>So anyway&#8230;</h3>
<p>So anyway, that&#8217;s it. I&#8217;m pretty excited to get this rolled out, but at the same time there are still details that need some shining and bugs that need squashing.  If you see any, give me a holler in the comments.  Thanks!</p>
</div>
]]></content:encoded>
			<wfw:commentRss>http://www.mikeindustries.com/blog/archive/2009/02/presto-chango/feed</wfw:commentRss>
		<slash:comments>45</slash:comments>
		</item>
		<item>
		<title>How to REALLY Import your Delicious Links into Tumblr</title>
		<link>http://www.mikeindustries.com/blog/archive/2009/01/how-to-really-import-your-delicious-links-into-tumblr</link>
		<comments>http://www.mikeindustries.com/blog/archive/2009/01/how-to-really-import-your-delicious-links-into-tumblr#comments</comments>
		<pubDate>Fri, 23 Jan 2009 06:07:00 +0000</pubDate>
		<dc:creator>Mike D.</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://www.mikeindustries.com/blog/?p=536</guid>
		<description><![CDATA[I&#8217;ve been using Del.icio.us, the fabulous Joshua Schachter creation, as my linkrolling tool for a few years now. Although it can be a powerful tool for organizing and browsing through interesting URLs, I find I only use it for two things: saving links and displaying said links in the sidebar of Mike Industries. For that [...]<div><small><a href="http://www.mikeindustries.com/blog/archive/2009/01/how-to-really-import-your-delicious-links-into-tumblr">Comments</a></small></div>]]></description>
				<content:encoded><![CDATA[<p>I&#8217;ve been using <a href="http://del.icio.us" target="_blank">Del.icio.us</a>, the fabulous <a href="http://joshua.schachter.org/" target="_blank">Joshua Schachter</a> creation, as my linkrolling tool for a few years now.  Although it can be a powerful tool for organizing and browsing through interesting URLs, I find I only use it for two things: saving links and displaying said links in the sidebar of Mike Industries. For that reason, there are probably any number of bookmarking services which would amply serve my meager needs.</p>
<p>One service that&#8217;s caught my eye recently is the increasingly popular <a href="http://tumblr.com" target="_blank">Tumblr</a>.  I have friends who run their <a href="http://jimray.tumblr.com" target="_blank">main blogs</a> off of it and others who just run <a href="http://bullshit.tumblr.com" target="_blank">one of their multiple blogs</a> off of it.  I still like hosting my own WordPress blog and would never outsource this to a hosted service, but at the same time, running all linkblogging activity through a service like Tumblr sounds appealing &#8212; especially considering I can then pull all of that activity into my main blog using something like <a href="http://devthought.com/wp-o-matic-the-wordpress-rss-agreggator/" target="_blank">WP-O-Matic</a>.</p>
<p>The super nice thing about Tumblr is how simple the posting interface is. The &#8220;Share on Tumblr&#8221; bookmarklet the company provides does a pretty good job of automatically figuring out what type of content you&#8217;re posting and treating it accordingly.  In other words, if you seed from a YouTube page, the link gets posted as type &#8220;video&#8221; and is displayed accordingly.  These sorts of interface niceties reduce the amount of work required to save links and thus encourage more linking activity. Both good things. The woefully inadequate &#8220;Press This&#8221; bookmarklet from WordPress just doesn&#8217;t measure up.</p>
<p>So&#8230; a couple of days ago when I decided I wanted to migrate all of my Del.icio.us bookmarks over to Tumblr, I couldn&#8217;t for the life of me find an automated way to do it. Tumblr has an <a href="http://blog.davidville.com/2007/03/01/import-feeds/" target="_blank">import feeds feature</a> but it is misleadingly named.  It doesn&#8217;t actually import existing feeds.  It only adds your feed URL and then posts any <em>new</em> items you add afterwards.  This does nothing to aid in the migration of existing content over to Tumblr.</p>
<p>Using a combination of the <a href="http://www.tumblr.com/api#api_write" target="_blank">Tumblr API sample code</a> and some <a href="http://www.gregphoto.net/index.php/2006/01/07/backing-up-delicious-with-php-mysql-simplexml-and-ajax-for-live-search/" target="_blank">code I stole from Greg Neustaetter</a>, I created a PHP script which imports all of your existing Del.icio.us bookmarkets into Tumblr.</p>
<p>Warning: I am not a PHP genius so I know the code isn&#8217;t pretty&#8230; but it works.  It imported all 312 of my Del.icio.us bookmarks in under a minute.</p>
<p>In case you&#8217;re interested, here&#8217;s how to do it (caveat &#8212; you might want to do this on a fresh Tumblr account, just to be sure):</p>
<ol>
<li>Log into your Del.icio.us account.</li>
<li>Hit <a href="http://del.icio.us/api/posts/all" target="_blank">http://del.icio.us/api/posts/all</a> and save the file to your desktop as &#8220;delicious.xml&#8221;. Upload this file to your server.</li>
<li>Upload <a href="http://www.mikeindustries.com/blog/files/Delicious-To-Tumblr.php.zip">Delicious-To-Tumblr.php</a> to the same location on your server and edit the two lines in the file specifying your Tumblr email and password (to authenticate with the Tumblr API).</li>
<li>Hit Delicious-To-Tumblr.php in your web browser and all of your entries will be imported.</li>
</ol>
<p>Voila!  Del.icio.us-to-Tumblr migration in about a minute.  Enjoy.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.mikeindustries.com/blog/archive/2009/01/how-to-really-import-your-delicious-links-into-tumblr/feed</wfw:commentRss>
		<slash:comments>22</slash:comments>
		</item>
		<item>
		<title>Thoughts on the ESPN.com Redesign</title>
		<link>http://www.mikeindustries.com/blog/archive/2009/01/thoughts-on-the-espn.com-redesign</link>
		<comments>http://www.mikeindustries.com/blog/archive/2009/01/thoughts-on-the-espn.com-redesign#comments</comments>
		<pubDate>Wed, 07 Jan 2009 04:31:30 +0000</pubDate>
		<dc:creator>Mike D.</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[Design]]></category>
		<category><![CDATA[Sports]]></category>

		<guid isPermaLink="false">http://www.mikeindustries.com/blog/?p=523</guid>
		<description><![CDATA[A couple of days ago, ESPN.com launched their latest redesign; an effort many months in the making and much anticipated in the industry. I&#8217;ve been playing with the new site for a month or so now and have some positive and negative opinions to express, both as a sports fan and as one of the [...]<div><small><a href="http://www.mikeindustries.com/blog/archive/2009/01/thoughts-on-the-espn.com-redesign">Comments</a></small></div>]]></description>
				<content:encoded><![CDATA[<p>A couple of days ago, <a href="http://espn.go.com" target="_blank">ESPN.com</a> launched their latest redesign; an effort many months in the making and much anticipated in the industry.  I&#8217;ve been playing with the new site for a month or so now and have some positive and negative opinions to express, both as a sports fan and as one of the (drunk) driving forces behind some past ESPN.com redesigns.</p>
<p>First the standard caveat: designing a major media site is not as easy as it may appear.  It is not like designing a blog and not like designing a standard &#8220;web presence&#8221; for a company.  There are hundreds of internal stakeholders to answer to, millions of daily users to please, and a ton of legacy and third-party code that is often outside your control.  Anyone who tries to knock down the virtues of a major media site redesign based on how far it falls short of perfection is making the wrong comparison.  The most important benchmark to grade is simply the amount of <em>improvement</em> (or worsening) from the last iteration of the site.  Secondarily, comparison against competitors is also very important.</p>
<p>First things first, there&#8217;s a lot to like about the redesign:</p>
<h3>Cleanliness</h3>
<p>In my five years at ESPN, there was always a lot of push and pull between design cleanliness and information density.  On the design side, we always fought for an economy of elements on the page.  Big striking headlines, well placed lead-ins, content modules here and there, but nothing to overload the screen.  On the editorial and business side, there was always a push for more video, more features, and just generally more content all over the place.  The ideal philosophy is of course somewhere in the middle, but over the last few years, I feel like ESPN had gone a bit too far in the &#8220;Times Square Billboard&#8221; direction, with too much visual distraction (especially in the form of autoplay video).</p>
<p>The new redesign gracefully chisels away a lot of the visual clutter and presents a calmer, gentler ESPN for your perusing pleasure. Gone is the autoplay video and other visual cruft that had built up over the years.</p>
<p>Note: When I refer to &#8220;visual cruft&#8221;, this is a phenomenon that happens to every content site over time.  Essentially, you redesign and everything&#8217;s perfect, and then &#8220;plaque&#8221; kind of builds up over time in the form of code and design elements that are inserted to meet editorial or business needs.  Each redesign is an opportunity to chisel off the plaque and start anew.</p>
<h3>Code Quality</h3>
<p>Don&#8217;t even bother trying to run the ESPN front page through the stupid W3C validator because that&#8217;s a lousy way to judge code quality.  The tomato-throwers among us will of course do this immediately and point to the hundreds of validation errors as evidence of incompetence.  The more seasoned among us know that <a href="http://www.mikeindustries.com/blog/archive/2004/06/march-to-your-own-standard">500 ampersand-related errors</a> are meaningless in the grand scheme of things and we wish the validator could be configured to selectively mute certain types of benign errors.</p>
<p>The HTML for the front page is a svelte 22.8k gzipped (73.4k unzipped) and the code is pretty well written.  All CSS for layout &#8212; natch &#8212; and decently structured HTML.</p>
<p>I will not comment on accessibility because I am not an <a href="http://www.bestkungfu.com" target="_blank">accessibility expert</a>.  I&#8217;ve long railed against judging a site&#8217;s true accessibility by looking for alt text and well structured code, as I simply don&#8217;t believe those elements &#8212; on their face &#8212; make a site accessible or not.  A site is accessible if <em>observed user behavior</em> suggests that disabled people can use the site with reasonable ease. If you don&#8217;t know how disabled people <em>actually</em> use your site, you have no idea if it&#8217;s actually accessible.  Period.  You may have followed best practices to improve its accessibility, but you just don&#8217;t know if it passes the test unless you test.</p>
<p>That said, I have no idea how accessible the new ESPN.com is in the real world.  I imagine it&#8217;s ok, but certainly not perfect.</p>
<h3>New Story Pages</h3>
<p>I don&#8217;t have a whole lot of objective things to say about the new story pages, but they look cleaner than the previous incarnation.  Very readable, very uncluttered, and good video integration where appropriate.</p>
<h3>Navigation</h3>
<p>ESPN moved to top navigation a few years ago and they&#8217;ve never looked back.  I&#8217;ve long preached the benefits of putting your main navigation across the top of the screen and ESPN has fine-tuned their implementation with this release.  Good rollovers, good information architecture, and just all-around snappy.  I&#8217;d like to see msnbc.com move to top navigation with their next redesign.</p>
<h3>Video</h3>
<p>As mentioned above, gone is the awful autoplay video.  In its place is a video tab which is a lot more polite to users.  I don&#8217;t think many users will click on the video tab (because in general, no one clicks on tabs), but I do think when ESPN has great video, they&#8217;ll probably flip to &#8220;video mode&#8221; automatically&#8230; and I&#8217;m totally cool with that, as long as it doesn&#8217;t autoplay.</p>
<p>But it&#8217;s not all roses with the redesign.  I do have some issues with it:</p>
<h3>Below the Fold</h3>
<p>By far the worst thing about the redesign is the ghettoization of the below-the-fold area on the home page.  It&#8217;s tragically uninteresting. When I was working on the 2003 redesign, I remember <a href="http://www.espnmediazone.com/bios/Skipper_John.html" target="_blank">John Skipper</a> (rightfully) making a big deal about how important the below-the-fold area of the front page was and how we needed to make better use of it.  The last redesign had a nice Flash feature slideshow thing going on and that is now gone, in favor of the gigantic heads of ESPN columnists.  I love ESPN columnists, but their headshots add absolutely nothing to their stories.  It&#8217;s a huge waste of space and it&#8217;s subconsciously a very unattractive area to scroll to.</p>
<p>Because of this, the new ESPN frontpage is now more of a &#8220;glance and go&#8221; site for me now.  I don&#8217;t want to scroll because I have no confidence that there is anything worth scrolling to.  Compare that to, for instance, <a href="http://www.msnbc.com" target="_blank">the msnbc.com frontpage</a>, where there are a ton of things to keep you interested all the way to the bottom of the page.  I actually think msnbc.com is among the best in the industry at this.</p>
<p>One thing ESPN did to encourage people to scroll is put the main headline in the bottom area of the main marquee.  Sorry, my screen&#8217;s big enough to still see it anyway.  Not going to scroll.</p>
<h3>Tinting Red is Dangerous</h3>
<p>Unless your site caters to females, it&#8217;s always risky to tint your reds.  Even the slightest tinge of pink on a site like ESPN can ruin the whole look.  Generally ESPN has gone with shades of red (red plus black) or maintained very clear boundaries between reds and whites. With this redesign, there is a pretty noticeable gradient from red to light gray, and while it&#8217;s clear they limited the pink zone by using a steep gradient, it&#8217;s still noticeable.</p>
<h3>Minimal Customization</h3>
<p>I don&#8217;t see a whole lot of customization options besides the &#8220;My Headlines&#8221; tab.  It&#8217;s very hard to do customization well, but this strikes me as not much of an effort at all.</p>
<h3>Conclusion</h3>
<p>All in all, I think it&#8217;s a nice redesign.  Not one that knocks you on your ass and wows you to your core, but tasteful nonetheless. I found myself visiting competitive sites like <a href="http://sports.yahoo.com" target="_blank">Yahoo Sports</a>, <a href="http://www.cnnsi.com" target="_blank">CNNSI</a>, <a href="http://www.sportsline.com" target="_blank">Sportsline</a>, and <a href="http://www.foxsports.com" target="_blank">Fox Sports</a> to compare this against their latest versions, and after thinking about it, I still think ESPN&#8217;s design compares favorably to all comers.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.mikeindustries.com/blog/archive/2009/01/thoughts-on-the-espn.com-redesign/feed</wfw:commentRss>
		<slash:comments>31</slash:comments>
		</item>
		<item>
		<title>What Should Go in a Default RSS Feed?</title>
		<link>http://www.mikeindustries.com/blog/archive/2008/12/what-should-go-in-a-default-rss-feed</link>
		<comments>http://www.mikeindustries.com/blog/archive/2008/12/what-should-go-in-a-default-rss-feed#comments</comments>
		<pubDate>Sat, 27 Dec 2008 20:04:39 +0000</pubDate>
		<dc:creator>Mike D.</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[Design]]></category>

		<guid isPermaLink="false">http://www.mikeindustries.com/blog/?p=515</guid>
		<description><![CDATA[So after four or five years of not redesigning this site, I&#8217;m finally working up the energy to rearrange the furniture a little. Part of the motivation comes from realizing how much more I like the general design of my construction blog and the other part comes from the admission that a lot of the [...]<div><small><a href="http://www.mikeindustries.com/blog/archive/2008/12/what-should-go-in-a-default-rss-feed">Comments</a></small></div>]]></description>
				<content:encoded><![CDATA[<p>So after four or five years of not redesigning this site, I&#8217;m finally working up the energy to rearrange the furniture a little. Part of the motivation comes from realizing how much more I like the general design of my <a href="http://www.ahousebythepark.com" target="_blank">construction blog</a> and the other part comes from the admission that a lot of the things I want to update my site with regularly are not articles about web design and development, and in some cases, not articles at all.</p>
<p>The first question to answer in this redesign is: what are the discrete types of content I will be posting once the redesign is complete.  So far, this is what I&#8217;ve come up with &#8211;</p>
<ol>
<li>Web design and development articles</li>
<li>Other articles</li>
<li>Product Recommendations</li>
<li>Random links of interest, a la what&#8217;s in my sidebar right now</li>
<li>Newsvine seeds linking to interesting news stories I&#8217;ve read lately</li>
<li>Photos</li>
<li>Videos</li>
<li>Links to latest entries on A House By The Park</li>
<li>Latest Twitter posts</li>
</ol>
<p>The items are more or less in order of what I think people would be interested in. The first three would be full text posts and the rest would be in some sort of compact form, either inline with the rest of the posts or more likely in a sidebar.</p>
<p>So far so good.  I&#8217;m pretty confident I can pull all of that off with not too much work.  The problem, however, is how that all manifests in an RSS feed.  WordPress has a great feature where you can mix and match categories into different RSS feeds &#8212; which I fully plan to do &#8212; but what goes in the <em>default feed</em>?  That is the $64,000 question.  With somewhere between 5,000 and 10,000 subscribers, I don&#8217;t want to piss anybody off by shoving a lot more updates in there to relatively meaningless things like Twitter entries. As a reader, I prefer to subscribe to RSS feeds that update once or twice a week max and if one of my favorite blogs shoved the whole kitchen sink into their feed suddenly, I might unsubscribe.</p>
<p>On the other hand, however, I&#8217;ve had plenty of people say things to me like &#8220;I used to always read your blog&#8230; back when you updated it!&#8221; &#8212; clearly implying that 2 or 3 updates a month isn&#8217;t cutting it.</p>
<div >
<div id="div_2008-12-27-rssfeeds" class="poll">
<form id="form_2008-12-27-rssfeeds" name="form_2008-12-27-rssfeeds">
<h3>Mike Industries Poll</h3>
<p class="question">What should go in the default existing Mike Industries RSS Feed?</p>
<table>
<tr valign="top">
<td><input type="radio" name="pollAnswer" id="0" value="0" /></td>
<td><label for="0">Full articles (updates 2-3x a month)</label></td>
</tr>
<tr valign="top">
<td><input type="radio" name="pollAnswer" id="1" value="1" /></td>
<td><label for="1">Full articles and interesting links (updates 2-3x a week)</label></td>
</tr>
<tr valign="top">
<td><input type="radio" name="pollAnswer" id="2" value="2" /></td>
<td><label for="2">Basically everything except Twitter posts (updates 2-4x a week)</label></td>
</tr>
<tr valign="top">
<td><input type="radio" name="pollAnswer" id="3" value="3" /></td>
<td><label for="3">Everything (who knows)</label></td>
</tr>
</table>
<p><input type="button" value="VOTE" onclick="voteInPoll('2008-12-27-rssfeeds', 'You did not place a vote.');" /><br />
</form>
</div>
</div>
<p>So the first question to answer is &#8220;what should go in the default feed?&#8221;  If you&#8217;re a current Mike Industries RSS subscriber, please vote in the poll to the right.</p>
<p>The second question is not really something I need votes on, but perhaps should be discussed in the comments below: when offering custom RSS feeds, is the best practice to create them by opting <em>out</em> of categories or opting <em>in</em>?  Here are the two ways you can custom feeds in WordPress &#8211;</p>
<p>http://www.example.com/feed?cat=1,2,3</p>
<p>(Returns a feed with items from categories 1, 2, and 3)</p>
<p>or</p>
<p>http://www.example.com/feed?cat=-4,-5,-6</p>
<p>(Returns a feed with all items <em>except</em> from categories 4, 5, and 6)</p>
<p>The user interface for creating each style of feed can still be identical (a bunch of checkboxes), but the nature of the subscription is subtly different. Let&#8217;s say you&#8217;re subscribed to the first feed and I add a 7th category.  Say category 7 is links to a third blog that is created at some time in the future.  If you&#8217;re subscribed to the first feed, you won&#8217;t get the new stuff.  If you&#8217;re subscribed to the second feed, however, you will, because you haven&#8217;t specifically excluded category 7.  There are advantages and disadvantages to each.  If you have any insight into this or any other related issue, I would love to hear your comments below.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.mikeindustries.com/blog/archive/2008/12/what-should-go-in-a-default-rss-feed/feed</wfw:commentRss>
		<slash:comments>20</slash:comments>
		</item>
		<item>
		<title>LazyWeb Request: Date-Based Theme Switcher for WordPress</title>
		<link>http://www.mikeindustries.com/blog/archive/2008/11/lazyweb-request-date-based-theme-switcher-for-wordpress</link>
		<comments>http://www.mikeindustries.com/blog/archive/2008/11/lazyweb-request-date-based-theme-switcher-for-wordpress#comments</comments>
		<pubDate>Sat, 15 Nov 2008 20:10:22 +0000</pubDate>
		<dc:creator>Mike D.</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[Design]]></category>

		<guid isPermaLink="false">http://www.mikeindustries.com/blog/?p=494</guid>
		<description><![CDATA[Jason Santa Maria said something in his last post about art directing blog entries that struck a chord with me: &#8220;I am a huge proponent of preservation on the web. If and when I redesign, I will archive this version like I did with my last. I think it&#8217;s important to keep content and design [...]<div><small><a href="http://www.mikeindustries.com/blog/archive/2008/11/lazyweb-request-date-based-theme-switcher-for-wordpress">Comments</a></small></div>]]></description>
				<content:encoded><![CDATA[<p>Jason Santa Maria <a href="http://jasonsantamaria.com/articles/progress-report/" target="_blank">said something in his last post</a> about art directing blog entries that struck a chord with me:</p>
<blockquote><p>&#8220;I am a huge proponent of preservation on the web. If and when I redesign, I will archive this version like I did with <a href="http://v3.jasonsantamaria.com/" target="_blank">my last</a>. I think it&#8217;s important to keep content and design paired together when possible. That&#8217;s where the context and meaning live.&#8221;</p></blockquote>
<p>I agree with Jason and his reasoning is part of why I haven&#8217;t redesigned Mike Industries since launching it almost five years ago: I don&#8217;t like the idea of changing the visual context of past entries or having to make a new design backwards-compatible, especially with with some of the more <a href="http://www.mikeindustries.com/blog/archive/2004/08/smart-urls-and-smarter-404s">visually complex</a> entries that have appeared <a href="http://www.mikeindustries.com/blog/archive/2005/05/ipod-giveaway-2">from time to time</a>.</p>
<p>While I like Jason&#8217;s idea of archiving entire versions of his old sites at different subdomains, I think I&#8217;d actually rather just set a cut-off date whereby every blog post older than that date uses the old theme and every other page or post on the site uses a new theme.  In searching around, I can&#8217;t find a way to do this in WordPress.  It seems like something that could be the basis for a very useful plug-in.  Call it &#8220;WP Non-Destructive Redesign&#8221; maybe.</p>
<p>Any WordPress hotshots out there know how something like this could be accomplished? For the quick and dirty version, ideally you&#8217;d first officially switch to a new theme and then there would be one setting in the plug-in&#8217;s options which would let you specify a cut-off date and a theme name to apply to the old stuff.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.mikeindustries.com/blog/archive/2008/11/lazyweb-request-date-based-theme-switcher-for-wordpress/feed</wfw:commentRss>
		<slash:comments>20</slash:comments>
		</item>
	</channel>
</rss>
