<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="wordpress/1.5.1.3" -->
<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>Summer of Code</title>
	<link>http://ubique.ch/soc</link>
	<description>Adventures in Python</description>
	<pubDate>Sat, 22 Apr 2006 08:16:09 +0000</pubDate>
	<generator>http://wordpress.org/?v=1.5.1.3</generator>
	<language>en</language>

		<item>
		<title>The End</title>
		<link>http://ubique.ch/soc/?p=23</link>
		<comments>http://ubique.ch/soc/?p=23#comments</comments>
		<pubDate>Wed, 31 Aug 2005 17:23:01 +0000</pubDate>
		<dc:creator>Nik</dc:creator>
		
	<category>SoC</category>
		<guid>http://ubique.ch/soc/?p=23</guid>
		<description><![CDATA[	That&#8217;s it, Summer of Code ends in a few minutes. I could list technical achievements and lessons learned here. But the most valuable thing for me about SoC are the people I met. A few months ago it would have seemed absurd that I would personally meet and work with such Python luminaries as Armin, [...]]]></description>
		<wfw:commentRSS>http://ubique.ch/soc/?feed=rss2&amp;p=23</wfw:commentRSS>
	</item>
		<item>
		<title>Approaching acceptable performance</title>
		<link>http://ubique.ch/soc/?p=24</link>
		<comments>http://ubique.ch/soc/?p=24#comments</comments>
		<pubDate>Wed, 31 Aug 2005 16:39:18 +0000</pubDate>
		<dc:creator>Nik</dc:creator>
		
	<category>_sre</category>
		<guid>http://ubique.ch/soc/?p=24</guid>
		<description><![CDATA[	I finally did the timings of _sre on pypy-c, the C translated PyPy:
	Pure literals: re.search(r'bar', 'bazbarfoo')
100 passes took 1.067957, 0.010680 per pass
Classes and stuff: re.search(r'\d+.\d+\s\w{,2}', 'Price 144,50 USD')
100 passes took 1.278839, 0.012788 per pass
Branching and grouping: re.search(r'&#60;(strong&#166;b&#166;em)>.+?', 'Bla &#60;em>bla&#60;/em>')
100 passes took 1.369234, 0.013692 per pass
	I am pleasantly surprised, this is only around 1000 times slower [...]]]></description>
		<wfw:commentRSS>http://ubique.ch/soc/?feed=rss2&amp;p=24</wfw:commentRSS>
	</item>
		<item>
		<title>Final _sre.py release</title>
		<link>http://ubique.ch/soc/?p=22</link>
		<comments>http://ubique.ch/soc/?p=22#comments</comments>
		<pubDate>Tue, 30 Aug 2005 19:58:26 +0000</pubDate>
		<dc:creator>Nik</dc:creator>
		
	<category>_sre</category>
		<guid>http://ubique.ch/soc/?p=22</guid>
		<description><![CDATA[	For what it&#8217;s worth, I assembled a final release of _sre.py. It&#8217;s available from the _sre.py website. Since the previous release, one bug related to the definition of a unicode word character was fixed and a timing script was added. In the absence of any bug reports I consider it stable and done.
	I&#8217;ll be compiling [...]]]></description>
		<wfw:commentRSS>http://ubique.ch/soc/?feed=rss2&amp;p=22</wfw:commentRSS>
	</item>
		<item>
		<title>Round Trip Roundup</title>
		<link>http://ubique.ch/soc/?p=21</link>
		<comments>http://ubique.ch/soc/?p=21#comments</comments>
		<pubDate>Sun, 28 Aug 2005 16:33:02 +0000</pubDate>
		<dc:creator>Nik</dc:creator>
		
	<category>SoC</category>
	<category>PyPy</category>
		<guid>http://ubique.ch/soc/?p=21</guid>
		<description><![CDATA[	Yes, I&#8217;m still alive. I am sitting here on the top floor of the Physics institute of the Heidelberg university where the PyPy sprint has been happening this week (photos here). Most other people are lingering outside on the terrace for the &#8220;technical board meeting&#8221;, deciding among other things whether I will get some kind [...]]]></description>
		<wfw:commentRSS>http://ubique.ch/soc/?feed=rss2&amp;p=21</wfw:commentRSS>
	</item>
		<item>
		<title>Round Trip</title>
		<link>http://ubique.ch/soc/?p=20</link>
		<comments>http://ubique.ch/soc/?p=20#comments</comments>
		<pubDate>Sat, 13 Aug 2005 14:37:39 +0000</pubDate>
		<dc:creator>Nik</dc:creator>
		
	<category>PyPy</category>
	<category>Academia</category>
		<guid>http://ubique.ch/soc/?p=20</guid>
		<description><![CDATA[	Tomorrow I&#8217;m leaving for a longer period of city-hopping across Europe. First up next week is the ESUG (European Smalltalk User Group) Conference in Brussels. I&#8217;m registered as a student volunteer which means I get free accomodation for helping out with various tasks a few hours a day. On the way back to Switzerland I [...]]]></description>
		<wfw:commentRSS>http://ubique.ch/soc/?feed=rss2&amp;p=20</wfw:commentRSS>
	</item>
		<item>
		<title>Timing and Waiting</title>
		<link>http://ubique.ch/soc/?p=19</link>
		<comments>http://ubique.ch/soc/?p=19#comments</comments>
		<pubDate>Wed, 10 Aug 2005 14:19:32 +0000</pubDate>
		<dc:creator>Nik</dc:creator>
		
	<category>_sre</category>
		<guid>http://ubique.ch/soc/?p=19</guid>
		<description><![CDATA[	It was time to confront the naked truth. I did some timings (time_sre.py) on different Python/_sre combinations and this is how it turned out: 
	CPython 2.4 with _sre.c:
Pure literals: re.search(r'bar', 'bazbarfoo')
100 passes took 0.000492, 0.000005 per pass
Classes and stuff: re.search(r'\d+.\d+\s\w{,2}', 'Price 144,50 USD')
100 passes took 0.000891, 0.000009 per pass
Branching and grouping: re.search(r'&#60;(strong&#166;b&#166;em)>.+?', 'Bla &#60;em>bla&#60;/em>')
100 passes [...]]]></description>
		<wfw:commentRSS>http://ubique.ch/soc/?feed=rss2&amp;p=19</wfw:commentRSS>
	</item>
		<item>
		<title>Released: _sre.py 2.4b</title>
		<link>http://ubique.ch/soc/?p=18</link>
		<comments>http://ubique.ch/soc/?p=18#comments</comments>
		<pubDate>Tue, 09 Aug 2005 15:23:14 +0000</pubDate>
		<dc:creator>Nik</dc:creator>
		
	<category>_sre</category>
		<guid>http://ubique.ch/soc/?p=18</guid>
		<description><![CDATA[	I&#8217;ve just created another release of _sre.py. No bugs were discovered since the first alpha release (which makes me a bit suspicious - I know they&#8217;re hiding in there somewhere). The only thing new in this release are some optimizations, mainly centering around special cases like pure literal regular expressions.
	There is a tarball and a [...]]]></description>
		<wfw:commentRSS>http://ubique.ch/soc/?feed=rss2&amp;p=18</wfw:commentRSS>
	</item>
		<item>
		<title>Bug me not</title>
		<link>http://ubique.ch/soc/?p=17</link>
		<comments>http://ubique.ch/soc/?p=17#comments</comments>
		<pubDate>Sat, 06 Aug 2005 09:54:15 +0000</pubDate>
		<dc:creator>Nik</dc:creator>
		
	<category>Offtopic</category>
		<guid>http://ubique.ch/soc/?p=17</guid>
		<description><![CDATA[	I spent the greater part of yesterday putting together a patch for the unicode_internal bug I discovered in CPython. I had to make use of the dreadful-looking unicode_decode_call_errorhandler function in unicodeobject.c which takes 13 (!) arguments, mutating some of them in undocumented, non-obvious ways. This was one of those rare occasions where I had to [...]]]></description>
		<wfw:commentRSS>http://ubique.ch/soc/?feed=rss2&amp;p=17</wfw:commentRSS>
	</item>
		<item>
		<title>Integration Days</title>
		<link>http://ubique.ch/soc/?p=15</link>
		<comments>http://ubique.ch/soc/?p=15#comments</comments>
		<pubDate>Thu, 04 Aug 2005 19:13:31 +0000</pubDate>
		<dc:creator>Nik</dc:creator>
		
	<category>SoC</category>
		<guid>http://ubique.ch/soc/?p=15</guid>
		<description><![CDATA[	I&#8217;ve been integrating both my _sre and array modules into the PyPy trunk in the last days. This would have been much less painful if PyPy weren&#8217;t slow like molasses (or even slow like a glacier) if you&#8217;re working with a decent amount of application-level code. Importing the re module with my _sre.py takes around [...]]]></description>
		<wfw:commentRSS>http://ubique.ch/soc/?feed=rss2&amp;p=15</wfw:commentRSS>
	</item>
		<item>
		<title>Segfaulting Fun</title>
		<link>http://ubique.ch/soc/?p=16</link>
		<comments>http://ubique.ch/soc/?p=16#comments</comments>
		<pubDate>Wed, 03 Aug 2005 15:34:45 +0000</pubDate>
		<dc:creator>Nik</dc:creator>
		
	<category>SoC</category>
		<guid>http://ubique.ch/soc/?p=16</guid>
		<description><![CDATA[	I&#8217;m kinda inadvertently becoming an expert on unicode and UCS-4 issues. I just discovered a bug in CPython. This is on an UCS-4 build:
	Python 2.4.1 (#2, Jul 23 2005, 13:16:23)
[GCC 3.3 20030304 (Apple Computer, Inc. build 1671)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> '\x7f\x00\x00\x00'.decode("unicode_internal")
u'\U7f000000'
>>> '\x80\x00\x00\x00'.decode("unicode_internal")
u'\x00'
	That&#8217;s strange enough, but now watch this:
	>>> [...]]]></description>
		<wfw:commentRSS>http://ubique.ch/soc/?feed=rss2&amp;p=16</wfw:commentRSS>
	</item>
	</channel>
</rss>
