<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:dc="http://purl.org/dc/elements/1.1/" version="2.0"><channel><atom:link rel="hub" href="http://tumblr.superfeedr.com/" xmlns:atom="http://www.w3.org/2005/Atom"/><description>My name is Michael Head. I’m a web developer by trade and a problem solver by birth. I love good design, human-friendly interfaces, and danishes.</description><title>Michael's Headquarters</title><generator>Tumblr (3.0; @michaelhead)</generator><link>http://michaelehead.com/</link><item><title>Changing terminal colors for Webfaction SSH sessions</title><description>&lt;a href="http://community.webfaction.com/questions/771/changing-bashrc-ls-colors"&gt;Changing terminal colors for Webfaction SSH sessions&lt;/a&gt;: &lt;p&gt;I was trying to figure out how to change the color of directory names in Terminal.app when I SSH into my Webfaction server. Fortunately it was as simple as copying /etc/DIR_COLORS to ~/.dir_colors, then changing DIR 01;34 to DIR 01;37 in that file. I think the white color is much more readable in Mac OS X terminal compared to the blue.&lt;/p&gt;</description><link>http://michaelehead.com/post/16173801624</link><guid>http://michaelehead.com/post/16173801624</guid><pubDate>Fri, 20 Jan 2012 11:08:00 -0500</pubDate></item><item><title>Using Charles Proxy with Google Chrome on Mac OS X</title><description>&lt;p&gt;I’ve been using &lt;a href="http://www.charlesproxy.com/" title="Go to the Charles Proxy website in a new window." target="_blank"&gt;Charles Proxy&lt;/a&gt; to test on a development environment before pushing new front-end code to the environment itself. However, I wasn’t able to get it to work in Google Chrome “out of the box”. It turns out that Google Chrome uses the operating system’s proxy settings, so you actually have to alter the built-in Mac OS X proxy settings for it to work. &lt;/p&gt;
&lt;p&gt;First, check to see what port # Charles Proxy is using: Proxy &gt; Proxy Settings menu (this defaults to “8888”)&lt;/p&gt;
&lt;p&gt;Next, configure the Mac OS X proxy by going into System Preferences &gt; Network &gt; Advanced &gt; Proxies. Put the host as “127.0.0.1” (your local machine) and the port number as whatever you found from Proxy Settings above. &lt;/p&gt;
&lt;p&gt;&lt;img alt="Screenshot of Mac OS X Network Proxy settings." height="187" src="http://demos.michaelehead.com/images/mac-os-x-web-proxy.gif" width="400"/&gt;&lt;/p&gt;
&lt;p&gt;An a different note: now I know that Tumblr isn’t the best blogging engine for providing tutorials due to its handling of images. You have to link to an image from within the post-writing interface (i.e. no way to upload an image right there). Disappointing. &lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Update: &lt;/strong&gt;I forgot to mention that if you turn Charles Proxy off, you must disable the Mac OS X web proxy, too. Otherwise, no webpages will load because you’re routing everything to your local machine. So, that can be a hassle. As a result, I’ve started using Proxy Switchy (a Chrome plugin) to be able to modify Chrome’s settings itself, rather than tinkering with the Mac OS X settings. &lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Update 2&lt;/strong&gt;: I still occasionally have problems with Charles Proxy picking up the HTTP traffic when using Google Chrome on Mac OS X, even with the Proxy Switchy plugin. As of this writing I’m using Charles Proxy v. 3.6.4, so I’m kind of at a loss. I’ll definitely post something if I find a definitive solution to make it &lt;em&gt;always&lt;/em&gt; work, rather than being a crapshoot.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Update 3&lt;/strong&gt;: I think some of the problems I was having came from using Charles Proxy when trying to use VPN for work. Charles Proxy &lt;em&gt;must be turned on before connecting to a VPN&lt;/em&gt;, otherwise it won’t see the traffic going over the VPN. After figuring out this proper order I haven’t had any issues for a month or so.&lt;/p&gt;</description><link>http://michaelehead.com/post/10593786996</link><guid>http://michaelehead.com/post/10593786996</guid><pubDate>Sat, 24 Sep 2011 08:05:00 -0400</pubDate><category>development</category><category>tools</category></item><item><title>Internet Explorer 7 redraw fix with JavaScript</title><description>&lt;p&gt;Twice now I’ve run across a problem with Internet Explorer 7 (and sometimes 8) having problems redrawing HTML when modifying the class on an element that contains several children. Usually I’m trying to swap a class to apply styles for a “grid view” of products or a “list view” of products. The &lt;em&gt;simplest&lt;/em&gt; solution I’ve found is mentioned in the comments of an &lt;a title="Ajaxian article on forcing an IE7 redraw" target="_blank" href="http://ajaxian.com/archives/forcing-a-ui-redraw-from-javascript"&gt;Ajaxian post&lt;/a&gt;. Here is the simple solution using jQuery (not that it matters; we had the selector already cached in my situation):&lt;/p&gt;
&lt;p&gt;&lt;code&gt; var productContainer = $('#product-container'); &lt;br/&gt; productContainer.css('display', 'none'); &lt;br/&gt; var productContainerTop = productContainer.offset().top; &lt;br/&gt; productContainer.css('display', 'block'); //or whatever display type needs to be reset&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;You grab the element, hide it, access it’s offset (while hidden), then restore it. I’m guessing this forces IE7 to re-calculate the offset when the item is hidden, even though you store the value and never use it, then making it visible again causes it to redraw properly. A wild guess, but these few lines work nonetheless. &lt;/p&gt;</description><link>http://michaelehead.com/post/10578198882</link><guid>http://michaelehead.com/post/10578198882</guid><pubDate>Fri, 23 Sep 2011 21:17:00 -0400</pubDate><category>ie</category><category>development</category><category>bug</category><category>cross-browser</category></item><item><title>Usability notes about Fifth Third's signup forms</title><description>&lt;p&gt;I was recently helping my mother sign up for online banking with &lt;a title="Fifth Third banking site" href="http://53.com"&gt;Fifth Third bank&lt;/a&gt;. Unfortunately, I didn’t get any screenshots of the experience (I didn’t want to interrupt her progress to take any), but I did make some mental notes of some usability issues:&lt;/p&gt;
&lt;ol&gt;&lt;li&gt;The “secret questions” offered for password recovery were &lt;em&gt;almost all&lt;/em&gt; ”favorite” questions (i.e. “what is your favorite dessert?”). Peoples favorites change over time—these aren’t reliable questions for recovering passwords. An alternative would be to let the user put in her own question and provide an answer.&lt;/li&gt;
&lt;li&gt;One of the “secret questions” was “What was your favorite band in college?”. After reading this question my mom said sarcastically “Thank you, I didn’t go to college”. &lt;em&gt;This mixes demographic information (business/domain knowledge) with the interface&lt;/em&gt;. The user doesn’t want to read about your assumptions about her background. Even though I don’t like the “favorite” questions overall, this one could easily be fixed by simply asking “What is your favorite band?”, without the assumption that the user went to college.&lt;/li&gt;
&lt;/ol&gt;&lt;p&gt;There were several other glaring issues that I wish I had been able to record but, as I said, I didn’t want it to turn into a usability session. Rather, I was just helping my mom get her task completed. Ironically, that’s what the website itself should have been doing. &lt;/p&gt;</description><link>http://michaelehead.com/post/9559552792</link><guid>http://michaelehead.com/post/9559552792</guid><pubDate>Mon, 29 Aug 2011 17:53:00 -0400</pubDate><category>usability</category><category>ux</category></item><item><title>"If you show something that looks like an error message in order to market something to the customer,..."</title><description>“If you show something that looks like an error message in order to market something to the customer, you are a bad person.”&lt;br/&gt;&lt;br/&gt; - &lt;em&gt;James Reffell (in Web Form Design by Luke Wroblewski)&lt;/em&gt;</description><link>http://michaelehead.com/post/9192233259</link><guid>http://michaelehead.com/post/9192233259</guid><pubDate>Sat, 20 Aug 2011 23:15:21 -0400</pubDate><category>user experience</category><category>design</category></item><item><title>Mapping a domain and "www" subdomain to tumblr blog</title><description>&lt;p&gt;Follow the &lt;a title="Tumblr docs on custom domains" href="http://www.tumblr.com/docs/en/custom_domains"&gt;instructions for a custom domain on tumblr&lt;/a&gt;, but make sure you leave off the “www” if you want your tumblelog to be your main site. I pointed the A record for “michaelehead.com” to the tumblr IP address for “michaelehead.com” (the @ address) and “www.michaelehead.com” so that both would direct users here. &lt;/p&gt;</description><link>http://michaelehead.com/post/9192172568</link><guid>http://michaelehead.com/post/9192172568</guid><pubDate>Sat, 20 Aug 2011 23:13:00 -0400</pubDate><category>tumblr</category><category>development</category></item><item><title>A farewell to re-inventing the blog</title><description>&lt;p&gt;I’m a web developer. As a web developer, I like to tinker with technology, try things out for myself, and try to build things myself. Well, as far as blogs go, I’ve decided to let &lt;a title="Tumblr: blog platform" href="http://www.tumblr.com/"&gt;tumblr&lt;/a&gt; handle all of that for me. I’m letting go of the reins completely—not even dealing with Wordpress. Let the folks at tumblr deal with integration with Twitter, or Facebook, or Google+, or Amazon-, or whatever the next big thing is. I’m going to focus on providing the best content I can, rather than focusing on how my database table for Posts relates to the Comments table. &lt;/p&gt;</description><link>http://michaelehead.com/post/9054311557</link><guid>http://michaelehead.com/post/9054311557</guid><pubDate>Wed, 17 Aug 2011 18:43:00 -0400</pubDate></item></channel></rss>

