<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="wordpress/2.0.2" -->
<rss version="2.0" 
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	>

<channel>
	<title>Nuno Mariz Weblog</title>
	<link>http://nmariz.estadias.com</link>
	<description>apt-get install weblog</description>
	<pubDate>Mon, 12 Mar 2007 14:14:01 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.0.2</generator>
	<language>en</language>
			<item>
		<title>New weblog</title>
		<link>http://nmariz.estadias.com/archives/52</link>
		<comments>http://nmariz.estadias.com/archives/52#comments</comments>
		<pubDate>Mon, 12 Mar 2007 14:12:46 +0000</pubDate>
		<dc:creator>Nuno Mariz</dc:creator>
		
	<category>Whatever...</category>
		<guid isPermaLink="false">http://nmariz.estadias.com/archives/52</guid>
		<description><![CDATA[This the last post in this URL.
I&#8217;ve moved this weblog to http://mariz.org, please update your bookmark.

]]></description>
			<content:encoded><![CDATA[<p>This the last post in this URL.<br />
I&#8217;ve moved this weblog to <a href="http://mariz.org">http://mariz.org</a>, please update your bookmark.
</p>
]]></content:encoded>
			<wfw:commentRSS>http://nmariz.estadias.com/archives/52/feed/</wfw:commentRSS>
		</item>
		<item>
		<title>Mac OS X: decoder jpeg not available</title>
		<link>http://nmariz.estadias.com/archives/51</link>
		<comments>http://nmariz.estadias.com/archives/51#comments</comments>
		<pubDate>Fri, 26 Jan 2007 12:07:31 +0000</pubDate>
		<dc:creator>Nuno Mariz</dc:creator>
		
	<category>Mac</category>
	<category>Python</category>
	<category>Django</category>
		<guid isPermaLink="false">http://nmariz.estadias.com/archives/51</guid>
		<description><![CDATA[
If you are using PIL(Python Imaging Library) on Mac OS X(Tiger), you will probably have a &#8220;decoder jpeg not available&#8221; when resizing a jpeg image.
This probably means that PIL doesn&#8217;t have JPEG support, because libjpeg wasn&#8217;t found when PIL was being configured. 
Here is the solution:


Download, compile and install jpeglib and zlib


Edit PIL setup.py and [...]]]></description>
			<content:encoded><![CDATA[<div valign="top">
If you are using <a href="http://www.pythonware.com/products/pil/" target="blank" />PIL</a>(Python Imaging Library) on Mac OS X(Tiger), you will probably have a <i>&#8220;decoder jpeg not available&#8221;</i> when resizing a jpeg image.<br />
This probably means that PIL doesn&#8217;t have JPEG support, because libjpeg wasn&#8217;t found when PIL was being configured. <br />
Here is the solution:</p>
<ul>
<li>
Download, compile and install <a href="http://www.ijg.org/files/jpegsrc.v6b.tar.gz" target="_blank">jpeglib</a> and <a href="http://www.zlib.net/" target="_blank">zlib</a>
</li>
<li>
Edit <a href="http://www.pythonware.com/products/pil/" target="blank" />PIL</a> setup.py and change to:</p>
<pre id="code">
JPEG_ROOT = "/usr/local/include"
ZLIB_ROOT = "/usr/local/include"
</pre>
</li>
<li>
Compile:</p>
<pre id="code">
python setup.py build_ext -i
</pre>
</li>
<li>
Test:</p>
<pre id="code">
python selftest.py
</pre>
</li>
<li>
If the result is something like this:</p>
<pre id="code">
"57 tests passed."
</pre>
</li>
<li>
You are ready to go:</p>
<pre id="code">
python setup.py install
</pre>
</li>
</ul>
</div>
]]></content:encoded>
			<wfw:commentRSS>http://nmariz.estadias.com/archives/51/feed/</wfw:commentRSS>
		</item>
		<item>
		<title>New year&#8230;</title>
		<link>http://nmariz.estadias.com/archives/50</link>
		<comments>http://nmariz.estadias.com/archives/50#comments</comments>
		<pubDate>Wed, 10 Jan 2007 00:21:47 +0000</pubDate>
		<dc:creator>Nuno Mariz</dc:creator>
		
	<category>Whatever...</category>
		<guid isPermaLink="false">http://nmariz.estadias.com/archives/50</guid>
		<description><![CDATA[
New year&#8230;
New job&#8230;
New programming language&#8230;
New laptop&#8230;
New life!

]]></description>
			<content:encoded><![CDATA[<div valign="top">
New year&#8230;<br />
New <a href="http://www.infoportugal.pt" target="_blank">job</a>&#8230;<br />
New <a href="http://www.python.org" target="_blank">programming language</a>&#8230;<br />
New <a href="http://store.apple.com/1-800-MY-APPLE/WebObjects/AppleStore.woa/wa/RSLID?mco=925997E8&#038;nclm=MacBookPro" target="_blank">laptop</a>&#8230;<br />
New <a href="http://nmariz.estadias.com/archives/49">life!</a>
</div>
]]></content:encoded>
			<wfw:commentRSS>http://nmariz.estadias.com/archives/50/feed/</wfw:commentRSS>
		</item>
		<item>
		<title>Back from Honeymoon</title>
		<link>http://nmariz.estadias.com/archives/49</link>
		<comments>http://nmariz.estadias.com/archives/49#comments</comments>
		<pubDate>Sun, 05 Nov 2006 20:40:02 +0000</pubDate>
		<dc:creator>Nuno Mariz</dc:creator>
		
	<category>Wedding</category>
		<guid isPermaLink="false">http://nmariz.estadias.com/archives/49</guid>
		<description><![CDATA[
I&#8217;m back from our honeymoon, this is the first post as married status.
Our honeymoon was full of adventure, we had a forced stop in Doha(Qatar) for about 12 hours, caused by another delay at London Heathrow airport, due to our airplane being struck by lighting.
Although this seems a nightmare, it turned out to be quite [...]]]></description>
			<content:encoded><![CDATA[<div valign="top">
I&#8217;m back from our <a href="http://nmariz.estadias.com/archives/43" target="_blank">honeymoon</a>, this is the first post as <a href="http://nmariz.estadias.com/archives/18" target="_blank">married</a> status.<br />
Our honeymoon was full of adventure, we had a forced stop in Doha(Qatar) for about 12 hours, caused by another delay at London Heathrow airport, due to our airplane being struck by lighting.<br />
Although this seems a nightmare, it turned out to be quite fun as we met a lot of interesting people. Among them was a nice couple of portuguese(Valter and Catarina from Naza - private joke;)), that continued the journey with us to <a href="http://www.meeru.com/" target="_blank">Meeru Island</a>. We miss you guys!<br />
Resume: Simply delicious, paradise on earth, fantastic!<br />
You can view some photos <a href="http://flickr.com/photos/nmariz/sets/72157594361878500/" target="_blank">here</a>.
</div>
]]></content:encoded>
			<wfw:commentRSS>http://nmariz.estadias.com/archives/49/feed/</wfw:commentRSS>
		</item>
		<item>
		<title>Python 2.5 is out!</title>
		<link>http://nmariz.estadias.com/archives/48</link>
		<comments>http://nmariz.estadias.com/archives/48#comments</comments>
		<pubDate>Tue, 19 Sep 2006 14:50:49 +0000</pubDate>
		<dc:creator>Nuno Mariz</dc:creator>
		
	<category>Python</category>
		<guid isPermaLink="false">http://nmariz.estadias.com/archives/48</guid>
		<description><![CDATA[

Python 2.5 is the latest major release of Python.
As Guido it promised,  wsgiref was added to the Python 2.5 Standard Library. For those who don&#8217;t know what wsgi is, read this.
You can find what&#8217;s new in Python 2.5 here

]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.python.org" target="_blank"><img src="http://nmariz.estadias.com/files/images/logo_python.gif" border="0" align="right" style="padding-left: 5px; padding-bottom: 5px; padding-top: 10px;" title="Python" alt="Python" /></a></p>
<div valign="top">
Python 2.5 is the latest major release of <a href="http://www.python.org" target="_blank">Python</a>.<br />
As Guido <a href="http://www.artima.com/weblogs/viewpost.jsp?thread=158191" target="_blank">it promised</a>,  wsgiref was <a href="http://docs.python.org/dev/whatsnew/modules.html#SECTION0001450000000000000000" target="_blank">added</a> to the Python 2.5 Standard Library. For those who don&#8217;t know what wsgi is, read <a href="http://www.python.org/dev/peps/pep-0333/" target="_blank">this</a>.<br />
You can find what&#8217;s new in Python 2.5 <a href="http://docs.python.org/dev/whatsnew/whatsnew25.html" target="_blank">here</a>
</div>
]]></content:encoded>
			<wfw:commentRSS>http://nmariz.estadias.com/archives/48/feed/</wfw:commentRSS>
		</item>
		<item>
		<title>Pro Django: Web Development Done Right</title>
		<link>http://nmariz.estadias.com/archives/47</link>
		<comments>http://nmariz.estadias.com/archives/47#comments</comments>
		<pubDate>Fri, 01 Sep 2006 23:00:20 +0000</pubDate>
		<dc:creator>Nuno Mariz</dc:creator>
		
	<category>Django</category>
		<guid isPermaLink="false">http://nmariz.estadias.com/archives/47</guid>
		<description><![CDATA[

The first book about Django was released is available for pre-order at amazon.
The authors are Adrian Holovaty and Jacob Kaplan-Moss, both involved in the project.
This book will definitively be my next buy.

The first part of the book introduces Django fundamentals like installation and configuration. You’ll learn about creating the components that power a Django-driven web [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.apress.com/book/bookDisplay.html?bID=10176" target="_blank"><img src="http://nmariz.estadias.com/files/images/bcm.gif" border="0" align="right" style="padding-left: 5px; padding-bottom: 5px; padding-top: 10px;" title="Pro Django: Web Development Done Right" alt="Pro Django: Web Development Done Right" /></a></p>
<div valign="top">
The first book about <a href="http://www.djangoproject.com" target="_blank">Django</a> <s>was released</s> is available for <a href="http://www.amazon.co.uk/gp/product/1590597257/ref=wl_it_dp/202-4084022-9966250?ie=UTF8&#038;coliid=IDYZ8S9BQYIBI&#038;colid=323FB57XK1TZS" target="_blank">pre-order</a> at <a href="http://www.amazon.co.uk/" target="_blank">amazon</a>.<br />
The authors are <a href="http://www.holovaty.com/" target="_blank">Adrian Holovaty</a> and <a href="http://www.jacobian.org/" target="_blank">Jacob Kaplan-Moss</a>, both involved in the <a href="http://www.djangoproject.com" alt="Django Project" text="Django Project" target="_blank">project</a>.<br />
This book will definitively be my next buy.</p>
<blockquote><p>
The first part of the book introduces Django fundamentals like installation and configuration. You’ll learn about creating the components that power a Django-driven web site. The second part delves into the more sophisticated features of Django, like outputting non-HTML content (such as RSS feeds and PDFs), plus caching and user management. The third part serves as a detailed reference to Django’s many configuration options and commands. The book even includes seven appendixes for looking up configurations options and commands. In all, this book provides the ultimate tutorial and reference to the popular Django framework.
</p></blockquote>
</div>
]]></content:encoded>
			<wfw:commentRSS>http://nmariz.estadias.com/archives/47/feed/</wfw:commentRSS>
		</item>
		<item>
		<title>Terminal colors on Mac</title>
		<link>http://nmariz.estadias.com/archives/46</link>
		<comments>http://nmariz.estadias.com/archives/46#comments</comments>
		<pubDate>Wed, 23 Aug 2006 23:33:35 +0000</pubDate>
		<dc:creator>Nuno Mariz</dc:creator>
		
	<category>Mac</category>
		<guid isPermaLink="false">http://nmariz.estadias.com/archives/46</guid>
		<description><![CDATA[
Trivial but useful.
If you are using bash, just edit your .profile (explanation):

# colors
export CLICOLOR=1
export TERM=xterm-color
export LSCOLORS=gxgxcxdxbxegedabagacad  # cyan directories
export PS1='\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;36m\]\w\[\033[00m\]\$ '


]]></description>
			<content:encoded><![CDATA[<div>
Trivial but useful.<br />
If you are using <a href="http://www.gnu.org/software/bash/" alt="bash" title="bash" target="_blank">bash</a>, just edit your <code>.profile</code> (<a target="_blank" href="http://www.quotedprintable.com/articles/2006/01/13/comfortable-color-cli">explanation</a>):</p>
<pre id="code">
# colors
export CLICOLOR=1
export TERM=xterm-color
export LSCOLORS=gxgxcxdxbxegedabagacad  # cyan directories
export PS1='\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;36m\]\w\[\033[00m\]\$ '
</pre>
</div>
]]></content:encoded>
			<wfw:commentRSS>http://nmariz.estadias.com/archives/46/feed/</wfw:commentRSS>
		</item>
		<item>
		<title>Django is the favourite of Guido van Rossum</title>
		<link>http://nmariz.estadias.com/archives/45</link>
		<comments>http://nmariz.estadias.com/archives/45#comments</comments>
		<pubDate>Tue, 08 Aug 2006 10:03:26 +0000</pubDate>
		<dc:creator>Nuno Mariz</dc:creator>
		
	<category>Python</category>
	<category>Django</category>
		<guid isPermaLink="false">http://nmariz.estadias.com/archives/45</guid>
		<description><![CDATA[

Guido van Rossum said in the latest FLOSS Weekly podcast:

My personal favorite &#8212; and I expect that that will remain a personal favorite for a long time &#8212; is something named Django. &#8230; I highly recommend it.

Django has been my tool for a new project of mine, has been worth it the time spent learning [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.djangoproject.com/" target="_blank"><img src="http://nmariz.estadias.com/files/images/logo_django.gif" border="0" align="right" style="padding-left: 5px; padding-bottom: 5px; padding-top: 10px;" title="Django Project" alt="Django Project" /></a></p>
<div valign="top">
<p><a href="http://www.artima.com/weblogs/index.jsp?blogger=guido" target="_blank">Guido van Rossum</a> said in <a href="http://www.twit.tv/floss11" target="_blank">the latest FLOSS Weekly podcast</a>:</p>
<blockquote><p>
My personal favorite &#8212; and I expect that that will remain a personal favorite for a long time &#8212; is something named Django. &#8230; I highly recommend it.
</p></blockquote>
<p><a href="http://www.djangoproject.com" target="_blank">Django</a> has been my tool for a new project of mine, has been worth it the time spent learning <a href="http://www.djangoproject.com" target="_blank">Django</a> and <a href="http://www.python.org">Python</a>(right now my personal favourite programming language).<br />
<a href="http://www.djangoproject.com" target="_blank">Django</a> preferred setup is <a href="http://httpd.apache.org" target="_blank">Apache</a> with <a href="http://www.modpython.org">mod_python</a>, this has make my choice easier because I&#8217;ve been always using <a href="http://httpd.apache.org" target="_blank">Apache</a> with <a href="http://www.php.net" target="_blank">PHP</a>.<br />
If you want to give it a try(I recommend it), read the <a href="http://www.djangoproject.com/documentation/tutorial1/" target="_blank">Part 1</a> of the tutorial.<br />
And if you have doubts about performance, read <a href="http://www.djangoproject.com/weblog/2006/jul/14/performancetest/" target="_blank">this</a>.
</div>
]]></content:encoded>
			<wfw:commentRSS>http://nmariz.estadias.com/archives/45/feed/</wfw:commentRSS>
		</item>
		<item>
		<title>Maldivas here we go&#8230;</title>
		<link>http://nmariz.estadias.com/archives/43</link>
		<comments>http://nmariz.estadias.com/archives/43#comments</comments>
		<pubDate>Tue, 01 Aug 2006 08:43:29 +0000</pubDate>
		<dc:creator>Nuno Mariz</dc:creator>
		
	<category>Wedding</category>
		<guid isPermaLink="false">http://nmariz.estadias.com/archives/43</guid>
		<description><![CDATA[
More info/pictures.




]]></description>
			<content:encoded><![CDATA[<div valign="top">
More <a href="http://www.meeru.com" target="_blank">info</a>/<a href="http://www.meeru.com/gallery/main.php?g2_itemId=10" target="_blank">pictures</a>.</p>
<div align="center">
<a href="http://www.meeru.com/gallery/main.php?g2_itemId=10" target="_blank"><img src="http://nmariz.estadias.com/files/images/maldivas.jpg" alt="Maldivas"  title="Maldivas" style="padding-left: 5px; padding-bottom: 5px; padding-top: 10px;" border="0" /></a>
</div>
</div>
]]></content:encoded>
			<wfw:commentRSS>http://nmariz.estadias.com/archives/43/feed/</wfw:commentRSS>
		</item>
		<item>
		<title>Massive Attack</title>
		<link>http://nmariz.estadias.com/archives/42</link>
		<comments>http://nmariz.estadias.com/archives/42#comments</comments>
		<pubDate>Tue, 18 Jul 2006 11:59:23 +0000</pubDate>
		<dc:creator>Nuno Mariz</dc:creator>
		
	<category>Music</category>
		<guid isPermaLink="false">http://nmariz.estadias.com/archives/42</guid>
		<description><![CDATA[
Love you, love you, love you&#8230;




]]></description>
			<content:encoded><![CDATA[<div valign="top">
Love you, love you, love you&#8230;</p>
<div align="center">
<img src="http://nmariz.estadias.com/files/images/massive_attack_ticket.gif" alt="Massive Attack Ticket"  title="Massive Attack Ticket" style="padding-left: 5px; padding-bottom: 5px; padding-top: 10px;" />
</div>
</div>
]]></content:encoded>
			<wfw:commentRSS>http://nmariz.estadias.com/archives/42/feed/</wfw:commentRSS>
		</item>
	</channel>
</rss>
