<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
    <title>log.matteo.desimone.name</title>
    <link rel="alternate" type="text/html" href="http://log.matteo.desimone.name/" />
    <link rel="self" type="application/atom+xml" href="http://log.matteo.desimone.name/atom.xml" />
    <id>tag:log.matteo.desimone.name,2010-08-01://2</id>
    <updated>2011-09-07T02:32:30Z</updated>
    <subtitle>my activity log: research and other fun stuffs</subtitle>
    <generator uri="http://www.sixapart.com/movabletype/">Movable Type 5.12</generator>

<entry>
    <title>Upgrading Archlinux and X stops working: Nvidia with wrong ABI version</title>
    <link rel="alternate" type="text/html" href="http://log.matteo.desimone.name/2011/09/nvidia-with-wrong-abi-version.html" />
    <id>tag:log.matteo.desimone.name,2011://2.46</id>

    <published>2011-09-03T11:09:41Z</published>
    <updated>2011-09-07T02:32:30Z</updated>

    <summary> Today I&apos;ve updated my ArchLinux distro and, magically, xserver stops working. In the log file /var/log/Xorg.0.log I found the message: ================ WARNING WARNING WARNING WARNING ================ This server has a video driver ABI version of 11.0 that this driver...</summary>
    <author>
        <name>matteo</name>
        
    </author>
    
        <category term="Linux" scheme="http://www.sixapart.com/ns/types#category" />
    
    <category term="abi" label="ABI" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="disable" label="disable" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="linux" label="linux" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="nvidia" label="nvidia" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="sysadmin" label="sysadmin" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="versions" label="versions" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="wrong" label="wrong" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="xorg" label="xorg" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="xserver" label="xserver" scheme="http://www.sixapart.com/ns/types#tag" />
    
    <content type="html" xml:lang="en" xml:base="http://log.matteo.desimone.name/">
        <![CDATA[<p><img alt="xorg.jpg" src="http://log.matteo.desimone.name/2011/09/03/xorg.jpg" width="200" height="131" class="mt-image-right" style="float: right; margin: 0 0 20px 20px;" />
Today I've updated my ArchLinux distro and, magically, xserver stops working.</p>

<p>In the log file <code>/var/log/Xorg.0.log</code> I found the message:</p>

<pre><code>================ WARNING WARNING WARNING WARNING ================
This server has a video driver ABI version of 11.0 that this
driver does not officially support.  Please check
http://www.nvidia.com/ for driver updates or downgrade to an X
server with a supported driver ABI.
</code></pre>

<p>It could means the drivers are build for a different version of Xorg (older than the current one in ArchLinux). To solve the problem you can disable the check until the new drivers will be availables.</p>

<p>Just create a file in <code>/etc/X11/xorg.conf.d/</code> called <code>20-nvidia.conf</code> with the following code:</p>

<pre><code>Section "ServerFlags"
    Option  "ignoreABI"     "True"
EndSection
</code></pre>

<p>If you aready have this file, just add those lines at the end of it.
After the reboot you'll be able to use the xserver.</p>

<p>Anyway the nvidia drivers warn you in the log file:</p>

<pre><code>(WW) NVIDIA: The driver will continue to load, but may behave stran
gely.
(WW) NVIDIA: This driver was compiled against the X.Org server SDK
from git commit b6c7b9b2f39e970cedb6bc1e073f901e28cb0fa3 and may 
not be compatible with the final version of this SDK.
(WW) NVIDIA: This server has an unsupported input driver ABI versio
n (have 13.0, need &lt; 13.0).  The driver will continue to load, but
may behave strangely.
</code></pre>

<p>and, actually, it behave <strong>strangely</strong> on my pc :-)</p>
]]>
        

    </content>
</entry>

