<?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>The Captain's (B)log &#187; Programming</title>
	<atom:link href="http://www.threshold-zero.com/cblog/category/science-and-technology/programming/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.threshold-zero.com/cblog</link>
	<description>Noos you can uoos</description>
	<lastBuildDate>Sun, 22 Jan 2012 14:25:59 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Steve Jobs, 1955-2011</title>
		<link>http://www.threshold-zero.com/cblog/2011/10/05/steve-jobs-1955-2011/</link>
		<comments>http://www.threshold-zero.com/cblog/2011/10/05/steve-jobs-1955-2011/#comments</comments>
		<pubDate>Thu, 06 Oct 2011 02:28:43 +0000</pubDate>
		<dc:creator>el capitan</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[Science and Technology]]></category>

		<guid isPermaLink="false">http://www.threshold-zero.com/cblog/?p=987</guid>
		<description><![CDATA[I started programming over 20 years ago on an old Macintosh II computer that my father practically fished out of the trash at his job. I largely credit that old computer to where I am today &#8212; it wasn&#8217;t just the Macintosh&#8217;s ease-of-use and small learning curve, it was also, literally, the spirit of the [...]]]></description>
			<content:encoded><![CDATA[<p>I started programming over 20 years ago on an old Macintosh II computer that my father practically fished out of the trash at his job.</p>
<p>I largely credit that old computer to where I am today &#8212; it wasn&#8217;t just the Macintosh&#8217;s ease-of-use and small learning curve, it was also, literally, the <em>spirit</em> of the designers and tinkerers that worked at Apple computer that existed in that machine.</p>
<p>The Macintosh was a computer that you could delve beneath the surface, when you wanted to &#8212; you could modify code, the way applications worked, the modules and extensions that started up when the machine booted &#8212; you had, when you wanted to, access to all the tools that the designers <em>themselves</em> used to create that very Macintosh you were using right then and there.</p>
<p>There&#8217;s a whole generation of programmers who got their start in this very way, and for that, I do have Apple to thank.</p>
<p>CELEBRATION OVER, CRITICISM BELOW:</p>
<p>And that&#8217;s the very reason why Apple&#8217;s current practices today kinda scare me. Apple&#8217;s products today are precisely <em>not</em> about giving the user tools and control &#8212; with each new version of MacOSX, each new iPhone that comes out, there&#8217;s less and less that tinkerers like me can do with it.</p>
<p>There&#8217;s less and less that the <em>next</em> generation of tinkerers can do with it. How would the next Steve Jobs design anything on an iPod Touch? On an iPad? How would a budding application developer get anyone to use a new application he&#8217;s designed, when people can only install apps via a curated, policed, application &#8220;store?&#8221;</p>
<p>I thank Apple for starting <em>me</em> on the path to where I am today, but I thank companies like Google for keeping that spirit alive, when it becomes increasingly evident that Apple either isn&#8217;t able to or just no longer wants to.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.threshold-zero.com/cblog/2011/10/05/steve-jobs-1955-2011/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Configuring a Server with Ubuntu Desktop</title>
		<link>http://www.threshold-zero.com/cblog/2011/06/24/configuring-a-server-with-ubuntu-desktop/</link>
		<comments>http://www.threshold-zero.com/cblog/2011/06/24/configuring-a-server-with-ubuntu-desktop/#comments</comments>
		<pubDate>Sat, 25 Jun 2011 06:10:32 +0000</pubDate>
		<dc:creator>el capitan</dc:creator>
				<category><![CDATA[computing]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Science and Technology]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://www.threshold-zero.com/cblog/?p=983</guid>
		<description><![CDATA[I&#8217;ve been getting an Ubuntu server running recently (FINALLY), and in order to make it run headless (without keyboard, mouse, or monitor), there&#8217;s a few things one needs to do: 1) Enable Auto-Logins (optional) All depends upon how you set things up, but you may want to run everything easily through a default user account [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been getting an Ubuntu server running recently (FINALLY), and in order to make it run headless (without keyboard, mouse, or monitor), there&#8217;s a few things one needs to do:</p>
<p><strong>1) Enable Auto-Logins (optional)<br />
</strong></p>
<p>All depends upon how you set things up, but you may want to run everything easily through a default user account &#8212; just go to &#8220;System &gt; Administration &gt; Login Screen&#8221;<strong>, </strong>and set it up.  (These instructions are for the GUI of Ubuntu, of course &#8212; I&#8217;m not a CLI-queen, and would rather edit things quickly through an interface that I&#8217;m familiar with than search forums for hours trying to find the esoteric commands necessary to do this stuff manually, sorry.)<strong><br />
</strong></p>
<p><strong>2) Enabling Networking With Automatic User Login</strong></p>
<p>Now, you may have set up automatic logins, but noticed that you always have to enter in your account password manually anyway once your network tries to connect &#8212; took me a while to figure out this one, but just go to &#8220;System &gt; Preferences &gt; Network Connections&#8221;, and in the type of connection you&#8217;ll be using, make sure the option for &#8220;Available to all users&#8221; is selected at the bottom.  That&#8217;s it.  I feel dumb for not figuring this out long ago.<strong></strong></p>
<p><strong><a href="http://www.threshold-zero.com/cblog/wp-content/uploads/2011/06/ubuntu-server-01-e1308981233667.png"><img class="size-full wp-image-984 alignnone" title="ubuntu-server-01" src="http://www.threshold-zero.com/cblog/wp-content/uploads/2011/06/ubuntu-server-01-e1308981233667.png" alt="" width="174" height="71" /></a><br />
</strong></p>
<p><strong>3) Enabling VNC to Run Headless</strong></p>
<p>As per the instructions I found <a href="http://jakeyoon.com/2008/11/19/enable-vino-vnc-server-for-login-manager-gdm-in-ubuntu/">here</a>, you have to</p>
<ol>
<li>Edit &#8220;/etc/gdm/Init/Default&#8221; to include the line &#8220;/usr/lib/vino/vino-server &amp;&#8221; right before &#8220;exit 0&#8243;</li>
<li>Edit &#8220;/etc/gdm/custom.conf&#8221; (or &#8220;/etc/gdm/gdm.conf&#8221; if older than Ubuntu 10.04) and add &#8220;KillInitClients=false&#8221; &#8212; this will prevent any existing VNC clients from being killed if you <em>do</em> login on the server physically</li>
<li>Do a &#8220;sudo vino-preferences&#8221; and enable the necessary stuff</li>
</ol>
<p>More to come, including the Minecraft configuration scripts!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.threshold-zero.com/cblog/2011/06/24/configuring-a-server-with-ubuntu-desktop/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Retired WoW Addons: November 2010</title>
		<link>http://www.threshold-zero.com/cblog/2010/11/07/retired-wow-addons-november-2010/</link>
		<comments>http://www.threshold-zero.com/cblog/2010/11/07/retired-wow-addons-november-2010/#comments</comments>
		<pubDate>Sun, 07 Nov 2010 16:23:33 +0000</pubDate>
		<dc:creator>el capitan</dc:creator>
				<category><![CDATA[Gaming]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[selllfish mapnotes sellvalue metamap wow addons]]></category>

		<guid isPermaLink="false">http://www.threshold-zero.com/cblog/?p=956</guid>
		<description><![CDATA[Just a few more that have been abandoned since the 4.0.1 patch: Mapnotes Apparently, MapNotes is no more.  Trying to find an addon that will import my many years of notes that I&#8217;ve made with this addon.  (It&#8217;s seriously been one of the most helpful for questing with alts.) I have a long history with [...]]]></description>
			<content:encoded><![CDATA[<p>Just a few more that have been abandoned since the 4.0.1 patch:</p>
<h2>Mapnotes</h2>
<p>Apparently, <a href="http://wow.curse.com/downloads/wow-addons/details/map-notes-fans-update.aspx">MapNotes</a> is no more.  Trying to find an addon that will import my many years of notes that I&#8217;ve made with this addon.  (It&#8217;s seriously been one of the most helpful for questing with alts.)</p>
<p>I have a long history with this addon &#8212; for the longest time, I used it WAY back in the day, and then with the release of TBC, it stopped working.  Thankfully, there was &#8220;Metamap,&#8221; which imported MapNotes map points just fine. (Metamap doesn&#8217;t even have a Curse page &#8212; I used to have to download it directly from the author&#8217;s website.)</p>
<p>However, it in turn stopped working with version 3.0 of WoW, but MapNotes came back with a fan update!  (A fan update is where a fan of a defunct addon is able to get in contact with the original addon maintainer, and gets them to give them control over it.)  But, now MapNotes no longer works anymore, either, and I&#8217;m stuck trying to find a replacement.  Looking at <a href="http://wow.curse.com/downloads/wow-addons/details/handynotes.aspx">HandyNotes</a> for now &#8212; apparently there&#8217;s some way to get it to import MapNotes points.</p>
<h2>SellValue and SellFish</h2>
<p>Long live <a href="http://capnbry.net/wow">SellValue</a>!  I used this addon for the LONGEST time, and it was an absolute lifesaver.</p>
<p>Out questing and need to know if that stack of gray shit you&#8217;ve been collecting is worth it to keep?  SellValue would tell you how much it was worth (dependent upon prices you had seen before).  This addon worked for the longest time, even though it hadn&#8217;t been updated since forever.</p>
<p>Even though it was still working wit version 3.0, I started using an updated addon called &#8220;<a href="http://wow.curseforge.com/addons/sell-fish/">SellFish</a>&#8221; &#8212; however, as you can see, WoW integrated this functionality into the core game with version 3.2, so there&#8217;s no need for either addon anymore!</p>
<h2>AnnoyRP</h2>
<p><a href="http://www.wowinterface.com/downloads/fileinfo.php?id=6447">AnnoyRP</a> was a neat little plugin everyone started using back in my heavy guild-RP days (god, that sounds so dorky). It had amazing functionality &#8212; based upon certain events in the game that you set it to notice, i.e. mounting up, casting a certain spell, it would /s certain things.</p>
<p>For instance, you could set it to say &#8220;Hi Ho, Silver, Away!&#8221; every time you mounted up (or a certain random amount of times, or even a certain random choice out of a <em>group</em> of phrases).  As you can imagine, it was LOADS of fun.</p>
<p>It stopped working some time ago, but the author made <a href="http://www.wowinterface.com/downloads/info8027-Chatterbox.html">Chatterbox</a> to make up for it.  Did the same thing, worked great.  However, now the author has left WoW (back in July over the whole RealID thing, which sadly enough didn&#8217;t even happen!), so who knows?  It seems to work fine for now, but that could stop at any minute with version 4.0.2 of WoW.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.threshold-zero.com/cblog/2010/11/07/retired-wow-addons-november-2010/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Integrating Picasa Web Photos with WordPress</title>
		<link>http://www.threshold-zero.com/cblog/2010/01/23/integrating-picasa-web-photos-with-wordpress/</link>
		<comments>http://www.threshold-zero.com/cblog/2010/01/23/integrating-picasa-web-photos-with-wordpress/#comments</comments>
		<pubDate>Sat, 23 Jan 2010 21:04:36 +0000</pubDate>
		<dc:creator>el capitan</dc:creator>
				<category><![CDATA[Design]]></category>
		<category><![CDATA[internet]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[tutorial]]></category>
		<category><![CDATA[google]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[jquery]]></category>
		<category><![CDATA[picasa]]></category>
		<category><![CDATA[picasaweb]]></category>
		<category><![CDATA[webdesign]]></category>

		<guid isPermaLink="false">http://www.threshold-zero.com/cblog/?p=619</guid>
		<description><![CDATA[OMG is this so much harder than it needs to be. Picasa (or Google) offers nothing in the way of little blog widgets (unlike Flickr&#8217;s great support for everything), nor is there really any third-party support for this kind of thing out on the web. I don&#8217;t understand why, since &#8212; at least to me [...]]]></description>
			<content:encoded><![CDATA[<p>OMG is this so much harder than it needs to be.</p>
<p>Picasa (or Google) offers nothing in the way of little blog widgets (unlike Flickr&#8217;s great support for everything), nor is there really any third-party support for this kind of thing out on the web.</p>
<p>I don&#8217;t understand why, since &#8212; at least to me &#8212; what Picasa offers for free is so much better than what Flickr offers, still, even to this day. :\</p>
<p>Every third-party WordPress plugin I&#8217;ve tried either doesn&#8217;t work, doesn&#8217;t work right, or needs so much configuration on the server side &#8212; and I&#8217;m talking about editing raw PHP here (unacceptable) or creating farking CURL scripts for the server (why did you even release this plugin?).</p>
<p>Sadly enough, the BEST solution I could find for the problem of integrating Picasa was actually done in straight JavaScript (yay!), found here: <a href="http://www.bloggingtips.com/2009/03/23/picasa-widgets-and-plugins-for-your-blog/">http://www.bloggingtips.com/2009/03/23/picasa-widgets-and-plugins-for-your-blog/</a></p>
<p>Her code works great, works fast, requires almost no configuration (besides your Picasa username), and uses <a href="http://jquery.com">JQuery</a>, so pretty much anyone can edit and customize it.</p>
<p>Which I did.  ^_^  Though the code works, it doesn&#8217;t appear to always grab your <em>latest</em> photos from Picasa.  (I&#8217;m guessing it has something to do with the &#8220;max-results&#8221; flag in the URL string &#8212; you <em>have</em> to restrict the number of photos that Picasa feeds up for you to get the latest.)  I also made each photo be a link to the Picasa page where it&#8217;s at, as well as cleaning up the code a little.</p>
<p>There&#8217;s basically two parts:</p>
<p><strong>First, put this code in a widget text block where you want it to be in your wordpress blog (this is also where you can edit the style):</strong></p>
<pre>&lt;style&gt;
#picasaStream img {border: 1px solid #000; margin: 0 5px 5px 0;}
&lt;/style&gt;  

&lt;div id="picasaStream"&gt;&lt;/div&gt;
</pre>
<p><strong>Second, put this code either right after the widget, or wherever you put your JavaScript (if you choose to put it in another place, like a footer):</strong></p>
<pre style="overflow: scroll;">&lt;script type="text/javascript"
src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.0/jquery.min.js"&gt;&lt;/script&gt;

&lt;script type="text/javascript"&gt;
/*
****	Uncomment this line if you are using other JavaScript libraries
****	(Prototype, Scriptaculous, etc.)
*/
// jQuery.noConflict();

jQuery(document).ready(function(){
	/*
	****	Change your Picasaweb username here,
	****	as well as how many thumbnails you want to show
	*/
	var _userName = "captainskyhawk",
		_count = 6

	/*
	****	Choose your thumbnail size here:
	**** 	"0" for small, "1" for medium, and "2" for large
	*/
	var _thumbnailSize = 0;

	/*
	****	Script Code
	****	No need to edit any further
	*/
	jQuery.getJSON("http://picasaweb.google.com/data/feed/api/user/"
		+ _userName + "?kind=photo&#038;thumbsize=72c&#038;access=public&#038;alt=json&#038;max-results="
		+ _count + "&#038;callback=?",
		function(data){
			jQuery.each(data.feed.entry, function(index, pic) {
				jQuery('&lt;a href="' + pic.link[1].href + '"&gt;&lt;img src="'
					+ pic.media$group.media$thumbnail[_thumbnailSize].url
					+ '" alt="' + pic.summary.$t + '" /&gt;&lt;/a&gt;')
				.appendTo("#picasaStream");
			});
		}
	);
});
&lt;/script&gt;
</pre>
<p>Just change your name in the code from &#8220;captainskyhawk&#8221; (that&#8217;s me!), and it should work!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.threshold-zero.com/cblog/2010/01/23/integrating-picasa-web-photos-with-wordpress/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Finally got a Windows share to share</title>
		<link>http://www.threshold-zero.com/cblog/2009/04/25/finally-got-windows-to-share/</link>
		<comments>http://www.threshold-zero.com/cblog/2009/04/25/finally-got-windows-to-share/#comments</comments>
		<pubDate>Sat, 25 Apr 2009 22:25:18 +0000</pubDate>
		<dc:creator>el capitan</dc:creator>
				<category><![CDATA[Life]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Science and Technology]]></category>

		<guid isPermaLink="false">http://www.threshold-zero.com/cblog/?p=359</guid>
		<description><![CDATA[For years, our main gaming computer (which we call the &#8220;Titan&#8221;) would just not share with any other computers. It couldn&#8217;t host multiplayer games. It couldn&#8217;t share a printer. It wouldn&#8217;t share files. You couldn&#8217;t access multimedia of any sort over it. I had absolutely no idea what the problem was &#8212; it was a [...]]]></description>
			<content:encoded><![CDATA[<p>For years, our main gaming computer (which we call the &#8220;Titan&#8221;) would just not share with any other computers.</p>
<p>It couldn&#8217;t host multiplayer games.</p>
<p>It couldn&#8217;t share a printer.</p>
<p>It wouldn&#8217;t share files.</p>
<p>You couldn&#8217;t access multimedia of any sort over it.</p>
<p>I had absolutely no idea what the problem was &#8212; it was a very old Windows XP installation, probably four years or more, and had gone through Windows XP SP1, SP2, and SP3, so there&#8217;s no telling.</p>
<p>It might&#8217;ve been some service I turned off years ago, or (more than likely) an old remnant  of Norton Antivirus (a horrible, horrible program) that refused to let go.</p>
<p>I noticed that my much newer gaming PC would work just fine, and that it was running the exact same services that the Titan was running, so I was stumped.  You couldn&#8217;t even ping the Titan if you wanted to.</p>
<p>So, on a whim, I search for &#8220;cannot ping Windows XP computer&#8221; on Google, and found this:</p>
<blockquote><p>Try this to reset TCP/IP in XP:</p>
<p>Click Start -&gt; Run -&gt; CMD</p>
<p>At the prompt type:</p>
<p>NETSH INT IP RESET C:IPRESET.TXT</p></blockquote>
<p>via <a href="http://daniweb.com/forums/thread3089.html">Help! Unable to ping machine on the network &#8211; Windows NT / 2000 / XP / 2003</a>.</p>
<p>And it worked.  I don&#8217;t know what it did, but it worked.  I think it reset <em>completely</em> the way that TCP/IP worked on Windows, because when the Titan restarted, my IP settings were completely reset, <strong>but I could ping it. </strong>And it shared files.  And it could host games (I think).</p>
<p>Either way, I&#8217;m happy!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.threshold-zero.com/cblog/2009/04/25/finally-got-windows-to-share/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Various Browser Benchmarks</title>
		<link>http://www.threshold-zero.com/cblog/2009/03/28/various-browser-benchmarks/</link>
		<comments>http://www.threshold-zero.com/cblog/2009/03/28/various-browser-benchmarks/#comments</comments>
		<pubDate>Sun, 29 Mar 2009 05:41:01 +0000</pubDate>
		<dc:creator>el capitan</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Reviews]]></category>
		<category><![CDATA[Science and Technology]]></category>
		<category><![CDATA[benchmark]]></category>
		<category><![CDATA[browser]]></category>
		<category><![CDATA[chromium]]></category>
		<category><![CDATA[firefox]]></category>
		<category><![CDATA[opera]]></category>

		<guid isPermaLink="false">http://www.threshold-zero.com/cblog/?p=331</guid>
		<description><![CDATA[I&#8217;ve been installing/reinstalling/testing a lot of browsers recently, so I thought I&#8217;d provide a little bit of data back to the programming community. I tested on two different computers &#8212; my venerable Dell laptop and my largely MSI-powered gaming PC. Some thoughts: The newest Opera 10 build on Linux does not like the SunSpider benchmark.  [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been installing/reinstalling/testing a lot of browsers recently, so I thought I&#8217;d provide a little bit of data back to the programming community.</p>
<p>I tested on two different computers &#8212; my venerable Dell laptop and my largely MSI-powered gaming PC.</p>
<p>Some thoughts:</p>
<ul>
<li>The newest Opera 10 build on Linux does <em>not</em> like the SunSpider benchmark.  Understandably, it&#8217;s a benchmark put together by the WebKit browser team, but still &#8212; it performed about as bad as I&#8217;d suppose Internet Explorer would (were it to run on Linux).  I ran it twice just to make sure, and it was about 10k milliseconds each time.</li>
<li>Chromium, whether it&#8217;s on Windows XP, or the pre-alpha build I&#8217;m using on Linux, is pretty damn fast.  Like scary fast.  Though, like I said, it <em>is</em> their own benchmark.</li>
<li>Seamonkey on Linux is consistently faster than Firefox 3.1b3 on Linux.  I have no idea why, since they&#8217;re supposed to be powered by the exact same engine.</li>
<li>It&#8217;s amazing how much faster an older computer (Like my Dell laptop) can feel when you use a browser that&#8217;s optimized to render JavaScript faster.  It seriously feels like an entirely different computer.</li>
<li>I tried running this test in Internet Explorer 6.0 via Wine, on Ubuntu.  I figured it&#8217;s not exactly emulation (since <strong>W</strong>ine <strong>I</strong>s <strong>N</strong>ot an <strong>E</strong>mulator and all), but it kept freezing on one of the &#8220;base64&#8243; tests, and I got tired of waiting on it and killed the process.  Imagine that.</li>
</ul>
<p>And now, the benchmark numbers, utilizing the <a href="http://www2.webkit.org/perf/sunspider-0.9/sunspider.html">SunSpider JavaScript benchmark</a> (smaller numbers are better, all numbers in thousandths of a second):</p>
<p><strong>Computer #1</strong></p>
<p>Hardware:  Dell Laptop, Pentium 4-M 2.6 GHz, 1.5GB DDR Ram</p>
<p>Software:  Ubuntu 8.04 (x86)</p>
<ul>
<li>10572.4ms:  Opera 10 Alpha, Build 4214</li>
<li>8435.8ms:  Flock 2.0.3</li>
<li>8171.8ms:  Firefox 3.0.8</li>
<li>5243.6ms:  Firefox 3.1 Beta 3 (Shiretoko)</li>
<li>4701.4ms:  Seamonkey 2.0 Alpha 3</li>
<li>1506.4ms:  Chromium Dev Build</li>
</ul>
<p><strong>Computer #2</strong></p>
<p>Hardware:  MSI Mainboard, Athlon X2 2.5GHz (Brisbane), 2GB DDR2 RAM</p>
<p>Software:  Windows XP SP3 (x86)</p>
<ul>
<li>6930.8ms:  Internet Explorer 8</li>
<li>2097.8ms:  Firefox 3.1 Beta 3</li>
<li>952.4ms:  SRWare Iron 2.0 (Chromium)</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.threshold-zero.com/cblog/2009/03/28/various-browser-benchmarks/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>An Abundance of GIMP Synergy</title>
		<link>http://www.threshold-zero.com/cblog/2009/03/22/an-abundance-of-gimp-synergy/</link>
		<comments>http://www.threshold-zero.com/cblog/2009/03/22/an-abundance-of-gimp-synergy/#comments</comments>
		<pubDate>Mon, 23 Mar 2009 02:52:01 +0000</pubDate>
		<dc:creator>el capitan</dc:creator>
				<category><![CDATA[Life]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Science and Technology]]></category>
		<category><![CDATA[GIMP]]></category>
		<category><![CDATA[install]]></category>
		<category><![CDATA[synergy]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://www.threshold-zero.com/cblog/?p=304</guid>
		<description><![CDATA[Installing GIMP 2.6 on Ubuntu 8.04 Well, I got tired of being stuck with the version 2.4 of the GIMP (GNU Image Manipulation Program) that ships with Ubuntu 8.04.  It&#8217;s old, it uses the old window system that I can&#8217;t stand anymore, and version 2.6 (the current version) fixes tons of more issues that it [...]]]></description>
			<content:encoded><![CDATA[<h3>Installing GIMP 2.6 on Ubuntu 8.04</h3>
<p><img class="alignleft size-full wp-image-307" style="margin-left: 4px; margin-right: 4px;" title="wilber" src="http://www.threshold-zero.com/cblog/wp-content/uploads/2009/03/wilber.png" alt="wilber" width="64" height="64" />Well, I got tired of being stuck with the version 2.4 of the GIMP (GNU Image Manipulation Program) that ships with Ubuntu 8.04.  It&#8217;s old, it uses the old window system that I can&#8217;t stand anymore, and version 2.6 (the current version) fixes tons of more issues that it has.</p>
<p>However, you can&#8217;t just go to your package manager and add it &#8212; Ubuntu locks program versions when it ships (for example, the latest version of GIMP available to Ubuntu 8.04 users is 2.4).  This is done for compatibility reasons &#8212; if version 2.4 of the GIMP works fine when Ubuntu 8.04 ships, then they lock those versions together.  That way, it&#8217;s always guaranteed to work, no matter when Ubuntu is  installed in the future.</p>
<p>However, there&#8217;re sites likes <a href="http://getdeb.net">GetDeb.net</a> which lets developers upload installer files of popular programs for Ubuntu, so that users of older versions of Ubuntu can install new programs.</p>
<p>So, I went to the <a href="http://www.getdeb.net/release/4054">GetDeb page for GIMP 2.6</a> and downloaded all the files you need to install GIMP 2.6 on Ubuntu 8.04:</p>
<ul>
<li><span style="font-family: Arial;"> <a class="app_download" href="http://www.getdeb.net/download/4054/4"> libgegl-0.0-0</a></span></li>
<li><span style="font-family: Arial;"> <a class="app_download" href="http://www.getdeb.net/download/4054/3"> libbabl-0.0-0</a></span></li>
<li><span style="font-family: Arial;"><a class="app_download" href="http://www.getdeb.net/download/4054/2">gimp-data</a></span></li>
<li><span style="font-family: Arial;"><a class="app_download" href="http://www.getdeb.net/download/4054/1">libgimp2.0</a></span></li>
<li><span style="font-family: Arial;"> <a class="app_download" href="http://www.getdeb.net/download/4054/0"> gimp</a></span></li>
</ul>
<p>Usually, in 99% of situations, you just download these files and install them, even on Ubuntu.  However, on Ubuntu 8.04 with GIMP 2.6, there&#8217;s a bit of a problem &#8212; you have to force these files to install.</p>
<p>Now, you can do fancy command-line kung-fu if you want to, but you shouldn&#8217;t <em>have</em> to on Ubuntu, so I&#8217;ve included a file here for you:</p>
<ul>
<li><a href="http://www.threshold-zero.com/cblog/wp-content/uploads/2009/03/install">gimp-2.6-install-ubuntu-8.04</a></li>
</ul>
<p>Just save that file, put it along with the 5 files you downloaded from GetDeb.net into their own folder, and then run that file.  (Make it executable in its properties, and then double-click on it).</p>
<p>And that&#8217;s it!</p>
<p>(I got the inspiration for that install file from <a href="http://my.opera.com/area42/blog/gimp-2-6-3-update#comment7219365">this blog post here</a>!)</p>
<h3>The Synergy of Mac, Linux, and Windows<img class="alignleft size-full wp-image-308" title="logo" src="http://www.threshold-zero.com/cblog/wp-content/uploads/2009/03/logo.gif" alt="logo" width="216" height="77" /></h3>
<p>I&#8217;ve always heard about the program called <a href="http://synergy2.sourceforge.net/">Synergy</a>, but I&#8217;ve never used it, and that&#8217;s a damn shame.</p>
<p>Have a lot of computers side by side that you manage all at once?  Tired of going from one keyboard and mouse, to another, even though the computers you&#8217;re working with are side by side?</p>
<p>Then download <a href="http://synergy2.sourceforge.net/">Synergy</a>, configure it, and run it on all of your computers (Mac, Linux, <em>and</em> Windows).</p>
<p>And that&#8217;s it.  Honestly.  It&#8217;ll take you about 20 minutes and you&#8217;ll spend the next few hours wondering how you ever lived without it.</p>
<p>It treats all of your computers like one giant desktop &#8212; just move your mouse &#8220;off&#8221; of the side of your monitor towards your other computer, and your mouse will instantly reappear on <em>that</em> computer&#8217;s monitor.  If you need to type something, you type it with the first computer&#8217;s monitor.  Seriously.</p>
<p>Ah, a caveat &#8212; on Mac and Linux, the setup isn&#8217;t as streamlined and easy as it is on Linux, so there&#8217;s a program called <a href="http://quicksynergy.sourceforge.net/">QuickSynergy</a> that can do it for you.  If you&#8217;re using Ubuntu, it&#8217;s already in the repositories &#8212; just go to your &#8220;Add/Remove Applications&#8221; menu item, and install QuickSynergy from there.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.threshold-zero.com/cblog/2009/03/22/an-abundance-of-gimp-synergy/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Conky, Dell i8k Modules, and My First Ubuntu Bash Script</title>
		<link>http://www.threshold-zero.com/cblog/2009/02/15/conky-dell-i8k-modules-and-my-first-ubuntu-bash-script/</link>
		<comments>http://www.threshold-zero.com/cblog/2009/02/15/conky-dell-i8k-modules-and-my-first-ubuntu-bash-script/#comments</comments>
		<pubDate>Sun, 15 Feb 2009 19:29:19 +0000</pubDate>
		<dc:creator>el capitan</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Science and Technology]]></category>
		<category><![CDATA[bash]]></category>
		<category><![CDATA[conky]]></category>
		<category><![CDATA[i8kutils]]></category>
		<category><![CDATA[shell]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://www.threshold-zero.com/cblog/?p=186</guid>
		<description><![CDATA[Well, I started playing around with Conky yesterday &#8212; if you haven&#8217;t heard of it before, just know that it&#8217;s a neat little Linux program that runs in your background and uses very little resources that displays a very neat desktop overlay.  (Like in the picture in the Lifehacker article.) Now, some of the stock [...]]]></description>
			<content:encoded><![CDATA[<p><img class="size-full wp-image-188 alignleft" title="Conky Screenshot" src="http://www.threshold-zero.com/cblog/wp-content/uploads/2009/02/screenshot.png" alt="Conky Screenshot" width="215" height="139" /></p>
<p>Well, I started playing around with <a href="http://lifehacker.com/5152819/to+dos-weather-and-twitter-on-a-linux-desktop">Conky</a> yesterday &#8212; if you haven&#8217;t heard of it before, just know that it&#8217;s a neat little Linux program that runs in your background and uses very little resources that displays a very neat desktop overlay.  (Like in the picture in the Lifehacker article.)</p>
<p>Now, some of the stock Conky scripts were more than adequate, but I had always wanted my laptop&#8217;s CPU temperature to be displayed as well, so I had to figure out a way to do that.</p>
<p>Now, if you&#8217;re somewhat familiar with tinkering in Linux, you&#8217;ve probably heard of the wonderful &#8220;lm_sensors&#8221; package &#8212; it&#8217;s a neat package for Linux that helps display lots of information about motherboard temps and whatnot.  Unfortunately, due to most laptops &#8220;prorietary-ness,&#8221; lm_sensors does very little for you if you&#8217;re trying to get it to work on a laptop.</p>
<p>Now, I had heard of the &#8220;i8kutils&#8221; package for Linux &#8212; this was a package designed for Dell laptops in particular, to display and control fan and temperature information.</p>
<p>So, with that, I was off to work!</p>
<p>(Note &#8212; these instructions are mostly for Ubuntu/Debian installations, because that&#8217;s what I use.)</p>
<p>First, install the package &#8220;i8kutils&#8221; using your Linux computer&#8217;s package manager (Synaptic, if you&#8217;re using Ubuntu).</p>
<p>Second, add the module &#8220;i8k&#8221; to your &#8220;/etc/modules&#8221; file.  (This will start the process at boottime.)  Restart your laptop.</p>
<p>Third, you&#8217;ll have to create some Conky script files.  I assume you&#8217;ve already had a bit of experience at least installing Conky and starting it up.  If not, play around with the instructions in that Lifehacker article and come back here afterwards.</p>
<p>Now, I noticed that one of my conky script files was a file called &#8220;hddmonit.sh&#8221; which contained the text:</p>
<blockquote><p>#!/bin/bash<br />
echo &#8220;$(nc localhost 7634 | cut -d&#8217;|&#8217; -f4)&#8221;</p></blockquote>
<p>Now, using a little bit of deduction, I figured that this file used a command called &#8220;nc localhost 7634&#8243; to display a little bit of information, and then used pipe commands (the little &#8220;|&#8221; symbol) to further splice the info, extracting just the temperature of my laptop&#8217;s hard drive.</p>
<p>So, while &#8220;nc localhost 7634&#8243; outputted this:</p>
<blockquote><p>|/dev/sda|ST980815A|43|C|</p></blockquote>
<p>Using the command &#8220;(nc localhost 7634 | cut -d&#8217;|&#8217; -f4&#8243; would output just &#8220;43&#8243;, which was the temperature of my hard drive.</p>
<p>(The &#8220;cut&#8221; command splices out specific text from a string it&#8217;s given, in this case the fourth (-f4) chunk of text seperated by a &#8220;|&#8221; chracter.)</p>
<p>Now, I learned that the &#8220;i8k&#8221; module, once loaded, could be accessed with the file at  &#8220;/proc/i8k&#8221;, which just contains a string like:</p>
<blockquote><p>1.0 A32 7GGGGGG 53 -22 1 -22 90300 -1 2</p></blockquote>
<p>From this you can see various Dell-specific information, the important part being &#8220;53&#8243;, which was my current processor temp.  (The items in the string are separated by spaces.)</p>
<p>So, I quickly made myself a new script file called &#8220;i8ktemps.sh&#8221; copying the contents of &#8220;hddmonit.sh&#8221; and changing them to:</p>
<blockquote><p>#!/bin/bash<br />
echo &#8220;$(head /proc/i8k | cut -d&#8217; &#8216; -f4)&#8221;</p></blockquote>
<p>This file, when executed, will just output the fourth &#8220;chunk&#8221; in the file &#8220;/proc/i8k&#8221;, which as you remember is my current processor temp.</p>
<p>Now, I needed to edit my Conky configuration file, which is located in your home folder and is called &#8220;.conkyrc&#8221;.</p>
<p>Then I simply located the line:</p>
<blockquote><p>${font weather:size=28}x ${font}HDD ${execi 1 ~/scripts/hddmonit.sh}C</p></blockquote>
<p>Which displayed my hard drive temperature, and changed it to:</p>
<blockquote><p>${font weather:size=28}x ${font}CPU ${execi 1 ~/scripts/i8ktemps.sh}C HDD ${execi 1 ~/scripts/hddmonit.sh}C</p></blockquote>
<p>Which, when Conky was restarted, would display my hard drive temperature <em>and</em> my current processor temperature.</p>
<p>See?  It&#8217;s not that hard to program this stuff!  I did this all, both programming in the Linux &#8220;Bash&#8221; shell and coding in Conky&#8217;s personal configuration code, without any experience in either.  I just looked at what was there, and changed it.</p>
<p>Relevant Links:</p>
<p><a href="http://www.arachnoid.com/linux/shell_programming.html">http://www.arachnoid.com/linux/shell_programming.html</a></p>
<p><a href="http://ubuntuforums.org/showthread.php?t=411800">http://ubuntuforums.org/showthread.php?t=411800</a></p>
<p><a href="http://www.linuxcommand.org/wss0010.php">http://www.linuxcommand.org/wss0010.php</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.threshold-zero.com/cblog/2009/02/15/conky-dell-i8k-modules-and-my-first-ubuntu-bash-script/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Google Earth 5.0 Installation Problems</title>
		<link>http://www.threshold-zero.com/cblog/2009/02/05/google-earth-50-installation-problems/</link>
		<comments>http://www.threshold-zero.com/cblog/2009/02/05/google-earth-50-installation-problems/#comments</comments>
		<pubDate>Fri, 06 Feb 2009 03:57:16 +0000</pubDate>
		<dc:creator>el capitan</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Science and Technology]]></category>

		<guid isPermaLink="false">http://www.threshold-zero.com/cblog/?p=177</guid>
		<description><![CDATA[Nabble &#8211; ubuntu-users &#8211; Google Earth 5.0 Installation Problems. Wondering why your brand new installation of Google Earth 5.0 isn&#8217;t working in Ubuntu?  Is it crashing after it gets done with the splash screen, or generally just not starting up? An odd problem, but one with an easy fix &#8212; just go to the folder [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.nabble.com/Google-Earth-5.0-Installation-Problems-td21808525.html">Nabble &#8211; ubuntu-users &#8211; Google Earth 5.0 Installation Problems</a>.</p>
<p>Wondering why your brand new installation of Google Earth 5.0 isn&#8217;t working in Ubuntu?  Is it crashing after it gets done with the splash screen, or generally just not starting up?</p>
<p>An odd problem, but one with an easy fix &#8212; just go to the folder where you installed Google Earth (the program files, not the shortcut), and delete or move the file called &#8220;libcrypto.so.0.9.8&#8243;.</p>
<p>And that&#8217;s it &#8212; wierd, but it works.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.threshold-zero.com/cblog/2009/02/05/google-earth-50-installation-problems/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Really Great Idea</title>
		<link>http://www.threshold-zero.com/cblog/2008/04/26/really-great-idea/</link>
		<comments>http://www.threshold-zero.com/cblog/2008/04/26/really-great-idea/#comments</comments>
		<pubDate>Sat, 26 Apr 2008 15:18:15 +0000</pubDate>
		<dc:creator>el capitan</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[Science and Technology]]></category>

		<guid isPermaLink="false">http://www.threshold-zero.com/cblog/?p=78</guid>
		<description><![CDATA[&#8230;for pseudo-pipelined JavaScript. I&#8217;ve seen it done before, and it&#8217;s always seemed really neat &#8212; I&#8217;m really curious to see if it can be done dynamically&#8230;]]></description>
			<content:encoded><![CDATA[<p>&#8230;for pseudo-pipelined JavaScript.  I&#8217;ve seen it done before, and it&#8217;s always seemed really neat &#8212; I&#8217;m really curious to see if it can be done dynamically&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.threshold-zero.com/cblog/2008/04/26/really-great-idea/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

