<?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>Tyler Kieft &#187; Technical</title>
	<atom:link href="http://tylerkieft.com/archives/category/technical/feed/" rel="self" type="application/rss+xml" />
	<link>http://tylerkieft.com</link>
	<description></description>
	<lastBuildDate>Tue, 10 Jun 2008 16:07:19 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Measuring Saved Google Earth Paths</title>
		<link>http://tylerkieft.com/feeder/?FeederAction=clicked&amp;feed=Articles+%28RSS2%29&amp;seed=http%3A%2F%2Ftylerkieft.com%2Farchives%2F2007%2F05%2F11%2Fmeasuring-saved-google-earth-paths%2F&amp;seed_title=Measuring+Saved+Google+Earth+Paths</link>
		<comments>http://tylerkieft.com/feeder/?FeederAction=clicked&amp;feed=Articles+%28RSS2%29&amp;seed=http%3A%2F%2Ftylerkieft.com%2Farchives%2F2007%2F05%2F11%2Fmeasuring-saved-google-earth-paths%2F&amp;seed_title=Measuring+Saved+Google+Earth+Paths#comments</comments>
		<pubDate>Sat, 12 May 2007 03:29:09 +0000</pubDate>
		<dc:creator>Tyler</dc:creator>
				<category><![CDATA[Google]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[Technical]]></category>

		<guid isPermaLink="false">http://snier.com/archives/2007/05/11/measuring-saved-google-earth-paths/</guid>
		<description><![CDATA[Even though I consider myself quite skilled with computers, I am slow when it comes to applying technology to my life in new ways.  It was just last week that I decided to try out Google Earth&#8217;s &#8216;path&#8217; feature to measure the length of my run.  Unfortunately, when I got into the program, [...]]]></description>
			<content:encoded><![CDATA[<p>Even though I consider myself quite skilled with computers, I am slow when it comes to applying technology to my life in new ways.  It was just last week that I decided to try out Google Earth&#8217;s &#8216;path&#8217; feature to measure the length of my run.  Unfortunately, when I got into the program, I realized that a saved path couldn&#8217;t be measured, and a measured path couldn&#8217;t be saved. What a dilemma!</p>
<p><img src='http://snier.com/blog/images/2007/05/cobbspath.png' class='centered noborder' alt='Cobb’s Hill Run' /></p>
<p>After a little bit of searching, I discovered <a href="http://www.emaltd.net/google/gec/utilities/index.asp?l=en">a site</a> that will allow you to calculate the distance of any saved path in Google Earth.  If you highlight the path name in the sidebar and copy it, you can paste it into the box on the site as xml.</p>
<p>The picture above is the run I did last Saturday, before exams destroyed my life.  School is on the left and the Cobb&#8217;s Hill Reservoir, my destination, is on the far right.  The path I made put the distance at 9.3 miles.  I&#8217;ve made the kmz file available for <a href="/blog/downloads/cobbshill.kmz">download</a>.</p>
<p>I suppose I could just measure the path once, but I really would like to be able to keep these paths, for two reasons.  It would be nice to be able to change them later on, in case I make a slight variation on a run.  But the real reason is that I just love data.  I think it would be really neat to make an entire collection of the runs that my team does, and then put them on the internet for anyone to download &#8211; new freshmen, other area runners, etc.</p>
<p>I also want to use Google Earth to find some new places to run this summer.  I&#8217;ve been canvassing the same trails for five or six years, and they are getting worn out.  A lot of my runs need to be extended to fit college training distance as well.</p>
]]></content:encoded>
			<wfw:commentRss>http://tylerkieft.com/feeder/?FeederAction=clicked&amp;feed=Articles+%28RSS2%29&amp;seed=http%3A%2F%2Ftylerkieft.com%2Farchives%2F2007%2F05%2F11%2Fmeasuring-saved-google-earth-paths%2F&amp;seed_title=Measuring+Saved+Google+Earth+Paths/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>TextMate Lacks A VHDL Bundle</title>
		<link>http://tylerkieft.com/feeder/?FeederAction=clicked&amp;feed=Articles+%28RSS2%29&amp;seed=http%3A%2F%2Ftylerkieft.com%2Farchives%2F2007%2F03%2F12%2Ftextmate-lacks-a-vhdl-bundle%2F&amp;seed_title=TextMate+Lacks+A+VHDL+Bundle</link>
		<comments>http://tylerkieft.com/feeder/?FeederAction=clicked&amp;feed=Articles+%28RSS2%29&amp;seed=http%3A%2F%2Ftylerkieft.com%2Farchives%2F2007%2F03%2F12%2Ftextmate-lacks-a-vhdl-bundle%2F&amp;seed_title=TextMate+Lacks+A+VHDL+Bundle#comments</comments>
		<pubDate>Mon, 12 Mar 2007 19:42:23 +0000</pubDate>
		<dc:creator>Tyler</dc:creator>
				<category><![CDATA[Apple]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[Technical]]></category>

		<guid isPermaLink="false">http://snier.com/archives/2007/03/12/textmate-lacks-a-vhdl-bundle/</guid>
		<description><![CDATA[I am relatively new to TextMate, having been converted from Emacs less than a year ago.  Emacs (pictured below) has extensive support for coding in VHDL.  I was quite surprised, then, when I learned that there is no VHDL bundle available for TextMate.  It turns out that both VHDL and Verilog (the [...]]]></description>
			<content:encoded><![CDATA[<p><img src='http://snier.com/blog/images/2007/03/tmpurple.png' width='64' class='noborder alignleft' alt='TextMate' />I am relatively new to <a href="http://macromates.com">TextMate</a>, having been converted from <a href="http://www.gnu.org/software/emacs/">Emacs</a> less than a year ago.  Emacs (pictured below) has extensive support for coding in VHDL.  I was quite surprised, then, when I learned that there is no VHDL bundle available for TextMate.  It turns out that both VHDL and Verilog (the two most popular hardware description languages) are on the <a href="http://macromates.com/svn/Bundles/trunk/Bundles/">bundle request list</a>.</p>
<p><a href="http://snier.com/blog/images/2007/03/emacsvhdl.png"><img src='http://snier.com/blog/images/2007/03/emacsvhdl.png' class='centered' width='350' alt='Editing VHDL in Emacs' /></a></p>
<p>When I think about this more, it makes sense.  The Macintosh is not the platform of choice for hardware designers, who are probably using UNIX or Linux.  The VHDL simulation software that we use in school only runs on Windows, but there are some command-line simulation tools such as GHDL that have been ported to run on Mac OS X.</p>
<p>I&#8217;m considering writing my own bundle, which would be a good excuse to buy that <a href="http://www.pragmaticprogrammer.com/titles/textmate/index.html">new TextMate book</a> that I&#8217;ve been wanting.  Syntax highlighting and commonly used snippets/declarations would be the main priority, followed in the future by GHDL integration.  Of course, I would add the bundle to the Macromates SVN repository once it was in a useful state.</p>
<p>If you got here from Google, what functionality would you like to see in a TextMate VHDL bundle?</p>
]]></content:encoded>
			<wfw:commentRss>http://tylerkieft.com/feeder/?FeederAction=clicked&amp;feed=Articles+%28RSS2%29&amp;seed=http%3A%2F%2Ftylerkieft.com%2Farchives%2F2007%2F03%2F12%2Ftextmate-lacks-a-vhdl-bundle%2F&amp;seed_title=TextMate+Lacks+A+VHDL+Bundle/feed/</wfw:commentRss>
		<slash:comments>12</slash:comments>
		</item>
		<item>
		<title>Hacking Fullscreen without Quicktime Pro</title>
		<link>http://tylerkieft.com/feeder/?FeederAction=clicked&amp;feed=Articles+%28RSS2%29&amp;seed=http%3A%2F%2Ftylerkieft.com%2Farchives%2F2006%2F12%2F06%2Fhacking-fullscreen-without-quicktime-pro%2F&amp;seed_title=Hacking+Fullscreen+without+Quicktime+Pro</link>
		<comments>http://tylerkieft.com/feeder/?FeederAction=clicked&amp;feed=Articles+%28RSS2%29&amp;seed=http%3A%2F%2Ftylerkieft.com%2Farchives%2F2006%2F12%2F06%2Fhacking-fullscreen-without-quicktime-pro%2F&amp;seed_title=Hacking+Fullscreen+without+Quicktime+Pro#comments</comments>
		<pubDate>Wed, 06 Dec 2006 20:24:32 +0000</pubDate>
		<dc:creator>Tyler</dc:creator>
				<category><![CDATA[Apple]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[Technical]]></category>

		<guid isPermaLink="false">http://snier.com/archives/2006/12/06/hacking-fullscreen-without-quicktime-pro/</guid>
		<description><![CDATA[As mentioned in this article at TUAW, the fullscreen behavior of applications such as QuickTime, DVD Player, and iTunes is determined by the preferences in the Quicktime Player application.  If you have two monitors, and you want fullscreen video to show up on the secondary monitor, you must change the preferences in QuickTime.  [...]]]></description>
			<content:encoded><![CDATA[<p>As mentioned in <a href="http://www.tuaw.com/2006/12/06/tuaw-tip-rockin-multiple-monitors-with-your-mac/">this article</a> at TUAW, the fullscreen behavior of applications such as QuickTime, DVD Player, and iTunes is determined by the preferences in the Quicktime Player application.  If you have two monitors, and you want fullscreen video to show up on the secondary monitor, you must change the preferences in QuickTime.  However, if you do not have QuickTime Pro, you cannot access these preferences through the application.  This article describes how to enable fullscreen in QuickTime (the non-Pro version) and how to manipulate some of these preferences to determine which monitor the output is on.</p>
<p><strong>Enable Fullscreen</strong>: This tip comes from <a href="http://www.macworld.com/weblogs/mac911/2005/08/fullscreen/index.php">Macworld</a>.  The easiest way to get fullscreen in QuickTime without buying the Pro version is with a simple AppleScript.  Open up Script Editor, located at <code>/Applications/AppleScript/Script Editor.app</code>, and copy and paste these next few lines into a new script.</p>
<p><code>tell application "QuickTime Player"<br />
	present front movie scale screen<br />
end tell</code></p>
<p><img src="http://snier.com/blog/images/scriptedit.jpg" class="centered noborder" alt="Script Editor" /><span id="more-42"></span></p>
<p>Save the script as an application (File Format: application), and put it in your applications folder.  Now, whenever you are watching a movie in QuickTime, simply run this application to have the movie appear fullscreen.</p>
<p><strong>Fullscreen Preferences</strong>: First, find your Quicktime Player preferences file.  It is located in the Library/Preferences directory of your home folder, and it is called com.apple.quicktimeplayer.plist.  The .plist extension may or may not show up in the Finder.  Then, open it using Apple&#8217;s Property List Editor.  To do this, you must have the developer tools installed.  If you do not have the developer tools installed, you can edit this file with a simple text editor, such as TextEdit, but be careful of what you change!</p>
<p><img src="http://snier.com/blog/images/plistedit.jpg" class="centered noborder" alt="Property List Editor" /></p>
<p>Here we notice, after expanding the root node, that there are a number of preferences with the prefix &#8220;Fullscreen.&#8221;  These preferences are not available through the GUI to users without Quicktime Pro.  The preference we are most interested in is <code>FullscreenPreferenceScreenNumber</code>.  This may have a very large value, but you should be able to change it to 1 or 2 to enable either your main or auxiliary monitor.  Those on a text editor, change the value between the <code>&#60;integer&#62;</code> and <code>&#60;/integer&#62;</code> tags under the line <code>&#60;key&#62;FullscreenPreferenceScreenNumber&#60;/key&#62;</code>.  Save the file, and reopen QuickTime.</p>
<p><strong>This step is important: Drag the movie window to the monitor on which you want it to play in fullscreen</strong>.  Then run the fullscreen script.  If the monitor on which the movie is played in fullscreen is not the right one, try running the script a few more times.  If this doesn&#8217;t work, you can try experimenting with the value of the preference.  Each time you change it, you must reopen QuickTime.  If anything does go horribly wrong, just delete the preference file and QuickTime will make a new one for you the next time it is opened.</p>
<p>There are other preferences that can be experimented with:</p>
<ul>
<li><code>FullscreenPreferenceEnableHUD</code> &#8211; determines whether the movie controls show up in Fullscreen</li>
<li><code>FullscreenPreferenceHUDFadeOutTime</code> &#8211; determines how long before the movie controls fade out</li>
<li><code>FullscreenPreferenceCaptureAllDisplays</code> &#8211; determines whether the background color (usually black) is displayed on every display</li>
</ul>
<p>Feel free to experiment with the other preferences.  Always make sure to restart QuickTime Player after any changes are made, and if anything goes wrong, just delete the preference file.  I cannot be held responsible if you manage to irreversibly alter your system (but I can&#8217;t imagine an instance in which that would happen).</p>
]]></content:encoded>
			<wfw:commentRss>http://tylerkieft.com/feeder/?FeederAction=clicked&amp;feed=Articles+%28RSS2%29&amp;seed=http%3A%2F%2Ftylerkieft.com%2Farchives%2F2006%2F12%2F06%2Fhacking-fullscreen-without-quicktime-pro%2F&amp;seed_title=Hacking+Fullscreen+without+Quicktime+Pro/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>&#8220;Kill Caps Lock&#8221; on the Mac</title>
		<link>http://tylerkieft.com/feeder/?FeederAction=clicked&amp;feed=Articles+%28RSS2%29&amp;seed=http%3A%2F%2Ftylerkieft.com%2Farchives%2F2006%2F12%2F02%2Fkill-caps-lock-on-the-mac%2F&amp;seed_title=%26%238220%3BKill+Caps+Lock%26%238221%3B+on+the+Mac</link>
		<comments>http://tylerkieft.com/feeder/?FeederAction=clicked&amp;feed=Articles+%28RSS2%29&amp;seed=http%3A%2F%2Ftylerkieft.com%2Farchives%2F2006%2F12%2F02%2Fkill-caps-lock-on-the-mac%2F&amp;seed_title=%26%238220%3BKill+Caps+Lock%26%238221%3B+on+the+Mac#comments</comments>
		<pubDate>Sun, 03 Dec 2006 01:22:13 +0000</pubDate>
		<dc:creator>Tyler</dc:creator>
				<category><![CDATA[Apple]]></category>
		<category><![CDATA[Asides]]></category>
		<category><![CDATA[Technical]]></category>

		<guid isPermaLink="false">http://snier.com/archives/2006/12/02/kill-caps-lock-on-the-mac/</guid>
		<description><![CDATA[I can&#8217;t believe I didn&#8217;t know this before.  It is so simple to completely disable the Caps Lock key on any Mac.  I always hit it when I want to hit tab or shift instead.  I never use it intentionally (when&#8217;s the last time you typed a signficant number of capital letters [...]]]></description>
			<content:encoded><![CDATA[<p>I can&#8217;t believe I didn&#8217;t know this before.  It is so simple to <a href="http://www.macgeekery.com/tips/kill_caps_lock">completely disable the Caps Lock key</a> on any Mac.  I always hit it when I want to hit tab or shift instead.  I never use it intentionally (when&#8217;s the last time you typed a signficant number of capital letters in a row?), so I am thrilled that I have found this tip.</p>
<a href="http://tylerkieft.com/feeder/?FeederAction=clicked&amp;feed=Articles+%28RSS2%29&amp;seed=http%3A%2F%2Ftylerkieft.com%2Farchives%2F2006%2F12%2F02%2Fkill-caps-lock-on-the-mac%2F&amp;seed_title=%26%238220%3BKill+Caps+Lock%26%238221%3B+on+the+Mac" rel="bookmark" class="asides-permalink" title="Permanent Link to &#8220;Kill Caps Lock&#8221; on the Mac">(0)</a>]]></content:encoded>
			<wfw:commentRss>http://tylerkieft.com/feeder/?FeederAction=clicked&amp;feed=Articles+%28RSS2%29&amp;seed=http%3A%2F%2Ftylerkieft.com%2Farchives%2F2006%2F12%2F02%2Fkill-caps-lock-on-the-mac%2F&amp;seed_title=%26%238220%3BKill+Caps+Lock%26%238221%3B+on+the+Mac/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Intel Releases 4004 Schematics &#8211; Great for Students</title>
		<link>http://tylerkieft.com/feeder/?FeederAction=clicked&amp;feed=Articles+%28RSS2%29&amp;seed=http%3A%2F%2Ftylerkieft.com%2Farchives%2F2006%2F11%2F15%2Fintel-4004-schematics%2F&amp;seed_title=Intel+Releases+4004+Schematics+%26%238211%3B+Great+for+Students</link>
		<comments>http://tylerkieft.com/feeder/?FeederAction=clicked&amp;feed=Articles+%28RSS2%29&amp;seed=http%3A%2F%2Ftylerkieft.com%2Farchives%2F2006%2F11%2F15%2Fintel-4004-schematics%2F&amp;seed_title=Intel+Releases+4004+Schematics+%26%238211%3B+Great+for+Students#comments</comments>
		<pubDate>Wed, 15 Nov 2006 22:47:00 +0000</pubDate>
		<dc:creator>Tyler</dc:creator>
				<category><![CDATA[Technical]]></category>

		<guid isPermaLink="false">http://snier.com/archives/2006/11/15/34/</guid>
		<description><![CDATA[Intel today released the schematics of the 4004, the world&#8217;s first microprocessor on a chip.  The 4004 was released 35 years ago today, on November 15, 1971.  This revolutionary chip had only 2,300 transistors (compare that with the millions of transistors found on microprocessors today).  It supported a maximum clock speed of [...]]]></description>
			<content:encoded><![CDATA[<p>Intel today <a href="http://www.4004.com">released the schematics of the 4004</a>, the world&#8217;s first microprocessor on a chip.  The 4004 was released 35 years ago today, on November 15, 1971.  This revolutionary chip had only 2,300 transistors (compare that with the millions of transistors found on microprocessors today).  It supported a maximum clock speed of 740kHz and used 4-bit data words.  Today&#8217;s chips are 5-6 orders of magnitude faster and use 32- or 64-bit words.</p>
<p><img src="http://snier.com/blog/images/intel4004.jpg" alt="Intel 4004 Chip" class="alignright noborder" />No human alive is capable of analyzing today&#8217;s processors at the transistor level.  Digital design these days happens largely at the block level.  Simply put, a group of engineers design the individual blocks (arithmetic unit, floating-point unit, registers, data control, bus, etc.) and then another group combines the blocks to create the processor.  Specialized software programs, called CAD or Computer Aided Design tools, exist to make this process simpler.  They determine how the millions of transistors will be laid out and how they will be wired together.</p>
<p>The 4004, on the other hand, was designed during an era where computers were mostly glorified calculators.  Every one of the 2,300 transistors used in the chip was lovingly drawn into the schematic by an engineer.  This makes it possible for anyone who has taken at least a semester of logic design to grasp the majority of what&#8217;s going on in this chip.  These schematics are invaluable for undergraduates who are seeking comprehensive examples beyond those provided by the textbook of complete but simple digital systems.  I would have loved to be able to look at these last year and see how my classroom knowledge lined up with a real, commercial product.</p>
<p><span id="more-34"></span></p>
<p>The 4004 design is still somewhat relevant when considering today&#8217;s Intel microprocessors.  The chips that followed the 4004 were the 4040, the 8008 (the first 8-bit processor), and the 8080.  Then came the 8086, which was the first of the ubiquitous x86 generation of chips which are at the heart of most computers today.  The x86 generation is defined by, among other things, its backwards compatibility.  Every new x86 chip must be able to run programs written for previous x86 chips without recompiling.  The instruction set can only be added to in successive generations.  The backwards compatibility requirement gives x86 processors some inherent shortcomings.  For example, all x86 chips are <a href="http://en.wikipedia.org/wiki/CISC">CISC</a> (Complex Instruction Set Computers).  However, <a href="http://en.wikipedia.org/wiki/RISC">RISC</a> (Reduced Instruction Set Computer) chips are <a href="http://www.heyrick.co.uk/assembler/riscvcisc.html">more efficient</a>, because they implement every instruction in hardware.  CISC offers a larger instruction set, but at a tradeoff; some instructions must be simplified into three or four component instructions before they can be executed in hardware.  The Pentium is actually a RISC core interfacing with a CISC translator &#8211; it could be so much faster without the CISC layer!  The PowerPC chips found in Apple&#8217;s computers (until a year ago) are RISC chips.  This is one reason why some chips cannot be compared using clock speed alone.</p>
<p>To understand the 4004 and the tradeoffs made during its design helps to gain insight into the processors made today.  Some of the tradeoffs made when designing the 4004 propagated through the generations and vestiges of them can still be seen in Intel&#8217;s chips today. Besides that, it is empowering to know that I can at least partially understand what was state of the art so recently.  Of course, the reason at the bottom of all this is that I am a nerd and I love computer history and doing things like reading schematics and learning about computer architecture in my spare time.  But regardless of what I specify as the reason, I plan to spend a little bit of time in the near future with the schematics and my Digital Logic book and see exactly how the first ever microprocessor works.  There is also a simulator coded in Java on <a href="http://www.4004.com">the 4004 site</a> that I plan to check out.</p>
<p><strong>Side Note:</strong> The chip in the picture is the C4004 version &#8211; the rarest kind to find.  They have sold for around $1000 on eBay in the past.</p>
]]></content:encoded>
			<wfw:commentRss>http://tylerkieft.com/feeder/?FeederAction=clicked&amp;feed=Articles+%28RSS2%29&amp;seed=http%3A%2F%2Ftylerkieft.com%2Farchives%2F2006%2F11%2F15%2Fintel-4004-schematics%2F&amp;seed_title=Intel+Releases+4004+Schematics+%26%238211%3B+Great+for+Students/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Random Color Terminal</title>
		<link>http://tylerkieft.com/feeder/?FeederAction=clicked&amp;feed=Articles+%28RSS2%29&amp;seed=http%3A%2F%2Ftylerkieft.com%2Farchives%2F2006%2F11%2F02%2Frandom-color-terminal%2F&amp;seed_title=Random+Color+Terminal</link>
		<comments>http://tylerkieft.com/feeder/?FeederAction=clicked&amp;feed=Articles+%28RSS2%29&amp;seed=http%3A%2F%2Ftylerkieft.com%2Farchives%2F2006%2F11%2F02%2Frandom-color-terminal%2F&amp;seed_title=Random+Color+Terminal#comments</comments>
		<pubDate>Fri, 03 Nov 2006 04:24:16 +0000</pubDate>
		<dc:creator>Tyler</dc:creator>
				<category><![CDATA[Apple]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[Technical]]></category>

		<guid isPermaLink="false">http://snier.com/archives/2006/11/02/random-color-terminal/</guid>
		<description><![CDATA[I&#8217;ve always wanted something like this.  Daniel Jalkut of the Red Sweater Blog has created an AppleScript to randomize the color scheme of the terminal.  Just drop it in ~/Library/Scripts/Applications/Terminal and it will show up in the script menu under &#8220;Terminal Scripts.&#8221;  Click on it until you find a color scheme that [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve always wanted something like this.  Daniel Jalkut of the <a href="http://www.red-sweater.com/blog">Red Sweater Blog</a> has created <a href="http://www.red-sweater.com/blog/220/random-color-terminal">an AppleScript to randomize the color scheme of the terminal</a>.  Just drop it in ~/Library/Scripts/Applications/Terminal and it will show up in the <a href="http://www.apple.com/applescript/scriptmenu/">script menu</a> under &#8220;Terminal Scripts.&#8221;  Click on it until you find a color scheme that pleases you.</p>
<p>There are two cool hacks that I came up with for this script.  Both involve changing ~/.bash_profile (or the startup script for whatever shell that you use).  If you don&#8217;t have a file named .bash_profile in your home directory, then create one.  AppleScripts can be invoked from the command line by using the <code>osascript</code> command, and we can use this to our advantage in two ways.</p>
<ol>
<li>Every time we start up a new terminal, randomize the color.  Simply add the line
<p><code>osascript ~/Library/Scripts/Applications/<br />Terminal/RandomColorTerminal.scpt</code></p>
<p>somewhere in your .bash_profile (all on one line).</p>
</li>
<li>Set an alias to the above command so that we can change the color very quickly without needing to navigate to the script menu with the mouse.  To do this, add the line
<p><code>alias newcol='osascript ~/Library/Scripts/Applications/<br />Terminal/RandomColorTerminal.scpt'</code></p>
<p>to .bash_profile (all on one line).  Now, whenever you type <code>newcol</code> at the command line, you will get a new color scheme.</p>
</li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://tylerkieft.com/feeder/?FeederAction=clicked&amp;feed=Articles+%28RSS2%29&amp;seed=http%3A%2F%2Ftylerkieft.com%2Farchives%2F2006%2F11%2F02%2Frandom-color-terminal%2F&amp;seed_title=Random+Color+Terminal/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Mac Developers are Awesome</title>
		<link>http://tylerkieft.com/feeder/?FeederAction=clicked&amp;feed=Articles+%28RSS2%29&amp;seed=http%3A%2F%2Ftylerkieft.com%2Farchives%2F2006%2F10%2F31%2Fmac-developers-are-awesome%2F&amp;seed_title=Mac+Developers+are+Awesome</link>
		<comments>http://tylerkieft.com/feeder/?FeederAction=clicked&amp;feed=Articles+%28RSS2%29&amp;seed=http%3A%2F%2Ftylerkieft.com%2Farchives%2F2006%2F10%2F31%2Fmac-developers-are-awesome%2F&amp;seed_title=Mac+Developers+are+Awesome#comments</comments>
		<pubDate>Wed, 01 Nov 2006 03:31:54 +0000</pubDate>
		<dc:creator>Tyler</dc:creator>
				<category><![CDATA[Apple]]></category>
		<category><![CDATA[Asides]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[Technical]]></category>

		<guid isPermaLink="false">http://snier.com/archives/2006/10/31/mac-developers-are-awesome/</guid>
		<description><![CDATA[TextMate, the best Mac text editor out there, received an update a few days ago, and it is now Halloween compatible. Check out its awesome new icon at right.  There are at least two other thematic surprises hidden within the application that I won&#8217;t spoil…  
Update: Halloween is over, and TextMate has reverted [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://snier.com/blog/images/tmicon.png" class="alignright noborder" alt="TextMate Icon" /><a href="http://macromates.com/">TextMate</a>, the best Mac text editor out there, received an update a few days ago, and it is now Halloween compatible. Check out its awesome new icon at right.  There are at least two other thematic surprises hidden within the application that I won&#8217;t spoil… <img src='http://tylerkieft.com/blog/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p><strong>Update</strong>: Halloween is over, and TextMate has reverted back to the normal theme.  Apparently <a href="http://macromates.com/blog/archives/2006/10/31/happy-halloween/#comment-1739">some people</a> didn&#8217;t like the implications of the picture.  They probably still live with their parents.  Luckily the icon is <a href="http://www.serenity.de/archive/halloween_galore.html">still available</a>.</p>
<a href="http://tylerkieft.com/feeder/?FeederAction=clicked&amp;feed=Articles+%28RSS2%29&amp;seed=http%3A%2F%2Ftylerkieft.com%2Farchives%2F2006%2F10%2F31%2Fmac-developers-are-awesome%2F&amp;seed_title=Mac+Developers+are+Awesome" rel="bookmark" class="asides-permalink" title="Permanent Link to Mac Developers are Awesome">(0)</a>]]></content:encoded>
			<wfw:commentRss>http://tylerkieft.com/feeder/?FeederAction=clicked&amp;feed=Articles+%28RSS2%29&amp;seed=http%3A%2F%2Ftylerkieft.com%2Farchives%2F2006%2F10%2F31%2Fmac-developers-are-awesome%2F&amp;seed_title=Mac+Developers+are+Awesome/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>OpenDNS is Fast!</title>
		<link>http://tylerkieft.com/feeder/?FeederAction=clicked&amp;feed=Articles+%28RSS2%29&amp;seed=http%3A%2F%2Ftylerkieft.com%2Farchives%2F2006%2F10%2F30%2Fopendns%2F&amp;seed_title=OpenDNS+is+Fast%21</link>
		<comments>http://tylerkieft.com/feeder/?FeederAction=clicked&amp;feed=Articles+%28RSS2%29&amp;seed=http%3A%2F%2Ftylerkieft.com%2Farchives%2F2006%2F10%2F30%2Fopendns%2F&amp;seed_title=OpenDNS+is+Fast%21#comments</comments>
		<pubDate>Mon, 30 Oct 2006 06:06:27 +0000</pubDate>
		<dc:creator>Tyler</dc:creator>
				<category><![CDATA[Internet]]></category>
		<category><![CDATA[Technical]]></category>

		<guid isPermaLink="false">http://snier.com/archives/2006/10/30/opendns/</guid>
		<description><![CDATA[I&#8217;ve been trying OpenDNS this weekend and it seems to be quite fast.  It&#8217;s extremely easy to set up using their clever instructions for any type of router or computer, and it starts working instantly.  Usage of this service has been steadily growing over the past few months.
For those who care to know, [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been trying <a href="http://www.opendns.com">OpenDNS</a> this weekend and it seems to be quite fast.  It&#8217;s extremely easy to set up using their <a href="http://www.opendns.com/start/">clever instructions</a> for any type of router or computer, and it starts working instantly.  Usage of this service has <a href="http://www.opendns.com/stats/">been steadily growing over the past few months</a>.</p>
<p>For those who care to know, DNS (Domain Name System) resolution is a service usually provided by your ISP (Internet Service Provider).  When you type in a site name in your browser, the first thing it does is to query your ISP&#8217;s DNS server to find out the IP address of the computer that hosts that site.  Once it has done this, it can load the page.  OpenDNS claims to shorten the time that this IP address lookup takes by having a huge cache, meaning that they usually can return a result to you without having to ask another nameserver, which would take more time.  In addition, they have servers at the main crossroads of the internet.  Whenever you see &#8220;Looking up (example).com&#8221; in the status bar of your browser is when DNS resolution is occurring.</p>
<p>So maybe give OpenDNS a try, if you have access to your network settings.  You may be pleasantly surprised at how fast your internet goes.  They also claim to offer phishing protection and will block known phishing sites.  The service corrects spelling errors, too, so if you type in something like &#8220;google.co&#8221; instead of &#8220;google.com,&#8221; you will be instantly redirected. Pretty cool!</p>
]]></content:encoded>
			<wfw:commentRss>http://tylerkieft.com/feeder/?FeederAction=clicked&amp;feed=Articles+%28RSS2%29&amp;seed=http%3A%2F%2Ftylerkieft.com%2Farchives%2F2006%2F10%2F30%2Fopendns%2F&amp;seed_title=OpenDNS+is+Fast%21/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>New Host &amp; New Theme</title>
		<link>http://tylerkieft.com/feeder/?FeederAction=clicked&amp;feed=Articles+%28RSS2%29&amp;seed=http%3A%2F%2Ftylerkieft.com%2Farchives%2F2006%2F10%2F28%2Fnew-host%2F&amp;seed_title=New+Host+%26amp%3B+New+Theme</link>
		<comments>http://tylerkieft.com/feeder/?FeederAction=clicked&amp;feed=Articles+%28RSS2%29&amp;seed=http%3A%2F%2Ftylerkieft.com%2Farchives%2F2006%2F10%2F28%2Fnew-host%2F&amp;seed_title=New+Host+%26amp%3B+New+Theme#comments</comments>
		<pubDate>Sat, 28 Oct 2006 16:59:58 +0000</pubDate>
		<dc:creator>Tyler</dc:creator>
				<category><![CDATA[Internet]]></category>
		<category><![CDATA[Technical]]></category>

		<guid isPermaLink="false">http://snier.com/archives/2006/10/28/new-host/</guid>
		<description><![CDATA[If you&#8217;re seeing this, you&#8217;re experiencing my new webhost!  The site should be much, much faster.  It&#8217;s even faster for me, and I used to view it from the computer it was hosted on! If you&#8217;re not seeing this, then you&#8217;re probably not seeing anything at all, as I shut down the server [...]]]></description>
			<content:encoded><![CDATA[<p>If you&#8217;re seeing this, you&#8217;re experiencing my new webhost!  The site should be much, much faster.  It&#8217;s even faster for me, and I used to view it from the computer it was hosted on! If you&#8217;re not seeing this, then you&#8217;re probably not seeing anything at all, as I shut down the server on my computer.</p>
<p>I also decided to go with a new theme for Wordpress, the much raved about <a href="http://getk2.com">K2</a>, with all of its AJAX goodness (live search, rolling archives).  I&#8217;ve been rolling my own with the colors.  I originally had a light-on-dark style, but it was too depressing, so I modified the CSS a little and I like what I see.  The combination of dark edges with the white page is really pleasing, and I really like how the red titles and blue links stand out.  The color scheme seems much more unified than previously.  My favorite part is the picture on the top, which one of my parents took, and I edited.  Enjoy!</p>
]]></content:encoded>
			<wfw:commentRss>http://tylerkieft.com/feeder/?FeederAction=clicked&amp;feed=Articles+%28RSS2%29&amp;seed=http%3A%2F%2Ftylerkieft.com%2Farchives%2F2006%2F10%2F28%2Fnew-host%2F&amp;seed_title=New+Host+%26amp%3B+New+Theme/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Redefine the X11 Meta Key in Mac OS X</title>
		<link>http://tylerkieft.com/feeder/?FeederAction=clicked&amp;feed=Articles+%28RSS2%29&amp;seed=http%3A%2F%2Ftylerkieft.com%2Farchives%2F2006%2F10%2F05%2Fredefine-the-x11-meta-key-in-mac-os-x%2F&amp;seed_title=Redefine+the+X11+Meta+Key+in+Mac+OS+X</link>
		<comments>http://tylerkieft.com/feeder/?FeederAction=clicked&amp;feed=Articles+%28RSS2%29&amp;seed=http%3A%2F%2Ftylerkieft.com%2Farchives%2F2006%2F10%2F05%2Fredefine-the-x11-meta-key-in-mac-os-x%2F&amp;seed_title=Redefine+the+X11+Meta+Key+in+Mac+OS+X#comments</comments>
		<pubDate>Thu, 05 Oct 2006 23:13:02 +0000</pubDate>
		<dc:creator>Tyler</dc:creator>
				<category><![CDATA[Apple]]></category>
		<category><![CDATA[Technical]]></category>

		<guid isPermaLink="false">http://snier.com/archives/2006/10/05/redefine-the-x11-meta-key-in-mac-os-x/</guid>
		<description><![CDATA[Today I finally got fed up with the traditional X11 keyboard mapping in Mac OS X.  I&#8217;m talking specifically about the meta key.  Any Mac user who has not delved into the wonderful world of X11 will not know what a meta key is, so let me give some background here.  The [...]]]></description>
			<content:encoded><![CDATA[<p>Today I finally got fed up with the traditional X11 keyboard mapping in Mac OS X.  I&#8217;m talking specifically about the meta key.  Any Mac user who has not delved into the wonderful world of X11 will not know what a meta key is, so let me give some background here.  The meta key is a function key, similar to the command key (on Macs) or the ctrl key (on Windows machines).<img class="noborder alignright" src="http://snier.com/blog/images/X11.png" alt="X11" />  Its main use is in my favorite text-editor, Emacs, which requires X11 to run.  The Emacs philosophy is something that would take hours to discuss, but in short, Emacs users believe that you shouldn&#8217;t have to move your hands from the home row typing position when editing text.  No use of the mouse or the arrow keys is required.  All moving around, deleting text, cutting, copying, etc. is done with a combination of the control key, the meta key, and the standard letters.  Check out some of <a href="http://www.engr.uvic.ca/~dastone/emacs-keys.html">these common Emacs keyboard shortcuts</a> to get an idea of what I&#8217;m talking about.  Productivity is curbed in Emacs when there is no meta key or when it is in an unfamiliar keyboard spot.</p>
<p>There is a way to switch which key that Mac OS X recognizes as meta by using an X11 keyboard mapping preference file.  First, uncheck the &#8220;Use the system keyboard layout&#8221; option in X11 preferences.  You may also have to disable the &#8220;Enable keyboard shortcuts under X11&#8243; option as well. Then, create (or add to) the file ~/.Xmodmap and insert the following six lines:</p>
<p><code>clear Mod1<br />
clear Mod2<br />
keycode 63 = Mode_switch<br />
keycode 66 = Meta_L<br />
add Mod1 = Meta_L<br />
add Mod2 = Mode_switch</code></p>
<p>It clears the keymappings for alt and escape and then reassigns them to the reverse of what they were before.  Restart X11 and it should pick up the changes.</p>
<p><!-- old text Strangely, almost every keyboard made today doesn't have a meta key, yet it is still referred to by that name when using XWindows programs.  The only computers that I have used with a meta key are old Sun workstations.  The key symbol is a solid diamond.  However, a href="http://en.wikipedia.org/wiki/Meta_key"Wikipedia tells us/a that the meta key can also be found on old MIT keyboards.</p>
<p>Most machines that run either Unix or Linux have the alt key or the "Windows Key" perform the function of the meta key.  Other systems, including Mac OS X, have meta mapped to the escape key.  In my opinion, this is the worst possible place for the meta key.  Escape can only be reached by using the pinky, and I would say that I hit the wrong key more often then the right one.  Also, escape must be pressed and released before hitting the letter of the function you want, unlike control, which must be held down while you press, say, ctrl+v to paste.  Escape interrupts my flow. --></p>
<p>If this was (or wasn&#8217;t) helpful, please let me know in the comments!</p>
]]></content:encoded>
			<wfw:commentRss>http://tylerkieft.com/feeder/?FeederAction=clicked&amp;feed=Articles+%28RSS2%29&amp;seed=http%3A%2F%2Ftylerkieft.com%2Farchives%2F2006%2F10%2F05%2Fredefine-the-x11-meta-key-in-mac-os-x%2F&amp;seed_title=Redefine+the+X11+Meta+Key+in+Mac+OS+X/feed/</wfw:commentRss>
		<slash:comments>39</slash:comments>
		</item>
	</channel>
</rss>