<entry>
    <title>Another script to rename files</title>
    <link rel="alternate" type="text/html" href="http://log.matteo.desimone.name/2011/08/another-script-to-rename-files.html" />
    <id>tag:log.matteo.desimone.name,2011://2.45</id>

    <published>2011-08-21T15:34:33Z</published>
    <updated>2011-09-07T02:34:37Z</updated>

    <summary> I&apos;m posting another small script to rename files. I&apos;m working on files with spaces in their name (Oh! The Evil!) and I need to rename them to remove spaces and conver in camel-case. At this time, I chose Python...</summary>
    <author>
        <name>matteo</name>
        
    </author>
    
        <category term="Linux" scheme="http://www.sixapart.com/ns/types#category" />
    
        <category term="Programming" scheme="http://www.sixapart.com/ns/types#category" />
    
        <category term="Windows" scheme="http://www.sixapart.com/ns/types#category" />
    
    <category term="code" label="code" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="files" label="files" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="linux" label="linux" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="python" label="python" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="renaming" label="renaming" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="tools" label="tools" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="windows" label="windows" scheme="http://www.sixapart.com/ns/types#tag" />
    
    <content type="html" xml:lang="en" xml:base="http://log.matteo.desimone.name/">
        <![CDATA[<p><a href="http://log.matteo.desimone.name/2011/08/21/programmer_mug-p1682924711369532772ln8f_400.jpg"><img alt="programmer_mug-p1682924711369532772ln8f_400.jpg" src="http://log.matteo.desimone.name/assets_c/2011/08/programmer_mug-p1682924711369532772ln8f_400-thumb-200x200-28.jpg" width="200" height="200" class="mt-image-right" style="float: right; margin: 0 20px 20px 0;" /></a>
I'm posting another small script to rename files.</p>

<p>I'm working on files with spaces in their name (Oh! The Evil!) and I need to rename them to remove spaces and conver in <a href="http://en.wikipedia.org/wiki/CamelCase">camel-case</a>.</p>

<p>At this time, I chose Python (version 3) to guarantee the script works also on Windows.</p>

<p>Just create a file called (for example) ToCameCase.py and past into it:</p>

<pre><code>#!/usr/bin/env python3

import sys
import os

if len(sys.argv)&lt;2:
    print("Indicate the file pattern, please")
    exit()

for filename in sys.argv:
    name_tokens = filename.split(" ")
    new_name=""
    for token in name_tokens:
        new_name+=token[0].upper()+token[1:]

    os.rename(filename,new_name)
</code></pre>

<p>From the console call the script passing to it the file name o pattern to rename. 
For example</p>

<pre><code> ToCameCase.py *.obj
</code></pre>

<p>it will convert the name of all the OBJ files in the directory.</p>

<p>Just a warn: it is very simple and <em>only-for-my-usage</em> oriented, so be careful if you use it: read the code and test it before use on your files!</p>
]]>
        

    </content>
</entry>

