<?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>Ad Terras Per Aspera</title>
	<atom:link href="http://adterrasperaspera.com/blog/feed" rel="self" type="application/rss+xml" />
	<link>http://adterrasperaspera.com/blog</link>
	<description>Transmissions from the Little Blue Marble</description>
	<lastBuildDate>Sun, 22 Aug 2010 08:29:47 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>USB 3.0 works under Linux</title>
		<link>http://adterrasperaspera.com/blog/2010/08/22/usb-3-0-works-under-linux</link>
		<comments>http://adterrasperaspera.com/blog/2010/08/22/usb-3-0-works-under-linux#comments</comments>
		<pubDate>Sun, 22 Aug 2010 08:22:55 +0000</pubDate>
		<dc:creator>Patrick McFarland</dc:creator>
				<category><![CDATA[Samsung]]></category>
		<category><![CDATA[USB]]></category>
		<category><![CDATA[Vantec]]></category>

		<guid isPermaLink="false">http://adterrasperaspera.com/blog/?p=1317</guid>
		<description><![CDATA[I decided that I needed a real backup solution, even though I have a RAID 5 for file storage in my workstation; maintaining a backup of a 2TB array is a pain in the ass if all you have is blank DVDs. So, I purchased a Vantec NexStar 3 SuperSpeed (NST-380S3) enclosure, a Samsung EcoGreen [...]]]></description>
			<content:encoded><![CDATA[<p>I decided that I needed a real backup solution, even though I have a RAID 5 for file storage in my workstation; maintaining a backup of a 2TB array is a pain in the ass if all you have is blank DVDs.</p>
<p>So, I purchased a <a href="http://www.amazon.com/gp/redirect.html?ie=UTF8&#038;location=http%3A%2F%2Fwww.amazon.com%2FVantec-NexStar-SuperSpeed-External-Enclosure%2Fdp%2FB0037KLEWS&#038;tag=adastrapera02-20&#038;linkCode=ur2&#038;camp=1789&#038;creative=9325">Vantec NexStar 3 SuperSpeed (NST-380S3) enclosure</a>, a <a href="http://www.jdoqocy.com/click-2150801-10440897?url=http%3A%2F%2Fwww.newegg.com%2FProduct%2FProduct.aspx%3FItem%3DN82E16822152202%26nm_mc%3DAFC-C8Junction%26cm_mmc%3DAFC-C8Junction-_-Hard%2BDrives-_-SAMSUNG-_-22152202&#038;cjsku=N82E16822152202" target="_top">Samsung EcoGreen F3EG 2TB 5400rpm (HD203WI) drive</a>, and a <a href="http://www.amazon.com/gp/redirect.html?ie=UTF8&#038;location=http%3A%2F%2Fwww.amazon.com%2FPatriot-2-Port-Express-Card-PCUSB3PCIE%2Fdp%2FB003GSLDGI%2F&#038;tag=adastrapera02-20&#038;linkCode=ur2&#038;camp=1789&#038;creative=9325">USB 3 PCI-E controller</a>.</p>
<p>It seems the only shipping USB host controllers the moment all use NEC&#8217;s USB 3.0 chip, and almost all the PCI-E boards look alike. They all seem to run in the $25-45 range. The great part is Linux supports NEC&#8217;s controller as of 2.6.31. The controller worked with no configuration soon as I put the card in.</p>
<p>I chose that specific Samsung drive because it seems to be the only sane 5400 rpm 2TB drive out there. The only other choices were Seagate&#8217;s new 5900 rpm drives (which, according to independent reviews on Newegg and enthusiast forums have an unacceptably high failure rate, very unusual of Seagate), and Western Digital&#8217;s Caviar Greens (which are 5400 rpm, but suffer from obsessive head parking which is apparently leading to premature drive failure).</p>
<p><a href="http://www.guru3d.com/article/samsung-spinpoint-hd203wi-2tb-hdd-review/6">Several</a> <a href="http://www.storagereview.com/samsung_spinpoint_ecogreen_f3_review_hd203wi">reviews</a> peg the HD203WI at an average of 90mb/sec writes for sequential writing, or about 2-3x the speed of USB 2.0.</p>
<p><code>mkfs.ext4</code> took 7:44 minutes to create the file system (while iotop confirmed it was doing in excess of 100mb/sec writes for much of the process), and <code>hdparm -t /dev/sdx</code> also indicates the drive in this enclosure can push 100mb/sec.</p>
<p>After writing to the drive for an hour straight, the enclosure is warm but not hot, and after removing the drive from the enclosure, the drive itself is warm; this is compared to the Seagate 7200.12s in my RAID 5 array which could burn you at this point.</p>
<p>Many drives fail in enclosures because they overheat; I don&#8217;t think this will happen due to Vantec&#8217;s thick aluminum design in the NexStar series enclosures, and the fact that the HW203WI has low power usage.</p>
<p>After formatting with ext4, the file system uses 29GB out of 1.82TB total. Its kind of funny when I&#8217;ve owned drives smaller than the space consumed by an empty file system.</p>
<p>I&#8217;m rather happy with my purchases overall.<br />
<img src="http://www.awltovhc.com/image-2150801-10440897" width="1" height="1" border="0" style="border:none !important; margin:0px !important;"/><img src="http://www.assoc-amazon.com/e/ir?t=adastrapera02-20&#038;l=ur2&#038;o=1" width="1" height="1" border="0" alt="" style="border:none !important; margin:0px !important;" /><img src="http://www.assoc-amazon.com/e/ir?t=adastrapera02-20&#038;l=ur2&#038;o=1" width="1" height="1" border="0" alt="" style="border:none !important; margin:0px !important;" /></p>
]]></content:encoded>
			<wfw:commentRss>http://adterrasperaspera.com/blog/2010/08/22/usb-3-0-works-under-linux/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>FGLRX Catalyst 10.6 has slight bug</title>
		<link>http://adterrasperaspera.com/blog/2010/06/18/fglrx-catalyst-10-6-has-slight-bug</link>
		<comments>http://adterrasperaspera.com/blog/2010/06/18/fglrx-catalyst-10-6-has-slight-bug#comments</comments>
		<pubDate>Fri, 18 Jun 2010 08:18:05 +0000</pubDate>
		<dc:creator>Patrick McFarland</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://adterrasperaspera.com/blog/?p=1308</guid>
		<description><![CDATA[I&#8217;m not sure how many people this bug effects, but with certain setups Catalyst 10.6 will segfault on load. This effects very few people. The fix is to edit /etc/X11/xorg.conf and add BusID "PCI:1:0:0" inside the Section "Device" that defines your card (almost all people only have one of these) The BusID should match the [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m not sure how many people this bug effects, but with certain setups Catalyst 10.6 will segfault on load. This effects very few people.</p>
<p>The fix is to edit <code>/etc/X11/xorg.conf</code> and add <code>BusID "PCI:1:0:0"</code> inside the <code>Section "Device"</code> that defines your card (almost all people only have one of these)</p>
<p>The BusID should match the PCI ID that <code>lspci | grep Radeon</code> says.</p>
]]></content:encoded>
			<wfw:commentRss>http://adterrasperaspera.com/blog/2010/06/18/fglrx-catalyst-10-6-has-slight-bug/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Approximate Youtube Bitrates</title>
		<link>http://adterrasperaspera.com/blog/2010/05/24/approximate-youtube-bitrates</link>
		<comments>http://adterrasperaspera.com/blog/2010/05/24/approximate-youtube-bitrates#comments</comments>
		<pubDate>Mon, 24 May 2010 14:02:48 +0000</pubDate>
		<dc:creator>Patrick McFarland</dc:creator>
				<category><![CDATA[Theora]]></category>
		<category><![CDATA[Youtube]]></category>

		<guid isPermaLink="false">http://adterrasperaspera.com/blog/?p=1184</guid>
		<description><![CDATA[I&#8217;ve been wondering what bitrates Youtube produces on files, but they don&#8217;t upfront say. New videos are encoded in eight formats. However, due to bug in Youtube, some 24 fps videos (such as those from film sources) will have duplicate frames inserted to make them 30 fps, causing a very noticeable jitter approximately twice a [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been wondering what bitrates Youtube produces on files, but they don&#8217;t upfront say.</p>
<p>New videos are encoded in eight formats. However, due to bug in Youtube, some 24 fps videos (such as those from film sources) will have duplicate frames inserted to make them 30 fps, causing a very noticeable jitter approximately twice a second.</p>
<table border="0" cellspacing="0" cellpadding="3" rules="all" frame="void" style="margin-bottom: 1em; border: 1px black solid">
<tr>
<th>Format</th>
<th>Video&nbsp;Codec</th>
<th>Audio&nbsp;Codec</th>
<th>Container</th>
</tr>
<tr>
<td>37</td>
<td>H.264 1920&#215;1080 24/30 fps</td>
<td>AAC 44.1khz Stereo</td>
<td>mp4</td>
</tr>
<tr>
<td>22</td>
<td>H.264 1280&#215;720 24/30 fps</td>
<td>AAC 44.1khz Stereo</td>
<td>mp4</td>
</tr>
<tr>
<td>35</td>
<td>H.264 854&#215;480 24/30 fps</td>
<td>AAC 44.1khz Stereo</td>
<td>flv</td>
</tr>
<tr>
<td>34</td>
<td>H.264 640&#215;480 24/30 fps</td>
<td>AAC 44.1khz Stereo</td>
<td>flv</td>
</tr>
<tr>
<td>18</td>
<td>H.264, 480&#215;360 24/30 fps</td>
<td>AAC 44.1khz Stereo</td>
<td>mp4</td>
</tr>
<tr>
<td>5</td>
<td>Sorenson Spark, 320&#215;240 24/30 fps</td>
<td>MP3 22khz Stereo</td>
<td>flv</td>
</tr>
<tr>
<td>17</td>
<td>MPEG-4 ASP, 12 fps, black bordered to fit 176&#215;144 frame</td>
<td>AAC 22khz Mono</td>
<td>mp4</td>
</tr>
<tr>
<td>13</td>
<td>H.263+, 15 fps, stretched to full frame 176&#215;144 ignoring source aspect ratio</td>
<td>AMR 8khz Mono</td>
<td>3gp</td>
</tr>
</table>
<p><b>Note</b>: This does not include WebM videos yet as the support is still experimental, and Youtube is not yet encoding videos in 1080p, only 720p (format 45) and 480p (format 43).</p>
<p>Now lets see how a couple high quality videos fair on Youtube.</p>
<table border="0" cellspacing="0" cellpadding="3" rules="all" frame="void" style="margin-bottom: 1em; border: 1px black solid">
<tr>
<th>Format</th>
<th>Resolution</th>
<th colspan="2">Video and audio bitrate in kbit/sec</th>
</tr>
<tr>
<td colspan="4"><a href="http://www.youtube.com/watch?v=yQ5U8suTUw0">The Dark Knight Trailer 3</a> 1080p</a>, using the <a href="http://trailers.apple.com/trailers/wb/thedarkknight/">Apple</a> version. 2:30 long. H.264, 6ch 48khz AAC audio, 24 fps. Youtube encoded this as a 30 fps video.</td>
</tr>
<tr>
<td>Original</td>
<td>1920&#215;816</td>
<td>10518</td>
<td>260</td>
</tr>
<tr>
<td>37</td>
<td>1920&#215;816</td>
<td>3427</td>
<td>108.8</td>
</tr>
<tr>
<td>22</td>
<td>1280&#215;544</td>
<td>1998</td>
<td>108.8</td>
</tr>
<tr>
<td>35</td>
<td colspan="3">Missing on Youtube</a></p>
<tr>
<td>34</td>
<td>640&#215;272</td>
<td>517</td>
<td>95</td>
</tr>
<tr>
<td>18</td>
<td>480&#215;204</td>
<td>500</td>
<td>108.5</td>
</tr>
<tr>
<td>5</td>
<td>320&#215;136</td>
<td>257</td>
<td>64</td>
</tr>
<tr>
<td>17</td>
<td>176&#215;144</td>
<td>55.3</td>
<td>27</td>
</tr>
<tr>
<td>13</td>
<td>176&#215;144</td>
<td>55.6</td>
<td>13</td>
</tr>
<tr>
<td colspan="4"><a href="http://www.youtube.com/watch?v=_i2RCBa3l-g">Avatar Trailer</a> 1080p</a>, using the <a href="http://trailers.apple.com/trailers/fox/avatar/hd/">Apple</a> version. 3:29 long. H.264, stereo 44.1khz AAC audio, 24 fps.</td>
</tr>
<tr>
<td>Original</td>
<td>1920&#215;800</td>
<td>9726</td>
<td>99</td>
</td>
</tr>
<tr>
<td>37</td>
<td>1920&#215;800</td>
<td>3502</td>
<td>126</td>
</td>
</tr>
<tr>
<td>22</td>
<td>1280&#215;534</td>
<td>2003</td>
<td>126</td>
</td>
</tr>
<tr>
<td>35</td>
<td>854&#215;356</td>
<td>806</td>
<td>103.84</td>
</td>
</tr>
<tr>
<td>34</td>
<td>640&#215;266</td>
<td>554</td>
<td>103.81</td>
</td>
</tr>
<tr>
<td>18</td>
<td>480&#215;200</td>
<td>486</td>
<td>103.82</td>
</td>
</tr>
<tr>
<td>5</td>
<td>400&#215;166</td>
<td>255</td>
<td>59</td>
</td>
</tr>
<tr>
<td>17</td>
<td>176&#215;144</td>
<td>55</td>
<td>28</td>
</td>
</tr>
<tr>
<td>13</td>
<td>176&#215;144</td>
<td>54</td>
<td>13</td>
</td>
</tr>
<tr>
<td colspan="4"><a href="http://www.youtube.com/watch?v=XSGBVzeBUbk">Big Buck Bunny</a> 1080p</a>, using the <a href="http://www.bigbuckbunny.org/index.php/download/">Blender Foundation</a>&#8216;s original version. 9:57 long. Theora, stereo 48khz Vorbis audio, 24 fps.</td>
</tr>
<tr>
<td>Original</td>
<td>1920&#215;1080</td>
<td>11902</td>
<td>175</td>
</tr>
<tr>
<td>37</td>
<td>1920&#215;1080</td>
<td>3531</td>
<td>125</td>
</tr>
<tr>
<td>22</td>
<td>1280&#215;720</td>
<td>2020</td>
<td>125</td>
</tr>
<tr>
<td>35</td>
<td>854&#215;480</td>
<td>990</td>
<td>107.9</td>
</tr>
<tr>
<td>34</td>
<td>640&#215;360</td>
<td>494</td>
<td>108.02</td>
</tr>
<tr>
<td>18</td>
<td>480&#215;270</td>
<td>435</td>
<td>108.03</td>
</tr>
<tr>
<td>5</td>
<td>400&#215;226</td>
<td>250</td>
<td>59</td>
</tr>
<tr>
<td>17</td>
<td>176&#215;144</td>
<td>55</td>
<td>30</td>
</tr>
<tr>
<td>13</td>
<td>176&#215;144</td>
<td>49</td>
<td>12</td>
</tr>
</table>
<p>With these 3 popular HD videos, its easy to tell what sort of bitrate Youtube tries to hit.</p>
<table border="0" cellspacing="0" cellpadding="3" rules="all" frame="void" style="margin-bottom: 1em; border: 1px black solid">
<tr>
<th>Format</th>
<th>Approximate bitrate target (video and audio)</th>
</tr>
<tr>
<td>37</td>
<td>3.75mbit/sec</td>
</tr>
<tr>
<td>22</td>
<td>2.25mbit/sec</td>
</tr>
<tr>
<td>35</td>
<td>1.25mbit/sec</td>
</tr>
<tr>
<td>34</td>
<td>768kbit/sec</td>
</tr>
<tr>
<td>18</td>
<td>768kbit/sec</td>
</tr>
<tr>
<td>5</td>
<td>384kbit/sec</td>
</tr>
<tr>
<td>17</td>
<td>100kbit/sec</td>
</tr>
<tr>
<td>13</td>
<td>75kbit/sec</td>
</tr>
</table>
]]></content:encoded>
			<wfw:commentRss>http://adterrasperaspera.com/blog/2010/05/24/approximate-youtube-bitrates/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>SLF4J and making JUL shut up</title>
		<link>http://adterrasperaspera.com/blog/2010/02/15/slf4j-and-making-jul-shut-up</link>
		<comments>http://adterrasperaspera.com/blog/2010/02/15/slf4j-and-making-jul-shut-up#comments</comments>
		<pubDate>Mon, 15 Feb 2010 12:27:58 +0000</pubDate>
		<dc:creator>Patrick McFarland</dc:creator>
				<category><![CDATA[Java]]></category>

		<guid isPermaLink="false">http://adterrasperaspera.com/blog/?p=1160</guid>
		<description><![CDATA[I&#8217;ve decided to switch to the Simple Logging Facade for Java (SLF4J) plus Logback to bridge java.util.logging (JUL), Log4J, and Apache Commons Logging all into one log output. Problem is, JUL won&#8217;t shut up. Frameworks that log to JUL output the log to the console, and then SLF4J repeats it right after. However, putting this [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve decided to switch to the <a href="http://www.slf4j.org/">Simple Logging Facade for Java (SLF4J)</a> plus <a href="http://logback.qos.ch/">Logback</a> to bridge java.util.logging (JUL), Log4J, and Apache Commons Logging all into one log output.</p>
<p>Problem is, JUL won&#8217;t shut up. Frameworks that log to JUL output the log to the console, and then SLF4J repeats it right after. However, putting this code in before running <code>SLF4BridgeHandler.install()</code> seems to fix it:</p>
<blockquote><p><code>java.util.logging.Logger root_logger = java.util.logging.LogManager.getLogManager().getLogger("");<br/><br/>java.util.logging.Handler[] root_handlers = root_logger.getHandlers();<br/><br/>rootLogger.removeHandler(root_handlers[0]);</code></p></blockquote>
<p>Now I get one single log output alone.</p>
]]></content:encoded>
			<wfw:commentRss>http://adterrasperaspera.com/blog/2010/02/15/slf4j-and-making-jul-shut-up/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Trying to get OSX to work well in VirtualBox</title>
		<link>http://adterrasperaspera.com/blog/2010/02/12/trying-to-get-osx-to-work-well-in-virtualbox</link>
		<comments>http://adterrasperaspera.com/blog/2010/02/12/trying-to-get-osx-to-work-well-in-virtualbox#comments</comments>
		<pubDate>Fri, 12 Feb 2010 22:55:47 +0000</pubDate>
		<dc:creator>Patrick McFarland</dc:creator>
				<category><![CDATA[Apple]]></category>
		<category><![CDATA[OSX]]></category>
		<category><![CDATA[VirtualBox]]></category>

		<guid isPermaLink="false">http://adterrasperaspera.com/blog/?p=1150</guid>
		<description><![CDATA[Update: This article is out of date. Virtualbox officially supports OSX nearly flawlessly under 3.2: native EFI booting, USB keyboard/mouse, networking, and sound (using a third party driver). The only thing missing is 3D acceleration support. Now that VirtualBox 3.1.4 is out, I decided to try OSX. I would like to thank this thread on [...]]]></description>
			<content:encoded><![CDATA[<p><b>Update:</b> This article is out of date. Virtualbox officially supports OSX nearly flawlessly under 3.2: native EFI booting, USB keyboard/mouse, networking, and <a href="http://forums.virtualbox.org/viewtopic.php?f=4&#038;t=30843">sound (using a third party driver)</a>. The only thing missing is 3D acceleration support.</p>
<p>Now that VirtualBox 3.1.4 is out, I decided to try OSX. I would like to thank <a href="http://forums.virtualbox.org/viewtopic.php?f=4&#038;t=2076&#038;sid=e48b3a52712d382b1a785269a25019d6">this thread</a> on the VBox forums for a few hints on how to do this.</p>
<p>I am doing this on a Core 2 Duo. This should work on any processor that has at least SSE3.</p>
<p>These instructions are for people who are used to using VirtualBox.</p>
<p>You need:</p>
<ol>
<li><a href="http://virtualbox.org/">At least VirtualBox 3.1.4</a></li>
<li>A Hackintosh ISO. I used <a href="http://www.picktorrent.com/download/b8/3411687/ideneb-v1-6-10-5-8-lite-edition/">iDeneb 1.6 Lite</a>, which is based on OSX Leopard 10.5.8. Others may or may not work depending if they include the appropriate hacks.</li>
</ol>
<p>Make a new virtual machine, set:</p>
<ol>
<li>Set it for FreeBSD</li>
<li>With at least 1GB of memory</li>
<li>And at least 10GB of HD space</li>
</ol>
<p>Set the additional settings of:</p>
<ol>
<li>System->Motherboard->Enable IO APIC to on</li>
<li>Do NOT enable EFI, it is not complete enough for OSX yet</li>
<li>System->Processor->Processor(s) matching what you actually have</li>
<li>System->Processor->Enable PAE/NX to on</li>
<li>Display->Video->128MB of video memory, with 3D Acceleration enabled</li>
<li>Storage->IDE Controller->Type set to ICH6</li>
<li>Network->Adapter 1->Attached to Bridged Adapter, advanced->Intel PRO/1000 MT Desktop (NOT MT Server or T Server)</li>
</ol>
<p>Exit VirtualBox, edit the XML definition for the machine. For me, and I named my machine OSX, this was under <code>~/.VirtualBox/Machines/OSX/OSX.xml</code>. Add the line&#8230;</p>
<blockquote><p><code>&lt;ExtraDataItem name="VBoxInternal2/SupportExtHwProfile" value="on"/&gt;</code></p></blockquote>
<p>&#8230; inside the <code>&lt;ExtraData&gt;</code> block, and save it and restart VirtualBox.</p>
<p>Mount the iDeneb ISO inside your virtual machine, and start it up. Remember to press enter to start the CD on boot.</p>
<p>Use the disk utility to format your drive to HSF journaled. Select that drive in the installer and hit the customize button before installing.</p>
<p>Select the following options in the iDeneb OSx86 Components menu:</p>
<ol>
<li>Kernel->Qoopz</li>
<li>Essential Patches->ACPI Fix</li>
<li>Essential Patches->PS/2 Drivers->ApplePS2 Old</li>
<li>Drivers->Chipset->ICHx Fixed</li>
</ol>
<p>Now, just install. This takes about 20 minutes.</p>
<p>To get network working after boot, go into the client&#8217;s menu while running and do Devices->Network Adapters, uncheck Cable connected, hit okay, go back in, and check Cable connected. After that OSX will connect to the network, and you have to do this every time you boot.</p>
<p>Sound cannot be fixed at the current time: VirtualBox&#8217;s AC97 emulation supports a version of ICH AC97 too old for the popular third party AppleAC97Audio.kext to support. Hopefully VirtualBox will get a HDA emulation, which will improve chances of being emulated correctly.</p>
<p>2D speed seems to be pretty fast without specific drivers, although some operations will be noticeably slow. I wish there was a specific video driver for this.</p>
]]></content:encoded>
			<wfw:commentRss>http://adterrasperaspera.com/blog/2010/02/12/trying-to-get-osx-to-work-well-in-virtualbox/feed</wfw:commentRss>
		<slash:comments>19</slash:comments>
		</item>
		<item>
		<title>Using Xfce4 on my Debian-using Powerbook, rejecting Gnome+Mono</title>
		<link>http://adterrasperaspera.com/blog/2009/12/22/using-xfce4-on-my-debian-using-powerbook-rejecting-gnomemono</link>
		<comments>http://adterrasperaspera.com/blog/2009/12/22/using-xfce4-on-my-debian-using-powerbook-rejecting-gnomemono#comments</comments>
		<pubDate>Tue, 22 Dec 2009 07:13:36 +0000</pubDate>
		<dc:creator>Patrick McFarland</dc:creator>
				<category><![CDATA[Debian]]></category>
		<category><![CDATA[Gnome]]></category>
		<category><![CDATA[Laptop]]></category>
		<category><![CDATA[Mono]]></category>
		<category><![CDATA[XFCE]]></category>

		<guid isPermaLink="false">http://adterrasperaspera.com/blog/?p=1139</guid>
		<description><![CDATA[Gnome on Debian, installed using the meta-package, pulls in Mono. You used to be able to bypass this requirement by installing gnote instead of Tomboy, but Gnome now pulls in many other Mono-using apps, of which there are better replacements. Since I feel Mono is bloated, slow, and anti-FOSS and Debian doesn&#8217;t want to remove [...]]]></description>
			<content:encoded><![CDATA[<p>Gnome on Debian, installed using the meta-package, pulls in Mono. You used to be able to bypass this requirement by installing gnote instead of Tomboy, but Gnome now pulls in many other Mono-using apps, of which there are better replacements. </p>
<p>Since I feel Mono is bloated, slow, and anti-FOSS and Debian doesn&#8217;t want to remove the Mono requirement (although, yes, I can just not use the meta-package, but that&#8217;s just broken behavior), I have decided to try alternatives.</p>
<p>I purged Gnome the hard way by removing libgtk2 and libglib2 and doing several rounds of <code>deborphan --guess-all | xargs apt-get remove</code> combined with <code>apt-get autoremove</code>. In the long run this removed tons of crap I never used.</p>
<p>Next, I installed Xfce with <code>apt-get install xfce4 xfce4-goodies xorg desktop-base tango-icon-theme xfprint4</code>, and also did <code>apt-get install iceweasel pidgin gwibber network-manager-gnome vim-gtk gtk-engines</code> to get the apps I really did want installed. I also installed Slim as a replacement for GDM.</p>
<p>I changed my GTK, Xfwm, and icon themes to &#8220;Clearlooks&#8221;, &#8220;Default-4.4&#8243;, and &#8220;Tango&#8221; respectively. I set The Xfce Session Manager imported my Gnome Session Manager configuration, so apps I have set to startup on session start was maintained.</p>
<p>I also added the app launchers I had on my Gnome panel to the Xfce panel and moved the virtual desktop chooser to the far left, set my panel to be 24 pixels tall, and enabled composting inside Xfwm.</p>
<p>So, after doing all that, I have to say&#8230; everything is faster. Gnome had requirements that caused several daemons to start on boot, which increased the time between bootloader and X start, and GDM takes several more times longer to start than Slim. Xfce also starts near instantly compared to Gnome, yet it has the same functionality.</p>
<p>If I had actually bothered to time it, I would not be surprised if I get a usable desktop in half the time I did with Gnome. Xfce is clearly a better product with a lot less bloat.</p>
<p>Also, memory usage wise, I can run Xfce plus X, Pidgin, and NetworkManager in under 200 megs of RAM. Gwibber uses roughly 150 (I think it might be leaking), and Firefox being open with a single tab open uses around 75. A useful Linux desktop doesn&#8217;t have to be a bloated mess.</p>
<p><strong>Update:</strong> I swapped out NetworkManager for WICD. WICD in total uses less RAM and doesn&#8217;t have the hald dependency. Once Xfce&#8217;s Power Manager switches to use the new API instead of through hald, that&#8217;ll be one less thing to load on boot (it wastes time, not memory).</p>
<p>I need to find a good replacement for Gwibber though, it leaks like crazy. I&#8217;ve been running it almost 11 days now, and it&#8217;s using a 1gb of memory.</p>
]]></content:encoded>
			<wfw:commentRss>http://adterrasperaspera.com/blog/2009/12/22/using-xfce4-on-my-debian-using-powerbook-rejecting-gnomemono/feed</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
		<item>
		<title>5 years</title>
		<link>http://adterrasperaspera.com/blog/2009/11/21/5-years</link>
		<comments>http://adterrasperaspera.com/blog/2009/11/21/5-years#comments</comments>
		<pubDate>Sat, 21 Nov 2009 05:00:45 +0000</pubDate>
		<dc:creator>Patrick McFarland</dc:creator>
				<category><![CDATA[Blog]]></category>

		<guid isPermaLink="false">http://adterrasperaspera.com/blog/?p=1127</guid>
		<description><![CDATA[Ad Terras Per Aspera is now 5 years old, and I&#8217;m still writing for this blog.]]></description>
			<content:encoded><![CDATA[<p>Ad Terras Per Aspera is now 5 years old, and I&#8217;m still writing for this blog.</p>
]]></content:encoded>
			<wfw:commentRss>http://adterrasperaspera.com/blog/2009/11/21/5-years/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>There’s nothing worse than a Republican -or- Fear and Loathing on the American No Insurance Trail</title>
		<link>http://adterrasperaspera.com/blog/2009/10/12/there%e2%80%99s-nothing-worse-than-a-republican-or-fear-and-loathing-on-the-american-no-insurance-trail</link>
		<comments>http://adterrasperaspera.com/blog/2009/10/12/there%e2%80%99s-nothing-worse-than-a-republican-or-fear-and-loathing-on-the-american-no-insurance-trail#comments</comments>
		<pubDate>Mon, 12 Oct 2009 07:00:58 +0000</pubDate>
		<dc:creator>Patrick McFarland</dc:creator>
				<category><![CDATA[Elsewhere]]></category>

		<guid isPermaLink="false">http://adterrasperaspera.com/blog/?p=1069</guid>
		<description><![CDATA[There’s nothing worse than a Republican -or- Fear and Loathing on the American No Insurance Trail]]></description>
			<content:encoded><![CDATA[<p><a href="http://izanbardprince.wordpress.com/2009/10/12/theres-nothing-worse-than-a-republican-or-fear-and-loathing-on-the-american-no-insurance-trail/">There’s nothing worse than a Republican -or- Fear and Loathing on the American No Insurance Trail</a></p>
]]></content:encoded>
			<wfw:commentRss>http://adterrasperaspera.com/blog/2009/10/12/there%e2%80%99s-nothing-worse-than-a-republican-or-fear-and-loathing-on-the-american-no-insurance-trail/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Franken passes law denying fed contracts to companies that support rape of employees</title>
		<link>http://adterrasperaspera.com/blog/2009/10/08/franken-passes-law-denying-fed-contracts-to-companies-that-support-rape-of-employees</link>
		<comments>http://adterrasperaspera.com/blog/2009/10/08/franken-passes-law-denying-fed-contracts-to-companies-that-support-rape-of-employees#comments</comments>
		<pubDate>Thu, 08 Oct 2009 08:27:25 +0000</pubDate>
		<dc:creator>Patrick McFarland</dc:creator>
				<category><![CDATA[Elsewhere]]></category>

		<guid isPermaLink="false">http://adterrasperaspera.com/blog/?p=1067</guid>
		<description><![CDATA[Franken passes law denying fed contracts to companies that support rape of employees; Alabama, please fire Sessions]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.boingboing.net/2009/10/07/franken-passes-law-d.html">Franken passes law denying fed contracts to companies that support rape of employees</a>; Alabama, please fire Sessions</p>
]]></content:encoded>
			<wfw:commentRss>http://adterrasperaspera.com/blog/2009/10/08/franken-passes-law-denying-fed-contracts-to-companies-that-support-rape-of-employees/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Shatner Of The Mount</title>
		<link>http://adterrasperaspera.com/blog/2009/10/05/shatner-of-the-mount</link>
		<comments>http://adterrasperaspera.com/blog/2009/10/05/shatner-of-the-mount#comments</comments>
		<pubDate>Mon, 05 Oct 2009 04:00:21 +0000</pubDate>
		<dc:creator>Patrick McFarland</dc:creator>
				<category><![CDATA[Elsewhere]]></category>

		<guid isPermaLink="false">http://adterrasperaspera.com/blog/?p=1065</guid>
		<description><![CDATA[Shatner Of The Mount]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.youtube.com/watch?v=HU2ftCitvyQ">Shatner Of The Mount</a></p>
]]></content:encoded>
			<wfw:commentRss>http://adterrasperaspera.com/blog/2009/10/05/shatner-of-the-mount/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Olympia Snowe does not represent the people of Maine</title>
		<link>http://adterrasperaspera.com/blog/2009/09/30/olympia-snowe-does-not-represent-the-people-of-maine</link>
		<comments>http://adterrasperaspera.com/blog/2009/09/30/olympia-snowe-does-not-represent-the-people-of-maine#comments</comments>
		<pubDate>Wed, 30 Sep 2009 14:25:30 +0000</pubDate>
		<dc:creator>Patrick McFarland</dc:creator>
				<category><![CDATA[Maine]]></category>
		<category><![CDATA[Olympia Snowe]]></category>
		<category><![CDATA[Senate]]></category>

		<guid isPermaLink="false">http://adterrasperaspera.com/blog/?p=1051</guid>
		<description><![CDATA[Olympia Snowe has voted against the public option, she has voted against the American people, and she has proven again and again that she does not take her job seriously. This ad from Progressive Change Campaign Committee is currently being run in Maine and DC because she should not be holding her Senate seat and [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: center; margin: 0 auto 1em auto"><object type="application/x-shockwave-flash" style="width:480px; height:295px;" data="http://www.youtube.com/v/bTtoe-8-6ao&#038;fmt=18"><param name="movie" value="http://www.youtube.com/v/bTtoe-8-6ao&#038;fmt=18" /></object></p>
<p>Olympia Snowe has voted against the public option, she has voted against the American people, and she has proven again and again that she does not take her job seriously.</p>
<p>This ad from <a href="http://boldprogressives.org/">Progressive Change Campaign Committee</a> is currently being run in Maine and DC because she should not be holding her Senate seat and she should vacate it immediately and let the people of Maine choose someone who wants to see America last another 200 years.</p>
<p>To be honest, I am very angry. She was elected to serve the people several times, and I can&#8217;t remember once when she has actually done this. She serves private interest groups, she votes for wars, she does everything in her power to keep the American people down.</p>
<p>People like her mention 9/11 over and over&#8230; but every time she votes against the American people, every time she votes for the war, every time she votes against better health care and better education and better national security through diplomacy and transparency, the terrorists win just a little more.</p>
]]></content:encoded>
			<wfw:commentRss>http://adterrasperaspera.com/blog/2009/09/30/olympia-snowe-does-not-represent-the-people-of-maine/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Is Microsoft saying “Please use our products”? – MS pleads for support?</title>
		<link>http://adterrasperaspera.com/blog/2009/09/26/is-microsoft-saying-%e2%80%9cplease-use-our-products%e2%80%9d-%e2%80%93-ms-pleads-for-support</link>
		<comments>http://adterrasperaspera.com/blog/2009/09/26/is-microsoft-saying-%e2%80%9cplease-use-our-products%e2%80%9d-%e2%80%93-ms-pleads-for-support#comments</comments>
		<pubDate>Sat, 26 Sep 2009 04:00:06 +0000</pubDate>
		<dc:creator>Patrick McFarland</dc:creator>
				<category><![CDATA[Elsewhere]]></category>

		<guid isPermaLink="false">http://adterrasperaspera.com/blog/?p=1048</guid>
		<description><![CDATA[Is Microsoft saying “Please use our products”? – MS pleads for support?]]></description>
			<content:encoded><![CDATA[<p><a href="http://openbytes.wordpress.com/2009/09/25/is-microsoft-saying-please-use-our-products-ms-pleads-for-support/">Is Microsoft saying “Please use our products”? – MS pleads for support?</a></p>
]]></content:encoded>
			<wfw:commentRss>http://adterrasperaspera.com/blog/2009/09/26/is-microsoft-saying-%e2%80%9cplease-use-our-products%e2%80%9d-%e2%80%93-ms-pleads-for-support/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>RMS is now cool again</title>
		<link>http://adterrasperaspera.com/blog/2009/09/25/rms-is-now-cool-again</link>
		<comments>http://adterrasperaspera.com/blog/2009/09/25/rms-is-now-cool-again#comments</comments>
		<pubDate>Fri, 25 Sep 2009 20:38:00 +0000</pubDate>
		<dc:creator>Patrick McFarland</dc:creator>
				<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[Mono]]></category>
		<category><![CDATA[RMS]]></category>

		<guid isPermaLink="false">http://adterrasperaspera.com/blog/?p=1045</guid>
		<description><![CDATA[RMS has seen the light. The conversation shifted towards Microsoft&#8217;s new Open Source labs, and in response to a question by Owens, Stallman noted that Miguel de Icaza &#8220;is basically a traitor to the Free Software community&#8221;. He also added that De Icaza is a Microsoft apologist, hence his involvement in the new Open Source [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.osnews.com/story/22225/RMS_De_Icaza_Traitor_to_Free_Software_Community">RMS has seen the light</a>.</p>
<blockquote><p>The conversation shifted towards Microsoft&#8217;s new Open Source labs, and in response to a question by Owens, Stallman noted that Miguel de Icaza &#8220;is basically a traitor to the Free Software community&#8221;. He also added that De Icaza is a Microsoft apologist, hence his involvement in the new Open Source labs does not inspire confidence.</p></blockquote>
<p>I take back what <a href="http://adterrasperaspera.com/blog/2009/06/27/rms-gets-it-wrong-c-and-net-suck-no-matter-whos-you-use">I said about RMS earlier</a>, he does, in fact, understand Mono and anything related to C#/.Net is unwanted in FOSS-land.</p>
<p>Also, why is Thom Holwerda shilling for Microsoft so hard? The rest of the article is almost unreadable there.</p>
]]></content:encoded>
			<wfw:commentRss>http://adterrasperaspera.com/blog/2009/09/25/rms-is-now-cool-again/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ivy and Sun&#8217;s Java.net Maven repo</title>
		<link>http://adterrasperaspera.com/blog/2009/09/24/ivy-and-suns-java-net-maven-repo</link>
		<comments>http://adterrasperaspera.com/blog/2009/09/24/ivy-and-suns-java-net-maven-repo#comments</comments>
		<pubDate>Thu, 24 Sep 2009 19:49:05 +0000</pubDate>
		<dc:creator>Patrick McFarland</dc:creator>
				<category><![CDATA[Ivy]]></category>
		<category><![CDATA[Java]]></category>
		<category><![CDATA[Maven]]></category>

		<guid isPermaLink="false">http://adterrasperaspera.com/blog/?p=1031</guid>
		<description><![CDATA[I want to use Sun&#8217;s Java.net Maven repo with Ivy, and this is not documented well anywhere. In ivysettings.xml (Ivy will automatically use it) put: &#60;?xml version="1.0" encoding="UTF-8"?&#62; &#60;!DOCTYPE ivysettings&#62; &#60;ivysettings&#62; &#60;settings defaultResolver="chained" /&#62; &#60;property name="java.net.maven.pattern" value="[organisation]/jars/[module]-[revision].[ext]" /&#62; &#60;resolvers&#62; &#60;chain name="chained" returnFirst="true"&#62; &#60;ibiblio name="ibiblio" m2compatible="true" /&#62; &#60;ibiblio name="java-net-maven2" root="http://download.java.net/maven/2/" m2compatible="true" /&#62; &#60;ibiblio name="java-net-maven1" root="http://download.java.net/maven/1/" pattern="${java.net.maven.pattern}" [...]]]></description>
			<content:encoded><![CDATA[<p>I want to use Sun&#8217;s Java.net Maven repo with <a href="http://ant.apache.org/ivy/">Ivy</a>, and this is not documented well anywhere.</p>
<p>In ivysettings.xml (Ivy will automatically use it) put:</p>
<pre>
&lt;?xml version="1.0" encoding="UTF-8"?&gt;
&lt;!DOCTYPE ivysettings&gt;
&lt;ivysettings&gt;
  &lt;settings defaultResolver="chained" /&gt;
  &lt;property name="java.net.maven.pattern"
    value="[organisation]/jars/[module]-[revision].[ext]" /&gt;
  &lt;resolvers&gt;
    &lt;chain name="chained" returnFirst="true"&gt;
      &lt;ibiblio name="ibiblio" m2compatible="true" /&gt;
      &lt;ibiblio name="java-net-maven2"
        root="http://download.java.net/maven/2/"
        m2compatible="true" /&gt;
      &lt;ibiblio name="java-net-maven1"
        root="http://download.java.net/maven/1/"
        pattern="${java.net.maven.pattern}"
        m2compatible="false" /&gt;
    &lt;/chain&gt;
  &lt;/resolvers&gt;
&lt;/ivysettings&gt;
</pre>
<p>Now you can make an ivy.xml with dependencies like <code>&lt;dependency org="com.sun.grizzly" name="grizzly-http" rev="2.0.0-SNAPSHOT"/&gt;</code> and have it work right.</p>
]]></content:encoded>
			<wfw:commentRss>http://adterrasperaspera.com/blog/2009/09/24/ivy-and-suns-java-net-maven-repo/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Linux 2.6.31 Local Root Exploit</title>
		<link>http://adterrasperaspera.com/blog/2009/09/20/linux-2-6-31-local-root-exploit</link>
		<comments>http://adterrasperaspera.com/blog/2009/09/20/linux-2-6-31-local-root-exploit#comments</comments>
		<pubDate>Sun, 20 Sep 2009 08:33:13 +0000</pubDate>
		<dc:creator>Patrick McFarland</dc:creator>
				<category><![CDATA[Elsewhere]]></category>

		<guid isPermaLink="false">http://adterrasperaspera.com/blog/?p=1029</guid>
		<description><![CDATA[Linux 2.6.31 Local Root Exploit]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.youtube.com/watch?v=KvREwhfQmbc">Linux 2.6.31 Local Root Exploit</a></p>
]]></content:encoded>
			<wfw:commentRss>http://adterrasperaspera.com/blog/2009/09/20/linux-2-6-31-local-root-exploit/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Secure Glassfish v3 Admin Console</title>
		<link>http://adterrasperaspera.com/blog/2009/09/18/secure-glassfish-v3-admin-console</link>
		<comments>http://adterrasperaspera.com/blog/2009/09/18/secure-glassfish-v3-admin-console#comments</comments>
		<pubDate>Fri, 18 Sep 2009 08:23:03 +0000</pubDate>
		<dc:creator>Patrick McFarland</dc:creator>
				<category><![CDATA[Glassfish]]></category>
		<category><![CDATA[Java]]></category>

		<guid isPermaLink="false">http://adterrasperaspera.com/blog/?p=1027</guid>
		<description><![CDATA[By default, the admin console can be accessed by the outside world. I prefer to have it accessible to localhost only (so I can ssh tunnel it only). Open the admin console, and on the menu, Configuration -> Network Config -> Network Listeners -> admin-listener, and edit the IP to state 127.0.0.1, hit save, then [...]]]></description>
			<content:encoded><![CDATA[<p>By default, the admin console can be accessed by the outside world. I prefer to have it accessible to localhost only (so I can ssh tunnel it only).</p>
<p>Open the admin console, and on the menu, Configuration -> Network Config -> Network Listeners -> admin-listener, and edit the IP to state 127.0.0.1, hit save, then restart Glassfish.</p>
]]></content:encoded>
			<wfw:commentRss>http://adterrasperaspera.com/blog/2009/09/18/secure-glassfish-v3-admin-console/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Obama has just won the 2012 election</title>
		<link>http://adterrasperaspera.com/blog/2009/09/16/obama-has-just-won-the-2012-election</link>
		<comments>http://adterrasperaspera.com/blog/2009/09/16/obama-has-just-won-the-2012-election#comments</comments>
		<pubDate>Wed, 16 Sep 2009 07:28:15 +0000</pubDate>
		<dc:creator>Patrick McFarland</dc:creator>
				<category><![CDATA[Elsewhere]]></category>

		<guid isPermaLink="false">http://adterrasperaspera.com/blog/?p=1025</guid>
		<description><![CDATA[Obama has just won the 2012 election]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.youtube.com/watch?v=PbatjA-N5z8">Obama has just won the 2012 election</a></p>
]]></content:encoded>
			<wfw:commentRss>http://adterrasperaspera.com/blog/2009/09/16/obama-has-just-won-the-2012-election/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Professional media troll vs professional media troll, totally epic</title>
		<link>http://adterrasperaspera.com/blog/2009/09/06/professional-media-troll-vs-professional-media-troll-totally-epic</link>
		<comments>http://adterrasperaspera.com/blog/2009/09/06/professional-media-troll-vs-professional-media-troll-totally-epic#comments</comments>
		<pubDate>Sun, 06 Sep 2009 07:01:09 +0000</pubDate>
		<dc:creator>Patrick McFarland</dc:creator>
				<category><![CDATA[Elsewhere]]></category>

		<guid isPermaLink="false">http://adterrasperaspera.com/blog/?p=1022</guid>
		<description><![CDATA[Professional media troll vs professional media troll, totally epic]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.youtube.com/watch?v=ctXlo1r7AIk">Professional media troll vs professional media troll, totally epic</a></p>
]]></content:encoded>
			<wfw:commentRss>http://adterrasperaspera.com/blog/2009/09/06/professional-media-troll-vs-professional-media-troll-totally-epic/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Visual Effects: 100 Years of Inspiration</title>
		<link>http://adterrasperaspera.com/blog/2009/09/04/visual-effects-100-years-of-inspiration</link>
		<comments>http://adterrasperaspera.com/blog/2009/09/04/visual-effects-100-years-of-inspiration#comments</comments>
		<pubDate>Fri, 04 Sep 2009 08:55:38 +0000</pubDate>
		<dc:creator>Patrick McFarland</dc:creator>
				<category><![CDATA[Elsewhere]]></category>

		<guid isPermaLink="false">http://adterrasperaspera.com/blog/?p=1019</guid>
		<description><![CDATA[Visual Effects: 100 Years of Inspiration]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.youtube.com/watch?v=LP_hAszQPgk&#038;fmt=22">Visual Effects: 100 Years of Inspiration</a></p>
]]></content:encoded>
			<wfw:commentRss>http://adterrasperaspera.com/blog/2009/09/04/visual-effects-100-years-of-inspiration/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Multicolr Search Lab: color search for Flickr</title>
		<link>http://adterrasperaspera.com/blog/2009/09/02/multicolr-search-lab-color-search-for-flickr</link>
		<comments>http://adterrasperaspera.com/blog/2009/09/02/multicolr-search-lab-color-search-for-flickr#comments</comments>
		<pubDate>Wed, 02 Sep 2009 13:57:45 +0000</pubDate>
		<dc:creator>Patrick McFarland</dc:creator>
				<category><![CDATA[Elsewhere]]></category>

		<guid isPermaLink="false">http://adterrasperaspera.com/blog/?p=1017</guid>
		<description><![CDATA[Multicolr Search Lab: color search for Flickr]]></description>
			<content:encoded><![CDATA[<p><a href="http://labs.ideeinc.com/multicolr/">Multicolr Search Lab: color search for Flickr</a></p>
]]></content:encoded>
			<wfw:commentRss>http://adterrasperaspera.com/blog/2009/09/02/multicolr-search-lab-color-search-for-flickr/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How a woman unfucked Maytag using Twitter</title>
		<link>http://adterrasperaspera.com/blog/2009/08/31/how-a-woman-unfucked-maytag-using-twitter</link>
		<comments>http://adterrasperaspera.com/blog/2009/08/31/how-a-woman-unfucked-maytag-using-twitter#comments</comments>
		<pubDate>Mon, 31 Aug 2009 15:05:50 +0000</pubDate>
		<dc:creator>Patrick McFarland</dc:creator>
				<category><![CDATA[Elsewhere]]></category>

		<guid isPermaLink="false">http://adterrasperaspera.com/blog/?p=1015</guid>
		<description><![CDATA[How a woman unfucked Maytag using Twitter]]></description>
			<content:encoded><![CDATA[<p><a href="http://dooce.com/2009/08/28/containing-capital-letter-or-two">How a woman unfucked Maytag using Twitter</a></p>
]]></content:encoded>
			<wfw:commentRss>http://adterrasperaspera.com/blog/2009/08/31/how-a-woman-unfucked-maytag-using-twitter/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ARM powered Linux netbook with removable keyboard, 10 hour battery life</title>
		<link>http://adterrasperaspera.com/blog/2009/08/22/arm-powered-linux-netbook-with-removable-keyboard-10-hour-battery-life</link>
		<comments>http://adterrasperaspera.com/blog/2009/08/22/arm-powered-linux-netbook-with-removable-keyboard-10-hour-battery-life#comments</comments>
		<pubDate>Sat, 22 Aug 2009 20:40:43 +0000</pubDate>
		<dc:creator>Patrick McFarland</dc:creator>
				<category><![CDATA[Elsewhere]]></category>

		<guid isPermaLink="false">http://adterrasperaspera.com/blog/?p=1013</guid>
		<description><![CDATA[ARM powered Linux netbook with removable keyboard, 10 hour battery life]]></description>
			<content:encoded><![CDATA[<p><a href="https://www.alwaysinnovating.com/touchbook/">ARM powered Linux netbook with removable keyboard, 10 hour battery life</a></p>
]]></content:encoded>
			<wfw:commentRss>http://adterrasperaspera.com/blog/2009/08/22/arm-powered-linux-netbook-with-removable-keyboard-10-hour-battery-life/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Even Novell doesn&#8217;t use Mono</title>
		<link>http://adterrasperaspera.com/blog/2009/08/20/even-novell-doesnt-use-mono</link>
		<comments>http://adterrasperaspera.com/blog/2009/08/20/even-novell-doesnt-use-mono#comments</comments>
		<pubDate>Thu, 20 Aug 2009 20:15:55 +0000</pubDate>
		<dc:creator>Patrick McFarland</dc:creator>
				<category><![CDATA[Elsewhere]]></category>

		<guid isPermaLink="false">http://adterrasperaspera.com/blog/?p=995</guid>
		<description><![CDATA[Even Novell doesn&#8217;t use Mono]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.itwire.com/content/view/27061/1090/">Even Novell doesn&#8217;t use Mono</a></p>
]]></content:encoded>
			<wfw:commentRss>http://adterrasperaspera.com/blog/2009/08/20/even-novell-doesnt-use-mono/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Feeding marshalled JAXB data to Jersey</title>
		<link>http://adterrasperaspera.com/blog/2009/08/20/feeding-marshalled-jaxb-data-to-jersey</link>
		<comments>http://adterrasperaspera.com/blog/2009/08/20/feeding-marshalled-jaxb-data-to-jersey#comments</comments>
		<pubDate>Thu, 20 Aug 2009 14:55:28 +0000</pubDate>
		<dc:creator>Patrick McFarland</dc:creator>
				<category><![CDATA[JAXB]]></category>
		<category><![CDATA[Java]]></category>
		<category><![CDATA[Jersey]]></category>

		<guid isPermaLink="false">http://adterrasperaspera.com/blog/?p=998</guid>
		<description><![CDATA[Although Jersey supports eating JAXB&#8217;ed classes fine, sometimes you want to manually alter the data, such as including a processing instruction for XSL stylesheets. There probably should be a less verbose way to do this. The object should be an @XMLRootElement annotated object. @GET @Produces("application/xml") public static StreamingOutput outputXMLwithXSL() { return new StreamingOutput() { public [...]]]></description>
			<content:encoded><![CDATA[<p>Although Jersey supports eating JAXB&#8217;ed classes fine, sometimes you want to manually alter the data, such as including a processing instruction for XSL stylesheets. There probably should be a less verbose way to do this.</p>
<p>The object should be an <code>@XMLRootElement</code> annotated object.</p>
<pre><code style="font-size: smaller;">@GET
@Produces("application/xml")
public static StreamingOutput outputXMLwithXSL() {
  return new StreamingOutput() {
    public void write(OutputStream output) throws IOException,
    WebApplicationException {
      Object object = yourJAXBObject();

      JAXBContext jc = null;
      try { jc = JAXBContext.newInstance(object.getClass()); }
      catch (JAXBException e) { e.printStackTrace(); }

      Marshaller m = null;
      try { m = jc.createMarshaller(); }
      catch (JAXBException e) { e.printStackTrace(); }

      PrintStream ps = new PrintStream(output);
      ps.println("&lt;?xml version=\"1.0\" encoding=\"UTF-8\"?&gt;");
      ps.println("&lt;?xml-stylesheet type=\"text/xsl\" href=\"your.xsl\"?&gt;"); 

      try { m.setProperty(Marshaller.JAXB_FRAGMENT, true); }
      catch (PropertyException e) { e.printStackTrace(); }

      try { m.marshal(object, output); }
      catch (JAXBException e) { e.printStackTrace(); }
    }
  };
}
</code></pre>
]]></content:encoded>
			<wfw:commentRss>http://adterrasperaspera.com/blog/2009/08/20/feeding-marshalled-jaxb-data-to-jersey/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>C# fails to become popular</title>
		<link>http://adterrasperaspera.com/blog/2009/08/19/c-fails-to-become-popular</link>
		<comments>http://adterrasperaspera.com/blog/2009/08/19/c-fails-to-become-popular#comments</comments>
		<pubDate>Wed, 19 Aug 2009 20:15:39 +0000</pubDate>
		<dc:creator>Patrick McFarland</dc:creator>
				<category><![CDATA[Elsewhere]]></category>

		<guid isPermaLink="false">http://adterrasperaspera.com/blog/?p=993</guid>
		<description><![CDATA[C# fails to become popular]]></description>
			<content:encoded><![CDATA[<p><a href="http://mono-nono.com/2009/08/19/c-is-number-10/">C# fails to become popular</a></p>
]]></content:encoded>
			<wfw:commentRss>http://adterrasperaspera.com/blog/2009/08/19/c-fails-to-become-popular/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
