<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss 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/" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">

<channel>
	<title>With sufficient thrust, pigs fly just fine.</title>
	
	<link>http://slinky.imukuppi.org</link>
	<description>Personal weblog of Jani Nurminen. Contains ideas, links, my creations, about me, and so on.</description>
	<lastBuildDate>Thu, 26 Aug 2010 19:59:19 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/WithSufficientThrustPigsFlyJustFine" /><feedburner:info uri="withsufficientthrustpigsflyjustfine" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><item>
		<title>A Clever Tabletop Stove Concept</title>
		<link>http://feedproxy.google.com/~r/WithSufficientThrustPigsFlyJustFine/~3/Mh1lRKMF6ZI/</link>
		<comments>http://slinky.imukuppi.org/2010/08/26/a-clever-tabletop-stove-concept/#comments</comments>
		<pubDate>Thu, 26 Aug 2010 19:59:19 +0000</pubDate>
		<dc:creator>slinky</dc:creator>
				<category><![CDATA[Links]]></category>
		<category><![CDATA[design]]></category>
		<category><![CDATA[hexagon]]></category>
		<category><![CDATA[high-tech]]></category>
		<category><![CDATA[tabletop stove]]></category>
		<category><![CDATA[the william]]></category>
		<category><![CDATA[touch screen]]></category>

		<guid isPermaLink="false">http://slinky.imukuppi.org/?p=828</guid>
		<description><![CDATA[Ingenious design alert, check it out. The William is a table-top stove concept which I would love to have.
What I like most is the hexagonal heat-element pattern that adapts to the container size &#8211; I think it might save energy and allow the entire area of the stove to be used. And, of course, the [...]]]></description>
			<content:encoded><![CDATA[<p>Ingenious design alert, check it out. <a href="http://www.youtube.com/watch?v=2wBe3SDCcz8">The William</a> is a table-top stove concept which I would love to have.</p>
<p>What I like most is the hexagonal heat-element pattern that adapts to the container size &#8211; I think it might save energy and allow the entire area of the stove to be used. And, of course, the detailed heat readout with an integrated timer is quite a nice feature for perfecting the recipes.</p>
<p>I&#8217;m slightly suspicious about the touch control. I&#8217;ve seen touch activated ovens with touch control for heat levels, and they all had pretty poor responsiveness. I can only imagine it gets worse once you try to reduce the heat by poking your finger at a layer of bechamel sauce which just overboiled over the controls.</p>
<img src="http://feeds.feedburner.com/~r/WithSufficientThrustPigsFlyJustFine/~4/Mh1lRKMF6ZI" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://slinky.imukuppi.org/2010/08/26/a-clever-tabletop-stove-concept/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://slinky.imukuppi.org/2010/08/26/a-clever-tabletop-stove-concept/</feedburner:origLink></item>
		<item>
		<title>God’s Number is 20, Says a Thousand or So CPUs</title>
		<link>http://feedproxy.google.com/~r/WithSufficientThrustPigsFlyJustFine/~3/DnjYKXN9Uhk/</link>
		<comments>http://slinky.imukuppi.org/2010/08/09/gods-number-is-20-says-a-thousand-or-so-cpus/#comments</comments>
		<pubDate>Mon, 09 Aug 2010 21:51:43 +0000</pubDate>
		<dc:creator>slinky</dc:creator>
				<category><![CDATA[Babbling]]></category>
		<category><![CDATA[Links]]></category>
		<category><![CDATA[CPU]]></category>
		<category><![CDATA[google]]></category>
		<category><![CDATA[late-night mathematics]]></category>
		<category><![CDATA[Nehalem]]></category>
		<category><![CDATA[number shuffling]]></category>
		<category><![CDATA[rubik's cube]]></category>

		<guid isPermaLink="false">http://slinky.imukuppi.org/?p=819</guid>
		<description><![CDATA[Take a Rubik&#8217;s cube. Shuffle it. It can be solved with at most 20 moves. That is a fascinating result!
From the article:
Finally, we were able to distribute the 55,882,296 cosets of H among a large number of computers at Google and complete the computation in just a few weeks. Google does not release information on [...]]]></description>
			<content:encoded><![CDATA[<p>Take a Rubik&#8217;s cube. Shuffle it. <a href="http://www.cube20.org/">It can be solved with at most 20 moves.</a> That is a fascinating result!</p>
<p>From the article:</p>
<blockquote><p>Finally, we were able to distribute the 55,882,296 cosets of H among a large number of computers at Google and complete the computation in just a few weeks. Google does not release information on their computer systems, but it would take a good desktop PC (Intel Nehalem, four-core, 2.8GHz) 1.1 billion seconds, or about 35 CPU years, to perform this calculation.</p></blockquote>
<p>And now, some late-night number shuffling.</p>
<p>First, let&#8217;s make an educated guess of one quad-core 2.8 GHz Intel Nehalem doing about, say, 11.2 <a href="http://en.wikipedia.org/wiki/GFLOPS">GFLOPS.</a> Then, given 1.1 billion seconds spent for the task, the total task used up a total of about 2^63 floating point operations (an interesting power of 2, no?). Google&#8217;s computers did this in &#8220;just a few weeks&#8221; (2 weeks = 1209600 seconds), so that&#8217;s about 2^43 floating point operations per second for the mystery number of computers, i.e. the computers achieved a total of 10185 GFLOPS = ca. 10 TFLOPS. Divided with the GFLOPS per CPU, that&#8217;d mean about 909 CPUs, given the initial guesstimated specs for the Nehalems.</p>
<p>Yes, an easier way to calculate is to find how how many parallel units there were by calculating 1.1 billion seconds / 1209600 seconds = 909, but the above description is nicer to follow. YMMV.</p>
<p>So, according to my back-of-the-envelope calculations, and factoring in some uncertainties about the times, Davidson, Dethridge, Kociemba and Rokicki used <strong>a grand total of about a 1000 or so quad-core Intel Nehalem 2.8 GHz CPUs (or equivalent)</strong> for the task.</p>
<p>Anyway, 10 TFLOPS in itself is a nice number but really nothing special. It is not enough to reach even the 500th supercomputer position of the June 2010 list of <a href="http://top500.org">top500.org</a>. However, do keep in mind that the number of CPUs used for the Rubik&#8217;s cube task was obviously but a small fraction of the real ultimate <strike>Ninja</strike> CPU power that Google can harness at will.</p>
<p>And now, good night!</p>
<img src="http://feeds.feedburner.com/~r/WithSufficientThrustPigsFlyJustFine/~4/DnjYKXN9Uhk" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://slinky.imukuppi.org/2010/08/09/gods-number-is-20-says-a-thousand-or-so-cpus/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://slinky.imukuppi.org/2010/08/09/gods-number-is-20-says-a-thousand-or-so-cpus/</feedburner:origLink></item>
		<item>
		<title>A Zenburn WP Theme called ZenSandbox</title>
		<link>http://feedproxy.google.com/~r/WithSufficientThrustPigsFlyJustFine/~3/BFWAKz9nZiw/</link>
		<comments>http://slinky.imukuppi.org/2010/08/05/a-zenburn-wp-theme-called-zensandbox/#comments</comments>
		<pubDate>Thu, 05 Aug 2010 18:32:58 +0000</pubDate>
		<dc:creator>slinky</dc:creator>
				<category><![CDATA[Links]]></category>
		<category><![CDATA[WP theme]]></category>
		<category><![CDATA[zenburn]]></category>
		<category><![CDATA[ZenSandbox]]></category>

		<guid isPermaLink="false">http://slinky.imukuppi.org/?p=814</guid>
		<description><![CDATA[David Beckingsale mailed me to say he has started a Wordpress-theme that is a derivative of Sandbox, with Zenburn colours. Nice! Grab it from Github: http://github.com/davidbeckingsale/ZenSandbox
CSS gurus ahoy, David also wanted to say that he&#8217;s happy to receive contributions to the theme if people feel any aspects of the theme can be improved.
]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.davidbeckingsale.com/blog">David Beckingsale</a> mailed me to say he has started a Wordpress-theme that is a derivative of <a href="http://www.plaintxt.org/themes/sandbox/">Sandbox</a>, with <strong>Zenburn colours</strong>. Nice! Grab it from Github: <a href="http://github.com/davidbeckingsale/ZenSandbox">http://github.com/davidbeckingsale/ZenSandbox</a></p>
<p>CSS gurus ahoy, David also wanted to say that he&#8217;s happy to receive contributions to the theme if people feel any aspects of the theme can be improved.</p>
<img src="http://feeds.feedburner.com/~r/WithSufficientThrustPigsFlyJustFine/~4/BFWAKz9nZiw" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://slinky.imukuppi.org/2010/08/05/a-zenburn-wp-theme-called-zensandbox/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://slinky.imukuppi.org/2010/08/05/a-zenburn-wp-theme-called-zensandbox/</feedburner:origLink></item>
		<item>
		<title>Does HFT Behaviour Amplify via Stigmergy?</title>
		<link>http://feedproxy.google.com/~r/WithSufficientThrustPigsFlyJustFine/~3/t-GEZwS6g9g/</link>
		<comments>http://slinky.imukuppi.org/2010/08/05/does-hft-behaviour-amplify-via-stigmergy/#comments</comments>
		<pubDate>Thu, 05 Aug 2010 18:04:38 +0000</pubDate>
		<dc:creator>slinky</dc:creator>
				<category><![CDATA[Babbling]]></category>
		<category><![CDATA[Ideas]]></category>
		<category><![CDATA[adaptation]]></category>
		<category><![CDATA[algorithmic trading]]></category>
		<category><![CDATA[flash bubble]]></category>
		<category><![CDATA[flash crash]]></category>
		<category><![CDATA[frontrunning]]></category>
		<category><![CDATA[HFT]]></category>
		<category><![CDATA[markets]]></category>
		<category><![CDATA[stigmergy]]></category>
		<category><![CDATA[stochastic resonance]]></category>
		<category><![CDATA[synchronization]]></category>
		<category><![CDATA[volatility]]></category>

		<guid isPermaLink="false">http://slinky.imukuppi.org/?p=804</guid>
		<description><![CDATA[Back in late June, I was discussing algorithmic trading and HFT (high-frequency trading) with some friends. A sudden realization hit me, and I realized exactly why I&#8217;ve had this nagging idea that wide-spread HFT usage is fundamentally a bad idea due to the weird market behaviour it most likely leads to.
Here&#8217;s a cleaned up mail [...]]]></description>
			<content:encoded><![CDATA[<p>Back in late June, I was discussing algorithmic trading and HFT (high-frequency trading) with some friends. A sudden realization hit me, and I realized exactly why I&#8217;ve had this nagging idea that wide-spread HFT usage is fundamentally a bad idea due to the weird market behaviour it most likely leads to.</p>
<p>Here&#8217;s a cleaned up mail I sent, with some links added. What do you think?<br />
<span id="more-804"></span></p>
<p>There is a major problem with HFTs and fast algorithmic trading and markets due to full computerization (no human in the loop) and the massive speed obtained through those methods. This time, I don&#8217;t mean the obvious application of HFTs doing <a href="http://en.wikipedia.org/wiki/Flash_trading">front-running</a>.</p>
<p>Here I use the definition &#8220;HFT agents&#8221; to be any instance of an HFT/algorithmic trading algorithm running somewhere. Basically a computer reading and writing to the market.</p>
<p>So: I see the dynamics such that HFT agents both observe and influence the market. Yet they are part of that market as well. As they trade, they also influence each other (although indirectly)! And they do trading at such speed, that there is bound to be kind of &#8220;resonances&#8221; amplifying whatever direction was taken originally &#8211; sort of like everyone nudging the same direction a little bit. I think that this kind of system must be unstable.</p>
<p>Human traders can&#8217;t jump in and fix up the situation as they can&#8217;t keep up with the speed. So, in essence we get either flash bubbles or flash crashes. All this because the HFT agents actions influence each other, they end up modifying each other&#8217;s algorithms through application of <a href="http://en.wikipedia.org/wiki/Stigmergy">stigmergy</a> when they modify the market (=they modify the environment they&#8217;re in and read their own and others modifications as input to their algorithms).</p>
<p>It&#8217;s like the <a href="http://www.instructables.com/id/Synchronizing-Fireflies/">synchronizing of fireflies</a> (see the video and read Strogatz&#8217;s book &#8220;Sync&#8221; for details), they adapt to each other until everyone blinks in unison. Except here the synchrony is a kind of &#8220;<a href="http://en.wikipedia.org/wiki/Stochastic_resonance">stochastic resonance</a>&#8221; leading to spikes + valleys.</p>
<p>With slower trading the quick peaks and valleys even out, of course we still get bubbles and crashes over a longer period. But the same bubble/crash-creating phenomenon is at play, this time much quicker.</p>
<p>One example follows. There are surely other ways also, given that there is a big diversity in the algorithms.</p>
<ul>
<li>HFT agents x and y scans the market. Some condition c holds (e.g. break in 30 day <a href="http://en.wikipedia.org/wiki/Simple_moving_average">SMA</a>).</li>
<li>HFT agent x triggers first and does whatever (sell/buy orders etc.), changing the market conditions.</li>
<li>HFT agent y might do the same action immediately after x, reacting to condition c or action of x (stigmergy comes into play). This &#8220;boosts&#8221; the direction, be it up or down.</li>
<li>Now imagine thousands of these agents. Some might react to the amplified direction signal (e.g. drop in price) further amplifying the system.</li>
<li>Result: flash crash / flash bubble</li>
</ul>
<p>As long as there would be an overall balance of HFT trading strategies such that some are <a href="http://en.wikipedia.org/wiki/Market_sentiment">bearish</a> and some are <a href="http://en.wikipedia.org/wiki/Market_sentiment">bullish</a>, we would not see nearly as much <a href="http://en.wikipedia.org/wiki/Volatility_%28finance%29">volatility</a>. But as it is now, the balance is tilted and therefore I think insane volatility is inevitable.</p>
<p>Note: Sometime after the mail exchange, the <a href="http://www.zerohedge.com/">Zero Hedge</a> blog blogged about <a href="http://www.zerohedge.com/article/scientific-proof-high-frequency-trading-induces-adverse-changes-market-microstructure-and-dy">a paper from Reginald Smith examining similar ideas</a>. It is a very interesting article that makes the paper more accessible.</p>
<img src="http://feeds.feedburner.com/~r/WithSufficientThrustPigsFlyJustFine/~4/t-GEZwS6g9g" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://slinky.imukuppi.org/2010/08/05/does-hft-behaviour-amplify-via-stigmergy/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://slinky.imukuppi.org/2010/08/05/does-hft-behaviour-amplify-via-stigmergy/</feedburner:origLink></item>
		<item>
		<title>Kind of Like Watching a Lava Lamp and Playing It Too</title>
		<link>http://feedproxy.google.com/~r/WithSufficientThrustPigsFlyJustFine/~3/YjWVMva14G8/</link>
		<comments>http://slinky.imukuppi.org/2010/05/24/kind-of-like-watching-a-lava-lamp-and-playing-it-too/#comments</comments>
		<pubDate>Mon, 24 May 2010 20:44:03 +0000</pubDate>
		<dc:creator>slinky</dc:creator>
				<category><![CDATA[Babbling]]></category>
		<category><![CDATA[Links]]></category>
		<category><![CDATA[calmness]]></category>
		<category><![CDATA[energy blobs]]></category>
		<category><![CDATA[gaming]]></category>
		<category><![CDATA[osmos]]></category>
		<category><![CDATA[tranquility]]></category>

		<guid isPermaLink="false">http://slinky.imukuppi.org/?p=800</guid>
		<description><![CDATA[I recently had the luck of finding out about a computer game called Osmos.
The game itself is very simple; you&#8217;re a blob of energy or somesuch, and you grow bigger by consuming blobs smaller than you. You can move around by expelling small pieces of your mass, this makes you smaller and more vulnerable to [...]]]></description>
			<content:encoded><![CDATA[<p>I recently had the luck of finding out about a computer game called <a href="http://www.hemispheregames.com/osmos/">Osmos</a>.</p>
<p>The game itself is very simple; you&#8217;re a blob of energy or somesuch, and you grow bigger by consuming blobs smaller than you. You can move around by expelling small pieces of your mass, this makes you smaller and more vulnerable to other blobs.</p>
<p>Sounds maybe <em>too</em> simple? Well! Not quite, the blobs have inertia, there is repulsing blobs and so on.</p>
<p>Also, the presentation is simply so wonderfully calm and beautiful. Set on an ambient music background, playing the game has some sort of tranquilling effect on me. It&#8217;s kind of like watching a <a href="http://en.wikipedia.org/wiki/Lava_lamp">lava lamp</a>, and playing it too.</p>
<p>Check out the <a href="http://www.hemispheregames.com/osmos/">Osmos demo</a>, and if you like it, buy it. It&#8217;s only $10. I bought it and I think it&#8217;s well worth the money.</p>
<img src="http://feeds.feedburner.com/~r/WithSufficientThrustPigsFlyJustFine/~4/YjWVMva14G8" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://slinky.imukuppi.org/2010/05/24/kind-of-like-watching-a-lava-lamp-and-playing-it-too/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://slinky.imukuppi.org/2010/05/24/kind-of-like-watching-a-lava-lamp-and-playing-it-too/</feedburner:origLink></item>
		<item>
		<title>AI Memo 239</title>
		<link>http://feedproxy.google.com/~r/WithSufficientThrustPigsFlyJustFine/~3/zmLBMuGh8KI/</link>
		<comments>http://slinky.imukuppi.org/2010/04/24/ai-memo-239/#comments</comments>
		<pubDate>Sat, 24 Apr 2010 07:12:33 +0000</pubDate>
		<dc:creator>slinky</dc:creator>
				<category><![CDATA[Links]]></category>
		<category><![CDATA[239]]></category>
		<category><![CDATA[AI lab]]></category>
		<category><![CDATA[cool]]></category>
		<category><![CDATA[HAKMEM]]></category>
		<category><![CDATA[MIT]]></category>

		<guid isPermaLink="false">http://slinky.imukuppi.org/?p=798</guid>
		<description><![CDATA[Some reading for lazy weekend evenings. The MIT AI Memo 239, also known as &#8220;HAKMEM&#8221; contains mathematical and programmatical hacks from the times when computers were wood and men were steel. You can read it here: HAKMEM.
PS. See item 63 for description why 239 is a nice number.
]]></description>
			<content:encoded><![CDATA[<p>Some reading for lazy weekend evenings. The MIT AI Memo 239, also known as &#8220;HAKMEM&#8221; contains mathematical and programmatical hacks from the times when computers were wood and men were steel. You can read it here: <a href="http://home.pipeline.com/~hbaker1/hakmem/hakmem.html">HAKMEM</a>.</p>
<p>PS. See item 63 for description why 239 is a nice number.</p>
<img src="http://feeds.feedburner.com/~r/WithSufficientThrustPigsFlyJustFine/~4/zmLBMuGh8KI" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://slinky.imukuppi.org/2010/04/24/ai-memo-239/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://slinky.imukuppi.org/2010/04/24/ai-memo-239/</feedburner:origLink></item>
		<item>
		<title>“Looting Main Street”</title>
		<link>http://feedproxy.google.com/~r/WithSufficientThrustPigsFlyJustFine/~3/hrScgcsY1J4/</link>
		<comments>http://slinky.imukuppi.org/2010/04/12/looting-main-street/#comments</comments>
		<pubDate>Mon, 12 Apr 2010 22:15:58 +0000</pubDate>
		<dc:creator>slinky</dc:creator>
				<category><![CDATA[Links]]></category>
		<category><![CDATA[alabama]]></category>
		<category><![CDATA[bribery]]></category>
		<category><![CDATA[corruption]]></category>
		<category><![CDATA[JP Morgan]]></category>
		<category><![CDATA[outrageous]]></category>
		<category><![CDATA[rolling stone]]></category>
		<category><![CDATA[synthetic rate swap]]></category>
		<category><![CDATA[taxpayers]]></category>
		<category><![CDATA[thievery]]></category>
		<category><![CDATA[wtf]]></category>

		<guid isPermaLink="false">http://slinky.imukuppi.org/?p=792</guid>
		<description><![CDATA[JP Morgan accumulate profit margin invest destroy in full effect!
Check out a quite interesting/entertaining/sad article in the Rolling Stone magazine. It&#8217;s a story about corruption on so many levels.
It&#8217;s like gambling on the weather. If your bondholders are expecting you to pay an interest rate based on the average temperature in Alabama, you don&#8217;t do [...]]]></description>
			<content:encoded><![CDATA[<p>JP Morgan <strong>accumulate profit margin invest destroy</strong> in full effect!</p>
<p>Check out a quite interesting/entertaining/sad <a href="http://www.rollingstone.com/politics/story/32906678/looting_main_street/print">article</a> in the Rolling Stone magazine. It&#8217;s a story about corruption on so many levels.</p>
<blockquote><p>It&#8217;s like gambling on the weather. If your bondholders are expecting you to pay an interest rate based on the average temperature in Alabama, you don&#8217;t do a rate swap with a bank that gives you back a rate pegged to the temperature in Nome, Alaska.</p>
<p>Not unless you&#8217;re a fucking moron. Or your banker is JP Morgan.</p></blockquote>
<p>(Cheers to <a href="http://globalguerrillas.typepad.com/">Global Guerrillas</a> for the link.)</p>
<img src="http://feeds.feedburner.com/~r/WithSufficientThrustPigsFlyJustFine/~4/hrScgcsY1J4" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://slinky.imukuppi.org/2010/04/12/looting-main-street/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://slinky.imukuppi.org/2010/04/12/looting-main-street/</feedburner:origLink></item>
		<item>
		<title>Swedish e-Legitimation, Part II – “The Signing”</title>
		<link>http://feedproxy.google.com/~r/WithSufficientThrustPigsFlyJustFine/~3/o2WqIMcyXIo/</link>
		<comments>http://slinky.imukuppi.org/2010/04/03/swedish-e-legitimation-part-ii-the-signing/#comments</comments>
		<pubDate>Sat, 03 Apr 2010 09:19:19 +0000</pubDate>
		<dc:creator>slinky</dc:creator>
				<category><![CDATA[Babbling]]></category>
		<category><![CDATA[Creations]]></category>
		<category><![CDATA[browser]]></category>
		<category><![CDATA[e-deklaration]]></category>
		<category><![CDATA[e-legitimation]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[nexus]]></category>
		<category><![CDATA[nexus personal]]></category>
		<category><![CDATA[plugin]]></category>
		<category><![CDATA[sign]]></category>
		<category><![CDATA[signing]]></category>
		<category><![CDATA[skatteverket]]></category>

		<guid isPermaLink="false">http://slinky.imukuppi.org/?p=786</guid>
		<description><![CDATA[You&#8217;ve perhaps read part I and tried it. Everything works until the moment when you need to electronically sign a document. The web browser barfs an error message, you cannot sign anything.
The good news is that this is super simple to fix.

As for bad news&#8230; well, there is none, this time. With these instructions, and [...]]]></description>
			<content:encoded><![CDATA[<p>You&#8217;ve perhaps read <a href="http://slinky.imukuppi.org/2010/02/17/swedish-e-legitimation-the-easy-way/">part I</a> and tried it. Everything works until the moment when you need to electronically sign a document. The web browser barfs an error message, you cannot sign anything.</p>
<p>The good news is that this is super simple to fix.<br />
<span id="more-786"></span></p>
<p>As for bad news&#8230; well, there is none, this time. With these instructions, and the ones from part I, I was able to do a complete tax e-deklaration in Skatteverket&#8217;s page, including signing the final submission.</p>
<p><strong>The Problem</strong></p>
<p>You can&#8217;t sign things (with the non-repudiation certificate), at least not with the version 4.10.2.16 of Nexus Personal.</p>
<p><strong>The Reason</strong></p>
<p>This is because Firefox lacks the plugin. The Nexus Personal installer copies it into a weird place.</p>
<p><strong>The Solution</strong></p>
<p>Fix the situation by copying the browser plugin to a proper place:</p>
<p><code>cp /usr/local/lib/personal/libplugins.so ~/.mozilla/plugins/</code></p>
<p>Then restart Firefox.</p>
<p>Write &#8220;about:plugins&#8221; to the address bar and ensure Nexus Personal is there. The plugin should claim to accept MIME types such as &#8220;application/x-personal-signer&#8221;, and all of those should be enabled (all rows have &#8220;Yes&#8221;).</p>
<p>Now you can fill your skattedeklaration online, AND sign it too. Enjoy!</p>
<img src="http://feeds.feedburner.com/~r/WithSufficientThrustPigsFlyJustFine/~4/o2WqIMcyXIo" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://slinky.imukuppi.org/2010/04/03/swedish-e-legitimation-part-ii-the-signing/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://slinky.imukuppi.org/2010/04/03/swedish-e-legitimation-part-ii-the-signing/</feedburner:origLink></item>
		<item>
		<title>Swedish e-Legitimation, the Easy Way</title>
		<link>http://feedproxy.google.com/~r/WithSufficientThrustPigsFlyJustFine/~3/kIhWh506ENk/</link>
		<comments>http://slinky.imukuppi.org/2010/02/17/swedish-e-legitimation-the-easy-way/#comments</comments>
		<pubDate>Wed, 17 Feb 2010 21:46:09 +0000</pubDate>
		<dc:creator>slinky</dc:creator>
				<category><![CDATA[Babbling]]></category>
		<category><![CDATA[Creations]]></category>
		<category><![CDATA[deklarera]]></category>
		<category><![CDATA[e-legitimation]]></category>
		<category><![CDATA[e-trade]]></category>
		<category><![CDATA[EMV]]></category>
		<category><![CDATA[K4]]></category>
		<category><![CDATA[skatteverket]]></category>
		<category><![CDATA[swedish]]></category>
		<category><![CDATA[todos]]></category>

		<guid isPermaLink="false">http://slinky.imukuppi.org/?p=779</guid>
		<description><![CDATA[Here are step-by-step instructions about how to get the Swedish e-Legitimation to work in Linux. The instructions are specifically for Nordea bank customers.
You need the &#8220;pocket calculator&#8221; cardreader (I used Todos NCR1), a suitable USB cable and a card with an EMV chip. If you have Nordea-issued bankkort or VISA you&#8217;re OK. 
Note: These instructions [...]]]></description>
			<content:encoded><![CDATA[<p>Here are step-by-step instructions about how to get the Swedish e-Legitimation to work in Linux. The instructions are specifically for Nordea bank customers.</p>
<p>You need the &#8220;pocket calculator&#8221; cardreader (I used Todos NCR1), a suitable USB cable and a card with an EMV chip. If you have Nordea-issued bankkort or VISA you&#8217;re OK. </p>
<p>Note: These instructions are Debian-specific but they should work with other distros too with appropriate, slight changes.</p>
<p><strong>Update:</strong> Signing will most likely be broken for you, but you can <a href="http://slinky.imukuppi.org/2010/04/03/swedish-e-legitimation-part-ii-the-signing/">fix the signing</a> too.</p>
<p><span id="more-779"></span><br />
<center></center></p>
<p><strong>Step 1. Get the driver + Nexus personal</strong></p>
<p>Go to <a href="http://www.nordea.se/Privat/Internet+och+telefon/e-legitimation/Linux+och+e-legitimation+%C3%A5+kort/1133602.html">this Nordea page</a> to download.</p>
<p>Interestingly, I could not find the page from within Nordea&#8217;s web page. Also, the information on that page was not in the same place as for the other OSs (Windows, MacOSX). No pain, no gain!</p>
<p><strong>Step 2. Activate e-Legitimation on your card</strong></p>
<p>Log in to Nordea&#8217;s web site. Then go to Vardagsärenden, e-legitimation, kort and choose activate. Sign with the Todos box as usual.</p>
<p>Click the link to go back to cards page. You should see your cards in <strong>Inaktiv</strong> status.</p>
<p>Click Aktivera. Tick the box for Uttag activation, and proceed.</p>
<p>Now you need to go to an ATM and make a money withdrawal. This will finally activate e-legitimation in your card by downloading some data from the bank.</p>
<p><strong>Step 3. Install the software</strong></p>
<p>Yeah, I wish it were all open source, in case of problems&#8230; but it&#8217;s not. Take a deep breath and prepare to install some Chinese driver binaries, plus a binary-only browser plugin, etc.</p>
<p>But first verify that you get printout like the following when you:</p>
<ul>
<li>attach the USB cable to your Todos box</li>
<li>issue &#8220;dmesg&#8221; command</li>
</ul>
<p><code><br />
[4332544.912080] usb 2-3: new full speed USB device using ohci_hcd and address 4<br />
[4332545.162128] usb 2-3: New USB device found, idVendor=0b0c, idProduct=002e<br />
[4332545.162142] usb 2-3: New USB device strings: Mfr=1, Product=2, SerialNumber=0<br />
[4332545.162151] usb 2-3: Product: Nordea E-code<br />
[4332545.162158] usb 2-3: Manufacturer: Todos Data System AB<br />
[4332545.162369] usb 2-3: configuration #1 chosen from 1 choice<br />
</code></p>
<p>If that was OK, proceed. Otherwise make your USB work :)</p>
<p>Next, you need pcscd and libccid. </p>
<p><code>apt-get install pcscd and libccid</code></p>
<p>Unzip the Nexus and do as root:</p>
<p><code>./install.4.10.2.16.sh i</code></p>
<p>Unzip + install the driver:</p>
<p><code>unzip NCR1_Linux.zip</code></p>
<p>The zip contains a .deb so you&#8217;ll need to install it too:</p>
<p><code>dpkg --install NordeaDeb_1.0.0_i386.deb</code></p>
<p>Now the software part is done.</p>
<p><strong>Step 4. Test drive</strong></p>
<p>Restart Firefox.</p>
<p>Start Nexus application. Attach Todos reader NCR1 with USB cable. Insert your card. You should see something other than &#8220;Unknown&#8221; in it.</p>
<p>Nordea&#8217;s own test page is broken &#8211; they expect Microsoft Internet Explorer (maybe some ActiveX control too) for some totally screwball reason, I did not investigate this further. So it&#8217;s best to try e.g. Skatteverket&#8217;s page where you can check your Skattekonto. </p>
<p>Note: <strong>When prompted for a certificate, choose the certificate with &#8220;Basic PIN&#8221; in it.</strong> The other option did not work for me.</p>
<p>Enter your card PIN in the Todos box when prompted.</p>
<p>The web page should open properly, now you&#8217;ve got e-Legitimation!</p>
<img src="http://feeds.feedburner.com/~r/WithSufficientThrustPigsFlyJustFine/~4/kIhWh506ENk" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://slinky.imukuppi.org/2010/02/17/swedish-e-legitimation-the-easy-way/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		<feedburner:origLink>http://slinky.imukuppi.org/2010/02/17/swedish-e-legitimation-the-easy-way/</feedburner:origLink></item>
		<item>
		<title>The Revolution Will Not Have an App For That</title>
		<link>http://feedproxy.google.com/~r/WithSufficientThrustPigsFlyJustFine/~3/wbldv54rI90/</link>
		<comments>http://slinky.imukuppi.org/2010/01/28/the-revolution-will-not-have-an-app-for-that/#comments</comments>
		<pubDate>Thu, 28 Jan 2010 19:24:09 +0000</pubDate>
		<dc:creator>slinky</dc:creator>
				<category><![CDATA[Babbling]]></category>
		<category><![CDATA[an app for that]]></category>
		<category><![CDATA[apple]]></category>
		<category><![CDATA[appstore]]></category>
		<category><![CDATA[DRM]]></category>
		<category><![CDATA[ipad]]></category>
		<category><![CDATA[lock-in]]></category>
		<category><![CDATA[vendor lock-in]]></category>

		<guid isPermaLink="false">http://slinky.imukuppi.org/?p=772</guid>
		<description><![CDATA[Apple released their mysterious tablet computer, called iPad.
The marketing slogan used for it is &#8220;Our most advanced technology in a magical and revolutionary device at an unbelieveable price&#8221;. Indeed, it is revolutionary in the business model it represents.
The hit products which Apple has made recently include the music player iPod, the smartphone iPhone, and now [...]]]></description>
			<content:encoded><![CDATA[<p>Apple released their mysterious tablet computer, called iPad.</p>
<p>The marketing slogan used for it is <em>&#8220;Our most advanced technology in a magical and revolutionary device at an unbelieveable price&#8221;</em>. Indeed, it is revolutionary in the business model it represents.</p>
<p>The hit products which Apple has made recently include the music player iPod, the smartphone iPhone, and now the table computer iPad. What do all these have in common? Snazzy UI, yes, but also the closed hardware and the tight lock-in with the Apple App Store (and iTunes for media content).</p>
<p>On a more abstract level, every single one of those devices give the vendor more or less exclusive control over what you can and cannot run or view in your device.</p>
<p>Is this the <em>magical and revolutionary</em> new way of the future? If so, count me out.</p>
<img src="http://feeds.feedburner.com/~r/WithSufficientThrustPigsFlyJustFine/~4/wbldv54rI90" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://slinky.imukuppi.org/2010/01/28/the-revolution-will-not-have-an-app-for-that/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://slinky.imukuppi.org/2010/01/28/the-revolution-will-not-have-an-app-for-that/</feedburner:origLink></item>
	</channel>
</rss><!-- Dynamic Page Served (once) in 0.569 seconds -->
