<?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:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>ToutPT@work</title>
	<atom:link href="http://toutpt.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://toutpt.wordpress.com</link>
	<description>This web site is just about my work</description>
	<lastBuildDate>Mon, 02 Nov 2009 00:06:23 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<cloud domain='toutpt.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://www.gravatar.com/blavatar/1965f2d9b75848af50a9897715a7df26?s=96&#038;d=http://s.wordpress.com/i/buttonw-com.png</url>
		<title>ToutPT@work</title>
		<link>http://toutpt.wordpress.com</link>
	</image>
			<item>
		<title>My Sprint Report : Funkload and Buildbot @ ploneconf2009</title>
		<link>http://toutpt.wordpress.com/2009/11/02/my-sprint-report-funkload-and-buildbot-ploneconf2009/</link>
		<comments>http://toutpt.wordpress.com/2009/11/02/my-sprint-report-funkload-and-buildbot-ploneconf2009/#comments</comments>
		<pubDate>Mon, 02 Nov 2009 00:06:23 +0000</pubDate>
		<dc:creator>toutpt</dc:creator>
				<category><![CDATA[plone]]></category>

		<guid isPermaLink="false">http://toutpt.wordpress.com/?p=108</guid>
		<description><![CDATA[Plone need to reach a new QA level: Adding nightly performance tests. It is important when you make a modification on the code to know if there is a impact on the performance of the application. As Elisabeth said in the &#8220;unloading plone&#8221; conference, measure !
To understand and use technologies, you first need to know [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=toutpt.wordpress.com&blog=2483736&post=108&subd=toutpt&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Plone need to reach a new QA level: Adding nightly performance tests. It is important when you make a modification on the code to know if there is a impact on the performance of the application. As Elisabeth said in the &#8220;unloading plone&#8221; conference, measure !</p>
<p>To understand and use technologies, you first need to know what are the names of all these packages:</p>
<ul>
<li><a href="http://funkload.nuxeo.org">Funkload</a> Functional and load web tester</li>
<li><a href="http://buildbot.net">Buildbot</a> System to automate the compile/test cycle</li>
<li>collective.coreloadtests Three funkload tests for Plone + some setup profiles</li>
<li>collective.loadtesting One buildout to setup a buildbot with funkload + some examples.</li>
<li>collective.funkload Complex functional load testing and benchmarking</li>
<li>collective.buildbot A set of zc.buildout recipes and support for declarative configuration for Buildbot</li>
<li>collective.recipe.funkload Easy running of funkload tests and generation of reports.</li>
</ul>
<p>So what has been done during the sprint:</p>
<h2>Day One</h2>
<p>I have reviewed <a href="http://pypi.python.org/pypi/pasteFunBot/0.1">pasteFunBot</a>. I have kept some scripts and the template script but I have removed all the templates.</p>
<p>I have read the code of most of the differents eggs and tryed most of them.</p>
<p>What I had in mind before starting:</p>
<ul>
<li>Buildbot + Plone4 + Funkload + coreloadtests</li>
<li>Use collective.loadtesting as an example</li>
<li>Add a paster script to start continuous performance tests faster</li>
</ul>
<p>By the end of the day 1 I have done collective.funkbot a paster that create a new performance test bot in three questions:</p>
<ul>
<li>vcs ['svn']</li>
<li>vcs_url ['']</li>
<li>email ['']</li>
</ul>
<p>In the Plone community we are using buildout, so the vcs_url is supposed to be the buildout url to checkout / update every night. email is the email adress where will be sent the reports. Also if the buildbot failed to build the buildout, a mail with all stdio will be sent.</p>
<p>At the end of the day I had some troubles with funkload. I was not able to launch performance tests.</p>
<h2>Day Two</h2>
<p>In the morning tomlazar and vincinc has helped me and I have disovered their work on collective.recipe.funkload done during the last performance sprint in Bristol. In fact funkload script need to know in which eggs it can looking for tests. I have find a bug and fixed it. So now there are a new released of this egg (done with mkrelease)</p>
<p>After lunch I had decided to work on Plone4 buildout to fix coreloadtests.cfg. Because I m new to the community I had done this work under the collective.funkbot repository (still collective but not svn plone). </p>
<p>Next I have used my paster to initialize the buildout of the futur nighly performance bot (still under collective.funkbot repository)</p>
<p>Before the sprint report of the day I have succeed in fixing most of bugs. The only remaining one was on the creation of the plone4 site. That has been a bit funny to report this: &#8220;I had succeed except I can&#8217;t create a Plone site &#8230;&#8221; </p>
<p>After this report I have finished and add the ability to collective.recipe.plonesite to create a Plone4 site. I have next discovered a bug with the basic theme of Plone, so I have report it to limi and added the profile of plonetheme.sunbirst to launch funkload.</p>
<p>I have also refresh a bit coreloadtests by moving genericsetup registrations and steps in zcml.</p>
<p>I have also made this report :)</p>
<p>You can check this picture: </p>
<h2>TODO</h2>
<ul>
<li>Push my patch on plone4 buildout</li>
<li>Refresh the scripts that send the performance reports by email (atm their is a simple python script) and the one who serve html reports throw paste server #static (this one is also used by links inside the email)</li>
<li>Make a better documentation</li>
<li>Make contentgenerator faster (it seems not working at all)</li>
</ul>
<h2>Conclusion</h2>
<p>I want to thanks my companie Makina-Corpus to have give me the ability to comes to conference and sprint.</p>
<p>I want to thanks the Plone community to be so full of great and impressive people !</p>
<p>I have learn a lot about many different topics (hosting, testing, performances, futur of Plone, &#8230;)</p>
<p>I want to be at the next sprints and at the next Plone conferences !</p>
<p>I will continue to work on that topic, so to stay connected, you can follow me on twitter with the nickname toutpt that you can&#8217;t pronounce in english, so if you try , do it like &#8220;toopatai&#8221; :)</p>
<p>Links</p>
<ul>
<li><a href="http://pypi.python.org/pypi/collective.funkbot">collective.funkbot</a></li>
<li><a href="http://svn.plone.org/svn/collective/collective.funkbot/plone4coreloadtestsbuildout/">plone4 buildout patched to be triggered by buildout with coreloadtests</a></li>
<li><a href="http://svn.plone.org/svn/collective/collective.funkbot/plone4funkbotbuildout/">The nighly buildout buildbot (pasted from funkbot and adapted).</a></li>
</ul>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/toutpt.wordpress.com/108/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/toutpt.wordpress.com/108/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/toutpt.wordpress.com/108/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/toutpt.wordpress.com/108/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/toutpt.wordpress.com/108/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/toutpt.wordpress.com/108/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/toutpt.wordpress.com/108/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/toutpt.wordpress.com/108/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/toutpt.wordpress.com/108/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/toutpt.wordpress.com/108/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=toutpt.wordpress.com&blog=2483736&post=108&subd=toutpt&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://toutpt.wordpress.com/2009/11/02/my-sprint-report-funkload-and-buildbot-ploneconf2009/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/701719480c3577dbfe180e1a08eea462?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">toutpt</media:title>
		</media:content>
	</item>
		<item>
		<title>Collection + related items: A great feature of Plone</title>
		<link>http://toutpt.wordpress.com/2009/10/07/collection-related-items-a-great-feature-of-plone/</link>
		<comments>http://toutpt.wordpress.com/2009/10/07/collection-related-items-a-great-feature-of-plone/#comments</comments>
		<pubDate>Wed, 07 Oct 2009 20:46:28 +0000</pubDate>
		<dc:creator>toutpt</dc:creator>
				<category><![CDATA[plone]]></category>

		<guid isPermaLink="false">http://toutpt.wordpress.com/?p=102</guid>
		<description><![CDATA[Today I have worked on Collection (ATTopic). I have discovered a great feature. 
You can use related items to choose first results. It can be very useful to manage a home page. First results are the most important items because they are the most read.
So choosing first items is important and at the same time [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=toutpt.wordpress.com&blog=2483736&post=102&subd=toutpt&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Today I have worked on Collection (ATTopic). I have discovered a great feature. </p>
<p>You can use related items to choose first results. It can be very useful to manage a home page. First results are the most important items because they are the most read.</p>
<p>So choosing first items is important and at the same time making the page content changing with the web site activity is just great !</p>
<p>At the time of writing this post, this feature has a bug: If criteria match related items they just appear twice. I have reported that bug with a test and a patch here: https://dev.plone.org/plone/ticket/9591. I hope it will be accepted.</p>
<p>It is not finished yet. You can use archetypes.referencebrowserwidget to add order handling to related items. It add up and down arrows on each related items. So you can move up and down each one of them like in folder listing with items.</p>
<p>Enjoyed it !</p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/toutpt.wordpress.com/102/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/toutpt.wordpress.com/102/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/toutpt.wordpress.com/102/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/toutpt.wordpress.com/102/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/toutpt.wordpress.com/102/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/toutpt.wordpress.com/102/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/toutpt.wordpress.com/102/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/toutpt.wordpress.com/102/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/toutpt.wordpress.com/102/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/toutpt.wordpress.com/102/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=toutpt.wordpress.com&blog=2483736&post=102&subd=toutpt&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://toutpt.wordpress.com/2009/10/07/collection-related-items-a-great-feature-of-plone/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/701719480c3577dbfe180e1a08eea462?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">toutpt</media:title>
		</media:content>
	</item>
		<item>
		<title>Private Pypi setup</title>
		<link>http://toutpt.wordpress.com/2009/09/11/private-pypi-setup/</link>
		<comments>http://toutpt.wordpress.com/2009/09/11/private-pypi-setup/#comments</comments>
		<pubDate>Fri, 11 Sep 2009 22:28:12 +0000</pubDate>
		<dc:creator>toutpt</dc:creator>
				<category><![CDATA[plone]]></category>

		<guid isPermaLink="false">http://toutpt.wordpress.com/?p=96</guid>
		<description><![CDATA[I have succeed in seting up a full private pypi. So I want to share this.
First you need to install a Plone on a server with plone software center. Our system administrators has setup DNS to this plone with apache + http auth + SSL (https) and has given me one login / password.
Next you [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=toutpt.wordpress.com&blog=2483736&post=96&subd=toutpt&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>I have succeed in seting up a full private pypi. So I want to share this.</p>
<p>First you need to install a Plone on a server with <a href="http://pypi.python.org/pypi/Products.PloneSoftwareCenter">plone software center</a>. Our system administrators has setup DNS to this plone with apache + http auth + SSL (https) and has given me one login / password.</p>
<p>Next you need to add a new software center to the content of your site. You can also change base workflow of a project to be approved by default.</p>
<p>The final step for the server is to add a user at the root of Zope with the same user/password has http auth</p>
<p>Now you are ready to the next step: setup your environnement on your computer. You need to add http auth ability to buildout and collective.dist. For this:</p>
<ul>
<li>configure the <a href="http://plone.org/documentation/tutorial/how-to-upload-your-package-to-plone.org/distuttils-commands-and-.pypirc">pypirc file like describe on plone.org</a></li>
<li>Add lovely.buildouthttp extension to your buildout</li>
<li>Add &#8216;.buildout&#8217; folder to your home directory if not already exists</li>
<li>Add &#8216;.buildout/.httpauth&#8217; with realm, https://yourdomain, user, password</li>
</ul>
<p>I have looking for the &#8216;realm&#8217; of my server during 2 hours. So what is a realm ? Thanks to Tarek who have take times to answer me on irc:</p>
<pre>
  toupt the realm is the domain the server sends back when you do a challenge
  for instance zope sends "Zope"
  trac sends "trac"
  etc
</pre>
<p>I have apache as server, so is it &#8220;Apache&#8221; ? The documentation of lovely.buildouthttp says&#8221; My domain&#8221; but it still doesn&#8217;t work. Finaly I have found the realm. It was &#8216;Members Only Area&#8217;. this is the default apache realm. This is a good things to know. </p>
<p>A contribution: add documentation to lovely.buildouthttp, collective.dist and software center. The realm and the user in Zope trick were not easy to find.</p>
<p>The benefits of a private pypi:</p>
<ul>
<li>Release private eggs for customers</li>
<li>Test some eggs before release on pypi and plone.org (fix rest for example)</li>
<li>Release your last commit on collective to use it now in production</li>
<li>Learn release process of an egg</li>
</ul>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/toutpt.wordpress.com/96/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/toutpt.wordpress.com/96/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/toutpt.wordpress.com/96/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/toutpt.wordpress.com/96/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/toutpt.wordpress.com/96/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/toutpt.wordpress.com/96/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/toutpt.wordpress.com/96/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/toutpt.wordpress.com/96/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/toutpt.wordpress.com/96/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/toutpt.wordpress.com/96/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=toutpt.wordpress.com&blog=2483736&post=96&subd=toutpt&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://toutpt.wordpress.com/2009/09/11/private-pypi-setup/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/701719480c3577dbfe180e1a08eea462?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">toutpt</media:title>
		</media:content>
	</item>
		<item>
		<title>A word about version number in packaging / release with pypi</title>
		<link>http://toutpt.wordpress.com/2009/08/17/a-word-about-version-number-in-packaging-release-with-pypi/</link>
		<comments>http://toutpt.wordpress.com/2009/08/17/a-word-about-version-number-in-packaging-release-with-pypi/#comments</comments>
		<pubDate>Mon, 17 Aug 2009 21:51:11 +0000</pubDate>
		<dc:creator>toutpt</dc:creator>
				<category><![CDATA[plone]]></category>
		<category><![CDATA[python]]></category>

		<guid isPermaLink="false">http://toutpt.wordpress.com/?p=92</guid>
		<description><![CDATA[I often see lots of information about version number on release. I would like to explain it. For sure their is lots of different use case but here, I speak about a code you are writing and want to package.
For me there are 4 parts:

Major version number
Feature version indice
Current level of release
Status of the release

Major [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=toutpt.wordpress.com&blog=2483736&post=92&subd=toutpt&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>I often see lots of information about version number on release. I would like to explain it. For sure their is lots of different use case but here, I speak about a code you are writing and want to package.</p>
<p>For me there are 4 parts:</p>
<ul>
<li>Major version number</li>
<li>Feature version indice</li>
<li>Current level of release</li>
<li>Status of the release</li>
</ul>
<p>Major version number is about layout or about backward compatibility. When you change that number it means you have totaly change most of things or you have broke the layout because you have done a big mistake and you don&#8217;t have other choice. For example Zope 2.X.X and Zope 3.X.X.</p>
<p>Feature version indice is all about features. For me this number is increased when you have added feature(s). For example adding undo/redo to the software.</p>
<p>Current level of release is all about bug fixes. For example an i18n broken reported by someone.</p>
<p>The status is a character or a work like beta, rc, &#8230; and is all about release status. The order is:</p>
<ul>
<li>alpha (a) often means only for developers, first calls for testing (try to install)</li>
<li>beta (b) often it is used to call for testing (install and use it)</li>
<li>candidate (c or rc) means no more bugs reported just about packaging and last call for testing</li>
</ul>
<p>I m sure there are some formals paper around Internet that explains this a lot better, but I was just wanting to explain my point of view.</p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/toutpt.wordpress.com/92/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/toutpt.wordpress.com/92/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/toutpt.wordpress.com/92/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/toutpt.wordpress.com/92/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/toutpt.wordpress.com/92/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/toutpt.wordpress.com/92/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/toutpt.wordpress.com/92/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/toutpt.wordpress.com/92/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/toutpt.wordpress.com/92/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/toutpt.wordpress.com/92/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=toutpt.wordpress.com&blog=2483736&post=92&subd=toutpt&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://toutpt.wordpress.com/2009/08/17/a-word-about-version-number-in-packaging-release-with-pypi/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/701719480c3577dbfe180e1a08eea462?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">toutpt</media:title>
		</media:content>
	</item>
		<item>
		<title>Monkey ! When patching can&#8217;t be merged: experimental.aggressiveopaquespeedup</title>
		<link>http://toutpt.wordpress.com/2009/08/12/monkey-when-patching-can-not-merged-experimental-aggressiveopaquespeedup/</link>
		<comments>http://toutpt.wordpress.com/2009/08/12/monkey-when-patching-can-not-merged-experimental-aggressiveopaquespeedup/#comments</comments>
		<pubDate>Wed, 12 Aug 2009 16:16:07 +0000</pubDate>
		<dc:creator>toutpt</dc:creator>
				<category><![CDATA[plone]]></category>
		<category><![CDATA[zope]]></category>

		<guid isPermaLink="false">http://toutpt.wordpress.com/?p=70</guid>
		<description><![CDATA[Next to my first plone patch that improve performance I have profiling the code on a simple query: get a javascript from portal_javascript already computed.
The result is clear: 28% of the time is spent in opaqueitems. So I have discuss about it on CMF mailing list. 
A monkey patch was already existing: experimental.opaquespeedup. I have [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=toutpt.wordpress.com&blog=2483736&post=70&subd=toutpt&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Next to my first plone patch that improve performance I have profiling the code on a simple query: get a javascript from portal_javascript already computed.</p>
<p>The result is clear: 28% of the time is spent in opaqueitems. So <a href="http://mail.zope.org/pipermail/zope-cmf/2009-August/028559.html">I have discuss about it on CMF mailing list</a>. </p>
<p>A monkey patch was already existing: <a href="http://pypi.python.org/pypi/experimental.opaquespeedup">experimental.opaquespeedup</a>. I have read the code. It replace the time consuming calls on all attributes by a catalog request. But I know that catalog can be slow if the web site has lots of contents. I have decided to make something more aggressive, by just removing opaqueitems that seems to be not used. </p>
<p>So use it at your own risk: <a href="http://pypi.python.org/pypi/experimental.aggressiveopaquespeedup">experimental.aggressiveopaquespeedup</a></p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/toutpt.wordpress.com/70/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/toutpt.wordpress.com/70/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/toutpt.wordpress.com/70/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/toutpt.wordpress.com/70/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/toutpt.wordpress.com/70/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/toutpt.wordpress.com/70/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/toutpt.wordpress.com/70/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/toutpt.wordpress.com/70/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/toutpt.wordpress.com/70/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/toutpt.wordpress.com/70/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=toutpt.wordpress.com&blog=2483736&post=70&subd=toutpt&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://toutpt.wordpress.com/2009/08/12/monkey-when-patching-can-not-merged-experimental-aggressiveopaquespeedup/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/701719480c3577dbfe180e1a08eea462?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">toutpt</media:title>
		</media:content>
	</item>
		<item>
		<title>My first patch ! Improve performance of Plone.</title>
		<link>http://toutpt.wordpress.com/2009/08/12/my-first-patch-improve-performance-of-plone/</link>
		<comments>http://toutpt.wordpress.com/2009/08/12/my-first-patch-improve-performance-of-plone/#comments</comments>
		<pubDate>Wed, 12 Aug 2009 16:05:17 +0000</pubDate>
		<dc:creator>toutpt</dc:creator>
				<category><![CDATA[plone]]></category>

		<guid isPermaLink="false">http://toutpt.wordpress.com/?p=61</guid>
		<description><![CDATA[I m proud of it, so I want to blog about it. Let me tell you the story of my first patch on Plone.
Two students from &#8216;Ecole polytechnique de l université de Nantes&#8216; has worked for me during 6 month. They have discover so much technologies:

Python
Zope
Plone
JMeter
&#8230;

Their subject was : &#8220;Just improve authentication performance of Plone&#8221;. [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=toutpt.wordpress.com&blog=2483736&post=61&subd=toutpt&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>I m proud of it, so I want to blog about it. Let me tell you the story of my first patch on Plone.</p>
<p>Two students from &#8216;<a href="http://www.polytech.univ-nantes.fr/">Ecole polytechnique de l université de Nantes</a>&#8216; has worked for me during 6 month. They have discover so much technologies:</p>
<ul>
<li>Python</li>
<li>Zope</li>
<li>Plone</li>
<li>JMeter</li>
<li>&#8230;</li>
</ul>
<p>Their subject was : &#8220;Just improve authentication performance of Plone&#8221;. They do not have succeed in doing this, but they has showed me some graphics where i have found a performance issue: the user properties. So i have kept Nasreddine BERCHIDA for the summer to continue on this. Thuesday 7 July, he has found that enumerateUsers from PlonePas.plugins.property was the source code that matters.</p>
<p>We have done a <a href="http://jm406.free.fr/travail/plone/diff_01_connect_p_atch_bis_N4_vs_o_cache_no_admin-N2/">report with funkload</a> with lots of users and got it: lots of green means performance improved.</p>
<p>The patch is about to be merged (I hope).</p>
<p>References:<br />
<a href="http://plone.org/support/forums/general#nabble-td3230154|a3230154">mailing list discussion</a><br />
<a href="https://dev.plone.org/plone/ticket/9361">bug tracker ticket</a> (need a plone.org account)</p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/toutpt.wordpress.com/61/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/toutpt.wordpress.com/61/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/toutpt.wordpress.com/61/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/toutpt.wordpress.com/61/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/toutpt.wordpress.com/61/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/toutpt.wordpress.com/61/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/toutpt.wordpress.com/61/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/toutpt.wordpress.com/61/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/toutpt.wordpress.com/61/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/toutpt.wordpress.com/61/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=toutpt.wordpress.com&blog=2483736&post=61&subd=toutpt&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://toutpt.wordpress.com/2009/08/12/my-first-patch-improve-performance-of-plone/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/701719480c3577dbfe180e1a08eea462?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">toutpt</media:title>
		</media:content>
	</item>
		<item>
		<title>Eclipse bundle: build your own</title>
		<link>http://toutpt.wordpress.com/2009/03/18/eclipse-bundle-build-your-own/</link>
		<comments>http://toutpt.wordpress.com/2009/03/18/eclipse-bundle-build-your-own/#comments</comments>
		<pubDate>Wed, 18 Mar 2009 13:27:46 +0000</pubDate>
		<dc:creator>toutpt</dc:creator>
				<category><![CDATA[eclipse]]></category>

		<guid isPermaLink="false">http://toutpt.wordpress.com/?p=58</guid>
		<description><![CDATA[Remember an old post i have done about the way i manage eclipse third part plugins dependencies, i have discover a web site where you can select the plugins you want and it build a bundle for you ready to be downloaded:
Yoxos eclipse service
I have tried it and it rocks ! For 131 MO to [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=toutpt.wordpress.com&blog=2483736&post=58&subd=toutpt&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Remember an old post i have done about the way i manage eclipse third part plugins dependencies, i have discover a web site where you can select the plugins you want and it build a bundle for you ready to be downloaded:</p>
<p><a href="http://ondemand.yoxos.com/geteclipse/start">Yoxos eclipse service</a></p>
<p>I have tried it and it rocks ! For 131 MO to download i got:</p>
<ul>
<li>Pydev</li>
<li>WTP (XML + JS + &#8230;)</li>
<li>Git plugin</li>
<li>Mylyn + Mylyn connectors for Track and Mantis</li>
<li>AnyEdit (manage tabs and spaces)</li>
</ul>
<p>And you don&#8217;t have all Java&#8217;s stuff in your eclipse so it&#8217;s stay clean and start quickly.</p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/toutpt.wordpress.com/58/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/toutpt.wordpress.com/58/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/toutpt.wordpress.com/58/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/toutpt.wordpress.com/58/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/toutpt.wordpress.com/58/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/toutpt.wordpress.com/58/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/toutpt.wordpress.com/58/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/toutpt.wordpress.com/58/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/toutpt.wordpress.com/58/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/toutpt.wordpress.com/58/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=toutpt.wordpress.com&blog=2483736&post=58&subd=toutpt&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://toutpt.wordpress.com/2009/03/18/eclipse-bundle-build-your-own/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/701719480c3577dbfe180e1a08eea462?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">toutpt</media:title>
		</media:content>
	</item>
		<item>
		<title>Plone and local roles, too quiet.</title>
		<link>http://toutpt.wordpress.com/2009/03/14/plone-and-local-roles-too-quiet/</link>
		<comments>http://toutpt.wordpress.com/2009/03/14/plone-and-local-roles-too-quiet/#comments</comments>
		<pubDate>Sat, 14 Mar 2009 21:17:09 +0000</pubDate>
		<dc:creator>toutpt</dc:creator>
				<category><![CDATA[plone]]></category>

		<guid isPermaLink="false">http://toutpt.wordpress.com/?p=55</guid>
		<description><![CDATA[I have work hard on testing/debugging an already developed specific app that handle local roles in a Plone site. I was sure that local roles was just manageable throw a permission but i have finally read the code that handle local roles and understand things:
* you can only add a role to somebody if you [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=toutpt.wordpress.com&blog=2483736&post=55&subd=toutpt&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>I have work hard on testing/debugging an already developed specific app that handle local roles in a Plone site. I was sure that local roles was just manageable throw a permission but i have finally read the code that handle local roles and understand things:</p>
<p>* you can only add a role to somebody if you have the permission &#8220;Change local roles&#8221;<br />
* you can only add a role to somebody if you this role in that context<br />
* role are quiet on error (if you don&#8217;t have the role you are trying to add, you will not have any log)<br />
* if you have manager role you can do what ever you want (don&#8217;t do your tests in manager !!! )<br />
* else candidate local roles are only yours without &#8216;Anonymous&#8217;, &#8216;Authenticated&#8217; and &#8216;Shared&#8217;<br />
* local roles are stored in a dict called __ac_local_roles__ on the context</p>
<p>After one day of work with local roles, i think the most painful part is to don&#8217;t have log, even in debug mode. When a process is called to do a job and it do half of it, i think it has to said something.</p>
<p>But local roles are an essential part of Plone that i really like. </p>
<p>PS: i have discover to late a good module to display local roles in Plone: <a href="http://pypi.python.org/pypi/zopyx.plone.cassandra" title="cassandra">zopyx.plone.cassandra</a>.</p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/toutpt.wordpress.com/55/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/toutpt.wordpress.com/55/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/toutpt.wordpress.com/55/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/toutpt.wordpress.com/55/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/toutpt.wordpress.com/55/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/toutpt.wordpress.com/55/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/toutpt.wordpress.com/55/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/toutpt.wordpress.com/55/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/toutpt.wordpress.com/55/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/toutpt.wordpress.com/55/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=toutpt.wordpress.com&blog=2483736&post=55&subd=toutpt&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://toutpt.wordpress.com/2009/03/14/plone-and-local-roles-too-quiet/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/701719480c3577dbfe180e1a08eea462?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">toutpt</media:title>
		</media:content>
	</item>
		<item>
		<title>i m switching from SVN to GIT</title>
		<link>http://toutpt.wordpress.com/2009/03/07/i-m-switching-from-svn-to-git/</link>
		<comments>http://toutpt.wordpress.com/2009/03/07/i-m-switching-from-svn-to-git/#comments</comments>
		<pubDate>Sat, 07 Mar 2009 21:14:27 +0000</pubDate>
		<dc:creator>toutpt</dc:creator>
				<category><![CDATA[git]]></category>
		<category><![CDATA[tools]]></category>

		<guid isPermaLink="false">http://toutpt.wordpress.com/?p=38</guid>
		<description><![CDATA[yet an other post to say svn sucks. yes it is. But many people who use svn are happy with it and i was happy to.
It&#8217;s hard to maintain a trunk when 5 people are commiting on it during the project life. So i have started to look at DVCS (git hg, bzr). I have [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=toutpt.wordpress.com&blog=2483736&post=38&subd=toutpt&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>yet an other post to say svn sucks. yes it is. But many people who use svn are happy with it and i was happy to.</p>
<p>It&#8217;s hard to maintain a trunk when 5 people are commiting on it during the project life. So i have started to look at DVCS (git hg, bzr). I have tryied GIT because of it&#8217;s popularity.</p>
<p>At work, someone is using mercurial (hg) and we are two people intersting in GIT. So i have decided to test it but over SVN. it means the central repository is still an svn one.</p>
<p>Here is the way i m using it:<br />
1. clone the repo (git svn clone blabla)<br />
2. branche<br />
3. work on your code (commit, &#8230;)<br />
4. merge on master<br />
5. git svn dcommit</p>
<p>And you get it, only one commit on the trunk (master) and the power of git to merge, commit, &#8230;</p>
<p>Some cool features and properties of git:</p>
<ul>
<li>space on hdd of a git clone &lt; svn checkout (and you get the all history</li>
<li>fast, git is damn faster than svn. When you type enter key, you get it (except from git svn clone, because here it&#8217;s svn)</li>
<li>qgit2 (qt4) is a very good tool (you can browse your svn history, look at diffs, &#8230;.)</li>
<li>the help on command line. git status give you help for next command you will make</li>
</ul>
<p>But there are some point i have not found handy:</p>
<ul>
<li>git st mygitrepo/ doesn&#8217;t work (&#8220;is not a git repo&#8221; but it is)</li>
<li>no default alias (st, co, &#8230;) but can be easily configured</li>
<li>svn externals can be seen has submodules, but no managed in that way. git svn do not handle svn:externals and you can&#8217;t use git submodules over svn</li>
<li>eclipse do not manage git (and i know it s a pain for eclipse guys because it break the way <a href="http://www.eclipse.org/eclipse/platform-team/">plateform</a> is thought)</li>
</ul>
<p>I hope all that things will be improved in the futur of git, but now i m using git at work. Next step will be code review TTW.</p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/toutpt.wordpress.com/38/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/toutpt.wordpress.com/38/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/toutpt.wordpress.com/38/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/toutpt.wordpress.com/38/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/toutpt.wordpress.com/38/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/toutpt.wordpress.com/38/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/toutpt.wordpress.com/38/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/toutpt.wordpress.com/38/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/toutpt.wordpress.com/38/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/toutpt.wordpress.com/38/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=toutpt.wordpress.com&blog=2483736&post=38&subd=toutpt&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://toutpt.wordpress.com/2009/03/07/i-m-switching-from-svn-to-git/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/701719480c3577dbfe180e1a08eea462?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">toutpt</media:title>
		</media:content>
	</item>
		<item>
		<title>build a zope 3.4 with Postgresql and YUI framework &amp; get ready to work with</title>
		<link>http://toutpt.wordpress.com/2009/03/03/build-a-zope-34-with-postgresql-and-yui-framework-get-ready-to-work-with/</link>
		<comments>http://toutpt.wordpress.com/2009/03/03/build-a-zope-34-with-postgresql-and-yui-framework-get-ready-to-work-with/#comments</comments>
		<pubDate>Tue, 03 Mar 2009 09:31:28 +0000</pubDate>
		<dc:creator>toutpt</dc:creator>
				<category><![CDATA[python]]></category>
		<category><![CDATA[zope]]></category>

		<guid isPermaLink="false">http://toutpt.wordpress.com/?p=40</guid>
		<description><![CDATA[I just want to try to make a simple application with the best of current opensource technologies. Got a try with those one:

Python 2.5
Zope 3.4
Postgresql 8.3
SqlAlchemy 0.5
YUI 2.7
ZODB in Postgresql with RelStorage

I have take an hour to install this on my laptop, with the excellent virtualenv to build a copy of an already installed python [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=toutpt.wordpress.com&blog=2483736&post=40&subd=toutpt&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>I just want to try to make a simple application with the best of current opensource technologies. Got a try with those one:</p>
<ul>
<li>Python 2.5</li>
<li>Zope 3.4</li>
<li>Postgresql 8.3</li>
<li>SqlAlchemy 0.5</li>
<li>YUI 2.7</li>
<li>ZODB in Postgresql with RelStorage</li>
</ul>
<p>I have take an hour to install this on my laptop, with the excellent virtualenv to build a copy of an already installed python in a directory.</p>
<pre>/path/2/python/bin/virtualenv --no-site-packages /path/2/project</pre>
<p>Next i have use zopeproject to install the last zope3 technologies. Now zopeproject use the KGS to set the version of eggs to use.</p>
<pre>cd  /path/2/project
source bin/activate
easy_install zopeproject
zopeproject myproject</pre>
<p>You get it, you have the last release of zope3.4 release. Now add the eggs you want to use</p>
<pre>
eggs = ...
       psycopg2
       RelStorage
       ore.alchemist
       hurry.zopeyui
       z3c.form
#       chameleon.zpt require zope.i18n &gt; 3.4
</pre>
<p>modify your zope.conf to configure RelStorage:</p>
<pre>
%import relstorage
&lt;zodb&gt;
  &lt;relstorage&gt;
    &lt;postgresql&gt;
      # The dsn is optional, as are each of the parameters in the dsn.
      dsn dbname='zope' user='zope' host='localhost'
    &lt;/postgresql&gt;
  &lt;/relstorage&gt;
&lt;/zodb&gt;
</pre>
<p>Now, you get your zope3.4 running on python2.5 and store the zodb data in postgresql. I have lost most of the time on RelStorage and postgresql configuration. I&#8217;m to work with all those technologies.</p>
<p>I will work on making a simple blog in pure zope3, and next i will try to make the same application with SqlAlchemy.</p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/toutpt.wordpress.com/40/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/toutpt.wordpress.com/40/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/toutpt.wordpress.com/40/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/toutpt.wordpress.com/40/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/toutpt.wordpress.com/40/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/toutpt.wordpress.com/40/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/toutpt.wordpress.com/40/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/toutpt.wordpress.com/40/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/toutpt.wordpress.com/40/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/toutpt.wordpress.com/40/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=toutpt.wordpress.com&blog=2483736&post=40&subd=toutpt&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://toutpt.wordpress.com/2009/03/03/build-a-zope-34-with-postgresql-and-yui-framework-get-ready-to-work-with/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/701719480c3577dbfe180e1a08eea462?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">toutpt</media:title>
		</media:content>
	</item>
	</channel>
</rss>