<?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"
	>

<channel>
	<title>voidscope</title>
	<atom:link href="http://blog.voidscope.com/wordpress/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.voidscope.com/wordpress</link>
	<description></description>
	<pubDate>Mon, 23 Jun 2008 15:59:00 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.5.1</generator>
	<language>en</language>
			<item>
		<title>Old, obscure flying boat concept</title>
		<link>http://blog.voidscope.com/wordpress/2008/06/24/old-obscure-flying-boat-concept/</link>
		<comments>http://blog.voidscope.com/wordpress/2008/06/24/old-obscure-flying-boat-concept/#comments</comments>
		<pubDate>Mon, 23 Jun 2008 14:52:03 +0000</pubDate>
		<dc:creator>csirac2</dc:creator>
		
		<category><![CDATA[Aviation]]></category>

		<category><![CDATA[History]]></category>

		<category><![CDATA[odd]]></category>

		<category><![CDATA[old]]></category>

		<guid isPermaLink="false">http://blog.voidscope.com/wordpress/?p=6</guid>
		<description><![CDATA[
In between trying to get work done, I&#8217;ve been mulling over interesting aircraft configurations (canard vs tandem vs conventional) that I would use to design and build a light aircraft with a very specific mission that I&#8217;ll write about some other time.
Many are familiar with the Hughes Spruce Goose, but another interesting beast from an [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignright" style="float: left;" src="http://www.aviastar.org/pictures/italy/caproni_ca-60.jpg" alt="Eight engines, eight crew, 3x3 wings!" width="482" height="216" /></p>
<p>In between trying to get work done, I&#8217;ve been mulling over interesting aircraft configurations (canard vs tandem vs conventional) that I would use to design and build a light aircraft with a very specific mission that I&#8217;ll write about some other time.</p>
<p>Many are familiar with the <a href="http://www.boeing.com/history/boeing/h4_hercules.html">Hughes Spruce Goose</a>, but another interesting beast from an even earlier time (circa 1920) was the <a href="http://www.aviastar.org/air/italy/caproni_ca-60.php">Caproni Ca.60 Noviplano flying boat</a> (<a href="http://www.youtube.com/watch?v=HnGZBhrrlMk">youtube video here</a>).</p>
<p>As you can see, this thing featured a whopping three sets of triple wings and an unwieldy number of struts, braces and wires to hold it all together - not to mention 8&#215;400HP <a href="http://en.wikipedia.org/wiki/Liberty_engine">V12 Liberty engines</a>! With eight crew and 100 passengers, it was meant to a bit over 100kph from Italy to the USA.<img class="alignright" style="float: right;" src="http://varieze.sst.googlepages.com/Klausbanking2.jpg/Klausbanking2-custom;size:192,128.jpg" alt="" width="192" height="128" /></p>
<p>Makes a canard pusher design like the <a href="http://en.wikipedia.org/wiki/VariEze">Rutan VariEze</a> (right) look as boring as a  Cessna <a href="http://skyhawk.cessna.com/">Skychicken</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.voidscope.com/wordpress/2008/06/24/old-obscure-flying-boat-concept/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Cygwin, irb and utility_belt - a broken combination?</title>
		<link>http://blog.voidscope.com/wordpress/2008/06/21/cygwin-irb-and-utility_belt-a-broken-combination/</link>
		<comments>http://blog.voidscope.com/wordpress/2008/06/21/cygwin-irb-and-utility_belt-a-broken-combination/#comments</comments>
		<pubDate>Sat, 21 Jun 2008 06:45:17 +0000</pubDate>
		<dc:creator>csirac2</dc:creator>
		
		<category><![CDATA[Cygwin]]></category>

		<category><![CDATA[Development]]></category>

		<category><![CDATA[Ruby]]></category>

		<category><![CDATA[Windows]]></category>

		<category><![CDATA[Broken]]></category>

		<guid isPermaLink="false">http://blog.voidscope.com/wordpress/?p=5</guid>
		<description><![CDATA[Working with Ruby occasionally requires the use of irb, the interactive Ruby shell. It&#8217;s a terrific tool for quickly exploring new things (in my case, using Ruby to experiment with using sendkeys via the Windows Script Host to automate an awkard windows app).
I&#8217;m using Cygwin to do the windows portion of my project at work, [...]]]></description>
			<content:encoded><![CDATA[<p>Working with Ruby occasionally requires the use of irb, the interactive Ruby shell. It&#8217;s a terrific tool for quickly exploring new things (in my case, using Ruby to experiment with <a href="http://rubyonwindows.blogspot.com/2007/05/automating-applications-with-ruby.html">using sendkeys</a> via the <a href="http://msdn.microsoft.com/en-us/library/9bbdkx3k%28VS.85%29.aspx">Windows Script Host</a> to automate an <a href="http://www.varianinc.com/cgi-bin/nav?products/chrom/cds/galaxie_ws&amp;cid=QMPJHQPFI">awkard windows app</a>).</p>
<p>I&#8217;m using Cygwin to do the windows portion of my project at work, and I&#8217;ve become quite accustomed to using irb in conjunction with the very nifty <a href="http://utilitybelt.rubyforge.org/">utility_belt gem</a>. I find it makes experimenting and making sub 20-liner hacks/tests even quicker, with method tab-completion and neat colorisation.</p>
<p>However, on Cygwin, it doesn&#8217;t &#8220;just work&#8221;. After I installed rubygems and utiltiy_belt on Cygwin, I copied the ~/.irbc file from my Linux PC, which looked something like this:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
</pre></td><td class="code"><pre class="ruby"><span style="color:#CC0066; font-weight:bold;">require</span> <span style="color:#996600;">'rubygems'</span>
<span style="color:#CC0066; font-weight:bold;">require</span> <span style="color:#996600;">'utility_belt'</span>
<span style="color:#6666ff; font-weight:bold;">UtilityBelt::Themes</span>.<span style="color:#9900CC;">background</span><span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#ff3333; font-weight:bold;">:dark</span><span style="color:#006600; font-weight:bold;">&#41;</span></pre></td></tr></table></div>

<p>However, on Cygwin, I got this error every time I started irb (and utility_belt failed to work):</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
</pre></td><td class="code"><pre class="bash">User<span style="color: #000000; font-weight: bold;">@</span>Bulkhead ~
$ irb
load error: <span style="color: #000000; font-weight: bold;">/</span>home<span style="color: #000000; font-weight: bold;">/</span>User<span style="color: #000000; font-weight: bold;">/</span>.irbrc
NameError: uninitialized constant UtilityBelt::Themes
        <span style="color: #000000; font-weight: bold;">/</span>home<span style="color: #000000; font-weight: bold;">/</span>User<span style="color: #000000; font-weight: bold;">/</span>.irbrc:<span style="color: #000000;">4</span>
        <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>lib<span style="color: #000000; font-weight: bold;">/</span>ruby<span style="color: #000000; font-weight: bold;">/</span><span style="color: #000000;">1.8</span><span style="color: #000000; font-weight: bold;">/</span>irb<span style="color: #000000; font-weight: bold;">/</span>init.rb:<span style="color: #000000;">207</span>:<span style="color: #000000; font-weight: bold;">in</span> <span style="color: #000000; font-weight: bold;">`</span>load<span style="color: #ff0000;">'
        /usr/lib/ruby/1.8/irb/init.rb:207:in `run_config'</span>
        <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>lib<span style="color: #000000; font-weight: bold;">/</span>ruby<span style="color: #000000; font-weight: bold;">/</span><span style="color: #000000;">1.8</span><span style="color: #000000; font-weight: bold;">/</span>irb<span style="color: #000000; font-weight: bold;">/</span>init.rb:<span style="color: #000000;">20</span>:<span style="color: #000000; font-weight: bold;">in</span> <span style="color: #000000; font-weight: bold;">`</span>setup<span style="color: #ff0000;">'
irb(main):001:0&gt;
</span</pre></td></tr></table></div>

<p>Nobody else seems to be having this problem, so perhaps there&#8217;s something wrong with my installation (It&#8217;s a relatively fresh install of Cygwin though), but here&#8217;s the work-around I came up with:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
</pre></td><td class="code"><pre class="ruby"><span style="color:#CC0066; font-weight:bold;">require</span> <span style="color:#996600;">'rubygems'</span>
<span style="color:#CC0066; font-weight:bold;">require</span> <span style="color:#996600;">'utility_belt'</span>
<span style="color:#CC0066; font-weight:bold;">load</span> <span style="color:#996600;">'utility_belt/utility_belt.rb'</span>
<span style="color:#6666ff; font-weight:bold;">UtilityBelt::Themes</span>.<span style="color:#9900CC;">background</span><span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#ff3333; font-weight:bold;">:dark</span><span style="color:#006600; font-weight:bold;">&#41;</span></pre></td></tr></table></div>

]]></content:encoded>
			<wfw:commentRss>http://blog.voidscope.com/wordpress/2008/06/21/cygwin-irb-and-utility_belt-a-broken-combination/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Debian testing and Xorg</title>
		<link>http://blog.voidscope.com/wordpress/2008/06/19/debian-testing-and-xorg/</link>
		<comments>http://blog.voidscope.com/wordpress/2008/06/19/debian-testing-and-xorg/#comments</comments>
		<pubDate>Thu, 19 Jun 2008 04:43:57 +0000</pubDate>
		<dc:creator>csirac2</dc:creator>
		
		<category><![CDATA[Linux]]></category>

		<category><![CDATA[Xorg]]></category>

		<guid isPermaLink="false">http://blog.voidscope.com/wordpress/?p=3</guid>
		<description><![CDATA[Well, somewhere along the line after coming back from a two-month stint with work, Debian testing has had an upgrade that caused all four of my Intel i945 family chipset PCs to burn 100% CPU whenever something changed on the screen. It&#8217;s no fun waiting several seconds to alt-tab between windows, so here&#8217;s the culprit&#8230;
Brice [...]]]></description>
			<content:encoded><![CDATA[<p>Well, somewhere along the line after coming back from a two-month stint with work, Debian testing has had an upgrade that caused all four of my Intel i945 family chipset PCs to burn 100% CPU whenever something changed on the screen. It&#8217;s no fun waiting several seconds to alt-tab between windows, so here&#8217;s the culprit&#8230;</p>
<p>Brice Gordlin <a href="http://bgoglin.livejournal.com/12340.html">wrote on 2007-09-11</a> some fairly optimistic statements about the state of Xorg&#8217;s intel drivers and rendering with EXA acceleration:</p>
<blockquote><p>Several drivers including Intel and ATI r300 already work great with EXA (no need to use XAA + XAANoOffscreenPixmaps anymore) which means Compiz works very smoothly, even when resizing windows. XAA won&#8217;t be removed soon though since lots of things needs to be fixed before that</p></blockquote>
<p>However it appears that this problem is <a href="https://bugs.freedesktop.org/show_bug.cgi?id=13389">still ongoing.</a></p>
<p><a href="http://bgoglin.livejournal.com/15598.html">More recently</a>, it seems that EXA is now the default rendering mode for my Intel chipsets but I had to use the above mentioned fix (revert back to XAA) that apparently wasn&#8217;t meant to be necessary any more.</p>
<p>Then I discovered this <a href="https://bugs.launchpad.net/xserver-xorg-video-intel/+bug/177492">Ubuntu bug thread</a> where I found there are some options you can set with EXA acceleration which brings performance back up to where XAA was:</p>
<p>xorg.conf:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
</pre></td><td class="code"><pre class="bash">Section <span style="color: #ff0000;">&quot;Device&quot;</span>
    Identifier      <span style="color: #ff0000;">&quot;Intel&quot;</span>
    Driver          <span style="color: #ff0000;">&quot;intel&quot;</span>
    BusID           <span style="color: #ff0000;">&quot;PCI:0:2:0&quot;</span>
    Option          <span style="color: #ff0000;">&quot;AccelMethod&quot;</span> <span style="color: #ff0000;">&quot;EXA&quot;</span>
    Option          <span style="color: #ff0000;">&quot;ExaNoComposite&quot;</span> <span style="color: #ff0000;">&quot;false&quot;</span>
    Option          <span style="color: #ff0000;">&quot;MigrationHeuristic&quot;</span> <span style="color: #ff0000;">&quot;greedy&quot;</span>
EndSection</pre></td></tr></table></div>

<p>Also, a 3D performance tweak can apparently be had by adding this to /etc/environment:</p>

<div class="wp_syntax"><div class="code"><pre class="bash"><span style="color: #007800;">INTEL_BATCH=</span><span style="color: #ff0000;">&quot;1&quot;</span></pre></div></div>

<p>However, all this breaks accelerated screen rotation, so my potrait display is slow as molasses.</p>
<p>Isn&#8217;t Linux fun?</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.voidscope.com/wordpress/2008/06/19/debian-testing-and-xorg/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>
