From z.soebhan at gmail.com Wed Jun 1 09:14:29 2011 From: z.soebhan at gmail.com (Zaheer Soebhan) Date: Wed, 1 Jun 2011 09:14:29 +0200 Subject: [python-nl] deployment knowledge sharing session: release management + buildout + puppet In-Reply-To: References: Message-ID: Hi Jan-Jaap, That's a great idea! What's the prior knowledge people need to have when they want to attend this meeting? Good luck! Gr, Zaheer 2011/5/31 Jan-Jaap Driessen > Hi, > > During the last hackathon at my office and at the most recent PUN, I > spoke to some of you about the way we deploy applications at THA. I > intend to host a knowledge session on this topic: > > At THA we use proper release management, buildout and puppet in order > to make hosting applications a breeze. I'll present a walkthrough of > the technologies we use in order to keep things organized. > > For me, this session serves as a reality check: I would like to hear > from you where we can improve our setup. > > I put up a doodle and hope you can make it: > > http://www.doodle.com/vehdavf9kuymah87 > > My plan is to start at 13:00 and continue into the evening. > > See you soon, > > JJ > _______________________________________________ > Python-nl mailing list > Python-nl at python.org > http://mail.python.org/mailman/listinfo/python-nl > -------------- next part -------------- An HTML attachment was scrubbed... URL: From pepijndevos at gmail.com Wed Jun 1 10:55:37 2011 From: pepijndevos at gmail.com (Pepijn de Vos) Date: Wed, 1 Jun 2011 10:55:37 +0200 Subject: [python-nl] deployment knowledge sharing session: release management + buildout + puppet In-Reply-To: References: Message-ID: <2C4580B0-5EDF-4F59-82B5-F696CD021709@gmail.com> Nice idea. I'm looking for a solution to deploy both PHP and Python together. Looking at the website of Puppet, it seems you have to pay for it? Groeten, Pepijn de Vos -- Sent from my iPod Shuffle http://pepijndevos.nl On Jun 1, 2011, at 9:14 AM, Zaheer Soebhan wrote: > Hi Jan-Jaap, > > > That's a great idea! > > What's the prior knowledge people need to have when they want to attend this meeting? > > Good luck! > > > Gr, > Zaheer > > 2011/5/31 Jan-Jaap Driessen > Hi, > > During the last hackathon at my office and at the most recent PUN, I > spoke to some of you about the way we deploy applications at THA. I > intend to host a knowledge session on this topic: > > At THA we use proper release management, buildout and puppet in order > to make hosting applications a breeze. I'll present a walkthrough of > the technologies we use in order to keep things organized. > > For me, this session serves as a reality check: I would like to hear > from you where we can improve our setup. > > I put up a doodle and hope you can make it: > > http://www.doodle.com/vehdavf9kuymah87 > > My plan is to start at 13:00 and continue into the evening. > > See you soon, > > JJ > _______________________________________________ > Python-nl mailing list > Python-nl at python.org > http://mail.python.org/mailman/listinfo/python-nl > > _______________________________________________ > Python-nl mailing list > Python-nl at python.org > http://mail.python.org/mailman/listinfo/python-nl ------------- volgend deel ------------ Een HTML-bijlage is gescrubt... URL: From joost at cassee.net Wed Jun 1 11:06:37 2011 From: joost at cassee.net (Joost Cassee) Date: Wed, 1 Jun 2011 11:06:37 +0200 Subject: [python-nl] deployment knowledge sharing session: release management + buildout + puppet In-Reply-To: <2C4580B0-5EDF-4F59-82B5-F696CD021709@gmail.com> References: <2C4580B0-5EDF-4F59-82B5-F696CD021709@gmail.com> Message-ID: 2011/6/1 Pepijn de Vos : > Nice idea. I'm looking for a solution to deploy both PHP and Python > together. Looking at the website of Puppet, it seems you have to pay for it? Nee hoor, ze zijn er wel een "enterprise laag" overheen aan het leggen, maar het is gewoon open source. Groeten, Joost -- Joost Cassee http://joost.cassee.net From dwight at dwightgunning.com Wed Jun 1 12:45:09 2011 From: dwight at dwightgunning.com (Dwight Gunning) Date: Wed, 1 Jun 2011 12:45:09 +0200 Subject: [python-nl] deployment knowledge sharing session: release management + buildout + puppet: Slides available? Message-ID: Hey, I'm really interested in how one would put puppet to use for in a lightweight manner for small-medium complexity execution/production environment. Real life examples are always better! I can't make these dates - will there be some slides? Cheers, Dwight -- Dwight Gunning Amsterdam, The Netherlands. +31 (0)6 2363 8344 | Twitter/Skype: dwightgunning dwight at dwightgunning.com | http://dwightgunning.com On 1 June 2011 12:00, wrote: > Send Python-nl mailing list submissions to > python-nl at python.org > > To subscribe or unsubscribe via the World Wide Web, visit > http://mail.python.org/mailman/listinfo/python-nl > or, via email, send a message with subject or body 'help' to > python-nl-request at python.org > > You can reach the person managing the list at > python-nl-owner at python.org > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of Python-nl digest..." > > > Today's Topics: > > 1. deployment knowledge sharing session: release management + > buildout + puppet (Jan-Jaap Driessen) > 2. Re: deployment knowledge sharing session: release management > + buildout + puppet (Zaheer Soebhan) > 3. Re: deployment knowledge sharing session: release management > + buildout + puppet (Pepijn de Vos) > 4. Re: deployment knowledge sharing session: release management > + buildout + puppet (Joost Cassee) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Tue, 31 May 2011 21:34:14 +0200 > From: Jan-Jaap Driessen > To: Boaz Leskes , Remco Wendt > , Joost Cassee , > roald at go2people.nl, Michiel Kalkman , > Dutch Python developers and users > Subject: [python-nl] deployment knowledge sharing session: release > management + buildout + puppet > Message-ID: > Content-Type: text/plain; charset=ISO-8859-1 > > Hi, > > During the last hackathon at my office and at the most recent PUN, I > spoke to some of you about the way we deploy applications at THA. I > intend to host a knowledge session on this topic: > > At THA we use proper release management, buildout and puppet in order > to make hosting applications a breeze. I'll present a walkthrough of > the technologies we use in order to keep things organized. > > For me, this session serves as a reality check: I would like to hear > from you where we can improve our setup. > > I put up a doodle and hope you can make it: > > http://www.doodle.com/vehdavf9kuymah87 > > My plan is to start at 13:00 and continue into the evening. > > See you soon, > > JJ > > > ------------------------------ > > Message: 2 > Date: Wed, 1 Jun 2011 09:14:29 +0200 > From: Zaheer Soebhan > To: Dutch Python developers and users > Subject: Re: [python-nl] deployment knowledge sharing session: release > management + buildout + puppet > Message-ID: > Content-Type: text/plain; charset="iso-8859-1" > > Hi Jan-Jaap, > > > That's a great idea! > > What's the prior knowledge people need to have when they want to attend > this > meeting? > > Good luck! > > > Gr, > Zaheer > > 2011/5/31 Jan-Jaap Driessen > > > Hi, > > > > During the last hackathon at my office and at the most recent PUN, I > > spoke to some of you about the way we deploy applications at THA. I > > intend to host a knowledge session on this topic: > > > > At THA we use proper release management, buildout and puppet in order > > to make hosting applications a breeze. I'll present a walkthrough of > > the technologies we use in order to keep things organized. > > > > For me, this session serves as a reality check: I would like to hear > > from you where we can improve our setup. > > > > I put up a doodle and hope you can make it: > > > > http://www.doodle.com/vehdavf9kuymah87 > > > > My plan is to start at 13:00 and continue into the evening. > > > > See you soon, > > > > JJ > > _______________________________________________ > > Python-nl mailing list > > Python-nl at python.org > > http://mail.python.org/mailman/listinfo/python-nl > > > -------------- next part -------------- > An HTML attachment was scrubbed... > URL: < > http://mail.python.org/pipermail/python-nl/attachments/20110601/c2b82022/attachment-0001.html > > > > ------------------------------ > > Message: 3 > Date: Wed, 1 Jun 2011 10:55:37 +0200 > From: Pepijn de Vos > To: Dutch Python developers and users > Subject: Re: [python-nl] deployment knowledge sharing session: release > management + buildout + puppet > Message-ID: <2C4580B0-5EDF-4F59-82B5-F696CD021709 at gmail.com> > Content-Type: text/plain; charset="us-ascii" > > Nice idea. I'm looking for a solution to deploy both PHP and Python > together. Looking at the website of Puppet, it seems you have to pay for it? > > Groeten, > Pepijn de Vos > -- > Sent from my iPod Shuffle > http://pepijndevos.nl > > On Jun 1, 2011, at 9:14 AM, Zaheer Soebhan wrote: > > > Hi Jan-Jaap, > > > > > > That's a great idea! > > > > What's the prior knowledge people need to have when they want to attend > this meeting? > > > > Good luck! > > > > > > Gr, > > Zaheer > > > > 2011/5/31 Jan-Jaap Driessen > > Hi, > > > > During the last hackathon at my office and at the most recent PUN, I > > spoke to some of you about the way we deploy applications at THA. I > > intend to host a knowledge session on this topic: > > > > At THA we use proper release management, buildout and puppet in order > > to make hosting applications a breeze. I'll present a walkthrough of > > the technologies we use in order to keep things organized. > > > > For me, this session serves as a reality check: I would like to hear > > from you where we can improve our setup. > > > > I put up a doodle and hope you can make it: > > > > http://www.doodle.com/vehdavf9kuymah87 > > > > My plan is to start at 13:00 and continue into the evening. > > > > See you soon, > > > > JJ > > _______________________________________________ > > Python-nl mailing list > > Python-nl at python.org > > http://mail.python.org/mailman/listinfo/python-nl > > > > _______________________________________________ > > Python-nl mailing list > > Python-nl at python.org > > http://mail.python.org/mailman/listinfo/python-nl > > -------------- next part -------------- > An HTML attachment was scrubbed... > URL: < > http://mail.python.org/pipermail/python-nl/attachments/20110601/ffdc1d83/attachment-0001.html > > > > ------------------------------ > > Message: 4 > Date: Wed, 1 Jun 2011 11:06:37 +0200 > From: Joost Cassee > To: Dutch Python developers and users > Subject: Re: [python-nl] deployment knowledge sharing session: release > management + buildout + puppet > Message-ID: > Content-Type: text/plain; charset=ISO-8859-1 > > 2011/6/1 Pepijn de Vos : > > Nice idea. I'm looking for a solution to deploy both PHP and Python > > together. Looking at the website of Puppet, it seems you have to pay for > it? > > Nee hoor, ze zijn er wel een "enterprise laag" overheen aan het > leggen, maar het is gewoon open source. > > Groeten, > Joost > > -- > Joost Cassee > http://joost.cassee.net > > > ------------------------------ > > _______________________________________________ > Python-nl mailing list > Python-nl at python.org > http://mail.python.org/mailman/listinfo/python-nl > > > End of Python-nl Digest, Vol 85, Issue 1 > **************************************** > ------------- volgend deel ------------ Een HTML-bijlage is gescrubt... URL: From jeroen at dekkers.ch Thu Jun 2 22:05:07 2011 From: jeroen at dekkers.ch (Jeroen Dekkers) Date: Thu, 02 Jun 2011 22:05:07 +0200 Subject: [python-nl] deployment knowledge sharing session: release management + buildout + puppet In-Reply-To: <2C4580B0-5EDF-4F59-82B5-F696CD021709@gmail.com> References: <2C4580B0-5EDF-4F59-82B5-F696CD021709@gmail.com> Message-ID: <871uzcngng.wl%jeroen@dekkers.ch> Puppet also isn't the only configuration management system, you also have cfengine, chef, bcfg2 and probably others. I'm using bcfg2 myself, but at the moment only for general system administration, not for deployment of webapps. I'm quite happy with it, but I haven't used any of the other systems so I can't compare them. One of the reasons I choosed bcfg2 is that's written in python (puppet and chef are written in ruby, cfengine is written in C). Regards, Jeroen Dekkers At Wed, 1 Jun 2011 10:55:37 +0200, Pepijn de Vos wrote: > > Nice idea. I'm looking for a solution to deploy both PHP and Python together. Looking at the website of Puppet, it seems you have to pay for it? > > Groeten, > Pepijn de Vos > -- > Sent from my iPod Shuffle > http://pepijndevos.nl > > On Jun 1, 2011, at 9:14 AM, Zaheer Soebhan wrote: > > > Hi Jan-Jaap, > > > > > > That's a great idea! > > > > What's the prior knowledge people need to have when they want to attend this meeting? > > > > Good luck! > > > > > > Gr, > > Zaheer > > > > 2011/5/31 Jan-Jaap Driessen > > Hi, > > > > During the last hackathon at my office and at the most recent PUN, I > > spoke to some of you about the way we deploy applications at THA. I > > intend to host a knowledge session on this topic: > > > > At THA we use proper release management, buildout and puppet in order > > to make hosting applications a breeze. I'll present a walkthrough of > > the technologies we use in order to keep things organized. > > > > For me, this session serves as a reality check: I would like to hear > > from you where we can improve our setup. > > > > I put up a doodle and hope you can make it: > > > > http://www.doodle.com/vehdavf9kuymah87 > > > > My plan is to start at 13:00 and continue into the evening. > > > > See you soon, > > > > JJ > > _______________________________________________ > > Python-nl mailing list > > Python-nl at python.org > > http://mail.python.org/mailman/listinfo/python-nl > > > > _______________________________________________ > > Python-nl mailing list > > Python-nl at python.org > > http://mail.python.org/mailman/listinfo/python-nl From janjaapdriessen at gmail.com Mon Jun 6 21:03:38 2011 From: janjaapdriessen at gmail.com (Jan-Jaap Driessen) Date: Mon, 6 Jun 2011 21:03:38 +0200 Subject: [python-nl] deployment knowledge sharing session: release management + buildout + puppet In-Reply-To: References: Message-ID: On Wed, Jun 1, 2011 at 9:14 AM, Zaheer Soebhan wrote: > Hi Jan-Jaap, > > That's a great idea! > What's the prior knowledge people need to have when they want to attend this > meeting? > Good luck! > > Gr, > Zaheer Hi Zaheer, No prior knowledge is required. The meeting is geared towards people who deploy web applications. Cheers, Jan-Jaap From janjaapdriessen at gmail.com Mon Jun 6 21:15:43 2011 From: janjaapdriessen at gmail.com (Jan-Jaap Driessen) Date: Mon, 6 Jun 2011 21:15:43 +0200 Subject: [python-nl] deployment knowledge sharing session: release management + buildout + puppet In-Reply-To: References: Message-ID: Hi guys, On Tue, May 31, 2011 at 9:34 PM, Jan-Jaap Driessen wrote: > Hi, > > During the last hackathon at my office and at the most recent PUN, I > spoke to some of you about the way we deploy applications at THA. I > intend to host a knowledge session on this topic: > > At THA we use proper release management, buildout and puppet in order > to make hosting applications a breeze. I'll present a walkthrough of > the technologies we use in order to keep things organized. > > For me, this session serves as a reality check: I would like to hear > from you where we can improve our setup. > > I put up a doodle and hope you can make it: > > http://www.doodle.com/vehdavf9kuymah87 > > My plan is to start at 13:00 and continue into the evening. > > See you soon, > > JJ The doodle die has been cast! We'll meet on Thursday, June 16. Feel free to come to my office (Proveniersstraat 43b, Rotterdam, north exit central station) between 12:30 and 13:00. I'll prepare coffee and slides. Depending on your attention span, we can continue into the night and go for dinner. Cheers, JJ From janjaapdriessen at gmail.com Tue Jun 14 21:00:30 2011 From: janjaapdriessen at gmail.com (Jan-Jaap Driessen) Date: Tue, 14 Jun 2011 21:00:30 +0200 Subject: [python-nl] deployment knowledge sharing session: release management + buildout + puppet In-Reply-To: References: Message-ID: On Mon, Jun 6, 2011 at 9:15 PM, Jan-Jaap Driessen wrote: > Hi guys, > The doodle die has been cast! We'll meet on Thursday, June 16. Feel > free to come to my office (Proveniersstraat 43b, Rotterdam, north exit > central station) between 12:30 and 13:00. I'd really like to start at 13:00; if you are late, you're buying the first round of beers! Cheers, JJ From z.soebhan at gmail.com Wed Jun 15 08:39:18 2011 From: z.soebhan at gmail.com (Zaheer Soebhan) Date: Wed, 15 Jun 2011 08:39:18 +0200 Subject: [python-nl] deployment knowledge sharing session: release management + buildout + puppet In-Reply-To: References: Message-ID: Sorry, can't make it. Forgot to check out. Have fun! Gr, Zaheer 2011/6/14 Jan-Jaap Driessen > On Mon, Jun 6, 2011 at 9:15 PM, Jan-Jaap Driessen > wrote: > > Hi guys, > > The doodle die has been cast! We'll meet on Thursday, June 16. Feel > > free to come to my office (Proveniersstraat 43b, Rotterdam, north exit > > central station) between 12:30 and 13:00. > > I'd really like to start at 13:00; if you are late, you're buying the > first round of beers! > > Cheers, > > JJ > _______________________________________________ > Python-nl mailing list > Python-nl at python.org > http://mail.python.org/mailman/listinfo/python-nl > -------------- next part -------------- An HTML attachment was scrubbed... URL: From pepijndevos at gmail.com Wed Jun 15 09:59:37 2011 From: pepijndevos at gmail.com (Pepijn de Vos) Date: Wed, 15 Jun 2011 09:59:37 +0200 Subject: [python-nl] deployment knowledge sharing session: release management + buildout + puppet In-Reply-To: References: Message-ID: <14FF919F-878B-40F1-BCB0-9381E9F2E2E8@gmail.com> I can?t make it either. Well, technically I can, but that?d mean 4 hours of travel for one or two hours hacking. Groeten, Pepijn de Vos -- Sent from my iPod Shuffle http://pepijndevos.nl On Jun 15, 2011, at 8:39 AM, Zaheer Soebhan wrote: > Sorry, can't make it. Forgot to check out. > > Have fun! > > Gr, > Zaheer > > 2011/6/14 Jan-Jaap Driessen > On Mon, Jun 6, 2011 at 9:15 PM, Jan-Jaap Driessen > wrote: > > Hi guys, > > The doodle die has been cast! We'll meet on Thursday, June 16. Feel > > free to come to my office (Proveniersstraat 43b, Rotterdam, north exit > > central station) between 12:30 and 13:00. > > I'd really like to start at 13:00; if you are late, you're buying the > first round of beers! > > Cheers, > > JJ > _______________________________________________ > Python-nl mailing list > Python-nl at python.org > http://mail.python.org/mailman/listinfo/python-nl > > _______________________________________________ > Python-nl mailing list > Python-nl at python.org > http://mail.python.org/mailman/listinfo/python-nl ------------- volgend deel ------------ Een HTML-bijlage is gescrubt... URL: From gewoonanthony at gmail.com Wed Jun 15 10:06:33 2011 From: gewoonanthony at gmail.com (Gewoonanthony gewoonanthony) Date: Wed, 15 Jun 2011 10:06:33 +0200 Subject: [python-nl] deployment knowledge sharing session: release management + buildout + puppet In-Reply-To: <14FF919F-878B-40F1-BCB0-9381E9F2E2E8@gmail.com> References: <14FF919F-878B-40F1-BCB0-9381E9F2E2E8@gmail.com> Message-ID: Welleens gedacht aan online samenwerken? 2011/6/15 Pepijn de Vos > I can?t make it either. Well, technically I can, but that?d mean 4 hours of > travel for one or two hours hacking. > > Groeten, > Pepijn de Vos > -- > Sent from my iPod Shuffle > http://pepijndevos.nl > > On Jun 15, 2011, at 8:39 AM, Zaheer Soebhan wrote: > > Sorry, can't make it. Forgot to check out. > > Have fun! > > Gr, > Zaheer > > 2011/6/14 Jan-Jaap Driessen > >> On Mon, Jun 6, 2011 at 9:15 PM, Jan-Jaap Driessen >> wrote: >> > Hi guys, >> > The doodle die has been cast! We'll meet on Thursday, June 16. Feel >> > free to come to my office (Proveniersstraat 43b, Rotterdam, north exit >> > central station) between 12:30 and 13:00. >> >> I'd really like to start at 13:00; if you are late, you're buying the >> first round of beers! >> >> Cheers, >> >> JJ >> _______________________________________________ >> Python-nl mailing list >> Python-nl at python.org >> http://mail.python.org/mailman/listinfo/python-nl >> > > _______________________________________________ > Python-nl mailing list > Python-nl at python.org > http://mail.python.org/mailman/listinfo/python-nl > > > > _______________________________________________ > Python-nl mailing list > Python-nl at python.org > http://mail.python.org/mailman/listinfo/python-nl > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From peter at bubblefoundry.com Wed Jun 15 12:21:14 2011 From: peter at bubblefoundry.com (Peter Robinett) Date: Wed, 15 Jun 2011 12:21:14 +0200 Subject: [python-nl] deployment knowledge sharing session: release management + buildout + puppet Message-ID: I'm still planning on coming... Do we have enough people? Peter Robinett +31 645157473 +1 6506819197 bubblefoundry.com From remco at maykinmedia.nl Wed Jun 15 13:12:19 2011 From: remco at maykinmedia.nl (Remco Wendt) Date: Wed, 15 Jun 2011 13:12:19 +0200 Subject: [python-nl] deployment knowledge sharing session: release management + buildout + puppet In-Reply-To: References: Message-ID: On Wed, Jun 15, 2011 at 12:21, Peter Robinett wrote: > I'm still planning on coming... Do we have enough people? > I'm coming as well, bringing one of our employees with me. Have a meeting in the morning, so I'll try hard to be on time. Remco -- Maykin Media Herengracht 416, 1017 BZ Amsterdam tel.: +31 (0)20 753 05 23 mob.: +31 (0)6 187 967 06 http://www.maykinmedia.nl -------------- next part -------------- An HTML attachment was scrubbed... URL: From janjaapdriessen at gmail.com Wed Jun 15 13:55:45 2011 From: janjaapdriessen at gmail.com (Jan-Jaap Driessen) Date: Wed, 15 Jun 2011 13:55:45 +0200 Subject: [python-nl] deployment knowledge sharing session: release management + buildout + puppet In-Reply-To: References: Message-ID: Hi Peter, On Wed, Jun 15, 2011 at 12:21 PM, Peter Robinett wrote: > I'm still planning on coming... Do we have enough people? > > Peter Robinett We have enough people. See you tomorrow, Jan-Jaap From roland at micite.net Wed Jun 15 20:56:37 2011 From: roland at micite.net (Roland van Laar) Date: Wed, 15 Jun 2011 20:56:37 +0200 Subject: [python-nl] Next PUN Message-ID: <4DF90065.1000001@micite.net> Hallo, Deze zomer wordt er weer een open community camp[0] georganiseerd. Het OCC is in oegstgeest van zondag-middag 17 juli tot zondag-middag 24 juli. Er zijn drie mogelijke data voor de PUN. Mijn voorstel is om de PUN zaterdag middag de 23e te houden. Er na is er namelijk een BBQ. De andere opties zijn 's avonds dinsdag de 19e en 's avond woensdag de 20e. Om de voorkeur te peilen is er een Doodle aangemaakt: http://www.doodle.com/wepcnds5uzv2x5et Groeten, Roland van Laar [0]http://opencommunitycamp.org/site/ From roland at micite.net Thu Jun 16 08:06:52 2011 From: roland at micite.net (Roland van Laar) Date: Thu, 16 Jun 2011 08:06:52 +0200 Subject: [python-nl] deployment knowledge sharing session: release management + buildout + puppet In-Reply-To: References: Message-ID: <4DF99D7C.8000001@micite.net> On 06/15/2011 01:55 PM, Jan-Jaap Driessen wrote: > Hi Peter, > > On Wed, Jun 15, 2011 at 12:21 PM, Peter Robinett > wrote: >> I'm still planning on coming... Do we have enough people? >> >> Peter Robinett > We have enough people. Is there place for one more? I'd like to come. Roland van Laar > See you tomorrow, > > Jan-Jaap From janjaapdriessen at gmail.com Thu Jun 16 08:43:19 2011 From: janjaapdriessen at gmail.com (Jan-Jaap Driessen) Date: Thu, 16 Jun 2011 08:43:19 +0200 Subject: [python-nl] deployment knowledge sharing session: release management + buildout + puppet In-Reply-To: <4DF99D7C.8000001@micite.net> References: <4DF99D7C.8000001@micite.net> Message-ID: <4248009093014423956@unknownmsgid> No problem. On Jun 16, 2011, at 8:17, Roland van Laar wrote: > On 06/15/2011 01:55 PM, Jan-Jaap Driessen wrote: >> Hi Peter, >> >> On Wed, Jun 15, 2011 at 12:21 PM, Peter Robinett >> wrote: >>> I'm still planning on coming... Do we have enough people? >>> >>> Peter Robinett >> We have enough people. > > Is there place for one more? > I'd like to come. > > Roland van Laar >> See you tomorrow, >> >> Jan-Jaap > > _______________________________________________ > Python-nl mailing list > Python-nl at python.org > http://mail.python.org/mailman/listinfo/python-nl From marcelvandenelst at gmail.com Thu Jun 16 11:43:22 2011 From: marcelvandenelst at gmail.com (Marcel van den Elst) Date: Thu, 16 Jun 2011 11:43:22 +0200 Subject: [python-nl] deployment knowledge sharing session: release management + buildout + puppet In-Reply-To: <4248009093014423956@unknownmsgid> References: <4DF99D7C.8000001@micite.net> <4248009093014423956@unknownmsgid> Message-ID: <4DF9D03A.8040201@gmail.com> Sorry for the late notice, stuff came up, I regret not being able to join this afternoon - Marcel van den Elst >> Is there place for one more? >> I'd like to come. >> >> Roland van Laar From nheyning at gmail.com Thu Jun 16 12:16:58 2011 From: nheyning at gmail.com (Nicolaas Heyning) Date: Thu, 16 Jun 2011 12:16:58 +0200 Subject: [python-nl] Next PUN In-Reply-To: <4DF90065.1000001@micite.net> References: <4DF90065.1000001@micite.net> Message-ID: Hoi! Ik ben nieuw in de python community maar het lijkt me erg leuk om iedereen te leren kennen. Ben zelf verantwoordlijk voor de ontwikkeling van www.l1nda.nl, geschreven in Django. Ik hoor graag van jullie. Groeten, Nicolaas 2011/6/15 Roland van Laar > Hallo, > > Deze zomer wordt er weer een open community camp[0] georganiseerd. > Het OCC is in oegstgeest van zondag-middag 17 juli tot zondag-middag 24 > juli. > > Er zijn drie mogelijke data voor de PUN. > > Mijn voorstel is om de PUN zaterdag middag de 23e te houden. > Er na is er namelijk een BBQ. > > De andere opties zijn 's avonds dinsdag de 19e en 's avond woensdag de 20e. > Om de voorkeur te peilen is er een Doodle aangemaakt: > http://www.doodle.com/wepcnds5uzv2x5et > > Groeten, > > Roland van Laar > > [0]http://opencommunitycamp.org/site/ > > _______________________________________________ > Python-nl mailing list > Python-nl at python.org > http://mail.python.org/mailman/listinfo/python-nl > -------------- next part -------------- An HTML attachment was scrubbed... URL: From roland at micite.net Fri Jun 24 22:25:33 2011 From: roland at micite.net (Roland van Laar) Date: Fri, 24 Jun 2011 22:25:33 +0200 Subject: [python-nl] Next PUN Message-ID: <4E04F2BD.8030307@micite.net> Hallo, De volgende PUN is dinsdag 19 Juli in Oegstgeest tijdens het open community camp [0] Meld je aan op de PUN wiki: http://wiki.python.org/moin/PUN/OCC0711. Tot dan, Roland van Laar [0]http://opencommunitycamp.org/site/ From ik at gerardjp.com Mon Jun 27 08:46:59 2011 From: ik at gerardjp.com (Gerard @ Gmail) Date: Mon, 27 Jun 2011 08:46:59 +0200 Subject: [python-nl] Apache deployment refactored Message-ID: <4E082763.3030504@gerardjp.com> Hi All, In succession to the deployment meet some of you had in Rotterdam. Some recent work of mine: http://www.gerardjp.com/2011/06/25/refactoring-apache-vhosts/ Regards, Gerard. From brian.curtin at gmail.com Wed Jun 29 05:18:09 2011 From: brian.curtin at gmail.com (Brian Curtin) Date: Tue, 28 Jun 2011 22:18:09 -0500 Subject: [python-nl] Python User Group International Survey Message-ID: The PSF is happy to launch today an international survey of Python user group organizers to help it better serve the large and ever-expanding international Python user community. The survey contains questions on user group organization, events, demographics, and growth. There are some questions with numerical answers, and while your best guess is fine, you may find it helpful to gather some statistics on your user group membership before starting the survey (example statistics include the number of active members and the size and topics for recent user group events). We expect this survey to take around 30 minutes to complete. We appreciate your time and honesty in answering these questions. The PSF blog post announcing the survey: http://pyfound.blogspot.com/2011/06/tell-us-about-your-user-group.html The survey was written by Jessica McKellar (http://jesstess.com), organizer for the Boston Python Meetup (http://meetup.bostonpython.com), and Jesse Noller (http://jessenoller.com/), PSF board member and PyCon chair with input and feedback from survey specialists and others. https://www.surveymonkey.com/s/BWLG8SZ The survey was pretested with a handful of user group organizers, and their answers were phenomenal. Organizers have tons to say about these topics, and we hope to get a lot of great, actionable data for strengthening the relationship between the PSF and Python user groups out of this effort. Outreach, education, diversity and community building are critical for Python as a community, and the Foundation - this data should greatly assist in our targeting our resources and furthering the mission of the Foundation in all ways. Thank you The Python Software Foundation Jessica McKellar Jesse Noller -------------- next part -------------- An HTML attachment was scrubbed... URL: From brian.curtin at gmail.com Wed Jun 29 05:19:14 2011 From: brian.curtin at gmail.com (Brian Curtin) Date: Tue, 28 Jun 2011 22:19:14 -0500 Subject: [python-nl] Python User Group International Survey Message-ID: The PSF is happy to launch today an international survey of Python user group organizers to help it better serve the large and ever-expanding international Python user community. The survey contains questions on user group organization, events, demographics, and growth. There are some questions with numerical answers, and while your best guess is fine, you may find it helpful to gather some statistics on your user group membership before starting the survey (example statistics include the number of active members and the size and topics for recent user group events). We expect this survey to take around 30 minutes to complete. We appreciate your time and honesty in answering these questions. The PSF blog post announcing the survey: http://pyfound.blogspot.com/2011/06/tell-us-about-your-user-group.html The survey was written by Jessica McKellar (http://jesstess.com), organizer for the Boston Python Meetup (http://meetup.bostonpython.com), and Jesse Noller (http://jessenoller.com/), PSF board member and PyCon chair with input and feedback from survey specialists and others. https://www.surveymonkey.com/s/BWLG8SZ The survey was pretested with a handful of user group organizers, and their answers were phenomenal. Organizers have tons to say about these topics, and we hope to get a lot of great, actionable data for strengthening the relationship between the PSF and Python user groups out of this effort. Outreach, education, diversity and community building are critical for Python as a community, and the Foundation - this data should greatly assist in our targeting our resources and furthering the mission of the Foundation in all ways. Thank you The Python Software Foundation Jessica McKellar Jesse Noller -------------- next part -------------- An HTML attachment was scrubbed... URL: From remco at maykinmedia.nl Wed Jun 29 12:56:46 2011 From: remco at maykinmedia.nl (Remco Wendt) Date: Wed, 29 Jun 2011 12:56:46 +0200 Subject: [python-nl] Python User Group International Survey In-Reply-To: References: Message-ID: Hey Brian, On Wed, Jun 29, 2011 at 05:19, Brian Curtin wrote: > The PSF is happy to launch today an international survey of Python user > group organizers to help it better serve the large and ever-expanding > international Python user community. > Thanks for doing this! It is great seeing that the PSF is very willing to connect with the local communities. I just filled in the survey with our experiences in organizing the local Python and Django meetups and of course DjangoCon Europe 2011. Cheers, Remco -- Maykin Media Herengracht 416, 1017 BZ Amsterdam tel.: +31 (0)20 753 05 23 mob.: +31 (0)6 187 967 06 http://www.maykinmedia.nl -------------- next part -------------- An HTML attachment was scrubbed... URL: From vm at klankschap.nl Wed Jun 29 16:01:38 2011 From: vm at klankschap.nl (Floris van Manen) Date: Wed, 29 Jun 2011 16:01:38 +0200 Subject: [python-nl] lambda rewrite question Message-ID: <2AC7CE18-A963-4858-80C2-650EC5BE40A5@klankschap.nl> For those of you who know everything about the basic python syntax & semantics ... I get stuck in a simple context issue (i think) this version works, it return the stored float value def rewrite( d ): for key in d: for k in d[key]['next']: c = float(d[key]['next'][k]['prob']) d[key]['next'][k]['prob'] = c return d this doesn't if i call the function it will return a (random?) identical value for all stored lambda functions. def rewrite( d ): for key in d: for k in d[key]['next']: c = float(d[key]['next'][k]['prob']) d[key]['next'][k]['prob'] = lambda : c return d There is most likely a reason to it. Can someone explain me what that reason is ? Thanks! .Floris From tikitu at buzzcapture.com Wed Jun 29 16:28:54 2011 From: tikitu at buzzcapture.com (Tikitu de Jager -- Buzzcapture) Date: Wed, 29 Jun 2011 16:28:54 +0200 Subject: [python-nl] lambda rewrite question In-Reply-To: <2AC7CE18-A963-4858-80C2-650EC5BE40A5@klankschap.nl> References: <2AC7CE18-A963-4858-80C2-650EC5BE40A5@klankschap.nl> Message-ID: <4E0B36A6.2090706@buzzcapture.com> There's a good StackOverflow answer on this: http://stackoverflow.com/questions/2295290/what-do-lambda-function-closures-capture-in-python The question is actually by my boss, but that's something of a coincidence: I found it with google then remembered that he had stumbled on the problem before. gr, Tikitu -- Tikitu de Jager From sylvain at infrae.com Wed Jun 29 16:30:44 2011 From: sylvain at infrae.com (Sylvain Viollon) Date: Wed, 29 Jun 2011 16:30:44 +0200 Subject: [python-nl] lambda rewrite question In-Reply-To: <2AC7CE18-A963-4858-80C2-650EC5BE40A5@klankschap.nl> References: <2AC7CE18-A963-4858-80C2-650EC5BE40A5@klankschap.nl> Message-ID: <20110629163044.024992c1@bluedwarf.infrae> On Wed, 29 Jun 2011 16:01:38 +0200 Floris van Manen wrote: Hello, > this doesn't > if i call the function it will return a (random?) identical value for > all stored lambda functions. > > def rewrite( d ): > for key in d: > for k in d[key]['next']: > c = float(d[key]['next'][k]['prob']) > d[key]['next'][k]['prob'] = lambda : c > return d > > > There is most likely a reason to it. > Can someone explain me what that reason is ? > c refer to only one variable, which scope is the function rewrite. lambda here create a closure that return the value of this unique variable, that will have as value the one computed in the last iteration of your loop (that's not random). Regards, Sylvain, -- Sylvain Viollon -- Infrae t +31 10 243 7051 -- http://infrae.com Hoevestraat 10 3033GC Rotterdam -- The Netherlands From a.t.hofkamp at tue.nl Wed Jun 29 16:53:48 2011 From: a.t.hofkamp at tue.nl (A.T.Hofkamp) Date: Wed, 29 Jun 2011 16:53:48 +0200 Subject: [python-nl] Opschonen programma (was: lambda rewrite question) In-Reply-To: <2AC7CE18-A963-4858-80C2-650EC5BE40A5@klankschap.nl> References: <2AC7CE18-A963-4858-80C2-650EC5BE40A5@klankschap.nl> Message-ID: <4E0B3C7C.1080604@tue.nl> On 29/06/11 16:01, Floris van Manen wrote: > For those of you who know everything about the basic python syntax& semantics ... > I get stuck in a simple context issue (i think) > > > this version works, it return the stored float value > > def rewrite( d ): > for key in d: > for k in d[key]['next']: > c = float(d[key]['next'][k]['prob']) > d[key]['next'][k]['prob'] = c > return d Anderen hebben je vraag al opgelost, ik wil alleen even opmerken dat je programma mooier kan met behulp van d.itervalues(): def rewrite( d ): for v in d.itervalues(): for w in v['next'].itervalues(): c = float(w['prob']) w['prob'] = c return d Verder is de 'return' is niet nodig, de aanroeper heeft al een referentie naar d. In mijn programma's betekent teruggeven van een waarde na een aanroep altijd 'hier heb je een nieuwe waarde, de oude is ongewijzigd'. Dat geldt hier niet. Weglaten van de return maakt dat meer expliciet. Albert From wichert at wiggy.net Wed Jun 29 16:44:04 2011 From: wichert at wiggy.net (Wichert Akkerman) Date: Wed, 29 Jun 2011 16:44:04 +0200 Subject: [python-nl] lambda rewrite question In-Reply-To: <20110629163044.024992c1@bluedwarf.infrae> References: <2AC7CE18-A963-4858-80C2-650EC5BE40A5@klankschap.nl> <20110629163044.024992c1@bluedwarf.infrae> Message-ID: <4E0B3A34.8080706@wiggy.net> On 06/29/2011 04:30 PM, Sylvain Viollon wrote: > On Wed, 29 Jun 2011 16:01:38 +0200 > Floris van Manen wrote: > > Hello, > >> this doesn't >> if i call the function it will return a (random?) identical value for >> all stored lambda functions. >> >> def rewrite( d ): >> for key in d: >> for k in d[key]['next']: >> c = float(d[key]['next'][k]['prob']) >> d[key]['next'][k]['prob'] = lambda : c >> return d >> >> >> There is most likely a reason to it. >> Can someone explain me what that reason is ? >> > c refer to only one variable, which scope is the function rewrite. > > lambda here create a closure that return the value of this unique > variable, that will have as value the one computed in the last > iteration of your loop (that's not random). (zullen we python-nl gewoon in het nederlands houden?) Als workaround kan je dit herschrijven als "lambda x=c: x" Wichert. From vm at klankschap.nl Wed Jun 29 17:30:22 2011 From: vm at klankschap.nl (Floris van Manen) Date: Wed, 29 Jun 2011 17:30:22 +0200 Subject: [python-nl] lambda rewrite question In-Reply-To: <4E0B3A34.8080706@wiggy.net> References: <2AC7CE18-A963-4858-80C2-650EC5BE40A5@klankschap.nl> <20110629163044.024992c1@bluedwarf.infrae> <4E0B3A34.8080706@wiggy.net> Message-ID: On Jun 29, 2011, at 16:44, Wichert Akkerman wrote: > Als workaround kan je dit herschrijven als "lambda x=c: x" Dat is ook weer wel zo duidelijk. .F From kitblake at infrae.com Wed Jun 29 17:35:12 2011 From: kitblake at infrae.com (Kit BLAKE) Date: Wed, 29 Jun 2011 17:35:12 +0200 Subject: [python-nl] lambda rewrite question In-Reply-To: <4E0B3A34.8080706@wiggy.net> References: <2AC7CE18-A963-4858-80C2-650EC5BE40A5@klankschap.nl> <20110629163044.024992c1@bluedwarf.infrae> <4E0B3A34.8080706@wiggy.net> Message-ID: <91AE5F9F-A567-4D6A-803C-9328455AAD5C@infrae.com> On 29 Jun 2011, at 16:44, Wichert Akkerman wrote: > (zullen we python-nl gewoon in het nederlands houden?) Hij is een Fransman. (Maar toch bezig met een cursus nederlands :) Kit > Als workaround kan je dit herschrijven als "lambda x=c: x" > > Wichert. > > _______________________________________________ > Python-nl mailing list > Python-nl at python.org > http://mail.python.org/mailman/listinfo/python-nl -- Kit BLAKE ? Infrae ? http://infrae.com/ + 31 10 243 7051 From vm at klankschap.nl Wed Jun 29 17:28:29 2011 From: vm at klankschap.nl (Floris van Manen) Date: Wed, 29 Jun 2011 17:28:29 +0200 Subject: [python-nl] Opschonen programma (was: lambda rewrite question) In-Reply-To: <4E0B3C7C.1080604@tue.nl> References: <2AC7CE18-A963-4858-80C2-650EC5BE40A5@klankschap.nl> <4E0B3C7C.1080604@tue.nl> Message-ID: <1DFB1820-D0B9-4591-BB2F-A681250AFCB2@klankschap.nl> A. Dat ruimt inderdaad mooi op. De leesbaarheid is er vooralsnog toch nog vooral voor de mens achter de programmeur :-) Dank! .F On Jun 29, 2011, at 16:53, A.T.Hofkamp wrote: > On 29/06/11 16:01, Floris van Manen wrote: >> For those of you who know everything about the basic python syntax& semantics ... >> I get stuck in a simple context issue (i think) >> >> >> this version works, it return the stored float value >> >> def rewrite( d ): >> for key in d: >> for k in d[key]['next']: >> c = float(d[key]['next'][k]['prob']) >> d[key]['next'][k]['prob'] = c >> return d > > Anderen hebben je vraag al opgelost, ik wil alleen even opmerken dat je programma mooier kan met behulp van d.itervalues(): > > def rewrite( d ): > for v in d.itervalues(): > for w in v['next'].itervalues(): > c = float(w['prob']) > w['prob'] = c > return d > > > Verder is de 'return' is niet nodig, de aanroeper heeft al een referentie naar d. > > In mijn programma's betekent teruggeven van een waarde na een aanroep altijd 'hier heb je een nieuwe waarde, de oude is ongewijzigd'. Dat geldt hier niet. Weglaten van de return maakt dat meer expliciet. > > > Albert > _______________________________________________ > Python-nl mailing list > Python-nl at python.org > http://mail.python.org/mailman/listinfo/python-nl From wichert at wiggy.net Wed Jun 29 17:36:11 2011 From: wichert at wiggy.net (Wichert Akkerman) Date: Wed, 29 Jun 2011 17:36:11 +0200 Subject: [python-nl] lambda rewrite question In-Reply-To: <91AE5F9F-A567-4D6A-803C-9328455AAD5C@infrae.com> References: <2AC7CE18-A963-4858-80C2-650EC5BE40A5@klankschap.nl> <20110629163044.024992c1@bluedwarf.infrae> <4E0B3A34.8080706@wiggy.net> <91AE5F9F-A567-4D6A-803C-9328455AAD5C@infrae.com> Message-ID: <4E0B466B.1060203@wiggy.net> On 06/29/2011 05:35 PM, Kit BLAKE wrote: > On 29 Jun 2011, at 16:44, Wichert Akkerman wrote: >> (zullen we python-nl gewoon in het nederlands houden?) > > Hij is een Fransman. (Maar toch bezig met een cursus nederlands :) Prima reden om hier nederlands te proberen dan! En anders is er vast python-fr :) From sylvain at infrae.com Wed Jun 29 17:51:22 2011 From: sylvain at infrae.com (Sylvain Viollon) Date: Wed, 29 Jun 2011 17:51:22 +0200 Subject: [python-nl] lambda rewrite question In-Reply-To: <4E0B466B.1060203@wiggy.net> References: <2AC7CE18-A963-4858-80C2-650EC5BE40A5@klankschap.nl> <20110629163044.024992c1@bluedwarf.infrae> <4E0B3A34.8080706@wiggy.net> <91AE5F9F-A567-4D6A-803C-9328455AAD5C@infrae.com> <4E0B466B.1060203@wiggy.net> Message-ID: <20110629175122.63baafeb@bluedwarf.infrae> On Wed, 29 Jun 2011 17:36:11 +0200 Wichert Akkerman wrote: > On 06/29/2011 05:35 PM, Kit BLAKE wrote: > > On 29 Jun 2011, at 16:44, Wichert Akkerman wrote: > >> (zullen we python-nl gewoon in het nederlands houden?) > > > > Hij is een Fransman. (Maar toch bezig met een cursus nederlands :) > > Prima reden om hier nederlands te proberen dan! En anders is er vast > python-fr :) > En de vraag was in engels. Sylvain, -- Sylvain Viollon -- Infrae t +31 10 243 7051 -- http://infrae.com Hoevestraat 10 3033GC Rotterdam -- The Netherlands From rob at hooft.net Wed Jun 29 18:18:11 2011 From: rob at hooft.net (Rob Hooft) Date: Wed, 29 Jun 2011 18:18:11 +0200 Subject: [python-nl] lambda rewrite question In-Reply-To: <2AC7CE18-A963-4858-80C2-650EC5BE40A5@klankschap.nl> References: <2AC7CE18-A963-4858-80C2-650EC5BE40A5@klankschap.nl> Message-ID: 2011/6/29 Floris van Manen : > For those of you who know everything about the basic python syntax & semantics ... > I get stuck in a simple context issue (i think) > > > this version works, it return the stored float value > > def rewrite( d ): > ? ?for key in d: > ? ? ? ?for k in d[key]['next']: > ? ? ? ? ? ?c = float(d[key]['next'][k]['prob']) > ? ? ? ? ? ?d[key]['next'][k]['prob'] = c > ? ?return d > > > > this doesn't > if i call the function it will return a (random?) identical value for all stored lambda functions. > > def rewrite( d ): > ? ?for key in d: > ? ? ? ?for k in d[key]['next']: > ? ? ? ? ? ?c = float(d[key]['next'][k]['prob']) > ? ? ? ? ? ?d[key]['next'][k]['prob'] = lambda : c > ? ?return d > > > There is most likely a reason to it. > Can someone explain me what that reason is ? The latter function will set all values to the same function, returning the value of "c". So, they will all report the last value of "c". Your lambda is almost the same as defining the function elsewhere: def rewrite( d ): def utility(): return c for key in d: for k in d[key]['next']: c = float(d[key]['next'][k]['prob']) d[key]['next'][k]['prob'] = utility return d Rob -- Rob W. W. Hooft || rob at hooft.net || http://hooft.net/rob From remco at maykinmedia.nl Wed Jun 29 18:23:23 2011 From: remco at maykinmedia.nl (Remco Wendt) Date: Wed, 29 Jun 2011 18:23:23 +0200 Subject: [python-nl] lambda rewrite question In-Reply-To: <20110629175122.63baafeb@bluedwarf.infrae> References: <2AC7CE18-A963-4858-80C2-650EC5BE40A5@klankschap.nl> <20110629163044.024992c1@bluedwarf.infrae> <4E0B3A34.8080706@wiggy.net> <91AE5F9F-A567-4D6A-803C-9328455AAD5C@infrae.com> <4E0B466B.1060203@wiggy.net> <20110629175122.63baafeb@bluedwarf.infrae> Message-ID: 2011/6/29 Sylvain Viollon > En de vraag was in engels. > Gaat al de goede kant op Sylvain! Het is alleen: de vraag was in _het_ Engels. Groetjes, Remco -- Maykin Media Herengracht 416, 1017 BZ Amsterdam tel.: +31 (0)20 753 05 23 mob.: +31 (0)6 187 967 06 http://www.maykinmedia.nl -------------- next part -------------- An HTML attachment was scrubbed... URL: From vm at klankschap.nl Wed Jun 29 18:15:50 2011 From: vm at klankschap.nl (Floris van Manen) Date: Wed, 29 Jun 2011 18:15:50 +0200 Subject: [python-nl] lambda rewrite question In-Reply-To: <20110629175122.63baafeb@bluedwarf.infrae> References: <2AC7CE18-A963-4858-80C2-650EC5BE40A5@klankschap.nl> <20110629163044.024992c1@bluedwarf.infrae> <4E0B3A34.8080706@wiggy.net> <91AE5F9F-A567-4D6A-803C-9328455AAD5C@infrae.com> <4E0B466B.1060203@wiggy.net> <20110629175122.63baafeb@bluedwarf.infrae> Message-ID: <353F0233-B321-4D83-826B-5A4DDC6D8755@klankschap.nl> On Jun 29, 2011, at 17:51, Sylvain Viollon wrote: > On Wed, 29 Jun 2011 17:36:11 +0200 > Wichert Akkerman wrote: > >> On 06/29/2011 05:35 PM, Kit BLAKE wrote: >>> On 29 Jun 2011, at 16:44, Wichert Akkerman wrote: >>>> (zullen we python-nl gewoon in het nederlands houden?) >>> >>> Hij is een Fransman. (Maar toch bezig met een cursus nederlands :) >> >> Prima reden om hier nederlands te proberen dan! En anders is er vast >> python-fr :) >> > > En de vraag was in engels. Exactement ... En python zelf is ook niet helemaal 100% autochtoon, qua syntax en alles :-) .F From remco at maykinmedia.nl Wed Jun 29 18:56:57 2011 From: remco at maykinmedia.nl (Remco Wendt) Date: Wed, 29 Jun 2011 18:56:57 +0200 Subject: [python-nl] Startupweekend in Amsterdam Message-ID: Hey all, A couple of python/django developers will join in during http://amsterdam.startupweekend.org (July 8th - July 10th) in Pakhuis de Zwijger, also location where DjangoCon Europe was hosted. Startupweekend is a non-stop marathon to create a startup in... yeah a weekend. It basically means you team up with people with a diverse set of expertises to build something that people want to use over the course of a weekend and you end up with something working that you can demo. It is fun and developers are much needed! Jan-Jaap Driessen and I created an API for the Ipad Cash register, using Grok, during the last Startup Weekend in Eindhoven: http://www.ipadkassasysteem.nl/ If you want to join in: Dwight Gunning, one of the organizers and fellow pythonista, has given us a special coupon code for a 20% discount: SW_PUN. Maybe see you there, Remco -- Maykin Media Herengracht 416, 1017 BZ Amsterdam tel.: +31 (0)20 753 05 23 mob.: +31 (0)6 187 967 06 http://www.maykinmedia.nl -------------- next part -------------- An HTML attachment was scrubbed... URL: From faassen at startifact.com Wed Jun 29 20:21:41 2011 From: faassen at startifact.com (Martijn Faassen) Date: Wed, 29 Jun 2011 20:21:41 +0200 Subject: [python-nl] Startupweekend in Amsterdam In-Reply-To: References: Message-ID: Hi there, Sounds like a lot of fun! Unfortunately I can't make it this time, but keep us posted about how it went and if it happens again. Regards, Martijn From dirkjan at ochtman.nl Wed Jun 29 21:03:07 2011 From: dirkjan at ochtman.nl (Dirkjan Ochtman) Date: Wed, 29 Jun 2011 21:03:07 +0200 Subject: [python-nl] lambda rewrite question In-Reply-To: <353F0233-B321-4D83-826B-5A4DDC6D8755@klankschap.nl> References: <2AC7CE18-A963-4858-80C2-650EC5BE40A5@klankschap.nl> <20110629163044.024992c1@bluedwarf.infrae> <4E0B3A34.8080706@wiggy.net> <91AE5F9F-A567-4D6A-803C-9328455AAD5C@infrae.com> <4E0B466B.1060203@wiggy.net> <20110629175122.63baafeb@bluedwarf.infrae> <353F0233-B321-4D83-826B-5A4DDC6D8755@klankschap.nl> Message-ID: 2011/6/29 Floris van Manen : > Exactement ... > En python zelf is ook niet helemaal 100% autochtoon, qua syntax en alles :-) Nouja, de syntax zelf is vrij taalneutraal... ;) Groet, Dirkjan From vm at klankschap.nl Thu Jun 30 01:36:57 2011 From: vm at klankschap.nl (Floris van Manen) Date: Thu, 30 Jun 2011 01:36:57 +0200 Subject: [python-nl] lambda rewrite question In-Reply-To: References: <2AC7CE18-A963-4858-80C2-650EC5BE40A5@klankschap.nl> <20110629163044.024992c1@bluedwarf.infrae> <4E0B3A34.8080706@wiggy.net> <91AE5F9F-A567-4D6A-803C-9328455AAD5C@infrae.com> <4E0B466B.1060203@wiggy.net> <20110629175122.63baafeb@bluedwarf.infrae> <353F0233-B321-4D83-826B-5A4DDC6D8755@klankschap.nl> Message-ID: <260B2FD2-76E8-4353-91EC-47B48A04466B@klankschap.nl> On Jun 29, 2011, at 21:03, Dirkjan Ochtman wrote: > 2011/6/29 Floris van Manen : >> Exactement ... >> En python zelf is ook niet helemaal 100% autochtoon, qua syntax en alles :-) > > Nouja, de syntax zelf is vrij taalneutraal... ;) ( try if def while else not except ) autochtoon in de zin van een stukje polder beleving ... .F From wichert at wiggy.net Thu Jun 30 13:25:09 2011 From: wichert at wiggy.net (Wichert Akkerman) Date: Thu, 30 Jun 2011 13:25:09 +0200 Subject: [python-nl] Startupweekend in Amsterdam In-Reply-To: References: Message-ID: <4E0C5D15.1040001@wiggy.net> On 06/29/2011 06:56 PM, Remco Wendt wrote: > Hey all, > > A couple of python/django developers will join in during > http://amsterdam.startupweekend.org (July 8th - July 10th) in Pakhuis > de Zwijger, also location where DjangoCon Europe was hosted. > Startupweekend is a non-stop marathon to create a startup in... yeah a > weekend. It basically means you team up with people with a diverse set > of expertises to build something that people want to use over the > course of a weekend and you end up with something working that you can > demo. It is fun and developers are much needed! Leuk idee, ik heb me net opgegeven. Wel suf dat er bij Python meteen Django achterstaat ;) Wichert. From info at elit.nl Wed Jun 29 16:33:20 2011 From: info at elit.nl (Elit) Date: Wed, 29 Jun 2011 16:33:20 +0200 Subject: [python-nl] lambda rewrite question In-Reply-To: <2AC7CE18-A963-4858-80C2-650EC5BE40A5@klankschap.nl> References: <2AC7CE18-A963-4858-80C2-650EC5BE40A5@klankschap.nl> Message-ID: <4E0B37B0.2010204@elit.nl> Hi, I think the problem is that the lamba function tries to return the value stored at variable 'c', but that variable is only defined within the inner loop. So, if the lambda function gets called later on, it references 'c' which is not valid anymore. You might be able to solve it by doing: d[key]['next'][k]['prob'] = lambda : float(c) (So, move the float function into the lambda) I hope this works (and that I'm not wrong :) ) Good luck, Rinze On 29-6-2011 16:01, Floris van Manen wrote: > For those of you who know everything about the basic python syntax& semantics ... > I get stuck in a simple context issue (i think) > > > this version works, it return the stored float value > > def rewrite( d ): > for key in d: > for k in d[key]['next']: > c = float(d[key]['next'][k]['prob']) > d[key]['next'][k]['prob'] = c > return d > > > > this doesn't > if i call the function it will return a (random?) identical value for all stored lambda functions. > > def rewrite( d ): > for key in d: > for k in d[key]['next']: > c = float(d[key]['next'][k]['prob']) > d[key]['next'][k]['prob'] = lambda : c > return d > > > There is most likely a reason to it. > Can someone explain me what that reason is ? > > Thanks! > .Floris > > > _______________________________________________ > Python-nl mailing list > Python-nl at python.org > http://mail.python.org/mailman/listinfo/python-nl >