<?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>my2cents</title>
	<atom:link href="http://www.frightanic.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.frightanic.com</link>
	<description>&#34;The Earth was made round so that we would not see too far down the road&#34; - Karen Blixen</description>
	<lastBuildDate>Fri, 30 Jul 2010 19:10:02 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Printing booklets on OS X</title>
		<link>http://www.frightanic.com/2010/06/30/printing-booklets-on-os-x/</link>
		<comments>http://www.frightanic.com/2010/06/30/printing-booklets-on-os-x/#comments</comments>
		<pubDate>Wed, 30 Jun 2010 21:33:51 +0000</pubDate>
		<dc:creator>frightanic</dc:creator>
				<category><![CDATA[Apple & Mac]]></category>
		<category><![CDATA[Computers]]></category>

		<guid isPermaLink="false">http://www.frightanic.com/?p=563</guid>
		<description><![CDATA[On Windows machines I&#8217;m used to using FinePrint to pre-process every document before it&#8217;s actually sent to the printer (2 on 1 page, 4 on 1, booklet, watermark, template, etc). From that suite of features what I miss the most on OS X is the ability to print booklets. Turns out there are at least [...]]]></description>
			<content:encoded><![CDATA[<p>On Windows machines I&#8217;m used to using <a href="http://www.fineprint.com/" target="_blank">FinePrint</a> to pre-process every document before it&#8217;s actually sent to the printer (2 on 1 page, 4 on 1, booklet, watermark, template, etc). From that suite of features what I miss the most on OS X is the ability to print booklets. Turns out there are at least two tools for OS X that provide that:</p>
<ol>
<li><a href="http://www.versiontracker.com/dyn/moreinfo/macosx/86349" target="_blank">Create Booklet</a></li>
<li><a href="http://www.iconus.ch/fabien/products/cbeng/cbeng.html" target="_blank">CocoaBooklet</a></li>
</ol>
<p>I tried Create Booklet and was quite impressed &#8211; it does what it says it does and it does that well. The documentation, however, is quite poor. In fact there&#8217;s none at all one the developer&#8217;s site. The DMG file contains a <a href="http://www.frightanic.com/blog/wp-content/uploads/2010/06/Quick-Introduction.pdf">Quick Introduction.pdf</a> that serves as a good documentation &#8211; if you don&#8217;t overlook it. The developer should have put the document&#8217;s content online. Then people could get a glimpse of what the tool does before they download (and install) it.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.frightanic.com/2010/06/30/printing-booklets-on-os-x/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>A shocking figure</title>
		<link>http://www.frightanic.com/2010/06/15/a-shocking-figure/</link>
		<comments>http://www.frightanic.com/2010/06/15/a-shocking-figure/#comments</comments>
		<pubDate>Tue, 15 Jun 2010 08:14:38 +0000</pubDate>
		<dc:creator>frightanic</dc:creator>
				<category><![CDATA[Life]]></category>

		<guid isPermaLink="false">http://www.frightanic.com/?p=561</guid>
		<description><![CDATA[The Economist, May 1st issue, page 71, &#8220;America&#8217;s labour market, Something&#8217;s not working&#8221;: &#8220;A quarter of mortgage borrowers owe more than their houses are worth.&#8221; &#60;swallowing hard&#62;..my dear&#8230;]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.economist.com/" target="_blank">The Economist</a>, May 1st issue, page 71, &#8220;America&#8217;s labour market, Something&#8217;s not working&#8221;:</p>
<blockquote><p>&#8220;A quarter of mortgage borrowers owe more than their houses are worth.&#8221;</p></blockquote>
<p>&lt;swallowing hard&gt;..my dear&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.frightanic.com/2010/06/15/a-shocking-figure/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Export from mailman web interface</title>
		<link>http://www.frightanic.com/2010/06/10/export-from-mailman-web-interface/</link>
		<comments>http://www.frightanic.com/2010/06/10/export-from-mailman-web-interface/#comments</comments>
		<pubDate>Thu, 10 Jun 2010 19:28:06 +0000</pubDate>
		<dc:creator>frightanic</dc:creator>
				<category><![CDATA[Computers]]></category>
		<category><![CDATA[mailman]]></category>
		<category><![CDATA[Python]]></category>

		<guid isPermaLink="false">http://www.frightanic.com/?p=557</guid>
		<description><![CDATA[If you&#8217;re faced with the challenging task of exporting a mailman subscribers list through the mailman web interface (e.g. because you don&#8217;t have SSH access to the server) look no further, there&#8217;s a nice Python-based solution for this. Download http://msapiro.net/mailman-subscribers.py onto your Python-enabled system and run: ./mailman-subscribers.py -f &#60;host_URL_without_http://&#62; &#60;listname&#62; &#60;password&#62;]]></description>
			<content:encoded><![CDATA[<p>If you&#8217;re faced with the challenging task of exporting a mailman subscribers list through the mailman web interface (e.g. because you don&#8217;t have SSH access to the server) look no further, there&#8217;s a nice Python-based solution for this.</p>
<p>Download <a href="http://msapiro.net/mailman-subscribers.py" target="_blank">http://msapiro.net/mailman-subscribers.py</a> onto your Python-enabled system and run:</p>
<pre>./mailman-subscribers.py -f &lt;host_URL_without_http://&gt; &lt;listname&gt; &lt;password&gt;</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.frightanic.com/2010/06/10/export-from-mailman-web-interface/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Batch compressing JPEG images</title>
		<link>http://www.frightanic.com/2010/05/15/batch-compressing-jpeg-images/</link>
		<comments>http://www.frightanic.com/2010/05/15/batch-compressing-jpeg-images/#comments</comments>
		<pubDate>Sat, 15 May 2010 10:57:40 +0000</pubDate>
		<dc:creator>frightanic</dc:creator>
				<category><![CDATA[Web Authoring]]></category>

		<guid isPermaLink="false">http://www.frightanic.com/?p=555</guid>
		<description><![CDATA[Google PageSpeed reported that the JPEG images of a web project I recently worked on should be optimized i.e. compressed. So, I used jpegoptim in batch mode on OS X for the job. You need to build the jpegoptim binary for OS X yourself. Short manual: Download jpegoptim sources from developer&#8217;s website Unpack the TAR [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://code.google.com/speed/page-speed/" target="_blank">Google PageSpeed</a> reported that the JPEG images of a web project I recently worked on should be optimized i.e. compressed. So, I used <a href="http://freshmeat.net/projects/jpegoptim/" target="_blank">jpegoptim</a> in batch mode on OS X for the job. You need to build the jpegoptim binary for OS X yourself. Short manual:</p>
<ol>
<li>Download jpegoptim sources from developer&#8217;s website</li>
<li>Unpack the TAR ball</li>
<li>Navigate to the unpacked sources in a shell</li>
<li>
<pre>chmod a+x configure</pre>
</li>
<li>
<pre>./configure</pre>
</li>
<li>
<pre>make install</pre>
</li>
</ol>
<p>In my case the libjpeg library was missing. I had to download and build libjpeg as part of the <a href="http://www.ijg.org/" target="_blank">official IJG JPEG 8 code</a>. Once everything was in place I simply ran jpegoptim from the command line for all JPEG files in a folder.</p>
<pre>jpegoptim -o --dest=./compressed --strip-all *.jpg</pre>
<p>This optimizes all .jpg files in the current folder with maximum compression (&#8211;strip-all) and saves the compressed files in the &#8216;compressed&#8217; sub folder (had to be created first).</p>
]]></content:encoded>
			<wfw:commentRss>http://www.frightanic.com/2010/05/15/batch-compressing-jpeg-images/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Mysterious DDMS logo (Android development)</title>
		<link>http://www.frightanic.com/2010/05/11/mysterious-ddms-logo-android-development/</link>
		<comments>http://www.frightanic.com/2010/05/11/mysterious-ddms-logo-android-development/#comments</comments>
		<pubDate>Tue, 11 May 2010 21:27:47 +0000</pubDate>
		<dc:creator>frightanic</dc:creator>
				<category><![CDATA[Java]]></category>
		<category><![CDATA[Software Development]]></category>
		<category><![CDATA[Android]]></category>
		<category><![CDATA[Dalvik]]></category>
		<category><![CDATA[DDMS]]></category>

		<guid isPermaLink="false">http://www.frightanic.com/?p=552</guid>
		<description><![CDATA[When you start the Dalvik Debug Monitor Server (DDMS) in your Android development environment you might notice its mysterious logo: I asked my myself: where the heck is this place? What&#8217;s the story behind that? My first guess was northern Scandinavia. Turns out I wasn&#8217;t quite right but not very wrong either. I compared it with various [...]]]></description>
			<content:encoded><![CDATA[<p>When you start the <a href="http://developer.android.com/guide/developing/tools/ddms.html" target="_blank">Dalvik Debug Monitor Server</a> (DDMS) in your Android development environment you might notice its mysterious logo:</p>
<p><a href="http://www.frightanic.com/blog/wp-content/uploads/2010/05/ddms-logo.png" rel="lightbox[552]"><img class="alignnone size-medium wp-image-553" title="ddms-logo" src="http://www.frightanic.com/blog/wp-content/uploads/2010/05/ddms-logo-300x235.png" alt="" width="300" height="235" /></a></p>
<p>I asked my myself: where the heck is this place? What&#8217;s the story behind that? My first guess was northern Scandinavia. Turns out I wasn&#8217;t quite right but not very wrong either.</p>
<p>I compared it with various coastlines on Google Maps and found a matching spot in northern Iceland. I zoomed closer and bingo! in the center of the logo is a town called Dalvik. Now it all makes sense. There&#8217;s even a few words about the link between the town Dalvik and Android on <a href="http://en.wikipedia.org/wiki/Dalvik_virtual_machine" target="_blank">Wikipedia</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.frightanic.com/2010/05/11/mysterious-ddms-logo-android-development/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Solution to &#8220;Error 404: SRVE0190E&#8221; on WebSphere 6.1</title>
		<link>http://www.frightanic.com/2010/05/10/solution-to-error-404-srve0190e-on-websphere-6-1/</link>
		<comments>http://www.frightanic.com/2010/05/10/solution-to-error-404-srve0190e-on-websphere-6-1/#comments</comments>
		<pubDate>Mon, 10 May 2010 12:11:33 +0000</pubDate>
		<dc:creator>frightanic</dc:creator>
				<category><![CDATA[Java]]></category>
		<category><![CDATA[Software Development]]></category>
		<category><![CDATA[WebSphere]]></category>

		<guid isPermaLink="false">http://www.frightanic.com/?p=544</guid>
		<description><![CDATA[If you use ServletFilters that are mapped to URLs/resources that don&#8217;t physically exist (e.g. such as Paul Tuckey&#8217;s UrlRewriteFilter) IBM WebSphere 6.1 will answer such requests with &#8220;Error 404: SRVE0190E&#8221;. If WebSphere runs in trace mode you&#8217;ll see a FileNotFoundException in the log file. This is yet another idiotic WebSphere behavior that you need to [...]]]></description>
			<content:encoded><![CDATA[<p>If you use <a href="http://java.sun.com/j2ee/sdk_1.3/techdocs/api/javax/servlet/Filter.html" target="_blank">ServletFilter</a>s that are mapped to URLs/resources that don&#8217;t physically exist (e.g. such as Paul Tuckey&#8217;s <a href="http://tuckey.org/urlrewrite/" target="_blank">UrlRewriteFilter</a>) IBM WebSphere 6.1 will answer such requests with &#8220;Error 404: SRVE0190E&#8221;. If WebSphere runs in trace mode you&#8217;ll see a FileNotFoundException in the log file.</p>
<p>This is yet another idiotic WebSphere behavior that you need to work around. Set</p>
<pre>com.ibm.ws.webcontainer.invokefilterscompatibility=true</pre>
<p>in Servers -&gt; Server -&gt; Web Container Settings -&gt; Web Container -&gt;  Custom Properties.</p>
<p>IBM has more information in their <a href="http://publib.boulder.ibm.com/infocenter/wasinfo/v6r0/topic/com.ibm.websphere.express.doc/info/exp/ae/rweb_custom_props.html" target="_blank">custom properties documentation</a> (search for &#8220;Invoking the filter capability&#8221;) and on the <a href="http://www-01.ibm.com/support/docview.wss?uid=swg24014758" target="_blank">respective support document</a> (for fix pack 6.1.07). Since the URLs to those documents might become invalid in the future <a href="http://www.frightanic.com/blog/wp-content/uploads/2010/05/IBM-PK33090.pdf">I persisted the latter in a PDF</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.frightanic.com/2010/05/10/solution-to-error-404-srve0190e-on-websphere-6-1/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Apple (apple.com) runs JBoss</title>
		<link>http://www.frightanic.com/2010/04/21/apple-apple-com-runs-jboss/</link>
		<comments>http://www.frightanic.com/2010/04/21/apple-apple-com-runs-jboss/#comments</comments>
		<pubDate>Wed, 21 Apr 2010 21:19:18 +0000</pubDate>
		<dc:creator>frightanic</dc:creator>
				<category><![CDATA[Apple & Mac]]></category>
		<category><![CDATA[Apple]]></category>
		<category><![CDATA[JBoss]]></category>

		<guid isPermaLink="false">http://www.frightanic.com/?p=539</guid>
		<description><![CDATA[I was recently invited by Apple to take part in one of their customer support surveys. Besides the somewhat strange URL I noticed an all too familiar favicon: yes, Apple runs JBoss (Web). Of course I played around with the URL a little&#8230;here comes the confirmation, it&#8217;s JBoss Web 2.2.1:]]></description>
			<content:encoded><![CDATA[<p>I was recently invited by Apple to take part in one of their customer support surveys. Besides the somewhat strange URL I noticed an all too familiar <a href="http://en.wikipedia.org/wiki/Favicon" target="_blank">favicon</a>: yes, Apple runs JBoss (Web).</p>
<p><a href="http://www.frightanic.com/blog/wp-content/uploads/2010/04/survey.png" rel="lightbox[539]"><img class="alignnone size-medium wp-image-540" title="survey" src="http://www.frightanic.com/blog/wp-content/uploads/2010/04/survey-300x236.png" alt="" width="300" height="236" /></a></p>
<p>Of course I played around with the URL a little&#8230;here comes the confirmation, it&#8217;s JBoss Web 2.2.1:</p>
<p><a href="http://www.frightanic.com/blog/wp-content/uploads/2010/04/error.png" rel="lightbox[539]"><img class="alignnone size-medium wp-image-541" title="error" src="http://www.frightanic.com/blog/wp-content/uploads/2010/04/error-300x175.png" alt="" width="300" height="175" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.frightanic.com/2010/04/21/apple-apple-com-runs-jboss/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Using a custom SSLSocketFactory with Apache CXF</title>
		<link>http://www.frightanic.com/2010/04/20/using-a-custom-sslsocketfactory-with-apache-cxf/</link>
		<comments>http://www.frightanic.com/2010/04/20/using-a-custom-sslsocketfactory-with-apache-cxf/#comments</comments>
		<pubDate>Mon, 19 Apr 2010 22:49:41 +0000</pubDate>
		<dc:creator>frightanic</dc:creator>
				<category><![CDATA[Java]]></category>
		<category><![CDATA[Software Development]]></category>
		<category><![CDATA[CXF]]></category>
		<category><![CDATA[SSL]]></category>

		<guid isPermaLink="false">http://www.frightanic.com/?p=534</guid>
		<description><![CDATA[Java allows to use a custom VM-wide SSLSocketFactory implementation like so: HttpsURLConnection.setDefaultSSLSocketFactory(SSLSocketFactory). Thus, you can either implement your own SSLSocketFactory or you can configure a regular instance according to your needs/environment. You have to understand that there a probably very few use cases where this method actually really helps. Setting a static default SSLSocketFactory influences [...]]]></description>
			<content:encoded><![CDATA[<p>Java allows to use a custom VM-wide SSLSocketFactory implementation like so: <a href="http://java.sun.com/javase/6/docs/api/javax/net/ssl/HttpsURLConnection.html#setDefaultSSLSocketFactory(javax.net.ssl.SSLSocketFactory)" target="_blank">HttpsURLConnection.setDefaultSSLSocketFactory(SSLSocketFactory)</a>. Thus, you can either implement your own SSLSocketFactory or you can configure a regular instance according to your needs/environment. You have to understand that there a probably very few use cases where this method actually really helps. Setting a static default SSLSocketFactory influences all components that require a SSL connection of some sort. The same socket factory instance will be used!</p>
<p><a href="http://cxf.apache.org/" target="_blank">Apache CXF</a> has long had very good SSL support built right in. The <a href="http://cxf.apache.org/docs/client-http-transport-including-ssl-support.html" target="_blank">documentation</a> is pretty clear about how configure the SSL connection(s). Up to version 2.2.7, however, CXF ignored any custom SSLSocketFactory set as described above. CXF&#8217;s HttpsURLConnectionFactory.decorateWithTLS(HttpURLConnection) simply wasn&#8217;t prepared for that.</p>
<p>CXF now 2.2.7 supports this through a simple configuration parameter. The feature proposal in the CXF JIRA describes the change: <a href="https://issues.apache.org/jira/browse/CXF-2693" target="_blank">https://issues.apache.org/jira/browse/CXF-2693</a>. I only had to add a few lines to the Spring application context:</p>
<pre class="brush:xml">  &lt;http-conf:conduit name="*.http-conduit"&gt;
    &lt;http-conf:tlsClientParameters useHttpsURLConnectionDefaultSslSocketFactory="true" /&gt;
  &lt;/http-conf:conduit&gt;
  &lt;!--
    Due to a XML parsing issue mentioned here http://www.mail-archive.com/users@cxf.apache.org/msg13711.html it's
    necessary to import the CXF XMLs explicitly.
  --&gt;
  &lt;import resource="classpath:META-INF/cxf/cxf.xml" /&gt;
  &lt;import resource="classpath:META-INF/cxf/cxf-extension-soap.xml" /&gt;
  &lt;import resource="classpath:META-INF/cxf/cxf-servlet.xml" /&gt;</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.frightanic.com/2010/04/20/using-a-custom-sslsocketfactory-with-apache-cxf/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WTFs/m</title>
		<link>http://www.frightanic.com/2010/04/16/wtfsm/</link>
		<comments>http://www.frightanic.com/2010/04/16/wtfsm/#comments</comments>
		<pubDate>Fri, 16 Apr 2010 06:27:52 +0000</pubDate>
		<dc:creator>frightanic</dc:creator>
				<category><![CDATA[Software Development]]></category>

		<guid isPermaLink="false">http://www.frightanic.com/2010/04/16/wtfsm/</guid>
		<description><![CDATA[]]></description>
			<content:encoded><![CDATA[<p><img title="WTFs/m" src="http://www.osnews.com/images/comics/wtfm.jpg" alt="WTFs/m" /></p>
]]></content:encoded>
			<wfw:commentRss>http://www.frightanic.com/2010/04/16/wtfsm/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Help stop dolphin slaughter</title>
		<link>http://www.frightanic.com/2010/04/14/help-stop-dolphin-slaughter/</link>
		<comments>http://www.frightanic.com/2010/04/14/help-stop-dolphin-slaughter/#comments</comments>
		<pubDate>Wed, 14 Apr 2010 19:32:38 +0000</pubDate>
		<dc:creator>frightanic</dc:creator>
				<category><![CDATA[Life]]></category>

		<guid isPermaLink="false">http://www.frightanic.com/?p=526</guid>
		<description><![CDATA[]]></description>
			<content:encoded><![CDATA[<p><a title="SaveJapanDolphins" href="http://www.savejapandolphins.org"><img src="http://www.savejapandolphins.org/images/badges/sjd_helpbadge.gif" border="0" alt="Help Me Support This Cause" width="178" height="20" style="vertical-align:middle"/></a><a title="SaveJapanDolphins" href="http://www.savejapandolphins.org"><img src="http://www.savejapandolphins.org/images/badges/sjd_savebadge.gif" border="0" alt="Help Me Support This Cause" width="100" height="100" style="vertical-align:middle; padding: 20px;"/></a><a title="SaveJapanDolphins" href="http://www.savejapandolphins.org"><img src="http://www.savejapandolphins.org/images/badges/sjd_helpbadge.gif" border="0" alt="Help Me Support This Cause" width="178" height="20" style="vertical-align:middle"/></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.frightanic.com/2010/04/14/help-stop-dolphin-slaughter/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