<entry>
    <title>Upgrading to kernel 3 and the sed story of Grub error 15</title>
    <link rel="alternate" type="text/html" href="http://log.matteo.desimone.name/2011/08/upgrading-to-kernel-3-and-the-sed-story-of-grub-error-15.html" />
    <id>tag:log.matteo.desimone.name,2011://2.44</id>

    <published>2011-08-20T19:40:27Z</published>
    <updated>2011-09-23T14:22:11Z</updated>

    <summary> Calm down: this is an happy-ending story. I&apos;ve recently upgraded my Archlinux machine to linux kernel 3.0. After that, obviously, I haven&apos;t be able to boot my machine because Grub claim the error 15 (file not found). Anyway the...</summary>
    <author>
        <name>matteo</name>
        
    </author>
    
        <category term="Linux" scheme="http://www.sixapart.com/ns/types#category" />
    
    <category term="15" label="15" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="archlinux" label="archlinux" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="boot" label="boot" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="error" label="error" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="grub" label="grub" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="grub2" label="grub2" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="kernel" label="kernel" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="kernel3" label="kernel3" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="linux" label="linux" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="sysadmin" label="sysadmin" scheme="http://www.sixapart.com/ns/types#tag" />
    
    <content type="html" xml:lang="en" xml:base="http://log.matteo.desimone.name/">
        <![CDATA[<p><img alt="P1000074-(Small)-754189.JPG" src="http://log.matteo.desimone.name/2011/08/20/P1000074-%28Small%29-754189.JPG" width="320" height="134" class="mt-image-right" style="float: right; margin: 0 0 20px 20px;" />
Calm down: this is an happy-ending story.</p>

<p>I've recently upgraded my Archlinux machine to <a href="https://lkml.org/lkml/2011/7/21/455">linux kernel 3.0</a>.</p>

<p>After that, obviously, I haven't be able to boot my machine because Grub claim the error 15 (file not found).
Anyway the workaround is easy. The <strong>problem is in the naming convention for the kernel images</strong>. It is different in the new release respect of the old one: the <code>vmlinuz2XX</code> is now <code>vmlinuz-linux</code> and the <code>initrd-2.XX.img</code> is now <code>initramfs-linux.img</code>.</p>

<p><a href="https://bbs.archlinux.org/viewtopic.php?id=124181">This post</a> could be useful.</p>

<p>So when the Grub menu shows up you can press the 'e' key and edit the item to change the name of files. After, boot the system by hitting the 'b' key.</p>

<p>...and remember to properly reconfigure <a href="https://wiki.archlinux.org/index.php/GRUB">Grub</a> (or (Grub2)[https://wiki.archlinux.org/index.php/GRUB2]) before restart linux again... <strong>this is a reminder for myself, obviously</strong>.</p>
]]>
        

    </content>
</entry>

<entry>
    <title>Writers use Emacs...</title>
    <link rel="alternate" type="text/html" href="http://log.matteo.desimone.name/2011/08/writers-use-emacs.html" />
    <id>tag:log.matteo.desimone.name,2011://2.43</id>

    <published>2011-08-20T18:42:52Z</published>
    <updated>2011-08-20T19:30:55Z</updated>

    <summary> ...maybe. I&apos;m collecting some interesting reference about Emacs for writers. I want highlight two post here. The first is Let&apos;s just use Emacs By Urpo Lankinen. He describes exactly my feeling about writers&apos; tools and it faces the Scriveners...</summary>
    <author>
        <name>matteo</name>
        
    </author>
    
        <category term="Creative stuffs" scheme="http://www.sixapart.com/ns/types#category" />
    
        <category term="Linux" scheme="http://www.sixapart.com/ns/types#category" />
    
    <category term="creativewriting" label="creative writing" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="emacs" label="emacs" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="novel" label="novel" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="tools" label="tools" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="writing" label="writing" scheme="http://www.sixapart.com/ns/types#tag" />
    
    <content type="html" xml:lang="en" xml:base="http://log.matteo.desimone.name/">
        <![CDATA[<p><a href="http://en.wikipedia.org/wiki/Ernest_Hemingway"><img alt="hemingway.jpeg" src="http://log.matteo.desimone.name/2011/08/20/hemingway.jpeg" width="320" height="278" class="mt-image-right" style="float: right; margin: 0 0 20px 20px;" /></a>
...maybe. </p>

<p>I'm collecting some interesting reference about Emacs for writers.
I want highlight two post here.</p>

<p>The first is <a href="http://beastwithin.org/users/wwwwolf/fantasy/avarthrel/blog/2011/05/lets-just-use-emacs.html">Let's just use Emacs</a>
By Urpo Lankinen. He describes exactly <strong>my feeling about writers' tools</strong> and it faces the <a href="http://www.literatureandlatte.com/scrivener.php">Scriveners</a> dilemma (buy it, don't buy it).
The post convinced me (I was already convinced actually) that Emacs could be a good tools to write novels. </p>

<p>Anyway a big doubt still stays into the deepest part of my soul: <strong>Emacs could be a distracting tool</strong>. Yes, I know, Emacs is (could be) a minimalist tool and it boosts your writing speed and it helps you to focus on your work and... and... and... but you have to learn it before to gain any sort of advantage form it. If you aren't a Emacs pro, you'll loose a lot of time in trying to be a pro. The main advantage of Scrivener is that you already know all you need to write and you can optimize your performances by learning tips and tricks day by day. 
To be clear, my suggestion is <strong>take your time to learn Emacs</strong>, anyway. This because some day in the future you'll wake up and latest Scrivener release will be full of feature that you'll never use (please <a href="http://www.literatureandlatte.com/about.php">Keith</a> don't!) and the research of the perfect novelist tools will start back again...</p>

<p>The second post that I want link here is <a href="http://www.locusmag.com/Features/2009/01/cory-doctorow-writing-in-age-of.html">Writing in the Age of Distraction</a> by Cory Doctorow. I quote, <em>in toto</em>, this post.</p>

<p>I'd linke to mention also <a href="http://www.therandymon.com/woodnotes/emacs-for-writers/emacs-for-writers.html">The Woodnotes Guide to Emacs for Writers</a> by Randall Wood. I suspect that the document is not fully update but it suggests good hints.</p>
]]>
        

    </content>
</entry>

<entry>
    <title>Nuke on Archlinux</title>
    <link rel="alternate" type="text/html" href="http://log.matteo.desimone.name/2011/05/nuke-on-archlinux.html" />
    <id>tag:log.matteo.desimone.name,2011://2.42</id>

    <published>2011-05-13T17:06:17Z</published>
    <updated>2011-09-07T02:26:16Z</updated>

    <summary>I&apos;ve started my first Nuke fxphd course: it rocks! Anyway I&apos;m in trouble to run FrameCycle (Nuke image sequence player) and - until I&apos;m not able to find a great idea to solve the problem - I&apos;ve installed the open...</summary>
    <author>
        <name>matteo</name>
        
    </author>
    
    <category term="archlinux" label="archlinux" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="compositing" label="compositing" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="linux" label="linux" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="nuke" label="nuke" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="python" label="python" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="vfx" label="vfx" scheme="http://www.sixapart.com/ns/types#tag" />
    
    <content type="html" xml:lang="en" xml:base="http://log.matteo.desimone.name/">
        <![CDATA[<p>I've started my first <a href="http://www.thefoundry.co.uk/">Nuke</a> <a href="http://www.fxphd.com">fxphd</a> course: it rocks!</p>

<p>Anyway I'm in trouble to run FrameCycle (Nuke image sequence player) and - until I'm not able to find a great idea to solve the problem - I've installed the open source alternative <a href="http://djv.sourceforge.net/">DJV</a>: you have to just download it, untar and set some <a href="http://djv.sourceforge.net/install.html">enviroment variable</a>.</p>

<p>Here you can find a Nuke python script to use DJV for flipbook preview: <a href="http://www.creativecrash.com/nuke/downloads/scripts-plugins/c/flipbook-with-djv-view">http://www.creativecrash.com/nuke/downloads/scripts-plugins/c/flipbook-with-djv-view</a></p>
]]>
        

    </content>
</entry>

<entry>
    <title>Developing a multitouch table - test #1</title>
    <link rel="alternate" type="text/html" href="http://log.matteo.desimone.name/2011/05/developing-a-multitouch-table---test-1.html" />
    <id>tag:log.matteo.desimone.name,2011://2.41</id>

    <published>2011-05-12T08:00:21Z</published>
    <updated>2011-09-19T12:52:21Z</updated>

    <summary> Click to Play I&apos;m working on a double technology multitouch table. We are going to fuse the FTIR technology to the DI technology.In this video you can see some tests about the DI equipment....</summary>
    <author>
        <name>matteo</name>
        
    </author>
    
        <category term="Multitouch" scheme="http://www.sixapart.com/ns/types#category" />
    
    <category term="communitycorevision" label="community core vision" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="diffusion" label="diffusion" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="linux" label="linux" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="multitouch" label="multitouch" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="pymt" label="pymt" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="python" label="python" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="test" label="test" scheme="http://www.sixapart.com/ns/types#tag" />
    
    <content type="html" xml:lang="en" xml:base="http://log.matteo.desimone.name/">
        <![CDATA[<p><center>                                                            <script type="text/javascript" src="http://blip.tv/scripts/pokkariPlayer.js?ver=2eb2f03f"></script>                 <script type="text/javascript" src="http://blip.tv/syndication/write_player?skin=js&amp;posts_id=5153049&amp;source=3&amp;autoplay=true&amp;file_type=flv&amp;player_width=&amp;player_height="></script>                   <div id="blip_movie_content_5153049">                   <a rel="enclosure" href="http://blip.tv/file/get/Matteodesimone-DevelopingAMultitouchTableTest1363.mov" onclick="play_blip_movie_5153049(); return false;"><img title="Click to play" alt="Video thumbnail. Click to play"  src="http://blip.tv/file/get/Matteodesimone-DevelopingAMultitouchTableTest1363.mov.jpg" border="0" title="Click to Play" /></a>                 <br />                  <a rel="enclosure" href="http://blip.tv/file/get/Matteodesimone-DevelopingAMultitouchTableTest1363.mov" onclick="play_blip_movie_5153049(); return false;">Click to Play</a>                    </div>                                      </center><div class="blip_description">I'm working on a double technology multitouch table. We are going to fuse the FTIR technology to the DI technology.In this video you can see some tests about the DI equipment.</div></p>
]]>
        

    </content>
</entry>

<entry>
    <title>Python lib installer for 64bit windows systems</title>
    <link rel="alternate" type="text/html" href="http://log.matteo.desimone.name/2011/04/python-tools-for-64bit-windows-systems.html" />
    <id>tag:log.matteo.desimone.name,2011://2.40</id>

    <published>2011-04-02T13:47:14Z</published>
    <updated>2011-10-19T00:51:28Z</updated>

    <summary>I&apos;m developing tools to support automatic tasks in a multi-system enviroment for the web radio RadioOhm. To install additional python libraries on my Win7 64bit, I downloaded the easy_install windows installer and I tryed to launch it. I realized that...</summary>
    <author>
        <name>matteo</name>
        
    </author>
    
        <category term="Programming" scheme="http://www.sixapart.com/ns/types#category" />
    
        <category term="Windows" scheme="http://www.sixapart.com/ns/types#category" />
    
    <category term="64bit" label="64 bit" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="install" label="install" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="python" label="python" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="seven" label="seven" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="windows" label="windows" scheme="http://www.sixapart.com/ns/types#tag" />
    
    <content type="html" xml:lang="en" xml:base="http://log.matteo.desimone.name/">
        <![CDATA[<p>I'm developing tools to support automatic tasks in a multi-system enviroment for the web radio <a href="http://www.radioohm.it">RadioOhm</a>.</p>

<p>To install additional python libraries on my Win7 64bit, I downloaded the <a href="http://peak.telecommunity.com/DevCenter/EasyInstall">easy_install</a> windows installer and I tryed to launch it.</p>

<p>I realized that the official python website site provides only the 32bit version of the package so the installer fail to find the Python installation.</p>

<p>But this is an happy-ending story. I surfed the Net and I found this website where you can find windows installer for a lot of python library compiled for the 64bit environment. 
Enjoy it!</p>

<p><a href="http://www.lfd.uci.edu/~gohlke/pythonlibs/">http://www.lfd.uci.edu/~gohlke/pythonlibs/</a></p>
]]>
        

    </content>
</entry>

<entry>
    <title>Be an Emacs pro</title>
    <link rel="alternate" type="text/html" href="http://log.matteo.desimone.name/2011/02/be-an-emacs-pro.html" />
    <id>tag:log.matteo.desimone.name,2011://2.38</id>

    <published>2011-02-24T13:33:03Z</published>
    <updated>2011-10-14T18:39:38Z</updated>

    <summary>I saw a interesting page that explain how to be more productive by Emacs. Read it, it is awesome: http://sites.google.com/site/steveyegge2/effective-emacs...</summary>
    <author>
        <name>matteo</name>
        
    </author>
    
        <category term="Linux" scheme="http://www.sixapart.com/ns/types#category" />
    
        <category term="Programming" scheme="http://www.sixapart.com/ns/types#category" />
    
    <category term="emacs" label="emacs" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="programming" label="programming" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="tips" label="tips" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="tricks" label="tricks" scheme="http://www.sixapart.com/ns/types#tag" />
    
    <content type="html" xml:lang="en" xml:base="http://log.matteo.desimone.name/">
        <![CDATA[<p>I saw a interesting page that explain how to be more productive by Emacs.</p>

<p>Read it, it is awesome: <a href="http://sites.google.com/site/steveyegge2/effective-emacs">http://sites.google.com/site/steveyegge2/effective-emacs</a></p>
]]>
        

    </content>
</entry>

<entry>
    <title>Python tries to install packages in a directory that not read &quot;.pth&quot; files</title>
    <link rel="alternate" type="text/html" href="http://log.matteo.desimone.name/2010/11/python-tries-to-install-packages-in-a-directory-that-not-read-pth-files.html" />
    <id>tag:log.matteo.desimone.name,2010://2.37</id>

    <published>2010-11-18T18:42:38Z</published>
    <updated>2011-08-22T04:37:07Z</updated>

    <summary>I compiled VTK and ITK libraries on both Debian and Archlinux machines. On these machines I love to be clean and neat so: - all the software and libs installed by apt-get/pacman are in the dir /usr - all the...</summary>
    <author>
        <name>matteo</name>
        
    </author>
    
        <category term="Linux" scheme="http://www.sixapart.com/ns/types#category" />
    
    <category term="archlinux" label="archlinux" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="debian" label="debian" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="itk" label="itk" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="python" label="python" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="vtk" label="vtk" scheme="http://www.sixapart.com/ns/types#tag" />
    
    <content type="html" xml:lang="en" xml:base="http://log.matteo.desimone.name/">
        <![CDATA[<p>I compiled <a href="http://www.vtk.org">VTK</a> and <a href="http://www.itk.org">ITK</a> libraries on both Debian and Archlinux machines.</p>

<p>On these machines I love to be clean and neat so:
- all the software and libs installed by <code>apt-get</code>/<code>pacman</code> are in the dir <code>/usr</code>
- all the libs and software manually compiled are installed in the dir <code>/usr/local</code>
<a href="http://log.matteo.desimone.name/2010/11/compiling-vtk-and-python-support-on-debian.html">Sometime</a> this introduces some path problems.</p>

<p>For example, installing manually Python packages, I found a "<code>bad install directory or PYTHONPATH</code>" error and a message like this:</p>

<pre><code>"You are attempting to install a package to a directory that is not
on PYTHONPATH and which Python does not read ".pth" files from. "
</code></pre>

<p>It means that I'm going to install the Python package in a directory that is not in the search PATH of your Python system. The system looks for packages in <code>/usr/lib/pythonX.X/site-packages</code> but I'm going to install in <code>/usr/local/lib/pythonX.X/site-packages</code>.</p>

<p>In this case, I love the <a href="http://packages.python.org/distribute/easy_install.html#administrator-installation">Python solution</a> and so:
-   Create a file named <code>altinstall.pth</code> (or use the preferred file name just with the <code>.pth</code> extension) containing the code:
    import os, site; site.addsitedir(os.path.expanduser('/usr/local/lib/pythonX.X/site-packages'))
-   Put this site in your system python site-packages dir: <code>/usr/lib/pythonX.X/site-packages</code></p>

<p>Now your Python know where are you new python modules!
Clean and easy-to-maintain solution!</p>

<p><strong>P.S</strong></p>

<p>If you need add the <code>/usr/local/bin</code> to your system path
follow the same idea and create a file in <code>/etc/profile.d/</code> with the code: <code>export PATH=$PATH:/usr/local/bin</code></p>
]]>
        

    </content>
</entry>

<entry>
    <title>Error importing vtk python module: a clean solution</title>
    <link rel="alternate" type="text/html" href="http://log.matteo.desimone.name/2010/11/compiling-vtk-and-python-support-on-debian.html" />
    <id>tag:log.matteo.desimone.name,2010://2.36</id>

    <published>2010-11-17T16:58:22Z</published>
    <updated>2010-11-18T18:38:16Z</updated>

    <summary>Well, after compiling your VTK (with Python support) on a Debian (or Archlinux), you could receive an error similar to this form python interpeter if you import vtk module: ImportError: libvtkCommonPythonD.so.5.7: cannot open shared object file: No such file or...</summary>
    <author>
        <name>matteo</name>
        
    </author>
    
        <category term="Computer Graphics" scheme="http://www.sixapart.com/ns/types#category" />
    
        <category term="Linux" scheme="http://www.sixapart.com/ns/types#category" />
    
    <category term="archlinux" label="archlinux" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="debian" label="debian" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="developing" label="developing" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="python" label="python" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="sysadmin" label="sysadmin" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="vtk" label="vtk" scheme="http://www.sixapart.com/ns/types#tag" />
    
    <content type="html" xml:lang="en" xml:base="http://log.matteo.desimone.name/">
        <![CDATA[<p>Well,
after compiling your <a href="http://www.vtk.org/">VTK</a> (with Python support) on a Debian (or Archlinux), you could receive an error similar to this form python interpeter if you <code>import vtk</code> module:</p>

<pre><code>ImportError: libvtkCommonPythonD.so.5.7: cannot open shared object file: No such file or directory
</code></pre>

<p>This occurs because VTK installer puts all shared libraries in a subdirectory of <code>/usr/local/lib</code>
Solve it by creating a file called <code>vtk.conf</code> in <code>/etc/ld.so.conf.d/</code> directory.
In this file, put the path to VTK libs, for example:
    /usr/local/lib/vtk-5.7/</p>

<p>And so, launch (as root) the command <code>ldconfig</code> to update the shared library path cache.</p>

<p>This is a <strong>clean way</strong> to solve the problem: avoid symbolic links, copy/paste files or setting <em>mess-oriented</em> enviroment variable as PYTHONPATH and LD_LIBRARY_PATH, please!</p>
]]>
        

    </content>
</entry>

<entry>
    <title>Fluido - 4 hour short movie competition</title>
    <link rel="alternate" type="text/html" href="http://log.matteo.desimone.name/2010/11/fluido---4-hour-short-movie-competition.html" />
    <id>tag:log.matteo.desimone.name,2010://2.35</id>

    <published>2010-11-11T14:55:14Z</published>
    <updated>2010-11-11T14:55:14Z</updated>

    <summary> Click to Play Last summer, my friend Matteo Maso (http://matteomaso.blogspot.com/) and me had partecipated to the &quot;Pennoire in corto&quot; competition: 4 hours to make one minute long video about the live in the disco-bar &quot;Fluido&quot; in Turin. This is...</summary>
    <author>
        <name>matteo</name>
        
    </author>
    
    
    <content type="html" xml:lang="en" xml:base="http://log.matteo.desimone.name/">
        <![CDATA[<p><center>                                                            <script type="text/javascript" src="http://blip.tv/scripts/pokkariPlayer.js?ver=2009070701"></script>                   <script type="text/javascript" src="http://blip.tv/syndication/write_player?skin=js&amp;posts_id=4368465&amp;source=3&amp;autoplay=true&amp;file_type=flv&amp;player_width=&amp;player_height="></script>                   <div id="blip_movie_content_4368465">                   <a rel="enclosure" href="http://blip.tv/file/get/Matteodesimone-Fluido4HourShortMovieCompetition522.mov" onclick="play_blip_movie_4368465(); return false;"><img title="Click to play" alt="Video thumbnail. Click to play"  src="http://blip.tv/file/get/Matteodesimone-Fluido4HourShortMovieCompetition522.mov.jpg" border="0" title="Click to Play" /></a>                   <br />                  <a rel="enclosure" href="http://blip.tv/file/get/Matteodesimone-Fluido4HourShortMovieCompetition522.mov" onclick="play_blip_movie_4368465(); return false;">Click to Play</a>                   </div>                                      </center><div class="blip_description">Last summer, my friend Matteo Maso (http://matteomaso.blogspot.com/) and me had partecipated to the "Pennoire in corto" competition: 4 hours to make one minute long video about the live in the disco-bar "Fluido" in Turin. This is our (revised) result.</div></p>
]]>
        

    </content>
</entry>

<entry>
    <title>Demo reel 2010</title>
    <link rel="alternate" type="text/html" href="http://log.matteo.desimone.name/2010/11/demo-reel-2010.html" />
    <id>tag:log.matteo.desimone.name,2010://2.34</id>

    <published>2010-11-11T14:55:05Z</published>
    <updated>2010-11-11T14:55:05Z</updated>

    <summary> Click to Play This is a short reel of current projects and researches....</summary>
    <author>
        <name>matteo</name>
        
    </author>
    
    
    <content type="html" xml:lang="en" xml:base="http://log.matteo.desimone.name/">
        <![CDATA[<p><center>                                                            <script type="text/javascript" src="http://blip.tv/scripts/pokkariPlayer.js?ver=2009070701"></script>                   <script type="text/javascript" src="http://blip.tv/syndication/write_player?skin=js&amp;posts_id=4324490&amp;source=3&amp;autoplay=true&amp;file_type=flv&amp;player_width=&amp;player_height="></script>                   <div id="blip_movie_content_4324490">                   <a rel="enclosure" href="http://blip.tv/file/get/Matteodesimone-DemoReel2010242.m4v" onclick="play_blip_movie_4324490(); return false;"><img title="Click to play" alt="Video thumbnail. Click to play"  src="http://blip.tv/file/get/Matteodesimone-DemoReel2010242.m4v.jpg" border="0" title="Click to Play" /></a>                   <br />                  <a rel="enclosure" href="http://blip.tv/file/get/Matteodesimone-DemoReel2010242.m4v" onclick="play_blip_movie_4324490(); return false;">Click to Play</a>                   </div>                                      </center><div class="blip_description">This is a short reel of current projects and researches.</div></p>
]]>
        

    </content>
</entry>

<entry>
    <title>Open Source for Microsoft Kinetic</title>
    <link rel="alternate" type="text/html" href="http://log.matteo.desimone.name/2010/11/opens-source-for-microsoft-kinetic.html" />
    <id>tag:log.matteo.desimone.name,2010://2.33</id>

    <published>2010-11-11T14:33:00Z</published>
    <updated>2011-08-22T06:43:19Z</updated>

    <summary>I received this link: http://git.marcansoft.com/?p=libfreenect.git It is a open source window driver for the innovative Microsofr Kinetic device. More details about this low cost device which will be a revolution for consumer experience here. Anyway, no open source SDK is...</summary>
    <author>
        <name>matteo</name>
        
    </author>
    
    <category term="driver" label="driver" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="kinetic" label="kinetic" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="microsoft" label="microsoft" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="opensource" label="open source" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="windows" label="windows" scheme="http://www.sixapart.com/ns/types#tag" />
    
    <content type="html" xml:lang="en" xml:base="http://log.matteo.desimone.name/">
        <![CDATA[<p>I received this link:
<a href="http://git.marcansoft.com/?p=libfreenect.git">http://git.marcansoft.com/?p=libfreenect.git</a>
It is a open source window driver for the innovative <a href="http://www.businessinsider.com/microsoft-xbox-360-kinetic-is-wonderful-2010-6?utm_source=feedburner&amp;utm_medium=feed&amp;utm_campaign=Feed%3A+typepad%2Falleyinsider%2Fsilicon_alley_insider+%28Silicon+Alley+Insider%29">Microsofr Kinetic</a> device. More details about this low cost device which will be a revolution for consumer experience <a href="http://www.businessinsider.com/microsoft-xbox-360-kinetic-is-wonderful-2010-6?utm_source=feedburner&amp;utm_medium=feed&amp;utm_campaign=Feed%3A+typepad%2Falleyinsider%2Fsilicon_alley_insider+%28Silicon+Alley+Insider%29">here</a>.</p>

<p><object width="640" height="385"><param name="movie" value="http://www.youtube.com/v/TLwyAnGAKW8?fs=1&amp;hl=it_IT&amp;rel=0"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/TLwyAnGAKW8?fs=1&amp;hl=it_IT&amp;rel=0" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="640" height="385"></embed></object></p>

<p>Anyway, no open source SDK is available, and I think the most valuable part of the Kinetic technology is in it. </p>
]]>
        

    </content>
</entry>

<entry>
    <title>Requiescat imago - previz video</title>
    <link rel="alternate" type="text/html" href="http://log.matteo.desimone.name/2010/11/requiescat-imago---previz-video.html" />
    <id>tag:log.matteo.desimone.name,2010://2.32</id>

    <published>2010-11-07T22:50:15Z</published>
    <updated>2010-11-07T22:50:15Z</updated>

    <summary> Click to Play This is a video made for preview and design the artistic event &quot;Requiescat imago&quot;. More info: http://www.requiescat.it (Italian only) Thanks to Andrea Martina (http://www.andreamartina.info) who made part of 3D models: he did great job in a...</summary>
    <author>
        <name>matteo</name>
        
    </author>
    
    
    <content type="html" xml:lang="en" xml:base="http://log.matteo.desimone.name/">
        <![CDATA[<p><center>                                                            <script type="text/javascript" src="http://blip.tv/scripts/pokkariPlayer.js?ver=2009070701"></script>                   <script type="text/javascript" src="http://blip.tv/syndication/write_player?skin=js&amp;posts_id=4364862&amp;source=3&amp;autoplay=true&amp;file_type=flv&amp;player_width=&amp;player_height="></script>                   <div id="blip_movie_content_4364862">                   <a rel="enclosure" href="http://blip.tv/file/get/Matteodesimone-RequiescatImagoPrevizVideo232.mov" onclick="play_blip_movie_4364862(); return false;"><img title="Click to play" alt="Video thumbnail. Click to play"  src="http://blip.tv/file/get/Matteodesimone-RequiescatImagoPrevizVideo232.mov.jpg" border="0" title="Click to Play" /></a>                   <br />                  <a rel="enclosure" href="http://blip.tv/file/get/Matteodesimone-RequiescatImagoPrevizVideo232.mov" onclick="play_blip_movie_4364862(); return false;">Click to Play</a>                 </div>                                      </center><div class="blip_description">This is a video made for preview and design the artistic event "Requiescat imago". More info: http://www.requiescat.it (Italian only) Thanks to Andrea Martina (http://www.andreamartina.info) who made part of 3D models: he did great job in a very short time. Tools: Houdini, Final Cut, Shake, Maya</div></p>
]]>
        

    </content>
</entry>

<entry>
    <title>Some link form View Conference</title>
    <link rel="alternate" type="text/html" href="http://log.matteo.desimone.name/2010/11/some-link-form-view-conference.html" />
    <id>tag:log.matteo.desimone.name,2010://2.30</id>

    <published>2010-11-01T14:20:52Z</published>
    <updated>2010-11-01T16:02:43Z</updated>

    <summary> The last week I was at the View Conference, the international computer graphics conference in Turin. Here I&apos;m pasting some link that I collected during talks. Software Alchemy: 2D creative drawing open source software. The idea behind the software...</summary>
    <author>
        <name>matteo</name>
        
    </author>
    
        <category term="Computer Graphics" scheme="http://www.sixapart.com/ns/types#category" />
    
    <category term="computer" label="computer" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="conference" label="conference" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="graphics" label="graphics" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="vfx" label="vfx" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="view" label="view" scheme="http://www.sixapart.com/ns/types#tag" />
    
    <content type="html" xml:lang="en" xml:base="http://log.matteo.desimone.name/">
        <![CDATA[<p><img alt="10695159-view-2010.jpg" src="http://log.matteo.desimone.name/2010/11/01/10695159-view-2010.jpg" width="236" height="200" class="mt-image-right" style="float: left; margin: 0 0 20px 20px;" />
The last week I was at the <a href="http://www.viewconference.it">View Conference</a>, the international computer graphics conference in Turin. 
Here I'm pasting some link that I collected during talks.</p>

<h2>Software</h2>

<ul>
<li><a href="http://al.chemy.org/">Alchemy</a>: 2D creative drawing open source software. The idea behind the software is very cool.</li>
<li><a href="http://mypaint.intilinux.com">My Paint</a>: Opens source clone of <a href="http://www.autodesk.it/adsk/servlet/index?siteID=457036&amp;id=12382970">Auteodesk Sketchbook</a>. Infinite size canvas, artist-centric user interface are the strongest ideas of this software.</li>
<li><a href="http://www.gimp.org/tutorials/Using_GAP/">Gimp Animation Plugin</a>: a plug-in for GIMP focused on animation. To try as alternative to Photoshop.</li>
<li><a href="http://www.3delight.com/en/">3Delight</a>: RenderMan compliant professional render totally free of charge (also for commercial use). A good start before buying RenderMan.  If you are a student or educator, any way, RenderMan <a href="http://www.journeyed.com/dept/Brands/Pixar/285563">licenses are affordable</a>.</li>
</ul>

<h2>Books</h2>

<ul>
<li><a href="http://en.wikipedia.org/wiki/Snow_Crash">Snow Crash</a> by Neal Stephenson. The book was cited by the [prof. Perlin] speaking about computer/human interfaces. You can find some futuristic ideas in this book.</li>
<li><a href="http://en.wikipedia.org/wiki/The_Hero_with_a_Thousand_Faces">The hero with a Thousand Faces</a> by Joseph Campbell. <a href="http://www.imdb.com/name/nm0426333/">Tim Johnson</a> refers to it as a fundamental book for storytellers. I agree.</li>
</ul>

<h2>Videos</h2>

<ul>
<li><a href="http://vimeo.com/7958079">Magic Projection</a>: innovative user interface in illusionism.</li>
<li><a href="http://www.youtube.com/watch?v=fF5g2i8_HM8">What Matters to Me</a>: concept video about the perfect futuristic user interface</li>
</ul>

<p>And the website of the VFX italian artist <a href="http://www.luceri.it">Fernando Luceri</a> who I met at View Conference: tons of smart and great tip&amp;tricks for Blender user.</p>
]]>
        

    </content>
</entry>

</feed>

