From sbalneav at legalaid.mb.ca Tue Aug 8 15:54:10 2006 From: sbalneav at legalaid.mb.ca (Scott Balneaves) Date: Tue, 8 Aug 2006 14:54:10 -0500 Subject: [Python Wpg] LdapFS.py state of the union address. Message-ID: <20060808195410.GA31913@localdomain> Hello, fellow PUGlings: Well, I've done a fair amount of hacking over the last couple of weeks. I'm not sure if any of you have been following along with the SVN tree, but here's a brief update as to what's been accomplished: 1) As far as I can see, all the performance problems have been hammered out: feniks$ time ls -lR | wc 6469 51966 305525 real 0m9.814s user 0m0.104s sys 0m0.124s So, to interpret, an ls -lR on my Works' LDAP directory, which produces 6.4 klines of output, takes only 9 seconds. At an average of at least one LDAP lookup per line, I'd say that's pretty good. 2) The missing filesystem functionality's been added. Calls such as rmdir have been added, as well as implementing proper access times (getting the modifyTimeStamp from the LDAP directory). After some thought, I dropped Stewart's first suggestion (of the .ldif_reader), in favour of his second suggestion (that of an external shell script to be called for a mkdir). It turns out that it wasn't anywhere near as difficult to implement this as I'd thought, and it does work rather cleanly. 3) I've added a ldapfs.conf file for config parameters. It's more like what a standard sysadmin's going to be used to for configuration. 4) I've added an example ldapfs_mkdir file, as a (limited) example of what needs to be done to implement the mkdir. 5) I've done some documenting in the README. Still a bit more to go on that, but I'd be interested in comments. So, I think we're close to 0.1. I'd appreciate anyone willing to spend the time to give the code a once over. If anyone needs data, let me know, and I can provide you with an example LDIF file. Cheers! Scott -- Scott L. Balneaves | "Looking beyond the embers of bridges glowing behind us Systems Department | To a glimpse of how green it was on the other side..." Legal Aid Manitoba | -- Pink Floyd "High Hopes" From mpfaiffer at callapple.org Wed Aug 23 11:33:34 2006 From: mpfaiffer at callapple.org (Mike Pfaiffer) Date: Wed, 23 Aug 2006 10:33:34 -0500 Subject: [Python Wpg] So, what time should we meet today? Message-ID: <200608231033.34949.mpfaiffer@callapple.org> The usual time or earlier? Later Mike -- +----------------------------------------------------------------------+ |Call-A.P.P.L.E. and the Digital Civilization http://www.callapple.org | | http://members.shaw.ca/pfaiffer = Mike Pfaiffer (B.A., B.Sc.) | +----------------------------------------------------------------------+ ----- BEGIN GEEK CODE BLOCK ----- Version: 3.12 GCS/G/IT/PA/SS d s+:- a? C++ UL L++ W++ N++ o+ K- w(---) O+@ M++@ V PS+ PE !PGP t+ 5+ X R tv b+ DI+++ D++ G e++* h! r-- !y-- UF++ ------ END GEEK CODE BLOCK ------ From sbalneav at legalaid.mb.ca Wed Aug 23 11:45:59 2006 From: sbalneav at legalaid.mb.ca (Scott Balneaves) Date: Wed, 23 Aug 2006 10:45:59 -0500 Subject: [Python Wpg] So, what time should we meet today? In-Reply-To: <200608231033.34949.mpfaiffer@callapple.org> References: <200608231033.34949.mpfaiffer@callapple.org> Message-ID: <20060823154559.GB30626@localdomain> On Wed, Aug 23, 2006 at 10:33:34AM -0500, Mike Pfaiffer wrote: > The usual time or earlier? Hmm, I sent off a mail message asking the same thing, but I haven't seen it hit the list yet. I'll be there for 7:00, and I'll bring my scsi card with me. Cheers! Scott -- Scott L. Balneaves | "Looking beyond the embers of bridges glowing behind us Systems Department | To a glimpse of how green it was on the other side..." Legal Aid Manitoba | -- Pink Floyd "High Hopes" From sbalneav at legalaid.mb.ca Wed Aug 23 10:54:05 2006 From: sbalneav at legalaid.mb.ca (Scott Balneaves) Date: Wed, 23 Aug 2006 09:54:05 -0500 Subject: [Python Wpg] On for tonight? Message-ID: <20060823145405.GA30626@localdomain> Hey fellow PUGlings! We still on for tonight? Starlanes hackfest? Beer afterwards? Anyone? Anyone? Scott -- Scott L. Balneaves | "Looking beyond the embers of bridges glowing behind us Systems Department | To a glimpse of how green it was on the other side..." Legal Aid Manitoba | -- Pink Floyd "High Hopes" From mpfaiffer at callapple.org Wed Aug 23 11:59:45 2006 From: mpfaiffer at callapple.org (Mike Pfaiffer) Date: Wed, 23 Aug 2006 10:59:45 -0500 Subject: [Python Wpg] So, what time should we meet today? In-Reply-To: <20060823154559.GB30626@localdomain> References: <200608231033.34949.mpfaiffer@callapple.org> <20060823154559.GB30626@localdomain> Message-ID: <200608231059.45828.mpfaiffer@callapple.org> On Wednesday 23 August 2006 10:45, Scott Balneaves wrote this amazing epistle: > On Wed, Aug 23, 2006 at 10:33:34AM -0500, Mike Pfaiffer wrote: > > The usual time or earlier? > > Hmm, I sent off a mail message asking the same thing, but I haven't seen > it hit the list yet. > > I'll be there for 7:00, and I'll bring my scsi card with me. > > > Cheers! > > Scott If nobody suggests an earlier time by 4:00 (the time I need to get ready for 5:00) I'll be there around 7:00. Later Mike -- +----------------------------------------------------------------------+ |Call-A.P.P.L.E. and the Digital Civilization http://www.callapple.org | | http://members.shaw.ca/pfaiffer = Mike Pfaiffer (B.A., B.Sc.) | +----------------------------------------------------------------------+ ----- BEGIN GEEK CODE BLOCK ----- Version: 3.12 GCS/G/IT/PA/SS d s+:- a? C++ UL L++ W++ N++ o+ K- w(---) O+@ M++@ V PS+ PE !PGP t+ 5+ X R tv b+ DI+++ D++ G e++* h! r-- !y-- UF++ ------ END GEEK CODE BLOCK ------ From jason at peaceworks.ca Wed Aug 23 12:46:45 2006 From: jason at peaceworks.ca (Jason Hildebrand) Date: Wed, 23 Aug 2006 11:46:45 -0500 Subject: [Python Wpg] So, what time should we meet today? In-Reply-To: <200608231033.34949.mpfaiffer@callapple.org> References: <200608231033.34949.mpfaiffer@callapple.org> Message-ID: <1156351605.6912.19.camel@localhost> I won't be able to attend tonight; sorry. Have fun, though! On Wed, 2006-08-23 at 10:33 -0500, Mike Pfaiffer wrote: > The usual time or earlier? > > Later > Mike > > From mpfaiffer at callapple.org Wed Aug 23 14:05:01 2006 From: mpfaiffer at callapple.org (Mike Pfaiffer) Date: Wed, 23 Aug 2006 13:05:01 -0500 Subject: [Python Wpg] So, what time should we meet today? In-Reply-To: <20060823154559.GB30626@localdomain> References: <200608231033.34949.mpfaiffer@callapple.org> <20060823154559.GB30626@localdomain> Message-ID: <200608231305.01755.mpfaiffer@callapple.org> On Wednesday 23 August 2006 10:45, Scott Balneaves wrote this amazing epistle: > On Wed, Aug 23, 2006 at 10:33:34AM -0500, Mike Pfaiffer wrote: > > The usual time or earlier? > > Hmm, I sent off a mail message asking the same thing, but I haven't seen > it hit the list yet. > > I'll be there for 7:00, and I'll bring my scsi card with me. > > > Cheers! > > Scott More on the NIC... Installed it 10 minutes ago. Speed problems fixed! Now to figure out why KDE isn't displaying a window for ktorrent. ;-) Later Mike -- +----------------------------------------------------------------------+ |Call-A.P.P.L.E. and the Digital Civilization http://www.callapple.org | | http://members.shaw.ca/pfaiffer = Mike Pfaiffer (B.A., B.Sc.) | +----------------------------------------------------------------------+ ----- BEGIN GEEK CODE BLOCK ----- Version: 3.12 GCS/G/IT/PA/SS d s+:- a? C++ UL L++ W++ N++ o+ K- w(---) O+@ M++@ V PS+ PE !PGP t+ 5+ X R tv b+ DI+++ D++ G e++* h! r-- !y-- UF++ ------ END GEEK CODE BLOCK ------ From syd at plug.ca Wed Aug 23 14:16:38 2006 From: syd at plug.ca (Sydney Weidman) Date: Wed, 23 Aug 2006 13:16:38 -0500 Subject: [Python Wpg] So, what time should we meet today? In-Reply-To: <200608231305.01755.mpfaiffer@callapple.org> References: <200608231033.34949.mpfaiffer@callapple.org> <20060823154559.GB30626@localdomain> <200608231305.01755.mpfaiffer@callapple.org> Message-ID: <1156356998.25977.4.camel@phoenix.parit.ca> On Wed, 2006-08-23 at 13:05 -0500, Mike Pfaiffer wrote: > On Wednesday 23 August 2006 10:45, Scott Balneaves wrote this amazing epistle: > > On Wed, Aug 23, 2006 at 10:33:34AM -0500, Mike Pfaiffer wrote: > > > The usual time or earlier? > > > > Hmm, I sent off a mail message asking the same thing, but I haven't seen > > it hit the list yet. > > > > I'll be there for 7:00, and I'll bring my scsi card with me. > > > > I tried to send this to the list earlier, but it didn't show up. Sorry i haven't had as much time as I'd like (greater than 0 would have been good) to work on this, but here's what i've got so far for code. I was going to set up a subversion repository too, but I'll just send a link to the tarball for now. http://www.parit.ca/Members/sweidman/starlanes2-0.1.tar.gz I'll be there early-ish perhaps just after dinner (6:00 PM or so) to try to organize things (code-wise) a bit. -Syd From mpfaiffer at callapple.org Wed Aug 23 19:25:22 2006 From: mpfaiffer at callapple.org (Mike Pfaiffer) Date: Wed, 23 Aug 2006 18:25:22 -0500 Subject: [Python Wpg] So, what time should we meet today? In-Reply-To: <1156356998.25977.4.camel@phoenix.parit.ca> References: <200608231033.34949.mpfaiffer@callapple.org> <200608231305.01755.mpfaiffer@callapple.org> <1156356998.25977.4.camel@phoenix.parit.ca> Message-ID: <200608231825.23016.mpfaiffer@callapple.org> On Wednesday 23 August 2006 13:16, Sydney Weidman wrote this amazing epistle: > On Wed, 2006-08-23 at 13:05 -0500, Mike Pfaiffer wrote: > > On Wednesday 23 August 2006 10:45, Scott Balneaves wrote this amazing epistle: > > > On Wed, Aug 23, 2006 at 10:33:34AM -0500, Mike Pfaiffer wrote: > > > > The usual time or earlier? > > > > > > Hmm, I sent off a mail message asking the same thing, but I haven't > > > seen it hit the list yet. > > > > > > I'll be there for 7:00, and I'll bring my scsi card with me. > > I tried to send this to the list earlier, but it didn't show up. Sorry i > haven't had as much time as I'd like (greater than 0 would have been > good) to work on this, but here's what i've got so far for code. > > I was going to set up a subversion repository too, but I'll just send a > link to the tarball for now. > > http://www.parit.ca/Members/sweidman/starlanes2-0.1.tar.gz > > I'll be there early-ish perhaps just after dinner (6:00 PM or so) to try > to organize things (code-wise) a bit. > > -Syd > _______________________________________________ > Winnipeg mailing list > Winnipeg at python.org > http://mail.python.org/mailman/listinfo/winnipeg In case you guys are already there, I'll be leaving in 5 minutes. Later Mike -- +----------------------------------------------------------------------+ |Call-A.P.P.L.E. and the Digital Civilization http://www.callapple.org | | http://members.shaw.ca/pfaiffer = Mike Pfaiffer (B.A., B.Sc.) | +----------------------------------------------------------------------+ ----- BEGIN GEEK CODE BLOCK ----- Version: 3.12 GCS/G/IT/PA/SS d s+:- a? C++ UL L++ W++ N++ o+ K- w(---) O+@ M++@ V PS+ PE !PGP t+ 5+ X R tv b+ DI+++ D++ G e++* h! r-- !y-- UF++ ------ END GEEK CODE BLOCK ------ From sbalneav at legalaid.mb.ca Tue Aug 29 14:21:45 2006 From: sbalneav at legalaid.mb.ca (Scott Balneaves) Date: Tue, 29 Aug 2006 13:21:45 -0500 Subject: [Python Wpg] ZOPE courses in town? Message-ID: <20060829182145.GA5767@localdomain> Hello all! We might have need at work to write some small web-based applications in house, and in keeping with my continued pythonization (pythoniferousness?) ZOPE seemed to be a logical choice to start looking. So I dowloaded the 2.6 edition of "The Zope Book". And printed it. Oh. My. Goodness. 250 double-sided pages later, and a quick browse through, and I'm convinced that ZOPE can do just about everything that I could ever want in a web framework, but holy schnikies, there's a lot to learn! I'd love to sign up for a course to get a jump-start on ZOPE. Does anyone know if there's anything running here in Winnipeg? Scott -- Scott L. Balneaves | "Looking beyond the embers of bridges glowing behind us Systems Department | To a glimpse of how green it was on the other side..." Legal Aid Manitoba | -- Pink Floyd "High Hopes" From jason at peaceworks.ca Tue Aug 29 14:54:03 2006 From: jason at peaceworks.ca (Jason Hildebrand) Date: Tue, 29 Aug 2006 13:54:03 -0500 Subject: [Python Wpg] ZOPE courses in town? In-Reply-To: <20060829182145.GA5767@localdomain> References: <20060829182145.GA5767@localdomain> Message-ID: <1156877643.6840.34.camel@localhost> Hi Scott, While you can certainly do anything with Zope, it may or may not be the best tool, depending on what you want to do. If the web application(s) you are looking to build are primarily concerned with content-management, then Zope is probably a good choice. On the other hand, if you are simply looking to build a web admin interface to some postgres or mysql data, then there may be some better options. I've been using Webware for Python for years, and it's a mature application server, with less infrastructure than Zope provides (if you don't need the infrastructure anyways), which gets you up and running much more quickly. Newcomer projects include django and turbogears, which apparently allow you to build database-UI apps very easily -- but I haven't used either of these yet, and don't have a good feeling for their strengths and limitations. hope this helps, Jason On Tue, 2006-08-29 at 13:21 -0500, Scott Balneaves wrote: > Hello all! > > We might have need at work to write some small web-based applications in > house, and in keeping with my continued pythonization > (pythoniferousness?) ZOPE seemed to be a logical choice to start > looking. > > So I dowloaded the 2.6 edition of "The Zope Book". > > And printed it. > > Oh. > > My. > > Goodness. > > 250 double-sided pages later, and a quick browse through, and I'm > convinced that ZOPE can do just about everything that I could ever want > in a web framework, but holy schnikies, there's a lot to learn! > > I'd love to sign up for a course to get a jump-start on ZOPE. Does > anyone know if there's anything running here in Winnipeg? > > Scott > From syd at plug.ca Tue Aug 29 15:52:51 2006 From: syd at plug.ca (Sydney Weidman) Date: Tue, 29 Aug 2006 14:52:51 -0500 Subject: [Python Wpg] ZOPE courses in town? In-Reply-To: <20060829182145.GA5767@localdomain> References: <20060829182145.GA5767@localdomain> Message-ID: <1156881171.29272.11.camel@phoenix.parit.ca> I agree with Jason's good advice re: purpose. Content management applications can be created with Zope, but Zope does have a New York sized API. Postgres and Mysql database integration is not included "out of the box" so to speak, but can be added in reasonably easily. Using products like DCWorkflow and such, you can design quite sophisticated content management applications. There is some zope training listed on the main page of zope.org (none in Canada, much less Winnipeg, unfortunately). One thing I would recommend having a look at is the "Zope 3 hello world screencast": http://zeapartners.org/scl/2006/04/25/z3-helloworld/z3-helloworld.html Zope 3 is considerably simpler and more pythonic than older iterations of the framework, so it may be beneficial that you haven't learned the "bad old way" of doing things in Zope. There are a number of other good tutorials on Zope 3 that can be found at: http://worldcookery.com/Appetizers Enjoy! - Syd From rick at centrix.ca Thu Aug 31 09:38:13 2006 From: rick at centrix.ca (Richard Fillion) Date: Thu, 31 Aug 2006 08:38:13 -0500 Subject: [Python Wpg] Hello Message-ID: <9B756D32-C2DE-495C-8BDA-B6F426B6AC9B@centrix.ca> I just found out about WinniPUG, and so I figured that I should subscribe to this list and say hello to everyone. Well... Hello Everyone. I guess I should introduce myself properly. I'm Rick... I recently graduated from the University of North Dakota with a B.Sc. in CSci. Python is one of two languages that I currently enjoy programming (the other being Objective-C). Right now I mainly use Python for shell scripting on the servers I admin, but I've done bigger things with it. Mainly web applications and a whole web app framework. I will definitely be attending meetings, and look forward to meeting all of you. Richard Fillion rick at centrix.ca From mpfaiffer at callapple.org Thu Aug 31 10:30:45 2006 From: mpfaiffer at callapple.org (Mike Pfaiffer) Date: Thu, 31 Aug 2006 09:30:45 -0500 Subject: [Python Wpg] Hello In-Reply-To: <9B756D32-C2DE-495C-8BDA-B6F426B6AC9B@centrix.ca> References: <9B756D32-C2DE-495C-8BDA-B6F426B6AC9B@centrix.ca> Message-ID: <200608310930.45154.mpfaiffer@callapple.org> On Thursday 31 August 2006 08:38, Richard Fillion wrote this amazing epistle: > I just found out about WinniPUG, and so I figured that I should > subscribe to this list and say hello to everyone. Well... Hello > Everyone. > > I guess I should introduce myself properly. I'm Rick... I recently > graduated from the University of North Dakota with a B.Sc. in CSci. > Python is one of two languages that I currently enjoy programming > (the other being Objective-C). Right now I mainly use Python for > shell scripting on the servers I admin, but I've done bigger things > with it. Mainly web applications and a whole web app framework. > > I will definitely be attending meetings, and look forward to meeting > all of you. > > Richard Fillion > rick at centrix.ca Everybody is welcome as long as they have even a remote interest in Python. :-) Later Mike -- +----------------------------------------------------------------------+ |Call-A.P.P.L.E. and the Digital Civilization http://www.callapple.org | | http://members.shaw.ca/pfaiffer = Mike Pfaiffer (B.A., B.Sc.) | +----------------------------------------------------------------------+ ----- BEGIN GEEK CODE BLOCK ----- Version: 3.12 GCS/G/IT/PA/SS d s+:- a? C++ UL L++ W++ N++ o+ K- w(---) O+@ M++@ V PS+ PE !PGP t+ 5+ X R tv b+ DI+++ D++ G e++* h! r-- !y-- UF++ ------ END GEEK CODE BLOCK ------ From stuartw at mts.net Thu Aug 31 10:50:22 2006 From: stuartw at mts.net (Stuart Williams) Date: Thu, 31 Aug 2006 09:50:22 -0500 Subject: [Python Wpg] Hello In-Reply-To: <9B756D32-C2DE-495C-8BDA-B6F426B6AC9B@centrix.ca> References: <9B756D32-C2DE-495C-8BDA-B6F426B6AC9B@centrix.ca> Message-ID: <17654.63278.210950.150835@philantrack.local> Welcome Richard, And welcome to the several others who have joined in the past few weeks. Feel free to introduce yourselves if you wish. This goes for long-time members, too. We are now up to 22 members on the list! I'm excited about the increased energy there will likely be at meetings this fall. Here's my introduction. I'm a computer scientist and consultant. I started this group last December. I taught Introduction to Computer Science at Canadian Mennonite University using Python for the past two years. I also ran their summer camp for high school students with Python. I've worked alone and with others on several medium-sized projects in Python. Most recently I started a new job doing systems integration work in a large complex environment that at first glance seems ripe for the kind of glue code that Python does so well. My favourite aspect of Python is that it gives you enough rope to hang yourself. Stuart.