<?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 adventures of Foo &#187; Rant</title>
	<atom:link href="http://jensge.org/tag/rant/feed/" rel="self" type="application/rss+xml" />
	<link>http://jensge.org</link>
	<description>My aggregated random tech blabber</description>
	<lastBuildDate>Sun, 25 Jul 2010 09:57:50 +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>Kolmas viikola Helsingissä</title>
		<link>http://jensge.org/2010/07/kolmas-viikola-helsingissa/</link>
		<comments>http://jensge.org/2010/07/kolmas-viikola-helsingissa/#comments</comments>
		<pubDate>Thu, 22 Jul 2010 18:23:23 +0000</pubDate>
		<dc:creator>Jens</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[English]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Rant]]></category>

		<guid isPermaLink="false">http://jensge.org/?p=425</guid>
		<description><![CDATA[<p>or: You&#8217;re holding it wrong. Seriously. Once upon a time, you could buy a IBM/Lenovo ThinkPad with Intel graphics and it just worked. While the Intel issues in the last versions of Ubuntu were mostly home-grown, the current disaster with the Core i3/i5 on-chip graphics isn&#8217;t. Like in the X201.</p>
<p>The Ubutu experience</p>
<p>Getting Ubuntu 10.4 LTS to [...]]]></description>
			<content:encoded><![CDATA[<p>or: You&#8217;re holding it wrong. Seriously. Once upon a time, you could buy a IBM/Lenovo ThinkPad with Intel graphics and it just worked. While the Intel issues in the last versions of Ubuntu were mostly home-grown, the current disaster with the Core i3/i5 on-chip graphics isn&#8217;t. Like in the X201.</p>
<p><strong>The Ubutu experience</strong></p>
<p>Getting Ubuntu 10.4 LTS to work on an X201 isn&#8217;t too hard. You just need to follow some simple steps:</p>
<ol>
<li><a href="http://www.ubuntu.com/desktop/get-ubuntu/download">Get Ubuntu</a> (obviously) and <a href="https://help.ubuntu.com/community/Installation/FromUSBStick">put it on an USB stick</a>; the X201 doesn&#8217;t have a CD drive</li>
<li>Go to <a href="http://people.canonical.com/~hzhang/554569/">http://people.canonical.com/~hzhang/554569/</a> and grab the latest kernel package linked there (see also <a href="https://bugs.launchpad.net/ubuntu/+source/linux/+bug/554569">Launchpad  bug 554569</a>)</li>
<li>Get the most recent BIOS update from Lenovo. A description on how to update your BIOS if you don&#8217;t have an optical drive may be found <a href="http://www.thinkwiki.org/wiki/BIOS_update_without_optical_disk">at thinkwiki.org</a></li>
<li>Go to the BIOS setup and deactivate Intel AMT.</li>
<li>Install Ubuntu normally. The installer should work just fine. If the graphical installer doesn&#8217;t, try the alternate install CD.</li>
<li>After the installation is done, boot from USB once again and go into rescue mode to install the kernel package downloaded before.</li>
<li>Boot normally.</li>
</ol>
<p><strong>Remaining issues</strong></p>
<ul>
<li><em>External video<br />
</em>VGA works, but if you shut down the machine with the external monitor connected, it will somehow lockup (CPU is busy)</li>
<li><em>Suspend/Resume<br />
</em>With the kernel from the launchpad bug, USB works after resume; the only thing I noticed is that sometimes the wireless LAN won&#8217;t come up again (like 1 in 10 resumes).</li>
<li><em>UltraBase<br />
</em>No idea yet. Haven&#8217;t used though it is said that there are still problems with the display port on it</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://jensge.org/2010/07/kolmas-viikola-helsingissa/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>A plea agains tofu</title>
		<link>http://jensge.org/2010/03/a-plea-agains-tofu/</link>
		<comments>http://jensge.org/2010/03/a-plea-agains-tofu/#comments</comments>
		<pubDate>Fri, 26 Mar 2010 10:44:47 +0000</pubDate>
		<dc:creator>Jens</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Arbeit]]></category>
		<category><![CDATA[Computer]]></category>
		<category><![CDATA[English]]></category>
		<category><![CDATA[Internet]]></category>
		<category><![CDATA[Rant]]></category>

		<guid isPermaLink="false">http://jensge.org/?p=391</guid>
		<description><![CDATA[<p>No, not the stuff made from soy beans. Tofu is the the german term for a behaviour most likely found in corporate email. It means &#8220;Quote full, add your text on the top&#8221;. That&#8217;s sort of reversed &#8220;AOL&#8221; behaviour.</p>
<p>When I started email, I came from a FIDO background (anyone remembers this? BBS and stuff?). Connection time [...]]]></description>
			<content:encoded><![CDATA[<p>No, not the stuff made from soy beans. Tofu is the the german term for a behaviour most likely found in corporate email. It means &#8220;Quote full, add your text on the top&#8221;. That&#8217;s sort of reversed &#8220;AOL&#8221; behaviour.</p>
<p>When I started email, I came from a <a href="http://en.wikipedia.org/wiki/FidoNet">FIDO background</a> (anyone remembers this? BBS and stuff?). Connection time was precious and expensive. Quoting rules existed like don&#8217;t quote too many levels, answer inline etc. When moving on to the internet, I mostly kept this. </p>
<p>I dropped writing emails like this like five years ago, when I entered the magical world of business emails. Noone understood inline replys and most people were complaining that the communication history was missing. So I adapted, at least at work. And Outlook 2007 even has support for navigating in mails like those. I also understand why a certain kind of people like it. When you print the mail, you only need to print one mail and have the whole conversation at hand.</p>
<p>But honestly. I&#8217;m doing a lot of mail on my mobile phone currently. Fetching mails is not too fast on there. I don&#8217;t want to download 200k for a simple &#8220;Me too&#8221;. I don&#8217;t want to scroll through all of the shit. I don&#8217;t event want to download the same shit again and again. I already have the communication history available.</p>
]]></content:encoded>
			<wfw:commentRss>http://jensge.org/2010/03/a-plea-agains-tofu/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Herr, schmeiÃŸ Hirn vom Himmel&#8230;</title>
		<link>http://jensge.org/2009/06/herr-schmeis-hirn-vom-himmel/</link>
		<comments>http://jensge.org/2009/06/herr-schmeis-hirn-vom-himmel/#comments</comments>
		<pubDate>Fri, 12 Jun 2009 10:24:06 +0000</pubDate>
		<dc:creator>Jens</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Datenschutz]]></category>
		<category><![CDATA[Politik]]></category>
		<category><![CDATA[Rant]]></category>
		<category><![CDATA[Zensur]]></category>

		<guid isPermaLink="false">http://jensge.org/2009/06/herr-schmeis-hirn-vom-himmel/</guid>
		<description><![CDATA[<p>Liebe CDU,</p>
<p>in Zeiten, in denen Ihr unsere Grundrechte gerne mal mit FÃ¼ÃŸen tretet und euer Innenminister wahrscheinlich am liebsten Kameras in jedem Privathaushalt installieren wÃ¼rde, sorgt IHR EUCH UM EURE Sicherheit und PrivatsphÃ¤re? Ihr seid peinlich, ernsthaft&#8230;</p>
<p>Mir ist schleierhaft, warum euch eigentlich immer noch Leute freiwillig wÃ¤hlen.</p>
<p>Mit nicht ganz so [...]]]></description>
			<content:encoded><![CDATA[<p>Liebe CDU,</p>
<p>in Zeiten, in denen <a href="http://www.heise.de/newsticker/CDU-Bundestagsabgeordneter-erwaegt-Internetsperren-fuer-Online-Gewaltspiele--/meldung/140273">Ihr</a> <a href="http://www.heise.de/newsticker/Familienministerin-rechnet-mit-baldiger-Weichenstellung-bei-Kinderporno-Sperren--/meldung/140127">unsere</a> <a href="http://de.wikipedia.org/wiki/Vorratsdatenspeicherung">Grundrechte</a> gerne mal mit FÃ¼ÃŸen tretet und euer Innenminister wahrscheinlich am liebsten Kameras in jedem Privathaushalt installieren wÃ¼rde, <a href="http://www.heise.de/newsticker/CDU-Abgeordneter-Google-Street-View-gefaehrdet-Sicherheit-von-Politikern--/meldung/140312">sorgt IHR EUCH UM EURE Sicherheit und PrivatsphÃ¤re</a>? Ihr seid peinlich, ernsthaft&#8230;</p>
<p>Mir ist schleierhaft, warum euch eigentlich immer noch Leute freiwillig wÃ¤hlen.</p>
<p>Mit nicht ganz so freundlichen GrÃ¼ÃŸen</p>
]]></content:encoded>
			<wfw:commentRss>http://jensge.org/2009/06/herr-schmeis-hirn-vom-himmel/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Eternal struggle</title>
		<link>http://jensge.org/2009/04/eternal-struggle/</link>
		<comments>http://jensge.org/2009/04/eternal-struggle/#comments</comments>
		<pubDate>Thu, 16 Apr 2009 09:09:18 +0000</pubDate>
		<dc:creator>Jens</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Arbeit]]></category>
		<category><![CDATA[Crypto]]></category>
		<category><![CDATA[English]]></category>
		<category><![CDATA[NoteToMyself]]></category>
		<category><![CDATA[OSS]]></category>
		<category><![CDATA[Programmieren]]></category>
		<category><![CDATA[Rant]]></category>

		<guid isPermaLink="false">https://jensge.org/?p=195</guid>
		<description><![CDATA[<p>My current task is evaluation crypto (here: OpenPGP) solutions for Microsoft Windows; of course including GnuPG.</p>
<p>Well, what do I say. While there is a nice installer for GnuPG on Windows available (either here or here), try to find one for the gpgme supporting library&#8230; (including header and .lib import files for Visual Studio, that is).</p>
<p>You can [...]]]></description>
			<content:encoded><![CDATA[<p>My current task is evaluation crypto (here: OpenPGP) solutions for Microsoft Windows; of course including <a href="http://www.gnupg.org" target="_blank">GnuPG</a>.</p>
<p>Well, what do I say. While there is a nice installer for GnuPG on Windows available (either <a href="http://gnupg.org/download/" target="_blank">here</a> or <a href="http://www.gpg4win.org/download.html" target="_blank">here</a>), try to find one for the gpgme supporting library&#8230; (including header and .lib import files for Visual Studio, that is).</p>
<p>You can guess&#8230; It&#8217;s all about build-your-own-stuff. It basically boils down to this:</p>
<p><em>Preparations</em></p>
<ul>
<li>Create a directory to collect all the stuff you will need (e.g. <code>C:\gpgme</code> with <code>bin</code>, <code>include</code> and <code>lib</code> sub folders)</li>
<li>Get <a href="http://www.mingw.org" target="_blank">mingw</a> and install it</li>
<li>Get <a href="http://www.mingw.org/wiki/MSYS" target="_blank">MSYS</a> and install it</li>
<li><a href="http://www.gnupg.org/download/index.en.html#libgpg-error" target="_blank">Download libgpg-error</a> and extract it</li>
<li><a href="http://www.gnupg.org/download/index.en.html#gpgme" target="_blank">Download gpgme</a> and extract it</li>
</ul>
<p><em>Compiling libgpg-error</em></p>
<ul>
<li>In the MSYS bash, change to the directory you extracted libgpg-error into and run <code>./configure --prefix=/mingw &amp;&amp; make install</code></li>
<li>Call <code>strip src/.libs/libgpg-error-0.dll src/gpg-error.exe</code> as MSVC can&#8217;t use gcc&#8217;s debug info anyway</li>
<li>Copy <code>src/gpg-error.exe and src/.libs/libgpg-error-0.dll</code> to the bin directory created above</li>
<li>Copy <code>src/.libs/libgpg-error-0.dll.def</code> to <code>lib/libgpg-error-0.def</code> (note the renaming; otherwise your program will look for a <code>libgpg-error-0.dll.dll</code>)</li>
<li>Open the Visual Studio Command Prompt</li>
<li>Call <code>lib /machine:i386 /def:lib\libgpg-error-0.def /out:lib\libgpg-error-0.lib</code> to create the import library</li>
<li>Copy <code>include/gpg-error.h</code> to include</li>
</ul>
<p><em>Compiling gpgme</em></p>
<ul>
<li>In the MSYS bash, run <code>./configure --prefix=/mingw &amp;&amp; make</code></li>
<li>Call <code>strip src/gpgme-w32spawn.exe src/.libs/libgpgme-11.dll</code></li>
<li>Copy <code>src/gpgme-w32spawn.exe</code> to <code>bin</code> <strong>Note:</strong> To use the gpgme library, this binary has to live either in the installation dir of gpg (set in windows registry key <code>HKLM\Software\GNU\GnuPG\Installation Directory</code>) or in <code>%PROGRAMFILES%\GNU\GnuPG</code>. <strong>Otherwise gpgme will not work!</strong></li>
<li>Copy <code>src/.libs/libgpgme-11.dll</code> to bin and <code>src/.libs/libgpgme-11.dll.def</code> to <code>lib/libgpgme-11.def</code> (Once again, note the renaming)</li>
<li>Call <code>lib /machine:i386 /def:lib\libgpgme-11.def /out:lib\libgpgme-11.lib</code> to create the import library</li>
<li>Copy <code>include/gpgme.h</code> to <code>include</code></li>
</ul>
<p><em>Optional: Creating the documentation</em></p>
<p>I was not able to create the documentation properly using cygwin so I did this on a Linux host. Install a TeX distribution of your choice as well as texinfo (for Debian Lenny this would mean installing the packages texinfo, texi2html and texlive). Call make pdf in the doc subdir to generate the PDF documentation and manually call <code>texi2html gpgme.texi</code> for a HTML document.</p>
<p><em>Summary</em></p>
<p>Now you can add the lib dir to your Visual Studio linker settings and the include dir to your C/C++ common settings. To make gpgme work, be sure you have the gpgme-w32spawn.exe installed properly as noted above.</p>
<p>I hope this helps to guide one or another through the struggle of getting gpgme on windows.</p>
<p><em>Q&amp;A</em></p>
<ul>
<li>
<blockquote><p>Q: gpgme does not find libgpg-error</p></blockquote>
<p>A: You did not call <code>make install</code> after compiling it</li>
<li>
<blockquote><p>Q: My program is looking for <code>{libgpg-error-0.dll.dll|libgpgme-11.dll.dll}</code></p></blockquote>
<p>A: You did not rename the .def file before calling <code>lib.exe</code></li>
<li>
<blockquote><p>Q: I did everything you said, but when I run my program, <code>gpgme_engine_check_version(GPGME_PROTOCOL_OpenPGP)</code> fails with <code>GPG_ERR_INV_ENGINE</code>. If I check the engine info, <code>info-&gt;version</code> is empty</p></blockquote>
<p>A: First of all, check if you copied <code>gpgme-w32spawn.exe</code> to the correct directory. If this is the case, actually, I have no idea what went wrong</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://jensge.org/2009/04/eternal-struggle/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
