<?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>Zach Holmquist &#187; Random</title>
	<atom:link href="http://www.zachholmquist.com/category/random/feed" rel="self" type="application/rss+xml" />
	<link>http://www.zachholmquist.com</link>
	<description>Musings of a Salt Lake City Web Developer</description>
	<lastBuildDate>Sat, 31 Oct 2009 21:15:04 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.5</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Moving to : zach.holmquist.me</title>
		<link>http://www.zachholmquist.com/moving-to-zach-holmquist-me</link>
		<comments>http://www.zachholmquist.com/moving-to-zach-holmquist-me#comments</comments>
		<pubDate>Sat, 31 Oct 2009 21:15:04 +0000</pubDate>
		<dc:creator>Zach</dc:creator>
				<category><![CDATA[Random]]></category>

		<guid isPermaLink="false">http://www.zachholmquist.com/?p=194</guid>
		<description><![CDATA[Well . . . as much as I have enjoyed WordPress, I felt like I am not doing a good enough job updating! I am not a blogger, and WordPress makes me feel like I have to produce good, long content on a fairly regular basis. 
I have decided to move off of this domain, [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;"><a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.zachholmquist.com%2Fmoving-to-zach-holmquist-me"><img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.zachholmquist.com%2Fmoving-to-zach-holmquist-me" height="61" width="51" /></a></div><p><span class="drop">W</span>ell . . . as much as I have enjoyed WordPress, I felt like I am not doing a good enough job updating! I am not a blogger, and WordPress makes me feel like I have to produce good, long content on a fairly regular basis. </p>
<p>I have decided to move off of this domain, go to something more unique. In the process I have dropped WordPress and built my own solution in the Python Framework Django. So check it out at : <a href="http://zach.holmquist.me">http://zach.holmquist.me</a> &#8211; I will be moving the content from here to there and will begin redirecting everything!</p>
<p>Let the good times roll!</p>
<div class="tweetmeme_button" style="float: right; margin-left: 10px;"><a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.zachholmquist.com%2Fmoving-to-zach-holmquist-me"><img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.zachholmquist.com%2Fmoving-to-zach-holmquist-me" height="61" width="51" /></a></div>]]></content:encoded>
			<wfw:commentRss>http://www.zachholmquist.com/moving-to-zach-holmquist-me/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Building Walt&#8217;s Dream- Video of Disneyland&#8217;s Construction</title>
		<link>http://www.zachholmquist.com/building-walts-dream-video-of-disneylands-construction</link>
		<comments>http://www.zachholmquist.com/building-walts-dream-video-of-disneylands-construction#comments</comments>
		<pubDate>Sun, 26 Jul 2009 18:30:30 +0000</pubDate>
		<dc:creator>Zach</dc:creator>
				<category><![CDATA[Random]]></category>
		<category><![CDATA[Disney]]></category>
		<category><![CDATA[Disneyland]]></category>
		<category><![CDATA[Geek]]></category>

		<guid isPermaLink="false">http://www.zachholmquist.com/?p=171</guid>
		<description><![CDATA[I have mentioned it on my Twitter Stream &#8211; I am a Disney Geek. Without shame I spent a few hours watching some POV&#8217;s of different rides in preparation for our Disney World trip in August. While in the midst of awful cam footage, I came across a little gem on YouTube that shows incredible [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;"><a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.zachholmquist.com%2Fbuilding-walts-dream-video-of-disneylands-construction"><img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.zachholmquist.com%2Fbuilding-walts-dream-video-of-disneylands-construction" height="61" width="51" /></a></div><p style="clear: both"><span class="drop">I</span> have mentioned it on my Twitter Stream &#8211; I am a Disney Geek. Without shame I spent a few hours <a href="http://www.youtube.com/watch?v=g_ABgBTSMm8" target="_blank">watching some POV&#8217;s</a> of different rides in preparation for our Disney World trip in August. While in the midst of awful cam footage, I came across a little gem on YouTube that shows incredible video of Disneyland being built. It is stunning and an absolute thrill to watch! So if you are even the slightest bit a Disney Fan, do yourself a favor and watch : &#8220;<a href="http://www.youtube.com/view_play_list?p=CA4871577B189E48" target="_blank">Building Walt&#8217;s Dream</a>&#8220;. <em><br />
</em></p>
<p style="clear: both"><em>Note : This is in 5 Parts on YouTube, below is just Part One.</em></p>
<p style="clear: both"><span style=" text-align: center; display: block; margin: 0 auto 10px;"><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="380" height="307" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="allowFullScreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="src" value="http://www.youtube.com/v/U7NooXnWm5U&amp;hl=en&amp;fs=1&amp;" /><param name="allowfullscreen" value="true" /><embed type="application/x-shockwave-flash" width="380" height="307" src="http://www.youtube.com/v/U7NooXnWm5U&amp;hl=en&amp;fs=1&amp;" allowscriptaccess="always" allowfullscreen="true"></embed></object></span></p>
<p>ns9zxvypg2</p>
<div class="tweetmeme_button" style="float: right; margin-left: 10px;"><a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.zachholmquist.com%2Fbuilding-walts-dream-video-of-disneylands-construction"><img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.zachholmquist.com%2Fbuilding-walts-dream-video-of-disneylands-construction" height="61" width="51" /></a></div>]]></content:encoded>
			<wfw:commentRss>http://www.zachholmquist.com/building-walts-dream-video-of-disneylands-construction/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Tag Cloud of President Obama&#8217;s Speech</title>
		<link>http://www.zachholmquist.com/tag-cloud-of-president-obamas-speech</link>
		<comments>http://www.zachholmquist.com/tag-cloud-of-president-obamas-speech#comments</comments>
		<pubDate>Tue, 20 Jan 2009 17:25:58 +0000</pubDate>
		<dc:creator>Zach</dc:creator>
				<category><![CDATA[Random]]></category>

		<guid isPermaLink="false">http://www.zachholmquist.com/?p=47</guid>
		<description><![CDATA[
Click to Enlarge
UPDATE
As requested in the comments, the 2nd Inaugural Speech of George W. Bush:

Click to Enlarge
]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;"><a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.zachholmquist.com%2Ftag-cloud-of-president-obamas-speech"><img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.zachholmquist.com%2Ftag-cloud-of-president-obamas-speech" height="61" width="51" /></a></div><p><a href="http://www.zachholmquist.com/wp-content/uploads/2009/01/picture-51.png"><img class="aligncenter size-full wp-image-50" title="Obama Inauguration Speech Tag Cloud" src="http://www.zachholmquist.com/wp-content/uploads/2009/01/picture-51.png" alt="Obama Inauguration Speech Tag Cloud" width="500" height="245" /><br />
Click to Enlarge</a></p>
<p><strong><span class="drop">U</span>PDATE</strong></p>
<p>As requested in the comments, the 2nd Inaugural Speech of George W. Bush:</p>
<p><a href="http://www.zachholmquist.com/wp-content/uploads/2009/01/picture-6.png"><img class="aligncenter size-full wp-image-58" title="2nd Inaugural Speech of George W. Bush" src="http://www.zachholmquist.com/wp-content/uploads/2009/01/picture-6.png" alt="2nd Inaugural Speech of George W. Bush" height="245" /><br />
Click to Enlarge</a></p>
<div class="tweetmeme_button" style="float: right; margin-left: 10px;"><a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.zachholmquist.com%2Ftag-cloud-of-president-obamas-speech"><img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.zachholmquist.com%2Ftag-cloud-of-president-obamas-speech" height="61" width="51" /></a></div>]]></content:encoded>
			<wfw:commentRss>http://www.zachholmquist.com/tag-cloud-of-president-obamas-speech/feed</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Javascript Debugging : console.debug()</title>
		<link>http://www.zachholmquist.com/javascript-debugging-consoledebug</link>
		<comments>http://www.zachholmquist.com/javascript-debugging-consoledebug#comments</comments>
		<pubDate>Fri, 09 Jan 2009 07:48:44 +0000</pubDate>
		<dc:creator>Zach</dc:creator>
				<category><![CDATA[Random]]></category>

		<guid isPermaLink="false">http://www.zachholmquist.com/?p=33</guid>
		<description><![CDATA[These days there have been many advances in JavaScript, the biggest - in my opinion - is the most ignored of them all : console.debug()]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;"><a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.zachholmquist.com%2Fjavascript-debugging-consoledebug"><img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.zachholmquist.com%2Fjavascript-debugging-consoledebug" height="61" width="51" /></a></div><p><span class="drop">I</span> know! Everyone hates Javascript. Except for this weird breed of us that get high off client side interaction of things. Sadly, when JS was in its infancy most of us were developing in IE6 and error messages for bugs were cryptic and useless . . . and at the time JS was being used for adding falling snow on a site, or a countdown to the year 2000.</p>
<p>These days there have been many advances in JavaScript, the biggest &#8211; in my opinion &#8211; is the most ignored of them all : console.debug()</p>
<p>From the old days of JS programming, we would do something like:</p>
<p><code>var x = 5;<br />
var y = 5;<br />
var z = x+y;<br />
alert(z);</code></p>
<p>This would pop up an alert box with the number 10 in it.</p>
<p>The problem with using alert()&#8217;s is when you try to do a loop and the loop never ends because of a coding error and alert boxes are going off everywhere. At which point you have to shutdown your browser and start all over and *hope* that things would fair better a second time.</p>
<p>There is a cure my friend: console.debug()</p>
<p>To use console.debug() you must be in FireFox with <a title="Firebug" href="http://getfirebug.com/" target="_blank">Firebug</a> installed. If you don&#8217;t know what Firebug is yet, you have been doing it all wrong for far too long! Write your code as normal, but swap the alert() for a console.debug() :</p>
<p><code>var x = 5;<br />
var y = 5;<br />
var z = x+y;<br />
<span style="text-decoration: line-through;">alert(z)</span><br />
console.debug(z)</code></p>
<p>Refresh your page, launch Firebug and there inside is &#8220;5&#8243;! Amazing isn&#8217;t it?! It gets better though! Firebug gives you Object Inspection, which is incredibly useful when working with others libraries or trying to figure out how to access elements in a JSON object:</p>
<div id="attachment_34" class="wp-caption aligncenter" style="width: 310px"><a href="http://www.zachholmquist.com/wp-content/uploads/2009/01/picture-3.png"><img class="size-medium wp-image-34" title="Firebug In Action ( click for bigger image )" src="http://www.zachholmquist.com/wp-content/uploads/2009/01/picture-3-300x187.png" alt="Firebug In Action ( click for bigger image )" width="300" height="187" /></a><p class="wp-caption-text">Firebug In Action ( click for bigger image )</p></div>
<p>So there you have it, if you are not using console.debug() &#8211; start . . . now! If you are stuck in your alert() ways &#8211; I have a solution &#8211; override your alert():</p>
<p><code>window.alert = function(e) {<br />
<span> </span>console.debug(e);<br />
}</code></p>
<p>Just remember console.debug() does NOT work in IE, nor does it work in Safari, so make sure to comment/remove them before you test in those browsers. If you want to use the Debug Console in Safari ( it is tucked under Develop &gt; Show Error Console ) ( Turn Develop Menu on in Preferences ) you must use :</p>
<p><code>window.console.log( e );</code></p>
<p>Also for some reason, you sometimes have to enable Firebug&#8217;s console with:</p>
<div><code>window.loadFirebugConsole();</code></div>
<div>More information at: <a href="http://getfirebug.com/console.html">http://getfirebug.com/console.html</a></div>
<div class="tweetmeme_button" style="float: right; margin-left: 10px;"><a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.zachholmquist.com%2Fjavascript-debugging-consoledebug"><img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.zachholmquist.com%2Fjavascript-debugging-consoledebug" height="61" width="51" /></a></div>]]></content:encoded>
			<wfw:commentRss>http://www.zachholmquist.com/javascript-debugging-consoledebug/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Decoding Emotion and Coding to Color</title>
		<link>http://www.zachholmquist.com/decoding-emotion-and-coding-to-color</link>
		<comments>http://www.zachholmquist.com/decoding-emotion-and-coding-to-color#comments</comments>
		<pubDate>Sat, 03 Jan 2009 06:14:45 +0000</pubDate>
		<dc:creator>Zach</dc:creator>
				<category><![CDATA[Random]]></category>

		<guid isPermaLink="false">http://www.zachholmquist.com/?p=18</guid>
		<description><![CDATA[My mother is an interior designer and she loves color. 
Being this way she taught me that every color conveys an emotion, and even more than that, color carries with it energy that is subtly picked up by the viewer. As a Developer, the correlation of emotion and color has always fascinated me, so I decided to finally [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;"><a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.zachholmquist.com%2Fdecoding-emotion-and-coding-to-color"><img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.zachholmquist.com%2Fdecoding-emotion-and-coding-to-color" height="61" width="51" /></a></div><p><span class="drop">M</span>y mother is an interior designer and she loves color. </p>
<p>Being this way she taught me that every color conveys an emotion, and even more than that, color carries with it energy that is subtly picked up by the viewer. As a Developer, the correlation of emotion and color has always fascinated me, so I decided to finally try and put both my interest in color and my interest in words together.</p>
<p>The idea is simple, parse out &#8220;emotion&#8221; from text and then from there translate those emotions into color. Simple right?! I am not going to go into getting the emotion from text, at least not in this post &#8211; this post will focus on how I derived a formula to figure out the translation of emotion to color.</p>
<p>First I defined some base emotions to find a pattern, these emotions are: pleased, subdued, unhappy, aggressive, excited, relaxed :</p>
<p style="text-align: center;"><img class="size-medium wp-image-19 aligncenter" title="Mood Colors" src="http://www.zachholmquist.com/wp-content/uploads/2009/01/mood-ring-color-chart-275x300.jpg" alt="Mood Colors" width="275" height="300" /></p>
<p>Using my fancy color picker in Photoshop, I found the Red Green and Blue ( RGB ) for each of those emotions. While doing this I quickly noticed a pattern in these colors, either they were a strong representation of a base color &#8211; 255 &#8211; or low representation &#8211; 0 &#8211; and if they were kind of neutral &#8211; 51 . Thus, using the table above &#8211; I came up with the RGB values below:</p>
<ul>
<li>pleased : [0,255,255], // no R. strong G. strong B.</li>
<li>subdued : [51,0,255], // med R. no G. strong B.</li>
<li>unhappy : [255,0,255], // strong R. no G. strong B.</li>
<li>agressive : [255,0,0], //strong R. no G. no B.</li>
<li>excited : [255,255,51], // strong R. strong G. no B.</li>
<li>relaxed : [51,255,51], // med R. strong G. med b</li>
</ul>
<p>Once I had this list, I broke it down into a table of all the emotions and their intensity of either Red, Green, or Blue. A Strong Red emotion contained: Aggressive, Excited, and Unhappy. All terms that are rather extreme &#8211; so I correlated Extreme emotions with a Strong ( 255 ) Red. I did this with each Red, Green and Blue until I was able to map out key feelings of a color.</p>
<p>All this research left me with a general idea of how this would work in code. Each emotion would be represented in RGB &#8211; and each of colors would hold one of three values : 0, 51, and 255. From there I would be able to decide and create a table of emotion and color values . . .</p>
<p>A couple of examples &#8211; the word &#8220;happy&#8221; . . . Red which is aggressive we could say is 255, Green which is a relaxed and neutral color would also be 255, and Blue which is a high emotion color would be 0. Our color :</p>
<div style="background: #ffff00; padding: 10px; text-align: center; width: 50px; border: 1px solid;">happy</div>
<p>Lets try &#8220;die&#8221; -easy enough &#8211; if you are dead, you are nothing &#8211; no color : R: 0, G: 0, B: 0 Our result:</p>
<p> 
<div style="background: rgb(0,0,0); padding: 10px; text-align: center; width: 50px; border: 1px solid;">die</div>
<p>So now I have a large database of emotion and color, it took a bit of time, but I think I am satisfied with the results. When I parse in text, I pull out all the common words: &#8220;a&#8221;, &#8220;the&#8221;, &#8220;an&#8221;  etc. and from there I match up words from the text with words I have in the database &#8211; I average out each color value &#8211; and I tend to have a good representation of the general emotion of the text.</p>
<p>A quick example : &#8220; I will be so happy when you die&#8221; &#8211; our emotions are happy and die. Red : ( 255 + 0 ) / 2 = 127, Green: ( 255 + 0 ) / 2 = 127, and Blue: ( 0 + 0 ) / 2 = 0 . . . so we have the RGB values of 127, 127, 0 &#8211; our result:</p>
<p> 
<div style="background: rgb(127,127,0); padding: 10px; text-align: center; width: 200px; border: 1px solid;">I will be so happy when you die</div>
<p>I think a nice gut puke color sums up that statement quite well. </p>
<p>On a final note &#8211; the colors are bias to how I feel about each emotion, but on general I think most people agree with what I have chosen. Since I am using this in a sorta secret at the moment project, I cannot go into much more detail . . . in future posts I will make sure to cover the code I use to do this.</p>
<div class="tweetmeme_button" style="float: right; margin-left: 10px;"><a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.zachholmquist.com%2Fdecoding-emotion-and-coding-to-color"><img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.zachholmquist.com%2Fdecoding-emotion-and-coding-to-color" height="61" width="51" /></a></div>]]></content:encoded>
			<wfw:commentRss>http://www.zachholmquist.com/decoding-emotion-and-coding-to-color/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Zach Holmquist : The Blog</title>
		<link>http://www.zachholmquist.com/zach-holmquist-the-blog</link>
		<comments>http://www.zachholmquist.com/zach-holmquist-the-blog#comments</comments>
		<pubDate>Thu, 04 Dec 2008 07:27:34 +0000</pubDate>
		<dc:creator>Zach</dc:creator>
				<category><![CDATA[Random]]></category>

		<guid isPermaLink="false">http://zachholmquist.com/?p=3</guid>
		<description><![CDATA[I am a Full-Time Web Developer in Salt Lake City, Utah. I do a lot of the front end coding, which means I am always knee deep in Javascript and CSS &#8220;Black Magic&#8221;. I am not much of a designer &#8211; but I think I am getting better as time rolls on . . . [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;"><a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.zachholmquist.com%2Fzach-holmquist-the-blog"><img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.zachholmquist.com%2Fzach-holmquist-the-blog" height="61" width="51" /></a></div><p><span class="drop">I</span> am a Full-Time Web Developer in Salt Lake City, Utah. I do a lot of the front end coding, which means I am always knee deep in Javascript and CSS &#8220;Black Magic&#8221;. I am not much of a designer &#8211; but I think I am getting better as time rolls on . . . you can be the judge of that ! I intend this blog to hold snippets of all the random random I come across as I journey around the Internet.</p>
<div class="tweetmeme_button" style="float: right; margin-left: 10px;"><a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.zachholmquist.com%2Fzach-holmquist-the-blog"><img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.zachholmquist.com%2Fzach-holmquist-the-blog" height="61" width="51" /></a></div>]]></content:encoded>
			<wfw:commentRss>http://www.zachholmquist.com/zach-holmquist-the-blog/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
