From Peter.Loo at source.wolterskluwer.com Tue Oct 3 10:56:08 2006 From: Peter.Loo at source.wolterskluwer.com (Loo, Peter # PHX) Date: Tue, 3 Oct 2006 10:56:08 -0700 Subject: [sf-perl] Opening a pipe to sqlplus In-Reply-To: <8E3D502A002DA04FADBDED4CB4D94D3A0195EEDA@phxmail02.phx.ndchealth.com> Message-ID: <8E3D502A002DA04FADBDED4CB4D94D3A0211E06F@phxmail02.phx.ndchealth.com> Hi Dan, I have finally freed up to look into Expect.pm. So far, I am impressed and find it to be a useful package. However, there isn't much documentation out there. I used the code that you had sent below exactly with one additional line: $sqlplus->send("quit\n"); Instead of quiting out, I am just stuck at the SQL> prompt. SQL*Plus: Release 9.2.0.4.0 - Production on Tue Oct 3 10:55:24 2006 Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved. Enter password: Connected to: Oracle Database 10g Enterprise Edition Release 10.2.0.2.0 - 64bit Production With the Partitioning, OLAP and Data Mining options Am I doing something wrong? Peter -----Original Message----- From: sanfrancisco-pm-bounces+peter.loo=source.wolterskluwer.com at pm.org [mailto:sanfrancisco-pm-bounces+peter.loo=source.wolterskluwer.com at pm.or g] On Behalf Of Loo, Peter # PHX Sent: Monday, July 10, 2006 3:19 PM To: San Francisco Perl Mongers User Group Subject: Re: [sf-perl] Opening a pipe to sqlplus Thanks Dan, I am looking into Expect as we don't have it installed here. Peter -----Original Message----- From: sanfrancisco-pm-bounces+peter.loo=source.wolterskluwer.com at pm.org [mailto:sanfrancisco-pm-bounces+peter.loo=source.wolterskluwer.com at pm.or g] On Behalf Of Dan Sully Sent: Monday, July 10, 2006 9:55 AM To: San Francisco Perl Mongers User Group Subject: Re: [sf-perl] Opening a pipe to sqlplus * Loo, Peter # PHX shaped the electrons to say... >I was just wondering if anyone knows how to code an "open" statement to >"sqlplus" while concealing the userid and password. The problem that I >am having is when the pipe is opened, one can view the userid and >password using the Unix command "ps -ef". Something like this: my $sqlplus = Expect->spawn('sqlplus', join('@', $username, $sid)); $sqlplus->expect(30, ['Enter password: ', sub { my $self = shift; $self->log_stdout(0); $self->send("$password\r"); $self->expect(0, '-re', "\r\n"); $self->log_stdout(1); }]); $sqlplus->interact; -D -- dd if=/dev/sarcasm of=/dev/clue _______________________________________________ SanFrancisco-pm mailing list SanFrancisco-pm at pm.org http://mail.pm.org/mailman/listinfo/sanfrancisco-pm This E-mail message is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply E-mail, and destroy all copies of the original message. _______________________________________________ SanFrancisco-pm mailing list SanFrancisco-pm at pm.org http://mail.pm.org/mailman/listinfo/sanfrancisco-pm This E-mail message is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply E-mail, and destroy all copies of the original message. From Peter.Loo at source.wolterskluwer.com Thu Oct 5 09:32:45 2006 From: Peter.Loo at source.wolterskluwer.com (Loo, Peter # PHX) Date: Thu, 5 Oct 2006 09:32:45 -0700 Subject: [sf-perl] Perl one liner to remove all control characters from an input file Message-ID: <8E3D502A002DA04FADBDED4CB4D94D3A02166FDF@phxmail02.phx.ndchealth.com> Hi All, Will someone kindly send me a Perl one liner that will remove all CONTROL CHARACTERS from an input file and output to another file? Thanks. Peter -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.pm.org/pipermail/sanfrancisco-pm/attachments/20061005/16546159/attachment.html From extasia at extasia.org Thu Oct 5 09:39:18 2006 From: extasia at extasia.org (David Alban) Date: Thu, 5 Oct 2006 09:39:18 -0700 Subject: [sf-perl] Perl one liner to remove all control characters from an input file In-Reply-To: <8E3D502A002DA04FADBDED4CB4D94D3A02166FDF@phxmail02.phx.ndchealth.com> References: <8E3D502A002DA04FADBDED4CB4D94D3A02166FDF@phxmail02.phx.ndchealth.com> Message-ID: <4c714a9c0610050939x4775ae61rba7d5585d9bdaf00@mail.gmail.com> s{ all \s+ CONTROL \s+ CHARACTERS }{}xmsg; On 10/5/06, Loo, Peter # PHX wrote: > Will someone kindly send me a Perl one liner that will remove all CONTROL > CHARACTERS from an input file and output to another file? -- Live in a world of your own, but always welcome visitors. From duane.obrien at gmail.com Thu Oct 5 09:41:31 2006 From: duane.obrien at gmail.com (Duane Obrien) Date: Thu, 5 Oct 2006 09:41:31 -0700 Subject: [sf-perl] Perl one liner to remove all control characters from an input file In-Reply-To: <4c714a9c0610050939x4775ae61rba7d5585d9bdaf00@mail.gmail.com> References: <8E3D502A002DA04FADBDED4CB4D94D3A02166FDF@phxmail02.phx.ndchealth.com> <4c714a9c0610050939x4775ae61rba7d5585d9bdaf00@mail.gmail.com> Message-ID: Dear David Alban, You hereby owe me one (1) replacement flat panel monitor. plskthanksbye, -D On 10/5/06, David Alban wrote: > s{ all \s+ CONTROL \s+ CHARACTERS }{}xmsg; > > On 10/5/06, Loo, Peter # PHX wrote: > > Will someone kindly send me a Perl one liner that will remove all CONTROL > > CHARACTERS from an input file and output to another file? > > -- > Live in a world of your own, but always welcome visitors. > _______________________________________________ > SanFrancisco-pm mailing list > SanFrancisco-pm at pm.org > http://mail.pm.org/mailman/listinfo/sanfrancisco-pm > -- +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Don't ever tell anybody anything. If you do, you start missing everybody. From miyagawa at gmail.com Thu Oct 5 09:44:31 2006 From: miyagawa at gmail.com (Tatsuhiko Miyagawa) Date: Fri, 6 Oct 2006 01:44:31 +0900 Subject: [sf-perl] Perl one liner to remove all control characters from an input file In-Reply-To: <8E3D502A002DA04FADBDED4CB4D94D3A02166FDF@phxmail02.phx.ndchealth.com> References: <8E3D502A002DA04FADBDED4CB4D94D3A02166FDF@phxmail02.phx.ndchealth.com> Message-ID: <693254b90610050944o5f8f097h957a182893bdbafe@mail.gmail.com> perl -nlpe 's/[\x00-\x08\x0b-\x0c\x0e-\x1f\x7f]//g' On 10/6/06, Loo, Peter # PHX wrote: > > Hi All, > > Will someone kindly send me a Perl one liner that will remove all CONTROL > CHARACTERS from an input file and output to another file? -- Tatsuhiko Miyagawa From chris at noncombatant.org Thu Oct 5 10:32:29 2006 From: chris at noncombatant.org (Chris Palmer) Date: Thu, 5 Oct 2006 10:32:29 -0700 Subject: [sf-perl] Perl one liner to remove all control characters from an input file In-Reply-To: <8E3D502A002DA04FADBDED4CB4D94D3A02166FDF@phxmail02.phx.ndchealth.com> References: <8E3D502A002DA04FADBDED4CB4D94D3A02166FDF@phxmail02.phx.ndchealth.com> Message-ID: <20061005173229.GW13367@nodewarrior.org> Loo, Peter # PHX writes: > Will someone kindly send me a Perl one liner that will remove all > CONTROL CHARACTERS from an input file and output to another file? I'll say it: RTFM. In this case, you could have found the answer by reading the perlre man page and searching for the string "control". In my case, the best answer is found at the second match (the "cntrl" named class). From matt at cloudfactory.org Thu Oct 5 13:17:37 2006 From: matt at cloudfactory.org (Matthew Lanier) Date: Thu, 5 Oct 2006 13:17:37 -0700 (PDT) Subject: [sf-perl] Perl one liner to remove all control characters from an input file In-Reply-To: <20061005173229.GW13367@nodewarrior.org> References: <8E3D502A002DA04FADBDED4CB4D94D3A02166FDF@phxmail02.phx.ndchealth.com> <20061005173229.GW13367@nodewarrior.org> Message-ID: On Thu, 5 Oct 2006, Chris Palmer wrote: > Loo, Peter # PHX writes: > >> Will someone kindly send me a Perl one liner that will remove all >> CONTROL CHARACTERS from an input file and output to another file? a slightly better way to phrase your question might be: what man pages should i read to find out how to remove all CONTROL CHARACTERS from an input file? > I'll say it: RTFM. In this case, you could have found the answer by > reading the perlre man page and searching for the string "control". In > my case, the best answer is found at the second match (the "cntrl" named > class). provided 'F' stands for 'Fine', then i agree. anything less friendly than Fine is absolutely verboten around here. matt (list grand-mom). m@ From Peter.Loo at source.wolterskluwer.com Thu Oct 5 13:45:01 2006 From: Peter.Loo at source.wolterskluwer.com (Loo, Peter # PHX) Date: Thu, 5 Oct 2006 13:45:01 -0700 Subject: [sf-perl] Perl one liner to remove all control characters from an input file In-Reply-To: Message-ID: <8E3D502A002DA04FADBDED4CB4D94D3A02167294@phxmail02.phx.ndchealth.com> Yes Matt, I agree that I should have phrased my request differently, but my thanks go to David Alban and Tatsuhiko Miyagawa for their prompt, kind, and respectful responses. Peter -----Original Message----- From: sanfrancisco-pm-bounces+peter.loo=source.wolterskluwer.com at pm.org [mailto:sanfrancisco-pm-bounces+peter.loo=source.wolterskluwer.com at pm.or g] On Behalf Of Matthew Lanier Sent: Thursday, October 05, 2006 1:18 PM To: San Francisco Perl Mongers User Group Subject: Re: [sf-perl] Perl one liner to remove all control characters from an input file On Thu, 5 Oct 2006, Chris Palmer wrote: > Loo, Peter # PHX writes: > >> Will someone kindly send me a Perl one liner that will remove all >> CONTROL CHARACTERS from an input file and output to another file? a slightly better way to phrase your question might be: what man pages should i read to find out how to remove all CONTROL CHARACTERS from an input file? > I'll say it: RTFM. In this case, you could have found the answer by > reading the perlre man page and searching for the string "control". > In my case, the best answer is found at the second match (the "cntrl" > named class). provided 'F' stands for 'Fine', then i agree. anything less friendly than Fine is absolutely verboten around here. matt (list grand-mom). m@ _______________________________________________ SanFrancisco-pm mailing list SanFrancisco-pm at pm.org http://mail.pm.org/mailman/listinfo/sanfrancisco-pm This E-mail message is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply E-mail, and destroy all copies of the original message. From david at fetter.org Fri Oct 6 12:08:23 2006 From: david at fetter.org (David Fetter) Date: Fri, 6 Oct 2006 12:08:23 -0700 Subject: [sf-perl] SFPUG Meeting: PostgreSQL and .NET Message-ID: <20061006190823.GA32482@fetter.org> Folks, Jon Asher will be talking about how to use PostgreSQL and .NET together. As Larry Wall said about Perl years ago, PostgreSQL competes by cooperating. :) Where: Microsoft Headquarters, San Francisco The Landmark at One Market, Suite 200 San Francisco, CA 94105 http://postgresql.meetup.com/1/venue/?venueId=180195 When: Thursday, Oct 19, 2006 7:00 PM RSVP: ASAP to david at fetter.org so you can get fed. Thanks very much to the folks at Microsoft for hosting this meeting. -- David Fetter http://fetter.org/ phone: +1 415 235 3778 AIM: dfetter666 Skype: davidfetter Remember to vote! From paulm at paulm.com Sun Oct 8 20:39:18 2006 From: paulm at paulm.com (Paul Makepeace) Date: Sun, 8 Oct 2006 20:39:18 -0700 Subject: [sf-perl] monterey.pm Message-ID: Many, many moons ago I used to "leader" of Monterey.pm. Since then I've lived in two countries neither anywhere near the Central Coast. I'm in the process of cleaning up my hosting set-up and would like it if someone could take over the reins. Given that I almost never get contacted I suspect this will be very much of the order of hosting a simple web page (grab mine by all means) and a mailbox, all lest a perl programmer stray that way. Feel free to forward this to potentially interested parties. Otherwise I'll do this less fun thing of switching it off in a few days time. P From qw at sf.pm.org Mon Oct 9 00:03:43 2006 From: qw at sf.pm.org (Quinn Weaver) Date: Mon, 9 Oct 2006 00:03:43 -0700 Subject: [sf-perl] monterey.pm In-Reply-To: References: Message-ID: <20061009070343.GA5199@fu.funkspiel.org> On Sun, Oct 08, 2006 at 08:39:18PM -0700, Paul Makepeace wrote: > Many, many moons ago I used to "leader" of Monterey.pm. Since then > I've lived in two countries neither anywhere near the Central Coast. I'm you're interested in bearing the torch, please CC paulm at paulm.com in your response, as he's not subsscribed to this list. -- qw (Quinn Weaver); #President, San Francisco Perl Mongers =for information, visit http://sf.pm.org/weblog =cut From extasia at extasia.org Mon Oct 9 16:12:19 2006 From: extasia at extasia.org (David Alban) Date: Mon, 9 Oct 2006 16:12:19 -0700 Subject: [sf-perl] TMTOWTDI Message-ID: <4c714a9c0610091612wd15faf5hc7e4b22c2a7f7101@mail.gmail.com> But I've never (until now) seen anyone do: $somevar *= 0; Everyone's gotta have their own style, I guess. -- Live in a world of your own, but always welcome visitors. From david at fetter.org Mon Oct 9 16:22:23 2006 From: david at fetter.org (David Fetter) Date: Mon, 9 Oct 2006 16:22:23 -0700 Subject: [sf-perl] TMTOWTDI In-Reply-To: <4c714a9c0610091612wd15faf5hc7e4b22c2a7f7101@mail.gmail.com> References: <4c714a9c0610091612wd15faf5hc7e4b22c2a7f7101@mail.gmail.com> Message-ID: <20061009232223.GH32131@fetter.org> On Mon, Oct 09, 2006 at 04:12:19PM -0700, David Alban wrote: > But I've never (until now) seen anyone do: > > $somevar *= 0; > > Everyone's gotta have their own style, I guess. That's just beyond weird. I half expected to get something strange happening when it was undef, various kinds of references, etc., but they didn't. Cheers, D (wondering why not every data type has a NULL) -- David Fetter http://fetter.org/ phone: +1 415 235 3778 AIM: dfetter666 Skype: davidfetter Remember to vote! From doom at kzsu.stanford.edu Mon Oct 9 20:52:53 2006 From: doom at kzsu.stanford.edu (Joseph Brenner) Date: Mon, 09 Oct 2006 20:52:53 -0700 Subject: [sf-perl] TMTOWTDI In-Reply-To: <4c714a9c0610091612wd15faf5hc7e4b22c2a7f7101@mail.gmail.com> References: <4c714a9c0610091612wd15faf5hc7e4b22c2a7f7101@mail.gmail.com> Message-ID: <200610100352.k9A3qssS036077@mail0.rawbw.com> David Alban wrote: > But I've never (until now) seen anyone do: > > $somevar *= 0; > > Everyone's gotta have their own style, I guess. That *has* to be a typo, right? From doom at kzsu.stanford.edu Mon Oct 9 20:54:24 2006 From: doom at kzsu.stanford.edu (Joseph Brenner) Date: Mon, 09 Oct 2006 20:54:24 -0700 Subject: [sf-perl] TMTOWTDI In-Reply-To: <20061009232223.GH32131@fetter.org> References: <4c714a9c0610091612wd15faf5hc7e4b22c2a7f7101@mail.gmail.com> <20061009232223.GH32131@fetter.org> Message-ID: <200610100354.k9A3sPXP036938@mail0.rawbw.com> David Fetter wrote: > D (wondering why not every data type has a NULL) Some people wonder why any data types have NULLs... Are you suggesting there should be a different undef for strings and numbers? From david at fetter.org Mon Oct 9 21:28:34 2006 From: david at fetter.org (David Fetter) Date: Mon, 9 Oct 2006 21:28:34 -0700 Subject: [sf-perl] TMTOWTDI In-Reply-To: <200610100354.k9A3sPXP036938@mail0.rawbw.com> References: <4c714a9c0610091612wd15faf5hc7e4b22c2a7f7101@mail.gmail.com> <20061009232223.GH32131@fetter.org> <200610100354.k9A3sPXP036938@mail0.rawbw.com> Message-ID: <20061010042834.GA24893@fetter.org> On Mon, Oct 09, 2006 at 08:54:24PM -0700, Joseph Brenner wrote: > > David Fetter wrote: > > > D (wondering why not every data type has a NULL) > > Some people wonder why any data types have NULLs... Yeah, but those people (C.J. Date, Hugh Darwen, Fabian Pascal, etc.) have been whining for years and not actually building software ;) > Are you suggesting there should be a different undef for strings and > numbers? Nope. Just that there should be a NULL for each which is a state of contagious ignorance, just as SQL's NULLs are, so for example, NULL * 1 = NULL. Cheers, D -- David Fetter http://fetter.org/ phone: +1 415 235 3778 AIM: dfetter666 Skype: davidfetter Remember to vote! From qw at sf.pm.org Tue Oct 10 00:05:17 2006 From: qw at sf.pm.org (Quinn Weaver) Date: Tue, 10 Oct 2006 00:05:17 -0700 Subject: [sf-perl] TMTOWTDI In-Reply-To: <4c714a9c0610091612wd15faf5hc7e4b22c2a7f7101@mail.gmail.com> References: <4c714a9c0610091612wd15faf5hc7e4b22c2a7f7101@mail.gmail.com> Message-ID: <20061010070517.GA14134@fu.funkspiel.org> On Mon, Oct 09, 2006 at 04:12:19PM -0700, David Alban wrote: > But I've never (until now) seen anyone do: > > $somevar *= 0; > > Everyone's gotta have their own style, I guess. Whoever wrote this seriously needs to find another means of self-expression. ;) Painting, maybe, or interpretive dance. Funny thing is, you could equally well do this in many other languages... From pmui at groundworkopensource.com Mon Oct 9 11:45:35 2006 From: pmui at groundworkopensource.com (Peter Mui) Date: Mon, 9 Oct 2006 11:45:35 -0700 Subject: [sf-perl] Inaugural Monitoring SIG Tomorrow (Tuesday 10/10) Message-ID: <94C730B3-8FA0-4BB2-AFB8-83A5868BE6A6@groundworkopensource.com> (Hi, is the following an appropriate posting to this list? We don't want to be perceived as spamming. Thanks! -Peter) We'll be hosting an Inaugural Monitoring SIG meeting tomorrow (Tuesday, October 10) at 7PM at our offices. We'll have a short overview presentation on Open Source monitoring tools and and then we'll open it up for a discussion of issues people want to cover in the SIG. All interested parties are invited (nay, heartily encouraged!) to attend: can you let SoCoSa members know about this? We'll be covering tools such as Nagios, Ganglia, Cacti, NeDi, Network Weathermap, Rrdtool, MRTG, SNMP TT, Syslog-ng, etc. and covering issues like monitoring specific applications like Exchange servers, Oracle, etc., etc. Part of the goal of this inaugural meeting is to get feedback from attendees as to topics they want to cover further in future meetings. Here's the text-based announcement: feel free to forward it as you see fit: ----------------------------------------------------- What: Inaugural Monitoring SIG Meeting Who: Anyone interested in IT monitoring issues and tools When: Tuesday, October 10 2006, 7PM Where: GroundWork Open Source, 139 Townsend St., San Francisco How: 139 Townsend St. is very near AT&T Park, two blocks from the CalTrain Depot. Take the MUNI N trolley "inbound" to 2nd and King (ballpark stop) or take the 15 or 30 buses crosstown. Free evening street parking can usually be found. We'll have a brief presentation and then brainstorm about ways to build the finest sys admin/IT tools for monitoring and how this SIG can facilitate that. Food (probably pizza) and drinks (definitely pop) will be provided by GroundWork. RSVP (not necessary, but helpful): Peter Mui, pmui at groundworkopensource.com, 415 992 4573 ----------------------------------------------------- Let me know if you have any questions. Cheers, -Peter Peter Mui, Open Source Community Advocate GROUNDWORK Open Source, Inc. 139 Townsend Street, Suite 100 San Francisco, CA 94107-1946 +1 415 992 4573 (direct) +1 415 947 0684 (fax) pmui at groundworkopensource.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.pm.org/pipermail/sanfrancisco-pm/attachments/20061009/1508c167/attachment.html From qw at sf.pm.org Tue Oct 10 00:25:48 2006 From: qw at sf.pm.org (Quinn Weaver) Date: Tue, 10 Oct 2006 00:25:48 -0700 Subject: [sf-perl] Inaugural Monitoring SIG Tomorrow (Tuesday 10/10) In-Reply-To: <94C730B3-8FA0-4BB2-AFB8-83A5868BE6A6@groundworkopensource.com> References: <94C730B3-8FA0-4BB2-AFB8-83A5868BE6A6@groundworkopensource.com> Message-ID: <20061010072548.GB14253@fu.funkspiel.org> On Mon, Oct 09, 2006 at 11:45:35AM -0700, Peter Mui wrote: > (Hi, is the following an appropriate posting to this list? We don't want to be > perceived as spamming. Thanks! -Peter) Obviously I think it's appropriate, since I flipped the Mailman switch to let it through (it would have failed otherwise, as it was from a non-member). Monitoring seems like a Perlish problem space to me. Note this announcement is going out late; the SIG is today. > > > We'll be hosting an Inaugural Monitoring SIG meeting tomorrow (Tuesday, October > 10) at 7PM at our offices. We'll have a short overview presentation on Open > Source monitoring tools and and then we'll open it up for a discussion of > issues people want to cover in the SIG. All interested parties are invited > (nay, heartily encouraged!) to attend: can you let SoCoSa members know about > this? > > We'll be covering tools such as Nagios, Ganglia, Cacti, NeDi, Network > Weathermap, Rrdtool, MRTG, SNMP TT, Syslog-ng, etc. and covering issues like > monitoring specific applications like Exchange servers, Oracle, etc., etc. Part > of the goal of this inaugural meeting is to get feedback from attendees as to > topics they want to cover further in future meetings. > > > Here's the text-based announcement: feel free to forward it as you see fit: > ----------------------------------------------------- > > What: Inaugural Monitoring SIG Meeting > Who: Anyone interested in IT monitoring issues and tools > When: Tuesday, October 10 2006, 7PM > Where: GroundWork Open Source, 139 Townsend St., San Francisco > How: 139 Townsend St. is very near AT&T Park, two blocks from the CalTrain > Depot. Take the MUNI N trolley "inbound" to 2nd and King (ballpark stop) or > take the 15 or 30 buses crosstown. Free evening street parking can usually be > found. > > We'll have a brief presentation and then brainstorm about ways to build the > finest sys admin/IT tools for monitoring and how this SIG can facilitate that. > Food (probably pizza) and drinks (definitely pop) will be provided by > GroundWork. > > RSVP (not necessary, but helpful): Peter Mui, pmui at groundworkopensource.com, > 415 992 4573 > > ----------------------------------------------------- > > Let me know if you have any questions. Cheers, -Peter > > > Peter Mui, Open Source Community Advocate > GROUNDWORK Open Source, Inc. > 139 Townsend Street, Suite 100 > San Francisco, CA 94107-1946 > +1 415 992 4573 (direct) > +1 415 947 0684 (fax) > pmui at groundworkopensource.com > _______________________________________________ > SanFrancisco-pm mailing list > SanFrancisco-pm at pm.org > http://mail.pm.org/mailman/listinfo/sanfrancisco-pm From extasia at extasia.org Wed Oct 11 11:27:05 2006 From: extasia at extasia.org (David Alban) Date: Wed, 11 Oct 2006 11:27:05 -0700 Subject: [sf-perl] [OT] perforce: one server, multiple ports? Message-ID: <4c714a9c0610111127x6f30b4aan86ed2da468020ed7@mail.gmail.com> Greetings, While not strictly a perl question, I figured there would be a number of people on the list at least semi-familiar with using/administering perforce. My manager seems to think that at her last gig, they ran, on a fedora box, a single perforce server that listened on multple ports, one port per depot. I can't (yet) find any documentation supporting this. Multiple servers each listening to a distinct port, yes, but a single server listening to multiple ports, no. Has anyone experienced a situation in which this (one server listening on multiple ports) was done? Thanks, David -- Live in a world of your own, but always welcome visitors. From qw at sf.pm.org Thu Oct 12 14:50:34 2006 From: qw at sf.pm.org (Quinn Weaver) Date: Thu, 12 Oct 2006 14:50:34 -0700 Subject: [sf-perl] Reminder: October 24: Amazon web services talk Message-ID: <20061012215034.GA45127@fu.funkspiel.org> In October, we're hosting Jinesh Varia of Amazon. Jinesh will present Amazon's (REST and SOAP) web services API. RSVP: Jeff.Thalhammer at barclaysglobal.com Date: October 24 Time: 8:00 p.m. Place: BGI, 45 Fremont St., San Francisco Food: Yep! RSVP to be included. PS: I anticipate people will want to raise concerns about Amazon's one-click patent. Probably Jinesh can do nothing about it, but it doesn't hurt to raise concerns. I'll reserve a portion of the Q&A time for the topic. Please be civil. -- qw (Quinn Weaver); #President, San Francisco Perl Mongers =for information, visit http://sf.pm.org/weblog =cut From qw at sf.pm.org Thu Oct 12 19:14:02 2006 From: qw at sf.pm.org (Quinn Weaver) Date: Thu, 12 Oct 2006 19:14:02 -0700 Subject: [sf-perl] Reminder: October 24: Amazon web services talk In-Reply-To: <20061012215034.GA45127@fu.funkspiel.org> References: <20061012215034.GA45127@fu.funkspiel.org> Message-ID: <20061013021402.GB45969@fu.funkspiel.org> On Thu, Oct 12, 2006 at 02:50:34PM -0700, Quinn Weaver wrote: > In October, we're hosting Jinesh Varia of Amazon. Jinesh will present > Amazon's (REST and SOAP) web services API. > > RSVP: Jeff.Thalhammer at barclaysglobal.com > Date: October 24 > Time: 8:00 p.m. > Place: BGI, 45 Fremont St., San Francisco > Food: Yep! RSVP to be included. Good news: Amazon is going to foot the bill for food. I will bring take-out from Little Star Pizza on Valencia. RSVP to Jeff so we know how much to order. In pizza veritas, -- qw (Quinn Weaver); #President, San Francisco Perl Mongers =for information, visit http://sf.pm.org/weblog =cut From doom at kzsu.stanford.edu Fri Oct 13 22:01:07 2006 From: doom at kzsu.stanford.edu (Joseph Brenner) Date: Fri, 13 Oct 2006 22:01:07 -0700 Subject: [sf-perl] Reminder: October 24: Amazon web services talk In-Reply-To: <20061012215034.GA45127@fu.funkspiel.org> References: <20061012215034.GA45127@fu.funkspiel.org> Message-ID: <200610140501.k9E517Ev011770@mail0.rawbw.com> Quinn Weaver wrote: > PS: I anticipate people will want to raise concerns about Amazon's > one-click patent. Probably Jinesh can do nothing about it, but it > doesn't hurt to raise concerns. I'll reserve a portion of the Q&A > time for the topic. Please be civil. I'll handle that if you like... I was just thinking that I should raise a ritual objection on the subject. I'm also inclined to mention to friends that Amazon donates money to the Republican Party (currently 60/40): http://www.buyblue.org/node/66/view/summary Would that be too off-topic? From matt at cloudfactory.org Sat Oct 14 10:19:06 2006 From: matt at cloudfactory.org (Matthew Lanier) Date: Sat, 14 Oct 2006 10:19:06 -0700 (PDT) Subject: [sf-perl] Reminder: October 24: Amazon web services talk In-Reply-To: <200610140501.k9E517Ev011770@mail0.rawbw.com> References: <20061012215034.GA45127@fu.funkspiel.org> <200610140501.k9E517Ev011770@mail0.rawbw.com> Message-ID: On Fri, 13 Oct 2006, Joseph Brenner wrote: > I'm also inclined to mention to friends that Amazon donates money to the > Republican Party (currently 60/40): > > http://www.buyblue.org/node/66/view/summary > > Would that be too off-topic? sorry joe, i think that would be too off topic for the sfpug. as much as i agree with you, i don't want us to slip into political discussions. if i allowed that happen, i would have to allow the converse to happen also. thanks- list grand-ma (m@) From qw at sf.pm.org Sat Oct 14 13:22:40 2006 From: qw at sf.pm.org (Quinn Weaver) Date: Sat, 14 Oct 2006 13:22:40 -0700 Subject: [sf-perl] Reminder: October 24: Amazon web services talk In-Reply-To: <200610140501.k9E517Ev011770@mail0.rawbw.com> References: <20061012215034.GA45127@fu.funkspiel.org> <200610140501.k9E517Ev011770@mail0.rawbw.com> Message-ID: <20061014202240.GB62923@fu.funkspiel.org> On Fri, Oct 13, 2006 at 10:01:07PM -0700, Joseph Brenner wrote: > > Quinn Weaver wrote: > > > PS: I anticipate people will want to raise concerns about Amazon's > > one-click patent. Probably Jinesh can do nothing about it, but it > > doesn't hurt to raise concerns. I'll reserve a portion of the Q&A > > time for the topic. Please be civil. > > I'll handle that if you like... I was just thinking that I should raise > a ritual objection on the subject. > > I'm also inclined to mention to friends that Amazon donates money to the > Republican Party (currently 60/40): > > http://www.buyblue.org/node/66/view/summary > > Would that be too off-topic? Maybe, but go ahead. :) Technology doesn't exist in a vacuum... -- qw (Quinn Weaver); #President, San Francisco Perl Mongers =for information, visit http://sf.pm.org/weblog =cut From qw at sf.pm.org Sat Oct 14 13:24:52 2006 From: qw at sf.pm.org (Quinn Weaver) Date: Sat, 14 Oct 2006 13:24:52 -0700 Subject: [sf-perl] Reminder: October 24: Amazon web services talk In-Reply-To: <20061014202240.GB62923@fu.funkspiel.org> References: <20061012215034.GA45127@fu.funkspiel.org> <200610140501.k9E517Ev011770@mail0.rawbw.com> <20061014202240.GB62923@fu.funkspiel.org> Message-ID: <20061014202452.GC62923@fu.funkspiel.org> On Sat, Oct 14, 2006 at 01:22:40PM -0700, Quinn Weaver wrote: > On Fri, Oct 13, 2006 at 10:01:07PM -0700, Joseph Brenner wrote: > > I'm also inclined to mention to friends that Amazon donates money to the > > Republican Party (currently 60/40): > > > > http://www.buyblue.org/node/66/view/summary > > > > Would that be too off-topic? > > Maybe, but go ahead. :) Technology doesn't exist in a vacuum... Oops, we have a disagreement. Well, I'll defer to our list grandmom, who got there first... -- qw (Quinn Weaver); #President, San Francisco Perl Mongers =for information, visit http://sf.pm.org/weblog =cut From andy at petdance.com Sat Oct 14 17:54:00 2006 From: andy at petdance.com (Andy Lester) Date: Sat, 14 Oct 2006 19:54:00 -0500 Subject: [sf-perl] Reminder: October 24: Amazon web services talk In-Reply-To: <20061014202240.GB62923@fu.funkspiel.org> References: <20061012215034.GA45127@fu.funkspiel.org> <200610140501.k9E517Ev011770@mail0.rawbw.com> <20061014202240.GB62923@fu.funkspiel.org> Message-ID: On Oct 14, 2006, at 3:22 PM, Quinn Weaver wrote: >> I'm also inclined to mention to friends that Amazon donates money >> to the >> Republican Party (currently 60/40): Oh no! REPUBLICANS! Run! Run! -- Andy Lester => andy at petdance.com => www.petdance.com => AIM:petdance From extasia at extasia.org Sat Oct 14 18:00:30 2006 From: extasia at extasia.org (David Alban) Date: Sat, 14 Oct 2006 18:00:30 -0700 Subject: [sf-perl] Reminder: October 24: Amazon web services talk In-Reply-To: References: <20061012215034.GA45127@fu.funkspiel.org> <200610140501.k9E517Ev011770@mail0.rawbw.com> <20061014202240.GB62923@fu.funkspiel.org> Message-ID: <4c714a9c0610141800n3f9a0ee9tbcabaefa7081cb0@mail.gmail.com> They make me Blue. :-D On 10/14/06, Andy Lester wrote: > Oh no! REPUBLICANS! Run! Run! -- Live in a world of your own, but always welcome visitors. From josh at agliodbs.com Sun Oct 15 11:05:25 2006 From: josh at agliodbs.com (Josh Berkus) Date: Sun, 15 Oct 2006 11:05:25 -0700 Subject: [sf-perl] Reminder: October 24: Amazon web services talk In-Reply-To: References: <20061012215034.GA45127@fu.funkspiel.org> <200610140501.k9E517Ev011770@mail0.rawbw.com> Message-ID: <200610151105.25728.josh@agliodbs.com> Folk, > > I'm also inclined to mention to friends that Amazon donates money to the > > Republican Party (currently 60/40): Besides, all this tells us is that the Republicans are more expensive than the Democrats, which I think we knew. ;-) -- Josh Berkus PostgreSQL @ Sun San Francisco From david at fetter.org Sun Oct 15 20:44:20 2006 From: david at fetter.org (David Fetter) Date: Sun, 15 Oct 2006 20:44:20 -0700 Subject: [sf-perl] SFPUG Meeting Thursday, October 19: PostgreSQL and .NET Message-ID: <20061016034419.GC822@fetter.org> Folks, Jon Asher will be talking about how to use PostgreSQL and .NET together. As Larry Wall said about Perl years ago, PostgreSQL competes by cooperating. :) Where: Microsoft Headquarters, San Francisco The Landmark at One Market, Suite 200 San Francisco, CA 94105 http://postgresql.meetup.com/1/venue/?venueId=180195 When: Thursday, Oct 19, 2006 7:00 PM RSVP: ASAP to david at fetter.org so you can get fed. Thanks very much to the folks at Microsoft for hosting this meeting. -- David Fetter http://fetter.org/ phone: +1 415 235 3778 AIM: dfetter666 Skype: davidfetter Remember to vote! From rdm at cfcl.com Mon Oct 16 09:57:47 2006 From: rdm at cfcl.com (Rich Morin) Date: Mon, 16 Oct 2006 09:57:47 -0700 Subject: [sf-perl] shuffling large numbers of image files Message-ID: I'm helping a client organize a collection of image files which are currently stored on hundreds of (floppy, jaz, zip) disks. Although the files may contain useful metadata, they are largely opaque to mechanized analysis (e.g., keyword search is OUT). The client is using Mac OS X, so a wide range of tools (e.g., iPhoto, Perl scripts, Ruby on Rails, Spotlight) can be applied. I'm hoping for some suggestions on what kinds of tools might be most useful. The first step is to capture the files on a single (500 GB) disk, in a manner that retains the origin information (i.e., media type and external inscriptions). This will result in a tree of the form: .../Old_Media Zip_100s A Big Project, 2001 Big Project #1 Big Project #2 ... A Quick Sketch, 2000 ... The next step is to create a re-organized tree that facilitates use of the material. In all likelihood, this will be organized by project within year, as: .../Old_Image 2000 A Quick Sketch, 2000 2001 A Big Project, 2001 Big Project #1 Big Project #2 ... My suggestion for this step is to create a copy of the Old_Media tree (Tmp_Image) and a target directory (Old_Image). Then, drag images and/or folders from Tmp_Image to Old_Image (or Trash). Eventually, Tmp_Image will contain nothing of interest, so it can be discarded. At this point, I'm recommending that the client copy Old_Image to Cur_Image and then use iPhoto to further organize and annotate the images. FWIW, the OSX Finder will display thumbnails of selected files. Double-clicking on the file will bring up Preview, which can pan and zoom through the image. Finally, Get Info and Spotlight allow access to file metadata. It is very likely that the Old_Media tree will contain identical (sub-trees of) image files. In most cases, this will result from successive backups of projects, copying of folders and files, etc. Although some file and folder names may change, most will not. Even ignoring the file names, the image files can be matched up by their content. For example, I can create an MD5 checksum for each file, look for matching checksums, and then (as a safety net) do a bit-for-bit comparison of putative duplicates. However, a report of all duplicate files might well swamp the user in data. It would be better to identify and present duplicate (or evolving) folders and let the user determine which one(s) to save. Although the identification part is a bit tricky, I'm sure that I can handle that part. The hard part, however, is deciding exactly what information to present and how to present it. Suggestions? Also, any other ideas on approaches and/or tools are solicited. -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 kvale at phy.ucsf.edu Mon Oct 16 10:24:42 2006 From: kvale at phy.ucsf.edu (Mark Kvale) Date: Mon, 16 Oct 2006 10:24:42 -0700 Subject: [sf-perl] shuffling large numbers of image files In-Reply-To: References: Message-ID: On Oct 16, 2006, at 9:57 AM, Rich Morin wrote: snip... > > Even ignoring the file names, the image files can be matched up by > their content. For example, I can create an MD5 checksum for each > file, look for matching checksums, and then (as a safety net) do a > bit-for-bit comparison of putative duplicates. > > However, a report of all duplicate files might well swamp the user > in data. It would be better to identify and present duplicate (or > evolving) folders and let the user determine which one(s) to save. > > Although the identification part is a bit tricky, I'm sure that I > can handle that part. The hard part, however, is deciding exactly > what information to present and how to present it. Suggestions? > > > Also, any other ideas on approaches and/or tools are solicited. > Although not a Perl solution, the open source program imgSeek is fairly good at detecting both duplicate and similar images and can also do simple photo organization. http://www.imgseek.net/ For a Perl duplicate image detector, Whatpix, http:// whatpix.sourceforge.net/ , is a simple app that works fine. -Mark From moseley at hank.org Mon Oct 16 10:43:06 2006 From: moseley at hank.org (Bill Moseley) Date: Mon, 16 Oct 2006 10:43:06 -0700 Subject: [sf-perl] shuffling large numbers of image files In-Reply-To: References: Message-ID: <20061016174305.GF18286@hank.org> On Mon, Oct 16, 2006 at 09:57:47AM -0700, Rich Morin wrote: > The first step is to capture the files on a single (500 GB) disk, in > a manner that retains the origin information (i.e., media type and > external inscriptions). This will result in a tree of the form: > > .../Old_Media > Zip_100s > A Big Project, 2001 > Big Project #1 > Big Project #2 > ... > A Quick Sketch, 2000 I guess what I'd do is not worry so much about where they are stored, and rather create a database to store all the meta, including Exif data if available. If the files have reasonable time stamps (or dates in Exif) I'd use that to organize them on disk (e.g. /images/YYYY/MM/). You should not need to move the images once they are on the disk. The database can be used to group the images as needed. Perfect application for Catalyst -- if they want it web based. You could have fun with Ajax drag-n-drop and edit-in-place boxes, too. Then crunch away at thumbnail generation and from then on out manage the entire thing like a normal database application. I might put the thumbnails in the database. I installed Gallery2 last night. You might want to play with Gallery and get a look at the database tables it creates and look at how it organizes things in albums and its permission system. Gallery is PHP based and I have yet to find PHP source that doesn't make me squirm. ;) -- Bill Moseley moseley at hank.org From rdm at cfcl.com Wed Oct 18 09:05:54 2006 From: rdm at cfcl.com (Rich Morin) Date: Wed, 18 Oct 2006 09:05:54 -0700 Subject: [sf-perl] Fwd: Developer Job Opportunity Message-ID: --- Begin Forward --- Sent: Tuesday, October 17, 2006 2:34 PM To: oakland at pm.org Subject: [oak perl] Developer Job Opportunity Hello All, Allow me to introduce myself. My name is Stella Yang. I am a Technical Recruiter working here in San Ramon. I wanted to send out an email and see if there were any of you that were interested in picking up a contract position for a client of mine in Sunnyvale. I've provided a brief job description below. If any of you are interested, please contact me. Brief Overview: You will develop a performance testing framework for executing load tests in an automated manner. Required Knowledge/expertise: Significant hands-on experience in Web development Expert in Perl Familiarity with performance testing tools Experience with AJAX Working knowledge of Linux. Working knowledge of any relational database (mySQL preferred). Hands-on experience with development of database-driven/web-based Stella Yang Account Manager 2410 Camino Ramon, Suite 280 San Ramon, CA. 94583 Tel: 925-830-2199 x.119 Fax: 925-830-2190 --- End Forward --- -- 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 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.pm.org/pipermail/sanfrancisco-pm/attachments/20061018/4a14ecf0/attachment.html -------------- next part -------------- A non-text attachment was scrubbed... Name: image001 6.jpg Type: image/jpeg Size: 1953 bytes Desc: not available Url : http://mail.pm.org/pipermail/sanfrancisco-pm/attachments/20061018/4a14ecf0/attachment.jpg -------------- next part -------------- A non-text attachment was scrubbed... Name: %ATT00504.txt Type: application/applefile Size: 122 bytes Desc: not available Url : http://mail.pm.org/pipermail/sanfrancisco-pm/attachments/20061018/4a14ecf0/attachment.bin -------------- next part -------------- _______________________________________________ Oakland mailing list Oakland at pm.org http://mail.pm.org/mailman/listinfo/oakland From qw at sf.pm.org Wed Oct 18 10:56:07 2006 From: qw at sf.pm.org (Quinn Weaver) Date: Wed, 18 Oct 2006 10:56:07 -0700 Subject: [sf-perl] Reminder: October 24: Amazon web services talk In-Reply-To: <20061012215034.GA45127@fu.funkspiel.org> References: <20061012215034.GA45127@fu.funkspiel.org> Message-ID: <20061018175607.GA99247@fu.funkspiel.org> On Thu, Oct 12, 2006 at 02:50:34PM -0700, Quinn Weaver wrote: > In October, we're hosting Jinesh Varia of Amazon. Jinesh will present > Amazon's (REST and SOAP) web services API. Attached is some more info. Amazon has added some generic (non-book) distributed computing services, and he's going to cover them first. This Wikipedia article has a tad more information about the individual services: http://en.wikipedia.org/wiki/Amazon_Web_Services -- qw (Quinn Weaver); #President, San Francisco Perl Mongers =for information, visit http://sf.pm.org/weblog =cut -------------- next part -------------- ABSTRACT With ten services launched and more on their way, Amazon Web Services provides developers access to inexpensive, scalable web-based business solutions and infrastructure. Amazon.com, via Amazon Web Services, opened its technology vault in 2002 to allow developers the ability to construct powerful applications using the resources the company spent ten years and over $1 billion developing. Jinesh Varia, Evangelist for Amazon Web Services, looks at real world examples of how developers have utilized Amazon Web Services' open APIs to develop exciting, profitable businesses. Varia will also demonstrate the newly launched Amazon Elastic Compute Cloud (Amazon EC2) which allows developers to build a virtual computing environment in minutes and only pay for computing usage. This session will also explore other innovative integrations of Amazon Web Services such as Amazon Simple Storage Service, Amazon E-Commerce Service, Amazon Simple Queue Service, Amazon Mechanical Turk, Alexa Web Information Service, and more. PRESENTER JINESH VARIA, EVANGELIST, AMAZON WEB SERVICES Jinesh Varia is focused on furthering awareness of web services and inspiring developers to create innovative applications using Amazon Web Services. Jinesh also works with developers on a 1:1 basis helping them implement their own ideas using Amazon?s innovative services. You might find Jinesh at the local code camp or involved in all the geeky things that happen in web 2.0 world. Prior to joining Amazon Web Services as an evangelist, Jinesh was involved in an XML Standards-based firm, UBmatrix, as a XBRL Solutions Architect and Software Design Engineer. He was also a developer at Penn State Data Center, Institute of Regional Affairs. Jinesh is originally from India and holds a Master?s degree in Information Systems from Penn State University. He plays tennis and loves to trek. From josh at agliodbs.com Thu Oct 19 09:52:11 2006 From: josh at agliodbs.com (Josh Berkus) Date: Thu, 19 Oct 2006 12:52:11 -0400 Subject: [sf-perl] IMPORTANT information regarding SFPUG meeting tonight In-Reply-To: <20061016034419.GC822@fetter.org> References: <20061016034419.GC822@fetter.org> Message-ID: <4537AD3B.6090607@agliodbs.com> All, We've just found out that we need to have everyone's names before the meeting tonight, or you may have trouble getting in. If you're even thinking of going, please e-mail your name to: jon.asher at gmail.com, githogori at siliconbazaar.com ... as soon as possible. Do NOT RSVP to me or David Fetter, we are both out of town. This includes people who RSVPd earlier; we need you to RSVP again. Thanks! --Josh Berkus From qw at sf.pm.org Fri Oct 20 15:58:30 2006 From: qw at sf.pm.org (Quinn Weaver) Date: Fri, 20 Oct 2006 15:58:30 -0700 Subject: [sf-perl] Reminder: October 24: Amazon web services talk Message-ID: <20061020225830.GA20839@fu.funkspiel.org> Hi, folks, This is just a reminder that the Amazon web services meeting is Tuesday night. RSVP if you haven't already, to Jeff.Thalhammer at barclaysglobal.com. I'll use the RSVP's to determine how much Little Star pizza to bring. Thanks to Jeff for organizing and Amazon for buying the pizza! See you there, -- qw (Quinn Weaver); #President, San Francisco Perl Mongers =for information, visit http://sf.pm.org/weblog =cut From david at fetter.org Fri Oct 20 16:10:42 2006 From: david at fetter.org (David Fetter) Date: Fri, 20 Oct 2006 16:10:42 -0700 Subject: [sf-perl] Reminder: October 24: Amazon web services talk In-Reply-To: <20061020225830.GA20839@fu.funkspiel.org> References: <20061020225830.GA20839@fu.funkspiel.org> Message-ID: <20061020231042.GA20405@fetter.org> On Fri, Oct 20, 2006 at 03:58:30PM -0700, Quinn Weaver wrote: > Hi, folks, > > This is just a reminder that the Amazon web services meeting is Tuesday > night. RSVP if you haven't already, to Jeff.Thalhammer at barclaysglobal.com. > I'll use the RSVP's to determine how much Little Star pizza to bring. > > Thanks to Jeff for organizing and Amazon for buying the pizza! > See you there, Include me in :) Cheers, D -- David Fetter http://fetter.org/ phone: +1 415 235 3778 AIM: dfetter666 Skype: davidfetter Remember to vote!