<?xml version="1.0" encoding="utf-8"?>
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" 
         xmlns:dc="http://purl.org/dc/elements/1.1/"
         xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
         xmlns:rss="http://purl.org/rss/1.0/"
         xmlns:content="http://purl.org/rss/1.0/modules/content/">
    <rss:channel rdf:about="http://jorgenmodin.net/index_html">

        <rss:title>jorgenmodin.net - feed.rdf</rss:title>
        <rss:link>http://jorgenmodin.net/index_html</rss:link>

        
        <rss:description>jorgenmodin.net RSS 1.0 feed.</rss:description>

        <rss:image rdf:resource="http://jorgenmodin.net/logo.jpg" />

        <sy:updateperiod>daily</sy:updateperiod>
        <sy:updatefrequency>1</sy:updatefrequency>
        

        <rss:items>
            <rdf:seq>
                
                
                <rdf:li rdf:resource="http://jorgenmodin.net/index_html/archive/2010/03/06/archetypesschemaextender-does-not-create-getters-and-setters-for-fields" />
                
                
                <rdf:li rdf:resource="http://jorgenmodin.net/index_html/archive/2010/03/01/plone-training-in-london-may-4-6" />
                
                
                <rdf:li rdf:resource="http://jorgenmodin.net/index_html/archive/2010/03/01/how-to-use-edge-side-includes-esi--with-varnish-in-plone" />
                
                
                <rdf:li rdf:resource="http://jorgenmodin.net/index_html/archive/2010/02/27/making-money-and-helping-by-investing-in-africa" />
                
                
                <rdf:li rdf:resource="http://jorgenmodin.net/index_html/archive/2010/02/18/switcha-ver-en-fil-till-branch-i-subversion" />
                
                
                <rdf:li rdf:resource="http://jorgenmodin.net/index_html/archive/2010/02/13/lnk---eurotopics---nyhetsbevakning-av-vad-som-skrivs-i-europeiska-tidningar-i-kompakt-format" />
                
                
                <rdf:li rdf:resource="http://jorgenmodin.net/index_html/archive/2010/02/13/recension-musik-av-ricardo-lemvo" />
                
                
                <rdf:li rdf:resource="http://jorgenmodin.net/index_html/archive/2010/02/13/salsarytm-frklarad-med-hjlp-av-java" />
                
                
                <rdf:li rdf:resource="http://jorgenmodin.net/index_html/archive/2010/02/11/man-in-the-middle-attack-mot-alla-kortlsare-med-pin" />
                
                
                <rdf:li rdf:resource="http://jorgenmodin.net/index_html/archive/2010/02/09/run-a-plone-zexp-imported-into-a-fresh-datafs" />
                
                
                <rdf:li rdf:resource="http://jorgenmodin.net/index_html/archive/2010/02/09/make-rdiff-backup-use-a-different-port-for-ssh" />
                
                
                <rdf:li rdf:resource="http://jorgenmodin.net/index_html/archive/2010/02/09/get-spotify-working-with-pulseaudio-on-ubuntu-linux" />
                
                
                <rdf:li rdf:resource="http://jorgenmodin.net/index_html/archive/2010/02/08/encrypted-and-preconfigured-vnc" />
                
                
                <rdf:li rdf:resource="http://jorgenmodin.net/index_html/archive/2010/01/30/hur-mycket-ekonomisk-tillvxt-r-bara-kad-srbarhet" />
                
                
                <rdf:li rdf:resource="http://jorgenmodin.net/index_html/archive/2010/01/29/en-ddsruna-skriven-av-en-dd-man" />
                
                
                <rdf:li rdf:resource="http://jorgenmodin.net/index_html/archive/2010/01/28/xpra---vnc-for-individual-windows-on-linux-x" />
                
                
                <rdf:li rdf:resource="http://jorgenmodin.net/index_html/archive/2010/01/26/gross-varnar-mnga-i-lnder-ligger-illa-till-finansiellt" />
                
                
                <rdf:li rdf:resource="http://jorgenmodin.net/index_html/archive/2010/01/25/buss-och-lokaltgsresenrer-njda-men-mindre-n-frut" />
                
                
                <rdf:li rdf:resource="http://jorgenmodin.net/index_html/archive/2010/01/24/avlyssning-byggs-in-i-telefon--och-e-postsystem-ibland-oklart-vem-som-anvnder-dem" />
                
                
                <rdf:li rdf:resource="http://jorgenmodin.net/index_html/archive/2010/01/18/buffalo-buffalo-buffalo-buffalo-buffalo-buffalo-buffalo-buffalo" />
                
                
                <rdf:li rdf:resource="http://jorgenmodin.net/index_html/archive/2010/01/17/brian-eno-om-slutet-p-musikindustri-eran" />
                
                
                <rdf:li rdf:resource="http://jorgenmodin.net/index_html/archive/2010/01/12/-8c-och-dimma" />
                
                
                <rdf:li rdf:resource="http://jorgenmodin.net/index_html/archive/2010/01/11/recension-mefisto-p-stockholms-stadsteater" />
                
                
                <rdf:li rdf:resource="http://jorgenmodin.net/index_html/archive/2010/01/11/review-burnt-by-the-sun-at-the-national-theatre-london-uk" />
                
                
                <rdf:li rdf:resource="http://jorgenmodin.net/index_html/archive/2010/01/06/ntligen-klaus-manns-mefisto-p-stockholms-stadsteater" />
                
                
                <rdf:li rdf:resource="http://jorgenmodin.net/index_html/archive/2010/01/05/personnummer-krvs-fr-att-ringa-nordea-om-ppettider" />
                
                
                <rdf:li rdf:resource="http://jorgenmodin.net/index_html/archive/2010/01/05/command-line-to-convert-flv-to-3gp-with-ffmpeg" />
                
                
                <rdf:li rdf:resource="http://jorgenmodin.net/index_html/archive/2010/01/04/midentify---a-script-that-gives-you-information-on-a-video-file" />
                
                
                <rdf:li rdf:resource="http://jorgenmodin.net/index_html/archive/2010/01/04/guide-to-working-with-cinelerra" />
                
                
                <rdf:li rdf:resource="http://jorgenmodin.net/index_html/archive/2010/01/02/get-spotify-working-on-ubuntu-910-on-vostro-1015" />
                
                
                <rdf:li rdf:resource="http://jorgenmodin.net/index_html/archive/2010/01/01/hd-video-from-canon-hf200-on-ubuntu-linux---convert-and-play" />
                
                
                <rdf:li rdf:resource="http://jorgenmodin.net/index_html/archive/2010/01/01/quote-of-the-day---churchillian-drift" />
                
                
                <rdf:li rdf:resource="http://jorgenmodin.net/index_html/archive/2009/12/30/lnk---tnkvrd-artikel-av-bruce-schneier-p-cnncom" />
                
                
                <rdf:li rdf:resource="http://jorgenmodin.net/index_html/archive/2009/12/28/new-years-python-meme" />
                
                
                <rdf:li rdf:resource="http://jorgenmodin.net/index_html/archive/2009/12/27/link---gui-toolkits-that-can-be-integrated-with-twisted" />
                
                
                <rdf:li rdf:resource="http://jorgenmodin.net/index_html/archive/2009/12/26/list-of-open-source-dlnaupnp-av-software-devices" />
                
                
                <rdf:li rdf:resource="http://jorgenmodin.net/index_html/archive/2009/12/23/speaker-muting-in-vostro-1015-to-work-with-kernel-2633" />
                
                
                <rdf:li rdf:resource="http://jorgenmodin.net/index_html/archive/2009/12/21/non-nokia-phone-on-maemo-platform-has-arrived" />
                
                
                <rdf:li rdf:resource="http://jorgenmodin.net/index_html/archive/2009/12/21/link---coherence---a-python-framework-for-dlna" />
                
                
                <rdf:li rdf:resource="http://jorgenmodin.net/index_html/archive/2009/12/19/link---python-vnc-viewer-a-vnc-viewer-written-python" />
                
                
            </rdf:seq>
        </rss:items>
    </rss:channel>

    <rss:image rdf:about="http://jorgenmodin.net/logo.jpg">
        <rss:title>jorgenmodin.net - feed.rdf</rss:title>
        <rss:link>http://jorgenmodin.net/index_html</rss:link>
        <rss:url>http://jorgenmodin.net/logo.jpg</rss:url>
    </rss:image>

    
    
    
    <rss:item rdf:about="http://jorgenmodin.net/index_html/archive/2010/03/06/archetypesschemaextender-does-not-create-getters-and-setters-for-fields">
        <rss:title>Archetypes.schemaextender does not create getters and setters for fields</rss:title>
        <rss:link>http://jorgenmodin.net/index_html/archive/2010/03/06/archetypesschemaextender-does-not-create-getters-and-setters-for-fields</rss:link>       
        



        <content:encoded><![CDATA[<p>So if you want to access a field's value you have to do it through the content item's schema:</p>
<pre>obj.Schema()['fieldname'].get(obj)</pre>
<p>In templates (or more actually, views), this means doing it from the python file in a Zope view.</p>
<blockquote>Nein, ich habe gesagt, dass man mit der &quot;&quot;&quot; &quot;get&quot; Methode des fields &quot;&quot;&quot; an die Daten kommt -&gt; obj.Schema()['fieldname'].get(obj) </blockquote>
<p><br />
<br />
Läs mer: <a href="https://mail.dzug.org/pipermail/zope/2009-June/007598.html">[dzug-zope] Probleme mit archetypes.schemaextender und ReferenceField</a></p> 
  
    
  
  

  

]]></content:encoded>



        
        <dc:date>2010-03-06T01:00+00:00</dc:date>
        <dc:modified>2010-03-06 01:01:20</dc:modified>
        
        <dc:creator>jorgen</dc:creator>
        
    </rss:item>
    
    
    
    
    <rss:item rdf:about="http://jorgenmodin.net/index_html/archive/2010/03/01/plone-training-in-london-may-4-6">
        <rss:title>Plone training in London May 4-6</rss:title>
        <rss:link>http://jorgenmodin.net/index_html/archive/2010/03/01/plone-training-in-london-may-4-6</rss:link>       
        



        <content:encoded><![CDATA[<p>We've been doing Plone Training in London since 2005, but last autumn we were so swamped with consulting work back home that we could not make it. However we now have scheduled <a href="http://www.webworks.se/courses/may-4-6-plone-training-2010-london-uk">a course for May in London</a>. There is going to be more about buildout, subversion and a preview of Plone 4, otherwise steady as she goes.</p> 
  
    
  
  
<span>
                  <i><a href="http://intressant.se/intressant">Taggar p&aring; intressant.se:</a>

      
          <a rel="tag"
             href="http://bloggar.se/om/forplanetplone">forplanetplone</a>,
      </i>
      <br><br>
   </span>
  

]]></content:encoded>



        
        <dc:date>2010-03-01T07:51+00:00</dc:date>
        <dc:modified>2010-03-01 07:51:53</dc:modified>
        
        <dc:creator>jorgen</dc:creator>
        
        
        <dc:subject>forplanetplone</dc:subject>
        
    </rss:item>
    
    
    
    
    <rss:item rdf:about="http://jorgenmodin.net/index_html/archive/2010/03/01/how-to-use-edge-side-includes-esi--with-varnish-in-plone">
        <rss:title>How to use Edge Side Includes (ESI)  with Varnish in Plone</rss:title>
        <rss:link>http://jorgenmodin.net/index_html/archive/2010/03/01/how-to-use-edge-side-includes-esi--with-varnish-in-plone</rss:link>       
        



        <content:encoded><![CDATA[<p>With ESI it is possible to cache the more or less static parts of Plone's pages in Varnish, and &quot;fold in&quot; the dynamic stuff per request. This can in some use cases increase performance massively.</p>
<p>Putting Varnish in front of Plone is a common way to speed up things, and can lead to insane speed increases. However, Plone and Zope are dynamic and tighly coupled frameworks, and it is a bit of a shame to have it serve out essentially static pages. Even if you use something intelligent like CacheSetup (Cache fu), if you make a change that affects a portlet, e.g. &quot;recent comments&quot;, you will need to invalidate all pages where that portlet is shown.</p>
<p>Varnish however has support for caching only <span style="font-style: italic;">parts</span> of pages and then fetch the dynamic parts and combine with the static stuff, before serving it out to the visitor. Can Plone be used with it? Yes it can, with some hoop jumping.</p>
<p>The technology of combing pages on the fly is called Edge Side Includes (ESI) and Varnish supports part of the standard. Here is how it works in Varnish:</p>
<p>If you put in a special xml fragment (stanza) like this in your html output:</p>
<pre>&lt;esi:include src=&quot;/site/@@left_column&quot;/&gt;</pre>
<p>...Varnish will fetch the contents of that url (http://yoursite/site/@@left_column), and include it, and replace the stanza with what it finds at that url.</p>
<h3>The 123-567.net hobby project</h3>
<p>My current hobby project is a salsa dancing web site called <a href="http://123-567.net/">123-567.net</a>. It allows visitors to put together their own salsa dancing routine from short fragments (&quot;Moves&quot;). Moves are connected through positions. It is currently running on our hobby server on the office ADSL connection.</p>
<p>In the right hand column there is a portlet that keeps track of each visitor's routine as it is being built up. No login is required but a captcha tries to keep the salsa dancing away from robots (who suck at dancing anyway, currently, although this may change).</p>
<p>There is one big honking page that lists all moves, and traverses a lot of archetypes references to compute and display all possible moves from each move (and how many moves in its turn can follow each such move). This page basically manages to wake up and excercise every single content object on the site, sometimes multiple times, and the page takes 3-5 seconds to render on a small server. The page cannot be made static, since the contents of the routine portlet will be different for each visitor that uses it.</p>
<p>There are multiple ways of optimizing this page while keeping the portlet dynamic, from RAM-caching with memoize (which brings down the render time of the page to 0.2 s), to using KSS, to using the catalog exclusively for calculating moves.</p>
<p>Memoize seemed like a good solution, but since there are also videos on the site, and I did not want to tie up a Plone process serving each one, I still needed some extra oomph. Varnish should be able to cache the videos and offload Zope's precious processes.</p>
<h3>Making the portlet render with ESI</h3>
<p>It should be enough to instead of showing the portlet on the page, just show a placeholder for it:</p>
<pre>&lt;esi:include src=&quot;/site/@@left_column&quot;/&gt;</pre>
<p>..and then construct a view by the name &quot;@@left_column&quot; and show the portlet in that view.</p>
<p>Varnish's behavior is controlled by a configuration file, normally called varnish.vcl. The configuration file basically deals with:</p>
<ul>
    <li>What it should do with requests coming in</li>
    <li>What to do with responses going out</li>
</ul>
<p>The part of the vcl file that deals with responses is a subroutine called vcl_fetch. Here is a simplified part of that code for 123-567.net, with esi enabled:</p>
<p>&nbsp;</p>
<pre>sub vcl_fetch {<br /><br />&nbsp;&nbsp;&nbsp; if (req.url == &quot;/site/@@left_column&quot;) {<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; pass;<br />&nbsp;&nbsp;&nbsp; }<br />&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp; if (obj.http.Content-Type ~ &quot;html&quot;) {<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <span style="font-weight: bold;">esi</span>;&nbsp; /* Do ESI processing */<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; unset obj.http.set-cookie;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; set obj.ttl = 24 h;<br /><br />&nbsp;&nbsp;&nbsp; }</pre>
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</p>
<p>The esi directive as framed above enables esi parsing and caching of all html pages, but first the preceding if clause sees to that the @@left_column is passed through without caching (&quot;pass&quot;).</p>
<p>The @@left_column view needs to be constructed, and since the portlet is a proper portlet, I could register its page template file also as a viewlet, but a quicker and dirtier way (the &quot;customer&quot; of this project, i.e. me, is very tolerant of whims and shortcuts :-) is to just put in a the entire portlet renderer into the view.</p>
<pre>&lt;metal:block use-macro=&quot;here/global_defines/macros/defines&quot;/&gt;<br /><br />&lt;tal:block replace=&quot;structure provider:plone.leftcolumn&quot; /&gt;</pre>
<p>&nbsp;</p>
<p>Come to think of it, that may not be quicker... Anyway, now the site renders the page statically but puts in the portlet in varnish. We are down to 50 ms rendering time from 5s rendering time, according to Apache's ab tool (with an empty portlet).</p>
<p>The portlet is context free, it renders the same on all pages. It uses the Zope (not Plone) session machinery and is essentialy independent of Plone, and should render very quickly, if put directly in the view instead of with the above provider stanza. For portlets that need context, one could just put in a cgi parameter in the esi stanza, with the path from the calling page, and then use that to recreate the context on the receiving end.</p>
<h3>But now the site is broken without Varnish...</h3>
<p>However if we view the site without Varnish the portlet will never materialize on the pages. There will just be stupid esi directive sitting there. I believe it is important that the site can be used without Varnish.</p>
<p>The obvious solution would be this:</p>
<pre>&lt;esi:include src=&quot;/site/@@left_column&quot;&gt;<br />&lt;--portlet goes here--&gt;<br />&lt;/esi&gt;</pre>
<p>One would hope that Varnish would replace the entire esi element. However Varnish is not zpt, and if you put in the above code, Varnish will replace the <span style="font-style: italic;">start</span> tag of the esi element with the portlet, and happily let the rest of the code stay on the page. Viewed through Varnish you would now have two portlets on the page (of which one portlet is stale).</p>
<p>So we need a way for the portlet to &quot;know&quot;:</p>
<ul>
    <li>If it is behind Vanish</li>
    <li>If Varnish has any intentions of caching it</li>
</ul>
<p>It seems you can find this out from the Plone side! Analyzing the contents of the request variable shows that there is an HTTP_X_VARNISH environment variable which will only be present if varnish is in front. That takes care of displaying the portlet when you are directly accessing Zope. But when behind Varnish, how do we now if we are on the page (ouput ESI tag) or on the specially crafted view (output portlet)? One way is to check for path. The specially crafted view has in its id the string &quot;left_column&quot;.&nbsp; Quickly and dirtily we can do it in the page template:</p>
<pre>&lt;tal:varnish define= &quot;behind_varnish <br />python:context.REQUEST.get('HTTP_X_VARNISH',False);<br />not_cached_in_varnish python: 'left_column' in context.REQUEST['URL0']&quot;&gt;<br /><br />&lt;esi:include src=&quot;/site/@@left_column&quot; <br />tal:condition=<br />&quot;python:behind_varnish and not not_cached_in_varnish&quot;/&gt;<br /><br />&lt;tal:portlet condition=<br />&quot;python: not behind_varnish or not_cached_in_varnish&quot;&gt;<br />[...]</pre>
<h2>Installing varnish</h2>
<p>You can do it with a <a href="http://pypi.python.org/pypi/plone.recipe.varnish/1.0.2">buildout recipe</a>.</p>
<h2>Monitoring varnish</h2>
<p>You can use varnishtop and varnishhist, which probably comes if you install Varnish centrally on your machine. However for monitoring the buildout based Varnish we need to specify its name. The buildout recipe does not allow this and I do not think it would work even if it were possible. Instead of the name we supply the path to the name parameter (&quot;-n&quot;), giving the path to to where the buildout's Varnish .vsh directory is.</p>
<pre>varnishttop -n absolutepath/to/buildout/parts/varnish-build/var/varnish/</pre>
<p>..and then tab complete to the lonely dir in there.</p>
<p>&nbsp;</p> 
  
    
  
  
<span>
                  <i><a href="http://intressant.se/intressant">Taggar p&aring; intressant.se:</a>

      
          <a rel="tag"
             href="http://bloggar.se/om/forplanetplone">forplanetplone</a>,
      </i>
      <br><br>
   </span>
  

]]></content:encoded>



        
        <dc:date>2010-03-01T07:50+00:00</dc:date>
        <dc:modified>2010-03-01 07:50:55</dc:modified>
        
        <dc:creator>jorgen</dc:creator>
        
        
        <dc:subject>forplanetplone</dc:subject>
        
    </rss:item>
    
    
    
    
    <rss:item rdf:about="http://jorgenmodin.net/index_html/archive/2010/02/27/making-money-and-helping-by-investing-in-africa">
        <rss:title>Making money and helping by investing in Africa</rss:title>
        <rss:link>http://jorgenmodin.net/index_html/archive/2010/02/27/making-money-and-helping-by-investing-in-africa</rss:link>       
        



        <content:encoded><![CDATA[<p>The world economy is shifting away a bit from the &quot;first world&quot;, towards countries like China and Brazil, but poorer places in Africa south of Sahara are also starting to get more attention and are deemed to have more potential for growth.</p>
<p>At the same time there is a rather painful insight among many idealists in the developed world that development aid hasn't worked and that in may cases foreign aid has possibly destroyed more than it has helped. For liberals (freedom of the individual, free market) the obvious solution is free trade and strong institutions, and a number of liberals have taken it on themselves to pressure EU and other trading blocks to work in that direction. The results of this work proceeds at a glacial pace.</p>
<p>For socialists these trend towards deregulation and free trade smacks of oppression. I have lost count of the number of debates with socialists I have had about this.</p>
<p>However, if you subscribe to the more liberal (and more correct dare I say) world view of freedom to work and freedom to trade,&nbsp; what can you do as an individual?</p>
<p>The blogger behind <a href="http://hotelivory.wordpress.com">Hotel Ivory</a> has taken upon himself (according the blog the blogger wishes to remain anonymous) to in a small way reach the goals of:</p>
<ul>
    <li>Living the good life</li>
</ul>
<ul>
    <li>Do business in a country in west Africa with a violent history and somewhat problematic institutional and legal circumstances.</li>
</ul>
<p>These goals are hardly unique to the blogger, but it is interesting to follow the analysis and decisions that are taken from a business sense but also liberal perspective. So far the blog has dealt with:</p>
<ul>
    <li><a href="http://hotelivory.wordpress.com/2010/02/23/the-issue-of-trust/">Whom can you trust?</a></li>
    <li><a href="http://hotelivory.wordpress.com/2010/02/20/the-daily-rental-mystery/">Should you invest </a>in the <a href="http://hotelivory.wordpress.com/2010/02/19/no-grunge/">finer areas or more middle-of-the-road areas</a>?</li>
    <li><a href="http://hotelivory.wordpress.com/2010/02/16/features-of-the-real-estate-market-in-the-ivory-coast/">Analysis of the rental situation in Abidjan</a></li>
</ul>
<p>I believe that if thousands (if not millions) of people started doing stuff like this, we should see some pretty strong devlopment all over the world. Problem being of course that these enterprises are fraught with risk. In the nineties, the currency used in the Ivory Coast was devalued by 50%. However as soon as a middle class starts to entrench itself, the virtues of good governance tend to make it into the seats of power. There is just a need to reach that tipping point.</p> 
  
    
  
  

  

]]></content:encoded>



        
        <dc:date>2010-02-27T13:01+00:00</dc:date>
        <dc:modified>2010-02-27 13:06:33</dc:modified>
        
        <dc:creator>jorgen</dc:creator>
        
    </rss:item>
    
    
    
    
    <rss:item rdf:about="http://jorgenmodin.net/index_html/archive/2010/02/18/switcha-ver-en-fil-till-branch-i-subversion">
        <rss:title>Switcha över en fil till branch i subversion</rss:title>
        <rss:link>http://jorgenmodin.net/index_html/archive/2010/02/18/switcha-ver-en-fil-till-branch-i-subversion</rss:link>       
        



        <content:encoded><![CDATA[<p>1) Skapa en branch, t ex genom att skapa ett bibliotek någonstans på hårddisken och sedan importera det:<br />
<br />
<span style="font-family: courier new,monospace;">jorgen@computer:~$ mkdir jm20091111</span><br style="font-family: courier new,monospace;" />
<span style="font-family: courier new,monospace;">jorgen@computer:~$ <span class="il">svn</span> import jm20091111 https://<span class="il">svn</span>.someserver/some.project/branches/<wbr></wbr>jm20091111</span><br />
<br />
Committed revision 2683.<br />
<br />
2) Gå till det bibliotek någonstans din utcheckade trunk, där filen som man vill jobba på i en branch ligger, Och kopiera över filen till branchen:<br />
<span style="font-family: courier new,monospace;"><span class="il">svn</span> cp trickyModule.py https://<span class="il">svn</span>.someserver/some.<wbr></wbr>project/branches/<wbr></wbr>jm20091111/</span><br />
<br />
3) Filen på disken på din dator är nu fortfarande i trunk, men man kan switcha över till kopian. Normalt jobbar <span class="il">switch</span> på ett helt bibliotek, men man kan lägga på ett optional andra argument om man bara vill switcha en fil:<br />
<br />
<span style="font-family: courier new,monospace;"><span class="il">svn</span> <span class="il">switch</span> https://<span class="il">svn</span>.someserver/some.<wbr></wbr>project/branches/<wbr></wbr>jm20091111/trickyModule.py trickyModule.py</span><br />
<br />
4) Kolla status:<br />
<span style="font-family: courier new,monospace;"><span class="il">svn</span> st</span><br style="font-family: courier new,monospace;" />
<span style="font-family: courier new,monospace;">&nbsp; S&nbsp;&nbsp; trickyModule.py</span><br />
<br />
S betyder väl &quot;switched&quot; får man gissa. Alla ändringar i denna fil blir nu på commit skickade till den nya branchen (har kollat)</p> 
  
    
  
  

  

]]></content:encoded>



        
        <dc:date>2010-02-18T06:45+00:00</dc:date>
        <dc:modified>2010-02-18 06:46:47</dc:modified>
        
        <dc:creator>jorgen</dc:creator>
        
    </rss:item>
    
    
    
    
    <rss:item rdf:about="http://jorgenmodin.net/index_html/archive/2010/02/13/lnk---eurotopics---nyhetsbevakning-av-vad-som-skrivs-i-europeiska-tidningar-i-kompakt-format">
        <rss:title>Länk - Eurotopics - nyhetsbevakning av vad som skrivs i europeiska tidningar i kompakt format</rss:title>
        <rss:link>http://jorgenmodin.net/index_html/archive/2010/02/13/lnk---eurotopics---nyhetsbevakning-av-vad-som-skrivs-i-europeiska-tidningar-i-kompakt-format</rss:link>       
        



        <content:encoded><![CDATA[<p>&nbsp;</p>
<blockquote>Press review |</blockquote>
<p><br />
<br />
Läs mer: <a href="http://www.eurotopics.net/en/presseschau/aktuell.html">euro|topics - Press review</a></p> 
  
    
  
  

  

]]></content:encoded>



        
        <dc:date>2010-02-13T18:50+00:00</dc:date>
        <dc:modified>2010-02-13 18:50:04</dc:modified>
        
        <dc:creator>jorgen</dc:creator>
        
    </rss:item>
    
    
    
    
    <rss:item rdf:about="http://jorgenmodin.net/index_html/archive/2010/02/13/recension-musik-av-ricardo-lemvo">
        <rss:title>Recension: Musik av Ricardo Lemvo</rss:title>
        <rss:link>http://jorgenmodin.net/index_html/archive/2010/02/13/recension-musik-av-ricardo-lemvo</rss:link>       
        



        <content:encoded><![CDATA[<p>Beväpnad endast med ett Spotify-konto och med skraltig kunskap om salsamusikvärldens artister, var det dags att sätta ihop en kollektion med dansant salsamusik. Efter mer eller mindre kreativa sökningar och ett antal genomlyssningar hade dammet lagt sig och av de 40 eller så låtar jag hade valt ut var hälften av Ricardo Lemvo och hans band Makina Loca.</p>
<p>Lemvo gör salsamusik som det är omöjligt att inte bli glad av. Musiken är välproducerad och hela bandet har ett sinne för rytm som gör att en gedigen, närmast muskulös, rytm flödar genom låtarna. Lemvos röst har en tröghet som om hela kroppen måste röra sig i position för att frambringa fraseringen; det är så uppenbart musik att dansa till. När blåssektion kommer in är den snyggt mutad, vilket förutom att det är väldigt vackert gör att man slipper få så hårda ljudstötar från högtalarna på dansgolvet, när blåset kommer in.</p>
<p>Den första låt jag hörde var <a href="http://open.spotify.com/track/6RrPNGP67F2mH28EPxqmGY">Africa Havana Paris</a>, som fortfarande efter några dagar är en favorit. Lemvos musik är&nbsp; afrikainfluerad (Lemvo är från DR Kongo med Angolansk bakgrund och bor i Los Angeles i USA), men hans passion är uppenbart kubansk musik.</p>
<p>En ännu mer uptempo-låt är <a href="http://open.spotify.com/track/0Z99mAw0dv4BxJpVCsc1Ig">Kasongo Boogaloo</a>, och en lugnare är <a href="http://open.spotify.com/track/28PMoKoPEz3yDOboYeBseG">Serenata Angolano</a>. Lemvo sjunger på en måängd språk. Spanska naturligtvis, men även portugisiska, kikongo och på senaste skivan tydligen även på turkiska.<br />
<br />
<blockquote>A long-time fan of Cuban music and traditional salsa as embodied by Johnny Pacheco, Lemvo moved to the USA at age 15 to pursue his studies[1]. His mixture of languages (Spanish, Lingala, Kikongo, French, Portuguese and English) and his keen sense of rhythm made him a favorite of dancers throughout North America, Europe, Latin America, and Africa.</blockquote><br />
<br />
Läs mer: <a href="http://en.wikipedia.org/wiki/Ricardo_Lemvo">Ricardo Lemvo - Wikipedia, the free encyclopedia</a></p> 
  
    
  
  
<span>
                  <i><a href="http://intressant.se/intressant">Taggar p&aring; intressant.se:</a>

      
          <a rel="tag"
             href="http://bloggar.se/om/Ricardo%20Lemvo">Ricardo Lemvo</a>,
      </i>
      <br><br>
   </span>
  

]]></content:encoded>



        
        <dc:date>2010-02-13T16:29+00:00</dc:date>
        <dc:modified>2010-02-13 16:29:39</dc:modified>
        
        <dc:creator>jorgen</dc:creator>
        
        
        <dc:subject>Ricardo Lemvo</dc:subject>
        
    </rss:item>
    
    
    
    
    <rss:item rdf:about="http://jorgenmodin.net/index_html/archive/2010/02/13/salsarytm-frklarad-med-hjlp-av-java">
        <rss:title>Salsarytm förklarad med hjälp av Java</rss:title>
        <rss:link>http://jorgenmodin.net/index_html/archive/2010/02/13/salsarytm-frklarad-med-hjlp-av-java</rss:link>       
        



        <content:encoded><![CDATA[<p>En sida där man kan examinera och slå av och på clave, conga osv, och lyssna på rersultatet</p>
<blockquote>Salsa music has a complex rhythm. Understanding the rhythm can help you to find the 1 beat or find the 2 beat so that you know when to start dancing. On this page I introduce the most important salsa percussion instruments and explain their common rhythms. You can listen to each instrument as you read about it or combine them in the interactive rhythm player at the end. Each rhythm is &quot;counted in&quot; by six beats to give you the speed. </blockquote>
<p><br />
<br />
Läs mer: <a href="http://scphillips.com/dance/salsarhythm.html#player">Salsa Rhythm</a></p> 
  
    
  
  
<span>
                  <i><a href="http://intressant.se/intressant">Taggar p&aring; intressant.se:</a>

      
          <a rel="tag" href="http://bloggar.se/om/salsa">salsa</a>,
      </i>
      <br><br>
   </span>
  

]]></content:encoded>



        
        <dc:date>2010-02-13T01:53+00:00</dc:date>
        <dc:modified>2010-02-13 01:53:57</dc:modified>
        
        <dc:creator>jorgen</dc:creator>
        
        
        <dc:subject>salsa</dc:subject>
        
    </rss:item>
    
    
    
    
    <rss:item rdf:about="http://jorgenmodin.net/index_html/archive/2010/02/11/man-in-the-middle-attack-mot-alla-kortlsare-med-pin">
        <rss:title>Man-in-the-middle-attack mot alla kortläsare med PIN</rss:title>
        <rss:link>http://jorgenmodin.net/index_html/archive/2010/02/11/man-in-the-middle-attack-mot-alla-kortlsare-med-pin</rss:link>       
        



        <content:encoded><![CDATA[<p>Forskare vid universitet i Cambridge har lyckats med att auktorisera köp med 6 olika kreditkort genom att interceptera kommunikationen mellan kort och terminal på ett sådant sätt att terminalen tror att transaktionen autentiserats med korrekt PIN-kod, fast slumpmässig PIN-kod använts.</p>
<p>Felet tycks bero på att man inte särkiljer mellan olika autentiseringssätt, och en man in the middle kan därför blanda så att terminalen tror att en högre autentiseringsgrad (PIN) har använts.</p>
<blockquote>In particular, the terminal can record that a PIN verification has taken place, while the card itself receives a verification message that does not specify that a PIN has been used. The resultant authorisation by the terminal is acc</blockquote>
<p><br />
Läs mer: <a href="http://news.zdnet.co.uk/security/0,1000000189,40022674,00.htm">Chip and PIN is broken, say researchers - ZDNet.co.uk</a></p>
<p><br />
Bra förklaring här:&nbsp; <a href="http://resources.zdnet.co.uk/articles/0,1000001991,40022669,00.htm">How the Cambridge chip and PIN attack works - at ZDNet.co.uk</a></p> 
  
    
  
  
<span>
                  <i><a href="http://intressant.se/intressant">Taggar p&aring; intressant.se:</a>

      
          <a rel="tag"
             href="http://bloggar.se/om/Kreditkort">Kreditkort</a>,
      </i>
      <br><br>
   </span>
  

]]></content:encoded>



        
        <dc:date>2010-02-11T23:15+00:00</dc:date>
        <dc:modified>2010-02-11 23:21:53</dc:modified>
        
        <dc:creator>jorgen</dc:creator>
        
        
        <dc:subject>Kreditkort</dc:subject>
        
    </rss:item>
    
    
    
    
    <rss:item rdf:about="http://jorgenmodin.net/index_html/archive/2010/02/09/run-a-plone-zexp-imported-into-a-fresh-datafs">
        <rss:title>Run a plone zexp imported into a fresh Data.fs</rss:title>
        <rss:link>http://jorgenmodin.net/index_html/archive/2010/02/09/run-a-plone-zexp-imported-into-a-fresh-datafs</rss:link>       
        



        <content:encoded><![CDATA[<p>Summary: You can't. The server will give an error. The trick is to create a bogus site in the new Zope server. This somehow modifies Zope, from what I have read on the Internet, the acl_users folder in the Zope root.</p>
<p>One of my hobby projects was not on our backup bandwagon, so when I accidentally corrupted Data.fs by overwriting it (the tar command is very picky it turns out about not mixing up source and destination file names) I was out of remedies. But luckily enough I had made a &quot;site.zexp&quot; a few days ago by exporting the site from within the Zope ZMI.</p>
<p>So, just delete the old Data.fs completely, start up the server and import the zexp. That works, but you cannot view any pages, you get <span style="font-family: Courier New,Courier;">AttributeError: getGroups </span>. Googling I found a posting by Andreas Jung. Jung doesn't explicitly say it but writes:</p>
<p style="margin-left: 40px;">Problem solved. The behavior is caused by the stupid expectation of Plone<br />
that the root acl_users folder having been replaced with its own<br />
implementation while creating a new site</p>
<p>...and from there it was possible to deduce that creating a new bogus site from within the ZMI should do the trick. And this can be done after the import.</p> 
  
    
  
  
<span>
                  <i><a href="http://intressant.se/intressant">Taggar p&aring; intressant.se:</a>

      
          <a rel="tag"
             href="http://bloggar.se/om/forplanetplone">forplanetplone</a>,
      </i>
      <br><br>
   </span>
  

]]></content:encoded>



        
        <dc:date>2010-02-09T22:43+00:00</dc:date>
        <dc:modified>2010-02-09 22:48:09</dc:modified>
        
        <dc:creator>jorgen</dc:creator>
        
        
        <dc:subject>forplanetplone</dc:subject>
        
    </rss:item>
    
    
    
    
    <rss:item rdf:about="http://jorgenmodin.net/index_html/archive/2010/02/09/make-rdiff-backup-use-a-different-port-for-ssh">
        <rss:title>Make rdiff-backup use a different port for ssh</rss:title>
        <rss:link>http://jorgenmodin.net/index_html/archive/2010/02/09/make-rdiff-backup-use-a-different-port-for-ssh</rss:link>       
        



        <content:encoded><![CDATA[<p>Summary:</p>
<pre>rdiff-backup --remote-schema &quot;ssh -C -p9222 %s rdiff-backup --server&quot;<br /> username@remoteserver::/path_to/filestobackup <br />/path_to/backedupfiles</pre>
<p>...worked for me, to backup a remote server via a non standard ssh port (9222 in the above example). Note the <span style="font-weight: bold;">double quotes</span> around the string following <span style="font-family: Courier New,Courier;">--remote-schema</span>. All examples I could find on the Internet used <span style="font-style: italic;">single</span> quotes, and using rdiff-backup 1.2.8 between two CentOS 5 machines, this did not work.</p> 
  
    
  
  
<span>
                  <i><a href="http://intressant.se/intressant">Taggar p&aring; intressant.se:</a>

      
          <a rel="tag"
             href="http://bloggar.se/om/rdiff-backup">rdiff-backup</a>,
      </i>
      <br><br>
   </span>
  

]]></content:encoded>



        
        <dc:date>2010-02-09T22:20+00:00</dc:date>
        <dc:modified>2010-02-09 22:21:47</dc:modified>
        
        <dc:creator>jorgen</dc:creator>
        
        
        <dc:subject>rdiff-backup</dc:subject>
        
    </rss:item>
    
    
    
    
    <rss:item rdf:about="http://jorgenmodin.net/index_html/archive/2010/02/09/get-spotify-working-with-pulseaudio-on-ubuntu-linux">
        <rss:title>Get Spotify working with PulseAudio on Ubuntu Linux</rss:title>
        <rss:link>http://jorgenmodin.net/index_html/archive/2010/02/09/get-spotify-working-with-pulseaudio-on-ubuntu-linux</rss:link>       
        



        <content:encoded><![CDATA[<p>I had problems getting Spotify to work under Ubuntu and Wine, with a Microsoft LifeChat LX-3000 headset. The sound chopped 2-3 times per second.</p>
<p>Using OSS and normal Wine worked fine with the internal sound card of the laptop, but not with the USB headset.</p>
<p>I found <a href="https://bugs.launchpad.net/ubuntu/+source/wine/+bug/371897">this discussion thread </a>and tried different remedies. The one that worked was Neil Wilson's fork of Wine, <a href="https://launchpad.net/%7Eneil-aldur/+archive/ppa">WinePulse</a>, with support for PulseAudio.<br />
<br />
<blockquote>You can update your system with unsupported packages from this untrusted PPA by adding ppa:neil-aldur/ppa to your system's Software Sources. Not using Ubuntu 9.10 (karmic)?</blockquote><br />
<br />
Läs mer: <a href="https://launchpad.net/%7Eneil-aldur/+archive/ppa">Release Packages : Neil Wilson</a></p> 
  
    
  
  
<span>
                  <i><a href="http://intressant.se/intressant">Taggar p&aring; intressant.se:</a>

      
          <a rel="tag" href="http://bloggar.se/om/Spotify">Spotify</a>,
      
      
          <a rel="tag" href="http://bloggar.se/om/WinePulse">WinePulse</a>,
      
      
          <a rel="tag" href="http://bloggar.se/om/Wine">Wine</a>,
      </i>
      <br><br>
   </span>
  

]]></content:encoded>



        
        <dc:date>2010-02-09T16:36+00:00</dc:date>
        <dc:modified>2010-02-09 16:36:55</dc:modified>
        
        <dc:creator>jorgen</dc:creator>
        
        
        <dc:subject>Spotify</dc:subject>
        
        
        <dc:subject>WinePulse</dc:subject>
        
        
        <dc:subject>Wine</dc:subject>
        
    </rss:item>
    
    
    
    
    <rss:item rdf:about="http://jorgenmodin.net/index_html/archive/2010/02/08/encrypted-and-preconfigured-vnc">
        <rss:title>Encrypted and preconfigured vnc</rss:title>
        <rss:link>http://jorgenmodin.net/index_html/archive/2010/02/08/encrypted-and-preconfigured-vnc</rss:link>       
        



        <content:encoded><![CDATA[<p><br />
This looks very interesting for customer support. I have to look into this more. It seems it would make it possible for a customer to show exactly what teh problem is that they have. It does rely on the customer being able to download and run an executable though.</p>
<blockquote>UltraVNC SC is a mini (166k) UltraVNC Server that can be customized and preconfigured for download by a Customer. UltraVNC SC does not require installation and does not make use of the registry. The customer only have to download the little executable and Click to make a connection. The connection is initiated by the server, to allow easy access thru customers firewall.</blockquote>
<p><br />
<br />
Läs mer: <a href="http://www.uvnc.com/addons/singleclick.html">Single Click - UltraVNC: Remote Support Software, Remote Support tool,Remote Desktop Control, Remote Access Software, PC Remote Control</a></p> 
  
    
  
  

  

]]></content:encoded>



        
        <dc:date>2010-02-08T16:55+00:00</dc:date>
        <dc:modified>2010-02-08 16:55:29</dc:modified>
        
        <dc:creator>jorgen</dc:creator>
        
    </rss:item>
    
    
    
    
    <rss:item rdf:about="http://jorgenmodin.net/index_html/archive/2010/01/30/hur-mycket-ekonomisk-tillvxt-r-bara-kad-srbarhet">
        <rss:title>Hur mycket ekonomisk tillväxt är bara ökad sårbarhet?</rss:title>
        <rss:link>http://jorgenmodin.net/index_html/archive/2010/01/30/hur-mycket-ekonomisk-tillvxt-r-bara-kad-srbarhet</rss:link>       
        



        <content:encoded><![CDATA[<p>I The Economist kan man läsa en artikel om att 2010-talet kan komma att handla om samhällens sårbarhet, hur de klarar av att hantera olika former av kriser. I kommentarerna kan man läsa förslag om hur man gör ett samhälle mindre sårbart, men då påpekar någon att ekonomisk utveckling lätt ger ökad sårbarhet, genom just-in-time tillverkning och allehanda rationaliseringar.</p>
<p>Då inställer ju sig frågan:</p>
<ul>
    <li>Hur ser man till att ekonomisk tillväxt inte är sårbar?</li>
</ul>
<p><span style="font-style: italic;">Samtidigt</span> inställer sig frågan:</p>
<ul>
    <li>Vill vi bli av med sårbarheten?</li>
</ul>
<p>Ett syfte med frihandel är ju att fostra ett ömsesidigt beroende, så att det aldrig ska löna sig att gå i krig. Kanske sårbarheten är bra? Oräknat naturkatastrofer såklart.</p>
<blockquote>Sherwood Botsford wrote: Jan 29th 2010 3:32 GMT  There is no shortage of ideas. Possibly one of workable ideas. Here's 10 off the top of my head.<br />
1. Deprecate efficiency as a measure of merit. Efficient systems are brittle. &quot;Just in time&quot; means that one company is hostage to another company, the weather, the transport. Instead modify the tax laws to encourage 'pools' in the pipeline.  <br />
2. Encourage locality. This can in part be done by a progressive tax on business. E.g. Larger businesses get taxed at a higher rate than small businesses.  <br />
3. Encourage multi-skills. Prohibit union contracts[...]</blockquote>
<p><br />
<br />
Läs mer: <a href="http://www.economist.com/node/15404916/comments">Comments on Scarcity and globalisation: A needier era | The Economist</a></p> 
  
    
  
  
<span>
                  <i><a href="http://intressant.se/intressant">Taggar p&aring; intressant.se:</a>

      
          <a rel="tag"
             href="http://bloggar.se/om/Ekonomisk%20tillv%C3%A4xt">Ekonomisk tillväxt</a>,
      
      
          <a rel="tag"
             href="http://bloggar.se/om/S%C3%A5rbarhet">Sårbarhet</a>,
      
      
          <a rel="tag" href="http://bloggar.se/om/politik">politik</a>,
      </i>
      <br><br>
   </span>
  

]]></content:encoded>



        
        <dc:date>2010-01-30T21:08+00:00</dc:date>
        <dc:modified>2010-01-30 21:10:22</dc:modified>
        
        <dc:creator>jorgen</dc:creator>
        
        
        <dc:subject>Ekonomisk tillväxt</dc:subject>
        
        
        <dc:subject>Sårbarhet</dc:subject>
        
        
        <dc:subject>politik</dc:subject>
        
    </rss:item>
    
    
    
    
    <rss:item rdf:about="http://jorgenmodin.net/index_html/archive/2010/01/29/en-ddsruna-skriven-av-en-dd-man">
        <rss:title>En dödsruna skriven av en död man</rss:title>
        <rss:link>http://jorgenmodin.net/index_html/archive/2010/01/29/en-ddsruna-skriven-av-en-dd-man</rss:link>       
        



        <content:encoded><![CDATA[<p>Är detta vanligt? I The Guardian kan man läsa en dödsruna om J. D. Salinger som dog nu i januari 2010. Dödsrunan beskriver hans liv och hur det går mer mot stillhet.</p>
<p>Det är bara ett problem, längst ner i dödsrunan står det &quot;Mark Krupnick dog 2003&quot;. Vem är Mark Krupnick? Jo det är författaren till dödsrunan. Han har varit död i sju år.</p>
<blockquote>Jerome David Salinger, writer, born 1 January 1919; died 27 January 2010  Mark Krupnick died in 2003</blockquote>
<p><br />
<br />
Läs mer: <a href="http://www.guardian.co.uk/books/2010/jan/28/jd-salinger-obituary">JD Salinger obituary | Books | The Guardian</a></p> 
  
    
  
  
<span>
                  <i><a href="http://intressant.se/intressant">Taggar p&aring; intressant.se:</a>

      
          <a rel="tag"
             href="http://bloggar.se/om/d%C3%B6dsruna">dödsruna</a>,
      </i>
      <br><br>
   </span>
  

]]></content:encoded>



        
        <dc:date>2010-01-29T00:15+00:00</dc:date>
        <dc:modified>2010-01-29 00:33:04</dc:modified>
        
        <dc:creator>jorgen</dc:creator>
        
        
        <dc:subject>dödsruna</dc:subject>
        
    </rss:item>
    
    
    
    
    <rss:item rdf:about="http://jorgenmodin.net/index_html/archive/2010/01/28/xpra---vnc-for-individual-windows-on-linux-x">
        <rss:title>xpra - vnc for individual windows on Linux, X</rss:title>
        <rss:link>http://jorgenmodin.net/index_html/archive/2010/01/28/xpra---vnc-for-individual-windows-on-linux-x</rss:link>       
        



        <content:encoded><![CDATA[<p>I haven't tested this software yet, but it seems interesting. It allows you to run a program on one machine, and display it on another. Well many things can do that, including X itself. But the cool thing is that it is actually not running in the machine you're viewing it on, it just displays a Window that renders the contents of an &quot;invisible&quot; window on the server.</p>
<p>What this means is that just like with vnc, you can disconnect and reattach to that window from another computer. xpra becomes a bit like screen, but for GUIs.</p>
<blockquote>VNC is another system for using apps remotely. The main difference between <span class="highlightedSearchTerm">xpra</span> and VNC is that <span class="highlightedSearchTerm">xpra</span> is &quot;rootless&quot; -- i.e., programs you run under it show up on your desktop as regular programs, managed by your regular window manager, instead of being trapped inside a box. It gives you &quot;remote applications&quot;, not a &quot;remote desktop&quot;. (Hence the name -- &quot;X Persistent Remote Applications&quot;.)</blockquote>
<p><br />
<br />
Läs mer: <a href="http://code.google.com/p/partiwm/source/browse/README.xpra">README.<span class="highlightedSearchTerm">xpra</span> - partiwm - Project Hosting on <span class="highlightedSearchTerm">Google</span> Code</a></p> 
  
    
  
  

  

]]></content:encoded>



        
        <dc:date>2010-01-28T23:02+00:00</dc:date>
        <dc:modified>2010-01-28 23:03:44</dc:modified>
        
        <dc:creator>jorgen</dc:creator>
        
    </rss:item>
    
    
    
    
    <rss:item rdf:about="http://jorgenmodin.net/index_html/archive/2010/01/26/gross-varnar-mnga-i-lnder-ligger-illa-till-finansiellt">
        <rss:title>Gross varnar: Många i-länder ligger illa till finansiellt</rss:title>
        <rss:link>http://jorgenmodin.net/index_html/archive/2010/01/26/gross-varnar-mnga-i-lnder-ligger-illa-till-finansiellt</rss:link>       
        



        <content:encoded><![CDATA[<p>Enligt Bill Gross, som tydligen är en tungviktare hos en tungviktare (Pimco) i finansbranschen, så ligger många i-länder risigt till ekonomiskt: De har stora underskott och är redan skuldsatta. Gross har gjort ett diagram som han kallar &quot;Ring of fire&quot;:</p>
<p><img alt="" src="/images/ringoffire.jpg" /><br />
<br />
I detta diagram kan man se att Japan ligger tokrisigt till, men att även Storbritannien och USA har stora problem. Gula länder är OK och gröna mycket OK.</p>
<p>Jag är ingen ekonom, men om jag förstår saken rätt så är x-axeln hur skuldsatt landet redan är, och y-axeln i vilken takt skuldsättningen ökar. Ju mer skuldsatt man är, desto svårare blir det rimligen att låna mer pengar, och då kan det bli krisigt. Speciellt varnar Gross för Storbritanniens situation vad gäller obligationer, en situation som han kallar &quot;en krutdurk&quot;.</p>
<p>Utvecklingsländer som börjar gå bra är sökrare kort menar Gross och pekar på bl a Kina och Brasilien som exempel.</p>
<p>&nbsp;</p>
<p><span style="font-weight: bold;">Uppdatering 2010-01-27:</span></p>
<p>En kompis som jobbar med sådant här påpekar att Japans skuldsättning mycket är till den egna befolkningen, och därför enklare att hantera.</p>
<blockquote>Initial conditions are important because the ability of a country to respond to a financial crisis is related to the size of its existing debt burden and because it points to future financing potential. Is it any wonder that in this New Normal, China, India, Brazil and other developing economies have fared far better than G-7 stalwarts? </blockquote>
<p><br />
<br />
Läs mer: <a href="http://www.pimco.com/LeftNav/Featured+Market+Commentary/IO/2010/February+2010+Gross+Ring+of+Fire.htm">PIMCO - February 2010 Gross Ring of Fire</a></p> 
  
    
  
  
<span>
                  <i><a href="http://intressant.se/intressant">Taggar p&aring; intressant.se:</a>

      
          <a rel="tag" href="http://bloggar.se/om/Ekonomi">Ekonomi</a>,
      </i>
      <br><br>
   </span>
  

]]></content:encoded>



        
        <dc:date>2010-01-26T23:45+00:00</dc:date>
        <dc:modified>2010-01-27 19:36:40</dc:modified>
        
        <dc:creator>jorgen</dc:creator>
        
        
        <dc:subject>Ekonomi</dc:subject>
        
    </rss:item>
    
    
    
    
    <rss:item rdf:about="http://jorgenmodin.net/index_html/archive/2010/01/25/buss-och-lokaltgsresenrer-njda-men-mindre-n-frut">
        <rss:title>Buss och lokaltågsresenärer nöjda, men mindre än förut</rss:title>
        <rss:link>http://jorgenmodin.net/index_html/archive/2010/01/25/buss-och-lokaltgsresenrer-njda-men-mindre-n-frut</rss:link>       
        



        <content:encoded><![CDATA[<p>Såg en TT-artikel där en undersökning presenteras om hur väldigt nöjda resenärer är med lokala buss- och tågtransporter, persontrafik. Artiklen nämner också att många av de tillfrågade håller med om att kollektivt resande är miljövänligt. Hmm, det är en väldigt ledande fråga...</p>
<p>Fick för mig att gå in på Svenskt Kvalitetsindex sajt, och där kan man <a href="http://www.kvalitetsindex.se/index.php?option=content&amp;task=view&amp;id=186">se</a> att kategorin &quot;Persontransport - kollektiv&quot; har haft den i särklass största <span style="font-style: italic;">sänkningen</span> i upplevd kvalitet:</p>
<p><img alt="" src="/images/image05.png" /></p>
<blockquote>Buss- och lokaltågsresenärerna tycks vara ganska nöjda. Åtta av tio resenärer säger sig vara nöjda eller mycket nöjda med sin senaste resa med lokal- eller länstrafiken. </blockquote>
<p><br />
<br />
Läs mer: <a href="http://www.svd.se/nyheter/inrikes/bussresenarer-overlag-nojda_4148579.svd">Bussresenärer överlag nöjda | Inrikes | SvD</a></p> 
  
    
  
  
<span>
                  <i><a href="http://intressant.se/intressant">Taggar p&aring; intressant.se:</a>

      
          <a rel="tag" href="http://bloggar.se/om/politik">politik</a>,
      
      
          <a rel="tag"
             href="http://bloggar.se/om/Kollektivresor">Kollektivresor</a>,
      </i>
      <br><br>
   </span>
  

]]></content:encoded>



        
        <dc:date>2010-01-25T14:18+00:00</dc:date>
        <dc:modified>2010-01-25 14:29:22</dc:modified>
        
        <dc:creator>jorgen</dc:creator>
        
        
        <dc:subject>politik</dc:subject>
        
        
        <dc:subject>Kollektivresor</dc:subject>
        
    </rss:item>
    
    
    
    
    <rss:item rdf:about="http://jorgenmodin.net/index_html/archive/2010/01/24/avlyssning-byggs-in-i-telefon--och-e-postsystem-ibland-oklart-vem-som-anvnder-dem">
        <rss:title>Avlyssning byggs in i telefon- och e-postsystem, ibland oklart vem som använder dem</rss:title>
        <rss:link>http://jorgenmodin.net/index_html/archive/2010/01/24/avlyssning-byggs-in-i-telefon--och-e-postsystem-ibland-oklart-vem-som-anvnder-dem</rss:link>       
        



        <content:encoded><![CDATA[<p>&nbsp;</p>
<blockquote>Ericsson built this wiretapping capability into Vodafone's products and enabled it only for governments that requested it. Greece wasn't one of those governments, but someone still unknown -- A rival political party? Organized crime? Foreign intelligence? -- figured out how to surreptitiously turn the feature on.  And surveillance infrastructure can be exported, which also aids totalitarianism around the world. Western companies like Siemens and Nokia built Iran's surveillance. U.S. companies helped build China's electronic police state. Just last year, Twitter's anonymity saved the lives of Iranian dissidents, anonymity that many governments want to eliminate.</blockquote>
<p><br />
<br />
Läs mer: <a href="http://edition.cnn.com/2010/OPINION/01/23/schneier.google.hacking/index.html">U.S. enables Chinese hacking of Google - CNN.com</a></p> 
  
    
  
  

  

]]></content:encoded>



        
        <dc:date>2010-01-24T18:12+00:00</dc:date>
        <dc:modified>2010-01-24 18:12:45</dc:modified>
        
        <dc:creator>jorgen</dc:creator>
        
    </rss:item>
    
    
    
    
    <rss:item rdf:about="http://jorgenmodin.net/index_html/archive/2010/01/18/buffalo-buffalo-buffalo-buffalo-buffalo-buffalo-buffalo-buffalo">
        <rss:title>Buffalo buffalo Buffalo buffalo buffalo buffalo Buffalo buffalo</rss:title>
        <rss:link>http://jorgenmodin.net/index_html/archive/2010/01/18/buffalo-buffalo-buffalo-buffalo-buffalo-buffalo-buffalo-buffalo</rss:link>       
        



        <content:encoded><![CDATA[<p>En orsak till at de är svårt att ibland läsa tidningsrubriker på engelska är att ord har en tendens att starta som t ex ett substantiv för att sedan också börja användas som verb och adjektiv. I extrema fall kan man då skapa meningar som är någorlunda formellt giltiga med att bara upprepa ett ord. Jag bloggade tidigare om:</p>
<p><span class="visualIcon contenttype-weblogentry"><a href="/index_html/archive/2008/06/25/ibland-r-det-himla-svrt-att-frst-engelska-rubriker-och-ingresser" class="state-published visualIconPadding">Ibland är det himla svårt att förstå engelska rubriker och ingresser</a> </span></p>
<blockquote>It may be revealing to read the sentence replacing all instances of the animal buffalo with &quot;people&quot; and the verb buffalo with &quot;intimidate&quot;. The sentence then reads      &quot;Buffalo people [whom] Buffalo people intimidate [also happen to] intimidate Buffalo people.&quot;</blockquote>
<p><br />
<br />
Läs mer: <a href="http://en.wikipedia.org/wiki/Buffalo_buffalo_buffalo">Buffalo buffalo Buffalo buffalo buffalo buffalo Buffalo buffalo - Wikipedia, the free encyclopedia</a></p> 
  
    
  
  
<span>
                  <i><a href="http://intressant.se/intressant">Taggar p&aring; intressant.se:</a>

      
          <a rel="tag"
             href="http://bloggar.se/om/engelska%20ord">engelska ord</a>,
      </i>
      <br><br>
   </span>
  

]]></content:encoded>



        
        <dc:date>2010-01-18T01:04+00:00</dc:date>
        <dc:modified>2010-01-18 01:09:49</dc:modified>
        
        <dc:creator>jorgen</dc:creator>
        
        
        <dc:subject>engelska ord</dc:subject>
        
    </rss:item>
    
    
    
    
    <rss:item rdf:about="http://jorgenmodin.net/index_html/archive/2010/01/17/brian-eno-om-slutet-p-musikindustri-eran">
        <rss:title>Brian Eno om slutet på musikindustri-eran</rss:title>
        <rss:link>http://jorgenmodin.net/index_html/archive/2010/01/17/brian-eno-om-slutet-p-musikindustri-eran</rss:link>       
        



        <content:encoded><![CDATA[<p>&quot;I think records were just a little bubble through time and those who made a living from them for a while were lucky. There is no reason why anyone should have made so much money from selling records except that everything was right for this period of time. I always knew it would run out sooner or later. It couldn't last, and now it's running out. I don't particularly care that it is and like the way things are going. The record age was just a blip. It was a bit like if you had a source of whale blubber in the 1840s and it could be used as fuel. Before gas came along, if you traded in whale blubber, you were the richest man on Earth. Then gas came along and you'd be stuck with your whale blubber. Sorry mate &ndash; history's moving along. Recorded music equals whale blubber. Eventually, something else will replace it.&quot;<br />
<br />
Läs mer: <a href="http://www.guardian.co.uk/music/2010/jan/17/brian-eno-interview-paul-morley">On gospel, Abba and the death of the record: an audience with Brian Eno | Interview | Music | The Observer</a></p> 
  
    
  
  
<span>
                  <i><a href="http://intressant.se/intressant">Taggar p&aring; intressant.se:</a>

      
          <a rel="tag"
             href="http://bloggar.se/om/Brian%20Eno">Brian Eno</a>,
      </i>
      <br><br>
   </span>
  

]]></content:encoded>



        
        <dc:date>2010-01-17T14:00+00:00</dc:date>
        <dc:modified>2010-01-17 14:00:24</dc:modified>
        
        <dc:creator>jorgen</dc:creator>
        
        
        <dc:subject>Brian Eno</dc:subject>
        
    </rss:item>
    
    
    
    
    <rss:item rdf:about="http://jorgenmodin.net/index_html/archive/2010/01/12/-8c-och-dimma">
        <rss:title>-8°C och dimma...</rss:title>
        <rss:link>http://jorgenmodin.net/index_html/archive/2010/01/12/-8c-och-dimma</rss:link>       
        



        <content:encoded><![CDATA[<p>Nånting är fuffens med den här vintern!</p>
<p><img width="0" height="0" src="/index_html/archive/2010/01/11/mist.png" alt="" /></p>
<p><img alt="" src="/images/mist.png" /></p> 
  
    
  
  

  

]]></content:encoded>



        
        <dc:date>2010-01-12T18:24+00:00</dc:date>
        <dc:modified>2010-01-12 18:25:21</dc:modified>
        
        <dc:creator>jorgen</dc:creator>
        
    </rss:item>
    
    
    
    
    <rss:item rdf:about="http://jorgenmodin.net/index_html/archive/2010/01/11/recension-mefisto-p-stockholms-stadsteater">
        <rss:title>Recension: Mefisto på Stockholms Stadsteater</rss:title>
        <rss:link>http://jorgenmodin.net/index_html/archive/2010/01/11/recension-mefisto-p-stockholms-stadsteater</rss:link>       
        



        <content:encoded><![CDATA[<p>Sammanfattning: Urstark bok och manus, stark ensemble och mycket bra scenografi ger en bra pjäs.</p>
<p><img src="/images/mefisto2.jpg" alt="" /></p>
<p>Fotograf: Petra Hellberg</p>
<p>Jag var lite orolig inför den här pjäsen. Det är svårt att leva upp till förväntningarna efter en sådana bra förlagor som Klaus Manns bok Mefisto och Istvan Szabos film <a href="http://imdb.com/title/tt0082736/">Mephisto</a>. Det finns också en uppsättning med Theatre du Soleil som jag inte sett. Klaus Mann är en av mina favoritförfattare och Mefisto min favoritbok av honom. Filmen Mephisto är på min topp 10-lista. Hur ska det här gå?</p>
<p>I London <a href="/index_html/archive/2010/01/11/review-burnt-by-the-sun-at-the-national-theatre-london-uk">spelades</a> &quot;Burnt by the sun&quot; i våras, en pjäs som mycket rör samma teman som Mefisto. Pjäsen baserades på den utmärkta filmen med samma namn av Nikita Michalkov. Den föreställningen levde inte riktigt upp till förväntningarna, kunde inte mäta sig med filmen den baserades på. Jag funderade på om det berodde på min relativa ovana att gå på teater och större vana vid film? Eller på min stora uppskattning av förlagan? Ska man hoppas något från att gå och se en pjäs med så gigantiska föregångare?</p>
<p>Men när jag tog plats längst fram på balkongen på Stockholms Stadsteater och tittade ut över scenen blev jag omedelbart lugnad. Scenografin var öppen och de skådespelare som redan gick runt på scenen, utstrålade självförtroende och samspelthet sinsemellan. Det här kommunicerade direkt till mig. Jag visste nu att detta i alla fall inte skulle bli dåligt.</p>
<p>Ensemblen är riktigt bra, det är hög kvalitet genom alla roller, och de har respekt för berättelsen och litar på dess styrka.</p>
<p><span style="font-weight: bold;">Gründgens</span></p>
<p>Björn Kjellman är lite för mjuk i sitt spelsätt, men jag tror att han har det som behövs inom sig. Min bänkgranne tyckte att han alltid ger lite sliskiga vibbar vilket hon tyckte passade, men jag får alltid hyvens vibbar från den mannen. Han måste bli lite mer energetisk. Å andra sidan måste man efter Klaus Maria Brandauers rollprestation i Szabos filmversion gå åt ett lite annat håll än Brandauer, för det <span style="font-style: italic;">går</span> inte att toppa Brandauers rollprestation. Även om jag efter boken inte hade föreställt mig Gründgens precis så som Brandauer gestaltar honom, var det bara att kapitulera.</p>
<p style="font-weight: bold;">Kvinnligt perspektiv</p>
<p>Precis som den brittiska teateruppsättning av Burnt by the Sun, så har Stadsteaterns Mefisto ett starkare kvinnoperspektiv än sina föregångare. Ja, så speciellt starkt är det inte i någon av dem, men det finns i alla fall. Det finns ett samspel mellan systrarna Barbara och Nicoletta och en diskussion dem emellan om sina livsval. Man ser också lite av varför Barbara gift sig med Höfgen, men ändå lite mer kött på benen där vore intressant.</p>
<p><span style="font-weight: bold;">Intelligens</span></p>
<p>Pjäsen är också intelligent spelad. Cesar von Muck framställs kvickare än i filmen eller boken, och det finns små stick här och var, och en rolig konversation (&quot;banter&quot;) mellan aktörerna som får en att dra på smilbanden. Det är uppenbart att alla som gjort föreställning har &quot;grokkat&quot; pjäsen, de förstår vad den handlar om och kan därför slappna av i sitt spelsätt och gestalta efter omständigheterna.</p>
<p><img src="/images/mefisto.jpg" alt="" /></p>
<p>Fotograf: Petra Hellberg</p>
<p>Jag saknade dock scenen där Muck ska förklara Hamlet som en tysk hjälte (en kraftprestation om något). Scenen finns med men inte med just det innehållet.</p>
<p><span style="font-weight: bold;">Paralleller</span></p>
<p>Jag kom i pausen i samspråk med min bänkgranne och försökte förklara hur jag såg på Hendrik Höfgen, och hur han borde framställas lite mer framåt, dynamisk, och jag letade efter ett exempel, och det som dök upp i mitt huvud var en <a href="http://www.imdb.com/title/tt0109862/">dokumentär</a> av Björn Cederberg och <a title="Fredrik von Krusenstjerna" href="http://sv.wikipedia.org/wiki/Fredrik_von_Krusenstjerna">Fredrik von Krusenstjerna</a> om den östtyske kulturpersonligheten <a href="http://sv.wikipedia.org/wiki/Sascha_Anderson">Sascha Anderson</a>, som avslöjades som Stasi-spion Där finns många paralleler till Hendrik Höfgen.</p>
<p><span style="font-weight: bold;">Andra roller</span></p>
<p>Efter londonpjäsen var jag lite orolig för sådana här pjäser, men detta är en kraftensemble (hmm jag måste medge att just termen <span style="font-style: italic;">kraftensemble</span> känns lite väl tidstypisk för pjäsen). Miklas framställs som mer brutal än i filmen och boken (jag har boken på tyska och svenska men kan inte hitta dem just nu), men det är OK för att hans blanding av enfaldighet, hat, och omtanke (om vissa) går fram ändå. Alla roller ned till minsta är gediget besatt. Stockholm slår London på fingrarna här.</p>
<p><span style="font-weight: bold;">Slutsats</span></p>
<p>Gå och se!, och jag hoppas att den kommer att spela längre än vad den först planerats till. Det har plöjts ner mycket möda i den här uppsättningen, det har gett resultat och det ska de ha en eloge för!</p>
<p>&nbsp;</p>
<blockquote>Mefisto &ndash; en karriär är på flera sätt en habil iscensättning med bred kontaktyta mot samtiden. Ändå har den en rad problem som ofta handlar om dramatiseringen och scenbild. Regissören Ragnar Lyth poängterar starkt, och gärna med interna lustigheter, det metateatrala draget. </blockquote>
<p>Läs mer: <a href="http://www.svd.se/kulturnoje/nyheter/utan-riktig-narkontakt_4067625.svd">Recension: Teater Mefisto &ndash; en karriär - Stockholms stadsteater (Teater) | Kulturnyheter | SvD</a></p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<blockquote>Föreställningen, som regisserats av Ragnar Lyth, tonar ner det politiska skeendet. I stället används händelserna i det omgivande samhället som resonansbotten för de dova stämningarna. Vad som pågår är ett gradvis andligt förfall. I dag har vi facit för vart detta ledde och hur tecknen i tiden såg ut.</blockquote>
<p>Läs mer: <a href="http://www2.unt.se/avd/1,,MC=5-AV_ID=1001588,00.html">Mästerlig och tidlös Mefisto - Kultur - UNT.SE</a></p>
<p>&nbsp;</p>
<blockquote>Moraliska dilemman i mötet mellan konst och politik, där verklighetens svärta översållas av glamoröst glitter, är tacksamt scenstoff. Men Björn Kjellmans Höfgen har mer än det och de ditmålade ögonbrynen gemensamt med exempelvis huvudrollen i &rdquo;Zarah&rdquo; på Folkoperan i Stockholm för ett par år sedan &ndash; om hur Zarah Leander blev storstjärna i nazismens Tyskland. För även här förblir rollens inre själsliv till stor del en gåta.</blockquote>
<p>Läs mer: <a href="http://www.dn.se/kultur-noje/scenrecensioner/mefisto-en-karriar-pa-stockholms-stadsteater-1.1024764">&rdquo;Mefisto &ndash; en karriär&rdquo; på Stockholms stadsteater - DN.se</a></p>
<p>&nbsp;</p>
<p><span style="font-weight: bold;">Andra bloggare</span></p>
<p>&nbsp;</p>
<blockquote>Björn Kjellman spelar Hendrik Höfgen bra, även om jag hade önskat att han visat mer av opålitlighet, själviskhet och kanske till och med sårbarhet. </blockquote>
<p>Läs mer: <a href="http://kulturdelen.blogspot.com/2010/01/mefisto-pa-stadsteatern.html">Kulturdelen: Mefisto på Stadsteatern</a></p>
<p>&nbsp;</p>
<p><span style="font-weight: bold;">Länkar på denna blogg</span></p>
<p><span class="visualIcon contenttype-weblogentry"><a class="state-published visualIconPadding" href="/index_html/archive/2005/10/20/klaus-manns-ande-ver-stockholm/?searchterm=klaus%20mann">Klaus Manns ande över Stockholm</a></span></p>
<p><span class="visualIcon contenttype-weblogentry"><a class="state-published visualIconPadding" href="/index_html/archive/2010/01/06/ntligen-klaus-manns-mefisto-p-stockholms-stadsteater/?searchterm=klaus%20mann">Äntligen! Klaus Manns Mefisto på Stockholms Stadsteater</a> </span></p>
<p><span class="visualIcon contenttype-weblogentry"><a class="state-published visualIconPadding" href="/index_html/archive/2005/10/20/illa-stllt-bland-intellektuella-i-europa-redan-1949/?searchterm=klaus%20mann">Illa ställt bland intellektuella i Europa redan 1949</a></span></p>
<p>&nbsp;</p> 
  
    
  
  
<span>
                  <i><a href="http://intressant.se/intressant">Taggar p&aring; intressant.se:</a>

      
          <a rel="tag"
             href="http://bloggar.se/om/Stockholm%20Stadsteater">Stockholm Stadsteater</a>,
      
      
          <a rel="tag" href="http://bloggar.se/om/Mefisto">Mefisto</a>,
      
      
          <a rel="tag" href="http://bloggar.se/om/Recension">Recension</a>,
      </i>
      <br><br>
   </span>
  

]]></content:encoded>



        
        <dc:date>2010-01-11T14:09+00:00</dc:date>
        <dc:modified>2010-01-12 18:32:21</dc:modified>
        
        <dc:creator>jorgen</dc:creator>
        
        
        <dc:subject>Stockholm Stadsteater</dc:subject>
        
        
        <dc:subject>Mefisto</dc:subject>
        
        
        <dc:subject>Recension</dc:subject>
        
    </rss:item>
    
    
    
    
    <rss:item rdf:about="http://jorgenmodin.net/index_html/archive/2010/01/11/review-burnt-by-the-sun-at-the-national-theatre-london-uk">
        <rss:title>Review: Burnt by the Sun at the National Theatre, London, UK</rss:title>
        <rss:link>http://jorgenmodin.net/index_html/archive/2010/01/11/review-burnt-by-the-sun-at-the-national-theatre-london-uk</rss:link>       
        



        <content:encoded><![CDATA[<p>(this review written in March 2009, but I forgot to post it so here it comes)</p>
<p>Summary: A reasonably well executed performance, conveying a very important insight. Go see it if:</p>
<ul>
    <li>You have not seen the movie it is based on</li>
    <li>You prefer everything to be in English,</li>
    <li>Or just strongly prefer the stage before the screen.</li>
</ul>
<p>However the movie in my mind surpasses it. But with some work it could get closer. Some of Kotov's lines and lines of reasoning are great in the play.</p>
<p><span style="font-style: italic;">This review contains spoilers</span>.</p>
<p>The play &quot;Burnt by the Sun&quot; is based on the superb film by the same name, by Nikita Michalkov. Peter Flannery has adapted it to the stage. Before the performance I listened to Flannery talking about how he adapted the film.</p>
<p>&nbsp;</p>
<p><span style="font-weight: bold;">Not enough shouting and pauses :-)<br />
</span></p>
<p>Act 1 (of 2) suffers from not enough shouting, physical acting and meaningful pauses in conversation.&nbsp; Emotions need to be acted out stronger whether they are from feelings of (true or feigned) joy, or from anger and malice. In film you get away with small gestures due to the camera's focus, but on stage stronger stuff is needed, especially if you do not use a spotlight. The play starts off unfocused emotionally due to this. Another way to get more focus to act 1 (besides shouting then) would be to cut down on the number of characters on stage. Two or three of the datja's inhabitans could have been cut from the script. Possibly rewriting lines to have more punch. This is all rectified in act 2 where fewer people on stage leads to stronger focus, and the language gets more direct.</p>
<p>The play stays eerily true to the film: Before seeing the play I hadn't realised that every scene and nearly every line of that film is etched in my memory. It was therefore easy to check off lines and plot devices as they came, and suffice to say that Flannery has not touched anything he wasn't forced to due to a different format.</p>
<p><span style="font-weight: bold;">Affability</span></p>
<p>In the last scene of the play&nbsp; Rory Kinnear's Mitia comes off a bit too affable and emotionaly worked up, interspersing opera singing with his Russian roulette. Sitting still in a chair, reciting a children's rhyme and squeezing the trigger on numbers in the rhyme would be more consistent with the temperament of the character and his slavic devil-may-care attitude. He comes off as a bit too much of an affable tragic case now, like Jeremy Iron's Sebastian Flyte, or Klaus-Maria Brandauer's Hendrik Höfgen, while it is clear that Mitia knows exactly what game he is playing.&nbsp; He could probaby still do the opera bit, but jump into some ridiculous pose before each pull to cut to the core of the character.</p>
<p>Kinnear does a good job otherwise in a demanding role and Ciaran Hinds as Kotov grows as the play progresses, but he needs to throw his weight around more in act 1. The actress playing the daughter does a perfectly good job. The play moves on quite swiftly and make it hard to evaluate the other performances in depth.</p>
<p>During the interview with Flannery that I attended I got interested in seing other things he has written. I like his ambition of presenting multiple views at the same time, and what seemed to be a humanistic approach, being mature enough not to cling to some extremist ideology. His work seems to be a quest for knowledge.</p>
<p>Compared to the movie the play more clearly depicts the main conflict as duty-egoism, but also subverts this by showing that also tough man Kotov can break, and just from one sentence. There is also a budding feminist angle present in the play that is missing in the film. Flannery actually lets the wife speak up a&nbsp; couple of times about what <span style="font-style: italic;">she</span> thinks of the situation. Flannery did mention that in the film the wife acts like a child, and the daughter more as a wife, and that he reversed this for the play, also to get some load off the actress playing the daughter.</p>
<p>One reason I went to see this play, that I stumbled upon due to me meting a friend and mixing up BFI and the National Theatre (the serendipity of being a tourist) and getting last minute tickets, is that I was curious about if it could help me figure out how much of the strength of the movie comes from the technical and artistic performances and how much comes from the drama itself.</p>
<p>When the play ended, I was as gripped of the drama of the story as ever before. And the end of the stage play is the same as in another film of the 90s, La Haine.</p> 
  
    
  
  

  

]]></content:encoded>



        
        <dc:date>2010-01-11T13:55+00:00</dc:date>
        <dc:modified>2010-01-11 13:55:35</dc:modified>
        
        <dc:creator>jorgen</dc:creator>
        
    </rss:item>
    
    
    
    
    <rss:item rdf:about="http://jorgenmodin.net/index_html/archive/2010/01/06/ntligen-klaus-manns-mefisto-p-stockholms-stadsteater">
        <rss:title>Äntligen! Klaus Manns Mefisto på Stockholms Stadsteater</rss:title>
        <rss:link>http://jorgenmodin.net/index_html/archive/2010/01/06/ntligen-klaus-manns-mefisto-p-stockholms-stadsteater</rss:link>       
        



        <content:encoded><![CDATA[<p>Nu recenserad av mig: <a href="/index_html/archive/2010/01/11/recension-mefisto-p-stockholms-stadsteater/view" class="state-published visualIconPadding tile">Recension: Mefisto på Stockholms Stadsteater             </a></p>
<p>Mefisto är kanske min favoritbok av en av mina favoritförfattare, även om den första bok jag läste av Klaus Mann var Symphonie Pathétique om Tjajkovskij. Nu sätts det upp en <a href="http://www.stadsteatern.stockholm.se/pjaser/mefisto.asp">pjäs</a> på Stockholms Stadsteater baserad på Mefisto. Premiären nu på lördag är slutsåld men det finns i skrivande stund ströplatser kvar de följande söndagarna.</p>
<p>Om du inte har läst boken kan jag varmt rekommendera den; den finns i svensk översättning. Den skriver så klarsynt om nazisterna att det är lätt att glömma bort att den är skriven redan 1936, flera år före andra världskriget. Klaus Manns prosa är rapp och lättläst&nbsp; jämfört med hans far Thomas Manns alster. Faktum är att det går att läsa Klaus Manns böcker på originalspråket tyska med bara skoltyskakunskaper.</p>
<p>Klaus Manns sista bok &quot;The turning point&quot; är skriven på engelska som Klaus Mann såg som sitt nya språk efter kriget. Denna bok finns också på svenska med titeln &quot;Vändpunkten&quot; och är väl värd en läsning, även om det strikt personliga saknas i den med tanke på att det ska vara en självbiografi.</p>
<p>Istvan Szàbos film Mephisto, baserad på boken,&nbsp; är också ett mästerverk. Försök att få tag på och se den! Bara gestaltningen av Göring är värd mödan och tiden.</p>
<p>Klaus Mann skrev också klarsynt om det intellektuella klimatet i Europa <span style="font-style: italic;">efter </span>andra världskriget:</p>
<p><span class="visualIcon contenttype-weblogentry"><a class="state-published visualIconPadding" href="/index_html/archive/2005/10/20/illa-stllt-bland-intellektuella-i-europa-redan-1949/?searchterm=klaus">Illa ställt bland intellektuella i Europa redan 1949</a></span></p>
<p>Den här uppsättningen på Stadsteatern kommer att få svårt att hävda sig, det ligger både en fantastisk bok och film i arvet. Jag såg pjäsen &quot;Burnt by the Sun&quot; i London för några månader sedan, baserad på filmen av Nikita Michalkov, och jag hade hela tiden filmen som måttstock, och pjäsen nådde i detta fall inte riktigt lika långt. Det ska bli riktigt spännande att se vad pjäsen kommer att ge.</p>
<blockquote>&ndash;&thinsp;Vi har väldigt lätt att moralisera över andra tider och hur andra människor har levt, men är blinda för vår samtid, säger Ragnar Lyth när han dricker kaffe och sträcker ut sina långa ben i soffan i ett av Stockholms stadsteaters rum några våningar bort från Klarascenen. </blockquote>
<p><br />
<br />
Läs mer: <a href="http://www.svd.se/kulturnoje/nyheter/fokus-pa-nutid-i-mefisto-a-la-lyth_4045049.svd">Fokus på nutid i Mefisto à la Lyth | Kulturnyheter | SvD</a></p>
<p><span class="visualIcon contenttype-weblogentry"><a class="state-published visualIconPadding" href="/index_html/archive/2005/10/20/klaus-manns-ande-ver-stockholm/?searchterm=klaus">Klaus Manns ande över Stockholm</a> </span></p> 
  
    
  
  

  

]]></content:encoded>



        
        <dc:date>2010-01-06T16:21+00:00</dc:date>
        <dc:modified>2010-01-12 18:50:24</dc:modified>
        
        <dc:creator>jorgen</dc:creator>
        
    </rss:item>
    
    
    
    
    <rss:item rdf:about="http://jorgenmodin.net/index_html/archive/2010/01/05/personnummer-krvs-fr-att-ringa-nordea-om-ppettider">
        <rss:title>Personnummer krävs för att ringa Nordea om öppettider</rss:title>
        <rss:link>http://jorgenmodin.net/index_html/archive/2010/01/05/personnummer-krvs-fr-att-ringa-nordea-om-ppettider</rss:link>       
        



        <content:encoded><![CDATA[<p>En dag som denna, trettondagsafton och minus 12 grader, hamnade jag utanför ett av Nordeas bankkontor. På en skylt står det att kontoret stängt 13.00 för att det är trettondagsafton. Men kanske något kontor är öppet längre?&nbsp; Telefonnummer till Nordea är angivna, och jag ringer det för privatpersoner. Mitt syfte är att fråga någon på Nordea om något kontor är öppet längre än 13.00.</p>
<p>&quot;Tryck ditt personnummer, och fyrkant&quot; säger en automatisk röst. Den automatiska rösten upprepar anmaningen några gånger och lägger sedan på. Det går alltså inte att ringa Nordea och komma nånvart, utan att uppge sitt personnummer, ens för enkla frågor som öppettider. Det tycker jag är lite irriterande. Man kanske ska motfråga om personnummer eller i alla fall organisationsnummer om och när man kommer fram?</p>
<p>Webbsajten har ingen information om individuella öppettider vid helger heller.</p> 
  
    
  
  
<span>
                  <i><a href="http://intressant.se/intressant">Taggar p&aring; intressant.se:</a>

      
          <a rel="tag"
             href="http://bloggar.se/om/Personnummer">Personnummer</a>,
      
      
          <a rel="tag" href="http://bloggar.se/om/Nordea">Nordea</a>,
      
      
          <a rel="tag"
             href="http://bloggar.se/om/Integritet">Integritet</a>,
      </i>
      <br><br>
   </span>
  

]]></content:encoded>



        
        <dc:date>2010-01-05T16:21+00:00</dc:date>
        <dc:modified>2010-01-05 16:21:28</dc:modified>
        
        <dc:creator>jorgen</dc:creator>
        
        
        <dc:subject>Personnummer</dc:subject>
        
        
        <dc:subject>Nordea</dc:subject>
        
        
        <dc:subject>Integritet</dc:subject>
        
    </rss:item>
    
    
    
    
    <rss:item rdf:about="http://jorgenmodin.net/index_html/archive/2010/01/05/command-line-to-convert-flv-to-3gp-with-ffmpeg">
        <rss:title>Command line to convert flv to 3gp with ffmpeg</rss:title>
        <rss:link>http://jorgenmodin.net/index_html/archive/2010/01/05/command-line-to-convert-flv-to-3gp-with-ffmpeg</rss:link>       
        



        <content:encoded><![CDATA[<p>Note to self:</p>
<p>&nbsp;</p>
<pre>ffmpeg -i input.flv -s 704x576 -ar 8000 -ac 1 -ab 10.2k&nbsp; output.3gp</pre>
<p>Neede to convert to an accepted size 704x576, an accepted audio bit rate 10.2k, an accepted audio sample rate of 8000.</p>
<p>&nbsp;</p>
<p>Couldn't get it to work with avi or mov as input this time</p> 
  
    
  
  

  

]]></content:encoded>



        
        <dc:date>2010-01-05T02:33+00:00</dc:date>
        <dc:modified>2010-01-05 02:33:24</dc:modified>
        
        <dc:creator>jorgen</dc:creator>
        
    </rss:item>
    
    
    
    
    <rss:item rdf:about="http://jorgenmodin.net/index_html/archive/2010/01/04/midentify---a-script-that-gives-you-information-on-a-video-file">
        <rss:title>Midentify - a script that gives you information on a video file</rss:title>
        <rss:link>http://jorgenmodin.net/index_html/archive/2010/01/04/midentify---a-script-that-gives-you-information-on-a-video-file</rss:link>       
        



        <content:encoded><![CDATA[<p>It's a shell script that comes with mplayer, and I can imagine it coming in handy when you quickly want to have info on a clip.</p>
<p>&nbsp;</p>
<p>Here is sample output from running it on a video file generated by a Casio compact digital camera:</p>
<p>&nbsp;</p>
<p>ID_VIDEO_ID=0<br />
ID_AUDIO_ID=1<br />
ID_CLIP_INFO_NAME0=Digitization\ Time<br />
ID_CLIP_INFO_VALUE0=2010/01/01/\ 01:59\ \ <br />
ID_CLIP_INFO_NAME1=Software<br />
ID_CLIP_INFO_VALUE1=CASIO\ EX-H10<br />
ID_CLIP_INFO_N=2<br />
ID_FILENAME=CIMG0139.AVI<br />
ID_DEMUXER=avi<br />
ID_VIDEO_FORMAT=MJPG<br />
ID_VIDEO_BITRATE=22629024<br />
ID_VIDEO_WIDTH=1280<br />
ID_VIDEO_HEIGHT=720<br />
ID_VIDEO_FPS=23.976<br />
ID_VIDEO_ASPECT=0.0000<br />
ID_AUDIO_FORMAT=17<br />
ID_AUDIO_BITRATE=177000<br />
ID_AUDIO_RATE=0<br />
ID_AUDIO_NCH=0<br />
ID_LENGTH=28.19<br />
ID_SEEKABLE=1<br />
ID_CHAPTERS=0<br />
ID_VIDEO_CODEC=ffmjpeg<br />
ID_AUDIO_BITRATE=177000<br />
ID_AUDIO_RATE=44100<br />
ID_AUDIO_NCH=1<br />
ID_AUDIO_CODEC=ffadpcmimawav<br />
ID_EXIT=EOF</p> 
  
    
  
  

  

]]></content:encoded>



        
        <dc:date>2010-01-04T22:16+00:00</dc:date>
        <dc:modified>2010-01-04 22:18:10</dc:modified>
        
        <dc:creator>jorgen</dc:creator>
        
    </rss:item>
    
    
    
    
    <rss:item rdf:about="http://jorgenmodin.net/index_html/archive/2010/01/04/guide-to-working-with-cinelerra">
        <rss:title>Guide to working with Cinelerra</rss:title>
        <rss:link>http://jorgenmodin.net/index_html/archive/2010/01/04/guide-to-working-with-cinelerra</rss:link>       
        



        <content:encoded><![CDATA[<p>The best guide for understanding how to work with Cinelerra I have found so far is this one:</p>
<p><a href="http://www.g-raffa.eu/Cinelerra/HOWTO/index.html">Cinelerra for Grandma</a></p>
<blockquote>LOADING MEDIA - Import your resources in Cinelerra  FIRST EDITING- Arranging edits in a basic layout  SECOND EDITING - Finishing off and polishing</blockquote>
<p>It answered the following questions for me (directly or indirectly):</p>
<p>Q: Why does my quicktime export have such weird colors and how do I change it?</p>
<p>A: You can adjust the codec used by clicking at the tool icon (<em>Configure video compression)</em> before the video in the render dialog.</p>
<p>Q: How do I make my labels into a selection?</p>
<p>A: Double click in the space in between two of them.</p> 
  
    
  
  

  

]]></content:encoded>



        
        <dc:date>2010-01-04T21:32+00:00</dc:date>
        <dc:modified>2010-01-04 21:32:56</dc:modified>
        
        <dc:creator>jorgen</dc:creator>
        
    </rss:item>
    
    
    
    
    <rss:item rdf:about="http://jorgenmodin.net/index_html/archive/2010/01/02/get-spotify-working-on-ubuntu-910-on-vostro-1015">
        <rss:title>Get Spotify working on Ubuntu 9.10 on Vostro 1015</rss:title>
        <rss:link>http://jorgenmodin.net/index_html/archive/2010/01/02/get-spotify-working-on-ubuntu-910-on-vostro-1015</rss:link>       
        



        <content:encoded><![CDATA[<p>Follow the <a href="http://www.spotify.com/en/help/faq/wine/">instructions</a> at the spotify site, but select OSS instead of ALSA.</p>
<p>If you have any other application open using sound, it won't work. At least I expect so, since closing youtube windows in Firefox made the sound come back.</p> 
  
    
  
  

  

]]></content:encoded>



        
        <dc:date>2010-01-02T17:35+00:00</dc:date>
        <dc:modified>2010-01-03 00:45:09</dc:modified>
        
        <dc:creator>jorgen</dc:creator>
        
    </rss:item>
    
    
    
    
    <rss:item rdf:about="http://jorgenmodin.net/index_html/archive/2010/01/01/hd-video-from-canon-hf200-on-ubuntu-linux---convert-and-play">
        <rss:title>HD Video from Canon HF200 on Ubuntu Linux - convert and play</rss:title>
        <rss:link>http://jorgenmodin.net/index_html/archive/2010/01/01/hd-video-from-canon-hf200-on-ubuntu-linux---convert-and-play</rss:link>       
        



        <content:encoded><![CDATA[<p><span style="font-style: italic;">Notes to self on how to play videos from the camera on my Linux computer.</span></p>
<p>The files that the Canon HD video camera outputs have the suffix MTS. These can be played by Videolan client on my Dell Celeron-equipped laptop. Well, kind of: It plays the first two frames or so, then chokes on the video and keeps playing the sound.</p>
<p>The mts files can be converted to other formats with ffmpeg. The video from the Canon camera seems to be interlaced. If you use ffmpeg straight off the bat like so:</p>
<pre>ffmpeg -i canonvideo.mts -sameq video.mp4</pre>
<p>lines will be all wavy because the canon format is interlaced. Use the -deinterlace option like this:</p>
<pre>ffmpeg -deinterlace  -i canonvideo.mts -sameq video.mp4</pre>
<p>The mp4 file then plays effortlessly with vlc on the computer.</p>
<p>It should be possible to make the output interlaced as well, with the <span style="font-style: italic;">ilme</span> option</p>
<p>However this:</p>
<pre>ffmpeg&nbsp; -i 00002.MTS -sameq -flags ilme video.mp4</pre>
<p>still creates wavy lines. There are a number of idioms with ilme in them floating around the Internet, and I am not sure how to use it.</p>
<p><img src="file:///tmp/moz-screenshot.png" alt="" /><img src="file:///tmp/moz-screenshot-1.png" alt="" /></p> 
  
    
  
  

  

]]></content:encoded>



        
        <dc:date>2010-01-01T12:55+00:00</dc:date>
        <dc:modified>2010-01-09 22:02:21</dc:modified>
        
        <dc:creator>jorgen</dc:creator>
        
    </rss:item>
    
    
    
    
    <rss:item rdf:about="http://jorgenmodin.net/index_html/archive/2010/01/01/quote-of-the-day---churchillian-drift">
        <rss:title>Quote of the day - Churchillian drift</rss:title>
        <rss:link>http://jorgenmodin.net/index_html/archive/2010/01/01/quote-of-the-day---churchillian-drift</rss:link>       
        



        <content:encoded><![CDATA[<p style="margin-left: 40px;">&quot;Churchillian Drift&quot; - process whereby the actual originator of a quotation is often elbowed to one side and replaced by someone more famous.</p>
<p style="margin-left: 40px;"><span style="font-style: italic;">-Winston Churchill</span></p> 
  
    
  
  

  

]]></content:encoded>



        
        <dc:date>2010-01-01T12:42+00:00</dc:date>
        <dc:modified>2010-01-01 12:42:16</dc:modified>
        
        <dc:creator>jorgen</dc:creator>
        
    </rss:item>
    
    
    
    
    <rss:item rdf:about="http://jorgenmodin.net/index_html/archive/2009/12/30/lnk---tnkvrd-artikel-av-bruce-schneier-p-cnncom">
        <rss:title>Länk - Tänkvärd artikel av Bruce Schneier på CNN.com</rss:title>
        <rss:link>http://jorgenmodin.net/index_html/archive/2009/12/30/lnk---tnkvrd-artikel-av-bruce-schneier-p-cnncom</rss:link>       
        



        <content:encoded><![CDATA[<p>&nbsp;</p>
<blockquote>Once a society starts circumventing its own laws, the risks to its future stability are much greater than terrorism.  Despite fearful rhetoric to the contrary, terrorism is not a transcendent threat. A terrorist attack cannot possibly destroy a country's way of life; it's only our reaction to that attack that can do that kind of damage. The more we undermine our own laws, the more we convert our buildings into fortresses, the more we reduce the freedoms and liberties at the foundation of our societies, the more we're doing the terrorists' job for them.</blockquote>
<p><br />
<br />
Läs mer: <a href="http://edition.cnn.com/2009/OPINION/12/29/schneier.air.travel.security.theater/index.html">Is aviation security mostly for show? - CNN.com</a></p> 
  
    
  
  

  

]]></content:encoded>



        
        <dc:date>2009-12-30T00:21+00:00</dc:date>
        <dc:modified>2009-12-30 00:21:37</dc:modified>
        
        <dc:creator>jorgen</dc:creator>
        
    </rss:item>
    
    
    
    
    <rss:item rdf:about="http://jorgenmodin.net/index_html/archive/2009/12/28/new-years-python-meme">
        <rss:title>New year’s Python meme</rss:title>
        <rss:link>http://jorgenmodin.net/index_html/archive/2009/12/28/new-years-python-meme</rss:link>       
        



        <content:encoded><![CDATA[<p>Here&rsquo;s a short, 5 questions, 2009 Python meme. Copy-paste the questions, and blog your answers ! (<a href="http://tarekziade.wordpress.com/2009/12/28/new-years-python-meme">From Tarek Ziadé</a>)<strong><br />
</strong></p>
<div class="snap_preview">
<p><strong>1. What&rsquo;s the coolest Python application, framework or library you have discovered in 2009 ?</strong></p>
<p><strong>Coherence</strong>. <a href="http://coherence.beebits.net/">Coherence</a> is a really cool framework for Audio/Video on your local network.</p>
<p>Coherence is a server that has has plugins for multimedia storage, for interfacing with multimedia servers, for its own renderer (player) based on GStreamer, interfaces to BBC radio shows, to TED talks. I giggled with excitement&nbsp; yesterday when I realised that in the Coherence UPnP <a href="http://coherence.beebits.net/wiki/UPnP-Inspector#InspectorbrowsingtwoMediaServersandcontrollingtheGStreamerMediaRenderer">inspector</a> you can right click on devices discovered on the network&nbsp; to get relevant user interfaces for them and start dragging and dropping stuff between them: Drag a BBC Q &amp; A session with Derek Walcott served from a Coherence server on my server machine, with a GUI provided by the UPnP Inspector onto the GUI, again provided by the Inspector, of a Gstreamer player on another machine and it just starts to play.</p>
<p><strong>2. What new programming technique did you learn in 2009 ?</strong></p>
<p>Tarek Ziadé wrote Network Programming in his meme. I will do the same, although I started learning Coherence only last week, it is within 2009 :-)</p>
<p><strong>3. What&rsquo;s the name of the open source project you contributed the most in 2009 ? What did you do ?<br />
</strong></p>
<p>&nbsp;<a href="http://sourceforge.net/apps/mediawiki/play-next-pause/">play-next-pause</a> is a simple remote control for UPnP/DLNA devices that I wrote over Christmas. It is crude, only 55 lines of code and built on top of Coherence. It is for providing me with a remote control for Rhythmbox here and now, scratching that itch quickly.&nbsp;</p>
<p>Some of the code for Plone products I 've contributed to during the year will surely be released as open source during 2010.</p>
<p><strong>4. What was the Python blog or website you read the most in 2009 ?</strong></p>
<p>Planet Plone. Through the web.</p>
<p><strong>5. What are the three top things you want to learn in 2010 ?</strong></p>
<ol>
    <li>Python wise it would be to deal with more dynamic network high level stuff of the kind that Twisted is made for. Coherence is built on Twisted.</li>
    <li>In connection with that, a more agile framework in connection with Plone, might be inside it with <a href="http://plone.org/products/dexterity">Dexterity</a> and other stuff, might be <a href="http://bfg.repoze.org/">Repoze.bfg</a> or something&nbsp; else.</li>
    <li>A new (human) language. Maybe Spanish.</li>
</ol>
</div> 
  
    
  
  
<span>
                  <i><a href="http://intressant.se/intressant">Taggar p&aring; intressant.se:</a>

      
          <a rel="tag"
             href="http://bloggar.se/om/forplanetplone">forplanetplone</a>,
      </i>
      <br><br>
   </span>
  

]]></content:encoded>



        
        <dc:date>2009-12-28T21:10+00:00</dc:date>
        <dc:modified>2009-12-28 23:51:10</dc:modified>
        
        <dc:creator>jorgen</dc:creator>
        
        
        <dc:subject>forplanetplone</dc:subject>
        
    </rss:item>
    
    
    
    
    <rss:item rdf:about="http://jorgenmodin.net/index_html/archive/2009/12/27/link---gui-toolkits-that-can-be-integrated-with-twisted">
        <rss:title>Link - GUI Toolkits that can be integrated with Twisted</rss:title>
        <rss:link>http://jorgenmodin.net/index_html/archive/2009/12/27/link---gui-toolkits-that-can-be-integrated-with-twisted</rss:link>       
        



        <content:encoded><![CDATA[<p>Note to self:</p>
<blockquote>Twisted provides a variety of implementations of the twisted.internet.reactor. The specialized implementations are suited for different purposes and are designed to integrate better with particular platforms.</blockquote>
<p><br />
<br />
<a href="http://twistedmatrix.com/documents/current/core/howto/choosing-reactor.html">Twisted Documentation: Choosing a Reactor and GUI Toolkit Integration</a></p> 
  
    
  
  

  

]]></content:encoded>



        
        <dc:date>2009-12-27T12:33+00:00</dc:date>
        <dc:modified>2009-12-27 12:33:27</dc:modified>
        
        <dc:creator>jorgen</dc:creator>
        
    </rss:item>
    
    
    
    
    <rss:item rdf:about="http://jorgenmodin.net/index_html/archive/2009/12/26/list-of-open-source-dlnaupnp-av-software-devices">
        <rss:title>List of open source DLNA/UPnP AV software devices</rss:title>
        <rss:link>http://jorgenmodin.net/index_html/archive/2009/12/26/list-of-open-source-dlnaupnp-av-software-devices</rss:link>       
        



        <content:encoded><![CDATA[<p>DLNA is a set of standards for home entertainment equipment to operate. These can be hardware devices, but also software applications running on an ordinary computer. There are four types of devices according to the DLNA standard says Wikipedia (my explanations):</p>
<ul>
    <li>Digital media servers (DMS)<br />
    A database of multimedia content, that other devices can play media from</li>
    <li>Digital media renderers (DMR)<br />
    Plays stuff, that is it makes sound and in required cases shows moving images.</li>
    <li>Digital media controllers (DMC)<br />
    A device that works as a remote control, can play stop, skip, pause, change loudness, brightness etcetera.</li>
    <li>Digital media players (DMP)<br />
    Not sure what this is. Maybe it is a combination of a DMR and DMC, or all of the above.</li>
</ul>
<p><br />
I will try to compile a list of open source software devices when I find them, with an emphasis on components, i.e. no listing of all-in-one solutions and a preference for software that runs on Linux and that is maintained,</p>
<h2>Rhythmbox Music Player with DLNA/UPnP plugin</h2>
<p><a href="http://www.rhythmbox.org/%20">Site</a></p>
<p>Works as a</p>
<ul>
    <li>Digital media server</li>
    <li>Digital media renderer (tested with upnp-inspector)</li>
</ul>
<p>I have successfully remote controlled Rhythmbox Music Player, making it play, pause and skip, from a DMC. Tested on Ubuntu 9.10.</p>
<h2>Media Tomb</h2>
<p><a href="http://mediatomb.cc/">Media Tom</a>b works as a</p>
<ul>
    <li>Digital media server</li>
</ul>
<p>I have successfully played a video from Media Tomb through Totem. Media Tomb has a web userinterface where you can add all files that the user account has the right to, the media tomb database. This means that if you are running it under your own user, all your files may get exposed.&nbsp; From the Media Tomb documentation:</p>
<p style="margin-left: 40px; font-style: italic;">The server has an integrated filesystem browser, that means that anyone who has access to the UI can browse your filesystem (with user permissions under which the server is running) and also download your data! If you want maximum security - disable the UI completely! Account authentication offers simple protection that might hold back your kids, but it is not secure enough for use in an untrusted environment!</p>
<p>Tested as a static binary, version 0.11.0, on Ubuntu 9.10.</p>
<h2>Totem with Coherence DLNA/UPnP Client Plugin</h2>
<p><a href="http://www.gnome.org/projects/totem/">Totem</a> with the appropriate plugin</p>
<ul>
    <li>Works as a client</li>
</ul>
<p>which means it can access and play media from media servers, but it does not advertise itself on the network, i.e. other dlna components cannot use Totem. It picks up Rhythmbox, Coherence:FSStore, Coherence:BBCStore and Media Tomb as mediaservers but not ushare, in my tests. upnp-inspector picks up all five. Tested on Ubuntu 9.10.</p>
<h2>ushare</h2>
<p><a href="http://ushare.geexbox.org/">ushare</a> works as a</p>
<ul>
    <li>Digital media server</li>
</ul>
<p>ushare can be configured to only serve content from one folder. ushare 1.0 tested on CentOS 5. According to the web site ushare is currently not actively developed.</p>
<h2>djmount</h2>
<p><a href="http://djmount.sourceforge.net/">djmount</a> is a gateway between the UPnP world and the Linux file system. It allows programs who do not handle UPnP but can handle local files, to access files from devices as if they were on the file system. djmount mounts itself on a mountpoint and presents each media server it finds in a subdirectory. It can even do searches. (djmount is currently untested by me).</p>
<h2>Linn Kinsky Desktop</h2>
<p><a href="http://oss.linn.co.uk/trac/wiki/KinskyDesktop">Linn Kinsky Desktop</a> seems to be an ambitious project with a unique interface for making a DLNA/UPnP control point, among other things. On my Ubuntu the text items of the UI do not show up and then the application crashes X. Maybe it works better on other platforms or will work better in upcoming releases.</p>
<h2>UPnP Inspector</h2>
<p><a href="http://coherence.beebits.net/wiki/UPnP-Inspector#InspectorbrowsingtwoMediaServersandcontrollingtheGStreamerMediaRenderer">UPnP Inspector</a> is a great tool for seeing what devices are on your subnet and what capabilities they have. If you are running Linux, check the repositories of your distribution for it, or if you are a pythonista, use easy_install to install it. The Inspector is a part of Coherence (see text further down about Coherence).</p>
<p>Update: I just realised you can <span style="font-style: italic;">right click</span> the devices in the tree, and you get a remote control for that device! Not only that, but you can <span style="font-style: italic;">drag</span> songs from a media server to a media renderer and it <span style="font-style: italic;">plays</span> the song. Amazing. It may nullify the need for the remote play-next-pause devide that I've made.</p>
<h2>The Coherence framework</h2>
<p><a href="http://coherence.beebits.net/">Coherence</a> is a server that runs a number of UPnP/DLNA devices for you. These devices, that come with Coherence,&nbsp; are called &quot;plugins&quot;. You can enable or disable plugins in a &quot;.coherence&quot; file in your home directory. The coherence framework can be installed on Ubuntu 9.10 in the normal way with apt-get or synaptic, and I suppose similar is true for other Linux distributions. <span style="font-style: italic;">Otherwise if you cannot find a ready made package for your OS, Coherence is a python project so if you are a python developer familiar with how to install python things, you can use easy_install or even buildout.</span></p>
<p>You can try out Coherence by just typing &quot;coherence&quot; at the command line. I will list some of the plugins in Coherence below.</p>
<h2>Coherence: Gmediastreamer</h2>
<ul>
    <li>A digital media renderer</li>
</ul>
<p>GMediastreamer is a pure media renderer. It has no concept of playlists and has no media database of its own. You need UPnP Inspector to give it files to play (by dragging them onto the UI of GStreamer in the inspector, hint: Right-click on the devices). It can then be controlled with the inspector or I guess any other digital media controller. Maybe there are or will emerge ways of providing it with a steady stream of files.</p>
<p>To enable GMediastreamer, put this in your .coherence file:</p>
<p>&nbsp;&nbsp;&nbsp; [[GStreamerPlayer]]<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; name= Myplayer</p>
<p>Change &quot;MyPlayer&quot; to whatever you want. Or keep the name :-)</p>
<h2>Coherence: FSStore</h2>
<ul>
    <li>A digital media server</li>
</ul>
<p>FSStore is a media server that serves up a directory and its sub directories. It is useful outside of Coherence, you do not specifically need the UPnP inspector. Totem can play music and videos directly from it.</p>
<p>To enable FSStore, put this in your .coherence file:</p>
<p>&nbsp;&nbsp;&nbsp; [[FSStore]]<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; name = Jorgen's video store&nbsp; # default: my media<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; content = /home/jorgen/Videos/videos&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; # default: None<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; enable_destroy = no&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; # default: no</p>
<p><br />
Well, maybe you need to change &quot;jorgen&quot; to something else...</p>
<h2>Coherence: BBCStore and TEDStore</h2>
<ul>
    <li>Digital media servers</li>
</ul>
<p>BBCStore and TEDStore are media servers just like FSStore, put pull their content from external sources, in this case BBC Radio and TED Talks respectively. I have tried BBCStore and it works fine. It is useful outside of Coherence, you do not specifically need the UPnP inspector. Totem can play programs directly from it.</p>
<p>To enable BBCStore, put this in your .coherence file:</p>
<p>&nbsp;&nbsp;&nbsp; [[BBCStore]]<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; name = Coherence - BBC&nbsp; # default: BBC<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; refresh = 2&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; # default: 1 (hours)</p>
<h2>play-next-pause</h2>
<p><a href="http://sourceforge.net/apps/mediawiki/play-next-pause/">play-next-pause</a> is my own try to make a simple remote control. It relies completely on the Coherence framework and was written largely from looking at the code of the UPnP Inspector. I have made two big binaries, one for Linux and one for Windows. These should have all dependencies included so you do not need to install Coherence, Twisted or GTK or anything else hopefully. The binaries weigh in at about 12MB which means they sport about 200KB per line of code (play-next-pause is about 55 lines of code) or about 2MB per button! This can surely be trimmed but hey, it works for me.</p>
<p>&nbsp;</p> 
  
    
  
  

  

]]></content:encoded>



        
        <dc:date>2009-12-26T02:03+00:00</dc:date>
        <dc:modified>2010-01-05 00:07:51</dc:modified>
        
        <dc:creator>jorgen</dc:creator>
        
    </rss:item>
    
    
    
    
    <rss:item rdf:about="http://jorgenmodin.net/index_html/archive/2009/12/23/speaker-muting-in-vostro-1015-to-work-with-kernel-2633">
        <rss:title>Speaker muting in Vostro 1015 to work with kernel 2.6.33</rss:title>
        <rss:link>http://jorgenmodin.net/index_html/archive/2009/12/23/speaker-muting-in-vostro-1015-to-work-with-kernel-2633</rss:link>       
        



        <content:encoded><![CDATA[<p>According to a discussion at Ubuntu Launchpad, the annoyance that the speakers aren't muted in Dell Vostro when you insert headphones should be gone come kernel 2.6.33. In the discussion there is also a patch for kernel 2.6.31.14 if you need something right now. It seems other laptops are also affected by this that use the same sound chip, the Conexant 5067.</p>
<p><span style="font-weight: bold;">Update 2010-01-07</span></p>
<p>It seems like Ubuntu 10.4 will be based on 2.6.32. So it would be a long wait unless somebody backports the patches for the sound. Or maybe we will just need to build our own kernels? 2.6.33rc3 is out now at kernel.org, and here is a <a href="http://www.howtoforge.com/kernel_compilation_ubuntu">description</a> (that I have not tried) on how to build a kernel on Ubuntu.</p>
<p>Now if someone could just get the Option 505 3G modem to work on Ubuntu 9.10, I'd be a happy camper.</p>
<blockquote>No, it'll be in 2.6.33.  On Dec 4, 2009 5:56 AM, &quot;foomor&quot; <email address="" hidden=""> wrote:  Has this fix been added to kernel-2.6.32? I am arch linux user, i'd like to know which package should i wait to be updated. Thanks.</email></blockquote>
<p><br />
<br />
Läs mer: <a href="https://bugs.launchpad.net/ubuntu/+source/alsa-driver/+bug/477154">Bug #477154 in alsa-driver (Ubuntu): &ldquo;When headphones are plugged in, the speaker does not get muted automatically.&rdquo;</a></p> 
  
    
  
  

  

]]></content:encoded>



        
        <dc:date>2009-12-23T21:25+00:00</dc:date>
        <dc:modified>2010-01-06 23:56:39</dc:modified>
        
        <dc:creator>jorgen</dc:creator>
        
    </rss:item>
    
    
    
    
    <rss:item rdf:about="http://jorgenmodin.net/index_html/archive/2009/12/21/non-nokia-phone-on-maemo-platform-has-arrived">
        <rss:title>Non Nokia Phone on Maemo platform has arrived</rss:title>
        <rss:link>http://jorgenmodin.net/index_html/archive/2009/12/21/non-nokia-phone-on-maemo-platform-has-arrived</rss:link>       
        



        <content:encoded><![CDATA[<p>Well, at least in China it has, and it is calles Optima OP5-E.&nbsp; It would be cool if we could get many devices on the Maemo platform, since it as far as I can tell supports more development frameworks than Android.</p>
<blockquote>Since I filmed such a great video of it at IFA, OPTIMA TECHNOLOGY(SHENZHEN)CO.,LTD sent me a review sample of their new Optima OP5-E for me to publish an exclusive hands-on video-review. The new Optima OP5-E Maemo Linux based MID is now being released by http://www.chinaoptima.com/ and China Telecom on the Chinese market and they are now looking for global distributors (if many people demand it, there may be a distributor bringing this device to your local 3G telecoms market or sell it unlocked). (contact shkwan@wtpacific.com if you might be interested in ordering 300 units or more).</blockquote>
<p><br />
<br />
Läs mer: <a href="http://armdevices.net/2009/12/06/optima-op5-e-maemo-linux-mid-video-review/">ARMdevices.net &raquo; Blog Archive &raquo; Optima OP5-E Maemo Linux MID video-review</a></p> 
  
    
  
  

  

]]></content:encoded>



        
        <dc:date>2009-12-21T16:37+00:00</dc:date>
        <dc:modified>2009-12-21 16:37:24</dc:modified>
        
        <dc:creator>jorgen</dc:creator>
        
    </rss:item>
    
    
    
    
    <rss:item rdf:about="http://jorgenmodin.net/index_html/archive/2009/12/21/link---coherence---a-python-framework-for-dlna">
        <rss:title>Link - Coherence - a python framework for DLNA</rss:title>
        <rss:link>http://jorgenmodin.net/index_html/archive/2009/12/21/link---coherence---a-python-framework-for-dlna</rss:link>       
        



        <content:encoded><![CDATA[<p>DLNA is a standard for how multimedia components should interact over a network. Coherence seems to supply a lot of functionality for this. I will look into this, and see if I can make the <a href="http://coherence.beebits.net/wiki/UPnP-Inspector#InspectorbrowsingtwoMediaServersandcontrollingtheGStreamerMediaRenderer">Inspector</a> component into an on screen remote control, a bit like how the different clients for mpd (music player daemon) work.</p>
<blockquote>Coherence offers a toolkit including:      * a DLNA/UPnP MediaServer stand-alone application, which exports local/home or on-line media files via its backends to other UPnP clients.     * an audio/video DLNA/UPnP Media renderer stand-alone application, based on the GStreamer framework (early stages).     * an image DLNA/UPnP Media renderer stand-alone application, called Cadre, to be used as a picture frame.     * a standalone UPnP bridge application, called Mirabeau, to share your UPnP content between two or more local networks over the Internet (work in progress).     * a UPnP Device and Service analyzer/debugger tool, called The Inspector , which can also be used as a UPnP control-point.     * some plugins or extensions for other applications to open them to the UPnP world, thanks to the framework (either as media servers, control points or renderers). This includes Totem, Nautilus, Eye Of Gnome, Rythmbox, Banshee, Elisa, amarok..</blockquote>
<p><br />
<br />
<a href="http://coherence.beebits.net/wiki">Coherence - a DLNA/UPnP Framework for the Digital Living - Trac</a></p> 
  
    
  
  

  

]]></content:encoded>



        
        <dc:date>2009-12-21T12:57+00:00</dc:date>
        <dc:modified>2009-12-21 12:58:55</dc:modified>
        
        <dc:creator>jorgen</dc:creator>
        
    </rss:item>
    
    
    
    
    <rss:item rdf:about="http://jorgenmodin.net/index_html/archive/2009/12/19/link---python-vnc-viewer-a-vnc-viewer-written-python">
        <rss:title>Link - python-vnc-viewer, a VNC viewer written python</rss:title>
        <rss:link>http://jorgenmodin.net/index_html/archive/2009/12/19/link---python-vnc-viewer-a-vnc-viewer-written-python</rss:link>       
        



        <content:encoded><![CDATA[<p>Haven't tried it yet, but I am thinking if it might be of use together with some authentication and authorization layers...</p>
<blockquote>Simple VNC viewer that is built with Twisted-Python and pygame. Originally written by Chris Liechti.  The viewer supports the following encodings: Hextile, CoRRE, RRE, RAW, CopyRect  The display is done using pygame because of it's good graphics performance but any GUI system can be used as the code is modular and can easily adapted. Clipboard transfer is supported but not used in the sample application. </blockquote>
<p><br />
<br />
Läs mer: <a href="http://code.google.com/p/python-vnc-viewer/">python-vnc-viewer - Project Hosting on Google Code</a></p> 
  
    
  
  

  

]]></content:encoded>



        
        <dc:date>2009-12-19T14:24+00:00</dc:date>
        <dc:modified>2009-12-19 14:24:49</dc:modified>
        
        <dc:creator>jorgen</dc:creator>
        
    </rss:item>
    
    
    
</rdf:RDF>

