From perl-pm at joshheumann.com Mon Aug 1 20:19:13 2005
From: perl-pm at joshheumann.com (Josh Heumann)
Date: Mon, 1 Aug 2005 20:19:13 -0700
Subject: [Pdx-pm] Shirts and Stas
Message-ID: <20050802031913.GB12600@joshheumann.com>
The shirts are in! They look amazing. They are available at
the Perl Foundation Booth at oscon, and on will be yours for
a donation of $20 or more. If you aren't going to oscon, don't fret,
you'll be able to get one after it's over.
A big thanks for Randall Hansen for finalizing the design, and to
Allison Randall and everyone else at the Perl Foundation booth for
pulling vendor duty.
Also, Stas Bekman gave his mod_perl tutorial today, and for those who
missed it, he will give a reprise on Friday for us! Location will most likely
be the regular room at Free Geek, but the final details will need to be
ironed out.
Josh
From perl-pm at joshheumann.com Tue Aug 2 15:37:01 2005
From: perl-pm at joshheumann.com (Josh Heumann)
Date: Tue, 2 Aug 2005 15:37:01 -0700
Subject: [Pdx-pm] Special August Meeting Friday
Message-ID: <20050802223701.GB17034@joshheumann.com>
August Meeting
Friday, August 5th, 2005 6:30pm at Free Geek, 1741 SE 10th Ave
Practical mod_perl 2
Stas Bekman
mod_perl 2.0 supports all the mod_perl 1.0 features and brings a whole
lot of new functionality such as protocol and filter handlers, improved
configuration access, threads support, and much more. This tutorial will
get you up to speed with the new features, in addition to reviewing the
old ones.
Topics to be covered:
- Getting Your Feet Wet
- A quick introduction to mod_perl 2.0
- Protocol handlers
- HTTP request handlers
- Migrating from mod_perl 1.0 to 2.0
A brief romp through the handouts and slides is recommended:
http://stason.org/tmp/mod_perl-2.0-tutorial-handouts.pdf.gz
http://stason.org/tmp/mod_perl-2.0-tutorial-slides.pdf.gz
From perl-pm at joshheumann.com Tue Aug 2 16:15:48 2005
From: perl-pm at joshheumann.com (Josh Heumann)
Date: Tue, 2 Aug 2005 16:15:48 -0700
Subject: [Pdx-pm] Bruce Perens hosts recruiting party in Portland Wednesday
Night
Message-ID: <20050802231548.GC17034@joshheumann.com>
-------- Forwarded Message --------
From: Bruce Perens
Subject: [PLUG-JOBS] Bruce Perens hosts recruiting party in Portland Wednesday Night
Date: Tue, 2 Aug 2005 14:00:39 -0700 (PDT)
Hi Folks,
Tomorrow, I'm running a recruitment party for Sourcelabs at Kells, and
it strikes me that the folks who need jobs aren't necessarily paying big
bucks to attend the O'Reilly conference this week. Thus, I hope you
don't mind my passing this on. If you bring your resume, I'll buy you
drinks and some food.
Sourcelabs is in Seattle, and is supporting various Open Source "stacks"
for enterprise users who expect some things in a product that the Open
Source projects don't generally provide. The company stays true to the
Open Source ethos. They do not attempt to impose a lock-in model on Open
Source as some vendors have. The same version of software that they
support is available from their web site with no strings attached over
the original Open Source licenses. Thus, we have to maintain excellent
service because customers can go elsewhere. We announced our Java stack
today, and have had a *AMP stack out for a while.
Date: Wednesday, August 3
Time: 8:30-10:30pm
Place: Kells Irish Restaurant & Pub, Ulster Room, 2nd Floor
112 SW 2nd Ave., Portland, Oregon 97201
Thanks
Bruce Perens
From perl-pm at joshheumann.com Tue Aug 2 16:17:25 2005
From: perl-pm at joshheumann.com (Josh Heumann)
Date: Tue, 2 Aug 2005 16:17:25 -0700
Subject: [Pdx-pm] Special August Meeting Friday
In-Reply-To: <20050802223701.GB17034@joshheumann.com>
References: <20050802223701.GB17034@joshheumann.com>
Message-ID: <20050802231724.GD17034@joshheumann.com>
Bad form to reply to your own post, but I haven't gotten any feedback on
this (likely because I didn't ask for any). How do people feel about
this meeting, and are you interested in attending?
Josh
> August Meeting
> Friday, August 5th, 2005 6:30pm at Free Geek, 1741 SE 10th Ave
>
> Practical mod_perl 2
> Stas Bekman
>
> mod_perl 2.0 supports all the mod_perl 1.0 features and brings a whole
> lot of new functionality such as protocol and filter handlers, improved
> configuration access, threads support, and much more. This tutorial will
> get you up to speed with the new features, in addition to reviewing the
> old ones.
>
> Topics to be covered:
> - Getting Your Feet Wet
> - A quick introduction to mod_perl 2.0
> - Protocol handlers
> - HTTP request handlers
> - Migrating from mod_perl 1.0 to 2.0
>
> A brief romp through the handouts and slides is recommended:
> http://stason.org/tmp/mod_perl-2.0-tutorial-handouts.pdf.gz
> http://stason.org/tmp/mod_perl-2.0-tutorial-slides.pdf.gz
>
> _______________________________________________
> Pdx-pm-list mailing list
> Pdx-pm-list at pm.org
> http://mail.pm.org/mailman/listinfo/pdx-pm-list
From cdawson at webiphany.com Tue Aug 2 17:24:57 2005
From: cdawson at webiphany.com (Chris Dawson)
Date: Tue, 02 Aug 2005 17:24:57 -0700
Subject: [Pdx-pm] Special August Meeting Friday
In-Reply-To: <20050802231724.GD17034@joshheumann.com>
References: <20050802223701.GB17034@joshheumann.com>
<20050802231724.GD17034@joshheumann.com>
Message-ID: <42F00ED9.30601@webiphany.com>
Josh,
This might conflict with the OSCON Veggie BOF on Friday night. Since
Dave Rolsky is planning this BOF and he is the author of HTML::Mason,
which relies heavily on mod_perl, perhaps we could make this meeting
just slightly earlier (5:30?) so he might be interested in attending.
Then those of us who want to head to Calendula on 34th & Hawthorne (not
confirmed yet...) could head up there. It would be really cool to get
Dave at a PDX.pm.
I'd like to come, but hanging with other vegetarians at OSCON takes
precedence if I have to choose.
Chris
Josh Heumann wrote:
>Bad form to reply to your own post, but I haven't gotten any feedback on
>this (likely because I didn't ask for any). How do people feel about
>this meeting, and are you interested in attending?
>
>Josh
>
>
>
>
>>August Meeting
>>Friday, August 5th, 2005 6:30pm at Free Geek, 1741 SE 10th Ave
>>
>>Practical mod_perl 2
>>Stas Bekman
>>
>>mod_perl 2.0 supports all the mod_perl 1.0 features and brings a whole
>>lot of new functionality such as protocol and filter handlers, improved
>>configuration access, threads support, and much more. This tutorial will
>>get you up to speed with the new features, in addition to reviewing the
>>old ones.
>>
>>Topics to be covered:
>>- Getting Your Feet Wet
>>- A quick introduction to mod_perl 2.0
>>- Protocol handlers
>>- HTTP request handlers
>>- Migrating from mod_perl 1.0 to 2.0
>>
>>A brief romp through the handouts and slides is recommended:
>>http://stason.org/tmp/mod_perl-2.0-tutorial-handouts.pdf.gz
>>http://stason.org/tmp/mod_perl-2.0-tutorial-slides.pdf.gz
>>
>>_______________________________________________
>>Pdx-pm-list mailing list
>>Pdx-pm-list at pm.org
>>http://mail.pm.org/mailman/listinfo/pdx-pm-list
>>
>>
>_______________________________________________
>Pdx-pm-list mailing list
>Pdx-pm-list at pm.org
>http://mail.pm.org/mailman/listinfo/pdx-pm-list
>
>
>
From ewilhelm at sbcglobal.net Tue Aug 2 18:03:59 2005
From: ewilhelm at sbcglobal.net (Eric Wilhelm)
Date: Tue, 2 Aug 2005 18:03:59 -0700
Subject: [Pdx-pm] Special August Meeting Friday
In-Reply-To: <42F00ED9.30601@webiphany.com>
References: <20050802223701.GB17034@joshheumann.com>
<20050802231724.GD17034@joshheumann.com>
<42F00ED9.30601@webiphany.com>
Message-ID: <200508021803.59842.ewilhelm@sbcglobal.net>
# from Chris Dawson
# on Tuesday 02 August 2005 05:24 pm:
>This might conflict with the OSCON Veggie BOF on Friday night. Since
>Dave Rolsky is planning this BOF and he is the author of HTML::Mason,
>which relies heavily on mod_perl, perhaps we could make this meeting
>just slightly earlier (5:30?) so he might be interested in attending.
I'm an omnivore, but I do use mason and would be interested in the
mod_perl talk (with super-bonus points if it includes something about
HTML::Mason.)
--Eric
--
The opinions expressed in this e-mail were randomly generated by
the computer and do not necessarily reflect the views of its owner.
--Management
---------------------------------------------
http://scratchcomputing.com
---------------------------------------------
From ewilhelm at sbcglobal.net Wed Aug 3 01:01:32 2005
From: ewilhelm at sbcglobal.net (Eric Wilhelm)
Date: Wed, 3 Aug 2005 01:01:32 -0700
Subject: [Pdx-pm] lightning talks
Message-ID: <200508030101.32526.ewilhelm@sbcglobal.net>
Looks like the deadline for proposals has been extended to "right before
you walk onto the stage at 11:35."
http://perl.plover.com/lt/osc2005/
--Eric
--
"It is a mistake to allow any mechanical object to realize that you are
in a hurry."
--Ralph's Observation
---------------------------------------------
http://scratchcomputing.com
---------------------------------------------
From perl-pm at joshheumann.com Wed Aug 3 09:18:36 2005
From: perl-pm at joshheumann.com (Josh Heumann)
Date: Wed, 3 Aug 2005 09:18:36 -0700
Subject: [Pdx-pm] Special August Meeting Friday
In-Reply-To: <42F00ED9.30601@webiphany.com>
References: <20050802223701.GB17034@joshheumann.com>
<20050802231724.GD17034@joshheumann.com>
<42F00ED9.30601@webiphany.com>
Message-ID: <20050803161836.GA21592@joshheumann.com>
> This might conflict with the OSCON Veggie BOF on Friday night. Since
> Dave Rolsky is planning this BOF and he is the author of HTML::Mason,
> which relies heavily on mod_perl, perhaps we could make this meeting
> just slightly earlier (5:30?) so he might be interested in attending.
> Then those of us who want to head to Calendula on 34th & Hawthorne (not
> confirmed yet...) could head up there. It would be really cool to get
> Dave at a PDX.pm.
I'm not at oscon this week, so could someone there find Dave and ask him
about this?
J
From cdawson at webiphany.com Wed Aug 3 10:39:51 2005
From: cdawson at webiphany.com (Chris Dawson)
Date: Wed, 03 Aug 2005 10:39:51 -0700
Subject: [Pdx-pm] Special August Meeting Friday
In-Reply-To: <20050803161836.GA21592@joshheumann.com>
References: <20050802223701.GB17034@joshheumann.com> <20050802231724.GD17034@joshheumann.com> <42F00ED9.30601@webiphany.com>
<20050803161836.GA21592@joshheumann.com>
Message-ID: <42F10167.5050206@webiphany.com>
I mentioned it to him. I think we are just waiting to hear from others
whether a slightly earlier time would be OK. If we can confirm the time,
I think Dave is interested.
Chris
Josh Heumann wrote:
>
>
>
>>This might conflict with the OSCON Veggie BOF on Friday night. Since
>>Dave Rolsky is planning this BOF and he is the author of HTML::Mason,
>>which relies heavily on mod_perl, perhaps we could make this meeting
>>just slightly earlier (5:30?) so he might be interested in attending.
>>Then those of us who want to head to Calendula on 34th & Hawthorne (not
>>confirmed yet...) could head up there. It would be really cool to get
>>Dave at a PDX.pm.
>>
>>
>
>I'm not at oscon this week, so could someone there find Dave and ask him
>about this?
>
>J
>_______________________________________________
>Pdx-pm-list mailing list
>Pdx-pm-list at pm.org
>http://mail.pm.org/mailman/listinfo/pdx-pm-list
>
>
>
From marvin at rectangular.com Wed Aug 3 12:22:22 2005
From: marvin at rectangular.com (Marvin Humphrey)
Date: Wed, 3 Aug 2005 12:22:22 -0700
Subject: [Pdx-pm] Special August Meeting Friday
In-Reply-To: <42F10167.5050206@webiphany.com>
References: <20050802223701.GB17034@joshheumann.com>
<20050802231724.GD17034@joshheumann.com>
<42F00ED9.30601@webiphany.com>
<20050803161836.GA21592@joshheumann.com>
<42F10167.5050206@webiphany.com>
Message-ID: <20050803192222.GB51523@rectangular.com>
On Wed, Aug 03, 2005 at 10:39:51AM -0700, Chris Dawson wrote:
> I mentioned it to him. I think we are just waiting to hear from others
> whether a slightly earlier time would be OK.
I'll be there either way.
--
Marvin Humphrey
Rectangular Research
http://www.rectangular.com/
From krisb at ring.org Wed Aug 3 14:13:22 2005
From: krisb at ring.org (Kris Bosland)
Date: Wed, 3 Aug 2005 14:13:22 -0700 (PDT)
Subject: [Pdx-pm] Bruce Perens hosts recruiting party in Portland
Wednesday Night
In-Reply-To: <20050802231548.GC17034@joshheumann.com>
Message-ID:
Hmm, this is conflicting with the FOSCON.
However, we can all go to Ground Kontrol after.
-Kris
On Tue, 2 Aug 2005, Josh Heumann wrote:
> -------- Forwarded Message --------
> From: Bruce Perens
> Subject: [PLUG-JOBS] Bruce Perens hosts recruiting party in Portland Wednesday Night
> Date: Tue, 2 Aug 2005 14:00:39 -0700 (PDT)
> Hi Folks,
>
> Tomorrow, I'm running a recruitment party for Sourcelabs at Kells, and
> it strikes me that the folks who need jobs aren't necessarily paying big
> bucks to attend the O'Reilly conference this week. Thus, I hope you
> don't mind my passing this on. If you bring your resume, I'll buy you
> drinks and some food.
>
> Sourcelabs is in Seattle, and is supporting various Open Source "stacks"
> for enterprise users who expect some things in a product that the Open
> Source projects don't generally provide. The company stays true to the
> Open Source ethos. They do not attempt to impose a lock-in model on Open
> Source as some vendors have. The same version of software that they
> support is available from their web site with no strings attached over
> the original Open Source licenses. Thus, we have to maintain excellent
> service because customers can go elsewhere. We announced our Java stack
> today, and have had a *AMP stack out for a while.
>
> Date: Wednesday, August 3
> Time: 8:30-10:30pm
> Place: Kells Irish Restaurant & Pub, Ulster Room, 2nd Floor
> 112 SW 2nd Ave., Portland, Oregon 97201
>
>
> Thanks
>
> Bruce Perens
> _______________________________________________
> Pdx-pm-list mailing list
> Pdx-pm-list at pm.org
> http://mail.pm.org/mailman/listinfo/pdx-pm-list
>
>
> !DSPAM:42effd8434011770618137!
>
>
From cdawson at webiphany.com Wed Aug 3 16:07:06 2005
From: cdawson at webiphany.com (Chris Dawson)
Date: Wed, 03 Aug 2005 16:07:06 -0700
Subject: [Pdx-pm] Special August Meeting Friday
In-Reply-To: <20050802231724.GD17034@joshheumann.com>
References: <20050802223701.GB17034@joshheumann.com>
<20050802231724.GD17034@joshheumann.com>
Message-ID: <42F14E1A.50401@webiphany.com>
I've posted this to the OSCON wiki.
http://oscon.kwiki.org/index.cgi?PdxDotPm
Let's lock in a time, eh? Anyone adamantly against an early timeslot to
allow emaciated vegatarians some needed sustenance by 7 or so? Please
notify us if you know of conflicting terrorist activities; otherwise I
say we make this event start at 5:30.
Chris
Josh Heumann wrote:
>Bad form to reply to your own post, but I haven't gotten any feedback on
>this (likely because I didn't ask for any). How do people feel about
>this meeting, and are you interested in attending?
>
>Josh
>
>
>
>
>>August Meeting
>>Friday, August 5th, 2005 6:30pm at Free Geek, 1741 SE 10th Ave
>>
>>Practical mod_perl 2
>>Stas Bekman
>>
>>mod_perl 2.0 supports all the mod_perl 1.0 features and brings a whole
>>lot of new functionality such as protocol and filter handlers, improved
>>configuration access, threads support, and much more. This tutorial will
>>get you up to speed with the new features, in addition to reviewing the
>>old ones.
>>
>>Topics to be covered:
>>- Getting Your Feet Wet
>>- A quick introduction to mod_perl 2.0
>>- Protocol handlers
>>- HTTP request handlers
>>- Migrating from mod_perl 1.0 to 2.0
>>
>>A brief romp through the handouts and slides is recommended:
>>http://stason.org/tmp/mod_perl-2.0-tutorial-handouts.pdf.gz
>>http://stason.org/tmp/mod_perl-2.0-tutorial-slides.pdf.gz
>>
>>_______________________________________________
>>Pdx-pm-list mailing list
>>Pdx-pm-list at pm.org
>>http://mail.pm.org/mailman/listinfo/pdx-pm-list
>>
>>
>_______________________________________________
>Pdx-pm-list mailing list
>Pdx-pm-list at pm.org
>http://mail.pm.org/mailman/listinfo/pdx-pm-list
>
>
>
From dhmedley at aol.com Wed Aug 3 17:17:26 2005
From: dhmedley at aol.com (dhmedley@aol.com)
Date: Wed, 03 Aug 2005 20:17:26 -0400
Subject: [Pdx-pm] Special August Meeting Friday
Message-ID: <8C766A106E29419-D80-1170E@MBLK-M16.sysops.aol.com>
I am interested in the mod_perl talk specifically, but NOT if it is at
17:30 -- it would make
my coming in from Hillsboro fantastically uncomfortable.
dhm
From john at fricker.com Wed Aug 3 18:57:21 2005
From: john at fricker.com (John Fricker)
Date: Wed, 03 Aug 2005 18:57:21 -0700
Subject: [Pdx-pm] Musician's Friend is hiring
Message-ID: <42F17601.8080103@fricker.com>
Folks,
Musician's Friend is a LAMP shop located in Medford, OR. We're in
Portland for OSCON and we're recruiting. See for some information:
http://www.musiciansfriend.com/srs7/g=home/content/doc_id=97952
We're looking for mod_perl experts, Java junkies, QA freaks, and
excellent XMLers as we rapidly expand. If you are intrigued, come meet
us at the Courtyard Marriott, at 435 NE Wasco (3 blocks from the
Convention Center) on Thursday Aug 4th between 11am and 6pm.
If you can't make it during that time, let me know and we'll set
something up. Of look for one of us that Ground Kontrol tonight. We're
in the stonehedge shirt and we're drinking beer. ;)
--John
btw, I'm not in HR, I'm just the QA manager in search of good people.
From dpool at hevanet.com Thu Aug 4 09:32:25 2005
From: dpool at hevanet.com (David Pool)
Date: Thu, 04 Aug 2005 09:32:25 -0700
Subject: [Pdx-pm] Stonehenge mentioned
Message-ID: <1123173145.6120.23.camel@localhost.localdomain>
Randal scored the top slot on N4N.org today. He's a man who understands
how to be in an attractive photo :-)
Other OSCON/FOSCON coverage including Bruce Perens, Ruby, Linux Fund,
etc in the tech section:
http://www.news4neighbors.net/index.pl?section=Technology
David
From mikeraz at patch.com Fri Aug 5 12:39:13 2005
From: mikeraz at patch.com (Michael Rasmussen)
Date: Fri, 5 Aug 2005 12:39:13 -0700 (PDT)
Subject: [Pdx-pm] Brain melt - meeting time tonight?
Message-ID: <26566.170.135.241.46.1123270753.squirrel@mail.patch.com>
What was the most recent decision about the time for tonight's mod_perl
featured meeting?
--
Michael Rasmussen, Portland, Ore, USA
Be Appropriate && Follow Your Curiosity
From scratchcomputing at gmail.com Fri Aug 5 12:43:45 2005
From: scratchcomputing at gmail.com (Eric Wilhelm)
Date: Fri, 5 Aug 2005 12:43:45 -0700
Subject: [Pdx-pm] Special August Meeting Friday
In-Reply-To: <20050802231724.GD17034@joshheumann.com>
References: <20050802223701.GB17034@joshheumann.com>
<20050802231724.GD17034@joshheumann.com>
Message-ID: <200508051243.45327.ewilhelm@cpan.org>
# from Josh Heumann
# on Tuesday 02 August 2005 04:17 pm:
>> August Meeting
>> Friday, August 5th, 2005 6:30pm at Free Geek, 1741 SE 10th Ave
>>
>> Practical mod_perl 2
>> Stas Bekman
Sounds like lots of people are going even though nobody seems to know
what time.
I'm going to the posse open house from 3-5, followed by this, which
makes 5:30 work nicely since we'll be in the neighborhood.
It's been suggested that 6:30 is a better time for those coming from
farther away than the Lucky Lab. Maybe we can start a short
HTML::Mason gathering at 5:30 and continue into our regularly scheduled
mod_perl2 talk at 6:30?
--Eric
--
Cult: A small, unpopular religion.
Religion: A large, popular cult.
-- Unknown
---------------------------------------------
http://scratchcomputing.com
---------------------------------------------
From mikeraz at patch.com Fri Aug 5 12:50:00 2005
From: mikeraz at patch.com (Michael Rasmussen)
Date: Fri, 5 Aug 2005 12:50:00 -0700 (PDT)
Subject: [Pdx-pm] Special August Meeting Friday
In-Reply-To: <200508051243.45327.ewilhelm@cpan.org>
References: <20050802223701.GB17034@joshheumann.com>
<20050802231724.GD17034@joshheumann.com>
<200508051243.45327.ewilhelm@cpan.org>
Message-ID: <29513.170.135.241.46.1123271400.squirrel@mail.patch.com>
Eric Wilhelm said:
> # from Josh Heumann
> # on Tuesday 02 August 2005 04:17 pm:
>
>>> August Meeting
>>> Friday, August 5th, 2005 6:30pm at Free Geek, 1741 SE 10th Ave
>>>
>>> Practical mod_perl 2
>>> Stas Bekman
>
> Sounds like lots of people are going even though nobody seems to know
> what time.
>
> I'm going to the posse open house from 3-5, followed by this, which
> makes 5:30 work nicely since we'll be in the neighborhood.
Is that at the Lab?
The OSCON wiki showed the time as 5:30 (pending), I updated the page to say:
Pending? Either at 5:30 or 6:30. But show up at 5:30 anyway. We'll have
an HTML::Mason presentation to fill the time gap for those who would
prefer that to dropping by the Lucky Lab or Roots brewpubs. Both less
than three blocks from Free Geek.
--
Michael Rasmussen, Portland, Ore, USA
Be Appropriate && Follow Your Curiosity
From perl-pm at joshheumann.com Fri Aug 5 13:01:26 2005
From: perl-pm at joshheumann.com (Josh Heumann)
Date: Fri, 5 Aug 2005 13:01:26 -0700
Subject: [Pdx-pm] Special August Meeting Friday
Message-ID: <20050805200126.GF31716@joshheumann.com>
> Josh,
>
> One last question: has the speaker said he would be willing to talk at
> 5:30? I never asked if this was the case...
Who loves three-hour meetings? Woooooooo!
Okay, meeting time: 5:30. Period. The meeting starts then. Stas is
okay with this time, and since this talk was originally a tutorial, the
man is prepared. This will let us get as much in as we can before
people start to splinter off into oblivion.
Josh
From perl-pm at joshheumann.com Fri Aug 5 13:04:57 2005
From: perl-pm at joshheumann.com (Josh Heumann)
Date: Fri, 5 Aug 2005 13:04:57 -0700
Subject: [Pdx-pm] Special August Meeting Friday
Message-ID: <20050805200457.GB32463@joshheumann.com>
August Meeting
Friday, August 5th, 2005 5:30pm at Free Geek, 1741 SE 10th Ave
Practical mod_perl 2
Stas Bekman
mod_perl 2.0 supports all the mod_perl 1.0 features and brings a whole
lot of new functionality such as protocol and filter handlers, improved
configuration access, threads support, and much more. This tutorial will
get you up to speed with the new features, in addition to reviewing the
old ones.
Topics to be covered:
- Getting Your Feet Wet
- A quick introduction to mod_perl 2.0
- Protocol handlers
- HTTP request handlers
- Migrating from mod_perl 1.0 to 2.0
A brief romp through the handouts and slides is recommended:
http://stason.org/tmp/mod_perl-2.0-tutorial-handouts.pdf.gz
http://stason.org/tmp/mod_perl-2.0-tutorial-slides.pdf.gz
From tex at off.org Fri Aug 5 15:47:35 2005
From: tex at off.org (Austin Schutz)
Date: Fri, 5 Aug 2005 15:47:35 -0700
Subject: [Pdx-pm] Special August Meeting Friday
In-Reply-To: <20050805200126.GF31716@joshheumann.com>
References: <20050805200126.GF31716@joshheumann.com>
Message-ID: <20050805224735.GB22112@gblx.net>
On Fri, Aug 05, 2005 at 01:01:26PM -0700, Josh Heumann wrote:
>
> > Josh,
> >
> > One last question: has the speaker said he would be willing to talk at
> > 5:30? I never asked if this was the case...
>
> Who loves three-hour meetings? Woooooooo!
>
> Okay, meeting time: 5:30. Period. The meeting starts then. Stas is
> okay with this time, and since this talk was originally a tutorial, the
> man is prepared. This will let us get as much in as we can before
> people start to splinter off into oblivion.
>
That's a long time. Should we bring anything? I'd be happy to bring
a case or two of soda or the like.
Pdx Pm Potluck?
Austin
From perl-pm at joshheumann.com Fri Aug 5 15:55:37 2005
From: perl-pm at joshheumann.com (Josh Heumann)
Date: Fri, 5 Aug 2005 15:55:37 -0700
Subject: [Pdx-pm] Special August Meeting Friday
In-Reply-To: <20050805224735.GB22112@gblx.net>
References: <20050805200126.GF31716@joshheumann.com>
<20050805224735.GB22112@gblx.net>
Message-ID: <20050805225537.GB665@joshheumann.com>
> That's a long time.
I should mention that he's willing to pair it down.
> Should we bring anything? I'd be happy to bring
> a case or two of soda or the like.
>
> Pdx Pm Potluck?
I like the idea of a potluck, but I think we don't have enough lead time
for one tonight. That said, Austin, if you want to bring some soda, I'm
sure people would appreciate it.
Also, another thing that I forgot to mention before: there will be
pdx.pm shirts available at the meeting tonight, for those of you who
weren't able to get one at the conference.
Josh
From krisb at ring.org Mon Aug 8 17:31:35 2005
From: krisb at ring.org (Kris Bosland)
Date: Mon, 8 Aug 2005 17:31:35 -0700 (PDT)
Subject: [Pdx-pm] deparse question
Message-ID:
Guys, I am trying to make a short, flexible perl find that I can
use in in Win32.
My basic premise:
1. First argument is user control, rest is dirs
2. Eval user control and check ref
2.a. if scalar, make into Regexp
2.b. if Regexp, make default CODE printing filename if
match
2.c. if CODE, use as find sub
2.d. if other ref, complain
3. Find on dirs with sub
Anyway, for debugging, I want to deparse the sub I create or get. Can I
send a CODE to B::Deparse, instead of the whole program?
Thanks.
-Kris
=================================================================
#!/usr/$work/bin/perl -w
use strict;
use File::Find;
#Collect arguments
die "usage: $0 [directories]"
if not @ARGV or $ARGV[0] =~ /^-[h?]/i;
my $rawmatch = shift;
my @dirs = @ARGV || ('.');
#Create match sub, or use users match sub
my $out = '$File::Find::name\n';
my $match = eval $rawmatch;
my $sub;
#Turn strings into regexp
$match = qr/$match/ if ref $match eq '';
$match = sub { eval "print $out;" } if ref $match eq 'Regexp';
die qq{Cannot handle type } . ref $match .
qq{:"$rawmatch", only types ""(scalar), "Regexp", and "CODE"}
if ref $match ne 'CODE';
#Execute find
find($match, @dirs);
=================================================================
From publiustemp-pdxpm at yahoo.com Mon Aug 8 17:44:27 2005
From: publiustemp-pdxpm at yahoo.com (Ovid)
Date: Mon, 8 Aug 2005 17:44:27 -0700 (PDT)
Subject: [Pdx-pm] deparse question
In-Reply-To:
Message-ID: <20050809004427.47904.qmail@web60815.mail.yahoo.com>
--- Kris Bosland wrote:
> Anyway, for debugging, I want to deparse the sub I create or get.
> Can I
> send a CODE to B::Deparse, instead of the whole program?
Yes. I do this frequently. See "USING B::Deparse AS A MODULE" in
"perldoc B::Deparse"
use B::Deparse;
my $deparse = B::Deparse->new("-p", "-sC");
print $deparse->coderef2text(\&func);
Cheers,
Ovid
--
If this message is a response to a question on a mailing list, please send
follow up questions to the list.
Web Programming with Perl -- http://users.easystreet.com/ovid/cgi_course/
From chromatic at wgz.org Mon Aug 8 17:46:36 2005
From: chromatic at wgz.org (chromatic)
Date: Mon, 08 Aug 2005 17:46:36 -0700
Subject: [Pdx-pm] deparse question
In-Reply-To:
References:
Message-ID: <1123548396.22399.64.camel@localhost>
On Mon, 2005-08-08 at 17:31 -0700, Kris Bosland wrote:
> Anyway, for debugging, I want to deparse the sub I create or get. Can I
> send a CODE to B::Deparse, instead of the whole program?
I do this all the time with B::Deparse::coderef2text(). It's been in
B::Deparse for as long as I can remember, probably at least since 5.6.0.
-- c
From krisb at ring.org Mon Aug 8 17:47:56 2005
From: krisb at ring.org (Kris Bosland)
Date: Mon, 8 Aug 2005 17:47:56 -0700 (PDT)
Subject: [Pdx-pm] deparse question
In-Reply-To: <20050809004427.47904.qmail@web60815.mail.yahoo.com>
Message-ID:
On Mon, 8 Aug 2005, Ovid wrote:
> --- Kris Bosland wrote:
> > Can I
> > send a CODE to B::Deparse, instead of the whole program?
>
> Yes. I do this frequently. See "USING B::Deparse AS A MODULE" in
> "perldoc B::Deparse"
>
> use B::Deparse;
> my $deparse = B::Deparse->new("-p", "-sC");
> print $deparse->coderef2text(\&func);
>
> Cheers,
> Ovid
Thanks!
2nd place speed award goes to chromatic. Thanks.
-Kris
From krisb at ring.org Mon Aug 8 18:36:37 2005
From: krisb at ring.org (Kris Bosland)
Date: Mon, 8 Aug 2005 18:36:37 -0700 (PDT)
Subject: [Pdx-pm] perlfind.pl
Message-ID:
Thanks for the help, here is the revised script. Comments?
perlfind.pl
======================================================================
#!/usr/intel/bin/perl
use strict;
use warnings;
use File::Find;
#Collect arguments
die "usage: $0 [directories]"
if not @ARGV or $ARGV[0] =~ /^-[h?]/i;
my $rawmatch = shift;
my @dirs = @ARGV || ('.');
#Create match sub, or use users match sub
my $out = '$File::Find::name\n';
my $debug = 0;
my $match;
{
#Need to disable safeguards,
#and give bare words some extra help,
#or we loose some bits
#e.g. perlfind.pl x.z -> xz
no strict qw{subs};
no warnings qw{reserved};
$match = eval $rawmatch;
$match = eval "qq{$rawmatch}" if ref $match eq '';
use strict qw{subs};
use warnings qw{reserved};
}
#Turn strings into regexp
$match = qr/$match/ if ref $match eq '';
$match = eval "sub { print qq{$out} if /$match/; }" if ref $match eq
'Regexp';
die qq{Cannot handle type } . ref $match .
qq{:"$rawmatch", only types ""(scalar), "Regexp", and "CODE"}
if ref $match ne 'CODE';
use B::Deparse;
my $deparse = B::Deparse->new("-p", "-sC");
$debug and print $deparse->coderef2text($match), qq{\n};
#Execute find
find($match, @dirs);
======================================================================
examples:
>perlfind.pl xyz
./dir/abc.xyz
>perlfind.pl "x.z"
./dir/abc.xyz
>perlfind.pl "qr/x.z/"
./dir/abc.xyz
>perlfind.pl "$out = q{ gotcha: $File::Find::name\n }; qr/x.z/"
gotcha: ./dir/abc.xyz
>perlfind.pl "$debug = 1; qq{xyz}"
{
use warnings;
use strict 'refs';
(/(?-xism:xyz)/ and print("$File::Find::name\n"));
}
./dir/abc.xyz
-Kris
From schwern at pobox.com Mon Aug 8 23:30:44 2005
From: schwern at pobox.com (Michael G Schwern)
Date: Mon, 8 Aug 2005 23:30:44 -0700
Subject: [Pdx-pm] perlfind.pl
In-Reply-To:
References:
Message-ID: <20050809063044.GA27602@windhund.schwern.org>
On Mon, Aug 08, 2005 at 06:36:37PM -0700, Kris Bosland wrote:
> Thanks for the help, here is the revised script. Comments?
Have you looked at File::Find::Rule?
--
Michael G Schwern schwern at pobox.com http://www.pobox.com/~schwern
Life is like a sewer - what you get out of it depends on what you put into it.
- Tom Lehrer
From krisb at ring.org Mon Aug 8 23:52:08 2005
From: krisb at ring.org (Kris Bosland)
Date: Mon, 8 Aug 2005 23:52:08 -0700 (PDT)
Subject: [Pdx-pm] perlfind.pl
In-Reply-To: <20050809063044.GA27602@windhund.schwern.org>
Message-ID:
On Mon, 8 Aug 2005, Michael G Schwern wrote:
> Have you looked at File::Find::Rule?
Hadn't heard of it, thanks for the tip.
-Kris
From merlyn at stonehenge.com Tue Aug 9 06:57:04 2005
From: merlyn at stonehenge.com (Randal L. Schwartz)
Date: 09 Aug 2005 06:57:04 -0700
Subject: [Pdx-pm] perlfind.pl
In-Reply-To: <20050809063044.GA27602@windhund.schwern.org>
References:
<20050809063044.GA27602@windhund.schwern.org>
Message-ID: <86zmrrqklr.fsf@blue.stonehenge.com>
>>>>> "Michael" == Michael G Schwern writes:
Michael> On Mon, Aug 08, 2005 at 06:36:37PM -0700, Kris Bosland wrote:
>> Thanks for the help, here is the revised script. Comments?
Michael> Have you looked at File::Find::Rule?
And its distant cousin, File::Finder, which *I* find easier to use?
--
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
Perl/Unix/security consulting, Technical writing, Comedy, etc. etc.
See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training!
From perl-pm at joshheumann.com Tue Aug 9 12:16:30 2005
From: perl-pm at joshheumann.com (Josh Heumann)
Date: Tue, 9 Aug 2005 12:16:30 -0700
Subject: [Pdx-pm] Second August Meeting?
Message-ID: <20050809191630.GG11985@joshheumann.com>
Adam Kennedy reminded me that he is also in town and available to give a
talk. He's interested in giving a talk on any of his modules[1], but some
people on the list had mentioned PPI specifically[2].
The big question is, are people interested in a second meeting this
month? Is tomorrow night too soon?
Josh
[1]: http://search.cpan.org/~adamk/
[2]: Parse, Analyze and Manipulate Perl (without perl)
http://search.cpan.org/~adamk/PPI-1.002/lib/PPI.pm
From scratchcomputing at gmail.com Tue Aug 9 12:27:03 2005
From: scratchcomputing at gmail.com (Eric Wilhelm)
Date: Tue, 9 Aug 2005 12:27:03 -0700
Subject: [Pdx-pm] Second August Meeting?
In-Reply-To: <20050809191630.GG11985@joshheumann.com>
References: <20050809191630.GG11985@joshheumann.com>
Message-ID: <200508091227.03327.ewilhelm@cpan.org>
# from Josh Heumann
# on Tuesday 09 August 2005 12:16 pm:
>Adam Kennedy reminded me that he is also in town and available to give
> a talk. He's interested in giving a talk on any of his modules[1],
> but some people on the list had mentioned PPI specifically[2].
So many to choose from! PPI sounds interesting.
>The big question is, are people interested in a second meeting this
>month? Is tomorrow night too soon?
I was just about to ask if the "Special August Meeting" was special in
that it's the August meeting at a different time or special in that
it's in addition to the unspecial one?
I have a recurring slot on my calendar there anyway, so it's not like it
would be surprising to have it tomorrow.
--Eric
--
The only thing that could save UNIX at this late date would be a new $30
shareware version that runs on an unexpanded Commodore 64.
--Don Lancaster (1991)
---------------------------------------------
http://scratchcomputing.com
---------------------------------------------
From brendan at hollyking.org Tue Aug 9 13:19:07 2005
From: brendan at hollyking.org (brendan@hollyking.org)
Date: Tue, 9 Aug 2005 20:19:07 +0000
Subject: [Pdx-pm] Second August Meeting?
In-Reply-To: <20050809191630.GG11985@joshheumann.com>
References: <20050809191630.GG11985@joshheumann.com>
Message-ID: <20050809201906.GE14480@hollyking.org>
On Tue, Aug 09, 2005 at 12:16:30PM -0700, Josh Heumann wrote:
> The big question is, are people interested in a second meeting this
> month? Is tomorrow night too soon?
Since I missed the meeting last two meetings I would love to come to one
tomorrow night.
Brendan
--
I saw from the beach, when the morning was shining.
A bark o'er the waters more gloriously on.
I cam when the sun o'er the beach was declining.
The bark was still there, but the waters were gone.
-- T. Sturge Moore
From masque at pobox.com Tue Aug 9 13:36:24 2005
From: masque at pobox.com (Paul Blair)
Date: Tue, 9 Aug 2005 13:36:24 -0700
Subject: [Pdx-pm] Second August Meeting?
In-Reply-To: <20050809191630.GG11985@joshheumann.com>
References: <20050809191630.GG11985@joshheumann.com>
Message-ID:
On 09 Aug 2005, at 12:16 PM, Josh Heumann wrote:
> The big question is, are people interested in a second meeting this
> month? Is tomorrow night too soon?
Well, whatever the answer to this question is, Adam's going to be
there tomorrow night to speak. I think I'll go too! :)
Paul.
From scratchcomputing at gmail.com Tue Aug 9 14:13:45 2005
From: scratchcomputing at gmail.com (Eric Wilhelm)
Date: Tue, 9 Aug 2005 14:13:45 -0700
Subject: [Pdx-pm] Second August Meeting?
In-Reply-To: <20050809191630.GG11985@joshheumann.com>
References: <20050809191630.GG11985@joshheumann.com>
Message-ID: <200508091413.45746.ewilhelm@cpan.org>
# from Josh Heumann
# on Tuesday 09 August 2005 12:16 pm:
>Adam Kennedy reminded me that he is also in town and available to give
> a talk. He's interested in giving a talk on any of his modules[1],
> but some people on the list had mentioned PPI specifically[2].
So many to choose from! PPI sounds interesting.
>The big question is, are people interested in a second meeting this
>month? Is tomorrow night too soon?
I was just about to ask if the "Special August Meeting" was special in
that it's the August meeting at a different time or special in that
it's in addition to the unspecial one?
I have a recurring slot on my calendar there anyway, so it's not like it
would be surprising to have it tomorrow.
--Eric
(sorry if this shows up 3 times -- I've been changing addresses and
trying to get the subscriptions sorted out.)
--
The only thing that could save UNIX at this late date would be a new $30
shareware version that runs on an unexpanded Commodore 64.
--Don Lancaster (1991)
---------------------------------------------
http://scratchcomputing.com
---------------------------------------------
From schwern at pobox.com Tue Aug 9 14:13:10 2005
From: schwern at pobox.com (Michael G Schwern)
Date: Tue, 9 Aug 2005 14:13:10 -0700
Subject: [Pdx-pm] Second August Meeting?
In-Reply-To: <20050809191630.GG11985@joshheumann.com>
References: <20050809191630.GG11985@joshheumann.com>
Message-ID: <20050809211310.GA1474@windhund.schwern.org>
On Tue, Aug 09, 2005 at 12:16:30PM -0700, Josh Heumann wrote:
> Adam Kennedy reminded me that he is also in town and available to give a
> talk. He's interested in giving a talk on any of his modules[1], but some
> people on the list had mentioned PPI specifically[2].
>
> The big question is, are people interested in a second meeting this
> month? Is tomorrow night too soon?
I'm in for PPI.
--
Michael G Schwern schwern at pobox.com http://www.pobox.com/~schwern
I do have a cause though. It's obscenity. I'm for it.
- Tom Lehrer
From perl-pm at joshheumann.com Tue Aug 9 14:47:35 2005
From: perl-pm at joshheumann.com (Josh Heumann)
Date: Tue, 9 Aug 2005 14:47:35 -0700
Subject: [Pdx-pm] August Meeting #2
Message-ID: <20050809214735.GC12539@joshheumann.com>
August Meeting
Wednesday, August 10th, 2005 6:30pm at Free Geek, 1741 SE 10th Ave
Adam Kennedy, PPI - Parsing, Analyzing and Manipulating Perl (without
perl)
PPI is finally here. And it brings with it a paradigm shift in the way
in which we work with Perl source code. Voted the "talk that made my
head hurt the most", come find out why "Only perl can parse Perl" is
dead, why "perl can't parse Perl", and discover vast sweeping fjords of
cool new Perl-related modules.
From cdawson at webiphany.com Tue Aug 9 15:43:23 2005
From: cdawson at webiphany.com (Chris Dawson)
Date: Tue, 09 Aug 2005 15:43:23 -0700
Subject: [Pdx-pm] Second August Meeting?
In-Reply-To:
References: <20050809191630.GG11985@joshheumann.com>
Message-ID: <42F9318B.1060406@webiphany.com>
I'm in.
Chris
Paul Blair wrote:
>On 09 Aug 2005, at 12:16 PM, Josh Heumann wrote:
>
>
>
>>The big question is, are people interested in a second meeting this
>>month? Is tomorrow night too soon?
>>
>>
>
>Well, whatever the answer to this question is, Adam's going to be
>there tomorrow night to speak. I think I'll go too! :)
>
>Paul.
>_______________________________________________
>Pdx-pm-list mailing list
>Pdx-pm-list at pm.org
>http://mail.pm.org/mailman/listinfo/pdx-pm-list
>
>
>
From merlyn at stonehenge.com Tue Aug 9 18:30:43 2005
From: merlyn at stonehenge.com (Randal L. Schwartz)
Date: 09 Aug 2005 18:30:43 -0700
Subject: [Pdx-pm] Second August Meeting?
In-Reply-To: <200508091413.45746.ewilhelm@cpan.org>
References: <20050809191630.GG11985@joshheumann.com>
<200508091413.45746.ewilhelm@cpan.org>
Message-ID: <86oe86poho.fsf@blue.stonehenge.com>
>>>>> "Eric" == Eric Wilhelm writes:
>> Adam Kennedy reminded me that he is also in town and available to give
>> a talk. He's interested in giving a talk on any of his modules[1],
>> but some people on the list had mentioned PPI specifically[2].
Eric> So many to choose from! PPI sounds interesting.
I'll come and provide the required disclaimers on cue. :)
--
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
Perl/Unix/security consulting, Technical writing, Comedy, etc. etc.
See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training!
From perl-pm at joshheumann.com Wed Aug 10 10:04:16 2005
From: perl-pm at joshheumann.com (Josh Heumann)
Date: Wed, 10 Aug 2005 10:04:16 -0700
Subject: [Pdx-pm] Contract work: steworks.com
Message-ID: <20050810170415.GB16813@joshheumann.com>
----- Forwarded message from Stewart Hartsfield -----
Date: Tue, 09 Aug 2005 18:43:27 -0700
From: Stewart Hartsfield
Subject: Re: need developer
Hello Josh,
Thanks for your reply this morning.
We're looking for an independent contractor, rather than an employee.
The gig would not be one to retire on - we do need a budget solution.
We're looking for a developer/programmer/ who can advise & consult with
us first, then move quickly to help us realize about 5-7 pages to wrap
around an osCommerce shopping cart as a "participatory" front end. We
have a story to tell, and want to encourage site visitors to share their
own stories, so we want to provide some manner of upload, with some
manner of oversight, and relative ease of update, all in a form that can
integrate with the existing cart.
If you can put this much in front of membership, they could contact us
directly if there's an interest.
Stewart Hartsfield
503/684-0411
Josh Heumann wrote:
>Hello Stewart,
>
>Can you give me a little more information regarding what kinds of skills
>you'd like an employee to have and any contact information (other than
>the email address) that I could send along to my members?
>
>Thanks,
>Josh
>
>
>
>
>>Hello Josh,
>>
>>We need a developer, versed in open source, to continue work on our
>>e-commerce site. We have an osCommerce installation that we want to wrap
>>within pages which tell a story relevant to the products we intend to
>>market & invite visitors to share their own experiences as well.
>>
>>We need some guidance as to form & implementation for the
>>"community-building wrap-around" we envision for this. We also need a
>>budget solution - I was hoping to find an independent contractor,
>>perhaps a student, who would be interested in the challenge at somewhat
>>lower rates.
>>
>>We'd prefer someone who could begin ASAP, interface with us to get our
>>needs firmly in mind, make solid recommendations as to potential
>>solutions, and quickly move to set up the site features we need.
>>
>>Any help would be greatly appreciated.
>>
>>Thanks,
>>Beverly & Stewart Hartsfield
>>
>>
>>
>
>
>
>
----- End forwarded message -----
From perl-pm at joshheumann.com Wed Aug 10 10:12:05 2005
From: perl-pm at joshheumann.com (Josh Heumann)
Date: Wed, 10 Aug 2005 10:12:05 -0700
Subject: [Pdx-pm] August Meeting #2 Tonight
Message-ID: <20050810171205.GD16813@joshheumann.com>
August Meeting
Wednesday, August 10th, 2005 6:30pm at Free Geek, 1741 SE 10th Ave
Adam Kennedy, PPI - Parsing, Analyzing and Manipulating Perl (without
perl)
PPI is finally here. And it brings with it a paradigm shift in the way
in which we work with Perl source code. Voted the "talk that made my
head hurt the most", come find out why "Only perl can parse Perl" is
dead, why "perl can't parse Perl", and discover vast sweeping fjords of
cool new Perl-related modules.
From randall at sonofhans.net Wed Aug 10 11:49:20 2005
From: randall at sonofhans.net (Randall Hansen)
Date: Wed, 10 Aug 2005 11:49:20 -0700
Subject: [Pdx-pm] queueing, avoiding race conditions
Message-ID: <117B5936-1103-421D-B4B2-08664EF0CC8D@sonofhans.net>
folks ~
this isn't really a Perl problem, although i'll be implementing the
solution in Perl. i need to create a job queue for a long-running
process.
i'm querying and updating Widgets. normal case is to update all
1,000 Widgets, which takes several hours. special case is to update
a small group of Widgets.
if one Widget process is running, no other Widget process should run
at the same time (there are good and sufficient reasons for this).
if someone wants to update another Widget[s], this request should be
added to the queue.
roughly:
- Widget updater "A" begins
- IF another Widget update ("B") is requested
- request "B" is queued
- process "A" completes
- process "A" examines the queue
- IF it finds request "B"
- goto 1
- end
one suggestion i've had is to try to create a MySQL[1] heap table
when the update process begins. if the table does not already
exists, the process (a) creates and locks it, (b) adds an entry for
itself, (c) unlocks it.
if the table exists, and the PID of the first item in the queue
exists, the process does the lock/add/unlock cycle, returns a "wait a
bit" message, and exists cleanly. if the PID of the first item does
not exist, we assume that it's crashed, and pop it off.
after an update process completes, it removes itself from the queue
and checks for a next entry. if present, it configures itself as
that next entry, updates the entry's PID, and continues. if there's
no next entry, it deletes the table.
the bugbear of this problem seems to be race conditions. i could
create a bunch of exception handling for the algorithm, but it seems
like (a) that would get dirty very fast, and (b) be a PITA to test.
anyone have suggestions, or critiques of the algorithm and method
i've presented?
TIA,
r
----
1) target DB is MySQL 4.0.18
From tom.phoenix at gmail.com Wed Aug 10 13:03:48 2005
From: tom.phoenix at gmail.com (Tom Phoenix)
Date: Wed, 10 Aug 2005 13:03:48 -0700
Subject: [Pdx-pm] queueing, avoiding race conditions
In-Reply-To: <117B5936-1103-421D-B4B2-08664EF0CC8D@sonofhans.net>
References: <117B5936-1103-421D-B4B2-08664EF0CC8D@sonofhans.net>
Message-ID: <31086b2405081013032ea16eac@mail.gmail.com>
Maybe there's a good reason not to do it this way, but it's simple and
straightforward....
1. Every request gets put into a queue.
The queue could be kept in a file (locked with flock), or in a
database, or on a filesystem. (One simple implementation on a
unix-like filesystem would be to write the request as a complete file
in directory X, then hard-link the file into directory Y, which is the
actual queue directory. By using the hard link, the complete request
"appears" in the queue at once, avoiding race conditions.)
2. A simple process drains the queue, one request at a time.
This process is started automatically just after an item is queued,
unless there's already a process running.
3. When the queue is empty, the process simply quits. Or it sleeps and
awaits SIGCONT to be sent after an item is queued, perhaps.
> the bugbear of this problem seems to be race conditions.
If a single process drains the queue, there are relatively few race
conditions to deal with.
Maybe you don't want the overhead of queueing for every item when
there's usually no need for it. I can't blame you, but the simpler
algorithm has fewer places for race conditions to hide.
Or have I missed something important? Hope this helps!
--Tom Phoenix
From tex at off.org Wed Aug 10 15:37:06 2005
From: tex at off.org (Austin Schutz)
Date: Wed, 10 Aug 2005 15:37:06 -0700
Subject: [Pdx-pm] queueing, avoiding race conditions
In-Reply-To: <31086b2405081013032ea16eac@mail.gmail.com>
References: <117B5936-1103-421D-B4B2-08664EF0CC8D@sonofhans.net>
<31086b2405081013032ea16eac@mail.gmail.com>
Message-ID: <20050810223706.GP24956@gblx.net>
On Wed, Aug 10, 2005 at 01:03:48PM -0700, Tom Phoenix wrote:
> Maybe there's a good reason not to do it this way, but it's simple and
> straightforward....
>
> 1. Every request gets put into a queue.
>
> The queue could be kept in a file (locked with flock), or in a
> database, or on a filesystem. (One simple implementation on a
> unix-like filesystem would be to write the request as a complete file
> in directory X, then hard-link the file into directory Y, which is the
> actual queue directory. By using the hard link, the complete request
> "appears" in the queue at once, avoiding race conditions.)
>
> 2. A simple process drains the queue, one request at a time.
>
> This process is started automatically just after an item is queued,
> unless there's already a process running.
>
> 3. When the queue is empty, the process simply quits. Or it sleeps and
> awaits SIGCONT to be sent after an item is queued, perhaps.
>
> > the bugbear of this problem seems to be race conditions.
>
> If a single process drains the queue, there are relatively few race
> conditions to deal with.
>
> Maybe you don't want the overhead of queueing for every item when
> there's usually no need for it. I can't blame you, but the simpler
> algorithm has fewer places for race conditions to hide.
>
> Or have I missed something important? Hope this helps!
>
I would suggest the use of a lock file to make sure there is only
a single process draining the queue (perldoc flock).
Even if you separate the queue flushing from the requesting code,
it's still handy to make sure you don't accidentally start two queue
processors. I do this with a bunch of my code, especially those things
which run from cron and I don't want to ever have a zillion copies running
at once.
Austin
From schwern at pobox.com Wed Aug 10 15:41:14 2005
From: schwern at pobox.com (Michael G Schwern)
Date: Wed, 10 Aug 2005 15:41:14 -0700
Subject: [Pdx-pm] queueing, avoiding race conditions
In-Reply-To: <117B5936-1103-421D-B4B2-08664EF0CC8D@sonofhans.net>
References: <117B5936-1103-421D-B4B2-08664EF0CC8D@sonofhans.net>
Message-ID: <20050810224114.GB11232@windhund.schwern.org>
On Wed, Aug 10, 2005 at 11:49:20AM -0700, Randall Hansen wrote:
> roughly:
> - Widget updater "A" begins
> - IF another Widget update ("B") is requested
> - request "B" is queued
> - process "A" completes
> - process "A" examines the queue
> - IF it finds request "B"
> - goto 1
> - end
If I understand the problem properly, here's a very simple solution.
Make a directory: queue/
Stick one file into queue/ for each request.
Your processor reads the files in the queue.
It works through them in filename order.
Before processing a request, check if its read locked. If it is, don't
process it.
When you begin work on a request, read lock the file.
When you're done processing, delete the file.
Re-read the files in queue/ in case more have been added.
Continue processing until there are no more unlocked files.
This should work well no matter how many processors you have or when requests
are added. It also works well with pipelining. If each request has to go
through several processes instead of deleting a request on completion you
just move it to another queue.
--
Michael G Schwern schwern at pobox.com http://www.pobox.com/~schwern
Ahh email, my old friend. Do you know that revenge is a dish that is best
served cold? And it is very cold on the Internet!
From masque at pobox.com Wed Aug 10 18:59:35 2005
From: masque at pobox.com (Paul Blair)
Date: Wed, 10 Aug 2005 18:59:35 -0700
Subject: [Pdx-pm] OMG SHORTAR VIDEOZ PLZ
Message-ID:
Seriously funny, but HOLY CRAP long.
(This message shortened from a paragraph-long missive by your
friendly neighborhood ua filter.)
Paul. On the couch. Next to the filter.
From hydo at mac.com Wed Aug 10 19:01:21 2005
From: hydo at mac.com (Clint Moore)
Date: Wed, 10 Aug 2005 19:01:21 -0700
Subject: [Pdx-pm] OMG SHORTAR VIDEOZ PLZ
In-Reply-To:
References:
Message-ID: <248F1966-4787-4D97-8A85-521AF802FCE1@mac.com>
Sorry, what?
On Aug 10, 2005, at 6:59 PM, Paul Blair wrote:
> Seriously funny, but HOLY CRAP long.
>
> (This message shortened from a paragraph-long missive by your
> friendly neighborhood ua filter.)
>
> Paul. On the couch. Next to the filter.
From merlyn at stonehenge.com Wed Aug 10 20:06:18 2005
From: merlyn at stonehenge.com (Randal L. Schwartz)
Date: 10 Aug 2005 20:06:18 -0700
Subject: [Pdx-pm] PPI fails to handle (evil) prototypes
Message-ID: <861x51matx.fsf@blue.stonehenge.com>
Just because I thought it was time to get to beer, I stopped asking
the important questions...
for a further illustration of what I was referencing, see
.
Basically, once you permit Prototypes, you can no longer "lex" Perl in
absence of prototype awareness. And if those prototypes are outside
the current file, you can never accurately determine tokens, and
therefore statements, and therefore comments and pod, without also
looking outside the file.
Hence, PPI will always, at best, be "close". And for you personally,
maybe "close enough". But PPI can never know when it gets it wrong,
and thus can never tell you either. You have to have some sort of
independent verification that PPI has not mangled your program.
--
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
Perl/Unix/security consulting, Technical writing, Comedy, etc. etc.
See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training!
From perl-pm at joshheumann.com Thu Aug 11 09:42:03 2005
From: perl-pm at joshheumann.com (Josh Heumann)
Date: Thu, 11 Aug 2005 09:42:03 -0700
Subject: [Pdx-pm] OMG SHORTAR VIDEOZ PLZ
In-Reply-To:
References:
Message-ID: <20050811164203.GB21951@joshheumann.com>
Paul, it was so nice of you to volunteer to find us a suitable video for
next month. I really appreciate it.
Clint, the video was Look Around You[1] programme two.
For those of you who have a longer attention span than Paul and want to
see the rest of the show, there are five more episodes that I'm sure you can
find on bittorrent or some such technology in which I definitely don't
participate.
Josh
[1]: http://www.bbc.co.uk/comedy/lookaroundyou/
> Seriously funny, but HOLY CRAP long.
>
> (This message shortened from a paragraph-long missive by your
> friendly neighborhood ua filter.)
>
> Paul. On the couch. Next to the filter.
> _______________________________________________
> Pdx-pm-list mailing list
> Pdx-pm-list at pm.org
> http://mail.pm.org/mailman/listinfo/pdx-pm-list
From cdawson at webiphany.com Thu Aug 11 17:48:19 2005
From: cdawson at webiphany.com (Chris Dawson)
Date: Thu, 11 Aug 2005 17:48:19 -0700
Subject: [Pdx-pm] OMG SHORTAR VIDEOZ PLZ
In-Reply-To: <20050811164203.GB21951@joshheumann.com>
References:
<20050811164203.GB21951@joshheumann.com>
Message-ID: <42FBF1D3.90202@webiphany.com>
Josh,
I personally really enjoy the videos and think that people will fondly
remember your tenure because of that extra color. And, I also should
take a moment to state my appreciation for you spearheading the PDX.pm.
The wide variety and quality of speakers has been top-notch.
Chris
From raanders at acm.org Sat Aug 13 12:41:13 2005
From: raanders at acm.org (Roderick A. Anderson)
Date: Sat, 13 Aug 2005 12:41:13 -0700 (PDT)
Subject: [Pdx-pm] Documentation Templates for CGI scripts
Message-ID:
That is probably a pretty simplistic ( simpleton ) way to put it.
I'm about half way through Damian Conway's "Perl Best Practices" and
having a great read. As a _very_ part time coder I had, and let grow,
some very sloppy habits. Some of those, as I read the book, it seems
are baggage from perl 4.0.36 on DOS.
One thing that I didn't see addressed in the Documentation chapter is how
to document _invisible_ scripts. Those that only a coder will look but
aren't really modules. Maybe it's my naivety but I don't see the "normal"
pod documentation doing much good in these since they should almost never
be run from a command line.
What I'm interested in is how those of you that write web apps document
your code.
Thanks,
Rod
--
"Open Source Software - You usually get more than you pay for..."
"Build A Brighter Lamp :: Linux Apache {middleware} PostgreSQL"
From jkeroes at eli.net Sat Aug 13 14:00:34 2005
From: jkeroes at eli.net (Joshua Keroes)
Date: Sat, 13 Aug 2005 14:00:34 -0700
Subject: [Pdx-pm] Documentation Templates for CGI scripts
In-Reply-To:
References:
Message-ID:
On Aug 13, 2005, at 12:41 PM, Roderick A. Anderson wrote:
> how
> to document _invisible_ scripts. Those that only a coder will look
> but
> aren't really modules. Maybe it's my naivety but I don't see the
> "normal"
> pod documentation doing much good in these since they should almost
> never
> be run from a command line.
>
> What I'm interested in is how those of you that write web apps
> document
> your code.
There are three consumers of code you write:
1. You, the author
2. Other developers and code maintainers
3. Users
I write different comments for all three. Let's consider your example
of a web app.
For other developers and people who will follow in my footsteps,
either maintaining code or adding features, I write POD
documentation. General methodology is explained; how all the larger
pieces fit together. How to use these pieces. Examples. Where to go
for more information.
For myself, I write comments. Why did I write a method one particular
way. Why did I use one strategy instead of another. Anything strange;
anything klugy, anything that might make me scratch my head after a
year should be commented.
Users get webpages. If they're already in a browser, why make them go
elsewhere?
As you can see, POD is still extremely important. The only time I
don't feel obliged to write POD is for something like a
CGI::Application program, a program that has only two or three lines
of code, where the modules used are already well-documented.
Hope this helps,
Joshua
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.pm.org/pipermail/pdx-pm-list/attachments/20050813/d15efdf1/attachment.html
From randall at sonofhans.net Sat Aug 13 14:22:36 2005
From: randall at sonofhans.net (Randall Hansen)
Date: Sat, 13 Aug 2005 14:22:36 -0700
Subject: [Pdx-pm] Documentation Templates for CGI scripts
In-Reply-To:
References:
Message-ID: <6951F7C1-31E1-4726-8EAF-3393E66236A8@sonofhans.net>
On Aug 13, 2005, at 12:41 PM, Roderick A. Anderson wrote:
> One thing that I didn't see addressed in the Documentation chapter
> is how
> to document _invisible_ scripts. Those that only a coder will look
> but
> aren't really modules.
FWIW, i try very hard to avoid these. the more i try, the easier it
gets :)
> What I'm interested in is how those of you that write web apps
> document
> your code.
this is a typical cgi script for me:
#!/usr/bin/perl
use strict;
use warnings;
use ToolTrack::CGI;
ToolTrack::CGI->new( config_path => '../config.yaml' )->run_cgi;
all the documentation is in the modules. that means it's trivial to
test, as well, since i can match regexes on the output of
individual ::CGI methods.
r
From raanders at acm.org Tue Aug 16 16:53:53 2005
From: raanders at acm.org (Roderick A. Anderson)
Date: Tue, 16 Aug 2005 16:53:53 -0700 (PDT)
Subject: [Pdx-pm] Documentation Templates for CGI scripts
In-Reply-To: <6951F7C1-31E1-4726-8EAF-3393E66236A8@sonofhans.net>
Message-ID:
Joshua, Randall;
Thanks for the great ideas. I think I've mentioned more than once that
I'm recovering from too many years of perl 4.0.36 and isolation from doing
I think I'll be using a combination of comments and pod. I developed a
method to comment shell ( and perl ) code that will work as a wrapper
around the pod. Either way I win.
Again thanks for the ideas,
Rod
--
"Open Source Software - You usually get more than you pay for..."
"Build A Brighter Lamp :: Linux Apache {middleware} PostgreSQL"
From pdxpm at punch.net Wed Aug 17 16:59:51 2005
From: pdxpm at punch.net (Tom Heady)
Date: Wed, 17 Aug 2005 16:59:51 -0700
Subject: [Pdx-pm] Looking for Perl contractor in Downtown Portland
Message-ID: <4303CF77.7060305@punch.net>
My company (MiraLink) is looking for a Perl contractor. We've got a
really good team, there's just too much to do and not enough time to do it.
We're mostly looking for someone who knows c, and can write tests and
documentation and does not mind digging into code that needs to be
refactored.
For more information see: http://jobs.perl.org/job/2972
Let me know if you have any questions, and I will forward them to the
hiring manager.
Thanks,
Tom
From perl-pm at joshheumann.com Mon Aug 22 09:34:43 2005
From: perl-pm at joshheumann.com (Josh Heumann)
Date: Mon, 22 Aug 2005 09:34:43 -0700
Subject: [Pdx-pm] [adam@phase-n.com: [ANNOUNCE] Parse::Perl Planning
Meeting: Saturday, August 27, 2005 at 07:00:00 UTC]
Message-ID: <20050822163442.GB24667@joshheumann.com>
----- Forwarded message from Adam Kennedy -----
Date: Sat, 20 Aug 2005 22:46:33 +1000
From: Adam Kennedy
To: parseperl-discuss at lists.sourceforge.net
Cc: pdxpm at joshheumann.com, Damian Conway ,
Paul Blair , J Matisse Enzer ,
miyagawa at bulknews.net, tonys at oreillynet.com, deirdre_skye at web.de
Subject: [ANNOUNCE] Parse::Perl Planning Meeting: Saturday, August 27, 2005
at 07:00:00 UTC
Greetings folks
I'd like to invite any and all Perl folks with an interest in PPI,
Perl::BestPractice, the Perl::Editor API, currently working on a Perl
editor project, or any other related topics, to the first official
Parse::Perl project planning meeting.
Location:
irc://irc.perl.org/parseperl
Time:
Saturday, August 27, 2005 at 07:00:00 UTC
Given that that we've got people spread across US, Euro and AU, and with
the help of dcnad, I've tried to pick a time that should be at least
equally offensive for everybody.
Basically, late friday night US, earlyish Saturday EU, and Saturday
afternoon in AU
For details on your time zone see
http://www.timeanddate.com/worldclock/fixedtime.html?year=2005&month=8&day=27&hour=7&min=0&sec=0
Agenda:
Since it's going to be pretty late US and early Saturday in the middle
of the family-activities-month in Euro, we'll be running the meeting to
a tight time table, and for no longer than an hour.
UTC-0700 Call to order, introductions all round
UTC-0710 Project Update and Questions (Adam K)
UTC-0720 Infrastructure Modules Planning and Discussion
(document caches, metrics database etc)
UTC-0730 Editor Comparison and blue sky thoughts
UTC-0740 Perl::Editor feature discussion (given discussions on point 4.)
UTC-0750 PPI 1.100 Feature Requests, Perl::BestPractice discussion
UTC-0800 Meeting close - General discussion, hacking, and brainstorming
Coordination:
For coordination purposes, all events will be made within 1 minute of
actual synchronized time. You may wish to turn up a little early to be
certain.
Please note although I won't be moderating the channel, please limit any
questions to on topic questions and please shut up if I tell you.
I might move ahead early if we exhaust a topic, but I don't plan on
falling behind. Any remaining discussion at the end of each period can
wait for until general discussion after the meeting.
At least a few people (including me) will be around for a number of
hours afterwards working on various things, so there's plenty of time.
Minutes:
I won't be keeping minutes, but I'd it if someone could log the meeting,
plus a while into the general discussion period, for the benefit of
those that can't attend, and I'll summarize in my use.perl.org journal
afterwards.
That's it, I hope to see you all there. Please feel free to forward this
email to people or other mailing lists you think may be interested.
Adam K
----- End forwarded message -----
From kyle at cepaso.com Mon Aug 22 14:18:17 2005
From: kyle at cepaso.com (Kyle Dawkins)
Date: Mon, 22 Aug 2005 14:18:17 -0700
Subject: [Pdx-pm] Getting a list of methods that a package responds to
Message-ID: <3FC189ED-0B92-48A8-97CE-56345C4406A6@cepaso.com>
Hi all
Sorry for asking this dopey question, but I am having some weird
problems surfing the symbol tables of some of my classes, and I can't
figure out what's going on.
The basic idea is to just get a list of methods that a package
responds to (including inherited methods). Basically, when an
instance of a class is initialised, I do something like this:
my $package = ref($self);
my %symbolTable = eval("%${package}::");
foreach my $symbol (keys %symbolTable) {
...
}
because I am looking for certain methods to "register" for use
elsewhere. However, this doesn't work; it kinda works, but it never
returns a complete list of methods; in fact, it returns *different*
lists of methods for successive calls.
So... anyone? I am not too familiar with this part of the guts of perl.
Kyle
Central Park Software
kyle at cepaso.com
From merlyn at stonehenge.com Mon Aug 22 14:23:50 2005
From: merlyn at stonehenge.com (Randal L. Schwartz)
Date: 22 Aug 2005 14:23:50 -0700
Subject: [Pdx-pm] Getting a list of methods that a package responds to
In-Reply-To: <3FC189ED-0B92-48A8-97CE-56345C4406A6@cepaso.com>
References: <3FC189ED-0B92-48A8-97CE-56345C4406A6@cepaso.com>
Message-ID: <86pss58y3d.fsf@blue.stonehenge.com>
>>>>> "Kyle" == Kyle Dawkins writes:
Kyle> Sorry for asking this dopey question, but I am having some weird
Kyle> problems surfing the symbol tables of some of my classes, and I can't
Kyle> figure out what's going on.
Kyle> The basic idea is to just get a list of methods that a package
Kyle> responds to (including inherited methods).
The debugger can do this with the "m" command. Perhaps you can look
at the sources of the debugger to see how it does this.
--
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
Perl/Unix/security consulting, Technical writing, Comedy, etc. etc.
See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training!
From merlyn at stonehenge.com Mon Aug 22 14:27:03 2005
From: merlyn at stonehenge.com (Randal L. Schwartz)
Date: 22 Aug 2005 14:27:03 -0700
Subject: [Pdx-pm] Getting a list of methods that a package responds to
In-Reply-To: <86pss58y3d.fsf@blue.stonehenge.com>
References: <3FC189ED-0B92-48A8-97CE-56345C4406A6@cepaso.com>
<86pss58y3d.fsf@blue.stonehenge.com>
Message-ID: <86ll2t8xy0.fsf@blue.stonehenge.com>
>>>>> "Randal" == Randal L Schwartz writes:
Randal> The debugger can do this with the "m" command. Perhaps you can look
Randal> at the sources of the debugger to see how it does this.
In particular, see "methods_via" in perl5db.pl somewhere in your @INC.
--
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
Perl/Unix/security consulting, Technical writing, Comedy, etc. etc.
See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training!
From ptkwt at aracnet.com Mon Aug 22 14:38:29 2005
From: ptkwt at aracnet.com (Phil Tomson)
Date: Mon, 22 Aug 2005 14:38:29 -0700 (PDT)
Subject: [Pdx-pm] Getting a list of methods that a package responds to
In-Reply-To: <3FC189ED-0B92-48A8-97CE-56345C4406A6@cepaso.com>
Message-ID:
On Mon, 22 Aug 2005, Kyle Dawkins wrote:
> Hi all
>
> Sorry for asking this dopey question, but I am having some weird
> problems surfing the symbol tables of some of my classes, and I can't
> figure out what's going on.
>
> The basic idea is to just get a list of methods that a package
> responds to (including inherited methods). Basically, when an
> instance of a class is initialised, I do something like this:
>
>
> my $package = ref($self);
> my %symbolTable = eval("%${package}::");
>
> foreach my $symbol (keys %symbolTable) {
> ...
> }
>
> because I am looking for certain methods to "register" for use
> elsewhere. However, this doesn't work; it kinda works, but it never
> returns a complete list of methods; in fact, it returns *different*
> lists of methods for successive calls.
>
object.methods #=> returns array of method names
And since Classes and Modules are objects you can call the methods method
on them as well (though you may want to call 'instance_methods' depending
on what you're looking for).
You want'em sorted?
object.methods.sort
Looking for a particular method?
object.include? "methodname" #=> returns true of false
Oh, wait ...oops, sorry wrong list ;-)
Phil
From scratchcomputing at gmail.com Mon Aug 22 16:23:53 2005
From: scratchcomputing at gmail.com (Eric Wilhelm)
Date: Mon, 22 Aug 2005 16:23:53 -0700
Subject: [Pdx-pm] Getting a list of methods that a package responds to
In-Reply-To: <3FC189ED-0B92-48A8-97CE-56345C4406A6@cepaso.com>
References: <3FC189ED-0B92-48A8-97CE-56345C4406A6@cepaso.com>
Message-ID: <200508221623.53943.ewilhelm@cpan.org>
# from Kyle Dawkins
# on Monday 22 August 2005 02:18 pm:
>because I am looking for certain methods to "register" for use ?
>elsewhere. ?
Is "certain methods" a finite list (as opposed to a regex match)? If
so, you could just see if the object/package can() those methods.
...
my @can;
foreach my $method (@certain_methods) {
$package->can($method) and push(@can, $method);
}
...
--Eric
--
"You can't win. You can't break even. You can't quit."
--Ginsberg's Restatement of the Three Laws of Thermodynamics
---------------------------------------------
http://scratchcomputing.com
---------------------------------------------
From kyle at cepaso.com Mon Aug 22 16:53:59 2005
From: kyle at cepaso.com (Kyle Dawkins)
Date: Mon, 22 Aug 2005 16:53:59 -0700
Subject: [Pdx-pm] Getting a list of methods that a package responds to
In-Reply-To: <200508221623.53943.ewilhelm@cpan.org>
References: <3FC189ED-0B92-48A8-97CE-56345C4406A6@cepaso.com>
<200508221623.53943.ewilhelm@cpan.org>
Message-ID:
Eric et al.
> Is "certain methods" a finite list (as opposed to a regex match)? If
> so, you could just see if the object/package can() those methods.
>
> ...
> my @can;
> foreach my $method (@certain_methods) {
> $package->can($method) and push(@can, $method);
> }
> ...
No, I have no list ahead of time, otherwise I would definitely have
let "can" do all the work for me.
Randall's suggestion to use perl5db.pl's methods_via() method might
prove fruitful; I'll let everyone know if it is.
Thanks for all your help so far...
Kyle
Central Park Software
kyle at cepaso.com
From perl-pm at joshheumann.com Tue Aug 23 11:56:24 2005
From: perl-pm at joshheumann.com (Josh Heumann)
Date: Tue, 23 Aug 2005 11:56:24 -0700
Subject: [Pdx-pm] Newsletter from O'Reilly UG Program
Message-ID: <20050823185624.GB30202@joshheumann.com>
----- Forwarded message from Marsee Henon -----
================================================================
O'Reilly UG Program News--Just for User Group Leaders
August 10, 2005
================================================================
-Do You Mention our User Group Discount in Your newsletter?
-Use Our Sample Chapters
-Promotional Material Available
-Safari Affiliate Program for User Groups
----------------------------------------------------------------
Book Info
----------------------------------------------------------------
***Review Books are Available
Copies of our books are available for your members to review--
send me an email and please include the book's ISBN number on
your request. Let me know if you need your book by a certain date.
Allow at least four weeks for shipping.
***Please Send Copies of Your Book Reviews
Email me a copy of your newsletter or book review.
For tips and suggestions on writing book reviews, go to:
http://ug.oreilly.com/bookreviews.html
***Discount information
Don't forget to remind your members about the 30% discount on
O'Reilly, No Starch, Paraglyph, PC Publishing, Pragmatic Bookshelf,
SitePoint, and Syngress books. Just use code DSUG.
***Group purchases with better discounts are available
Please let me know if you are interested and I can put you in
touch with our sales department.
----------------------------------------------------------------
General News
----------------------------------------------------------------
***Do you mention our User Group discount in your newsletter?
If you do, please remember to update it from 20% to 30%. The
discount code stays the same--DSUG.
***Use Our Sample Chapters for your Newsletter
Web site and newsletter editors can use the sample chapters or
sample hacks we provide online for your group's web site or newsletter.
Just reprint the article and include a URL back to the original page.
New books include "Podcasting Hacks," "Asterisk: The Future of
Telephony," "Prefactoring," and "Digital Photography Pocket Guide."
Check out our Sample Chapter page here:
http://www.oreillynet.com/pub/q/ug_sample_chapters
***Promotional Material Available:
The following items are available for your next meeting.
Numbers are limited so please don't wait too long.
Let me know the item and the amount you'd like
and I'll do my best.
-Photoshop World Tech Expo Pass, Boston, MA--Sept 8 only
-EuroOSCON Brochures
-PhotoPlus Expo Pass, New York, NY--October 20-22
-30% UG Discount bookmarks
-MAKE Magazine (limit one per group)
***Safari Affiliate Program for User Groups
Give your members access to content from Safari's thousands of
technology books, right on your site and raise money for your
user group at the same time. Use custom designed search boxes,
show the latest releases, or display your favorite book cover
with our easy to use tools.
For more information and to sign up for the Safari Affiliate
Program, go to:
http://ug.oreilly.com/safari_affl.html?CMP=EMC-U1L284871961
================================================================
O'Reilly News for User Group Members
August 10, 2005
================================================================
----------------------------------------------------------------
Book News
----------------------------------------------------------------
-PC Pest Control
-Computer Privacy Annoyances
-Start Your Engines
-Linux in a Nutshell, 5th Edition
-Linux Made Easy
-Degunking Your Mac, Tiger Edition
-Host Integrity Monitoring Using Osiris and Samhain
-Open Source for the Enterprise
-Car PC Hacks
-Adobe Photoshop CS2 One-on-One
-Using Moodle
-Nokia Smartphone Hacks
-Propellerhead Reason Tips and Tricks
-Learning Perl, 4th Edition
-Mac OS X: The Missing Manual, Tiger Edition
-MAKE Magazine Subscriptions Available
----------------------------------------------------------------
Upcoming Events
----------------------------------------------------------------
-Chris Date ("Database in Depth") Keynotes NoCOUG Next Conference,
San Ramon, CA--August 18
-Scott Berkun ("The Art of Project Management") Leads Dr. Dobbs
Great Writers NetSeminar--Aug 31
-O'Reilly at PhotoShop World, Boston, MA--September 7-8
----------------------------------------------------------------
Conference News
----------------------------------------------------------------
-ETech 2006 CFP Now Open
-Registration is Open for EuroOSCON
----------------------------------------------------------------
News
----------------------------------------------------------------
-O'Reilly Connection Launched at OSCON
-Learning Lab August Special
-What Is Flickr (and Hot Tips for Using It)
-An Interview with Chris Date
-Small Screen Testing in Firefox
-Don't Waste Time With Black Hat SEO Strategies
-Business for Geeks at OSCON 2005
-The Practicality of OO PHP
-Porting Test::Builder to Perl 6
-Problems in Oracle Reports
-Automator Automaton--David Pogue's Podcast
-What Is NeoOffice/J (and Can It Replace MS Office)
-An In-Depth Look at Vista, Part 1
-Internet Security Annoyances
-Localization in ASP.NET 2.0
-Give Your Business Logic a Framework with Drools
-Digital Photography Hack: A Hands-Free Shooting Rig
-Bay Area Maker Faire, San Mateo, CA--November 12 & 13
-Hacking Ebook Readers
----------------------------------------------------------------
>From Your Peers
----------------------------------------------------------------
-Announcing "Picn*x14", Sunnyvale, CA--August 14
================================================
Book News
================================================
Did you know you can request a free book to review for your
group? Ask your group leader for more information.
For book review writing tips and suggestions, go to:
http://ug.oreilly.com/bookreviews.html
Don't forget, you can receive 30% off any O'Reilly, No Starch,
Paraglyph, PC Publishing, Pragmatic Bookshelf, SitePoint, or Syngress
book you purchase directly from O'Reilly.
Just use code DSUG when ordering online or by phone 800-998-9938.
http://www.oreilly.com/
***Free ground shipping is available for online orders of at
least $29.95 that go to a single U.S. address. This offer
applies to U.S. delivery addresses in the 50 states and Puerto Rico.
For more details, go to:
http://www.oreilly.com/news/freeshipping_0703.html
----------------------------------------------------------------
New Releases
----------------------------------------------------------------
***PC Pest Control
Publisher: O'Reilly
ISBN: 0596009267
This comprehensive guide helps you guard against internet pests like
adware, spyware, homepage hijackers, Trojans, spam, phishing, and more.
Written in a friendly and engaging manner, it describes each problem and
its symptoms, rates the danger level, and then shows you how to solve
the problem step by step, allowing you to surf the web with a whole new
level of confidence.
http://www.oreilly.com/catalog/pcpestcontrol/
***Computer Privacy Annoyances
Publisher: O'Reilly
ISBN: 0596007752
Written by privacy pro Dan Tynan, and based on interviews with privacy
experts from all over the globe, this book serves up real-world advice
in bite-sized portions that will help you stop snoops in their tracks.
You'll learn how to keep private information private, stop nosy bosses,
get off that incredibly annoying mailing list, and more. It's your
complete guide to a safer, saner, and more private life.
http://www.oreilly.com/catalog/privacyannoy/
Chapter 2, "Privacy at Home," is available online:
http://www.oreilly.com/catalog/privacyannoy/chapter/index.html
***Start Your Engines
Publisher: Paraglyph Press
ISBN: 1933097019
In "Start Your Engines" you will learn all of the secrets and
programming techniques of developing one of the most popular styles of
games. The book features the physics, and AI, and 3D techniques of
driving--from road conditions to collisions--presented in a unique
step-by-step format. The book is based on a customizable construction
kit approach and is the first hands-on programming guide that shows you
how to actually build and customize these popular games.
http://www.oreilly.com/catalog/1933097019/index.html
***Linux in a Nutshell, 5th Edition
Publisher: O'Reilly
ISBN: 0596009305
Considered by many to be the most complete and authoritative command
reference for Linux available, this book covers all substantial user,
programming, administration, and networking commands for the most common
Linux distributions and has been updated to cover all new features.
Everything that system administrators, developers, and power users need
to know about Linux is referenced here.
http://www.oreilly.com/catalog/linuxnut5/
Chapter 4, "Boot Methods," is available online:
http://www.oreilly.com/catalog/linuxnut5/chapter/index.html
***Linux Made Easy
ISBN: 1593270577
Based on Xandros 3, arguably one of the most user-friendly versions of
Linux available today, "Linux Made Easy" concentrates on the subjects of
most interest to the average home user or hobbyist: installation, using
the Internet, playing CDs and audio files, using scanners, working with
digital cameras and images, games, downloading software and fonts, USB
storage devices, PDAs, printing, Internet telephony, and more.
http://www.oreilly.com/catalog/1593270577/index.html
***Degunking Your Mac, Tiger Edition
Publisher: Paraglyph
ISBN: 1933097051
This Tiger edition shows all Mac users the tried-and-true techniques
they need to to run Tiger at peak performance. It explains how to get
the most from the new Tiger features, including Spotlight, Dashboard,
Safari RSS, iChat AV, OS X Tiger Mail, and many others. Mac users will
love this book because it will help them get organized, optimize their
workspace, solve clutter problems, and keep their Macs running smoothly.
http://www.oreilly.com/catalog/1933097051/
***Host Integrity Monitoring Using Osiris and Samhain
Publisher: Syngress
ISBN: 1597490180
Host Integrity Monitoring is the most effective way to determine if some
form of malicious attack or threat has compromised your network security
to modify the filesystem, system configuration, or runtime environment
of monitored hosts. This book provides foundation information on host
integrity monitoring as well as specific, detailed instruction on using
best of breed products Osiris and Samhain. By the end of the book,
you'll understand not only the strengths and limitations of host
integrity tools, but understand how to effectively make use of them in
order to integrate them into a security policy.
http://www.oreilly.com/catalog/1597490180/index.html
***Open Source for the Enterprise
Publisher: O'Reilly
ISBN: 0596101198
The authors of this important book have each used open source software
for some 15 years at IT departments large and small, and they have
collected the wisdom of a host of experts from IT departments, open
source communities, and software companies. This book provides a top to
bottom view not only of the technology available, but of the skills
required to manage it and the organizational issues that must be
addressed.
http://www.oreilly.com/catalog/opensourceent/
Chapter 6, "Support Models for Open Source," is available online:
http://www.oreilly.com/catalog/opensourceent/chapter/index.html
***Car PC Hacks
Publisher: O'Reilly
ISBN: 0596008716
This comprehensive and easy-to-read guide is the first book available to
introduce and entrench you into the hot new car PC market. It gets you
started with its introduction to the basics of car electrical systems
and is packed with clear explanations and real-life examples. Whether
you're venturing into the car PC world for the first time or you're an
experienced hobbyist, you're guaranteed a joy ride.
http://www.oreilly.com/catalog/carpchks/
Sample Hack 60, "Control Your Car PC with Voice Recognition," is
available online:
http://www.oreilly.com/catalog/carpchks/chapter/index.html
***Adobe Photoshop CS2 One-on-One
Publisher: O'Reilly
ISBN: 0596100965
A straightforward, step-by-step guide to the features and functions of
Photoshop, this book covers the new features of CS2 in depth, with
plenty of real-world projects and insider tips along the way. Learn how
to use the new workflow and file handling features, how to batch process
digital camera raw files, search metadata, quickly review images in
Slideshow mode, and much more. Comes with two hours of video training
on CD.
http://www.oreilly.com/catalog/photocs2/
***Using Moodle
Publisher: O'Reilly
ISBN: 0596008635
Developed by an extremely active open source community, Moodle is a
sophisticated course management system that's ideal for creating dynamic
online learning communities and for supplementing face-to-face learning.
This book is a comprehensive, hands-on guide that explains how the
system works, with plenty of examples and best practices for its many
features and plug-in modules. For anyone who is using (or thinking of
using) this CMS, this is required reading.
http://www.oreilly.com/catalog/moodle/
Chapter 1, "Introduction," is available online:
http://www.oreilly.com/catalog/moodle/chapter/index.html
***Nokia Smartphone Hacks
Publisher: O'Reilly
ISBN: 0596009615
Whether you want to use your smartphone as your lifeline on the road, or
you're just looking for ways to maximize the time you spend waiting in
lines, you'll find all the user-friendly tips, tools, and tricks you
need to become massively productive with your Nokia smartphone. Learn
how to take screen shots, access internet content, use email and
messaging, and so much more.
http://www.oreilly.com/catalog/nokiasmarthks/
Sample Hack 31, "Record a Phone Call," is available online:
http://www.oreilly.com/catalog/nokiasmarthks/chapter/index.html
***Propellerhead Reason Tips and Tricks
Publisher: PC Publishing
ISBN: 187077597X
This invaluable guide covers everything you need to know about using
Reason in your everyday music making. Ideal for beginners, intermediate,
and experienced users, this book covers topics from advice on computer
audio setups and operating systems through to working methods, linking
Reason with other programs, detailed MIDI editing, and more. It even
tells you how to mix and publish your original tracks.
http://www.oreilly.com/catalog/187077597X/
***Learning Perl, 4th Edition
Publisher: O'Reilly
ISBN: 0596101058
Informed by their years of success at teaching Perl as consultants, the
authors have re-engineered the Llama to better match the pace and scope
appropriate for readers getting started with Perl, while retaining the
detailed discussion and eclectic wit for which the Llama is famous. This
latest edition has been updated to account for all the recent changes to
the language up to Perl 5.8.
http://www.oreilly.com/catalog/learnperl4/
Chapter 11, "File Tests," is available online:
http://www.oreilly.com/catalog/learnperl4/
***Mac OS X: The Missing Manual, Tiger Edition
Publisher: O'Reilly
ISBN: 0596009410
As soon as Apple comes out with another version of Mac OS X, David Pogue
hits the streets with another impeccable Missing Manual to cover it.
This new edition explores the latest features in Mac OS X Tiger, such as
Spotlight, iChat AV, and Automator. Ideal for every user, this guide has
something new on every page, along with David Pogue's celebrated wit and
expertise.
http://www.oreilly.com/catalog/macxtigermm/
***MAKE Magazine Subscriptions Available
The annual subscription price for four issues is $34.95. When you
subscribe with this link, you'll get a free issue--the first one plus
four more for $34.95. So subscribe for yourself or friends with this
great offer for charter subscribers: five volumes for the cost of four.
Subscribe at:
https://www.pubservice.com/MK/Subnew.aspx?PC=MK&PK=M5ZUGLA
================================================
Upcoming Events
================================================
***For more events, please see:
http://events.oreilly.com/
***Chris Date ("Database in Depth") Keynotes NoCOUG Next Conference,
San Ramon, CA--August 18
Author Chris Date presents "Foundation Matters" at the Northern
California Oracle Users Group's summer conference.
http://www.nocoug.org/next.html
***Scott Berkun ("The Art of Project Management") Leads Dr. Dobbs
Great Writers NetSeminar--Aug 31
Join Scott for a free 60 minute webcast on project management. Scott is
the first presenter in the new Great Writers NetSeminar Series presented
by "Dr. Dobb's Journal" and "C/C++ User's Journal."
http://www.ddj.com/netseminars/
***O'Reilly at PhotoShop World, Boston, MA--September 7-8
We'll be in Booth #514, so drop by for a snapshot of our growing line of
digital media titles. During the show, don't miss the conference session
presented by author Deke McClellend ("Adobe Photoshop CS
One-on-One").
http://www.photoshopworld.com/
================================================
Conference News
================================================
***ETech 2006 CFP Now Open
O'Reilly's Emerging Technology Conference 2006 is scheduled for March
6-9 in San Diego. We invite technologists, strategists, CTOs, chief
scientists, researchers, programmers, hackers, standards workers,
business developers, and entrepreneurs to lead sessions and tutorials at
ETech. This year's challenge focuses on the amazing amount of digital
data in our worlds: how do we visualize the data, filter it, remix it,
and access it in meaningful ways? Proposals are due by September 19th.
http://conferences.oreillynet.com/etech/
***Registration is Open for EuroOSCON
Join developers, systems and network administrators, and IT managers at
the very first O'Reilly European Open Source Convention in Amsterdam on
October 17-20. EuroOSCON will explore the best and newest open source
technologies, particularly for companies, governments, and nonprofits.
EuroOSCON showcases the diversity in open source while maintaining a
practical edge.
http://conferences.oreilly.com/eurooscon/
User Group discounts are available, email marsee at oreilly.com for more
information.
To register for the conference, go to:
http://conferences.oreillynet.com/cs/eurooscon/create/ord_euos05
================================================
News From O'Reilly & Beyond
================================================
---------------------
General News
---------------------
***O'Reilly Connection Launched at OSCON
O'Reilly Connection is a tech-centric jobs and networking site for
developers and those who want to hire them. The service was conceived
and created by Greenplum, a company commercializing the open-source
database PostgreSQL for Business Intelligence.
On O'Reilly Connection, developers build a professional profile that
lays out their skills, and experience, and network in one place. They can
connect with peers and designate "go to" people-other site members whom
they consider experts in a particular technology area-and keep tabs on
those alpha geeks through personalized watch lists.
Employers can quickly search through O'Reilly Connection to find job or
consultant candidates with the specific qualifications they need.
Because profiles on O'Reilly Connection display members' networks, they
provide a richer picture than a standard resume. During the beta period,
O'Reilly Connection is offering free job postings to all members.
http://connection.oreilly.com/
***Learning Lab August Special
In our practice-based, self-paced courses, you can build your online
portfolio with plenty of instructor feedback and a free O'Reilly book
for reference. For a limited time, use the discount passcode "tarsier"
to save an extra 15% off any of our courses--including all University of
Illinois Certificate Series.
http://oreilly.useractive.com/courses/certificates.php3
***What Is Flickr (and Hot Tips for Using It)
Flickr is an online photo management and sharing application. And it's
also one of the most innovative photo services available today. In this
article, Giles Turnbull shows you how Flickr works, then introduces you
to some of the great tools you can use to interact with it.
http://www.macdevcenter.com/pub/a/mac/2005/08/02/flickr.html
***An Interview with Chris Date
In this extensive conversation, Chris Date debunks a lot of
misinformation on "weaknesses of the relational model;" discusses the
impact of his classic book, "The Third Manifesto;" evaluates the future of
SQL as well as his past comments on the language; and closes with his
thoughts on the future of DBMSs. Chris is the author of "Database in
Depth: Relational Theory for Practitioners."
http://www.oreillynet.com/pub/a/network/2005/07/29/cjdate.html
***Small Screen Testing in Firefox
Want to test how your webpages will look on PDA's and cell phones? Alex
uncovers a nifty Firefox utility that allows you to do just that.
http://www.sitepoint.com/blog-post-view.php?id=284188
***Don't Waste Time With Black Hat SEO Strategies
Dan Thies recounts an email from a reader of his blog who wasted dozens
of hours setting up an elaborate scheme to fool Google--only to fall
flat on his face.
http://www.sitepoint.com/blog-post-view.php?id=278042
---------------------
Open Source
---------------------
***Business for Geeks at OSCON 2005
In his sold-out opening day tutorial at O'Reilly's Open Source
Conference (OSCON) 2005, Marc Hedlund, O'Reilly's
entrepreneur-in-residence, gave a crash course in seeing work from the
business point of view.
http://www.oreillynet.com/pub/a/network/2005/08/04/oscon2005_1.html
***The Practicality of OO PHP
PHP is an easy language for doing practical things immediately. The
easiest ways to begin aren't always the best ways to stay productive,
though. PHP's support for object orientation requires a little more
learning and a little more discipline, but it has many benefits for
larger projects. David Day explains the basics of OO in PHP 4.
http://www.onlamp.com/pub/a/php/2005/07/28/oo_php.html
***Porting Test::Builder to Perl 6
With Pugs and Parrot playing nicely and bringing Perl 6 to the rest of
us, enterprising early adopters are experimenting with porting their
popular Perl 5 modules to Perl 6. O'Reilly editor chromatic recently
pushed the limits of Pugs by porting Test::Builder to Perl 6. Here's
what he learned about Perl 6, Pugs, and his design along the way.
chromatic is the coauthor of "Perl Testing: A Developer's Notebook."
http://www.perl.com/pub/a/2005/07/28/test_builder_p6.html
***Problems in Oracle Reports
Noel Davis looks at problems in Oracle Reports, Skype for Linux,
MediaWiki, Kate, Kwrite, Shorewall, ekg, libgadu, PHPNews, phpSurveyor,
Affix, Heartbeat, and phpPgAdmin.
http://www.linuxdevcenter.com/pub/a/linux/2005/07/29/security_alerts.html
---------------------
Mac
---------------------
***Automator Automaton--David Pogue's Podcast
Listen to David Pogue cover Automator workflows that can help save on
computing time. Learn how to use Automator to automate backups, zip up
applications, and set alarms for automatic processing.
(4 minutes, 26 seconds)
http://www.macdevcenter.com/pub/a/mac/2005/08/09/tigerpodcast3.html
***What Is NeoOffice/J (and Can It Replace MS Office)
NeoOffice/J is the long-awaited Mac-friendly version of OpenOffice.
This open source project provides Mac users with most of the
functionality of Microsoft Office, but for free. Is NeoOffice robust
enough to serve as your only office suite in a Microsoft-dominated
world? Matthew Russell explores. Plus, an in-depth interview with its
lead developer, Patrick Lubby.
http://www.macdevcenter.com/pub/a/mac/2005/08/09/neooffice.html
---------------------
Windows/.NET
---------------------
***An In-Depth Look at Vista, Part 1
The long wait for the first beta of Microsoft's new Windows OS is
finally over. Wei-Meng Lee took it for a spin and gives a detailed
overview of Vista.
http://www.windowsdevcenter.com/pub/a/windows/2005/08/02/vista.html
***Internet Security Annoyances
Spyware, Trojans, worms, viruses, phishing, and now pharming--all
security issues that can lead to a disenchanting internet experience.
This excerpt from Internet Annoyances can help you prevent these kinds
of security breaches with tips on configuring your home router for
maximum security, constructing your own personal firewall, and more.
http://www.windowsdevcenter.com/pub/a/windows/excerpt/internetannoy_chap9/index.html
***Localization in ASP.NET 2.0
The Web is an international place. Why shouldn't your websites be ready
for international visitors? With the introduction of ASP.NET 2.0,
Microsoft aims to make it easy to localize your website for individual
users, no matter where they hail from. Wei-Meng Lee shows you how you
can localize your ASP.NET 2.0 web applications.
http://www.ondotnet.com/pub/a/dotnet/2005/08/08/localizingaspnet20.html
---------------------
Java
---------------------
***Give Your Business Logic a Framework with Drools
It's almost too easy to express your business logic as a spaghetti-code
fiasco. The result is hard to test, hard to maintain, and hard to
update. Rule engines offer an alternative: express your business logic
as rules, outside of your Java code, in a format even the business side
of the office can understand. Paul Browne uses the open source Drools
framework to introduce the idea.
http://www.onjava.com/pub/a/onjava/2005/08/03/drools.html
---------------------
Digital Media
---------------------
***Digital Photography Hack: A Hands-Free Shooting Rig
Here's how to build a hands-free photography rig using an iSight, a
Bluetooth headset, a backpack, and a dash of AppleScript that enables
you to capture images on the go by simply speaking, "Take shot." Romain
Guy shows you how to build it.
http://www.macdevcenter.com/pub/a/mac/2005/08/05/photography.html
---------------------
MAKE
---------------------
***Bay Area Maker Faire, San Mateo, CA--November 12 & 13
Join us for MAKE magazine's first ever Maker Faire--a hands-on event
featuring Makers whose science and technology projects will amaze you
and ignite your imagination. Bring your family and friends to the San
Mateo Fairgrounds for a weekend of hands-on exploration, recipe-sharing,
creative mischief-making and wholesome play.
For more information, go to:
http://makezine.com/faire/
***Hacking Ebook Readers
The Sony Librie is a stunning, e-ink eBook reading device with the most
print-like book reading experience you can have at this time (the
display moves microscopic black and white particles held within
spherical microcapsules). For the most part, it hasn't been a success in
the market--Sony crippled it with DRM and only released in it Japan.
But the hackers and tinkerers of the world have taken this device and
modded the firmware. Now we're going to show you how to make non-DRMed
eBooks for free
http://www.makezine.com/blog/archive/2005/08/how_to_make_drm_1.html
***For more information on MAKE, go to:
http://www.makezine.com/
================================================
>From Your Peers
================================================
***Announcing "Picn*x14", Sunnyvale, CA--August 14
August marks the 14th birthday of the Linux kernel, and the local Linux
community is throwing its annual picnic and barbecue to celebrate. The
picnic is a free, family-friendly event. Free food and soft-drinks will
be provided to those who RSVP in advance. Sports, games, and geeky
activities will take place.
http://www.linuxpicnic.org/
For maps and directions, see:
http://www.linuxpicnic.org/directions/
To RSVP for this event, visit:
http://www.linuxpicnic.org/rsvp/
***Don't forget to check out the O'Reilly UG wiki to see what user
groups around the globe are up to:
http://wiki.oreillynet.com/usergroups/index.cgi
Until next time--
Marsee Henon
================================================================
O'Reilly
1005 Gravenstein Highway North
Sebastopol, CA 95472
http://ug.oreilly.com/ http://www.oreilly.com
================================================================
----- End forwarded message -----
From randall at sonofhans.net Wed Aug 24 16:32:15 2005
From: randall at sonofhans.net (Randall Hansen)
Date: Wed, 24 Aug 2005 16:32:15 -0700
Subject: [Pdx-pm] testing CLI option parsing with YAML
Message-ID: <4C0F500E-3255-49B3-9C65-6AE9ED3E27BB@sonofhans.net>
folks ~
i just did something mildly cool and useful and thought i would share
it.
i have a script which accepts command-line arguments with
Getopt::Long. there's logic in the option parsing which i need to
test (e.g. some options conflict). the parsing code is in an object,
and the incoming arguments only set object properties, they don't
produce immediate output.
my solution was to create a tiny perl script on the fly, running only
the option parsing code. i run this script repeatedly with different
arguments. it parses those arguments and dumps the resulting object
properties to STDOUT using YAML. the test script captures this YAML,
turns it into a data structure, and returns it to be tested.
here's the function:
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# constructs and runs perl code which uses the module, then dumps
# the data structure returned. we parse this and return it.
sub get_data {
my( $args ) = @_;
$args ||= '';
my $perl = <new;
print Dump $p->get_options;
EOT
# double-dash tells perl to stop parsing arguments; all
# arguments after that are passed to the script
# 2>&1 captures standard error as well
my $command = "perl -Ilib -e '$perl' -- $args 2>&1";
my $results = `$command`;
my $yaml;
eval{ $yaml = Load $results };
# return raw output if YAML can't serialize the result
return $@ ? $results : $yaml;
}
sample tests:
# these arguments return raw output only
$data = get_data( '--full --oid', 0 );
like( $data, qr/ERROR: Option 'full' precludes 'oid'./);
# these arguments return data serialized by YAML
$data = get_data( '--oid 123 --ip 1.2.3.4' );
is( keys %$data, 2 );
is_deeply( $data->{ oid }, [ 123 ]);
is_deeply( $data->{ ip }, [ '1.2.3.4' ]);
r
From dpool at hevanet.com Thu Aug 25 12:45:58 2005
From: dpool at hevanet.com (David Pool)
Date: Thu, 25 Aug 2005 12:45:58 -0700
Subject: [Pdx-pm] [Fwd: [xpportland] Net Objectives' free seminar on 8/25,
Emergent Design: Design Patterns and Ref]
Message-ID: <1124999158.366.6.camel@localhost.localdomain>
Thought this might interest some mongers. It's tonight though so RSVP
quickly...
d
-------- Forwarded Message --------
From: netobjectives
Reply-To: xpportland at yahoogroups.com
To: xpportland at yahoogroups.com
Subject: [xpportland] Net Objectives' free seminar on 8/25, ?Emergent
Design: Design Patterns and Ref
Date: Wed, 24 Aug 2005 20:13:18 -0000
Hi,
I wanted to make sure everyone knew about Thursday night's free
seminar in Portland. The free seminar "Emergent Design: Design
Patterns and Refactoring for Agile Development" will be presented by
Scott Bain on Thursday, August 25, 2005 at the Standard Center,
Auditorium, 900 SW 5th Ave, in Portland, OR 97204-1235 from 6:00-
8:30pm. Pizza and refreshments will be served.
For more information on this free seminar, including how to
register, please scroll down after my signature or follow this link
to our website:
http://www.netobjectives.com/events/pr_port_2005_08_edagl.htm
We still have plenty of room in this talk, so please pass this email
along to anybody you feel may benefit from this free seminar.
Thanks,
Mike Shalloway
Director of Operations
Net Objectives
www.netobjectives.com
mike.shalloway at netobjectives.com
(404)593-8375
Net Objectives' vision is effective software development without
suffering. Our mission is to assist software development teams in
accomplishing this through a combination of training and mentoring.
*********************************************************************
******************
Emergent Design: Design Patterns and Refactoring for Agile
Development
The two approaches of creating quality, high-level, up-front designs
with design patterns or relying on emergent design using refactoring
as espoused by XP seem opposed to each other. This seminar
illustrates why design patterns and refactoring are actually two
sides of the same coin.
With the recent interest in Agility (ala eXtreme Programming), many
people are learning the importance of refactoring. According to
Martin Fowler:
"Refactoring is the process of changing a software system in such a
way that it does not alter the external behavior of the code yet
improves its internal structure. It is a disciplined way to clean up
code that minimizes the chances of introducing bugs. In essence when
you refactor you are improving the design of the code after it has
been written."
Refactoring is very important as a method of improving design to
accommodate new requirements. It is often touted as a way to fix
code mistakes. However, avoiding the code mistakes in the first
place is a better way to go. In this case, refactoring is used to
accommodate design changes required by new requirements.
Coding mistakes usually arise from improper attention to the basics
of coding:
loose coupling
strong cohesion
no redundancy
programming by intention
Understanding these principles is essential if Agile programming
methods are to be followed. This seminar walks through an evolving
code example to:
illustrate how to follow the above principles
illustrate what refactoring is
show how refactoring can improve designs to accommodate change
The code examples used contain a couple of design patterns. Thus,
the seminar also illustrates how good, high-level designs can be
accomplished by the application of good local coding rules.
Learn:
what refactoring is
how to implement the strategy and bridge pattern
the importance of loose coupling, strong cohesion and no redundancy
Who should attend:
This seminar is intended for object-oriented programmers.
Biography of Presenter:
Scott Bain is a 29-year veteran in computer technology, with a
background in development, engineering, and design. He has also
designed, delivered, and managed training programs for certification
and end-user skills, both in traditional classrooms and via distance
learning. Scott teaches courses and consults on Design Patterns,
XML, Refactoring and Unit Testing, and Test-Driven Development.
Scott is a frequent speaker at developer conferences such as JavaOne
and SDWest. He is the co-author (with Alan Shalloway) of "An
Introduction to XML and its Family of Technologies" (ISBN:
0971363005; August 10, 2001) and is currently authoring Emergent
Design: The Evolutionary Nature of Professional Software Development.
You must register to attend:
Although this seminar is free, you must register to attend. Follow
this link to register:
http://www.netobjectives.com/events/pr_port_2005_08_edagl.htm
Date and Times:
Thursday, August 25, 2005
6:00-6:30 networking and pizza
6:30-8:00 the talk
8:00-8:10 evaluations and break
8:10-8:30 extended Q&A
A charitable contribution to the Portland Rescue Mission of $1-3 is
requested for food and drink.
Location:
Standard Center, Auditorium
900 SW 5th Ave
Portland, OR 97204-1235
Click here for map of event site:
http://www.netobjectives.com/maps/portland_downtownmap.pdf. The
auditorium event site is marked "CENTER" in yellow on a blue raised
box on the map.
Park in the parking lot attached to the Center Building and proceed
to the building via an access tunnel that is on the same level as
the auditorium.
Class notes will not be handed out. Go to the bottom of the seminar
webpage in the week of the seminar to get a copy of them on-line.
------------------------ Yahoo! Groups Sponsor --------------------~-->
Get Bzzzy! (real tools to help you find a job) Welcome to the Sweet Life - brought to you by One Economy.
--------------------------------------------------------------------~->
Yahoo! Groups Links
To visit your group on the web, go to:
http://groups.yahoo.com/group/xpportland/
To unsubscribe from this group, send an email to:
xpportland-unsubscribe at yahoogroups.com
Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
From 9nn24e402 at sneakemail.com Thu Aug 25 12:49:51 2005
From: 9nn24e402 at sneakemail.com (Steve Bonds)
Date: Thu, 25 Aug 2005 12:49:51 -0700
Subject: [Pdx-pm] Portland Perl Consultant Wanted
In-Reply-To: <1448-85730@sneakemail.com>
References: <1448-85730@sneakemail.com>
Message-ID: <8792-92287@sneakemail.com>
On 5/23/05, Steve Bonds wrote:
> Portland Perl Mongers:
>
> The company I work for (Menlo Worldwide,
> http://www.menloworldwide.com) is looking for a Perl consultant for a
> short-term engagement to improve the performance of a collection of
> shell scripts supporting electronic data interchange.
I just wanted to let everyone who responded know that the lack of
response from my company was not an reflection on any of your
qualifications. My company dropped the ball on filling this position.
I will make more of an effort to determine their seriousness in
hiring before I embarass myself on a public list again. ;-)
-- Steve
From perl-pm at joshheumann.com Fri Aug 26 09:22:11 2005
From: perl-pm at joshheumann.com (Josh Heumann)
Date: Fri, 26 Aug 2005 09:22:11 -0700
Subject: [Pdx-pm] Newsletter from O'Reilly UG Program, August 25
Message-ID: <20050826162211.GA11632@joshheumann.com>
How much of these emails from O'Reilly do people find useful? I tend to
look mostly at the book news, as we can get copies of these books for
reviewing. I'm willing to take a couple of minutes and cut out sections
if it would help readability.
Josh
----- Forwarded message from Marsee Henon -----
From: Marsee Henon
Subject: Newsletter from O'Reilly UG Program, August 25
Date: Thu, 25 Aug 2005 17:34:03 -0700
================================================================
O'Reilly UG Program News--Just for User Group Leaders
August 25, 2005
================================================================
-User Group Newsletters Now Available Online
-Promotional Material Available
-Safari Affiliate Program for User Groups
----------------------------------------------------------------
Book Info
----------------------------------------------------------------
***Review Books are Available
Copies of our books are available for your members to review--
send me an email and please include the book's ISBN number on
your request. Let me know if you need your book by a certain date.
Allow at least four weeks for shipping.
***Please Send Copies of Your Book Reviews
Email me a copy of your newsletter or book review.
For tips and suggestions on writing book reviews, go to:
http://ug.oreilly.com/bookreviews.html
***Discount information
Don't forget to remind your members about the 30% discount on
O'Reilly, No Starch, Paraglyph, PC Publishing, Pragmatic Bookshelf,
SitePoint, and Syngress books. Just use code DSUG.
***Group purchases with better discounts are available
Please let me know if you are interested and I can put you in
touch with our sales department.
----------------------------------------------------------------
General News
----------------------------------------------------------------
***User Group Newsletters Now Available Online
Starting with June 17, 2005--you'll find past copies of our UG
program newsletters here:
http://www.oreillynet.com/pub/q/ug_newsletters
***Promotional Material Available:
The following items are available for your next meeting.
Numbers are limited so please don't wait too long.
Let me know the item and the amount you'd like
and I'll do my best.
-O'Reilly Catalog
-EuroOSCON Brochures
-PhotoPlus Expo Pass, New York, NY--October 20-22
-30% UG Discount bookmarks
-MAKE Magazine (limit one per group)
***Safari Affiliate Program for User Groups
Give your members access to content from Safari's thousands of
technology books, right on your site and raise money for your
user group at the same time. Use custom designed search boxes,
show the latest releases, or display your favorite book cover
with our easy to use tools.
For more information and to sign up for the Safari Affiliate
Program, go to:
http://ug.oreilly.com/safari_affl.html?CMP=EMC-U1L284871961
================================================================
O'Reilly News for User Group Members
August 25, 2005
================================================================
----------------------------------------------------------------
Book News
----------------------------------------------------------------
-FrontPage 2003: The Missing Manual
-No Nonsense XML Web Development with PHP
-Eclipse IDE Pocket Guide
-The Unofficial LEGO Builder's Guide
-XML Pocket Reference, 3rd Edition
-Network Security Evaluation Using the NSA IEM
-Fast Guide to Propellerhead Reason, 2nd Edition
-Oracle DBA Pocket Guide
-Windows XP Cookbook
-Digital Identity
-Host Integrity Monitoring Using Osiris and Samhain
-Agile Web Development with Rails
-MAKE Magazine Subscriptions Available
----------------------------------------------------------------
Upcoming Events
----------------------------------------------------------------
-Sinan Si Alhirr ("UML in a Nutshell"), Project Management Institute,
Bloomington, IL--September 13
-O'Reilly at Microsoft PDC 2005, Los Angeles, CA--September 13-16
-David Pogue (Missing Manual Series) Gloucester County College,
Sewell, NJ--October 22
----------------------------------------------------------------
Conference News
----------------------------------------------------------------
-ETech 2006 CFP Now Open
-Registration is Open for EuroOSCON
----------------------------------------------------------------
News
----------------------------------------------------------------
-MAKE: Blog is Nominated for "Best of the Web" on Business Week
-Visualizing the O'Reilly Connection Network Using FOAF and Graphviz
-What is AdSense
-SafariU: Create Your Own Textbook in No Time
-Learning Lab August Special
-Identity Management Architectures and Digital Identity
-Linux for Video Production
-How to Decide What Bugs to Fix When, Part 1
-PHP 6.0 Ingredients
-Web Apps with Tiger: Getting Started
-Build a Simple 3D Pipeline in Tcl
-Turn Your Old Mac into a Home-Automation System
-What is Visual Studio
-Setting Up Vonage with Your PC
-Using Drools in Your Enterprise Java Application
-Hacking Swing with Undocumented Classes and Properties
-Ten Tips for Improving Your Podcasts
-Get Cooking With Photoshop and CSS
-Mobile Video: Working with MPEG-4 Clips on Mobile Phones
-MAKE: Audio--Natalie Jeremijenko
-How to get RSS Feeds on Your Watch
----------------------------------------------------------------
>From Your Peers
----------------------------------------------------------------
-Charleston Code Camp, Charleston, SC--September 17
================================================
Book News
================================================
Did you know you can request a free book to review for your
group? Ask your group leader for more information.
For book review writing tips and suggestions, go to:
http://ug.oreilly.com/bookreviews.html
Don't forget, you can receive 30% off any O'Reilly, No Starch,
Paraglyph, PC Publishing, Pragmatic Bookshelf, SitePoint, or Syngress
book you purchase directly from O'Reilly.
Just use code DSUG when ordering online or by phone 800-998-9938.
http://www.oreilly.com/
***Free ground shipping is available for online orders of at
least $29.95 that go to a single U.S. address. This offer
applies to U.S. delivery addresses in the 50 states and Puerto Rico.
For more details, go to:
http://www.oreilly.com/news/freeshipping_0703.html
----------------------------------------------------------------
New Releases
----------------------------------------------------------------
***FrontPage 2003: The Missing Manual
Publisher: O'Reilly
ISBN: 059600950X
This book puts FrontPage 2003's features in context, with clear and
thorough chapters that provide valuable shortcuts, workarounds, and just
plain common sense, no matter where you weigh in on the technical scale.
You will learn to build web pages, simple or sophisticated, and find out
how to manage and publish your website. You'll also learn to create
forms, work with databases, and integrate FrontPage with Microsoft
Office.
http://www.oreilly.com/catalog/frontpagetmm/
Chapter 7, "Cascading Style Sheets," is available online:
http://www.oreilly.com/catalog/frontpagetmm/chapter/index.html
***No Nonsense XML Web Development with PHP
Publisher: SitePoint
ISBN: 097524020X
Practical and concise, this book teaches XML from the ground up and
explains how XML can be put to use in real-world projects. Written in a
tutorial style, it presents various XML methodologies and techniques in
an easy-to-understand way, building a basis for further exploration.
This book also covers buzz topics such as RSS and Web Services.
http://www.oreilly.com/catalog/097524020X/
***Eclipse IDE Pocket Guide
Publisher: O'Reilly
ISBN: 0596100655
This practical pocket guide covers basic Eclipse concepts as well as
features that are not commonly understood, such as Perspectives and
Launch Configurations. You'll learn how to write and debug your Java
code and how to integrate that code with tools such as Ant and JUnit.
You'll also get a collection of tips and tricks to handle common tasks
in your Java development cycle.
http://www.oreilly.com/catalog/eclipsepg/
Chapter 6, "Tips and Tricks," is available online:
http://www.oreilly.com/catalog/eclipsepg/chapter/index.html
***The Unofficial LEGO Builder's Guide
Publisher: No Starch Press
ISBN: 1593270542
In "The Unofficial LEGO Builder's Guide," readers will discover
everything from how to craft sturdy walls and a basic sphere to more
advanced concepts such as scale and design. Illustrations demonstrate
construction tips that can be applied to a wide variety of original
creations made from real bricks. Includes essential terminology and an
overview of different types of LEGO pieces.
http://www.oreilly.com/catalog/1593270542/index.html
***XML Pocket Reference, 3rd Edition
Publisher: O'Reilly
ISBN: 0596100507
This perennial bestseller has been revised once again to give you quick
access to the latest goods. In addition to its comprehensive look at
XML, this third edition has been updated with new material on Namespaces
and XML Schema, along with RELAX NG and Schematron. Featuring a
well-organized format that gets right to the point, this compact book is
perfect for getting XML answers quick and on the fly.
http://www.oreilly.com/catalog/xmlpr3/
***Network Security Evaluation Using the NSA IEM
Publisher: Syngress
ISBN: 1597490350
Finally, a book that gives you everything you need to provide the most
comprehensive technical security posture evaluation for any
organization. The NSA's recommended methodology is described in depth,
leading you through each step in providing customers with analysis
customized to their organization. From setting scope and legal
coordination to the final report and trending metrics, this book has it
all.
http://www.oreilly.com/catalog/1597490350/index.html
***Fast Guide to Propellerhead Reason, 2nd Edition
Publisher: PC Publishing
ISBN: 1870775937
This in-depth guide takes you through every separate Reason device as
well as all the devices and changes introduced with the V2.5 update.
Every control and function is clearly explained. In addition, standard
and exotic techniques are introduced at the points where you will find
them most useful, and step-by-step programming tutorials help increase
your hands-on skills with Reason.
http://www.oreilly.com/catalog/1870775937/
***Oracle DBA Pocket Guide
Publisher: O'Reilly
ISBN: 0596100493
This handy reference is designed to help administrators make more
effective use of their time by presenting a compact summary of DBA tasks
in an easy-to-use form. With this book by your side, you'll have instant
access to the most important concepts, best practices, tips, and
checklists. Key topics include architecture, installation,
configuration, tuning, and backup/recovery.
http://www.oreilly.com/catalog/oracledbapg/
***Windows XP Cookbook
Publisher: O'Reilly
ISBN: 0596007256
Useful to anyone that has to use, deploy, administer, or automate
Windows XP, this handy reference guide provides practical solutions for
the most common Windows XP tasks. The over 300 step-by-step recipes
enable you to install, manage, and support your operating system with
ease. This book also covers Microsoft's XP Service Pack 2.
http://www.oreilly.com/catalog/windowsxpckbk/
Chapter 6, "System Properties, Startup, and Shutdown," is available
online:
http://www.oreilly.com/catalog/windowsxpckbk/chapter/index.html
***Digital Identity
Publisher: O'Reilly
ISBN: 0596008783
This fascinating book shows how an enterprise-wide "identity management
architecture" (IMA) can provide security while ensuring that
interactions with customers, employees, partners, and suppliers are
richer and more flexible. Through a detailed, real-world view of the
concepts, issues, and technologies behind IMA, this book shows CIOs,
other IT professionals, product managers, and programmers how security
planning can support business goals and opportunities rather than
holding them at bay.
http://www.oreilly.com/catalog/digidentity/
Chapter 13, "An Architecture for Digital Identity," is available online:
http://www.oreilly.com/catalog/digidentity/chapter/index.html
***Host Integrity Monitoring Using Osiris and Samhain
Publisher: Syngress
ISBN: 1597490180
Host Integrity Monitoring is the most effective way to determine if some
form of malicious attack or threat has compromised your network security
to modify the filesystem, system configuration, or runtime environment
of monitored hosts. This book provides foundation information on host
integrity monitoring as well as specific, detailed instruction on using
best of breed products Osiris and Samhain.
http://www.oreilly.com/catalog/1597490180/index.html
***Agile Web Development with Rails
Publisher: Pragmatic
ISBN: 097669400X
This book shows you how easy it is to install Rails using your web
server of choice. In the extended tutorial sections, you'll create a
complete online store application to see how a full Rails application is
developed. Further, you'll learn how to exploit the Rails service
frameworks to send emails, implement web services, and create dynamic,
user-centric web pages. There are also extensive chapters on testing,
deployment, and scaling.
http://www.oreilly.com/catalog/097669400X/
***MAKE Magazine Subscriptions Available
The annual subscription price for four issues is $34.95. When you
subscribe with this link, you'll get a free issue--the first one plus
four more for $34.95. So subscribe for yourself or friends with this
great offer for charter subscribers: five volumes for the cost of four.
Subscribe at:
https://www.pubservice.com/MK/Subnew.aspx?PC=MK&PK=M5ZUGLA
================================================
Upcoming Events
================================================
***For more events, please see:
http://events.oreilly.com/
***Sinan Si Alhirr ("UML in a Nutshell"), Project Management Institute,
Bloomington, IL--September 13
Author Sinan presents "The Art of Agility: Project Management and
Software Development" at the Project Management Institute (PMI) Central
Illinois Chapter.
http://www.pmi-cic.org/
***O'Reilly at Microsoft PDC 2005, Los Angeles, CA--September 13-16
Visit us at booth #1017 and discover our growing line of Microsoft
developer, administrator, and advanced Office books. O'Reilly editors
and product manager will be on hand to answer your questions. Our
Microsoft publishing team is looking forward to this sold out show.
http://msdn.microsoft.com/events/pdc/
***David Pogue (Missing Manual Series) Gloucester County College,
Sewell, NJ--October 22
In partnership with Gloucester County College, the Macintosh Users Group
of Southern New Jersey is sponsoring an afternoon with author and "New
York Times" columnist, David Pogue. For event details and registration
information, go to:
http://www.mugsnj.org/Pogue2005/index.html
================================================
Conference News
================================================
***ETech 2006 CFP Now Open
O'Reilly's Emerging Technology Conference 2006 is scheduled for March
6-9 in San Diego. We invite technologists, strategists, CTOs, chief
scientists, researchers, programmers, hackers, standards workers,
business developers, and entrepreneurs to lead sessions and tutorials at
ETech. This year's challenge focuses on the amazing amount of digital
data in our worlds: how do we visualize the data, filter it, remix it,
and access it in meaningful ways? Proposals are due by September 19th.
http://conferences.oreillynet.com/etech/
***Registration is Open for EuroOSCON
Join developers, systems and network administrators, and IT managers at
the very first O'Reilly European Open Source Convention in Amsterdam on
October 17-20. EuroOSCON will explore the best and newest open source
technologies, particularly for companies, governments, and nonprofits.
EuroOSCON showcases the diversity in open source while maintaining a
practical edge.
http://conferences.oreilly.com/eurooscon/
Use code "euos05usrg" when you register, and receive 25% off the
registration price.
To register for the conference, go to:
http://conferences.oreillynet.com/cs/eurooscon/create/ord_euos05
================================================
News From O'Reilly & Beyond
================================================
---------------------
General News
---------------------
***MAKE: Blog is Nominated for "Best of the Web" on Business Week
Cast your vote today and help us make number one.
http://www.businessweek.com/technology/bestofweb.htm
***Visualizing the O'Reilly Connection Network Using FOAF and Graphviz
Timothy M. O'Brien gathered some interesting imagery and offered insight
into the growing network in the O'Reilly Connection. Just over a month
old and the network already looks as busy as the air traffic pattern
over O'Hare.
http://www.oreillynet.com/pub/wlg/7631
***What is AdSense
Looking for ways to generate some cash for that website you've been
developing? Google's AdSense may be your answer. This introduction to
AdSense will help you decide if the program, which allows you to sell
advertising space for other people's ads on your own site, is right for
you.
http://www.oreillynet.com/pub/a/network/2005/07/26/WhatIsAdSense.html
***SafariU: Create Your Own Textbook in No Time
With the SafariU web-based service, you can build your own custom
textbook or online syllabus in a few hours drawing from the extensive
list of top technical titles and 5,000 plus article database. Your
printed custom book can be on local bookstore shelves in as little as
two weeks. The online syllabus and electronic version of your book are
accessible immediately. The service is free to qualified instructors.
Visit SafariU to sign up for access.
https://www.safariu.com/
***Learning Lab August Special
In our practice-based, self-paced courses, you can build your online
portfolio with plenty of instructor feedback and a free O'Reilly book
for reference. For a limited time, use the discount passcode "tarsier"
to save an extra 15% off any of our courses--including all University of
Illinois Certificate Series.
http://oreilly.useractive.com/courses/certificates.php3
***Identity Management Architectures and Digital Identity
Building an identity management infrastructure requires a strategy; one
that takes into account not only the technology, but the politics and
economics surrounding digital identity. Phil Windley calls such a
strategy an identity management architecture, or IMA. Here, he defines
what an IMA is, and discusses the key components and myths to developing
one. Phil is the author of O'Reilly's "Digital Identity."
http://www.oreillynet.com/pub/a/network/2005/08/19/digitaldentity.html
---------------------
Open Source
---------------------
***Linux for Video Production
Linux and open source software is traditionally good for developers and
system administrators, and recently good for business users. When will
it be good for multimedia users? A handful of projects are making video
production and editing possible (and useful). Jono Bacon examines the
present and future of video production with Linux and open source
software. Jono is the coauthor of "Linux Desktop Hacks."
http://www.linuxdevcenter.com/pub/a/linux/2005/08/18/linux_video.html
***How to Decide What Bugs to Fix When, Part 1
There are two challenges to making smart bug decisions: first,
understanding how to make good bug-fix decisions; and second, creating
and following rules that make it easy to stick to those decisions when
the pressure is high. In this first installment of a two-part essay,
Scott Berkun, author of "The Art of Project Management," provides the
core ideas you need to make your own bug-fixing rules.
http://www.onlamp.com/pub/a/onlamp/2005/08/11/fixingbugs.html
***PHP 6.0 Ingredients
A wish-list of PHP 6.0 features leads to controversy among some PHP
users and Web Hosts. Find out what Tom Rutter thinks of the wish list
and what he thinks is missing.
http://www.sitepoint.com/blogs/2005/08/15/php-60-ingredients/
---------------------
Mac
---------------------
***Web Apps with Tiger: Getting Started
Morbus is back with more web serving tools and tricks, updated for Mac
OS X Tiger. In this first article, he'll take you on a whirlwind tour
through the basics: turning on the Apache web server, learning a teensy
bit of its configuration, then enabling and testing PHP.
http://www.macdevcenter.com/pub/a/mac/2005/08/16/apache.html
***Build a Simple 3D Pipeline in Tcl
Are you interested in playing with 3D graphics for games? In this
article, Michael Norton shows you how to assemble a game console to
experiment with using Tcl, which is a great tool for playing with
graphics algorithms.
http://www.macdevcenter.com/pub/a/mac/2005/08/12/tcl.html
***Turn Your Old Mac into a Home-automation System
Automating your home--so the lights turn on automatically when darkness
falls, the heat turns on a half an hour before you're due home, or a
security camera watches the house while you're out--isn't that hard to
do. Gordon Meyer, author of "Smart Home Hacks," tells you how.
http://www.macworld.com/2005/08/features/oldmacnewtricks3/index.php
---------------------
Windows/.NET
---------------------
***What Is Visual Studio
What can you really do with Visual Studio? James Avery discusses some of
the various applications you can build using Visual Studio, some of its
most compelling development features, and what you need to know to get
started writing quality applications in Visual Studio. James is the
author of "Visual Studio Hacks."
http://www.windowsdevcenter.com/pub/a/windows/2005/08/22/
whatisVisualStudio.html
***Setting Up Vonage with Your PC
If you're looking to save money on phone calls and get extra VoIP
features, Vonage is a good bet. Russell Shaw shows you how to set up
Vonage with your PC.
http://www.windowsdevcenter.com/pub/a/windows/2005/08/23/Vonage.html
---------------------
Java
---------------------
***Using Drools in Your Enterprise Java Application
Enterprise Java developers have many fine framework choices at the
presentation and persistence levels, but what about the business logic
that sits in the middle? Do you want to recompile a mass of if...then
spaghetti code every time a manager drops a new gotcha in your lap? In
this article, Paul Browne suggests that a rule engine like Drools may be
an ideal fit for this task.
http://www.onjava.com/pub/a/onjava/2005/08/24/drools.html
***Hacking Swing with Undocumented Classes and Properties
Joshua Marinacci, coauthor of "Swing Hacks," shows you six undocumented
features, classes, and properties that let you hack into Swing. From how
to hide a frame from the Windows task bar to how to make Mac OS X
windows truly transparent, these undocumented hacks can add a level of
polish that will make your apps stand out from the rest.
http://www.onjava.com/pub/a/onjava/2005/08/10/swinghacks.html
---------------------
Digital Media
---------------------
***Ten Tips for Improving Your Podcasts
Jack Herrington, author of "Podcasting Hacks," offers his top ten
suggestions for creating great podcasts. He starts with the basics:
reducing noise, getting a good microphone, proper microphone technique,
show prep, and format, and closes with tips that deal with improving the
content of your show.
http://digitalmedia.oreilly.com/2005/08/10/improvingpodcasts.html
***Get Cooking With Photoshop and CSS
With Photoshop, CSS, and a little creativity, you can enjoy a feast of
design options. Corrie shows how easy it is to tweak the graphic
ingredients of your designs to produce completely different results. She
cooks up three tasty design styles in Photoshop, then shows,
step-by-step, how to reproduce them using CSS.
http://www.sitepoint.com/article/get-cooking-photoshop-css
***Mobile Video: Working with MPEG-4 Clips on Mobile Phones
MPEG-4 files can be struggle to work with, but the format is so good
it's worth taming. In this article, Douglas Dixon uses the QuickTime
Player to view and deconstruct clips created by several camera phones.
He examines the details of the MPEG-4 format for mobile phones--called
3GPP--and works around some of the idiosyncrasies of different devices
that create slightly different formats.
http://digitalmedia.oreilly.com/2005/08/24/mpeg4.html
---------------------
MAKE
---------------------
***MAKE: Audio--Natalie Jeremijenko
MAKE: Audio rolls out a new type of show: A MAKER profile of Natalie
Jeremijenko, who builds toxic-sensing robot dogs from discarded toys, as
read by Dale Dougherty, MAKE publisher. This is an enhanced podcast; it
will play audio *and* show the actual pages of MAKE Magazine from volume
02 when you click on them. We hope to do more of these--please let us
know what you think.
Don't forget to add the MAKE feed to iTunes 4.9. Click this link:
http://phobos.apple.com/WebObjects/MZStore.woa/wa/viewPodcast?id=74069835
and click SUBSCRIBE.
***How to Get RSS Feeds on Your Watch
Phil Torrone show's us how to get MSN filter content or any news via
RSS on a SPOT watch:
http://www.makezine.com/blog/archive/2005/08/how_to_get_msn.html#more
You can also get MAKE shows via ODEO!
http://odeo.com/channel/1178/view
MAKE Show Archive:
http://www.makezine.com/blog/archive/make_podcast/
***For more information on MAKE, go to:
http://www.makezine.com/
================================================
>From Your Peers
================================================
***Charleston Code Camp,Charleston, SC--September 17
Learn Today, Compile Tonight! Interested in learning something new,
without being bored to tears by an endless, 8 hour parade of
Powerpoints? At Charleston Code Camp, you'll see real code that does
real stuff, on a variety of topics such as Enterprise Development,
Mobile Development, ASP.NET and more...and the best part is, after
you're done, you'll be able to download everything at home and keep
using it. For more information:
http://gcnug.org/codecamp
***Don't forget to check out the O'Reilly UG wiki to see what user
groups around the globe are up to:
http://wiki.oreillynet.com/usergroups/index.cgi
Until next time--
Marsee Henon
================================================================
O'Reilly
1005 Gravenstein Highway North
Sebastopol, CA 95472
http://ug.oreilly.com/ http://www.oreilly.com
================================================================
----- End forwarded message -----
From rootbeer at redcat.com Fri Aug 26 09:59:24 2005
From: rootbeer at redcat.com (Tom Phoenix)
Date: Fri, 26 Aug 2005 09:59:24 -0700
Subject: [Pdx-pm] Newsletter from O'Reilly UG Program, August 25
In-Reply-To: <20050826162211.GA11632@joshheumann.com>
References: <20050826162211.GA11632@joshheumann.com>
Message-ID: <31086b2405082609592772dc45@mail.gmail.com>
On 8/26/05, Josh Heumann wrote:
> I'm willing to take a couple of minutes and cut out sections
> if it would help readability.
Why not post a summary of the tastiest parts, along with a link to the
full text?
--Tom Phoenix
From perl-pm at joshheumann.com Fri Aug 26 10:08:07 2005
From: perl-pm at joshheumann.com (Josh Heumann)
Date: Fri, 26 Aug 2005 10:08:07 -0700
Subject: [Pdx-pm] Newsletter from O'Reilly UG Program, August 25
In-Reply-To: <31086b2405082609592772dc45@mail.gmail.com>
References: <20050826162211.GA11632@joshheumann.com>
<31086b2405082609592772dc45@mail.gmail.com>
Message-ID: <20050826170807.GD11632@joshheumann.com>
> Why not post a summary of the tastiest parts, along with a link to the
> full text?
That's a good idea. O'Reilly posts the newsletters on its site, but I
don't know how long it takes to get the current issue up on their site.
J
From perl-pm at joshheumann.com Fri Aug 26 11:26:05 2005
From: perl-pm at joshheumann.com (Josh Heumann)
Date: Fri, 26 Aug 2005 11:26:05 -0700
Subject: [Pdx-pm] [Job] PCD Interactive
Message-ID: <20050826182605.GC12150@joshheumann.com>
Scott from PDC (http://www.pcdinteractive.com/) is looking for a perl
programmer. It looks like he's been looking for a month or so, judging
by the amount of time this ad has been on craigslist.
Josh
http://portland.craigslist.org/eng/92912385.html
Web development company has an opening for a Senior Web Programmer. We
are looking for an individual who is an experienced web programmer,
analytical and a quick learner to be part of our team.
The ideal candidate should possess the following qualifications and
experience:
·5+ years experience working on large database-driven web applications
·Advanced knowledge of Perl, HTML, JavaScript and CSS
·Strong understanding of object oriented programming principles
·Experience with SQL, Oracle, Linux and Apache
·Ability to provide technical vision and direction for development
projects
·Experience with the setup and refinement of standardized workflow
procedures and processes
·Strong communication skills to work with other team members and
clients
·Ability to work well under pressure and meet deadlines
·Experience working with financial industry (not required, but a great
plus)
·Experience with other scripting languages a plus
Please Submit cover letter and resume
PCD Group is an interactive design and marketing firm. We combine
sophisticated graphic design and a broad range of technical solutions to
build web sites and intranets that are productive in acquiring new
customers, enhancing existing customer relationships, streamlining
business processes and creating exceptional user experiences.
* Job location is Downtown Portland
* Compensation: DOE
From techdude at dpo.org Mon Aug 29 17:47:03 2005
From: techdude at dpo.org (John Springer)
Date: Mon, 29 Aug 2005 17:47:03 -0700
Subject: [Pdx-pm] utf 8 question
Message-ID:
I've got a script that grabs and parses an rss feed and puts the
result into a text file for integration into a web page.
I'm getting an error when I try to print the text file: "wide
character in print ..."
I assume I need to write a utf-8 file instead of plain text (plus
maybe convert the character set?),
but I'm not sure how to do this exactly.
I'm getting the feed with LWP::UserAgent and parsing with
XML::RSS::Parser and then trying to save the result using a plain
print to a file.
Guidance??
Thanks.
--
John Springer
Tech Dude
Democratic Party of Oregon
(503)224-8200 x235
--
John Springer
Tech Dude
Democratic Party of Oregon
(503)224-8200 x235
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.pm.org/pipermail/pdx-pm-list/attachments/20050830/bbad3a4a/attachment.html
From rootbeer at redcat.com Mon Aug 29 18:52:31 2005
From: rootbeer at redcat.com (Tom Phoenix)
Date: Mon, 29 Aug 2005 18:52:31 -0700
Subject: [Pdx-pm] utf 8 question
In-Reply-To: <31086b24050829184943114817@mail.gmail.com>
References:
<31086b24050829184943114817@mail.gmail.com>
Message-ID: <31086b2405082918524f23d6a0@mail.gmail.com>
On 8/29/05, John Springer wrote:
> I'm getting an error when I try to print the text file: "wide character in
> print ..."
When perl gives you a message you don't fully understand, see what the
perldiag manpage says. Here's what I see:
Wide character in %s
(W utf8) Perl met a wide character (>255) when it wasn't expecting
one. This warning is by default on for I/O (like print) but can be
turned off by "no warnings 'utf8';". You are supposed to explicitly
mark the filehandle with an encoding, see open and "binmode" in
perlfunc.
I'd also recommend the perluniintro manpage. Does that give you what
you need to solve your problem? Good luck with it!
--Tom Phoenix
From perl-pm at joshheumann.com Tue Aug 30 10:28:13 2005
From: perl-pm at joshheumann.com (Josh Heumann)
Date: Tue, 30 Aug 2005 10:28:13 -0700
Subject: [Pdx-pm] [JOBS] 6-8 week Perl contract
Message-ID: <20050830172813.GD31941@joshheumann.com>
Centerstance is seeking Perl Developer for a 6-8 week contract position in downtown
Portland, Oregon.
Candidate will be working within a content management framework, with an
understanding of publishing magazine/article type content to the web on a regular
basis. A familiarity with this type of publishing model would better enable the
candidate to execute their given tasks.
The technical skill-set necessary is listed below.
* HTML (Strong)
* Strong Perl Skills - CGI, Perl::DBI
* XML (preferred)
* Experience in working with Interwoven TeamSite a strong plus.
- Experience in the arena of content management in general, also a plus
* JavaScript
* Unix experience (preferably Solaris)
Centerstance is a leading business solution and systems integration firm serving
Global 1000 companies, government agencies, small and medium-sized businesses, and
other organizations. Our significant experience with, and knowledge of, key
technology providers, supports and compliments our service offerings. We work with
our network of partners to develop comprehensive solutions to common business issues,
offer the expertise required to deliver those solutions, and continuously survey
technology advances for further benefit to our clients.
Contact info:
_________________________________________________________________
Liz Dooley
Centerstance
400 SW 6th Avenue, Suite 500
Portland, Oregon 97204
www.centerstance.com
*Cell: 503-680-9826
* e-mail: ldooley at centerstance.com
Fax: 503-961-8013
From perl-pm at joshheumann.com Wed Aug 31 09:34:32 2005
From: perl-pm at joshheumann.com (Josh Heumann)
Date: Wed, 31 Aug 2005 09:34:32 -0700
Subject: [Pdx-pm] YAPC::NA::2006 CFV deadline soon
Message-ID: <20050831163431.GN31941@joshheumann.com>
----- Forwarded message from Kevin Meltzer -----
Date: Wed, 31 Aug 2005 12:20:09 -0400
From: Kevin Meltzer
Hello,
This is a reminder to get your YAPC::NA::2006 proposals in. The CFV
info is on the TPF website (http://www.perlfoundation.org/). If you
have any questions about proposing, feel free to contact me. If you are
scared to coordinate a YAPC.. don't be! It's a very rewarding
experience for all involved.
Cheers,
Kevin
--
[Writing CGI Applications with Perl - http://perlcgi-book.com]
Disciple - How can you be what you are not?
Zen Master - By not being.