<?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>Twinapex Blog</title>
	<atom:link href="http://blog.mfabrik.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.mfabrik.com</link>
	<description>Where creativity meets technology</description>
	<lastBuildDate>Sun, 24 Jan 2010 17:02:52 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>PyDev, Python and system default Unicode encoding problem</title>
		<link>http://blog.mfabrik.com/2010/01/24/aptana-studio-eclipse-pydev-default-unicode-encoding/</link>
		<comments>http://blog.mfabrik.com/2010/01/24/aptana-studio-eclipse-pydev-default-unicode-encoding/#comments</comments>
		<pubDate>Sun, 24 Jan 2010 17:02:33 +0000</pubDate>
		<dc:creator>Mikko Ohtamaa</dc:creator>
				<category><![CDATA[aptana studio]]></category>
		<category><![CDATA[eclipse]]></category>
		<category><![CDATA[plone]]></category>
		<category><![CDATA[pydev]]></category>
		<category><![CDATA[technology]]></category>

		<guid isPermaLink="false">http://blog.twinapex.fi/?p=415</guid>
		<description><![CDATA[Python 2 has a thing called &#8220;default encoding&#8221; to automagically encode Unicode strings when they are presented as byte strings. This is evil and has been discussed various times before.
What could be even more evil? Something in your development environment messes this setting set for you, without telling you that. This way you never encounter [...]]]></description>
			<content:encoded><![CDATA[<p>Python 2 has a thing called &#8220;default encoding&#8221; to automagically encode Unicode strings when they are presented as byte strings. <a href="http://tarekziade.wordpress.com/2008/01/08/syssetdefaultencoding-is-evil/">This is evil and has been discussed various times before</a>.</p>
<p>What could be even more evil? Something in your development environment messes this setting set for you, without telling you that. This way you never encounter Unicode problems on your development computer and when you roll out your seemingly working code to production, the world goes haywire.</p>
<p>Evil. Evil. Evil. Thousands of curses and overworking hours to fix the problems.</p>
<p>I encountered this problem. And this is the code I used to track the problem down in site.py:</p>
<pre># Trap the bastard messing with the default encoding
# using a monkey patch
old_set_default_encoding = sys.setdefaultencoding

def aargh(x):
    import pdb ; pdb.set_trace()

sys.setdefaultencoding = aargh</pre>
<div>And the result was surprising:</div>
<pre>
<div id="_mcePaste">--Return--</div>
<div id="_mcePaste">&gt; /home/moo/py24/lib/python2.4/site.py(485)aargh()-&gt;None</div>
<div id="_mcePaste">-&gt; import pdb ; pdb.set_trace()</div>
<div id="_mcePaste">(Pdb) bt</div>
<div id="_mcePaste">/home/moo/py24/lib/python2.4/site.py(613)?()</div>
<div id="_mcePaste">-&gt; main()</div>
<div id="_mcePaste">/home/moo/py24/lib/python2.4/site.py(604)main()</div>
<div id="_mcePaste">-&gt; execsitecustomize()</div>
<div id="_mcePaste">/home/moo/py24/lib/python2.4/site.py(514)execsitecustomize()</div>
<div id="_mcePaste">-&gt; import sitecustomize</div>
<div id="_mcePaste">/home/moo/Desktop/Aptana Studio 2.0/plugins/org.python.pydev_1.5.3.1260479439/PySrc/pydev_sitecustomize/sitecustomize.py(99)?()</div>
<div id="_mcePaste">-&gt; sys.setdefaultencoding(encoding) #@UndefinedVariable (it's deleted after the site.py is executed -- so, it's undefined for code-analysis)</div>
<div id="_mcePaste">&gt; /home/moo/py24/lib/python2.4/site.py(485)aargh()-&gt;None</div>
<div id="_mcePaste">-&gt; import pdb ; pdb.set_trace()</div>

--Return--&gt; /home/moo/py24/lib/python2.4/site.py(485)aargh()-&gt;None-&gt; import pdb ; pdb.set_trace()(Pdb) bt  /home/moo/py24/lib/python2.4/site.py(613)?()-&gt; main()  /home/moo/py24/lib/python2.4/site.py(604)main()-&gt; execsitecustomize()  /home/moo/py24/lib/python2.4/site.py(514)execsitecustomize()-&gt; import sitecustomize  /home/moo/Desktop/Aptana Studio 2.0/plugins/org.python.pydev_1.5.3.1260479439/PySrc/pydev_sitecustomize/sitecustomize.py(99)?()-&gt; sys.setdefaultencoding(encoding) #@UndefinedVariable (it's deleted after the site.py is executed -- so, it's undefined for code-analysis)&gt; /home/moo/py24/lib/python2.4/site.py(485)aargh()-&gt;None-&gt; import pdb ; pdb.set_trace()</pre>
<p>Looks like the culprint was PyDev (Eclipse Python plug-in).  The interfering source code is <a href="http://github.com/aptana/Pydev/blob/master/plugins/org.python.pydev/PySrc/pydev_sitecustomize/sitecustomize.py">here</a>. Looks like the reason was to co-operate with Eclipse console. However it has been done incorrectly. Instead of setting the console encoding, the encoding is set to whole Python run-time environment, messing up the target run-time where the development is being done.</p>
<p>There is a possible fix for this problem. In Eclipse Run&#8230; dialog settings you can choose <em>Console Encoding</em> on <em>Common</em> tab. There is a possible value <em>US-ASCII</em>. I am not sure what Python 2 thinks &#8220;US-ASCII&#8221; encoding name, since the default is &#8220;ascii&#8221;.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.mfabrik.com/2010/01/24/aptana-studio-eclipse-pydev-default-unicode-encoding/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Creating a drag&#8217;n&#039;drop basket with jQueryUI</title>
		<link>http://blog.mfabrik.com/2010/01/05/creating-a-dragndrop-basket-with-jqueryui/</link>
		<comments>http://blog.mfabrik.com/2010/01/05/creating-a-dragndrop-basket-with-jqueryui/#comments</comments>
		<pubDate>Tue, 05 Jan 2010 12:53:07 +0000</pubDate>
		<dc:creator>Mikko Ohtamaa</dc:creator>
				<category><![CDATA[jquery]]></category>
		<category><![CDATA[jqueryui]]></category>
		<category><![CDATA[technology]]></category>
		<category><![CDATA[basket]]></category>
		<category><![CDATA[cdn]]></category>
		<category><![CDATA[google.code]]></category>
		<category><![CDATA[shopping cart]]></category>
		<category><![CDATA[travel planner]]></category>

		<guid isPermaLink="false">http://blog.twinapex.fi/?p=401</guid>
		<description><![CDATA[I have created an example how to create a &#8220;basked&#8221; with jQuery and jQueryUI with the following features

The user can be pick items from the predefined set
Items are dragged and dropped to the basket
The basket value reflects a hidden input

This kind of user interface pattern is suitable for

Shopping carts
Travel planners

The example in fact bears the [...]]]></description>
			<content:encoded><![CDATA[<p>I have created an example how to create a &#8220;basked&#8221; with jQuery and jQueryUI with the following features</p>
<ul>
<li>The user can be pick items from the predefined set</li>
<li>Items are dragged and dropped to the basket</li>
<li>The basket value reflects a hidden input</li>
</ul>
<p>This kind of user interface pattern is suitable for</p>
<ul>
<li>Shopping carts</li>
<li>Travel planners</li>
</ul>
<p>The example in fact bears the name &#8220;travel planner&#8221; but it is not tied to travel anyhow.</p>
<p><strong>Note: this is just a screenshot </strong>- please see l<a href="http://blog.twinapex.fi/wp-content/uploads/2010/01/index.html">ive example</a></p>
<p><a href="http://blog.twinapex.fi/wp-content/uploads/2010/01/basket.png"><img class="alignnone size-full wp-image-409" title="basket" src="http://blog.twinapex.fi/wp-content/uploads/2010/01/basket.png" alt="basket" width="500" height="298" /></a></p>
<p>The example code uses</p>
<ul>
<li><a href="http://code.google.com/apis/ajaxlibs/documentation/">google.code() content delivery network</a> to load jQuery and jQueryUI</li>
<li>jQueryUI draggable and droppable features</li>
<li>Well planned visual cues for the drag and drop operations: cursor changes, CSS hover classes</li>
<li>&lt;form&gt; which &lt;input&gt; value is updated according to the basket content &#8211; all selected item ids form a comma separated list</li>
</ul>
<p>The example code is well-documented with links to the further documentation.</p>
<ul>
<li><a href="http://blog.twinapex.fi/wp-content/uploads/2010/01/index.html">Live example</a></li>
<li><a href="http://code.google.com/p/jquerybaskedexample/source/browse/trunk/">View source code</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://blog.mfabrik.com/2010/01/05/creating-a-dragndrop-basket-with-jqueryui/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Mobile browser wars: Nokia microB vs. Firefox Fennec</title>
		<link>http://blog.mfabrik.com/2010/01/02/mobile-browser-wars-nokia-microb-vs-firefox-fennec/</link>
		<comments>http://blog.mfabrik.com/2010/01/02/mobile-browser-wars-nokia-microb-vs-firefox-fennec/#comments</comments>
		<pubDate>Sat, 02 Jan 2010 15:28:37 +0000</pubDate>
		<dc:creator>Mikko Ohtamaa</dc:creator>
				<category><![CDATA[Business]]></category>
		<category><![CDATA[browser]]></category>
		<category><![CDATA[fennec]]></category>
		<category><![CDATA[maemo]]></category>
		<category><![CDATA[mobile]]></category>
		<category><![CDATA[mozilla]]></category>
		<category><![CDATA[n900]]></category>
		<category><![CDATA[nokia]]></category>
		<category><![CDATA[comparison]]></category>
		<category><![CDATA[microb]]></category>
		<category><![CDATA[release]]></category>
		<category><![CDATA[speed]]></category>
		<category><![CDATA[usability]]></category>
		<category><![CDATA[user interface]]></category>
		<category><![CDATA[xul]]></category>

		<guid isPermaLink="false">http://blog.twinapex.fi/?p=393</guid>
		<description><![CDATA[Begun, this mobile browser war, has. When mobile internet is growing 8x faster than desktop internet everyone wants to have a share of it. In the core of this fight is the mobile browser &#8211; the doorway to the mobile internet.
Usually phone comes with a browser from the phone manufacturer: Safari ships with iPhone, Android [...]]]></description>
			<content:encoded><![CDATA[<p>Begun, this mobile browser war, has. When <a href="http://startupmeme.com/mobile-internet-growing-8-times-faster-than-the-pc-internet/">mobile internet is growing 8x faster </a>than desktop internet everyone wants to have a share of it. In the core of this fight is the mobile browser &#8211; the doorway to the mobile internet.</p>
<p>Usually phone comes with a browser from the phone manufacturer: Safari ships with iPhone, Android ships with WebKit based browser and Maemo comes with Nokia <a href="http://en.wikipedia.org/wiki/MicroB">microB</a>. Besides the default browser, open platforms have seen third party browsers created for them: <a href="http://www.opera.com/press/releases/2009/09/24/">Opera Mini has 30 million users </a>and several browsers have been created for Symbian platforms. (Note that iPhone is not really open platform regarding this as Apple developer terms specifically forbid creating alternative  browser engines for their Safari &#8211; all iPhone &#8220;browsers&#8221; are just the same Safari with new toppings).</p>
<p>Now Mozilla foundation is releasing Firefox <a href="https://wiki.mozilla.org/fennec">Fennec</a> (<a href="http://blog.pavlov.net/2009/12/31/firefox-for-maemo-rc1/">RC1 version is available  for Nokia N900</a>), touted as the most innovative mobile browser this far. New user interface ideas, desktop syncronization and vibrant add-on community are something yet to be seen for mobile browsers. Mozilla did an amazing thing with Firefox when it actually managed to push Internet experience forward and compete against Microsoft&#8217;s bundled Internet Explorer with sheer quality. Can Mozilla repeat the same thing it did for desktop browsing for mobile browsing too?</p>
<p>Is Fennec good? I installed the release candidate and conducted some tests by visiting on popular sites. It is especially fruitful to compare Fennec against Nokia&#8217;s own microB browser as they both are based on the same Gecko rendering engine beneath the hood.</p>
<p>The differences of the browsers are, actually surprisingly, not limited to branding and user interface shell. Fennec is portable browser &#8211; Mozilla hopes to run Fennec on other mobile platforms beside Maemo in the future. Fennec user interface is based on Mozilla&#8217;s XUL library and you can actually run Fennec on your desktop computer too. Nokia&#8217;s interest, on the other hand, is have an optimized browser for their own mobile phones: microB user interface is using native Maemo user interface components.</p>
<p>Below are some aspects of the browsers compared against each other.</p>
<h2>Start up time</h2>
<ul>
<li>microB: instant</li>
<li>Fennec: About ten seconds (warm start-up is little bit faster, but it is still slooooow&#8230;.)</li>
</ul>
<p>This is a pain for Fennec. Loading all that XUL Javascript  needed to run Fennec is just too much. You really don&#8217;t want to start Fennec for a quick browsing session, unless you have the patience of a cow. I am not sure whether N900 keeps microB loaded on the background all the time or what&#8217;s causing the difference.</p>
<h2>User interface</h2>
<p>This is really where Fennec shines. Nokia enjoys some reputation of being a boring engineer house with little innovation left to stir. After learning the trick of left and right sweep, which is cleverly demostrated on the start page, Fennec user interface instantly feels intuitive. microB, on the other hand, uses somehow clumsy &#8220;bottom right corner full-screen button&#8221; to access buttons and left-right sweep is not very well thought. For example, switching a tab/browser window takes three &#8220;clicks&#8221; on microB (show menu &#8211; switch application &#8211; choose next browser window) when Fennec does it with one sweep and click. Also, backward navigation is much more intuitive on Fennec and takes too many gestures on microB.</p>
<p>Both browsers have search integrated to the navigation bar. Fennec start screen is more clever, showing the history and shortcuts, while microB shows only the bookmarks.  Fennec navigation bar also is a combination of title and navigation bar, saving the precious screen estate on small physical form factor. Fennec zooms to text fields automatically when you start to input text into them and also have soft &#8220;tab keys&#8221; to navigate to next and previous input field.</p>
<h2>Page reading and speed</h2>
<p>On sites with above average layout complexity, Fennec is unbearable slow compared to microB, up to the point the browser is next to unusable in its current incarnation. As they both use the same rendering engine, I have hard time to understand how microB manages even the heaviest dynamic pages (Facebook profile page) when Fennec becomes unusable even on a moderate complex page (slashdot.org).</p>
<p>The thing with Fennec is that for some of the the time it does not register your interaction and does not have any indicator showing if it is responding &#8211; it has grinded to halt, little bit like desktop computer when swapping.  And even when Fennec is responding the scrolling of the page refreshment is sluggish compared to microB. This makes the page reading experience unusable. A normal user won&#8217;t stand 1-3 second frequent responsivity pauses or page movement which cannot be controlled.</p>
<p>microB must do the rendering somehow different  - is it hardware acceleration on font rendering, smarter management of images or some other trick?. However, until Fennec reaches the smoothiness of microB, there is no way I would switch to Fennec over microB.</p>
<p>(Note: You can press CTRL-Backspace from N900 keyboard to force application switch if you cannot exit from halted Fennec otherwise)</p>
<h2>Mobile browsing</h2>
<p>Though N900 has 800 pixel wide screen, it is still a mobile phone. Small physical size, low bandwidth with high latency and  limited CPU power might make you to pick a mobile internet version of the site when it is available. However, since the screen has exceptional high Dots-Per-Inch value, this poses a problem for rendering sites with the default font sizes.</p>
<p>Fennec does not seem to have a shortcut for setting a large text size. This is something one would hope to see on such high DPI device as the most of the time default web site fonts are too small to be usable. Also, Fennec does not use the shoulder plus and minus volume buttons for zooming &#8211; microB does it and it is very natural place for this function.</p>
<p>Fennec seems to have some difficulties with mobile site rendering: for example touch.facebook.com and yle.mobi are not scaled to full width. Instead a narrow colum of 1/3 screen width is displayed.</p>
<h2>Bugginess</h2>
<p>microB is very solid piece of software. It crashes more rarely than Safari on iPhone (might this be because of more memory &#8211; low memory conditions seem to be a normal crashing condition for Safari?).  Fennec is still in its first version and have some issues.</p>
<p>(Note: I managed to get Fennec to zombie state &#8211; I had to go to terminal and type <em>killall fennec</em> command to make the browser become launchable again).</p>
<h2>Sites tested</h2>
<p><strong>Slashdot.org</strong></p>
<p>Geek discussion site</p>
<p>microB: no problems</p>
<p>Fennec: slow, frequent pauses, not smooth scrolling</p>
<p><strong>slashdot.org/palm</strong></p>
<p>Very simple mobile version of the above.</p>
<p>microB:  Font too small</p>
<p>Fennec: Scales correctly</p>
<p><strong>Facebook.com</strong></p>
<p>High profile social networking site</p>
<p>microB: Sometimes little slow, but seems to work perfectly</p>
<p>Fennec: Unusable slow</p>
<p><strong>touch.facebook.com</strong></p>
<p>microB: Perfect (at least when scaling font up a little)</p>
<p>Fennec: Does not scale correctly (default scale uses only 1/3 of screen width, double click zooming scales too much)</p>
<p><strong> yle.fi</strong></p>
<p>Finnish national broadcasting company site</p>
<p>microB: Ok. Readable and usable with text size large.</p>
<p>Fennec: Ok. The default view is navigable, but not readable. You need to double-click zoom to read the text (Fennec doesn&#8217;t seem to have text size large option)-</p>
<p><strong>yle.mobi</strong></p>
<p>The mobile version of above.</p>
<p>microB: Perfect with text size large, ok otherwise (need to double click to zoom and then click to choose a link to follow).</p>
<p>Fennec: Ok &#8211; font size too small</p>
<p><strong>GMail HTML version</strong></p>
<p>The default Javascript version of GMail is too heavy for both the browsers. GMail still provides &#8220;Basic HTML&#8221; view as the fallback for devices with less CPU power and network bandwidth.</p>
<p>microB: Ok &#8211; you can do some basic emailing</p>
<p>Fennec:  Ok. Does not seem to be affected by as much of &#8220;slugginess&#8221; as other sites are (might the slugginess be a Javascript issue?)</p>
<p><strong>Youtube.com</strong></p>
<p>The web version of flash based video sharing site.</p>
<p>microB: Plays Flash movies ok &#8211; smooth scrolling even whilst a Flash movie is playing</p>
<p>Fennec: Frequent grinds to halt, sluggish, unusable. Manages to open Flash video, though.</p>
<p><strong>m.google.com/youtube</strong></p>
<p>The mobile version of above.</p>
<p>microB: Youtube claims the browser is unsuppoted</p>
<p>Fennec: Cannot enter the site &#8211; shows only the page of Youtube Mobile instructions</p>
<p><strong>twitter.com  (web site)</strong></p>
<p>microB: Perfect</p>
<p>Fennec: Ok. Sluggish when opening new pages, but still usable. Fennec start view ships with Twitter button, so one might assume this site is well tested for Fennec.</p>
<p><strong>m.twitter.com</strong></p>
<p>The mobile site of above.</p>
<p>microB: Ok &#8211; the default font size too small, but when settings text size large works well</p>
<p>Fennec: Ok &#8211; the default font size too small. Double click zoom does not work well on the twit feed, making reading difficult.</p>
<p><strong>plone.org</strong></p>
<p>A community site with relatively simple layout.</p>
<p>microB: Ok &#8211; minor rendering errors</p>
<p>Fennec: Ok &#8211; minor rendering errors</p>
<p><strong>iltalehti.fi</strong></p>
<p>Finnish tabloid web site with lots of images.</p>
<p>microB:  Ok</p>
<p>Fennec: Grinds to halt, unusable slow<strong> </strong></p>
<h2>Summary</h2>
<p>Though having nice promise of innovation, the advise for Fennec development team would be &#8220;back to the basics&#8221;. The slugginess and response times of Fennec are such an issue that one would not yet consider it as an real alternative for Nokia&#8217;s default microB browser.</p>
<p>With Fennec&#8217;s user interface and microB&#8217;s speed one could have a near perfect mobile browser. Depending what kind of future co-operation Nokia and Mozilla foundation will have, we might live to see it.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.mfabrik.com/2010/01/02/mobile-browser-wars-nokia-microb-vs-firefox-fennec/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Profiling PostgreSQL database</title>
		<link>http://blog.mfabrik.com/2010/01/02/profiling-postgresql-database/</link>
		<comments>http://blog.mfabrik.com/2010/01/02/profiling-postgresql-database/#comments</comments>
		<pubDate>Fri, 01 Jan 2010 23:35:05 +0000</pubDate>
		<dc:creator>Mikko Ohtamaa</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[postgresql]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://blog.twinapex.fi/?p=388</guid>
		<description><![CDATA[This blog post will have some short notes about monitoring and profiling PostgreSQL databases.
pgtop
pgtop provides UNIX top command like user interface for PostgreSQL. pgtop command is available as Perl CPAN module.
How to install Perl CPAN modules as non-root user on Ubuntu (note: when it prompts to run sudo, answer no).
To install pgtop install following CPAN [...]]]></description>
			<content:encoded><![CDATA[<p>This blog post will have some short notes about monitoring and profiling PostgreSQL databases.</p>
<h2>pgtop</h2>
<p>pgtop provides UNIX top command like user interface for PostgreSQL. pgtop command is available as Perl CPAN module.</p>
<p><a href="http://perl.jonallen.info/writing/articles/install-perl-modules-without-root">How to install Perl CPAN modules as non-root user on Ubuntu</a> (note: when it prompts to run sudo, answer no).</p>
<p>To install pgtop install following CPAN modules first: Term::ANSIColor, Term::ReadKey, DBD::Pg</p>
<pre>perl -MCPAN -Mlocal::lib -e 'CPAN::install(DBD::Pg)'
perl -MCPAN -Mlocal::lib -e 'CPAN::install(Term::ReadKey)'
perl -MCPAN -Mlocal::lib -e 'CPAN::install(Term::ANSIColor)'
<a href="http://cpansearch.perl.org/src/COSIMO/pgtop-0.05/README">
</a></pre>
<p><a href="http://cpansearch.perl.org/src/COSIMO/pgtop-0.05/README">pgtop install instructions</a><a href="http://search.cpan.org/~cosimo/pgtop-0.05/pgtop"><br />
</a></p>
<p><a href="http://search.cpan.org/~cosimo/pgtop-0.05/pgtop">pgtop manul</a></p>
<p>Running pgtop:</p>
<pre>perl pgtop -d databasename -u yourdbuser -p yourdbuserpassword</pre>
<h2>pgfouine</h2>
<p><a href="http://pgfouine.projects.postgresql.org/tutorial.html">pgfouine </a>is a log analyzer for PostgreSQL.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.mfabrik.com/2010/01/02/profiling-postgresql-database/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>It will be damn big, and damn fast&#8230;</title>
		<link>http://blog.mfabrik.com/2009/12/21/it-will-be-damn-big-and-damn-fast/</link>
		<comments>http://blog.mfabrik.com/2009/12/21/it-will-be-damn-big-and-damn-fast/#comments</comments>
		<pubDate>Mon, 21 Dec 2009 08:05:41 +0000</pubDate>
		<dc:creator>kipi</dc:creator>
				<category><![CDATA[Business]]></category>

		<guid isPermaLink="false">http://blog.twinapex.fi/?p=382</guid>
		<description><![CDATA[Phew&#8230; been going thru hundreds of pages just last week released The Mobile Internet Report by Morgan Stanley. Interesting statistics and conclusions to read. I fully agree how those wise people at Morgan Stanley summarized the findings of their research:
Mobile Ramping Faster than Desktop Internet Did and Will
Be Bigger Than Most Think –
5 Trends Converging [...]]]></description>
			<content:encoded><![CDATA[<p>Phew&#8230; been going thru hundreds of pages just last week released <a title="The Mobile Internet Report" href="http://www.morganstanley.com/institutional/techresearch/mobile_internet_report122009.html" target="_blank">The Mobile Internet Report</a> by Morgan Stanley. Interesting statistics and conclusions to read. I fully agree how those wise people at Morgan Stanley summarized the findings of their research:</p>
<blockquote><p><em>Mobile Ramping Faster than Desktop Internet Did and Will<br />
Be Bigger Than Most Think –<br />
5 Trends Converging (3G + Social Networking + Video +<br />
VoIP + Impressive Mobile Devices)</em></p>
<p><em><br />
Regarding pace of change, we believe more users will<br />
likely connect to the Internet via mobile devices than<br />
desktop PCs within 5 years</em></p></blockquote>
<p>And seems to happen as it did with that &#8220;Desktop Internet&#8221;&#8230; driving force is the users and many (most?) of the companies do not realize that until they do not have any possibilities than to move &#8220;into&#8221; mobile internet. Sweet spot has reached already in Europe, next year world wide but&#8230; yeah&#8230; companies will wake up, too.. yet again late&#8230;.</p>
<p>Evangelism, we need a bit that&#8230; and that will be done!</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.mfabrik.com/2009/12/21/it-will-be-damn-big-and-damn-fast/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Black Friday was not sad for mobile commerce</title>
		<link>http://blog.mfabrik.com/2009/12/02/black-friday-was-not-sad-for-mobile-commerce/</link>
		<comments>http://blog.mfabrik.com/2009/12/02/black-friday-was-not-sad-for-mobile-commerce/#comments</comments>
		<pubDate>Wed, 02 Dec 2009 08:04:42 +0000</pubDate>
		<dc:creator>kipi</dc:creator>
				<category><![CDATA[Business]]></category>

		<guid isPermaLink="false">http://blog.twinapex.fi/?p=379</guid>
		<description><![CDATA[650% growth in a year.. not bad, eh? Well, some might say that starting low makes it easy to grow a lot if measured by percentages. Yes, that&#8217;s true but wasn&#8217;t it so with &#8220;normal&#8221; web, too?
In a recent data reviewed by Dow Jones (via mocoNews), mobile phones are used increasingly to buy things. This [...]]]></description>
			<content:encoded><![CDATA[<p>650% growth in a year.. not bad, eh? Well, some might say that starting low makes it easy to grow a lot if measured by percentages. Yes, that&#8217;s true but wasn&#8217;t it so with &#8220;normal&#8221; web, too?</p>
<p>In a recent data reviewed by Dow Jones (via <a title="mocoNews article" href="http://moconews.net/article/419-paypal-says-mobile-payments-surged-on-black-friday/" target="_blank">mocoNews</a>), mobile phones are used increasingly to buy things. This is helped by higher-end phones as well as by retailers who are building their sites and services to serve mobile phone users, too.</p>
<p>Those retailers or web shops serving mobile phone users are still rare. Some are trying, some are getting there and the ones who have already taken some action, have not been disappointed. Like, Swiftcover in UK (swiftcover.mobi) combined the launch of their mobile site with outdoor marketing allowing people to get quotes for their car insurance straight away by using their mobile phones. Unfortunately can&#8217;t tell about exact numbers but, well, lets put it this way: it worked! <img src='http://blog.mfabrik.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://blog.mfabrik.com/2009/12/02/black-friday-was-not-sad-for-mobile-commerce/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Nokia N900, sports tracking and geotagging</title>
		<link>http://blog.mfabrik.com/2009/11/29/nokia-n900-sports-tracking-and-geotagging/</link>
		<comments>http://blog.mfabrik.com/2009/11/29/nokia-n900-sports-tracking-and-geotagging/#comments</comments>
		<pubDate>Sat, 28 Nov 2009 21:33:52 +0000</pubDate>
		<dc:creator>Mikko Ohtamaa</dc:creator>
				<category><![CDATA[geotagging]]></category>
		<category><![CDATA[mobile]]></category>
		<category><![CDATA[n900]]></category>
		<category><![CDATA[nokia]]></category>
		<category><![CDATA[sports tracker]]></category>
		<category><![CDATA[technology]]></category>
		<category><![CDATA[ecoach]]></category>
		<category><![CDATA[exif]]></category>
		<category><![CDATA[google maps]]></category>
		<category><![CDATA[gpicsync]]></category>
		<category><![CDATA[gps]]></category>
		<category><![CDATA[gpx]]></category>
		<category><![CDATA[kml]]></category>
		<category><![CDATA[map my tracks]]></category>
		<category><![CDATA[nokia sports tracker]]></category>
		<category><![CDATA[sports tracking]]></category>

		<guid isPermaLink="false">http://blog.twinapex.fi/?p=371</guid>
		<description><![CDATA[This blog contains some tips how to use your Nokia N900 smart phone as a &#8220;augmented reality&#8221; sports device.
Sports tracking
Sport tracking is about collecting your sports activity data using GPS and other equipment. After running/cycling/skiing/whatever you see where you have been, how much time it took and how fast you are. In same cases you [...]]]></description>
			<content:encoded><![CDATA[<p>This blog contains some tips how to use your Nokia N900 smart phone as a &#8220;augmented reality&#8221; sports device.</p>
<h2>Sports tracking</h2>
<p>Sport tracking is about collecting your sports activity data using GPS and other equipment. After running/cycling/skiing/whatever you see where you have been, how much time it took and how fast you are. In same cases you are able to calculate burnt calories and estimated heart rate.</p>
<p>N900 has at least one sports tracking application out there, <a href="http://maemo.nokia.com/maemo-select/applications/ecoach/">eCoach</a>.  eCoach is also suitable for professionals as it has heart rate monitor integration.</p>
<p>eCoach allows you record and  store sport activities. During the activity it uses Open Street Map based map viewer to show your current location. At least Helsinki area has very detailed maps available there, showing even the smallest trails, so you can safely venture to unknown neighbourhoods.</p>
<p>eCoach exports its tracks as GPX gps data file format. eCoach does not have any service integration yet, but you can upload this file to <a href="http://sportstracker.nokia.com/">Nokia Sports Tracker</a> and <a href="http://www.mapmytracks.com/">Map My Tracks</a>. The recommend the latter as it has better social media integration and seems to be under active development. On the otherhand I have been using Nokia Sportstracker since 2007 and it has not really development during the whole this time and seems to lack will to go forward. Also Nokia has <a href="http://betalabs.nokia.com/forum/topic/4085">disabled track profile for imported GPX files</a> <a href="http://www.symbian-guru.com/welcome/2009/07/nokia-is-killing-sportstracker.html">which gives a message &#8220;we really don&#8217;t care about this service&#8221;</a>.</p>
<p>There is also a service called mapmyrun.com with various domain names like &#8220;maymysomething.com&#8221;. Steer away from this service as I tested it and it didn&#8217;t live up to my expections (too much advertising, horrible user interface).</p>
<p>Some sport tracks I have made</p>
<ul>
<li><a href="http://www.mapmytracks.com/explore/track/activity-2009-11-28-152647540200/">Run in Map My Tracks</a></li>
<li><a href="http://www.mapmytracks.com/explore/track/activity-2009-11-15-1541107360200/">Another run in Map My Tracks</a></li>
<li><a href="http://sportstracker.nokia.com/nts/workoutdetail/index.do?id=1801563">The same run in Nokia Sportstracker</a></li>
<li><a href="http://sportstracker.nokia.com/nts/user/profile.do?u=miohtama">All my runs in Nokia Sporstracker</a></li>
</ul>
<h2>Geotagging</h2>
<p>Geotagging is about having GPS  coordinates on your photos. This way photos can be put on the map autotically in photo sharing services like Yahoo <a href="http://www.flickr.com/groups/geotagging/pool/map?mode=group">Flick </a>or Google Picasa. When you known location, capture time and sharing license of the photo, all kind of fantastic services can be created, like <a href="http://photosynth.net/">Microsoft Photosynth</a>.</p>
<p>Technically geotagging works by embedded GPS coordiates into the EXIF metadata of JPEG files.</p>
<p>N900 has geotagging as out of the box feature &#8211; no additional software needed. Just turn on it on in Camera application settings.</p>
<p>Also, you can retrofit your photos with geotagging information afterwards. You can do this by hand using labels and drag and drop in the most of photo sharing applications, like Google Picasa. Also there exist automated tools if you have relates GPS records available as GPX or KML file: checkout <a href="http://code.google.com/p/gpicsync/">GPicSync</a>. This is handy if you record your sports in eCoach and forgot to turn on geotagging in N900 camera. GPicSync also has <a href="http://code.google.com/p/gpicsync/wiki/GoogleMapsExport">a Google Maps export feature</a> if you want to create custom maps for your friends or customers.</p>
<ul>
<li><a href="http://maps.google.com/maps/ms?ie=UTF8&amp;hl=en&amp;msa=0&amp;msid=107574116820777591375.000479751b32bc79abb01&amp;ll=60.204303,25.054064&amp;spn=0.034248,0.08214&amp;z=14">An example map created with N900, eCoach,  GPicSync and Google Maps</a> from one of the runs above</li>
</ul>
<h2>Sports tracking + geotagging = ?</h2>
<p>I am still trying to figure out how to combine sports tracking and geotagging to something cool. Maybe something along the lines of <a href="http://en.wikipedia.org/wiki/Urban_exploration">urban exploration</a>.</p>
<p>But in any case here are some of cities I have &#8220;collected&#8221; from my travels</p>
<ul>
<li><a href="http://sportstracker.nokia.com/nts/workoutdetail/index.do?id=1758533">Budapest</a></li>
<li><a href="http://sportstracker.nokia.com/nts/workoutdetail/index.do?id=1017087">London</a></li>
<li><a href="http://sportstracker.nokia.com/nts/workoutdetail/index.do?id=658576">Copenhagen</a></li>
<li><a href="http://sportstracker.nokia.com/nts/workoutdetail/index.do?id=658581">New York (GPS was not exactly working well&#8230;)</a></li>
<li><a href="http://sportstracker.nokia.com/nts/workoutdetail/index.do?id=156134">Oulu</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://blog.mfabrik.com/2009/11/29/nokia-n900-sports-tracking-and-geotagging/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>PhoneGap ported on N900 (Maemo)</title>
		<link>http://blog.mfabrik.com/2009/11/24/phonegap-ported-on-n900-maemo/</link>
		<comments>http://blog.mfabrik.com/2009/11/24/phonegap-ported-on-n900-maemo/#comments</comments>
		<pubDate>Tue, 24 Nov 2009 00:17:52 +0000</pubDate>
		<dc:creator>Mikko Ohtamaa</dc:creator>
				<category><![CDATA[maemo]]></category>
		<category><![CDATA[mobile]]></category>
		<category><![CDATA[n900]]></category>
		<category><![CDATA[phonegap]]></category>
		<category><![CDATA[technology]]></category>

		<guid isPermaLink="false">http://blog.twinapex.fi/?p=355</guid>
		<description><![CDATA[We have ported PhoneGap mobile application framework to the new Nokia N900 smartphone and its Maemo operating system. PhoneGap is a framework to build mobile applications easily with HTML and Javascript. With the new Maemo port PhoneGap platform support covers iPhone, Android, Nokia Series 60, Blackberry, Windows Mobile and Maemo, making it one of the most [...]]]></description>
			<content:encoded><![CDATA[<p>We have ported <a href="http://phonegap.com">PhoneGap</a> mobile application framework to the new Nokia N900 smartphone and its Maemo operating system. PhoneGap is a framework to build mobile applications easily with HTML and Javascript. With the new Maemo port PhoneGap platform support covers iPhone, Android, Nokia Series 60, Blackberry, Windows Mobile and Maemo, making it one of the most portable mobile application development solution available.</p>
<p><img class="alignnone size-full wp-image-361" title="01012008052" src="http://blog.twinapex.fi/wp-content/uploads/2009/11/010120080521.jpg" alt="01012008052" width="400" height="300" /></p>
<p><img class="alignnone size-full wp-image-365" title="snapshot1" src="http://blog.twinapex.fi/wp-content/uploads/2009/11/snapshot11.png" alt="snapshot1" width="407" height="257" /></p>
<p>The demo application currently supports only Device Info and Accelerometer APIs. The porting work is still in its early stages and we suggest novice developers steer away from it. We&#8217;ll develop and maintain the work as long as we have client cases for mobile applications. If you are looking forward to port your commercial PhoneGap application to N900, please contact us.</p>
<p>PhoneGap port was done using QT and QWebView controller. The native shell source code is in C++. Build and packaging scripts are standard Makefiles. More technical information on the <a href="http://blog.twinapex.fi/phonegap-on-maemo/">release notes</a> page.</p>
<p>Code is available on <a href="http://github.com/jtoivola/phonegap/tree/master/maemo/">GitHub</a>.</p>
<h2>So what&#8217;s cool about Maemo (compared to other PhoneGap platforms)?</h2>
<p>Shortly: The openess of Maemo platforms enables developer innovation never seen before. There are zero artificial limitations chaining your imagination.</p>
<ul>
<li>No code signing whatsoever required</li>
<li>No approval process to get your application distributed</li>
<li>Very robust development tools and development environment. Hey, it&#8217;s Linux! The phone ships with X terminal built in.</li>
<li>You have root access to the device if needed</li>
<li>QWebView WebKit control which itself is open source &#8211; you can recompile from scratch and stick in the needed features</li>
<li>The phone itself is rock solid. It beats iPhone 100-0.</li>
<li>Maemo has very active open source community. You actually might get help when stuck, unlike with NDAs and other madness from some other vendors.</li>
</ul>
<h2 style="font-size: 1.5em;">So what&#8217;s cool about PhoneGap (compared to other mobile application technologies)?</h2>
<ul>
<li>Use low entry level HTML, CSS and Javascript technologies &#8211; even PHp coder can build his/her own mobile application! This is the most cost effective way to develop non-CPU-intensive applications.</li>
<li>PhoneGap has the widest mobile platform support &#8211; the best medicine against fragmented mobile application markets</li>
<li>You can always break out from the sandbox and use the native capabilities of the phone. This is something you cannot do with Flash Lite or Java ME.</li>
<li>Very active community</li>
<li>WebKit rendering engine enables CSS3 goodies and much more</li>
<li>Easily convert your existing mobile site to an application</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://blog.mfabrik.com/2009/11/24/phonegap-ported-on-n900-maemo/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Do you really think 160 chars tells the story?</title>
		<link>http://blog.mfabrik.com/2009/11/23/do-you-really-think-160-chars-tells-the-story/</link>
		<comments>http://blog.mfabrik.com/2009/11/23/do-you-really-think-160-chars-tells-the-story/#comments</comments>
		<pubDate>Mon, 23 Nov 2009 08:21:12 +0000</pubDate>
		<dc:creator>kipi</dc:creator>
				<category><![CDATA[Business]]></category>

		<guid isPermaLink="false">http://blog.twinapex.fi/?p=352</guid>
		<description><![CDATA[Still receiving from time to time some marketing SMS messages from different &#8220;clubs&#8221; I have opted in. Been too lazy to opt-out but those messages also works as kind of reminder about the status and state of mobile marketing. Just few weeks ago got a marketing message from one of those clubs (just rough translation [...]]]></description>
			<content:encoded><![CDATA[<p>Still receiving from time to time some marketing SMS messages from different &#8220;clubs&#8221; I have opted in. Been too lazy to opt-out but those messages also works as kind of reminder about the status and state of mobile marketing. Just few weeks ago got a marketing message from one of those clubs (just rough translation and all identifying info removed/changed):</p>
<p><em>Now all Red Ball Products are on sale! 20% off on all normal priced items, only this Saturday!</em></p>
<p>Eh, I have no clue what those Red Ball Products are&#8230; nor willing to visit the store just to see if those happens to be something interesting stuff I want to buy. So, how about if the message would been something like this:</p>
<p><em>Now all Red Ball Products are on sale! 20% off on all normal priced items, only this Saturday! More info about Red Ball Product&#8217;s: http://domain/rbpad</em></p>
<p>And just by clicking the link in received SMS message I could have easily learned about what the heck are Red Ball Products and other info, perhaps other offers too.</p>
<p>In November 17 <a title="IAB" href="http://www.iabuk.net/" target="_blank">Internet Advertising Bureau</a> (IAB) released a research results done in UK amongst the senior (ad, digital marketing etc.) agency representatives. Whoa, 95% of digital (marketing) budgets include mobile, too!!! Gee, that&#8217;s great number&#8230; do we see even more great text messages?</p>
<p>Same research revealed that most of the mobile (marketing) campaigns have not been planned by mobile specialists (in 2008 only 32% of agencies had mobile specialists, in 2009 52%). So, no wonder that plain text message is still the thing, media and channel when agencies plan their mobile marketing activities&#8230;</p>
<p>But things are moving to right direction, even slowly. Even here in Finland we have seen with some companies and agencies that they do want to do more, use that personal channel of mobile phones much more effective ways. And those agencies will be front runners when mobile internet will became more mainstream media, also for marketing and interaction, not just for consuming content, like reading the news.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.mfabrik.com/2009/11/23/do-you-really-think-160-chars-tells-the-story/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Installing Python Imaging Library (PIL) under virtualenv or buildout</title>
		<link>http://blog.mfabrik.com/2009/11/19/installing-python-imaging-library-pil-under-virtualenv-or-buildout/</link>
		<comments>http://blog.mfabrik.com/2009/11/19/installing-python-imaging-library-pil-under-virtualenv-or-buildout/#comments</comments>
		<pubDate>Thu, 19 Nov 2009 20:58:16 +0000</pubDate>
		<dc:creator>Mikko Ohtamaa</dc:creator>
				<category><![CDATA[plone]]></category>
		<category><![CDATA[python]]></category>
		<category><![CDATA[technology]]></category>
		<category><![CDATA[buildout]]></category>
		<category><![CDATA[pil]]></category>
		<category><![CDATA[satchmo]]></category>
		<category><![CDATA[site packages]]></category>
		<category><![CDATA[virtualenv]]></category>

		<guid isPermaLink="false">http://blog.twinapex.fi/?p=349</guid>
		<description><![CDATA[I have greatly struggled to have PIL library support in isolated Python environments like virtualenv &#8211;no-site-packages.
For example, when installing Satchmo shop under virtualenv:

../bin/clonesatchmo.pyhe Python Imaging Library is not installed. Install from your distribution binaries.

../bin/clonesatchmo.py
The Python Imaging Library is not installed. Install from your distribution binaries.
Though it clearly is there, installed by easy_install PIL command:
ls ../lib/python2.5/site-packages/PIL-1.1.7-py2.5-linux-x86_64.egg
ArgImagePlugin.py	 [...]]]></description>
			<content:encoded><![CDATA[<p>I have greatly struggled to have PIL library support in isolated Python environments like virtualenv &#8211;no-site-packages.</p>
<p>For example, when installing <a href="http://www.satchmoproject.com/">Satchmo</a> shop under virtualenv:</p>
<pre>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">../bin/clonesatchmo.pyhe Python Imaging Library is not installed. Install from your distribution binaries.</div>

../bin/clonesatchmo.py
The Python Imaging Library is not installed. Install from your distribution binaries.</pre>
<p>Though it clearly is there, installed by <em>easy_install PIL </em>command:</p>
<pre>ls ../lib/python2.5/site-packages/PIL-1.1.7-py2.5-linux-x86_64.egg
ArgImagePlugin.py	 ExifTags.py		  GimpGradientFile.pyc...</pre>
<p>Does anyone know if this problem is with PIL itself, eggified PIL or something else?</p>
<p>In any case, there is an easy workaround: use system-wide PIL (sudo apt-get install python-imaging) and symlink PIL from your site-wide installation under the isolated Python environment:</p>
<pre>(satchmo-py25)mulli% pwd
/srv/plone/mmaspecial/satchmo-py25/lib/python2.5/site-packages
(satchmo-py25)mulli% ln -s /usr/lib/python2.4/PIL .</pre>
<div>That works for now, but I&#8217;d like to learn how to make virtualenv and buildout install PIL egg bullet-proof way.</div>
]]></content:encoded>
			<wfw:commentRss>http://blog.mfabrik.com/2009/11/19/installing-python-imaging-library-pil-under-virtualenv-or-buildout/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
	</channel>
</rss>
