<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Every day new step</title>
	<atom:link href="http://lin80h.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://lin80h.wordpress.com</link>
	<description>Just another WordPress.com weblog</description>
	<lastBuildDate>Mon, 05 Oct 2009 11:06:29 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='lin80h.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>Every day new step</title>
		<link>http://lin80h.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://lin80h.wordpress.com/osd.xml" title="Every day new step" />
	<atom:link rel='hub' href='http://lin80h.wordpress.com/?pushpress=hub'/>
		<item>
		<title>FastFix: current transaction is aborted, commands ignored until end of transaction block</title>
		<link>http://lin80h.wordpress.com/2009/10/05/fastfix-current-transaction-is-aborted-commands-ignored-until-end-of-transaction-block/</link>
		<comments>http://lin80h.wordpress.com/2009/10/05/fastfix-current-transaction-is-aborted-commands-ignored-until-end-of-transaction-block/#comments</comments>
		<pubDate>Mon, 05 Oct 2009 11:04:00 +0000</pubDate>
		<dc:creator>lin80h</dc:creator>
				<category><![CDATA[django]]></category>
		<category><![CDATA[fastfix]]></category>
		<category><![CDATA[python]]></category>
		<category><![CDATA[sql]]></category>

		<guid isPermaLink="false">http://lin80h.wordpress.com/?p=52</guid>
		<description><![CDATA[This error was discovered when giving uncorecct data to page writen in django. After sending uncorrect data all pages that using this database module showing this error.I have used psycopg2 for database connection. Fast fix i writed is: db = psycopg2.connect() c = db.cursor(); c.execute("COMMIT;") c.close() send commit after opening database connection and previos transactions [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=lin80h.wordpress.com&amp;blog=9382310&amp;post=52&amp;subd=lin80h&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>This error was discovered when giving uncorecct data to page writen in django. After sending uncorrect data all pages that using this database module showing this error.I have used psycopg2 for database connection. Fast fix i writed is:<br />
<code><br />
db = psycopg2.connect()<br />
c = db.cursor();<br />
c.execute("COMMIT;")<br />
c.close()<br />
</code></p>
<p>send commit after opening database connection and previos transactions will be closed</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/lin80h.wordpress.com/52/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/lin80h.wordpress.com/52/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/lin80h.wordpress.com/52/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/lin80h.wordpress.com/52/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/lin80h.wordpress.com/52/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/lin80h.wordpress.com/52/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/lin80h.wordpress.com/52/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/lin80h.wordpress.com/52/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/lin80h.wordpress.com/52/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/lin80h.wordpress.com/52/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/lin80h.wordpress.com/52/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/lin80h.wordpress.com/52/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/lin80h.wordpress.com/52/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/lin80h.wordpress.com/52/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=lin80h.wordpress.com&amp;blog=9382310&amp;post=52&amp;subd=lin80h&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://lin80h.wordpress.com/2009/10/05/fastfix-current-transaction-is-aborted-commands-ignored-until-end-of-transaction-block/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/4b9c633bc513bff5120ffeff10f415fa?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">lin80h</media:title>
		</media:content>
	</item>
		<item>
		<title>Calcualte whery big numbers</title>
		<link>http://lin80h.wordpress.com/2009/10/02/calcualte-whery-big-numbers/</link>
		<comments>http://lin80h.wordpress.com/2009/10/02/calcualte-whery-big-numbers/#comments</comments>
		<pubDate>Fri, 02 Oct 2009 15:14:50 +0000</pubDate>
		<dc:creator>lin80h</dc:creator>
				<category><![CDATA[C]]></category>
		<category><![CDATA[calculations]]></category>
		<category><![CDATA[googling]]></category>

		<guid isPermaLink="false">http://lin80h.wordpress.com/?p=49</guid>
		<description><![CDATA[There was problem. int,longint and other types is to small to calculate combinations C(n,m) and used google GNU Multiple Precision Arithmetic Library Function calculates combinations and then find module of it by dividing on d Here is C code that i wrote: unsigned int CombDiv( unsigned int n , unsigned int m , unsigned int [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=lin80h.wordpress.com&amp;blog=9382310&amp;post=49&amp;subd=lin80h&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>There was problem. int,longint and other types is to small to calculate combinations C(n,m) and used google<br />
<a href='http://gmplib.org/'>GNU Multiple Precision Arithmetic Library</a></p>
<p>Function calculates combinations and then find module of it by dividing on <i>d</i><br />
Here is C code that i wrote:<br />
<code><br />
unsigned int CombDiv( unsigned int n , unsigned int m , unsigned int d )<br />
{<br />
	long li;<br />
	mpz_t tmp1,tmp2,tmp3;<br />
	mpz_init( tmp1 );<br />
	mpz_init( tmp2 );<br />
	mpz_init( tmp3 );<br />
	mpz_fac_ui( tmp1 , m-n );<br />
	mpz_fac_ui( tmp2 , n );<br />
	mpz_mul( tmp3 , tmp1 , tmp2 );<br />
	mpz_fac_ui( tmp2 , m );<br />
	mpz_divexact( tmp1 , tmp2 , tmp3 );<br />
	li = mpz_mod_ui( tmp2 , tmp1 , d );<br />
	mpz_clear( tmp1 );<br />
	mpz_clear( tmp2 );<br />
	mpz_clear( tmp3 );<br />
	return li;<br />
}<br />
</code></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/lin80h.wordpress.com/49/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/lin80h.wordpress.com/49/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/lin80h.wordpress.com/49/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/lin80h.wordpress.com/49/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/lin80h.wordpress.com/49/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/lin80h.wordpress.com/49/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/lin80h.wordpress.com/49/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/lin80h.wordpress.com/49/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/lin80h.wordpress.com/49/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/lin80h.wordpress.com/49/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/lin80h.wordpress.com/49/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/lin80h.wordpress.com/49/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/lin80h.wordpress.com/49/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/lin80h.wordpress.com/49/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=lin80h.wordpress.com&amp;blog=9382310&amp;post=49&amp;subd=lin80h&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://lin80h.wordpress.com/2009/10/02/calcualte-whery-big-numbers/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/4b9c633bc513bff5120ffeff10f415fa?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">lin80h</media:title>
		</media:content>
	</item>
		<item>
		<title>PostGRES select and count unique day events</title>
		<link>http://lin80h.wordpress.com/2009/09/30/postgres-select-and-count-unique-day-events/</link>
		<comments>http://lin80h.wordpress.com/2009/09/30/postgres-select-and-count-unique-day-events/#comments</comments>
		<pubDate>Wed, 30 Sep 2009 05:37:05 +0000</pubDate>
		<dc:creator>lin80h</dc:creator>
				<category><![CDATA[postgres]]></category>
		<category><![CDATA[sql]]></category>

		<guid isPermaLink="false">http://lin80h.wordpress.com/?p=45</guid>
		<description><![CDATA[Problem: I wanted to have event table where i select rows by month. And i where searching way to count unique days and get number of that days SELECT DISTINCT ON (events."Date") COUNT(*),events."Date" FROM events WHERE EXTRACT(MONTH FROM( COALESCE(events."Date",CURRENT_DATE) ) ) = 9 AND EXTRACT(YEAR FROM( COALESCE(events."Date",CURRENT_DATE) ) ) = 2009 GROUP BY events."Date" It [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=lin80h.wordpress.com&amp;blog=9382310&amp;post=45&amp;subd=lin80h&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Problem: I wanted to have event table where i select rows by month. And i where searching way to count unique days and get number of that days</p>
<p><code><br />
SELECT DISTINCT ON (events."Date") COUNT(*),events."Date" FROM events WHERE EXTRACT(MONTH FROM( COALESCE(events."Date",CURRENT_DATE) ) ) = 9 AND EXTRACT(YEAR FROM( COALESCE(events."Date",CURRENT_DATE) ) ) = 2009 GROUP BY events."Date"<br />
</code></p>
<p>It take me many houres to get this line of SQL code. </p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/lin80h.wordpress.com/45/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/lin80h.wordpress.com/45/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/lin80h.wordpress.com/45/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/lin80h.wordpress.com/45/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/lin80h.wordpress.com/45/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/lin80h.wordpress.com/45/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/lin80h.wordpress.com/45/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/lin80h.wordpress.com/45/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/lin80h.wordpress.com/45/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/lin80h.wordpress.com/45/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/lin80h.wordpress.com/45/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/lin80h.wordpress.com/45/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/lin80h.wordpress.com/45/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/lin80h.wordpress.com/45/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=lin80h.wordpress.com&amp;blog=9382310&amp;post=45&amp;subd=lin80h&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://lin80h.wordpress.com/2009/09/30/postgres-select-and-count-unique-day-events/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/4b9c633bc513bff5120ffeff10f415fa?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">lin80h</media:title>
		</media:content>
	</item>
		<item>
		<title>Python HTML calendar</title>
		<link>http://lin80h.wordpress.com/2009/09/28/python-html-calendar/</link>
		<comments>http://lin80h.wordpress.com/2009/09/28/python-html-calendar/#comments</comments>
		<pubDate>Mon, 28 Sep 2009 13:23:20 +0000</pubDate>
		<dc:creator>lin80h</dc:creator>
				<category><![CDATA[python]]></category>
		<category><![CDATA[googling]]></category>
		<category><![CDATA[html]]></category>

		<guid isPermaLink="false">http://lin80h.wordpress.com/?p=40</guid>
		<description><![CDATA[I had work task calendar in python for html. Link<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=lin80h.wordpress.com&amp;blog=9382310&amp;post=40&amp;subd=lin80h&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I had work task calendar in python for html. <a href='http://python.about.com/od/advancedpython/ss/howtocal.htm'>Link</a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/lin80h.wordpress.com/40/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/lin80h.wordpress.com/40/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/lin80h.wordpress.com/40/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/lin80h.wordpress.com/40/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/lin80h.wordpress.com/40/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/lin80h.wordpress.com/40/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/lin80h.wordpress.com/40/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/lin80h.wordpress.com/40/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/lin80h.wordpress.com/40/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/lin80h.wordpress.com/40/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/lin80h.wordpress.com/40/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/lin80h.wordpress.com/40/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/lin80h.wordpress.com/40/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/lin80h.wordpress.com/40/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=lin80h.wordpress.com&amp;blog=9382310&amp;post=40&amp;subd=lin80h&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://lin80h.wordpress.com/2009/09/28/python-html-calendar/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/4b9c633bc513bff5120ffeff10f415fa?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">lin80h</media:title>
		</media:content>
	</item>
		<item>
		<title>HTML img with base64</title>
		<link>http://lin80h.wordpress.com/2009/09/22/html-img-with-base64/</link>
		<comments>http://lin80h.wordpress.com/2009/09/22/html-img-with-base64/#comments</comments>
		<pubDate>Tue, 22 Sep 2009 07:52:13 +0000</pubDate>
		<dc:creator>lin80h</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[base64]]></category>
		<category><![CDATA[googling]]></category>
		<category><![CDATA[html]]></category>

		<guid isPermaLink="false">http://lin80h.wordpress.com/?p=31</guid>
		<description><![CDATA[One guy asked me if there is way to insert image in internal HTML code without links in html code. In first moment i answered now and where had many arguments that it is imposible. Then he after some hours of googling havent found any thing. After chating with other guy he told about base64 [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=lin80h.wordpress.com&amp;blog=9382310&amp;post=31&amp;subd=lin80h&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>One guy asked me if there is way to insert image in internal HTML code without links in html code. In first moment i answered now and where had many arguments that it is imposible. Then he after some hours of googling havent found any thing. After chating with other guy he told about base64 and img.</p>
<p>Here is example Insert this code in <code>&lt;img src=&#39;base64-code&#39;/</code>&gt; and all will work<br />
<code></p>
<p>data:image/png;base64,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</p>
<p></code><br />
It is way how to insert base64 converted image in your html code without external links or files.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/lin80h.wordpress.com/31/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/lin80h.wordpress.com/31/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/lin80h.wordpress.com/31/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/lin80h.wordpress.com/31/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/lin80h.wordpress.com/31/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/lin80h.wordpress.com/31/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/lin80h.wordpress.com/31/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/lin80h.wordpress.com/31/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/lin80h.wordpress.com/31/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/lin80h.wordpress.com/31/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/lin80h.wordpress.com/31/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/lin80h.wordpress.com/31/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/lin80h.wordpress.com/31/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/lin80h.wordpress.com/31/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=lin80h.wordpress.com&amp;blog=9382310&amp;post=31&amp;subd=lin80h&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://lin80h.wordpress.com/2009/09/22/html-img-with-base64/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/4b9c633bc513bff5120ffeff10f415fa?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">lin80h</media:title>
		</media:content>
	</item>
		<item>
		<title>Python Django Problem</title>
		<link>http://lin80h.wordpress.com/2009/09/21/python-django-problem/</link>
		<comments>http://lin80h.wordpress.com/2009/09/21/python-django-problem/#comments</comments>
		<pubDate>Mon, 21 Sep 2009 11:55:05 +0000</pubDate>
		<dc:creator>lin80h</dc:creator>
				<category><![CDATA[django]]></category>
		<category><![CDATA[python]]></category>
		<category><![CDATA[PIL]]></category>

		<guid isPermaLink="false">http://lin80h.wordpress.com/?p=29</guid>
		<description><![CDATA[I wanted to upload image save as temp file. Then with PIL resize saved image and save it in database. Problem where in that when checked request.FILES['image'].size image size was correct but after i save it file = tempfile.NamedTemporaryFile( suffix=".png" ) file.write(request.FILES['image'].size) and checked with os.path.getsize() size was different from expected and PIL library don&#8217;t [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=lin80h.wordpress.com&amp;blog=9382310&amp;post=29&amp;subd=lin80h&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I wanted to upload image save as temp file. Then with PIL resize saved image and save it in database. Problem where in that when checked <em>request.FILES['image'].size</em> image size was correct but after i save it</p>
<p><code>file = tempfile.NamedTemporaryFile( suffix=".png" )<br />
file.write(request.FILES['image'].size)</code></p>
<p>and checked with</p>
<p><code>os.path.getsize()</code></p>
<p>size was different from expected and PIL library don&#8217;t worked with saved file. And I reorganized code to :</p>
<p><code>fname = ""<br />
file = tempfile.NamedTemporaryFile( suffix=".png" )<br />
fname = file.name<br />
file.close()<br />
f = open( fname , "wb" )<br />
f.write( request.FILES['image'].read() )<br />
f.close()<br />
img = Image.open( fname )<br />
img.load()<br />
img.thumbnail( (image_size) , Image.ANTIALIAS )<br />
img.save( fname )</code></p>
<p>and all works fine. May be not the fastest way but its easy.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/lin80h.wordpress.com/29/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/lin80h.wordpress.com/29/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/lin80h.wordpress.com/29/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/lin80h.wordpress.com/29/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/lin80h.wordpress.com/29/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/lin80h.wordpress.com/29/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/lin80h.wordpress.com/29/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/lin80h.wordpress.com/29/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/lin80h.wordpress.com/29/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/lin80h.wordpress.com/29/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/lin80h.wordpress.com/29/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/lin80h.wordpress.com/29/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/lin80h.wordpress.com/29/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/lin80h.wordpress.com/29/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=lin80h.wordpress.com&amp;blog=9382310&amp;post=29&amp;subd=lin80h&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://lin80h.wordpress.com/2009/09/21/python-django-problem/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/4b9c633bc513bff5120ffeff10f415fa?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">lin80h</media:title>
		</media:content>
	</item>
		<item>
		<title>Using rsync to Mirror Directories</title>
		<link>http://lin80h.wordpress.com/2009/09/19/using-rsync-to-mirror-directories/</link>
		<comments>http://lin80h.wordpress.com/2009/09/19/using-rsync-to-mirror-directories/#comments</comments>
		<pubDate>Sat, 19 Sep 2009 06:09:04 +0000</pubDate>
		<dc:creator>lin80h</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[googling]]></category>

		<guid isPermaLink="false">http://lin80h.wordpress.com/?p=24</guid>
		<description><![CDATA[I where thinkig about copying all files to server, but there was the same dir and simple Ctrl+C Ctrl+V is&#8217;t good way espesialy if there is 6000 files and time to time You ask skip or copy. There is button &#8220;Yes to All&#8221; but it is too complicated. I wanted the write some line and [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=lin80h.wordpress.com&amp;blog=9382310&amp;post=24&amp;subd=lin80h&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I where thinkig about copying all files to server, but there was the same dir and simple Ctrl+C Ctrl+V is&#8217;t good way espesialy if there is 6000 files and time to time You ask skip or copy. There is button &#8220;Yes to All&#8221; but it is too complicated. I wanted the write some line and all works.<br />
<a href="http://www.abbeyworkshop.com/howto/unix/nix_rsync/index.html">Link</a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/lin80h.wordpress.com/24/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/lin80h.wordpress.com/24/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/lin80h.wordpress.com/24/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/lin80h.wordpress.com/24/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/lin80h.wordpress.com/24/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/lin80h.wordpress.com/24/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/lin80h.wordpress.com/24/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/lin80h.wordpress.com/24/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/lin80h.wordpress.com/24/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/lin80h.wordpress.com/24/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/lin80h.wordpress.com/24/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/lin80h.wordpress.com/24/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/lin80h.wordpress.com/24/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/lin80h.wordpress.com/24/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=lin80h.wordpress.com&amp;blog=9382310&amp;post=24&amp;subd=lin80h&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://lin80h.wordpress.com/2009/09/19/using-rsync-to-mirror-directories/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/4b9c633bc513bff5120ffeff10f415fa?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">lin80h</media:title>
		</media:content>
	</item>
		<item>
		<title>Find Unique Values in PostGres</title>
		<link>http://lin80h.wordpress.com/2009/09/17/find-unique-values-in-postgres/</link>
		<comments>http://lin80h.wordpress.com/2009/09/17/find-unique-values-in-postgres/#comments</comments>
		<pubDate>Thu, 17 Sep 2009 12:38:19 +0000</pubDate>
		<dc:creator>lin80h</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[googling]]></category>
		<category><![CDATA[postgres]]></category>
		<category><![CDATA[sql]]></category>

		<guid isPermaLink="false">http://lin80h.wordpress.com/?p=21</guid>
		<description><![CDATA[From message board. Link<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=lin80h.wordpress.com&amp;blog=9382310&amp;post=21&amp;subd=lin80h&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>From message board.<br />
<a href="http://archives.postgresql.org/pgsql-hackers/2003-12/msg00763.php">Link</a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/lin80h.wordpress.com/21/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/lin80h.wordpress.com/21/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/lin80h.wordpress.com/21/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/lin80h.wordpress.com/21/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/lin80h.wordpress.com/21/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/lin80h.wordpress.com/21/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/lin80h.wordpress.com/21/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/lin80h.wordpress.com/21/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/lin80h.wordpress.com/21/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/lin80h.wordpress.com/21/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/lin80h.wordpress.com/21/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/lin80h.wordpress.com/21/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/lin80h.wordpress.com/21/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/lin80h.wordpress.com/21/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=lin80h.wordpress.com&amp;blog=9382310&amp;post=21&amp;subd=lin80h&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://lin80h.wordpress.com/2009/09/17/find-unique-values-in-postgres/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/4b9c633bc513bff5120ffeff10f415fa?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">lin80h</media:title>
		</media:content>
	</item>
		<item>
		<title>JavaScript Calendar</title>
		<link>http://lin80h.wordpress.com/2009/09/14/javascript-calendar/</link>
		<comments>http://lin80h.wordpress.com/2009/09/14/javascript-calendar/#comments</comments>
		<pubDate>Mon, 14 Sep 2009 11:24:55 +0000</pubDate>
		<dc:creator>lin80h</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[googling]]></category>
		<category><![CDATA[javascriot]]></category>

		<guid isPermaLink="false">http://lin80h.wordpress.com/?p=19</guid>
		<description><![CDATA[JS Calendar example<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=lin80h.wordpress.com&amp;blog=9382310&amp;post=19&amp;subd=lin80h&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.softcomplex.com/products/tigra_calendar/">JS Calendar example</a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/lin80h.wordpress.com/19/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/lin80h.wordpress.com/19/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/lin80h.wordpress.com/19/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/lin80h.wordpress.com/19/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/lin80h.wordpress.com/19/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/lin80h.wordpress.com/19/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/lin80h.wordpress.com/19/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/lin80h.wordpress.com/19/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/lin80h.wordpress.com/19/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/lin80h.wordpress.com/19/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/lin80h.wordpress.com/19/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/lin80h.wordpress.com/19/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/lin80h.wordpress.com/19/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/lin80h.wordpress.com/19/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=lin80h.wordpress.com&amp;blog=9382310&amp;post=19&amp;subd=lin80h&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://lin80h.wordpress.com/2009/09/14/javascript-calendar/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/4b9c633bc513bff5120ffeff10f415fa?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">lin80h</media:title>
		</media:content>
	</item>
		<item>
		<title>Convert</title>
		<link>http://lin80h.wordpress.com/2009/09/10/16/</link>
		<comments>http://lin80h.wordpress.com/2009/09/10/16/#comments</comments>
		<pubDate>Thu, 10 Sep 2009 18:33:02 +0000</pubDate>
		<dc:creator>lin80h</dc:creator>
				<category><![CDATA[C]]></category>

		<guid isPermaLink="false">http://lin80h.wordpress.com/?p=16</guid>
		<description><![CDATA[Comand conver I have used to convert pdf file to jppg file collection convert file.pdf files.jpg This command uses imageMagick Link to page<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=lin80h.wordpress.com&amp;blog=9382310&amp;post=16&amp;subd=lin80h&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Comand conver I have used to convert pdf file to jppg file collection<br />
<em>convert file.pdf files.jpg</em><br />
This command uses imageMagick<br />
<a href="http://bitprison.net/jpg_to_pdf">Link to page</a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/lin80h.wordpress.com/16/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/lin80h.wordpress.com/16/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/lin80h.wordpress.com/16/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/lin80h.wordpress.com/16/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/lin80h.wordpress.com/16/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/lin80h.wordpress.com/16/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/lin80h.wordpress.com/16/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/lin80h.wordpress.com/16/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/lin80h.wordpress.com/16/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/lin80h.wordpress.com/16/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/lin80h.wordpress.com/16/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/lin80h.wordpress.com/16/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/lin80h.wordpress.com/16/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/lin80h.wordpress.com/16/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=lin80h.wordpress.com&amp;blog=9382310&amp;post=16&amp;subd=lin80h&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://lin80h.wordpress.com/2009/09/10/16/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/4b9c633bc513bff5120ffeff10f415fa?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">lin80h</media:title>
		</media:content>
	</item>
	</channel>
</rss>
