From dbunskoek at leukeleu.nl Mon Apr 12 14:15:50 2010 From: dbunskoek at leukeleu.nl (Dennis Bunskoek) Date: Mon, 12 Apr 2010 14:15:50 +0200 Subject: [python-nl] Django vacature in Utrecht Message-ID: <71EC0CD2-91E7-402B-A217-E605277B12AB@leukeleu.nl> Hello everyone, Zoals sommigen van jullie misschien hebben gezien aan het einde van mijn praatje 'Django and frontend goodness' (over dynamische questionnaires, bij de vorige Django meetup, ja met die t-shirts :)) zijn wij naarstig op zoek naar Django developers. Het gaat om een vacature in Utrecht, in (bij voorkeur) vast dienstverband. Ik wou het bij deze hier ook nog eventjes onder de aandacht brengen. De volledige vacature vind je op onze site(s): http://www.leukeleu.nl/tools/werken_bij/django_developers http://www.ridethepony.nl/ Groeten, Dennis Bunskoek - Leukeleu / Ride The Pony http://www.leukeleu.nl/ dbunskoek at leukeleu.nl 030 - 755 15 10 06 - 42 035 635 From egbertum at xs4all.nl Mon Apr 12 18:42:12 2010 From: egbertum at xs4all.nl (egbert) Date: Mon, 12 Apr 2010 18:42:12 +0200 Subject: [python-nl] Pylons Message-ID: <20100412164212.GA12852@xs4all.nl> Op deze lijst komen we regelmatig Django tegen, maar Pylons nooit. Leeft Pylons in Nederland ? Egbert -- Egbert Bouwman - Keizersgracht 197 II - 1016 DS Amsterdam - 020 6257991 ======================================================================== From dirkjan at ochtman.nl Mon Apr 12 19:04:45 2010 From: dirkjan at ochtman.nl (Dirkjan Ochtman) Date: Mon, 12 Apr 2010 19:04:45 +0200 Subject: [python-nl] Pylons In-Reply-To: <20100412164212.GA12852@xs4all.nl> References: <20100412164212.GA12852@xs4all.nl> Message-ID: 2010/4/12 egbert : > Op deze lijst komen we regelmatig Django tegen, > maar Pylons nooit. > Leeft Pylons in Nederland ? (c) none of the above. Ik bouw WSGI apps from scratch. Jinja2 is geniaal voor templating. Als database gebruik ik tegenwoordig CouchDB (met CouchDB-python). Ik denk er serieus over om Werkzeug te gaan gebruiken. (Problemen met Django: ORM en templating zijn minder goed dan SQLAlchemy en Jinja. Ik heb het sowieso redelijk gehad met SQL databases, voor de klasse apps die ik schrijf.) Pylons lijkt me conceptueel een betere oplossing dan Django, maar ik heb nooit echt het idee gekregen dat ik er veel uit zou halen (dwz, iets als de django admin app, wat me potentieel veel tijd scheelt). Ik moet nog meer experimenteren met form generation (WTForms is mijn eerste idee om iets mee te proberen). Groet, Dirkjan From wichert at wiggy.net Tue Apr 13 10:29:57 2010 From: wichert at wiggy.net (Wichert Akkerman) Date: Tue, 13 Apr 2010 10:29:57 +0200 Subject: [python-nl] Pylons In-Reply-To: <20100412164212.GA12852@xs4all.nl> References: <20100412164212.GA12852@xs4all.nl> Message-ID: <4BC42B85.6050506@wiggy.net> On 4/12/10 18:42 , egbert wrote: > Op deze lijst komen we regelmatig Django tegen, > maar Pylons nooit. > Leeft Pylons in Nederland ? Zeker wel. Als je een voorbeeld zoekt: www.2style4you.com hebben we met pylons gemaakt. Overigens ligt mijn voorkeur op dit moment meer bij BFG: zelfde gedachtenset als Pylons, maar veel actievere developers en uitgebreide documentatie. Wichert. From r.r.nederhoed at gmail.com Tue Apr 13 14:32:01 2010 From: r.r.nederhoed at gmail.com (Robert-Reinder Nederhoed) Date: Tue, 13 Apr 2010 14:32:01 +0200 Subject: [python-nl] Pylons In-Reply-To: <4BC42B85.6050506@wiggy.net> References: <20100412164212.GA12852@xs4all.nl> <4BC42B85.6050506@wiggy.net> Message-ID: Ahum... BFG? -------------- next part -------------- An HTML attachment was scrubbed... URL: From wichert at wiggy.net Tue Apr 13 14:34:07 2010 From: wichert at wiggy.net (Wichert Akkerman) Date: Tue, 13 Apr 2010 14:34:07 +0200 Subject: [python-nl] Pylons In-Reply-To: References: <20100412164212.GA12852@xs4all.nl> <4BC42B85.6050506@wiggy.net> Message-ID: <4BC464BF.8000006@wiggy.net> On 4/13/10 14:32 , Robert-Reinder Nederhoed wrote: > Ahum... BFG? http://bfg.repoze.org/ . Oorspronkelijk begonnen als framework onder KARL3 (zie http://www.karlproject.org/ ) maar heeft tegenwoordig een heel eigen leven. Wichert. From asmodai at in-nomine.org Tue Apr 13 14:34:21 2010 From: asmodai at in-nomine.org (Jeroen Ruigrok van der Werven) Date: Tue, 13 Apr 2010 14:34:21 +0200 Subject: [python-nl] Pylons In-Reply-To: References: <20100412164212.GA12852@xs4all.nl> <4BC42B85.6050506@wiggy.net> Message-ID: <20100413123421.GC92801@nexus.in-nomine.org> -On [20100413 14:32], Robert-Reinder Nederhoed (r.r.nederhoed at gmail.com) wrote: >Ahum... BFG? Simpele Google zoekopdracht voor "python bfg" geeft http://bfg.repoze.org/ -- Jeroen Ruigrok van der Werven / asmodai ????? ?????? ??? ?? ?????? http://www.in-nomine.org/ | http://www.rangaku.org/ | GPG: 2EAC625B ...and once there'll be a time that I have waited for, when the dawn will steal my dreams no more... From vm at klankschap.nl Tue Apr 13 14:38:24 2010 From: vm at klankschap.nl (Floris van Manen) Date: Tue, 13 Apr 2010 14:38:24 +0200 Subject: [python-nl] Pylons In-Reply-To: <4BC464BF.8000006@wiggy.net> References: <20100412164212.GA12852@xs4all.nl> <4BC42B85.6050506@wiggy.net> <4BC464BF.8000006@wiggy.net> Message-ID: On Apr 13, 2010, at 14:34, Wichert Akkerman wrote: > On 4/13/10 14:32 , Robert-Reinder Nederhoed wrote: >> Ahum... BFG? > > http://bfg.repoze.org/ . Oorspronkelijk begonnen als framework onder KARL3 (zie http://www.karlproject.org/ ) maar heeft tegenwoordig een heel eigen leven. > > Wichert. > maar het wil hier niet installeren :-( (OSX 2.6.3) $ sudo easy_install virtualenv Searching for virtualenv Reading http://pypi.python.org/simple/virtualenv/ Reading http://virtualenv.openplans.org Best match: virtualenv 1.4.6 Downloading http://pypi.python.org/packages/source/v/virtualenv/virtualenv-1.4.6.tar.gz#md5=f576969d591a054132fe8c9165c2b3c3 Processing virtualenv-1.4.6.tar.gz Running virtualenv-1.4.6/setup.py -q bdist_egg --dist-dir /tmp/easy_install-Dv4Dej/virtualenv-1.4.6/egg-dist-tmp-Yck1QN Traceback (most recent call last): File "/Library/Frameworks/Python.framework/Versions/2.6/bin/easy_install", line 8, in load_entry_point('setuptools==0.6c11', 'console_scripts', 'easy_install')() File "build/bdist.macosx-10.3-fat/egg/setuptools/command/easy_install.py", line 1702, in main File "build/bdist.macosx-10.3-fat/egg/setuptools/command/easy_install.py", line 1690, in with_ei_usage File "build/bdist.macosx-10.3-fat/egg/setuptools/command/easy_install.py", line 1706, in File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/distutils/core.py", line 152, in setup dist.run_commands() File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/distutils/dist.py", line 975, in run_commands self.run_command(cmd) File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/distutils/dist.py", line 995, in run_command cmd_obj.run() File "build/bdist.macosx-10.3-fat/egg/setuptools/command/easy_install.py", line 236, in run File "build/bdist.macosx-10.3-fat/egg/setuptools/command/easy_install.py", line 471, in easy_install File "build/bdist.macosx-10.3-fat/egg/setuptools/command/easy_install.py", line 501, in install_item File "build/bdist.macosx-10.3-fat/egg/setuptools/command/easy_install.py", line 680, in install_eggs File "build/bdist.macosx-10.3-fat/egg/setuptools/command/easy_install.py", line 957, in build_and_install File "build/bdist.macosx-10.3-fat/egg/setuptools/command/easy_install.py", line 946, in run_setup File "build/bdist.macosx-10.3-fat/egg/setuptools/sandbox.py", line 29, in run_setup File "build/bdist.macosx-10.3-fat/egg/setuptools/sandbox.py", line 70, in run File "build/bdist.macosx-10.3-fat/egg/setuptools/sandbox.py", line 31, in File "setup.py", line 67, in File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/distutils/core.py", line 113, in setup _setup_distribution = dist = klass(attrs) File "build/bdist.macosx-10.3-fat/egg/setuptools/dist.py", line 224, in __init__ File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/distutils/dist.py", line 270, in __init__ self.finalize_options() File "build/bdist.macosx-10.3-fat/egg/setuptools/dist.py", line 257, in finalize_options File "build/bdist.macosx-10.3-fat/egg/pkg_resources.py", line 1922, in load while parts and parts[-1]=='*final-': parts.pop() ImportError: has no 'check_packages' attribute From wichert at wiggy.net Tue Apr 13 14:40:57 2010 From: wichert at wiggy.net (Wichert Akkerman) Date: Tue, 13 Apr 2010 14:40:57 +0200 Subject: [python-nl] Pylons In-Reply-To: References: <20100412164212.GA12852@xs4all.nl> <4BC42B85.6050506@wiggy.net> <4BC464BF.8000006@wiggy.net> Message-ID: <4BC46659.6000805@wiggy.net> On 4/13/10 14:38 , Floris van Manen wrote: > > On Apr 13, 2010, at 14:34, Wichert Akkerman wrote: > >> On 4/13/10 14:32 , Robert-Reinder Nederhoed wrote: >>> Ahum... BFG? >> >> http://bfg.repoze.org/ . Oorspronkelijk begonnen als framework onder KARL3 (zie http://www.karlproject.org/ ) maar heeft tegenwoordig een heel eigen leven. >> >> Wichert. >> > > maar het wil hier niet installeren :-( > (OSX 2.6.3) 2.6.3? Bedoel je 10.6.3? Foute versie van setuptools of distribute in jouw omgeving misschien? Ik heb dit zelf nooit eerder gezien. Het is verrassend dat hij komt met macos-10.3, dat zou 10.6 moeten zijn lijkt me. Wichert. From ronaldoussoren at mac.com Tue Apr 13 14:45:12 2010 From: ronaldoussoren at mac.com (Ronald Oussoren) Date: Tue, 13 Apr 2010 14:45:12 +0200 Subject: [python-nl] Pylons In-Reply-To: <4BC46659.6000805@wiggy.net> References: <20100412164212.GA12852@xs4all.nl> <4BC42B85.6050506@wiggy.net> <4BC464BF.8000006@wiggy.net> <4BC46659.6000805@wiggy.net> Message-ID: On 13 Apr, 2010, at 14:40, Wichert Akkerman wrote: > On 4/13/10 14:38 , Floris van Manen wrote: >> >> On Apr 13, 2010, at 14:34, Wichert Akkerman wrote: >> >>> On 4/13/10 14:32 , Robert-Reinder Nederhoed wrote: >>>> Ahum... BFG? >>> >>> http://bfg.repoze.org/ . Oorspronkelijk begonnen als framework onder KARL3 (zie http://www.karlproject.org/ ) maar heeft tegenwoordig een heel eigen leven. >>> >>> Wichert. >>> >> >> maar het wil hier niet installeren :-( >> (OSX 2.6.3) > > 2.6.3? Bedoel je 10.6.3? > > Foute versie van setuptools of distribute in jouw omgeving misschien? Ik heb dit zelf nooit eerder gezien. Het is verrassend dat hij komt met macos-10.3, dat zou 10.6 moeten zijn lijkt me. De "macosx-10.3" klopt, de OSX installers op www.python.org zijn gebouwd voor OSX 10.3 of later en gebruiken daarom "10.3" als platform versie. Ronald -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 3567 bytes Desc: not available URL: From vm at klankschap.nl Tue Apr 13 14:54:06 2010 From: vm at klankschap.nl (Floris van Manen) Date: Tue, 13 Apr 2010 14:54:06 +0200 Subject: [python-nl] Pylons In-Reply-To: <4BC46659.6000805@wiggy.net> References: <20100412164212.GA12852@xs4all.nl> <4BC42B85.6050506@wiggy.net> <4BC464BF.8000006@wiggy.net> <4BC46659.6000805@wiggy.net> Message-ID: <17FE349E-7228-425E-ADB4-33480AAAD721@klankschap.nl> On Apr 13, 2010, at 14:40, Wichert Akkerman wrote: > Bedoel je 10.6.3? ja From dirkjan at ochtman.nl Tue Apr 13 15:56:24 2010 From: dirkjan at ochtman.nl (Dirkjan Ochtman) Date: Tue, 13 Apr 2010 15:56:24 +0200 Subject: [python-nl] Pylons In-Reply-To: References: <20100412164212.GA12852@xs4all.nl> <4BC42B85.6050506@wiggy.net> <4BC464BF.8000006@wiggy.net> Message-ID: On Tue, Apr 13, 2010 at 14:38, Floris van Manen wrote: > maar het wil hier niet installeren :-( > (OSX 2.6.3) > > > $ sudo easy_install virtualenv > Searching for virtualenv > Reading http://pypi.python.org/simple/virtualenv/ > Reading http://virtualenv.openplans.org > Best match: virtualenv 1.4.6 > Downloading http://pypi.python.org/packages/source/v/virtualenv/virtualenv-1.4.6.tar.gz#md5=f576969d591a054132fe8c9165c2b3c3 > Processing virtualenv-1.4.6.tar.gz > Running virtualenv-1.4.6/setup.py -q bdist_egg --dist-dir /tmp/easy_install-Dv4Dej/virtualenv-1.4.6/egg-dist-tmp-Yck1QN > Traceback (most recent call last): > ?File "/Library/Frameworks/Python.framework/Versions/2.6/bin/easy_install", line 8, in > ? ?load_entry_point('setuptools==0.6c11', 'console_scripts', 'easy_install')() > ?File "build/bdist.macosx-10.3-fat/egg/setuptools/command/easy_install.py", line 1702, in main > > ?File "build/bdist.macosx-10.3-fat/egg/setuptools/command/easy_install.py", line 1690, in with_ei_usage > > ?File "build/bdist.macosx-10.3-fat/egg/setuptools/command/easy_install.py", line 1706, in > > ?File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/distutils/core.py", line 152, in setup > ? ?dist.run_commands() > ?File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/distutils/dist.py", line 975, in run_commands > ? ?self.run_command(cmd) > ?File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/distutils/dist.py", line 995, in run_command > ? ?cmd_obj.run() > ?File "build/bdist.macosx-10.3-fat/egg/setuptools/command/easy_install.py", line 236, in run > > ?File "build/bdist.macosx-10.3-fat/egg/setuptools/command/easy_install.py", line 471, in easy_install > > ?File "build/bdist.macosx-10.3-fat/egg/setuptools/command/easy_install.py", line 501, in install_item > > ?File "build/bdist.macosx-10.3-fat/egg/setuptools/command/easy_install.py", line 680, in install_eggs > > ?File "build/bdist.macosx-10.3-fat/egg/setuptools/command/easy_install.py", line 957, in build_and_install > > ?File "build/bdist.macosx-10.3-fat/egg/setuptools/command/easy_install.py", line 946, in run_setup > > ?File "build/bdist.macosx-10.3-fat/egg/setuptools/sandbox.py", line 29, in run_setup > ?File "build/bdist.macosx-10.3-fat/egg/setuptools/sandbox.py", line 70, in run > ?File "build/bdist.macosx-10.3-fat/egg/setuptools/sandbox.py", line 31, in > ?File "setup.py", line 67, in > ?File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/distutils/core.py", line 113, in setup > ? ?_setup_distribution = dist = klass(attrs) > ?File "build/bdist.macosx-10.3-fat/egg/setuptools/dist.py", line 224, in __init__ > ?File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/distutils/dist.py", line 270, in __init__ > ? ?self.finalize_options() > ?File "build/bdist.macosx-10.3-fat/egg/setuptools/dist.py", line 257, in finalize_options > ?File "build/bdist.macosx-10.3-fat/egg/pkg_resources.py", line 1922, in load > ? ?while parts and parts[-1]=='*final-': parts.pop() > ImportError: has no 'check_packages' attribute Ik gok dat je een nieuwere versie van setuptools/distribute nodig hebt. Groet, Dirkjan From vm at klankschap.nl Tue Apr 13 17:40:59 2010 From: vm at klankschap.nl (Floris van Manen) Date: Tue, 13 Apr 2010 17:40:59 +0200 Subject: [python-nl] Pylons In-Reply-To: References: <20100412164212.GA12852@xs4all.nl> <4BC42B85.6050506@wiggy.net> <4BC464BF.8000006@wiggy.net> Message-ID: On Apr 13, 2010, at 15:56, Dirkjan Ochtman wrote: > Ik gok dat je een nieuwere versie van setuptools/distribute nodig hebt. helaas... $easy_install setuptools Searching for setuptools Best match: setuptools 0.6c11 Processing setuptools-0.6c11-py2.6.egg setuptools 0.6c11 is already the active version in easy-install.pth Installing easy_install script to /Library/Frameworks/Python.framework/Versions/2.6/bin Installing easy_install-2.6 script to /Library/Frameworks/Python.framework/Versions/2.6/bin Using /Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/setuptools-0.6c11-py2.6.egg Processing dependencies for setuptools Finished processing dependencies for setuptools From j.bakker at atmind.nl Fri Apr 16 09:01:53 2010 From: j.bakker at atmind.nl (Jeroen Bakker) Date: Fri, 16 Apr 2010 09:01:53 +0200 Subject: [python-nl] python-nl and Blender Message-ID: <4BC80B61.3090607@atmind.nl> An HTML attachment was scrubbed... URL: From z.soebhan at gmail.com Fri Apr 16 09:20:13 2010 From: z.soebhan at gmail.com (Zaheer Soebhan) Date: Fri, 16 Apr 2010 09:20:13 +0200 Subject: [python-nl] python-nl and Blender In-Reply-To: <4BC80B61.3090607@atmind.nl> References: <4BC80B61.3090607@atmind.nl> Message-ID: Great idea!!!! Does the Blender Foundation have a good location for presentations? Anyway, good luck! I certainly will try to be there! Greetings, Zaheer 2010/4/16 Jeroen Bakker > Hi all, > > I have been to the last django and python-nl meeting and I want to > introduce myself and propose a presentation. > > Our product line is around the Blender system (http://www.blender.org). > Blender is an Open Source 3d content creation platform capable for creating > computer rendered animation films and interactive media. Their main base is > Blender foundation/institute here in Amsterdam. For the last two years the > developers have been doing a great job on the next mayor release (Blender > 2.5/2.6). All internals have been rewritten and this resulted in several > interesting solutions. > > We have developed a content management system called Blender-aid to > visualize production files. A short movie of 10 minutes contain over 1000 > files all linking them together. Normally a filesystem is used to manage > this. but with our product the files can be maintained using a web-based > view of the production. Nowadays it is used by 3 big productions and > growing. see http://sidedish.atmind.nl for more information > > The Blender UI and 99% of the plugins are created in python 3.1. Therefore > we have gained a lot of experience in Python 3.1. Blender-aid is developed > to be run on python 2.5, 2.6, 3.0 and 3.1 using a single sourcebase. We have > not chosen to use a framework like django, as the system runs on a > star-based database model and (not a commonly used relational database) > > Since October 2009 the Blender Foundation is creating their third open > source movie. An Hollywood style animation movie about a girl called Sintel > and her pet dragon. It is a short movie of around 12 minutes. A lot of > information can be found on http://durian.blender.org. In the past a game > has been developed: http://www.yofrankie.org and other short animations > http://www.bigbuckbunny.org/ and http://www.elephantsdream.org/ > > I propose to make a presentation on one of above topics if it is > interesting or a more general one about Blender open media and the use of > python. Also it is interesting to invest in Blender coding, as there is > commercial a need for good blender developers. > > Greetings, > Jeroen Bakker > > > > > _______________________________________________ > 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 gerard at facturize.nl Fri Apr 16 09:43:51 2010 From: gerard at facturize.nl (Gerard Petersen) Date: Fri, 16 Apr 2010 09:43:51 +0200 Subject: [python-nl] Pylons In-Reply-To: <20100413123421.GC92801@nexus.in-nomine.org> References: <20100412164212.GA12852@xs4all.nl> <4BC42B85.6050506@wiggy.net> <20100413123421.GC92801@nexus.in-nomine.org> Message-ID: <4BC81537.20303@facturize.nl> Het eerste waar ik aan dacht was "Big F*cking Gun" uit de oldskool game Doom :) ref: http://blogofwishes.com/fun-toys/doom-bfg-gun-prop-replica-2/ GrtzG On 13-04-10 14:34, Jeroen Ruigrok van der Werven wrote: > -On [20100413 14:32], Robert-Reinder Nederhoed (r.r.nederhoed at gmail.com) wrote: >> Ahum... BFG? > > Simpele Google zoekopdracht voor "python bfg" geeft http://bfg.repoze.org/ > From stappers at stappers.nl Fri Apr 16 11:22:09 2010 From: stappers at stappers.nl (Geert Stappers) Date: Fri, 16 Apr 2010 11:22:09 +0200 Subject: [python-nl] B F G In-Reply-To: <4BC81537.20303@facturize.nl> References: <20100412164212.GA12852@xs4all.nl> <4BC42B85.6050506@wiggy.net> <20100413123421.GC92801@nexus.in-nomine.org> <4BC81537.20303@facturize.nl> Message-ID: <20100416092209.GN11664@gpm.stappers.nl> Op 20100416 om 09:43 schreef Gerard Petersen: > On 13-04-10 14:34, Jeroen Ruigrok van der Werven wrote: >> -On [20100413 14:32], Robert-Reinder Nederhoed (r.r.nederhoed at gmail.com) wrote: >>> Ahum... BFG? >> >> Simpele Google zoekopdracht voor "python bfg" geeft http://bfg.repoze.org/ >> > Het eerste waar ik aan dacht was "Big F*cking Gun" uit de oldskool game Doom :) > > ref: http://blogofwishes.com/fun-toys/doom-bfg-gun-prop-replica-2/ > Mocht iemand weten waar de B F G uit http://bfg.repoze.org voor staan, dan verneem ik dat graag. En ik waardeer het als Message Subject en Message Body overeen komen. Groeten Geert Stappers From wichert at wiggy.net Fri Apr 16 11:24:03 2010 From: wichert at wiggy.net (Wichert Akkerman) Date: Fri, 16 Apr 2010 11:24:03 +0200 Subject: [python-nl] B F G In-Reply-To: <20100416092209.GN11664@gpm.stappers.nl> References: <20100412164212.GA12852@xs4all.nl> <4BC42B85.6050506@wiggy.net> <20100413123421.GC92801@nexus.in-nomine.org> <4BC81537.20303@facturize.nl> <20100416092209.GN11664@gpm.stappers.nl> Message-ID: <4BC82CB3.8050701@wiggy.net> On 4/16/10 11:22 , Geert Stappers wrote: > Op 20100416 om 09:43 schreef Gerard Petersen: >> On 13-04-10 14:34, Jeroen Ruigrok van der Werven wrote: >>> -On [20100413 14:32], Robert-Reinder Nederhoed (r.r.nederhoed at gmail.com) wrote: >>>> Ahum... BFG? >>> >>> Simpele Google zoekopdracht voor "python bfg" geeft http://bfg.repoze.org/ >>> >> Het eerste waar ik aan dacht was "Big F*cking Gun" uit de oldskool game Doom :) >> >> ref: http://blogofwishes.com/fun-toys/doom-bfg-gun-prop-replica-2/ >> > > Mocht iemand weten waar de B F G uit http://bfg.repoze.org voor staan, > dan verneem ik dat graag. De naam is een beetje een grap omdat niemand een betere naam kon verzinnen. De letters staan nergens voor, maar je kan het zien als een verwijzing naar het wapen uit Doom, of naar het verhaal van Roald Dahl (GVR in het nederlands). Wichert. From roger at erens-krekels.net Fri Apr 16 11:51:44 2010 From: roger at erens-krekels.net (Roger Erens) Date: Fri, 16 Apr 2010 11:51:44 +0200 Subject: [python-nl] B F G In-Reply-To: <20100416092209.GN11664@gpm.stappers.nl> References: <20100412164212.GA12852@xs4all.nl> <4BC42B85.6050506@wiggy.net> <20100413123421.GC92801@nexus.in-nomine.org> <4BC81537.20303@facturize.nl> <20100416092209.GN11664@gpm.stappers.nl> Message-ID: 2010/4/16 Geert Stappers : > Op 20100416 om 09:43 schreef Gerard Petersen: >> On 13-04-10 14:34, Jeroen Ruigrok van der Werven wrote: >>> -On [20100413 14:32], Robert-Reinder Nederhoed (r.r.nederhoed at gmail.com) wrote: >>>> Ahum... BFG? >>> >>> Simpele Google zoekopdracht voor "python bfg" geeft http://bfg.repoze.org/ >>> >> Het eerste waar ik aan dacht was "Big F*cking Gun" uit de oldskool game Doom :) >> In http://www.plope.com/Members/chrism/repoze-bfg geeft hij een iets nettere versie voor het F-woord. Roger From gerard at facturize.nl Fri Apr 16 12:12:58 2010 From: gerard at facturize.nl (Gerard Petersen) Date: Fri, 16 Apr 2010 12:12:58 +0200 Subject: [python-nl] B F G In-Reply-To: References: <20100412164212.GA12852@xs4all.nl> <4BC42B85.6050506@wiggy.net> <20100413123421.GC92801@nexus.in-nomine.org> <4BC81537.20303@facturize.nl> <20100416092209.GN11664@gpm.stappers.nl> Message-ID: <4BC8382A.9040005@facturize.nl> Zullen we het dan houden op het origineel: Bio Force Gun ;) Mvrgr, Gerard. On 16-04-10 11:51, Roger Erens wrote: > 2010/4/16 Geert Stappers: >> Op 20100416 om 09:43 schreef Gerard Petersen: >>> On 13-04-10 14:34, Jeroen Ruigrok van der Werven wrote: >>>> -On [20100413 14:32], Robert-Reinder Nederhoed (r.r.nederhoed at gmail.com) wrote: >>>>> Ahum... BFG? >>>> >>>> Simpele Google zoekopdracht voor "python bfg" geeft http://bfg.repoze.org/ >>>> >>> Het eerste waar ik aan dacht was "Big F*cking Gun" uit de oldskool game Doom :) >>> > > In http://www.plope.com/Members/chrism/repoze-bfg > geeft hij een iets nettere versie voor het F-woord. > > Roger > _______________________________________________ > Python-nl mailing list > Python-nl at python.org > http://mail.python.org/mailman/listinfo/python-nl > From a.esselink at gmail.com Mon Apr 19 18:46:18 2010 From: a.esselink at gmail.com (Dexter) Date: Mon, 19 Apr 2010 18:46:18 +0200 Subject: [python-nl] HTML5 Message-ID: Hey, Ik ben bezig met een online audio player, het is de bedoeling dat wij (prive) muziek kunnen luisteren die bij ons op de server staat, Het draait geheel op django, ik indexeer alle muziek op de server, en zet dat in een db. In de client kan je dan de muziek browsen, en een playlist vullen, als je de playlist vult, wordt er een xhr request naar de server verstuurd met de nieuwe playlist, De server maakt dan een map aan met een sessieid, waarin hij symbolic links maakt naar de audiobestanden die in de playlist staan. Vervolgens weet de client waar de bestanden staan, en kan een html audio tag die bestanden laten afspelen. Het werkt in chrome, maar niet in firefox. Heeft iemand ervaring met de audio tag in firefox? het is wel een xhtml pagina, misschien ligt het daar aan. Maar dat is de enige manier om ook svg in je pagina te includen. En ik vroeg me af of er misschien veiligheidslekken kunnen zijn bij het creeren van de playlists. Alvast Bedankt, Dexter -------------- next part -------------- An HTML attachment was scrubbed... URL: From dirkjan at ochtman.nl Mon Apr 19 18:54:53 2010 From: dirkjan at ochtman.nl (Dirkjan Ochtman) Date: Mon, 19 Apr 2010 18:54:53 +0200 Subject: [python-nl] HTML5 In-Reply-To: References: Message-ID: 2010/4/19 Dexter : > Heeft iemand ervaring met de audio tag in firefox? het is wel een xhtml > pagina, misschien ligt het daar aan. Maar dat is de enige manier om ook svg > in je pagina te includen. Past niet echt bij deze mailing list. Groet, Dirkjan From remco at gerlich.nl Mon Apr 19 18:58:16 2010 From: remco at gerlich.nl (Remco Gerlich) Date: Mon, 19 Apr 2010 18:58:16 +0200 Subject: [python-nl] HTML5 In-Reply-To: References: Message-ID: Hoi, Wat is het nou, XHTML of HTML5? Allebei kan niet. Remco 2010/4/19 Dexter > Hey, > > Ik ben bezig met een online audio player, het is de bedoeling dat wij > (prive) muziek kunnen luisteren die bij ons op de server staat, > Het draait geheel op django, ik indexeer alle muziek op de server, en zet > dat in een db. > In de client kan je dan de muziek browsen, en een playlist vullen, als je > de playlist vult, wordt er een xhr request naar de server verstuurd met de > nieuwe playlist, > De server maakt dan een map aan met een sessieid, waarin hij symbolic links > maakt naar de audiobestanden die in de playlist staan. > Vervolgens weet de client waar de bestanden staan, en kan een html audio > tag die bestanden laten afspelen. > > Het werkt in chrome, maar niet in firefox. > > Heeft iemand ervaring met de audio tag in firefox? het is wel een xhtml > pagina, misschien ligt het daar aan. Maar dat is de enige manier om ook svg > in je pagina te includen. > > En ik vroeg me af of er misschien veiligheidslekken kunnen zijn bij het > creeren van de playlists. > > Alvast Bedankt, Dexter > > _______________________________________________ > 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 a.esselink at gmail.com Mon Apr 19 18:59:30 2010 From: a.esselink at gmail.com (Dexter) Date: Mon, 19 Apr 2010 18:59:30 +0200 Subject: [python-nl] HTML5 In-Reply-To: References: Message-ID: Dat kan ik wel begrijpen, dit gaat niet direct over python. Maar veel python gebruikers zijn bezig in webdevelopment, dus ik dacht dat er hier wel mensen huizen die ervaring/aanvaringen hebben met html5 2010/4/19 Dirkjan Ochtman > 2010/4/19 Dexter : > > Heeft iemand ervaring met de audio tag in firefox? het is wel een xhtml > > pagina, misschien ligt het daar aan. Maar dat is de enige manier om ook > svg > > in je pagina te includen. > > Past niet echt bij deze mailing list. > > Groet, > > Dirkjan > _______________________________________________ > 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 a.esselink at gmail.com Mon Apr 19 19:01:06 2010 From: a.esselink at gmail.com (Dexter) Date: Mon, 19 Apr 2010 19:01:06 +0200 Subject: [python-nl] HTML5 In-Reply-To: References: Message-ID: De audio tag is onderdeel van html5, in chrome werkt het ook in xhtml, firefox lijkt het wel te begrijpen. (Objecten bestaan gewoon zoals ze moeten zijn). Maar hij reageert niet zoals chrome reageert 2010/4/19 Remco Gerlich > Hoi, > > Wat is het nou, XHTML of HTML5? Allebei kan niet. > > Remco > > 2010/4/19 Dexter > >> Hey, >> >> Ik ben bezig met een online audio player, het is de bedoeling dat wij >> (prive) muziek kunnen luisteren die bij ons op de server staat, >> Het draait geheel op django, ik indexeer alle muziek op de server, en zet >> dat in een db. >> In de client kan je dan de muziek browsen, en een playlist vullen, als je >> de playlist vult, wordt er een xhr request naar de server verstuurd met de >> nieuwe playlist, >> De server maakt dan een map aan met een sessieid, waarin hij symbolic >> links maakt naar de audiobestanden die in de playlist staan. >> Vervolgens weet de client waar de bestanden staan, en kan een html audio >> tag die bestanden laten afspelen. >> >> Het werkt in chrome, maar niet in firefox. >> >> Heeft iemand ervaring met de audio tag in firefox? het is wel een xhtml >> pagina, misschien ligt het daar aan. Maar dat is de enige manier om ook svg >> in je pagina te includen. >> >> En ik vroeg me af of er misschien veiligheidslekken kunnen zijn bij het >> creeren van de playlists. >> >> Alvast Bedankt, Dexter >> >> _______________________________________________ >> 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 david290 at gmail.com Sat Apr 17 10:01:59 2010 From: david290 at gmail.com (David Zhang) Date: Sat, 17 Apr 2010 16:01:59 +0800 Subject: [python-nl] An open source AI research project Message-ID: Hello! I have started an open source project to develop human-level Artificial Intelligence, using Python and Java as programming language, OpenCog and OpenWonderland as basement. If you are interested in this,or want to know more, please feel free to give me a reply. Thanks! David Zhang From pepijndevos at toverveer.nl Mon Apr 19 19:18:43 2010 From: pepijndevos at toverveer.nl (Pepijn de Vos) Date: Mon, 19 Apr 2010 19:18:43 +0200 Subject: [python-nl] HTML5 In-Reply-To: References: Message-ID: Ik meen wel dat HTML5 ook in staat is SVG te inlinen. Firefox is een van de weinige browsers die daadwerkelijk een andere parser gebruikt voor XHTML, vandaar dus dat Firefox HTML5 trucjes niet oppikt in zijn XHTML parser. Alle andere browsers hebben een parser die gewoon ondersteuning heeft voor XHTML tags, dat XHTML sneller zou zijn is dus ook flauwekul. Ik dacht ook dat Firefox alleen ogg ondersteunt in zijn audio tag, terwijl andere browsers juist andere formaten ondersteunen, ik ben er wel van overtuigd dat het mogelijk is meerdere alternatieven aan te reiken in een audio of video tag. Verder inderdaad niet heel erg Python gerelateerd... Groeten, Pepijn de Vos -- Sent from my iPod Shuffle http://pepijndevos.nl On Apr 19, 2010, at 6:58 PM, Remco Gerlich wrote: > Hoi, > > Wat is het nou, XHTML of HTML5? Allebei kan niet. > > Remco > > 2010/4/19 Dexter > Hey, > > Ik ben bezig met een online audio player, het is de bedoeling dat wij (prive) muziek kunnen luisteren die bij ons op de server staat, > Het draait geheel op django, ik indexeer alle muziek op de server, en zet dat in een db. > In de client kan je dan de muziek browsen, en een playlist vullen, als je de playlist vult, wordt er een xhr request naar de server verstuurd met de nieuwe playlist, > De server maakt dan een map aan met een sessieid, waarin hij symbolic links maakt naar de audiobestanden die in de playlist staan. > Vervolgens weet de client waar de bestanden staan, en kan een html audio tag die bestanden laten afspelen. > > Het werkt in chrome, maar niet in firefox. > > Heeft iemand ervaring met de audio tag in firefox? het is wel een xhtml pagina, misschien ligt het daar aan. Maar dat is de enige manier om ook svg in je pagina te includen. > > En ik vroeg me af of er misschien veiligheidslekken kunnen zijn bij het creeren van de playlists. > > Alvast Bedankt, Dexter > > _______________________________________________ > 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 asmodai at in-nomine.org Mon Apr 19 20:07:12 2010 From: asmodai at in-nomine.org (Jeroen Ruigrok van der Werven) Date: Mon, 19 Apr 2010 20:07:12 +0200 Subject: [python-nl] HTML5 In-Reply-To: References: Message-ID: <20100419180712.GC1297@nexus.in-nomine.org> -On [20100419 18:46], Dexter (a.esselink at gmail.com) wrote: >Het werkt in chrome, maar niet in firefox. Heb je in Firefox 3.6 in about:config html5.enable op true staan? Staat standaard niet aan namelijk. -- Jeroen Ruigrok van der Werven / asmodai ????? ?????? ??? ?? ?????? http://www.in-nomine.org/ | http://www.rangaku.org/ | GPG: 2EAC625B A wise man that walks in the dark with a blindfold on, is not much of a wise man... From sergej.dergatsjev at gmail.com Mon Apr 19 21:20:36 2010 From: sergej.dergatsjev at gmail.com (Sergej dergatsjev eecho) Date: Mon, 19 Apr 2010 21:20:36 +0200 Subject: [python-nl] HTML5 In-Reply-To: References: Message-ID: Voor gelijkaardige doel leiden zoals video, audio afspelen wordt meestal Flash gebruikt. Ik gebruik http://www.adobe.com/products/flex/ het is eenvoudig te integreren met AJAX. Of zijn er ook opties te vinden in GWT bijvoorbeeld: http://code.google.com/p/gwt-voices/ MVG, Sergej Op 19 april 2010 18:46 heeft Dexter het volgende geschreven: > Hey, > Ik ben bezig met een online audio player, het is de bedoeling dat wij > (prive) muziek kunnen luisteren die bij ons op de server staat, > Het draait geheel op django, ik indexeer alle muziek op de server, en zet > dat in een db. > In de client kan je dan de muziek browsen, en een playlist vullen, als je de > playlist vult, wordt er een xhr request naar de server verstuurd met de > nieuwe playlist, > De server maakt dan een map aan met een sessieid, waarin hij symbolic links > maakt naar de audiobestanden die in de playlist staan. > Vervolgens weet de client waar de bestanden staan, en kan een html audio tag > die bestanden laten afspelen. > Het werkt in chrome, maar niet in firefox. > Heeft iemand ervaring met de audio tag in firefox? het is wel een xhtml > pagina, misschien ligt het daar aan. Maar dat is de enige manier om ook svg > in je pagina te includen. > En ik vroeg me af of er misschien veiligheidslekken kunnen zijn bij het > creeren van de playlists. > Alvast Bedankt, Dexter > _______________________________________________ > Python-nl mailing list > Python-nl at python.org > http://mail.python.org/mailman/listinfo/python-nl > > From a.esselink at gmail.com Tue Apr 20 01:17:33 2010 From: a.esselink at gmail.com (Dexter) Date: Tue, 20 Apr 2010 01:17:33 +0200 Subject: [python-nl] HTML5 In-Reply-To: References: Message-ID: Bedankt voor jullie reply's, Ik ben nu overgegaand op helemaal html5, alleen wil het nog niet werken, maar dat gaat wel lukken. Dan maar kijken of het in meer browsers werkt. Grtz, Dexter 2010/4/19 Sergej dergatsjev eecho > Voor gelijkaardige doel leiden zoals video, audio afspelen wordt > meestal Flash gebruikt. > Ik gebruik http://www.adobe.com/products/flex/ het is eenvoudig te > integreren met AJAX. > > Of zijn er ook opties te vinden in GWT > > bijvoorbeeld: > http://code.google.com/p/gwt-voices/ > > MVG, > Sergej > > > > > Op 19 april 2010 18:46 heeft Dexter het > volgende geschreven: > > Hey, > > Ik ben bezig met een online audio player, het is de bedoeling dat wij > > (prive) muziek kunnen luisteren die bij ons op de server staat, > > Het draait geheel op django, ik indexeer alle muziek op de server, en zet > > dat in een db. > > In de client kan je dan de muziek browsen, en een playlist vullen, als je > de > > playlist vult, wordt er een xhr request naar de server verstuurd met de > > nieuwe playlist, > > De server maakt dan een map aan met een sessieid, waarin hij symbolic > links > > maakt naar de audiobestanden die in de playlist staan. > > Vervolgens weet de client waar de bestanden staan, en kan een html audio > tag > > die bestanden laten afspelen. > > Het werkt in chrome, maar niet in firefox. > > Heeft iemand ervaring met de audio tag in firefox? het is wel een xhtml > > pagina, misschien ligt het daar aan. Maar dat is de enige manier om ook > svg > > in je pagina te includen. > > En ik vroeg me af of er misschien veiligheidslekken kunnen zijn bij het > > creeren van de playlists. > > Alvast Bedankt, Dexter > > _______________________________________________ > > 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 a.esselink at gmail.com Tue Apr 20 01:24:07 2010 From: a.esselink at gmail.com (Dexter) Date: Tue, 20 Apr 2010 01:24:07 +0200 Subject: [python-nl] An open source AI research project In-Reply-To: References: Message-ID: Hi, Nice your doing that, I've always wanted to do that, but never knew where to start. And also I think that its incredibly complex. Keep us posted. What can you do already, where do you want to go with it? Grtz, Dexter On Sat, Apr 17, 2010 at 10:01 AM, David Zhang wrote: > Hello! > > I have started an open source project to develop human-level > Artificial Intelligence, using Python and Java as programming > language, OpenCog and OpenWonderland as basement. If you are > interested in this,or want to know more, please feel free to give me a > reply. > > Thanks! > > David Zhang > _______________________________________________ > 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 wichert at wiggy.net Tue Apr 20 14:59:33 2010 From: wichert at wiggy.net (Wichert Akkerman) Date: Tue, 20 Apr 2010 14:59:33 +0200 Subject: [python-nl] Eventueel nodig: hulp bij BFG project Message-ID: <4BCDA535.8000906@wiggy.net> Ik heb binnenkort een deadline die ik mogelijk niet ga halen zonder wat extra hulp. Zijn er mensen hier die interesse hebben in meewerken aan een website vol met gepersonaliseerde content die moet kunnen schalen tot een kleine miljoen pageviews per dag? De sleutelwoorden zijn: BFG, SQL, memcache en BFG. De loopduur van het project zal mei/juni zijn. Wichert. From wichert at wiggy.net Tue Apr 20 18:13:33 2010 From: wichert at wiggy.net (Wichert Akkerman) Date: Tue, 20 Apr 2010 18:13:33 +0200 Subject: [python-nl] Eventueel nodig: hulp bij BFG project In-Reply-To: <4BCDA535.8000906@wiggy.net> References: <4BCDA535.8000906@wiggy.net> Message-ID: <4BCDD2AD.9060604@wiggy.net> On 4/20/10 14:59 , Wichert Akkerman wrote: > Ik heb binnenkort een deadline die ik mogelijk niet ga halen zonder wat > extra hulp. Zijn er mensen hier die interesse hebben in meewerken aan > een website vol met gepersonaliseerde content die moet kunnen schalen > tot een kleine miljoen pageviews per dag? De sleutelwoorden zijn: BFG, > SQL, memcache en BFG. De loopduur van het project zal mei/juni zijn. Dat leverde een kleine stortvloed aan reacties op - mooi om te zien! Ik heb ondertussen iemand gevonden. Hopelijk levert dat over een tijdje een mooi bericht over een nieuwe site op, en wie weet nog een pun presentatie. W. From c.t.matsumoto at gmail.com Wed Apr 21 09:02:39 2010 From: c.t.matsumoto at gmail.com (C.T. Matsumoto) Date: Wed, 21 Apr 2010 09:02:39 +0200 Subject: [python-nl] Dojo preparation Message-ID: <4BCEA30F.3060909@gmail.com> Hi all For those who want to attend tonights Python Dojo, we will be using nose tests, which can be installed with easy_install: $ sudo easy_install nose The rest of the details about the challenge will be posted to the dojo wiki here right before the start of the dojo: http://wiki.python.org/moin/Dojo-NL/dojo210410 See you there. T -- C.T. Matsumoto Claes de Vrieselaan 60a III 3021 JR Rotterdam The Netherlands tel.: +31 (0)6 41 45 08 54 From remco at maykinmedia.nl Thu Apr 22 18:21:07 2010 From: remco at maykinmedia.nl (Remco Wendt) Date: Thu, 22 Apr 2010 18:21:07 +0200 Subject: [python-nl] Eventueel nodig: hulp bij BFG project In-Reply-To: <4BCDD2AD.9060604@wiggy.net> References: <4BCDA535.8000906@wiggy.net> <4BCDD2AD.9060604@wiggy.net> Message-ID: <0F68D304-7AA5-49E2-906B-BE1D93B0D8FA@maykinmedia.nl> On 20 apr 2010, at 18:13, Wichert Akkerman wrote: > en wie weet nog een pun presentatie. Now we are talking :) Remco -- Maykin Media Herengracht 416, 1017 BZ Amsterdam tel.: +31 (0)6 187 967 06 http://www.maykinmedia.nl From c.t.matsumoto at gmail.com Thu Apr 22 18:23:53 2010 From: c.t.matsumoto at gmail.com (C.T. Matsumoto) Date: Thu, 22 Apr 2010 18:23:53 +0200 Subject: [python-nl] dojo results Message-ID: <4BD07819.3040106@gmail.com> The dojo yesterday evening was a great success. With five people I think it is fair to say we all had a great time and got to play with code. Here are the solutions to the problem: http://wiki.python.org/moin/Dojo-NL/dojo210410. The ABC Treehouse space is also a super location for doing things like this with smaller rooms that are more like class room setups. I'm up for any other ideas for gathering people together to code, such as a dojo. And again, while there is the opportunity: USE THE SPACE!! -- C.T. Matsumoto Claes de Vrieselaan 60a III 3021 JR Rotterdam The Netherlands tel.: +31 (0)6 41 45 08 54 From smv260985 at gmail.com Thu Apr 22 19:30:15 2010 From: smv260985 at gmail.com (Subodhini) Date: Thu, 22 Apr 2010 12:30:15 -0500 Subject: [python-nl] [Chicago] An open source AI research project In-Reply-To: References: Message-ID: Hi David, I am interested in this project. Could you please write in detail about this project. I would highly appreciate it. Regards, Subodhini On Sat, Apr 17, 2010 at 3:01 AM, David Zhang wrote: > Hello! > > I have started an open source project to develop human-level > Artificial Intelligence, using Python and Java as programming > language, OpenCog and OpenWonderland as basement. If you are > interested in this,or want to know more, please feel free to give me a > reply. > > Thanks! > > David Zhang > _______________________________________________ > Chicago mailing list > Chicago at python.org > http://mail.python.org/mailman/listinfo/chicago > -- Subodhini Chopde -------------- next part -------------- An HTML attachment was scrubbed... URL: From z.soebhan at gmail.com Fri Apr 23 10:19:06 2010 From: z.soebhan at gmail.com (Zaheer Soebhan) Date: Fri, 23 Apr 2010 10:19:06 +0200 Subject: [python-nl] dojo results In-Reply-To: <4BD07819.3040106@gmail.com> References: <4BD07819.3040106@gmail.com> Message-ID: Good job! I hope I can be there next time! Gr, Zaheer 2010/4/22 C.T. Matsumoto > The dojo yesterday evening was a great success. With five people I think it > is fair to say we all had a great time and got to play with code. Here are > the solutions to the problem: > http://wiki.python.org/moin/Dojo-NL/dojo210410. > > The ABC Treehouse space is also a super location for doing things like this > with smaller rooms that are more like class room setups. I'm up for any > other ideas for gathering people together to code, such as a dojo. And > again, while there is the opportunity: USE THE SPACE!! > > -- > C.T. Matsumoto > Claes de Vrieselaan 60a III > 3021 JR Rotterdam > The Netherlands > > tel.: +31 (0)6 41 45 08 54 > _______________________________________________ > 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 c.t.matsumoto at gmail.com Fri Apr 23 11:56:43 2010 From: c.t.matsumoto at gmail.com (C.T. Matsumoto) Date: Fri, 23 Apr 2010 11:56:43 +0200 Subject: [python-nl] testing Message-ID: <4BD16EDB.4010407@gmail.com> Hello all, Does anyone know a good way to test function objects? It's easy enough to test class attributes, but for some reason I'm finding it difficult to test if a function has the right 'attributes'. I'm using unittest and nosetests. Sample function: def foo(): x = 3 y = 4 This example is super simple but lets pretend that x and y were derived from some more complicated code that was done inside the function. The best way I can come up with is moving the complicated code into another function that returns the derived value and then test the return value, but if i want to keep the code in the function how can I get to those 'attribute' values to test? Thanks, T -- C.T. Matsumoto Claes de Vrieselaan 60a III 3021 JR Rotterdam The Netherlands tel.: +31 (0)6 41 45 08 54 From konryd at gmail.com Fri Apr 23 12:11:40 2010 From: konryd at gmail.com (Konrad Delong) Date: Fri, 23 Apr 2010 12:11:40 +0200 Subject: [python-nl] testing In-Reply-To: <4BD16EDB.4010407@gmail.com> References: <4BD16EDB.4010407@gmail.com> Message-ID: On 23 April 2010 11:56, C.T. Matsumoto wrote: > Hello all, > > Does anyone know a good way to test function objects? It's easy enough to > test class attributes, but for some reason I'm finding it difficult to test > if a function has the right 'attributes'. > > I'm using unittest and nosetests. > > Sample function: > > def foo(): > ? ?x = 3 > ? ?y = 4 > > This example is super simple but lets pretend that x and y were derived from > some more complicated code that was done inside the function. The best way I > can come up with is moving the complicated code into another function that > returns the derived value and then test the return value, but if i want to > keep the code in the function how can I get to those 'attribute' values to > test? > x and y in your example are not attributes, but variables. They disappear right after the function returns. There is no way to access their values from outside. The only thing you can test for functions is its return value (for a given set of arguments). If x and y are in fact generated by a complicated expression you should extract those expressions into external function. BEFORE def foo(arg1, arg2): x = return x + 7 AFTER def huge_complicated_expression(arg1, arg2): return def foo(arg1, arg2): x = huge_complicated_expression(arg1, arg2) return x + 7 cheers, Konrad From z.soebhan at gmail.com Fri Apr 23 12:37:28 2010 From: z.soebhan at gmail.com (Zaheer Soebhan) Date: Fri, 23 Apr 2010 12:37:28 +0200 Subject: [python-nl] testing In-Reply-To: References: <4BD16EDB.4010407@gmail.com> Message-ID: Maybe you should raise an exception when x or y have the wrong value, because you don't want the wrong local variables in your function anyway, I assume. Then (unit)test if this actually happens with the "wrong" parameters in your function. Gr, Zaheer 2010/4/23 Konrad Delong > On 23 April 2010 11:56, C.T. Matsumoto wrote: > > Hello all, > > > > Does anyone know a good way to test function objects? It's easy enough to > > test class attributes, but for some reason I'm finding it difficult to > test > > if a function has the right 'attributes'. > > > > I'm using unittest and nosetests. > > > > Sample function: > > > > def foo(): > > x = 3 > > y = 4 > > > > This example is super simple but lets pretend that x and y were derived > from > > some more complicated code that was done inside the function. The best > way I > > can come up with is moving the complicated code into another function > that > > returns the derived value and then test the return value, but if i want > to > > keep the code in the function how can I get to those 'attribute' values > to > > test? > > > > x and y in your example are not attributes, but variables. They > disappear right after the function returns. There is no way to access > their values from outside. The only thing you can test for functions > is its return value (for a given set of arguments). If x and y are in > fact generated by a complicated expression you should extract those > expressions into external function. > > BEFORE > def foo(arg1, arg2): > x = > return x + 7 > > AFTER > def huge_complicated_expression(arg1, arg2): > return arg2> > > def foo(arg1, arg2): > x = huge_complicated_expression(arg1, arg2) > return x + 7 > > > cheers, > Konrad > _______________________________________________ > 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 johnny at johnnydebris.net Fri Apr 23 12:37:36 2010 From: johnny at johnnydebris.net (Johnny deBris) Date: Fri, 23 Apr 2010 12:37:36 +0200 Subject: [python-nl] testing In-Reply-To: <4BD16EDB.4010407@gmail.com> References: <4BD16EDB.4010407@gmail.com> Message-ID: <4BD17870.6080007@johnnydebris.net> C.T. Matsumoto wrote: > Does anyone know a good way to test function objects? It's easy enough > to test class attributes, but for some reason I'm finding it difficult > to test if a function has the right 'attributes'. > Do you mean local variables? In that case, I would suggest not to test those - the idea is that you test whether your function does the right thing, not _how_ it does that... You test the results of certain arguments (both expected and unexpected), and whether the function returns or raises the right thing when those arguments are provided, in the most optimal situation even before you write code, what local variables the function uses internally does not matter, as long as it does the right thing. To answer your question though: theoretically you could ask a function for its constant values (foo.func_code.co_locals) and for the name of its local variables (foo.func_code.co_varnames), then remove the first item from the const list (not sure what that is, seems to always be None) and remove the first items that are variables from the local variable names list (see foo.func_code.co_argcount), or something like that (I may be missing some things here, but I guess you'll have plenty to play with from here. :) Cheers, Guido From c.t.matsumoto at gmail.com Fri Apr 23 12:49:05 2010 From: c.t.matsumoto at gmail.com (C.T. Matsumoto) Date: Fri, 23 Apr 2010 12:49:05 +0200 Subject: [python-nl] testing In-Reply-To: References: <4BD16EDB.4010407@gmail.com> Message-ID: <4BD17B21.3040604@gmail.com> Konrad Delong wrote: > On 23 April 2010 11:56, C.T. Matsumoto wrote: >> Hello all, >> >> Does anyone know a good way to test function objects? It's easy enough to >> test class attributes, but for some reason I'm finding it difficult to test >> if a function has the right 'attributes'. >> >> I'm using unittest and nosetests. >> >> Sample function: >> >> def foo(): >> x = 3 >> y = 4 >> >> This example is super simple but lets pretend that x and y were derived from >> some more complicated code that was done inside the function. The best way I >> can come up with is moving the complicated code into another function that >> returns the derived value and then test the return value, but if i want to >> keep the code in the function how can I get to those 'attribute' values to >> test? >> > > x and y in your example are not attributes, but variables. They > disappear right after the function returns. There is no way to access > their values from outside. The only thing you can test for functions > is its return value (for a given set of arguments). If x and y are in > fact generated by a complicated expression you should extract those > expressions into external function. > > BEFORE > def foo(arg1, arg2): > x = > return x + 7 > > AFTER > def huge_complicated_expression(arg1, arg2): > return > > def foo(arg1, arg2): > x = huge_complicated_expression(arg1, arg2) > return x + 7 > > > cheers, > Konrad > _______________________________________________ > Python-nl mailing list > Python-nl at python.org > http://mail.python.org/mailman/listinfo/python-nl > Okay thanks Konrad & Zaheer T -- C.T. Matsumoto Claes de Vrieselaan 60a III 3021 JR Rotterdam The Netherlands tel.: +31 (0)6 41 45 08 54 From c.t.matsumoto at gmail.com Fri Apr 23 13:12:12 2010 From: c.t.matsumoto at gmail.com (C.T. Matsumoto) Date: Fri, 23 Apr 2010 13:12:12 +0200 Subject: [python-nl] testing In-Reply-To: <4BD17870.6080007@johnnydebris.net> References: <4BD16EDB.4010407@gmail.com> <4BD17870.6080007@johnnydebris.net> Message-ID: <4BD1808C.9070902@gmail.com> Cheers Guido, Yeah I'm with you that you should not be testing *how* the function is going about doing things... but lets say your making a function to format string output. On the one hand your function contains everything nicely enough, without bifurcating the code into lots of small pieces. After all doing ' '.join(rjust(9)).bla.bla.bla is simple line of code, but you still want to make sure you have the right format in the end. To take a single line of code that uses a lot of the built-in string functions and wrap it in another function seemed more trouble than it was worth. At least for this example, it seems funny that some of the convenience functions on a type, when strung together can do some pretty weird things that need checking, but nevertheless are nicely placed in the function your are using them in. A better example is re. T Johnny deBris wrote: > C.T. Matsumoto wrote: >> Does anyone know a good way to test function objects? It's easy enough >> to test class attributes, but for some reason I'm finding it difficult >> to test if a function has the right 'attributes'. >> > Do you mean local variables? In that case, I would suggest not to test > those - the idea is that you test whether your function does the right > thing, not _how_ it does that... You test the results of certain > arguments (both expected and unexpected), and whether the function > returns or raises the right thing when those arguments are provided, in > the most optimal situation even before you write code, what local > variables the function uses internally does not matter, as long as it > does the right thing. > > To answer your question though: theoretically you could ask a function > for its constant values (foo.func_code.co_locals) and for the name of > its local variables (foo.func_code.co_varnames), then remove the first > item from the const list (not sure what that is, seems to always be > None) and remove the first items that are variables from the local > variable names list (see foo.func_code.co_argcount), or something like > that (I may be missing some things here, but I guess you'll have plenty > to play with from here. :) > > Cheers, > > Guido > > _______________________________________________ > Python-nl mailing list > Python-nl at python.org > http://mail.python.org/mailman/listinfo/python-nl > -- C.T. Matsumoto Claes de Vrieselaan 60a III 3021 JR Rotterdam The Netherlands tel.: +31 (0)6 41 45 08 54 From johnny at johnnydebris.net Fri Apr 23 13:43:13 2010 From: johnny at johnnydebris.net (Johnny deBris) Date: Fri, 23 Apr 2010 13:43:13 +0200 Subject: [python-nl] testing In-Reply-To: <4BD1808C.9070902@gmail.com> References: <4BD16EDB.4010407@gmail.com> <4BD17870.6080007@johnnydebris.net> <4BD1808C.9070902@gmail.com> Message-ID: <4BD187D1.1040005@johnnydebris.net> C.T. Matsumoto wrote: > At least for this example, it seems funny that some of the convenience > functions on a type, when strung together can do some pretty weird > things that need checking, but nevertheless are nicely placed in the > function your are using them in. A better example is re. > Yes, though as Konrad suggests, it does make sense to not string together too much of that functionality... If you feel uncertain about a piece of code and want to test it, do split it up so it becomes easier to test, it is usually not bad to change your code to improve testability. Also it has several additional advantages, such as making the code more readable and making it easier to override bits (especially if you're using classes/objects). Cheers, Guido From c.t.matsumoto at gmail.com Fri Apr 23 13:58:24 2010 From: c.t.matsumoto at gmail.com (C.T. Matsumoto) Date: Fri, 23 Apr 2010 13:58:24 +0200 Subject: [python-nl] testing In-Reply-To: <4BD187D1.1040005@johnnydebris.net> References: <4BD16EDB.4010407@gmail.com> <4BD17870.6080007@johnnydebris.net> <4BD1808C.9070902@gmail.com> <4BD187D1.1040005@johnnydebris.net> Message-ID: <4BD18B60.6050001@gmail.com> Johnny deBris wrote: it is usually not bad to change your code to improve > testability. I suppose that should be the rule of thumb. T -- C.T. Matsumoto Claes de Vrieselaan 60a III 3021 JR Rotterdam The Netherlands tel.: +31 (0)6 41 45 08 54 From wim at go2people.nl Thu Apr 29 13:40:55 2010 From: wim at go2people.nl (Wim Feijen) Date: Thu, 29 Apr 2010 13:40:55 +0200 Subject: [python-nl] xml Office Message-ID: Dag, Zijn er mensen die ervaring hebben met het genereren van xml documenten, die in Word (2007) kunnen worden ingelezen en niet uit ongelooflijk veel zooi bestaan? Groeten van Wim -- Wim Feijen Algemeen directeur wim at go2people.nl 06 11113316 Go2People Keizersgracht 8 1015 CN Amsterdam 020 7370378 www.go2people.nl From dirkjan at ochtman.nl Thu Apr 29 13:48:56 2010 From: dirkjan at ochtman.nl (Dirkjan Ochtman) Date: Thu, 29 Apr 2010 13:48:56 +0200 Subject: [python-nl] xml Office In-Reply-To: References: Message-ID: 2010/4/29 Wim Feijen : > Zijn er mensen die ervaring hebben met het genereren van xml > documenten, die in Word (2007) kunnen worden ingelezen en niet uit > ongelooflijk veel zooi bestaan? Hoeveel controle heb je over de Word-installaties waarmee ze gelezen moeten worden? En is het belangrijk dat ze voor Word leesbaar zijn, dat het XML is, of allebei? Groet, Dirkjan From vm at klankschap.nl Thu Apr 29 14:53:33 2010 From: vm at klankschap.nl (Floris van Manen) Date: Thu, 29 Apr 2010 14:53:33 +0200 Subject: [python-nl] xml Office In-Reply-To: References: Message-ID: <6B952F57-850D-4A4F-9CC3-B36F35CB3C2D@klankschap.nl> On Apr 29, 2010, at 13:40, Wim Feijen wrote: > Dag, > > Zijn er mensen die ervaring hebben met het genereren van xml > documenten, die in Word (2007) kunnen worden ingelezen en niet uit > ongelooflijk veel zooi bestaan? Garbage in is garbage out. Eigen documenten kun je zo eenvoudig maken als dat je wilt. Het filteren van word xml documenten hoeft ook niet te ingewikkeld te zijn. Er bestaan ook (online) tools voor, zoals tidy. http://valet.htmlhelp.com/tidy/ .F