From cba at groundworkopensource.com Tue Sep 2 13:49:24 2008 From: cba at groundworkopensource.com (Chris B. Anderson) Date: Tue, 2 Sep 2008 13:49:24 -0700 Subject: [sf-perl] BayLISA Monitoring SIG: Weds, Sept 10 2008, 7PM Message-ID: Hi: You're invited to the BayLISA Monitoring SIG, Weds, Sept 10 2008, 7PM. See the meeting announcement pasted below: feel free to post it and/or forward it along to anyone else who might be interested. Many thanks, and hope to see you there!) ================================================= Monitoring SIG XVII: IPV6 Era of Transformation Stephan Baur, Sr. Director, Enterprise Architecture & Technology, Cisco Roger R?ttimann, Director Software Development, GroundWork Open Source Inc. In the near future the internet will run out of available addresses. To fix this problem a new addressing scheme named IPV6 was introduced to supplement the current IPV4 standard. With the benefits of having more addresses available comes the complexity, cost and risks of converting existing functioning systems to IPV6. Should a System Administrator be concerned about upgrading their network to IPV6? What are the benefits? We'll present a high-level view of the challenges IPv6 presents to systems and network operators. We provide a short review of IPv6, what the network landscape will look like for a long time to come and provide some thoughts what IPv6 means for software, systems and network engineers -- tactically and strategically. What: BayLISA Monitoring SIG XVII: IPV6 Era of Transformation Who: Anyone interested in IT monitoring issues and tools (newbies particularly welcome!) When: Wednesday, Sept 10 2008, 7PM Where: GroundWork Open Source, 139 Townsend St., San Francisco How: 139 Townsend St. is very near AT&T Ballpark. It is one and a half blocks from the CalTrain Depot. Take the MUNI N or T or trolley to 2nd and King (ballpark stop) or take the 30 or 45 bus (among others) crosstown. Free evening street parking can probably be found because the Giants are playing an afternoon game that day (vs. Arizona, 12:35 start) and it should be over by the time the SIG starts. There are several fee-based parking garages around in case of parking difficulty. Cost: Free!! Back to school pizza, carbonated and non-carbonated drinks, and healthy (and questionably healthy) snacks provided by GroundWork. We'll open up the doors at 6:30 or so and start the formal part of the meeting promptly at 7PM. RSVP (not necessary, but helpful): Peter Mui, pmui at groundworkopensource.com, 415-992-4573, www.groundworkopensource.com NOTICE: This email is intended only for the use of the party to which it is addressed and may contain information that is privileged, confidential, or protected by law. If you are not the intended recipient you are hereby notified that any dissemination, copying or distribution of this email or its contents is strictly prohibited.If you have received this message in error, please notify us immediately by replying to the message and deleting it from your computer. Thank You. -------------- next part -------------- An HTML attachment was scrubbed... URL: From gatorreina at gmail.com Wed Sep 10 11:05:29 2008 From: gatorreina at gmail.com (Richard Reina) Date: Wed, 10 Sep 2008 13:05:29 -0500 Subject: [sf-perl] How to find out what script is calling a subroutine? Message-ID: <489cf9d0809101105o7b911fa0x6d04977a70b0774d@mail.gmail.com> If I have a script such as #!/usr/bin/perl -w sub record_info { # insert some into into a DB table } 1; Is there a way that the subroutine record_info can tell what perl script called it so that it can also put that info in to the DB table? Thanks very much for your help. -------------- next part -------------- An HTML attachment was scrubbed... URL: From shlomif at iglu.org.il Wed Sep 10 11:20:30 2008 From: shlomif at iglu.org.il (Shlomi Fish) Date: Wed, 10 Sep 2008 21:20:30 +0300 Subject: [sf-perl] How to find out what script is calling a subroutine? In-Reply-To: <489cf9d0809101105o7b911fa0x6d04977a70b0774d@mail.gmail.com> References: <489cf9d0809101105o7b911fa0x6d04977a70b0774d@mail.gmail.com> Message-ID: <200809102120.30639.shlomif@iglu.org.il> Hi! On Wednesday 10 September 2008, Richard Reina wrote: > If I have a script such as > > #!/usr/bin/perl -w > > sub record_info { > > # insert some into into a DB table > > } > 1; > > > Is there a way that the subroutine record_info can tell what perl script > called it so that it can also put that info in to the DB table? See $0 in http://perldoc.perl.org/perlvar.html or http://perldoc.perl.org/functions/caller.html Regards, Shlomi Fish > > Thanks very much for your help. ----------------------------------------------------------------- Shlomi Fish http://www.shlomifish.org/ Best Introductory Programming Language - http://xrl.us/bjn84 Shlomi, so what are you working on? Working on a new wiki about unit testing fortunes in freecell? -- Ran Eilam From sergey.fetisov at ask.com Wed Sep 10 11:25:20 2008 From: sergey.fetisov at ask.com (Sergey Fetisov) Date: Wed, 10 Sep 2008 11:25:20 -0700 Subject: [sf-perl] How to find out what script is calling a subroutine? In-Reply-To: <489cf9d0809101105o7b911fa0x6d04977a70b0774d@mail.gmail.com> References: <489cf9d0809101105o7b911fa0x6d04977a70b0774d@mail.gmail.com> Message-ID: <09AD1BE32C2FCF47A8049BDA1D0449ED036561AD@Site1Mail04.jeeves.ask.info> Hi, If I understood correctly - you're going to run the script containing record_info subroutine from another script... In this case you can do the next: 1. Run record_info_script with the command line argument: `/path/record_info_script.pl $0` 2. Then use @ARGV in the record_info_script. Otherwise (if there is only one script and you need just find out its name) see $0 description. Regards, Sergei ________________________________ From: sanfrancisco-pm-bounces+sergey.fetisov=ask.com at pm.org [mailto:sanfrancisco-pm-bounces+sergey.fetisov=ask.com at pm.org] On Behalf Of Richard Reina Sent: Wednesday, September 10, 2008 11:05 AM To: sanfrancisco-pm at pm.org Subject: [sf-perl] How to find out what script is calling a subroutine? If I have a script such as #!/usr/bin/perl -w sub record_info { # insert some into into a DB table } 1; Is there a way that the subroutine record_info can tell what perl script called it so that it can also put that info in to the DB table? Thanks very much for your help. -------------- next part -------------- An HTML attachment was scrubbed... URL: From quinn at fairpath.com Sun Sep 14 21:22:28 2008 From: quinn at fairpath.com (Quinn Weaver) Date: Sun, 14 Sep 2008 21:22:28 -0700 Subject: [sf-perl] Jonathan Swartz, one week from Tuesday References: Message-ID: <2D5132A9-1648-4783-AE80-F5D395FD9A1A@fairpath.com> Hi, everyone, Reminder: the Jonathan Swartz talk is September 23 (that's one week from Tuesday). If you know your plans, RSVP to quinn at fairpath.com. RSVPs are not strictly required, but they help me get enough pizza. Thanks! Meeting info is below, and at http://sf.pm.org/weblog/ . Begin forwarded message: > From: Quinn Weaver > Date: August 23, 2008 4:03:30 PM PDT > Subject: September 23: Jonathan Swartz on cacheing, at Six Apart > > Mason author Jonathan Swartz will present CHI, his multi-backend > cacheing module that impoves on Cache::Cache. Very cool. Cacheing > is a subject near and dear to the hearts of web app developers. > > Six Apart will be hosting and providing Little Star pizza and > beer/drinks. It looks like this will become a regular thing for us. > Thanks, Six Apart! > > When: Tuesday, September 23 at 7:00 pm. > > Where: Six Apart, 548 4th St., San Francisco > > Don't be deceived by Google--Six Apart is on 4th *Street*, > not 4th Avenue: http://tinyurl.com/6h3rh8 > > __ > Quinn Weaver > Full-stack web consultant > http://fairpath.com/ > 510-520-5217 (mobile) > > > __ Quinn Weaver Full-stack web consultant http://fairpath.com/ 510-520-5217 (mobile) From menzer at apple.com Mon Sep 15 07:56:38 2008 From: menzer at apple.com (Matisse Enzer) Date: Mon, 15 Sep 2008 07:56:38 -0700 Subject: [sf-perl] [job] Senior Object-Oriented Perl Developer wanted for 3-4 months temp position in Cupertino Message-ID: <87257345-F13F-458A-9759-7965005F611B@apple.com> Senior Object-Oriented Perl Developer wanted for 3-4 months temp position in Cupertino This is a full-time temporary worker position that requires approximately 3 days/week in Cupertino. About 2 days/week can be telecommute. The gig would last for 3-4 months and would start this month (Sep 2008.) Excellent "plays well with others" skills required. Lots of experience with object-oriented Perl required as is a willingness to do test- first development and pair programming. The project uses a lot of automated testing (unit tests and functional tests.) If you are interested and available send me a phone number where you can be reached. Please send your reply only to my email address, not to this whole list! Matisse Enzer menzer at apple.com From quinn at fairpath.com Sun Sep 21 20:33:18 2008 From: quinn at fairpath.com (Quinn Weaver) Date: Sun, 21 Sep 2008 20:33:18 -0700 Subject: [sf-perl] RSVP! Jonathan Swartz this Tuesday In-Reply-To: References: Message-ID: <6E61C1D7-606F-4BD2-87BA-CB6E893E9879@fairpath.com> On Aug 23, 2008, at 4:03 PM, Quinn Weaver wrote: > Mason author Jonathan Swartz will present CHI, his multi-backend > cacheing module > > When: Tuesday, September 23 at 7:00 pm. > Where: Six Apart, 548 4th St., San Francisco OK, one more call for RSVPs. Please RSVP please! We're down to the point of figuring out how much pizza to order and how many seats to have. :) Even a "maybe" RSVP helps us make sure we don't under-plan. Thanks, __ Quinn Weaver Full-stack web consultant http://fairpath.com/ 510-520-5217 (mobile) From rjray at blackperl.com Sun Sep 21 21:39:37 2008 From: rjray at blackperl.com (Randy J. Ray) Date: Sun, 21 Sep 2008 21:39:37 -0700 Subject: [sf-perl] RSVP! Jonathan Swartz this Tuesday In-Reply-To: <6E61C1D7-606F-4BD2-87BA-CB6E893E9879@fairpath.com> References: <6E61C1D7-606F-4BD2-87BA-CB6E893E9879@fairpath.com> Message-ID: <48D72189.4000009@blackperl.com> Put me down as a "maybe"-- my team has a code-freeze on that day, so unexpected fires could interfere with my plans. Otherwise, I expect to be there... Randy -- """"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" Randy J. Ray Silicon Valley Scale Modelers: http://www.svsm.org rjray at blackperl.com randy.j.ray at gmail.com From david at fetter.org Sun Sep 21 22:51:48 2008 From: david at fetter.org (David Fetter) Date: Sun, 21 Sep 2008 22:51:48 -0700 Subject: [sf-perl] RSVP! Jonathan Swartz this Tuesday In-Reply-To: <6E61C1D7-606F-4BD2-87BA-CB6E893E9879@fairpath.com> References: <6E61C1D7-606F-4BD2-87BA-CB6E893E9879@fairpath.com> Message-ID: <20080922055148.GL19216@fetter.org> On Sun, Sep 21, 2008 at 08:33:18PM -0700, Quinn Weaver wrote: > On Aug 23, 2008, at 4:03 PM, Quinn Weaver wrote: > >> Mason author Jonathan Swartz will present CHI, his multi-backend >> cacheing module >> >> When: Tuesday, September 23 at 7:00 pm. Where: Six Apart, 548 4th >> St., San Francisco > > OK, one more call for RSVPs. Please RSVP please! We're down to the > point of figuring out how much pizza to order and how many seats to > have. :) Even a "maybe" RSVP helps us make sure we don't > under-plan. Consider me R'd, SVP :) Cheers, David (mmm....pizza) -- David Fetter http://fetter.org/ Phone: +1 415 235 3778 AIM: dfetter666 Yahoo!: dfetter Skype: davidfetter XMPP: david.fetter at gmail.com Remember to vote! Consider donating to Postgres: http://www.postgresql.org/about/donate From dan at peeron.com Mon Sep 22 00:03:32 2008 From: dan at peeron.com (Dan Boger) Date: Mon, 22 Sep 2008 00:03:32 -0700 Subject: [sf-perl] RSVP! Jonathan Swartz this Tuesday In-Reply-To: <6E61C1D7-606F-4BD2-87BA-CB6E893E9879@fairpath.com> References: <6E61C1D7-606F-4BD2-87BA-CB6E893E9879@fairpath.com> Message-ID: On Sun, Sep 21, 2008 at 8:33 PM, Quinn Weaver wrote: > On Aug 23, 2008, at 4:03 PM, Quinn Weaver wrote: > > Mason author Jonathan Swartz will present CHI, his multi-backend >> cacheing module >> >> When: Tuesday, September 23 at 7:00 pm. >> Where: Six Apart, 548 4th St., San Francisco >> > > > OK, one more call for RSVPs. Please RSVP please! We're down to the point > of figuring out how much pizza to order and how many seats to have. :) Even > a "maybe" RSVP helps us make sure we don't under-plan. > Ok, put me down for a maybe+1. -- Dan Boger -------------- next part -------------- An HTML attachment was scrubbed... URL: From rdm at cfcl.com Mon Sep 22 11:51:35 2008 From: rdm at cfcl.com (Rich Morin) Date: Mon, 22 Sep 2008 11:51:35 -0700 Subject: [sf-perl] BASS Meeting (SF), Wed. September 24 Message-ID: The Beer and Scripting SIG rides again! If you'd like to eat good Italian food, chat with other local scripters, and possibly take a look at laptop-demoed scripting hacks, this is the place to do it! For your convenience, here are the critical details: Date: Wednesday, September 24, 2008 (4th. Wed.) Time: 8:00 pm Place: Pasquales Pizzeria 701 Irving St. (At 8th. Ave.) San Francisco, California, USA 415/661-2140 See the BASS web page for more information: http://cfcl.com/rdm/bass/ We now have two (2) mailing lists, which you are welcome to join: * http://groups.google.com/group/bass-announce This will be used mostly for BASS announcements, though I may send an occasional notice about other events that look nifty. Expect 1-2 messages per month. * http://groups.google.com/group/bass-discuss This should have relatively little traffic, but no guarantees. The basic idea is that it gives BASS attendees (etc) a place to discuss scripting (and topics of interest to scripters). Like BASS, but more than one evening a month... -r -- http://www.cfcl.com/rdm Rich Morin http://www.cfcl.com/rdm/resume rdm at cfcl.com http://www.cfcl.com/rdm/weblog +1 650-873-7841 Technical editing and writing, programming, and web development From kenuhl at berkeley.edu Mon Sep 22 12:25:54 2008 From: kenuhl at berkeley.edu (ken uhl) Date: Mon, 22 Sep 2008 12:25:54 -0700 Subject: [sf-perl] input validation module sought Message-ID: <48D7F142.4090504@berkeley.edu> Hi, I am looking for a module to do input validation to protect against SQL insertions HTML insertions javascript insertions Any suggestions>? ken uhl uc berkeley From andy at petdance.com Mon Sep 22 12:28:00 2008 From: andy at petdance.com (Andy Lester) Date: Mon, 22 Sep 2008 14:28:00 -0500 Subject: [sf-perl] input validation module sought In-Reply-To: <48D7F142.4090504@berkeley.edu> References: <48D7F142.4090504@berkeley.edu> Message-ID: <5D9D1737-4F3B-4564-A7A7-0E8F7112E155@petdance.com> On Sep 22, 2008, at 2:25 PM, ken uhl wrote: > Hi, I am looking for a module to do input validation to protect > against > SQL insertions > HTML insertions > javascript insertions Yes, don't validate your input to protect against SQL insertions. Use bound variables. xoxo, Andy -- Andy Lester => andy at petdance.com => www.petdance.com => AIM:petdance From not.com at gmail.com Mon Sep 22 13:13:53 2008 From: not.com at gmail.com (yary) Date: Mon, 22 Sep 2008 13:13:53 -0700 Subject: [sf-perl] input validation module sought In-Reply-To: <48D7F142.4090504@berkeley.edu> References: <48D7F142.4090504@berkeley.edu> Message-ID: <75cbfa570809221313v193262d3wada86e2bae4c9444@mail.gmail.com> On Mon, Sep 22, 2008 at 12:25 PM, ken uhl wrote: > > Hi, I am looking for a module to do input validation to protect against > SQL insertions > HTML insertions > javascript insertions > > Any suggestions>? >From the question I'll guess you're writing a program that handles a form submission, or other user input. The general idea is to not use any values you get from the browser/command line/stdin directly inside any SQL or HTML. eg. if %POST has your user's input, do not say sql_do("insert into table (col1) values '$POST{MyCol}'"); #wrong instead sql_do("insert into table (col1) values ?",$POST{MyCol}); for HTML/JavaScript, the cgi module provides escapeHTML, which is of some value... need a more specific Q for more specific answers. From biztos at mac.com Mon Sep 22 17:02:51 2008 From: biztos at mac.com (frosty) Date: Mon, 22 Sep 2008 17:02:51 -0700 Subject: [sf-perl] input validation module sought In-Reply-To: <48D7F142.4090504@berkeley.edu> References: <48D7F142.4090504@berkeley.edu> Message-ID: <117981913047920334551516427473454239962-Webmail2@me.com> For HTML, usually this is all you need: use HTML::Entities qw(encode_entities); For SQL, *always* use bind variables. For Javascript I would say: 1) Never ever eval anything from an untrusted source. 2) Never ever use innerHTML without doing encode_entities on user-supplied data first. 3) Use a well-tested JS toolkit so you don't make a newbie mistake and break #2. But keep in mind that innerHTML is inherently insecure... just like the Web. :-) --frosty On Monday, September 22, 2008, at 12:25PM, "ken uhl" wrote: >Hi, I am looking for a module to do input validation to protect against >SQL insertions >HTML insertions >javascript insertions > >Any suggestions>? > >ken uhl >uc berkeley > >_______________________________________________ >SanFrancisco-pm mailing list >SanFrancisco-pm at pm.org >http://mail.pm.org/mailman/listinfo/sanfrancisco-pm > > From simon at thegestalt.org Mon Sep 22 17:31:17 2008 From: simon at thegestalt.org (Simon Wistow) Date: Tue, 23 Sep 2008 01:31:17 +0100 Subject: [sf-perl] input validation module sought In-Reply-To: <48D7F142.4090504@berkeley.edu> References: <48D7F142.4090504@berkeley.edu> Message-ID: <20080923003117.GV38098@thegestalt.org> On Mon, Sep 22, 2008 at 12:25:54PM -0700, ken uhl said: > Hi, I am looking for a module to do input validation to protect against > SQL insertions > HTML insertions > javascript insertions > > Any suggestions>? Will CGI::Untaint be of any use? From j_pm at supersnail.com Mon Sep 22 18:26:17 2008 From: j_pm at supersnail.com (j_pm at supersnail.com) Date: Mon, 22 Sep 2008 18:26:17 -0700 Subject: [sf-perl] SanFrancisco-pm Digest, Vol 44, Issue 4 In-Reply-To: References: Message-ID: <002001c91d1b$60ffa920$22fefb60$@com> I plan to be there Quinn. Tasty perl addiction. Thanks! -julian cache www.HumanCreativity.com -----Original Message----- From: sanfrancisco-pm-bounces+j_pm=supersnail.com at pm.org [mailto:sanfrancisco-pm-bounces+j_pm=supersnail.com at pm.org] On Behalf Of sanfrancisco-pm-request at pm.org Sent: Monday, September 22, 2008 12:00 PM To: sanfrancisco-pm at pm.org Subject: SanFrancisco-pm Digest, Vol 44, Issue 4 Send SanFrancisco-pm mailing list submissions to sanfrancisco-pm at pm.org To subscribe or unsubscribe via the World Wide Web, visit http://mail.pm.org/mailman/listinfo/sanfrancisco-pm or, via email, send a message with subject or body 'help' to sanfrancisco-pm-request at pm.org You can reach the person managing the list at sanfrancisco-pm-owner at pm.org When replying, please edit your Subject line so it is more specific than "Re: Contents of SanFrancisco-pm digest..." Today's Topics: 1. RSVP! Jonathan Swartz this Tuesday (Quinn Weaver) 2. Re: RSVP! Jonathan Swartz this Tuesday (Randy J. Ray) 3. Re: RSVP! Jonathan Swartz this Tuesday (David Fetter) 4. Re: RSVP! Jonathan Swartz this Tuesday (Dan Boger) 5. BASS Meeting (SF), Wed. September 24 (Rich Morin) ---------------------------------------------------------------------- Message: 1 Date: Sun, 21 Sep 2008 20:33:18 -0700 From: Quinn Weaver Subject: [sf-perl] RSVP! Jonathan Swartz this Tuesday To: San Francisco Perl Mongers Message-ID: <6E61C1D7-606F-4BD2-87BA-CB6E893E9879 at fairpath.com> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes On Aug 23, 2008, at 4:03 PM, Quinn Weaver wrote: > Mason author Jonathan Swartz will present CHI, his multi-backend > cacheing module > > When: Tuesday, September 23 at 7:00 pm. > Where: Six Apart, 548 4th St., San Francisco OK, one more call for RSVPs. Please RSVP please! We're down to the point of figuring out how much pizza to order and how many seats to have. :) Even a "maybe" RSVP helps us make sure we don't under-plan. Thanks, __ Quinn Weaver Full-stack web consultant http://fairpath.com/ 510-520-5217 (mobile) ------------------------------ Message: 2 Date: Sun, 21 Sep 2008 21:39:37 -0700 From: "Randy J. Ray" Subject: Re: [sf-perl] RSVP! Jonathan Swartz this Tuesday To: San Francisco Perl Mongers User Group Message-ID: <48D72189.4000009 at blackperl.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Put me down as a "maybe"-- my team has a code-freeze on that day, so unexpected fires could interfere with my plans. Otherwise, I expect to be there... Randy -- """""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" """ Randy J. Ray Silicon Valley Scale Modelers: http://www.svsm.org rjray at blackperl.com randy.j.ray at gmail.com ------------------------------ Message: 3 Date: Sun, 21 Sep 2008 22:51:48 -0700 From: David Fetter Subject: Re: [sf-perl] RSVP! Jonathan Swartz this Tuesday To: San Francisco Perl Mongers User Group Message-ID: <20080922055148.GL19216 at fetter.org> Content-Type: text/plain; charset=us-ascii On Sun, Sep 21, 2008 at 08:33:18PM -0700, Quinn Weaver wrote: > On Aug 23, 2008, at 4:03 PM, Quinn Weaver wrote: > >> Mason author Jonathan Swartz will present CHI, his multi-backend >> cacheing module >> >> When: Tuesday, September 23 at 7:00 pm. Where: Six Apart, 548 4th >> St., San Francisco > > OK, one more call for RSVPs. Please RSVP please! We're down to the > point of figuring out how much pizza to order and how many seats to > have. :) Even a "maybe" RSVP helps us make sure we don't > under-plan. Consider me R'd, SVP :) Cheers, David (mmm....pizza) -- David Fetter http://fetter.org/ Phone: +1 415 235 3778 AIM: dfetter666 Yahoo!: dfetter Skype: davidfetter XMPP: david.fetter at gmail.com Remember to vote! Consider donating to Postgres: http://www.postgresql.org/about/donate ------------------------------ Message: 4 Date: Mon, 22 Sep 2008 00:03:32 -0700 From: "Dan Boger" Subject: Re: [sf-perl] RSVP! Jonathan Swartz this Tuesday To: "San Francisco Perl Mongers User Group" Message-ID: Content-Type: text/plain; charset="iso-8859-1" On Sun, Sep 21, 2008 at 8:33 PM, Quinn Weaver wrote: > On Aug 23, 2008, at 4:03 PM, Quinn Weaver wrote: > > Mason author Jonathan Swartz will present CHI, his multi-backend >> cacheing module >> >> When: Tuesday, September 23 at 7:00 pm. >> Where: Six Apart, 548 4th St., San Francisco >> > > > OK, one more call for RSVPs. Please RSVP please! We're down to the point > of figuring out how much pizza to order and how many seats to have. :) Even > a "maybe" RSVP helps us make sure we don't under-plan. > Ok, put me down for a maybe+1. -- Dan Boger -------------- next part -------------- An HTML attachment was scrubbed... URL: ------------------------------ Message: 5 Date: Mon, 22 Sep 2008 11:51:35 -0700 From: Rich Morin Subject: [sf-perl] BASS Meeting (SF), Wed. September 24 To: Perl Message-ID: Content-Type: text/plain; charset="us-ascii" The Beer and Scripting SIG rides again! If you'd like to eat good Italian food, chat with other local scripters, and possibly take a look at laptop-demoed scripting hacks, this is the place to do it! For your convenience, here are the critical details: Date: Wednesday, September 24, 2008 (4th. Wed.) Time: 8:00 pm Place: Pasquales Pizzeria 701 Irving St. (At 8th. Ave.) San Francisco, California, USA 415/661-2140 See the BASS web page for more information: http://cfcl.com/rdm/bass/ We now have two (2) mailing lists, which you are welcome to join: * http://groups.google.com/group/bass-announce This will be used mostly for BASS announcements, though I may send an occasional notice about other events that look nifty. Expect 1-2 messages per month. * http://groups.google.com/group/bass-discuss This should have relatively little traffic, but no guarantees. The basic idea is that it gives BASS attendees (etc) a place to discuss scripting (and topics of interest to scripters). Like BASS, but more than one evening a month... -r -- http://www.cfcl.com/rdm Rich Morin http://www.cfcl.com/rdm/resume rdm at cfcl.com http://www.cfcl.com/rdm/weblog +1 650-873-7841 Technical editing and writing, programming, and web development ------------------------------ _______________________________________________ SanFrancisco-pm mailing list SanFrancisco-pm at pm.org http://mail.pm.org/mailman/listinfo/sanfrancisco-pm End of SanFrancisco-pm Digest, Vol 44, Issue 4 ********************************************** From danlyke at flutterby.com Tue Sep 23 12:41:05 2008 From: danlyke at flutterby.com (Dan Lyke) Date: Tue, 23 Sep 2008 12:41:05 -0700 Subject: [sf-perl] input validation module sought In-Reply-To: <48D7F142.4090504@berkeley.edu> References: <48D7F142.4090504@berkeley.edu> Message-ID: <20080923124105.28658e2a@danhplaptop> On Mon, 22 Sep 2008 12:25:54 -0700 ken uhl wrote: > Hi, I am looking for a module to do input validation to protect > against SQL insertions As others have mentioned, bound variables are your friend, though because I started doing this stuff back in the days when bound variables didn't well work on all drivers, the $dbh->quote(...) method also works nicely. > HTML insertions > javascript insertions These are a slightly more challenging problem. I've let my code to do this diverge from the stuff I've published, but the roughly the system which has run my web site for 8 years or so is at http://www.flutterby.com/software/flutterbycms/flutterby_cms.tar.gz If nobody comes up with a supported CPAN module that does all the right stuff you might take a look at it. It shows its age, I should really sit down and rework it with what I've learned of Perl since, actually document the thing, maybe even figure out how to make a CPAN module, but the guts of it are in Flutterby/Parse/Text.pm and Flutterby/Output/HTML.pm Create a new parser with: my $p = Flutterby::Parse::HTML->new(); Create a tree (which is just like the ones that come in off of the XML parser) with: my $tree = $p->parse("some text mixed with html goes here"); Create an outputter: my $out = Flutterby::Output::HTML->new(); and there are various options for outputting to strings or whatever, and then output it: $out->output($tree); You might also want to find a subset of the tree if you're outputting this HTML inside other HTML: if ($node = Flutterby::Tree::Find::nodeChildInfo($tree,'body')) { @tree = @$node; shift @tree; $outputhtml->output(\@tree); } else { $outputhtml->output($tree); } The Perl ain't great, there's a lot I'd like to rework it to do, but it does a semi-decent job of taking text user input, guessing what they meant, keeping them from doing anything malicious, and outputting conforming and validating HTML. I think there's one hole that should get plugged, if you get that far I'll happily discuss plugging it with you. If Perl were my business or I had gobs of spare time I'd rework it so that it worked on a pipe rather than a tree-in-memory model, and I know that the actual running code has an expanded amount of HTML it'll let the user do, but that's where I've gotten to and it still runs. I think I've put a GPL license on that, but it's all my code and I'll happily work with you to provide a suitable written copyright notice if you may need to integrate it into something that isn't GPL-able (I know that sometimes it's difficult to get suits to sign off on random code from the 'net). Dan From yanick at babyl.dyndns.org Wed Sep 24 19:53:27 2008 From: yanick at babyl.dyndns.org (Yanick Champoux) Date: Wed, 24 Sep 2008 22:53:27 -0400 Subject: [sf-perl] OSBootCamp pining for potential Perl presenter Message-ID: <48DAFD27.1080607@babyl.dyndns.org> Howdie all, I hope I'm not barging in too impolitely. I'm Yanick, from far-away Ottawa.pm. I thought you'd be interested to know that OSBootCamp, a mini-conference aimed at promoting Open Source to university students, is going to have an event at Berkeley at the end of October and they are looking for someone to do a Perl presentation. If they follow the same format as they did here, they are looking for a 35-minute high-level introduction to the language. In any case, if you are interested, or just merely curious, the conference's website is http://www.osbootcamp.org/. If you have questions, you can also try to bounce'em on me. I'm not affiliated to the event but I know the guy who is organizing the whole thing, so I can extract the answers from him. :-) Joy, `/anick From kenuhl at berkeley.edu Fri Sep 26 08:41:33 2008 From: kenuhl at berkeley.edu (ken uhl) Date: Fri, 26 Sep 2008 08:41:33 -0700 Subject: [sf-perl] SanFrancisco-pm Digest, Vol 44, Issue 6 In-Reply-To: References: Message-ID: <48DD02AD.6060107@berkeley.edu> Dan Thanks for this - I use Template Toolkit as my "outputter" ( yeah some one actually abstracted this ) but I may take pieces out of your modules and use them with attribtution to you . s Ken Uhl UC Berkeley and to every one else who offered useful replies, thanks also - turns out that class::DBI does the variable binding thing quite handily. sanfrancisco-pm-request at pm.org wrote: > Send SanFrancisco-pm mailing list submissions to > sanfrancisco-pm at pm.org > > To subscribe or unsubscribe via the World Wide Web, visit > http://mail.pm.org/mailman/listinfo/sanfrancisco-pm > or, via email, send a message with subject or body 'help' to > sanfrancisco-pm-request at pm.org > > You can reach the person managing the list at > sanfrancisco-pm-owner at pm.org > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of SanFrancisco-pm digest..." > > > Today's Topics: > > 1. Re: input validation module sought (Dan Lyke) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Tue, 23 Sep 2008 12:41:05 -0700 > From: Dan Lyke > Subject: Re: [sf-perl] input validation module sought > To: sanfrancisco-pm at pm.org > Message-ID: <20080923124105.28658e2a at danhplaptop> > Content-Type: text/plain; charset=US-ASCII > > On Mon, 22 Sep 2008 12:25:54 -0700 > ken uhl wrote: > >> Hi, I am looking for a module to do input validation to protect >> against SQL insertions >> > > As others have mentioned, bound variables are your friend, though > because I started doing this stuff back in the days when bound > variables didn't well work on all drivers, the $dbh->quote(...) method > also works nicely. > > >> HTML insertions >> javascript insertions >> > > These are a slightly more challenging problem. I've let my code to do > this diverge from the stuff I've published, but the roughly the system > which has run my web site for 8 years or so is at > http://www.flutterby.com/software/flutterbycms/flutterby_cms.tar.gz > > If nobody comes up with a supported CPAN module that does all the right > stuff you might take a look at it. It shows its age, I should really sit > down and rework it with what I've learned of Perl since, actually > document the thing, maybe even figure out how to make a CPAN module, > but the guts of it are in Flutterby/Parse/Text.pm and > Flutterby/Output/HTML.pm > > Create a new parser with: > > my $p = Flutterby::Parse::HTML->new(); > > Create a tree (which is just like the ones that come in off of the XML > parser) with: > > my $tree = $p->parse("some text mixed with html goes here"); > > Create an outputter: > > my $out = Flutterby::Output::HTML->new(); > > and there are various options for outputting to strings or whatever, and > then output it: > > $out->output($tree); > > You might also want to find a subset of the tree if you're outputting > this HTML inside other HTML: > > if ($node = Flutterby::Tree::Find::nodeChildInfo($tree,'body')) > { > @tree = @$node; > shift @tree; > $outputhtml->output(\@tree); > } > else > { > $outputhtml->output($tree); > } > > The Perl ain't great, there's a lot I'd like to rework it to do, but it > does a semi-decent job of taking text user input, guessing what they > meant, keeping them from doing anything malicious, and outputting > conforming and validating HTML. I think there's one hole that should > get plugged, if you get that far I'll happily discuss plugging it with > you. > > If Perl were my business or I had gobs of spare time I'd rework it so > that it worked on a pipe rather than a tree-in-memory model, and I know > that the actual running code has an expanded amount of HTML it'll let > the user do, but that's where I've gotten to and it still runs. > > I think I've put a GPL license on that, but it's all my code and I'll > happily work with you to provide a suitable written copyright notice > if you may need to integrate it into something that isn't GPL-able (I > know that sometimes it's difficult to get suits to sign off on random > code from the 'net). > > Dan > > > ------------------------------ > > _______________________________________________ > SanFrancisco-pm mailing list > SanFrancisco-pm at pm.org > http://mail.pm.org/mailman/listinfo/sanfrancisco-pm > > > End of SanFrancisco-pm Digest, Vol 44, Issue 6 > ********************************************** > > From josh at agliodbs.com Fri Sep 26 10:05:54 2008 From: josh at agliodbs.com (Josh Berkus) Date: Fri, 26 Sep 2008 10:05:54 -0700 Subject: [sf-perl] OT: Lightweight webmail? Message-ID: <48DD1672.20104@agliodbs.com> Folks, I'm looking for a webmail client for my own mailserver (i.e. not Gmail or anything) which is lightweight and low-bandwidth. Currently I have Horde, which huge and cluttered. Ideally, this client would be written in Perl, but I'm willing to be flexible at this point ... --Josh From fred at redhotpenguin.com Fri Sep 26 10:13:58 2008 From: fred at redhotpenguin.com (Fred Moyer) Date: Fri, 26 Sep 2008 10:13:58 -0700 Subject: [sf-perl] mod_perl users survey call for action Message-ID: <48DD1856.7080400@redhotpenguin.com> Greetings, Some of you who are on the mod_perl list may have seen the post for the mod_perl users survey. To date we have gotten 372 responses with only a minimal outreach effort, which in itself is a great showing. The window for the survey will be closing soon, probably in the next two weeks. If you use mod_perl and haven't taken the survey, please do so - here is the link: http://www.surveymonkey.com/s.aspx?sm=bQyb2RFCBuVb0P52yhaCMg_3d_3d If you are on other Perl Monger user group lists, please forward this email to those lists so that we can get additional responses from mod_perl users. mod_perl is an entirely volunteer effort by hackers who have day jobs, families, and bills to pay. After the survey is complete the results of the survey will be posted back to the mod_perl users list - you can subscribe at http://perl.apache.org/maillist/modperl.html. As such, you would be helping out the project a great deal by forwarding this email and helping us to get additional user feedback through the survey. Thanks! - Fred -- Red Hot Penguin Consulting LLC mod_perl/PostgreSQL consulting and implementation http://www.redhotpenguin.com/ From fred at redhotpenguin.com Fri Sep 26 10:17:28 2008 From: fred at redhotpenguin.com (Fred Moyer) Date: Fri, 26 Sep 2008 10:17:28 -0700 Subject: [sf-perl] OT: Lightweight webmail? In-Reply-To: <48DD1672.20104@agliodbs.com> References: <48DD1672.20104@agliodbs.com> Message-ID: <48DD1928.4050307@redhotpenguin.com> Josh Berkus wrote: > Folks, > > I'm looking for a webmail client for my own mailserver (i.e. not Gmail > or anything) which is lightweight and low-bandwidth. Currently I have > Horde, which huge and cluttered. > > Ideally, this client would be written in Perl, but I'm willing to be > flexible at this point ... If you haven't seen roundcube, it's worth a look: http://roundcube.net/ > > --Josh > _______________________________________________ > SanFrancisco-pm mailing list > SanFrancisco-pm at pm.org > http://mail.pm.org/mailman/listinfo/sanfrancisco-pm -- Red Hot Penguin Consulting LLC mod_perl/PostgreSQL consulting and implementation http://www.redhotpenguin.com/ From dan at peeron.com Fri Sep 26 10:25:37 2008 From: dan at peeron.com (Dan Boger) Date: Fri, 26 Sep 2008 10:25:37 -0700 Subject: [sf-perl] OT: Lightweight webmail? In-Reply-To: <48DD1672.20104@agliodbs.com> References: <48DD1672.20104@agliodbs.com> Message-ID: On Fri, Sep 26, 2008 at 10:05 AM, Josh Berkus wrote: > I'm looking for a webmail client for my own mailserver (i.e. not Gmail or > anything) which is lightweight and low-bandwidth. Currently I have Horde, > which huge and cluttered. > > Ideally, this client would be written in Perl, but I'm willing to be > flexible at this point ... > Not in perl, but I've used squirrelmail in the past, and was quite happy with it. -- Dan Boger -------------- next part -------------- An HTML attachment was scrubbed... URL: From josh at agliodbs.com Fri Sep 26 10:41:21 2008 From: josh at agliodbs.com (Josh Berkus) Date: Fri, 26 Sep 2008 10:41:21 -0700 Subject: [sf-perl] OT: Lightweight webmail? In-Reply-To: References: <48DD1672.20104@agliodbs.com> Message-ID: <48DD1EC1.1020906@agliodbs.com> Dan, > Not in perl, but I've used squirrelmail in the past, and was quite happy > with it. Squirrel mail requires local qmail delivery and not IMAP/SMTP, though, yes? --Josh From biztos at mac.com Fri Sep 26 11:11:31 2008 From: biztos at mac.com (Kevin Frost) Date: Fri, 26 Sep 2008 11:11:31 -0700 Subject: [sf-perl] OT: Lightweight webmail? In-Reply-To: <48DD1672.20104@agliodbs.com> References: <48DD1672.20104@agliodbs.com> Message-ID: <2F13DE03-08DE-49B3-8818-CAE3B60551D4@mac.com> IIRC openwebmail (ex neomail) is Perl. Pretty lightweight but pretty old, not sure about quality. Roundcube is pretty slick, I use it for one of my hosts. A bit quirky but once you get it going it's fun. Just remember to double click to open messages. Unfortunately I don't think either is developed actively. Squirrel beats Horde for my money but they're both UI nightmares. It seems writing webmail clients is a loveless calling. I guess the kids all want to write social networks these days. -- frosty (via iphone) On Sep 26, 2008, at 10:05 AM, Josh Berkus wrote: > Folks, > > I'm looking for a webmail client for my own mailserver (i.e. not > Gmail or anything) which is lightweight and low-bandwidth. > Currently I have Horde, which huge and cluttered. > > Ideally, this client would be written in Perl, but I'm willing to be > flexible at this point ... > > --Josh > _______________________________________________ > SanFrancisco-pm mailing list > SanFrancisco-pm at pm.org > http://mail.pm.org/mailman/listinfo/sanfrancisco-pm From andy at petdance.com Fri Sep 26 11:35:17 2008 From: andy at petdance.com (Andy Lester) Date: Fri, 26 Sep 2008 13:35:17 -0500 Subject: [sf-perl] OT: Lightweight webmail? In-Reply-To: <48DD1928.4050307@redhotpenguin.com> References: <48DD1672.20104@agliodbs.com> <48DD1928.4050307@redhotpenguin.com> Message-ID: On Sep 26, 2008, at 12:17 PM, Fred Moyer wrote: >> I'm looking for a webmail client for my own mailserver (i.e. not >> Gmail or anything) which is lightweight and low-bandwidth. >> Currently I have Horde, which huge and cluttered. >> Ideally, this client would be written in Perl, but I'm willing to >> be flexible at this point ... I use SquirrelMail which is butt-simple to install. xoxo, Andy -- Andy Lester => andy at petdance.com => www.petdance.com => AIM:petdance From yanick at babyl.dyndns.org Fri Sep 26 12:21:35 2008 From: yanick at babyl.dyndns.org (yanick at babyl.dyndns.org) Date: Fri, 26 Sep 2008 15:21:35 -0400 Subject: [sf-perl] OT: Lightweight webmail? In-Reply-To: References: <48DD1672.20104@agliodbs.com> Message-ID: <20080926192135.GA9281@gilgamesh.babyl.dyndns.org> On Fri, Sep 26, 2008 at 10:25:37AM -0700, Dan Boger wrote: > On Fri, Sep 26, 2008 at 10:05 AM, Josh Berkus wrote: > > > I'm looking for a webmail client for my own mailserver (i.e. not Gmail or > > anything) which is lightweight and low-bandwidth. Currently I have Horde, > > which huge and cluttered. > > > > Ideally, this client would be written in Perl, but I'm willing to be > > flexible at this point ... > > > > Not in perl, but I've used squirrelmail in the past, and was quite happy > with it. Ditto. It nothing uber-flashy, but it has all the usual mail features and is very reliable. And it has quite a few plugins available for additional goodies as well (oh, it's written in PHP, btw). Joy, `/anick From asheesh at asheesh.org Fri Sep 26 11:36:53 2008 From: asheesh at asheesh.org (Asheesh Laroia) Date: Fri, 26 Sep 2008 11:36:53 -0700 (PDT) Subject: [sf-perl] OT: Lightweight webmail? In-Reply-To: <48DD1EC1.1020906@agliodbs.com> References: <48DD1672.20104@agliodbs.com> <48DD1EC1.1020906@agliodbs.com> Message-ID: On Fri, 26 Sep 2008, Josh Berkus wrote: > Squirrel mail requires local qmail delivery and not IMAP/SMTP, though, > yes? "It includes built-in pure PHP support for the IMAP and SMTP protocols" - http://www.squirrelmail.org/about/ . Yay standards! -- Asheesh. -- To downgrade the human mind is bad theology. -- C. K. Chesterton From biztos at mac.com Fri Sep 26 13:56:57 2008 From: biztos at mac.com (frosty) Date: Fri, 26 Sep 2008 13:56:57 -0700 Subject: [sf-perl] OT: Lightweight webmail? In-Reply-To: <000301c8cceb$163d5c00$28201cac@be.bvd> References: <000301c8cceb$163d5c00$28201cac@be.bvd> Message-ID: <33298140607793766494746629697662536443-Webmail2@me.com> Turns out OWM still is actively developed. The site has screenshots, there's a demo (second demo worked for me, first did not; user demo, pw demodemo) - http://openwebmail.amcpl.net/ Main site: http://openwebmail.org/ The UI is really primitive, but that's what some folks prefer. Looks like Roundcube has also seen some activity lately: http://roundcube.net/ -- f. On Friday, September 26, 2008, at 11:36AM, "Asheesh Laroia" wrote: >On Fri, 26 Sep 2008, Josh Berkus wrote: > >> Squirrel mail requires local qmail delivery and not IMAP/SMTP, though, >> yes? > >"It includes built-in pure PHP support for the IMAP and SMTP protocols" - >http://www.squirrelmail.org/about/ . Yay standards! > >-- Asheesh. > >-- >To downgrade the human mind is bad theology. > -- C. K. Chesterton >_______________________________________________ >SanFrancisco-pm mailing list >SanFrancisco-pm at pm.org >http://mail.pm.org/mailman/listinfo/sanfrancisco-pm > > From pm.org at daveola.com Sat Sep 27 16:33:59 2008 From: pm.org at daveola.com (David Ljung Madison) Date: Sat, 27 Sep 2008 16:33:59 -0700 Subject: [sf-perl] Packaging perl MSWin applications (using wxPerl) Message-ID: I have a wxPerl application that is the front-end to a perl script. I want to package the whole thing up with an installer that installs: - my wxPerl front end - my script - perl (probably cygWin?) - wxWindows - wxPerl - ..and anything else I might need. The project is freeware (i.e., it has no $price to fully use), so I can't afford any *per-user* license fees, but I can spend a little bit of money on making a good package. The questions that are racing through my mind are: 1) What's a good wrapper/installer for this kind of project? It'd be nice if it could be done by a single executable. 2) What's the best way to package wxPerl on MSWin? 3) Which versions of MSWin do I need to support to cover most of the MSWin community? Vista? XP? 2k? I have no idea... 4) Which perl to use? I attempted porting to cygwin and activestate before, but activestate had some problems with opening pipes. Although if that's resolved, I guess it would probably be easier to package the activestate perl rather than the monstrous entirety that is cygwin. Dave --------------------------------------------------------------------------- Dave Ljung Madison http://GetDave.com/ 415 341-5555 ------------ "Preferred over shiny round objects 2-to-1" ------------------ From jackofnotrades at gmail.com Sat Sep 27 18:08:39 2008 From: jackofnotrades at gmail.com (Jeff Bragg) Date: Sat, 27 Sep 2008 18:08:39 -0700 Subject: [sf-perl] Packaging perl MSWin applications (using wxPerl) In-Reply-To: References: Message-ID: <2f8a56f70809271808s7e5f99fes3739ad066d65e49e@mail.gmail.com> Have you looked at PP? It can create archives as stand-alone executables (dependencies included, even the Perl interpreter itself, with or without standard libraries). I haven't used it in a few years, so you may want to seek other opinions or caveats about it, but it seems very close to what you are looking for. On Sat, Sep 27, 2008 at 4:33 PM, David Ljung Madison wrote: > I have a wxPerl application that is the front-end to a perl script. > > I want to package the whole thing up with an installer that installs: > > - my wxPerl front end > - my script > - perl (probably cygWin?) > - wxWindows > - wxPerl > - ..and anything else I might need. > > The project is freeware (i.e., it has no $price to fully use), > so I can't afford any *per-user* license fees, but I can spend > a little bit of money on making a good package. > > The questions that are racing through my mind are: > > 1) What's a good wrapper/installer for this kind of project? > It'd be nice if it could be done by a single executable. > > 2) What's the best way to package wxPerl on MSWin? > > 3) Which versions of MSWin do I need to support to cover most > of the MSWin community? Vista? XP? 2k? I have no idea... > > 4) Which perl to use? I attempted porting to cygwin and > activestate before, but activestate had some problems > with opening pipes. Although if that's resolved, I > guess it would probably be easier to package the activestate > perl rather than the monstrous entirety that is cygwin. > > > Dave > > --------------------------------------------------------------------------- > Dave Ljung Madison http://GetDave.com/ 415 > 341-5555 > ------------ "Preferred over shiny round objects 2-to-1" ------------------ > _______________________________________________ > SanFrancisco-pm mailing list > SanFrancisco-pm at pm.org > http://mail.pm.org/mailman/listinfo/sanfrancisco-pm > -------------- next part -------------- An HTML attachment was scrubbed... URL: From muir at idiom.org Sat Sep 27 19:29:07 2008 From: muir at idiom.org (David Muir Sharnoff) Date: Sat, 27 Sep 2008 19:29:07 -0700 (PDT) Subject: [sf-perl] LinkedIn group Message-ID: <20080928022907.AA0C0C04A97FA@sh.day.org> I was browsing perl-related groups on LinkedIn and noticed that while many Perl Mongers groups have a LinkedIn group, sf-perl did not. I created one. http://www.linkedin.com/groups?gid=932197 I hope nobody minds. -Dave From quinn at fairpath.com Sun Sep 28 14:40:53 2008 From: quinn at fairpath.com (Quinn Weaver) Date: Sun, 28 Sep 2008 14:40:53 -0700 Subject: [sf-perl] Fwd: Auto-discard notification References: Message-ID: <8618D521-2BF7-45DC-B77A-F936B0054129@fairpath.com> Forwarding a message. Reminder: please make sure the address you're posting from is subscribed to the list. Otherwise, it gets kicked into moderation (this is to prevent spam from getting through--you'd see several spams per week if we didn't have this safeguard). Thanks, Q Begin forwarded message: > From: "David Davis" > Date: September 27, 2008 4:58:54 PM PDT > To: "San Francisco Perl Mongers User Group" > Subject: Re: [sf-perl] Packaging perl MSWin applications (using > wxPerl) > > > > I'm planning on doing something similar, but the front end will be > AIR based. Well, anyway... > > You can use Wx::Perl::Packager to package it up and use NSIS to > install it. > http://nsis.sourceforge.net/ > > HTH > > David Davis > ? Software Engineer > http://cometdesktop.com/ __ Quinn Weaver Full-stack web consultant http://fairpath.com/ 510-520-5217 (mobile) -------------- next part -------------- An HTML attachment was scrubbed... URL: