From gwadej at anomaly.org Wed Jun 3 21:55:06 2015 From: gwadej at anomaly.org (G. Wade Johnson) Date: Wed, 3 Jun 2015 23:55:06 -0500 Subject: [pm-h] Next Thursday's meeting Message-ID: <20150603235506.22782ac4@cygnus> So far, no one has volunteered to present anything. Given the rapidly approaching deadline (and the fact that YAPC is nearing), we need to make a decision quickly. So here are my suggestions. Let me know what you think. 1. We could do a social meeting this time. 2. I could do a talk - Dispatch tables - List operations in Perl (map, grep, sort, reduce, List::Utils) - Brief Introduction to POE 3. Someone else could make a suggestion. G. Wade -- One of the miseries of life is that everybody names things a little bit wrong, and so it makes everything a little harder to understand in the world than it would be if it were named differently. -- Richard Feynman From trac_t at swbell.net Thu Jun 4 07:01:55 2015 From: trac_t at swbell.net (Trac Taylor) Date: Thu, 4 Jun 2015 14:01:55 +0000 (UTC) Subject: [pm-h] Next Thursday's meeting In-Reply-To: <20150603235506.22782ac4@cygnus> References: <20150603235506.22782ac4@cygnus> Message-ID: <130074039.5014527.1433426515994.JavaMail.yahoo@mail.yahoo.com> Since I am not going to YAPC, I vote for option 2. ?Any one of those topics I would be happy to listen too. Trac ? On Wednesday, June 3, 2015 11:55 PM, G. Wade Johnson via Houston wrote: So far, no one has volunteered to present anything. Given the rapidly approaching deadline (and the fact that YAPC is nearing), we need to make a decision quickly. So here are my suggestions. Let me know what you think. 1. We could do a social meeting this time. 2. I could do a talk ? - Dispatch tables ? - List operations in Perl (map, grep, sort, reduce, List::Utils) ? - Brief Introduction to POE 3. Someone else could make a suggestion. G. Wade -- One of the miseries of life is that everybody names things a little bit wrong, and so it makes everything a little harder to understand in the world than it would be if it were named differently. ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? -- Richard Feynman _______________________________________________ Houston mailing list Houston at pm.org http://mail.pm.org/mailman/listinfo/houston Website: http://houston.pm.org/ -------------- next part -------------- An HTML attachment was scrubbed... URL: From john at nixnuts.net Thu Jun 4 11:32:57 2015 From: john at nixnuts.net (John Lightsey) Date: Thu, 04 Jun 2015 13:32:57 -0500 Subject: [pm-h] Next Thursday's meeting In-Reply-To: <130074039.5014527.1433426515994.JavaMail.yahoo@mail.yahoo.com> References: <20150603235506.22782ac4@cygnus> <130074039.5014527.1433426515994.JavaMail.yahoo@mail.yahoo.com> Message-ID: <1433442777.2367.4.camel@nixnuts.net> Hey Wade, if you don't think you have enough material for an hour or more of presenting, I could also go over a metasploit module for CVE-2015-0845 (Locale::Maketext format string attack.) I could fill 20 minutes or so of the meeting. On Thu, 2015-06-04 at 14:01 +0000, Trac Taylor via Houston wrote: > Since I am not going to YAPC, I vote for option 2. Any one of those topics I would be happy to listen too. > Trac > > > On Wednesday, June 3, 2015 11:55 PM, G. Wade Johnson via Houston wrote: > > > So far, no one has volunteered to present anything. Given the rapidly > approaching deadline (and the fact that YAPC is nearing), we need to > make a decision quickly. So here are my suggestions. Let me know what > you think. > > 1. We could do a social meeting this time. > 2. I could do a talk > - Dispatch tables > - List operations in Perl (map, grep, sort, reduce, List::Utils) > - Brief Introduction to POE > 3. Someone else could make a suggestion. > > G. Wade > _______________________________________________ > Houston mailing list > Houston at pm.org > http://mail.pm.org/mailman/listinfo/houston > Website: http://houston.pm.org/ -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 819 bytes Desc: This is a digitally signed message part URL: From gwadej at anomaly.org Thu Jun 4 12:04:58 2015 From: gwadej at anomaly.org (G. Wade Johnson) Date: Thu, 4 Jun 2015 14:04:58 -0500 Subject: [pm-h] Next Thursday's meeting In-Reply-To: <1433442777.2367.4.camel@nixnuts.net> References: <20150603235506.22782ac4@cygnus> <130074039.5014527.1433426515994.JavaMail.yahoo@mail.yahoo.com> <1433442777.2367.4.camel@nixnuts.net> Message-ID: <20150604140458.67eca857@cygnus> On Thu, 04 Jun 2015 13:32:57 -0500 John Lightsey via Houston wrote: > Hey Wade, if you don't think you have enough material for an hour or > more of presenting, I could also go over a metasploit module for > CVE-2015-0845 (Locale::Maketext format string attack.) > > I could fill 20 minutes or so of the meeting. I can usually fill an hour. Our last two topic meeting went well, so I'm game if you are. G. Wade > On Thu, 2015-06-04 at 14:01 +0000, Trac Taylor via Houston wrote: > > Since I am not going to YAPC, I vote for option 2. Any one of > > those topics I would be happy to listen too. Trac > > > > > > On Wednesday, June 3, 2015 11:55 PM, G. Wade Johnson via > > Houston wrote: > > > > So far, no one has volunteered to present anything. Given the > > rapidly approaching deadline (and the fact that YAPC is nearing), > > we need to make a decision quickly. So here are my suggestions. Let > > me know what you think. > > > > 1. We could do a social meeting this time. > > 2. I could do a talk > > - Dispatch tables > > - List operations in Perl (map, grep, sort, reduce, List::Utils) > > - Brief Introduction to POE > > 3. Someone else could make a suggestion. > > > > G. Wade > > _______________________________________________ > > Houston mailing list > > Houston at pm.org > > http://mail.pm.org/mailman/listinfo/houston > > Website: http://houston.pm.org/ > -- Always hold a grudge. Keeps the memory sharp. -- Hagar the Horrible From reini.urban at gmail.com Thu Jun 4 13:37:50 2015 From: reini.urban at gmail.com (Reini Urban) Date: Thu, 4 Jun 2015 22:37:50 +0200 Subject: [pm-h] Next Thursday's meeting In-Reply-To: <1433442777.2367.4.camel@nixnuts.net> References: <20150603235506.22782ac4@cygnus> <130074039.5014527.1433426515994.JavaMail.yahoo@mail.yahoo.com> <1433442777.2367.4.camel@nixnuts.net> Message-ID: Is this today? I could outline my recent perl improvements On Jun 4, 2015 1:34 PM, "John Lightsey via Houston" wrote: > Hey Wade, if you don't think you have enough material for an hour or > more of presenting, I could also go over a metasploit module for > CVE-2015-0845 (Locale::Maketext format string attack.) > > I could fill 20 minutes or so of the meeting. > > On Thu, 2015-06-04 at 14:01 +0000, Trac Taylor via Houston wrote: > > Since I am not going to YAPC, I vote for option 2. Any one of those > topics I would be happy to listen too. > > Trac > > > > > > On Wednesday, June 3, 2015 11:55 PM, G. Wade Johnson via Houston < > houston at pm.org> wrote: > > > > > > So far, no one has volunteered to present anything. Given the rapidly > > approaching deadline (and the fact that YAPC is nearing), we need to > > make a decision quickly. So here are my suggestions. Let me know what > > you think. > > > > 1. We could do a social meeting this time. > > 2. I could do a talk > > - Dispatch tables > > - List operations in Perl (map, grep, sort, reduce, List::Utils) > > - Brief Introduction to POE > > 3. Someone else could make a suggestion. > > > > G. Wade > > _______________________________________________ > > Houston mailing list > > Houston at pm.org > > http://mail.pm.org/mailman/listinfo/houston > > Website: http://houston.pm.org/ > > > _______________________________________________ > Houston mailing list > Houston at pm.org > http://mail.pm.org/mailman/listinfo/houston > Website: http://houston.pm.org/ > -------------- next part -------------- An HTML attachment was scrubbed... URL: From gwadej at anomaly.org Thu Jun 4 14:33:08 2015 From: gwadej at anomaly.org (G. Wade Johnson) Date: Thu, 4 Jun 2015 16:33:08 -0500 Subject: [pm-h] Next Thursday's meeting In-Reply-To: References: <20150603235506.22782ac4@cygnus> <130074039.5014527.1433426515994.JavaMail.yahoo@mail.yahoo.com> <1433442777.2367.4.camel@nixnuts.net> Message-ID: <20150604163308.10bcbe83@cygnus> On Thu, 4 Jun 2015 22:37:50 +0200 Reini Urban via Houston wrote: > Is this today? It's next week. The day after YAPC. G. Wade > I could outline my recent perl improvements > On Jun 4, 2015 1:34 PM, "John Lightsey via Houston" > wrote: > > > Hey Wade, if you don't think you have enough material for an hour or > > more of presenting, I could also go over a metasploit module for > > CVE-2015-0845 (Locale::Maketext format string attack.) > > > > I could fill 20 minutes or so of the meeting. > > > > On Thu, 2015-06-04 at 14:01 +0000, Trac Taylor via Houston wrote: > > > Since I am not going to YAPC, I vote for option 2. Any one of > > > those > > topics I would be happy to listen too. > > > Trac > > > > > > > > > On Wednesday, June 3, 2015 11:55 PM, G. Wade Johnson via > > > Houston < > > houston at pm.org> wrote: > > > > > > > > > So far, no one has volunteered to present anything. Given the > > > rapidly approaching deadline (and the fact that YAPC is nearing), > > > we need to make a decision quickly. So here are my suggestions. > > > Let me know what you think. > > > > > > 1. We could do a social meeting this time. > > > 2. I could do a talk > > > - Dispatch tables > > > - List operations in Perl (map, grep, sort, reduce, List::Utils) > > > - Brief Introduction to POE > > > 3. Someone else could make a suggestion. > > > > > > G. Wade > > > _______________________________________________ > > > Houston mailing list > > > Houston at pm.org > > > http://mail.pm.org/mailman/listinfo/houston > > > Website: http://houston.pm.org/ > > > > > > _______________________________________________ > > Houston mailing list > > Houston at pm.org > > http://mail.pm.org/mailman/listinfo/houston > > Website: http://houston.pm.org/ > > -- C makes it easy to shoot yourself in the foot; C++ makes it harder, but when you do, it blows away your whole leg. -- Bjarne Stroustrup From drzigman at drzigman.com Fri Jun 5 08:26:43 2015 From: drzigman at drzigman.com (Robert Stone) Date: Fri, 5 Jun 2015 10:26:43 -0500 Subject: [pm-h] Gauging Interesting In A Potential "Activity" Social Meeting Message-ID: Greetings, How much interest would there be in doing an "activity" social meeting if it was sponsored (i.e. free!)? The dinners we have done in the past have been a lot of fun, but I'm trying to find out if folks would enjoy doing something along the lines of: Bowling Billiards Mini Golf Something else the group wants to do The idea being we would still have plenty of time to talk about fun nerdy things like Perl, Firefly, and but we'd also be participating in something a bit different. Feel free to suggest other ideas if you have them and please let me know if this is an outing folks would attend. Thanks! Best Regards, Robert Stone -------------- next part -------------- An HTML attachment was scrubbed... URL: From rlharris at oplink.net Fri Jun 5 22:08:36 2015 From: rlharris at oplink.net (rlharris at oplink.net) Date: Sat, 6 Jun 2015 00:08:36 -0500 Subject: [pm-h] Gauging Interesting In A Potential 'Activity' Social Meeting In-Reply-To: References: Message-ID: <82a35f39d7031b4c7bf1388d1bf13f30.squirrel@webmail.oplink.net> On Fri, June 5, 2015 10:26 am, Robert Stone via Houston wrote: > How much interest would there be in doing an "activity" social meeting ... Nowadays almost everyone is over-obligated to the extent that attendance of even a "regular" PM meeting entails neglect of responsibilities or other sacrifice. And some may be unable to justify the luxury of a purely social PM meeting which provides no opportunity for learning Perl resources and technique. But, with a bit of advertising, some PM meetings might be used as a platform for both useful service and recruiting. In the early days of Linux, the task of installing Linux and configuring a complement of applications and utilities to work together as a system could be difficult and frustrating for the novice. To address the problem, the Linux User Groups at Rice and U. of H. hosted at the beginning of each semester an Installfest to which were invited both students and the general public. This was back before everyone had a high-speed Internet connection and an LCD monitor. A novice to Linux could bring his system (complete with CRT monitor and printer) to the Installfest and walk away with a properly-configured Linux system, with whatever applications he desired loaded, configured, and functioning as a system. While providing opportunity for association between members of the LUG, the Installfest served to encourage fellow students and members of the community to join the LUG. Perhaps PM could advertise an occasional "bring your problem to PM and let the Perl experts get you pointed in the right direction" night. RH From todd at rinaldo.us Sat Jun 6 14:14:04 2015 From: todd at rinaldo.us (Todd Rinaldo) Date: Sat, 6 Jun 2015 16:14:04 -0500 Subject: [pm-h] Gauging Interesting In A Potential 'Activity' Social Meeting In-Reply-To: <82a35f39d7031b4c7bf1388d1bf13f30.squirrel@webmail.oplink.net> References: <82a35f39d7031b4c7bf1388d1bf13f30.squirrel@webmail.oplink.net> Message-ID: It's been asked in the past and we've gotten crickets in response. Are you suggesting we advertise this somewhere else? On Sat, Jun 6, 2015 at 12:08 AM, Russell Harris via Houston wrote: > On Fri, June 5, 2015 10:26 am, Robert Stone via Houston wrote: >> How much interest would there be in doing an "activity" social meeting ... > > > Nowadays almost everyone is over-obligated to the extent that attendance > of even a "regular" PM meeting entails neglect of responsibilities or > other sacrifice. And some may be unable to justify the luxury of a purely > social PM meeting which provides no opportunity for learning Perl > resources and technique. > > But, with a bit of advertising, some PM meetings might be used as a > platform for both useful service and recruiting. > > In the early days of Linux, the task of installing Linux and configuring a > complement of applications and utilities to work together as a system > could be difficult and frustrating for the novice. To address the > problem, the Linux User Groups at Rice and U. of H. hosted at the > beginning of each semester an Installfest to which were invited both > students and the general public. This was back before everyone had a > high-speed Internet connection and an LCD monitor. A novice to Linux > could bring his system (complete with CRT monitor and printer) to the > Installfest and walk away with a properly-configured Linux system, with > whatever applications he desired loaded, configured, and functioning as a > system. While providing opportunity for association between members of > the LUG, the Installfest served to encourage fellow students and members > of the community to join the LUG. > > Perhaps PM could advertise an occasional "bring your problem to PM and let > the Perl experts get you pointed in the right direction" night. > > RH > > > _______________________________________________ > Houston mailing list > Houston at pm.org > http://mail.pm.org/mailman/listinfo/houston > Website: http://houston.pm.org/ -- Todd Rinaldo todd at rinaldo.us From rlharris at oplink.net Sat Jun 6 15:16:45 2015 From: rlharris at oplink.net (rlharris at oplink.net) Date: Sat, 6 Jun 2015 17:16:45 -0500 Subject: [pm-h] Gauging Interesting In A Potential 'Activity' Social Meeting In-Reply-To: References: <82a35f39d7031b4c7bf1388d1bf13f30.squirrel@webmail.oplink.net> Message-ID: <30e042858fc405e509ca1cbf454ce62e.squirrel@webmail.oplink.net> On Sat, June 6, 2015 4:14 pm, Todd Rinaldo wrote: > It's been asked in the past and we've gotten crickets in response. Are > you suggesting we advertise this somewhere else? It would be interesting to run an advertisement about a month in advance of a particular meeting date, and see what happens. Being a "public service" announcement, the advertisement should run at no cost. If new people show up, the meeting can be used to plan future activities. Here are a few ideas. There is a free weekly neighbourhood newspaper called "The Leader" which is thrown in the Heights and in Oak Forest on the Northwest side of Houston. There is (at least, there once was) a weekly paper at Rice called "The Thresher", and U of H likely has a weekly newspaper. Houston Community College likely has a web site which carries announcements. And someone could contact Jay Lee who writes the weekly "Technology Bytes" column for the Houston Chronicle; Lee could make mention of the event in his column. What is needed is a creatively-worded advertisement which would attract the attention of computer users who might not be aware of the utility of Perl, or might not be aware that there is a local pool of Perl expertise. The ulterior motive, of course, is to gain new members for [pm-h]. RH From julian at jlbprof.com Sat Jun 6 16:46:17 2015 From: julian at jlbprof.com (Julian Brown) Date: Sat, 6 Jun 2015 18:46:17 -0500 Subject: [pm-h] Gauging Interesting In A Potential 'Activity' Social Meeting In-Reply-To: <30e042858fc405e509ca1cbf454ce62e.squirrel@webmail.oplink.net> References: <82a35f39d7031b4c7bf1388d1bf13f30.squirrel@webmail.oplink.net> <30e042858fc405e509ca1cbf454ce62e.squirrel@webmail.oplink.net> Message-ID: I am not sure a general audience advertisement would be of much use since hardly anyone would know what perl is. But maybe some targeted venues such as UH or Rice maybe. On Sat, Jun 6, 2015 at 5:16 PM, Russell Harris via Houston wrote: > On Sat, June 6, 2015 4:14 pm, Todd Rinaldo wrote: > > It's been asked in the past and we've gotten crickets in response. Are > > you suggesting we advertise this somewhere else? > > It would be interesting to run an advertisement about a month in advance > of a particular meeting date, and see what happens. Being a "public > service" announcement, the advertisement should run at no cost. If new > people show up, the meeting can be used to plan future activities. > > Here are a few ideas. There is a free weekly neighbourhood newspaper > called "The Leader" which is thrown in the Heights and in Oak Forest on > the Northwest side of Houston. There is (at least, there once was) a > weekly paper at Rice called "The Thresher", and U of H likely has a weekly > newspaper. Houston Community College likely has a web site which carries > announcements. And someone could contact Jay Lee who writes the weekly > "Technology Bytes" column for the Houston Chronicle; Lee could make > mention of the event in his column. > > What is needed is a creatively-worded advertisement which would attract > the attention of computer users who might not be aware of the utility of > Perl, or might not be aware that there is a local pool of Perl expertise. > The ulterior motive, of course, is to gain new members for [pm-h]. > > RH > > > _______________________________________________ > Houston mailing list > Houston at pm.org > http://mail.pm.org/mailman/listinfo/houston > Website: http://houston.pm.org/ > -------------- next part -------------- An HTML attachment was scrubbed... URL: From gwadej at anomaly.org Sun Jun 7 08:59:32 2015 From: gwadej at anomaly.org (G. Wade Johnson) Date: Sun, 7 Jun 2015 10:59:32 -0500 Subject: [pm-h] Gauging Interesting In A Potential 'Activity' Social Meeting In-Reply-To: <82a35f39d7031b4c7bf1388d1bf13f30.squirrel@webmail.oplink.net> References: <82a35f39d7031b4c7bf1388d1bf13f30.squirrel@webmail.oplink.net> Message-ID: <20150607105932.0f20c550@cygnus> On Sat, 6 Jun 2015 00:08:36 -0500 Russell Harris via Houston wrote: > On Fri, June 5, 2015 10:26 am, Robert Stone via Houston wrote: > > How much interest would there be in doing an "activity" social > > meeting ... > > > Nowadays almost everyone is over-obligated to the extent that > attendance of even a "regular" PM meeting entails neglect of > responsibilities or other sacrifice. And some may be unable to > justify the luxury of a purely social PM meeting which provides no > opportunity for learning Perl resources and technique. > > But, with a bit of advertising, some PM meetings might be used as a > platform for both useful service and recruiting. We did do a "hackathon" several months back that was sort of used this way. The turnout was reasonable and a few people asked questions and got answers. When the group was newer, we used to make a point of saying that some time in the meeting is always devoted to helping people with problems. I, for one, have always assumed that, but I haven't pointed it out recently. G. Wade > In the early days of Linux, the task of installing Linux and > configuring a complement of applications and utilities to work > together as a system could be difficult and frustrating for the > novice. To address the problem, the Linux User Groups at Rice and U. > of H. hosted at the beginning of each semester an Installfest to > which were invited both students and the general public. This was > back before everyone had a high-speed Internet connection and an LCD > monitor. A novice to Linux could bring his system (complete with CRT > monitor and printer) to the Installfest and walk away with a > properly-configured Linux system, with whatever applications he > desired loaded, configured, and functioning as a system. While > providing opportunity for association between members of the LUG, the > Installfest served to encourage fellow students and members of the > community to join the LUG. > > Perhaps PM could advertise an occasional "bring your problem to PM > and let the Perl experts get you pointed in the right direction" > night. > > RH > > > _______________________________________________ > Houston mailing list > Houston at pm.org > http://mail.pm.org/mailman/listinfo/houston > Website: http://houston.pm.org/ -- Computer languages differ not so much in what they make possible, but in what they make easy. -- Larry Wall From julian at jlbprof.com Sun Jun 7 13:45:23 2015 From: julian at jlbprof.com (Julian Brown) Date: Sun, 7 Jun 2015 14:45:23 -0600 Subject: [pm-h] Gauging Interesting In A Potential 'Activity' Social Meeting In-Reply-To: <20150607105932.0f20c550@cygnus> References: <82a35f39d7031b4c7bf1388d1bf13f30.squirrel@webmail.oplink.net> <20150607105932.0f20c550@cygnus> Message-ID: Wade it might be a good idea to bring it up at each meeting, maybe after the speaker (s) have finished before we start socializing. Most of the people are senior, but I am sure there are some who are not and would be greatly appreciative of any help. Julian On Sun, Jun 7, 2015 at 9:59 AM, G. Wade Johnson via Houston wrote: > On Sat, 6 Jun 2015 00:08:36 -0500 > Russell Harris via Houston wrote: > > > On Fri, June 5, 2015 10:26 am, Robert Stone via Houston wrote: > > > How much interest would there be in doing an "activity" social > > > meeting ... > > > > > > Nowadays almost everyone is over-obligated to the extent that > > attendance of even a "regular" PM meeting entails neglect of > > responsibilities or other sacrifice. And some may be unable to > > justify the luxury of a purely social PM meeting which provides no > > opportunity for learning Perl resources and technique. > > > > But, with a bit of advertising, some PM meetings might be used as a > > platform for both useful service and recruiting. > > We did do a "hackathon" several months back that was sort of used this > way. The turnout was reasonable and a few people asked questions and > got answers. > > When the group was newer, we used to make a point of saying that some > time in the meeting is always devoted to helping people with problems. > I, for one, have always assumed that, but I haven't pointed it out > recently. > > G. Wade > > > In the early days of Linux, the task of installing Linux and > > configuring a complement of applications and utilities to work > > together as a system could be difficult and frustrating for the > > novice. To address the problem, the Linux User Groups at Rice and U. > > of H. hosted at the beginning of each semester an Installfest to > > which were invited both students and the general public. This was > > back before everyone had a high-speed Internet connection and an LCD > > monitor. A novice to Linux could bring his system (complete with CRT > > monitor and printer) to the Installfest and walk away with a > > properly-configured Linux system, with whatever applications he > > desired loaded, configured, and functioning as a system. While > > providing opportunity for association between members of the LUG, the > > Installfest served to encourage fellow students and members of the > > community to join the LUG. > > > > Perhaps PM could advertise an occasional "bring your problem to PM > > and let the Perl experts get you pointed in the right direction" > > night. > > > > RH > > > > > > _______________________________________________ > > Houston mailing list > > Houston at pm.org > > http://mail.pm.org/mailman/listinfo/houston > > Website: http://houston.pm.org/ > > > -- > Computer languages differ not so much in what they make possible, but in > what they make easy. -- Larry Wall > _______________________________________________ > Houston mailing list > Houston at pm.org > http://mail.pm.org/mailman/listinfo/houston > Website: http://houston.pm.org/ > -------------- next part -------------- An HTML attachment was scrubbed... URL: From rlharris at oplink.net Sun Jun 7 16:46:02 2015 From: rlharris at oplink.net (rlharris at oplink.net) Date: Sun, 7 Jun 2015 18:46:02 -0500 Subject: [pm-h] Gauging Interesting In A Potential 'Activity' Social Meeting In-Reply-To: References: <82a35f39d7031b4c7bf1388d1bf13f30.squirrel@webmail.oplink.net> <20150607105932.0f20c550@cygnus> Message-ID: <27d7c83e4814a1a9885f6f77700b6f4f.squirrel@webmail.oplink.net> On Sun, June 7, 2015 3:45 pm, Julian Brown via Houston wrote: > Wade it might be a good idea to bring it up at each meeting, maybe after > the speaker (s) have finished before we start socializing. Most of the > people are senior, but I am sure there are some who are not and would be > greatly appreciative of any help. As a non-professional essayist and commentator, I occasionally have need to modify multiple text files which reside in multi-level directory structures. Another need is to generate documents by drawing component text from files residing in multiple directories. So most of my needs involve loops which traverse directories, create or open files, and read, write, or modify file contents. A few years back, shortly after I discovered Perl, Wade and other PM-H members tutored me at PM-H meetings and via e-mail, helping me to design and write a number of Perl scripts to accomplish the required tasks. Since then, I have been hard-pressed to attend PM-H meetings, but it appears to me that most of the PM-H presentations over the past few years focus upon techniques which are much too exotic for my simple needs. Nonetheless, I view PM-H meetings as an opportunity not only to receive on-the-spot assistance, but also to make acquaintance with Perl Mongers willing to provide tutoring and assistance on an informal paid basis. RH From gwadej at anomaly.org Sun Jun 7 19:41:30 2015 From: gwadej at anomaly.org (G. Wade Johnson) Date: Sun, 7 Jun 2015 21:41:30 -0500 Subject: [pm-h] June Houston.pm Social meeting Message-ID: <20150607214130.0f5d6065@cygnus> Based on the input I'm getting, it sounds like we will have a very light turn out this time. So, I'm going to suggest that we have a social meeting. Does anyone have an opinion for a venue or will we default to the Black Lab? G. Wade -- It's hard enough to find an error in your code when you're looking for it; it's even harder when you've assumed your code is error-free. -- Steve McConnell From gwadej at anomaly.org Sun Jun 7 22:23:32 2015 From: gwadej at anomaly.org (G. Wade Johnson) Date: Mon, 8 Jun 2015 00:23:32 -0500 Subject: [pm-h] Gauging Interesting In A Potential 'Activity' Social Meeting In-Reply-To: <27d7c83e4814a1a9885f6f77700b6f4f.squirrel@webmail.oplink.net> References: <82a35f39d7031b4c7bf1388d1bf13f30.squirrel@webmail.oplink.net> <20150607105932.0f20c550@cygnus> <27d7c83e4814a1a9885f6f77700b6f4f.squirrel@webmail.oplink.net> Message-ID: <20150608002332.65029a78@cygnus> On Sun, 7 Jun 2015 18:46:02 -0500 Russell Harris via Houston wrote: > On Sun, June 7, 2015 3:45 pm, Julian Brown via Houston wrote: > > Wade it might be a good idea to bring it up at each meeting, maybe > > after the speaker (s) have finished before we start socializing. > > Most of the people are senior, but I am sure there are some who are > > not and would be greatly appreciative of any help. > > As a non-professional essayist and commentator, I occasionally have > need to modify multiple text files which reside in multi-level > directory structures. Another need is to generate documents by > drawing component text from files residing in multiple directories. > So most of my needs involve loops which traverse directories, create > or open files, and read, write, or modify file contents. > > A few years back, shortly after I discovered Perl, Wade and other PM-H > members tutored me at PM-H meetings and via e-mail, helping me to > design and write a number of Perl scripts to accomplish the required > tasks. > > Since then, I have been hard-pressed to attend PM-H meetings, but it > appears to me that most of the PM-H presentations over the past few > years focus upon techniques which are much too exotic for my simple > needs. This is actually one of the reasons that I ask for topics of interest every month. Even if you can't present on the topic, ask. Someone in the group will probably be able to. Those of us who have been doing Perl forever sometimes have trouble knowing what topics newer people would be interested in. Personally, I have been doing Perl for around 5 years before my teenager was born. Many of us would be willing to answer question or give more beginner-friendly presentations. G. Wade > Nonetheless, I view PM-H meetings as an opportunity not only to > receive on-the-spot assistance, but also to make acquaintance with > Perl Mongers willing to provide tutoring and assistance on an > informal paid basis. Russell, if you are looking for something like this, feel free to contact me off-line. That part of my current business. G. Wade > RH > > > _______________________________________________ > Houston mailing list > Houston at pm.org > http://mail.pm.org/mailman/listinfo/houston > Website: http://houston.pm.org/ -- There are 2 possible outcomes: If the result confirms the hypothesis, then you've made a measurement. If the result is contrary to the hypothesis, then you've made a discovery. -- Enrico Fermi From mrdvt92 at yahoo.com Mon Jun 8 13:50:17 2015 From: mrdvt92 at yahoo.com (Michael R. Davis) Date: Mon, 8 Jun 2015 20:50:17 +0000 (UTC) Subject: [pm-h] Looking for PSGI web server Daemon In-Reply-To: <20150608002332.65029a78@cygnus> References: <82a35f39d7031b4c7bf1388d1bf13f30.squirrel@webmail.oplink.net> <20150607105932.0f20c550@cygnus> <27d7c83e4814a1a9885f6f77700b6f4f.squirrel@webmail.oplink.net> <20150608002332.65029a78@cygnus> Message-ID: <1964767247.7446196.1433796617322.JavaMail.yahoo@mail.yahoo.com> Perl Folks,I've been using starman as my PSGI web server in development but I'm ready to go to production but don't see an enterprise way to deploy as a daemon that starts on reboot, start/stop/reload with service control, ensures the daemons is running,?etc.? Is there a recommendation from the group??We deploy as RPMs on EL6.?Thanks,Mike?mrdvt92? -------------- next part -------------- An HTML attachment was scrubbed... URL: From andrew at geekuni.com Mon Jun 8 14:04:33 2015 From: andrew at geekuni.com (Andrew Solomon) Date: Mon, 8 Jun 2015 22:04:33 +0100 Subject: [pm-h] Looking for PSGI web server Daemon In-Reply-To: <1964767247.7446196.1433796617322.JavaMail.yahoo@mail.yahoo.com> References: <82a35f39d7031b4c7bf1388d1bf13f30.squirrel@webmail.oplink.net> <20150607105932.0f20c550@cygnus> <27d7c83e4814a1a9885f6f77700b6f4f.squirrel@webmail.oplink.net> <20150608002332.65029a78@cygnus> <1964767247.7446196.1433796617322.JavaMail.yahoo@mail.yahoo.com> Message-ID: Hi Mike This is a Ubuntu example, but I think the principle will still hold - jump down to the section entitled 'Configuring Staman' http://perlmaven.com/getting-started-with-perl-dancer-on-digital-ocean I think replacing /home/starman/Demo/bin/app.pl with your .psgi app should suffice. Does that answer your question? Andrew On Mon, Jun 8, 2015 at 9:50 PM, Michael R. Davis via Houston wrote: > Perl Folks, > I've been using starman as my PSGI web server in development but I'm ready > to go to production but don't see an enterprise way to deploy as a daemon > that starts on reboot, start/stop/reload with service control, ensures the > daemons is running, etc. Is there a recommendation from the group? > > We deploy as RPMs on EL6. > > Thanks, > Mike > > mrdvt92 > > > _______________________________________________ > Houston mailing list > Houston at pm.org > http://mail.pm.org/mailman/listinfo/houston > Website: http://houston.pm.org/ > -- Andrew Solomon Mentor at Geekuni http://geekuni.com/ http://www.linkedin.com/in/asolomon -------------- next part -------------- An HTML attachment was scrubbed... URL: From mrdvt92 at yahoo.com Mon Jun 8 14:52:09 2015 From: mrdvt92 at yahoo.com (Michael R. Davis) Date: Mon, 8 Jun 2015 21:52:09 +0000 (UTC) Subject: [pm-h] Looking for PSGI web server Daemon In-Reply-To: References: Message-ID: <286104384.7483992.1433800329484.JavaMail.yahoo@mail.yahoo.com> >> enterprise way to deploy as a daemon that starts on reboot, start/stop/reload with service control, ensures the daemons is running,?etc.? ? >?From: Andrew Solomon andrew at geekuni.com > This is a Ubuntu example, but I think the principle will still hold - jump down to the section entitled 'Configuring Staman' > Does that answer your question? ? Yes and no, I was hoping that someone had already packaged up an RPM/PKG like Apache where I could just drop my PSGI script in?the /etc/starman/pgsi/ folder and be off and running.? The /etc/http/conf.d folder is why Apache is so nice.???But, I will look at the Daemon::Control module and see what I can do.? But, It would be nice to have a folder load all of the PSGI apps in a folder and mount them (a la Plack::Builder).?A config could also be as easy as ?mount=/webservicepsgi=/path/app.psgi Thanks, Mike ? mrdvt92 -------------- next part -------------- An HTML attachment was scrubbed... URL: From mrallen1 at yahoo.com Mon Jun 8 15:01:02 2015 From: mrallen1 at yahoo.com (Mark Allen) Date: Mon, 8 Jun 2015 22:01:02 +0000 (UTC) Subject: [pm-h] Looking for PSGI web server Daemon In-Reply-To: <286104384.7483992.1433800329484.JavaMail.yahoo@mail.yahoo.com> References: <286104384.7483992.1433800329484.JavaMail.yahoo@mail.yahoo.com> Message-ID: <630607049.9116829.1433800862549.JavaMail.yahoo@mail.yahoo.com> Sounds like a new Perl module to me :-) On Monday, June 8, 2015 5:52 PM, Michael R. Davis via Houston wrote: >> enterprise way to deploy as a daemon that starts on reboot, start/stop/reload with service control, ensures the daemons is running,?etc.? ? >?From: Andrew Solomon andrew at geekuni.com > This is a Ubuntu example, but I think the principle will still hold - jump down to the section entitled 'Configuring Staman' > Does that answer your question? ? Yes and no, I was hoping that someone had already packaged up an RPM/PKG like Apache where I could just drop my PSGI script in?the /etc/starman/pgsi/ folder and be off and running.? The /etc/http/conf.d folder is why Apache is so nice.???But, I will look at the Daemon::Control module and see what I can do.? But, It would be nice to have a folder load all of the PSGI apps in a folder and mount them (a la Plack::Builder).?A config could also be as easy as ?mount=/webservicepsgi=/path/app.psgi Thanks, Mike ? mrdvt92 _______________________________________________ Houston mailing list Houston at pm.org http://mail.pm.org/mailman/listinfo/houston Website: http://houston.pm.org/ -------------- next part -------------- An HTML attachment was scrubbed... URL: From mrallen1 at yahoo.com Mon Jun 8 15:01:02 2015 From: mrallen1 at yahoo.com (Mark Allen) Date: Mon, 8 Jun 2015 22:01:02 +0000 (UTC) Subject: [pm-h] Looking for PSGI web server Daemon In-Reply-To: <286104384.7483992.1433800329484.JavaMail.yahoo@mail.yahoo.com> References: <286104384.7483992.1433800329484.JavaMail.yahoo@mail.yahoo.com> Message-ID: <630607049.9116829.1433800862549.JavaMail.yahoo@mail.yahoo.com> Sounds like a new Perl module to me :-) On Monday, June 8, 2015 5:52 PM, Michael R. Davis via Houston wrote: >> enterprise way to deploy as a daemon that starts on reboot, start/stop/reload with service control, ensures the daemons is running,?etc.? ? >?From: Andrew Solomon andrew at geekuni.com > This is a Ubuntu example, but I think the principle will still hold - jump down to the section entitled 'Configuring Staman' > Does that answer your question? ? Yes and no, I was hoping that someone had already packaged up an RPM/PKG like Apache where I could just drop my PSGI script in?the /etc/starman/pgsi/ folder and be off and running.? The /etc/http/conf.d folder is why Apache is so nice.???But, I will look at the Daemon::Control module and see what I can do.? But, It would be nice to have a folder load all of the PSGI apps in a folder and mount them (a la Plack::Builder).?A config could also be as easy as ?mount=/webservicepsgi=/path/app.psgi Thanks, Mike ? mrdvt92 _______________________________________________ Houston mailing list Houston at pm.org http://mail.pm.org/mailman/listinfo/houston Website: http://houston.pm.org/ -------------- next part -------------- An HTML attachment was scrubbed... URL: From estrabd at gmail.com Mon Jun 8 15:07:38 2015 From: estrabd at gmail.com (B. Estrade) Date: Mon, 8 Jun 2015 17:07:38 -0500 Subject: [pm-h] Looking for PSGI web server Daemon In-Reply-To: <1964767247.7446196.1433796617322.JavaMail.yahoo@mail.yahoo.com> References: <82a35f39d7031b4c7bf1388d1bf13f30.squirrel@webmail.oplink.net> <20150607105932.0f20c550@cygnus> <27d7c83e4814a1a9885f6f77700b6f4f.squirrel@webmail.oplink.net> <20150608002332.65029a78@cygnus> <1964767247.7446196.1433796617322.JavaMail.yahoo@mail.yahoo.com> Message-ID: Idk about monitoring, but it's pretty straight forward to write a simple init script and have it start on boot and shutdown on system shutdown. Brett > On Jun 8, 2015, at 3:50 PM, Michael R. Davis via Houston wrote: > > Perl Folks, > I've been using starman as my PSGI web server in development but I'm ready to go to production but don't see an enterprise way to deploy as a daemon that starts on reboot, start/stop/reload with service control, ensures the daemons is running, etc. Is there a recommendation from the group? > > We deploy as RPMs on EL6. > > Thanks, > Mike > > mrdvt92 > > _______________________________________________ > Houston mailing list > Houston at pm.org > http://mail.pm.org/mailman/listinfo/houston > Website: http://houston.pm.org/ -------------- next part -------------- An HTML attachment was scrubbed... URL: From mrdvt92 at yahoo.com Mon Jun 8 19:32:31 2015 From: mrdvt92 at yahoo.com (Michael R. Davis) Date: Tue, 9 Jun 2015 02:32:31 +0000 (UTC) Subject: [pm-h] Looking for PSGI web server Daemon In-Reply-To: <630607049.9116829.1433800862549.JavaMail.yahoo@mail.yahoo.com> References: <630607049.9116829.1433800862549.JavaMail.yahoo@mail.yahoo.com> Message-ID: <1183042996.7710700.1433817151820.JavaMail.yahoo@mail.yahoo.com> Perl Folks,? >>> hoping that someone had already packaged up an RPM/PKG like Apache where I could just drop my PSGI script in?the /etc/starman/pgsi/ folder and be off and running.? ??Here's a cool URL mapper for Plack apps.? It works great for Plack apps but it fails to pull in more than the first Mojo app.? I have no idea why but load_psgi (`do "$filename"`) must work differently after the first Mojo app is loaded.?Error: "Can't use string ("Mojolicious::Commands") as a subroutine ref while "strict refs" in use at /usr/share/perl5/vendor_perl/Plack/Middleware/Auth/Basic.pm line 30." ?$ cat plack-builder-mount-deamon-folder.pl #!/usr/bin/perl use strict; use warnings; use Plack::App::URLMap qw{}; use Plack::Util qw{};my %filenames = ( ???????????????? '/p0' => 'plack.psgi', #works ???????????????? '/p1' => 'plack.psgi', #works ???????????????? '/p2' => 'plack.psgi', #works ???????????????? '/p3' => 'plack.psgi', #works ???????????????? '/p4' => 'plack.psgi', #works ???????????????? '/p5' => 'plack.psgi', #works ???????????????? '/m1' => 'mojo-lite-1.psgi', #works ???????????????? '/m2' => 'mojo-lite-2.psgi', #fails ???????????????? '/m3' => 'mojo-lite-3.psgi', #fails ???????????????? '/m4' => 'mojo-lite-4.psgi', #fails ???????????????? '/m5' => 'mojo-lite-5.psgi', #fails ??????????????? );my $mapper??? = Plack::App::URLMap->new;foreach my $mount (sort keys %filenames) { ? my $filename = $filenames{$mount}; ? my $app????? = Plack::Util::load_psgi($filename) or die($@); ? die($@) unless ref($app) eq "CODE"; ? $mapper->map($mount => $app); ? print "Mapped: $mount to $filename ($app)\n"; }my $system = $mapper->to_app; ?---?$ cat plack.psgi#!/usr/bin/perl use Plack::Builder;my $app = sub { ? my $env = shift; ? return [ ?????????? 200, ?????????? [ "Content-Type" => "text/plain", "Content-Length" => 11 ], ?????????? [ "Hello World" ], ???????? ]; };builder { ? enable "Auth::Basic", authenticator => \&authen_cb; ? $app; };sub authen_cb { ? my($username, $password, $env) = @_; ? return $username eq 'user' && $password eq 'pass'; } ---?$ cat mojo-lite.psgi #perl use strict; use warnings; use Plack::Builder qw{builder enable mount}; use Mojolicious::Lite qw{app}; use DateTime;get '/' => sub { ? my $c = shift; ? $c->render( ???????????? json => { ????????????????????? int??? => 1, ????????????????????? float? => 2.23423, ????????????????????? exp??? => 34.45e27, ????????????????????? string => "hello world!", ????????????????????? dt???? => DateTime->now, ???????????????????? } ??????????? ); };?get '/env' => sub { ? my $c = shift; ? $c->render( ???????????? text => join("", map {sprintf "%s: %s\n", $_, $ENV{$_}} sort keys %ENV), ??????????? ); };?sub authen_cb { ? my($username, $password, $env) = @_; ? return $username eq 'user' && $password eq 'pass'; }?builder { ? enable "Auth::Basic", authenticator => \&authen_cb;?? app->start; #app from Mojolicious::Lite }; ---??Thanks, Mike ? mrdvt92 -------------- next part -------------- An HTML attachment was scrubbed... URL: From mrallen1 at yahoo.com Tue Jun 9 06:02:14 2015 From: mrallen1 at yahoo.com (Mark Allen) Date: Tue, 9 Jun 2015 13:02:14 +0000 (UTC) Subject: [pm-h] Looking for PSGI web server Daemon In-Reply-To: <1183042996.7710700.1433817151820.JavaMail.yahoo@mail.yahoo.com> References: <1183042996.7710700.1433817151820.JavaMail.yahoo@mail.yahoo.com> Message-ID: <838890920.9556438.1433854934775.JavaMail.yahoo@mail.yahoo.com> I just found out about Gazelle this morning - looks reeeeeally cool for PSGI apps. Gazelle - Preforked Plack Handler for performance freaks - metacpan.org | ? | | ? | ? | ? | ? | ? | | Gazelle - Preforked Plack Handler for performance freaks - metacpan.orgPreforked Plack Handler for performance freaks | | | | View on metacpan.org | Preview by Yahoo | | | | ? | On Monday, June 8, 2015 10:32 PM, Michael R. Davis wrote: Perl Folks,? >>> hoping that someone had already packaged up an RPM/PKG like Apache where I could just drop my PSGI script in?the /etc/starman/pgsi/ folder and be off and running.? ??Here's a cool URL mapper for Plack apps.? It works great for Plack apps but it fails to pull in more than the first Mojo app.? I have no idea why but load_psgi (`do "$filename"`) must work differently after the first Mojo app is loaded.?Error: "Can't use string ("Mojolicious::Commands") as a subroutine ref while "strict refs" in use at /usr/share/perl5/vendor_perl/Plack/Middleware/Auth/Basic.pm line 30." ?$ cat plack-builder-mount-deamon-folder.pl #!/usr/bin/perl use strict; use warnings; use Plack::App::URLMap qw{}; use Plack::Util qw{};my %filenames = ( ???????????????? '/p0' => 'plack.psgi', #works ???????????????? '/p1' => 'plack.psgi', #works ???????????????? '/p2' => 'plack.psgi', #works ???????????????? '/p3' => 'plack.psgi', #works ???????????????? '/p4' => 'plack.psgi', #works ???????????????? '/p5' => 'plack.psgi', #works ???????????????? '/m1' => 'mojo-lite-1.psgi', #works ???????????????? '/m2' => 'mojo-lite-2.psgi', #fails ???????????????? '/m3' => 'mojo-lite-3.psgi', #fails ???????????????? '/m4' => 'mojo-lite-4.psgi', #fails ???????????????? '/m5' => 'mojo-lite-5.psgi', #fails ??????????????? );my $mapper??? = Plack::App::URLMap->new;foreach my $mount (sort keys %filenames) { ? my $filename = $filenames{$mount}; ? my $app????? = Plack::Util::load_psgi($filename) or die($@); ? die($@) unless ref($app) eq "CODE"; ? $mapper->map($mount => $app); ? print "Mapped: $mount to $filename ($app)\n"; }my $system = $mapper->to_app; ?---?$ cat plack.psgi#!/usr/bin/perl use Plack::Builder;my $app = sub { ? my $env = shift; ? return [ ?????????? 200, ?????????? [ "Content-Type" => "text/plain", "Content-Length" => 11 ], ?????????? [ "Hello World" ], ???????? ]; };builder { ? enable "Auth::Basic", authenticator => \&authen_cb; ? $app; };sub authen_cb { ? my($username, $password, $env) = @_; ? return $username eq 'user' && $password eq 'pass'; } ---?$ cat mojo-lite.psgi #perl use strict; use warnings; use Plack::Builder qw{builder enable mount}; use Mojolicious::Lite qw{app}; use DateTime;get '/' => sub { ? my $c = shift; ? $c->render( ???????????? json => { ????????????????????? int??? => 1, ????????????????????? float? => 2.23423, ????????????????????? exp??? => 34.45e27, ????????????????????? string => "hello world!", ????????????????????? dt???? => DateTime->now, ???????????????????? } ??????????? ); };?get '/env' => sub { ? my $c = shift; ? $c->render( ???????????? text => join("", map {sprintf "%s: %s\n", $_, $ENV{$_}} sort keys %ENV), ??????????? ); };?sub authen_cb { ? my($username, $password, $env) = @_; ? return $username eq 'user' && $password eq 'pass'; }?builder { ? enable "Auth::Basic", authenticator => \&authen_cb;?? app->start; #app from Mojolicious::Lite }; ---??Thanks, Mike ? mrdvt92 -------------- next part -------------- An HTML attachment was scrubbed... URL: From john at nixnuts.net Tue Jun 9 08:14:49 2015 From: john at nixnuts.net (John Lightsey) Date: Tue, 09 Jun 2015 10:14:49 -0500 Subject: [pm-h] Looking for PSGI web server Daemon In-Reply-To: <838890920.9556438.1433854934775.JavaMail.yahoo@mail.yahoo.com> References: <1183042996.7710700.1433817151820.JavaMail.yahoo@mail.yahoo.com> <838890920.9556438.1433854934775.JavaMail.yahoo@mail.yahoo.com> Message-ID: <1433862889.2350.14.camel@nixnuts.net> Is there some advantage in using a Perl PSGI daemon rather than a more standard combination of Apache+ModPerl+PSGI or Nginx+FastCGI+PSGI? The utility of a standalone PSGI server seems pretty obvious for development, but not so obvious for production deployments. I would think that the performance hit for static files would be significant enough to outweigh the benefits of using a dedicated PSGI server. On Tue, 2015-06-09 at 13:02 +0000, Mark Allen via Houston wrote: > I just found out about Gazelle this morning - looks reeeeeally cool for PSGI apps. > Gazelle - Preforked Plack Handler for performance freaks - metacpan.org > > | | > | | | | | | > | Gazelle - Preforked Plack Handler for performance freaks - metacpan.orgPreforked Plack Handler for performance freaks | > | | > | View on metacpan.org | Preview by Yahoo | > | | > | | > > > > > > On Monday, June 8, 2015 10:32 PM, Michael R. Davis wrote: > > > Perl Folks, > >>> hoping that someone had already packaged up an RPM/PKG like Apache where I could just drop my PSGI script in the /etc/starman/pgsi/ folder and be off and running. Here's a cool URL mapper for Plack apps. It works great for Plack apps but it fails to pull in more than the first Mojo app. I have no idea why but load_psgi (`do "$filename"`) must work differently after the first Mojo app is loaded. Error: "Can't use string ("Mojolicious::Commands") as a subroutine ref while "strict refs" in use at /usr/share/perl5/vendor_perl/Plack/Middleware/Auth/Basic.pm line 30." > $ cat plack-builder-mount-deamon-folder.pl > #!/usr/bin/perl > use strict; > use warnings; > use Plack::App::URLMap qw{}; > use Plack::Util qw{};my %filenames = ( > '/p0' => 'plack.psgi', #works > '/p1' => 'plack.psgi', #works > '/p2' => 'plack.psgi', #works > '/p3' => 'plack.psgi', #works > '/p4' => 'plack.psgi', #works > '/p5' => 'plack.psgi', #works > '/m1' => 'mojo-lite-1.psgi', #works > '/m2' => 'mojo-lite-2.psgi', #fails > '/m3' => 'mojo-lite-3.psgi', #fails > '/m4' => 'mojo-lite-4.psgi', #fails > '/m5' => 'mojo-lite-5.psgi', #fails > );my $mapper = Plack::App::URLMap->new;foreach my $mount (sort keys %filenames) { > my $filename = $filenames{$mount}; > my $app = Plack::Util::load_psgi($filename) or die($@); > die($@) unless ref($app) eq "CODE"; > $mapper->map($mount => $app); > print "Mapped: $mount to $filename ($app)\n"; > }my $system = $mapper->to_app; > --- $ cat plack.psgi#!/usr/bin/perl > use Plack::Builder;my $app = sub { > my $env = shift; > return [ > 200, > [ "Content-Type" => "text/plain", "Content-Length" => 11 ], > [ "Hello World" ], > ]; > };builder { > enable "Auth::Basic", authenticator => \&authen_cb; > $app; > };sub authen_cb { > my($username, $password, $env) = @_; > return $username eq 'user' && $password eq 'pass'; > } > --- $ cat mojo-lite.psgi > #perl > use strict; > use warnings; > use Plack::Builder qw{builder enable mount}; > use Mojolicious::Lite qw{app}; > use DateTime;get '/' => sub { > my $c = shift; > $c->render( > json => { > int => 1, > float => 2.23423, > exp => 34.45e27, > string => "hello world!", > dt => DateTime->now, > } > ); > }; get '/env' => sub { > my $c = shift; > $c->render( > text => join("", map {sprintf "%s: %s\n", $_, $ENV{$_}} sort keys %ENV), > ); > }; sub authen_cb { > my($username, $password, $env) = @_; > return $username eq 'user' && $password eq 'pass'; > } builder { > enable "Auth::Basic", authenticator => \&authen_cb; app->start; #app from Mojolicious::Lite > }; > --- Thanks, > Mike > > mrdvt92 > > > > _______________________________________________ Houston mailing list Houston at pm.org http://mail.pm.org/mailman/listinfo/houston Website: http://houston.pm.org/ -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 819 bytes Desc: This is a digitally signed message part URL: From estrabd at gmail.com Tue Jun 9 10:50:32 2015 From: estrabd at gmail.com (B. Estrade) Date: Tue, 9 Jun 2015 12:50:32 -0500 Subject: [pm-h] Looking for PSGI web server Daemon In-Reply-To: <1433862889.2350.14.camel@nixnuts.net> References: <1183042996.7710700.1433817151820.JavaMail.yahoo@mail.yahoo.com> <838890920.9556438.1433854934775.JavaMail.yahoo@mail.yahoo.com> <1433862889.2350.14.camel@nixnuts.net> Message-ID: <6ACB15A1-DA1E-4861-A23B-70EE33C6D832@gmail.com> I say no. Furthermore, I'll be so bold as to say that few applications truly require persistence at all. Brett > On Jun 9, 2015, at 10:14 AM, John Lightsey via Houston wrote: > > Is there some advantage in using a Perl PSGI daemon rather than a more > standard combination of Apache+ModPerl+PSGI or Nginx+FastCGI+PSGI? > > The utility of a standalone PSGI server seems pretty obvious for > development, but not so obvious for production deployments. I would > think that the performance hit for static files would be significant > enough to outweigh the benefits of using a dedicated PSGI server. > >> On Tue, 2015-06-09 at 13:02 +0000, Mark Allen via Houston wrote: >> I just found out about Gazelle this morning - looks reeeeeally cool for PSGI apps. >> Gazelle - Preforked Plack Handler for performance freaks - metacpan.org >> >> | | >> | | | | | | >> | Gazelle - Preforked Plack Handler for performance freaks - metacpan.orgPreforked Plack Handler for performance freaks | >> | | >> | View on metacpan.org | Preview by Yahoo | >> | | >> | | >> >> >> >> >> >> On Monday, June 8, 2015 10:32 PM, Michael R. Davis wrote: >> >> >> Perl Folks, >>>>> hoping that someone had already packaged up an RPM/PKG like Apache where I could just drop my PSGI script in the /etc/starman/pgsi/ folder and be off and running. Here's a cool URL mapper for Plack apps. It works great for Plack apps but it fails to pull in more than the first Mojo app. I have no idea why but load_psgi (`do "$filename"`) must work differently after the first Mojo app is loaded. Error: "Can't use string ("Mojolicious::Commands") as a subroutine ref while "strict refs" in use at /usr/share/perl5/vendor_perl/Plack/Middleware/Auth/Basic.pm line 30." >> $ cat plack-builder-mount-deamon-folder.pl >> #!/usr/bin/perl >> use strict; >> use warnings; >> use Plack::App::URLMap qw{}; >> use Plack::Util qw{};my %filenames = ( >> '/p0' => 'plack.psgi', #works >> '/p1' => 'plack.psgi', #works >> '/p2' => 'plack.psgi', #works >> '/p3' => 'plack.psgi', #works >> '/p4' => 'plack.psgi', #works >> '/p5' => 'plack.psgi', #works >> '/m1' => 'mojo-lite-1.psgi', #works >> '/m2' => 'mojo-lite-2.psgi', #fails >> '/m3' => 'mojo-lite-3.psgi', #fails >> '/m4' => 'mojo-lite-4.psgi', #fails >> '/m5' => 'mojo-lite-5.psgi', #fails >> );my $mapper = Plack::App::URLMap->new;foreach my $mount (sort keys %filenames) { >> my $filename = $filenames{$mount}; >> my $app = Plack::Util::load_psgi($filename) or die($@); >> die($@) unless ref($app) eq "CODE"; >> $mapper->map($mount => $app); >> print "Mapped: $mount to $filename ($app)\n"; >> }my $system = $mapper->to_app; >> --- $ cat plack.psgi#!/usr/bin/perl >> use Plack::Builder;my $app = sub { >> my $env = shift; >> return [ >> 200, >> [ "Content-Type" => "text/plain", "Content-Length" => 11 ], >> [ "Hello World" ], >> ]; >> };builder { >> enable "Auth::Basic", authenticator => \&authen_cb; >> $app; >> };sub authen_cb { >> my($username, $password, $env) = @_; >> return $username eq 'user' && $password eq 'pass'; >> } >> --- $ cat mojo-lite.psgi >> #perl >> use strict; >> use warnings; >> use Plack::Builder qw{builder enable mount}; >> use Mojolicious::Lite qw{app}; >> use DateTime;get '/' => sub { >> my $c = shift; >> $c->render( >> json => { >> int => 1, >> float => 2.23423, >> exp => 34.45e27, >> string => "hello world!", >> dt => DateTime->now, >> } >> ); >> }; get '/env' => sub { >> my $c = shift; >> $c->render( >> text => join("", map {sprintf "%s: %s\n", $_, $ENV{$_}} sort keys %ENV), >> ); >> }; sub authen_cb { >> my($username, $password, $env) = @_; >> return $username eq 'user' && $password eq 'pass'; >> } builder { >> enable "Auth::Basic", authenticator => \&authen_cb; app->start; #app from Mojolicious::Lite >> }; >> --- Thanks, >> Mike >> >> mrdvt92 >> >> >> >> _______________________________________________ Houston mailing list Houston at pm.org http://mail.pm.org/mailman/listinfo/houston Website: http://houston.pm.org/ > > _______________________________________________ > Houston mailing list > Houston at pm.org > http://mail.pm.org/mailman/listinfo/houston > Website: http://houston.pm.org/ From gwadej at anomaly.org Tue Jun 9 16:31:19 2015 From: gwadej at anomaly.org (G. Wade Johnson) Date: Tue, 9 Jun 2015 18:31:19 -0500 Subject: [pm-h] Venue for the Houston.pm social meeting on Thursday Message-ID: <20150609183119.0994e2b7@cygnus> Based on a suggestion from Xaviar at Hostgator, we will have the social meeting at a different location this time: Nick's Grill, 2416 Mangum Rd, 77079 (https://www.google.com/maps/place/2416+Mangum+Rd,+Houston,+TX+77092/@29.8090598,-95.4585014,17z) As usual, I get there between 6:30 and 7pm on Thursday. The fun starts when you get there. Based on notes from the list, I want to remind everyone that even though this is a social meeting, feel free to bring any questions or problems that you think we can help with. There are bound to be a number of people there with varying degrees of Perl/programming experience. See you there, G. Wade Johnson -- We've all heard that a million monkeys banging on a million typewriters will eventually reproduce the works of Shakespeare. Now, thanks to the Internet, we know this is not true. -- Robert Wilensky, UCB From mrdvt92 at yahoo.com Tue Jun 9 20:57:20 2015 From: mrdvt92 at yahoo.com (Michael R. Davis) Date: Wed, 10 Jun 2015 03:57:20 +0000 (UTC) Subject: [pm-h] Looking for PSGI web server Daemon In-Reply-To: <1433862889.2350.14.camel@nixnuts.net> References: <1433862889.2350.14.camel@nixnuts.net> Message-ID: <1494420961.141346.1433908640832.JavaMail.yahoo@mail.yahoo.com> John,?> Is there some advantage in using a Perl PSGI daemon rather than a more standard combination of Apache+ModPerl+PSGI.?I've read tons of documentation but had never seen a "recommendation" or a "standard" deployment.? After your email, I dove in with Google and found Catalyst actually recommends FastCGI.?Dancer2 - Apache with PerlHandler Plack::Handler::Apache2 is third on the listPlack - The only?examples I've ever seen all use plackup"Catalyst applications are most often deployed as a FastCGI or mod_perl application (with FastCGI being the recommended option)."?I think with PSGI there may be too many ways to do it.?I've been using Apache/CGI with a custom MVC for?9 years.? But, we have out grown it.? So, I'm looking for a technology that might actually last another 7 years.? I guess there is not much risk as we could redeploy on a different stack and not have to change much as the PSGI standard is here to stay.?I?will definitely look into Apache/mod_perl/PSGI as Apache is a low risk ticket around here.? I'll have to see if we can reuse our CGI-based APR authentication system under mod_perl.? ?Now on to fighting with database pooling and min/max connection time requirements. Thanks to all and I hope this thread helps others out there too.Mike?mrdvt92 -------------- next part -------------- An HTML attachment was scrubbed... URL: From gwadej at anomaly.org Thu Jun 18 18:25:11 2015 From: gwadej at anomaly.org (G. Wade Johnson) Date: Thu, 18 Jun 2015 20:25:11 -0500 Subject: [pm-h] Technical help at the Houston.pm meetings Message-ID: <20150618202511.13ad1070@cygnus> I've recently been reminded that we haven't been letting people know that the group is available to help with * general Perl * general programming * troubleshooting program problems * design review and help * presentation review * (other things I can't think of right now) We have always been happy to answer questions, but I had gotten out of the habit of reminding people. Depending on your problem and inclinations, we can provide help either individually or as a group. All you have to do is ask. G. Wade -- Trying to outsmart a compiler defeats much of the purpose of using one. -- Brian Kernighan and P.J. Plauger From gwadej at anomaly.org Thu Jun 18 18:18:14 2015 From: gwadej at anomaly.org (G. Wade Johnson) Date: Thu, 18 Jun 2015 20:18:14 -0500 Subject: [pm-h] July Houston.pm meeting at cPanel. Message-ID: <20150618201814.38380f18@cygnus> Last month, JD and I both volunteered for short talks. * JD: Metasploit module for Locale::Maketext format string attack * Wade: one of three topics. Each of these talks is around 20 minutes. Does anyone have a short presentation in the 20 minute range they can give to round out the time? Email to myself or the list any suggestions. G. Wade -- A product's only late once, but it can suck forever. -- Ben Spees, Ambrosia Software From rlharris at oplink.net Fri Jun 19 13:55:21 2015 From: rlharris at oplink.net (rlharris at oplink.net) Date: Fri, 19 Jun 2015 15:55:21 -0500 Subject: [pm-h] got chrome? or chromium? Message-ID: <451e7d08a311963eb8f8dd0ec0f0523c.squirrel@webmail.oplink.net> http://www.theregister.co.uk/2015/06/17/debian_chromium_hubbub/ If you cannot trust Google, who can you trust? Bwah-hah-hah-hah-ha! From mrdvt92 at yahoo.com Mon Jun 22 06:29:09 2015 From: mrdvt92 at yahoo.com (Michael R. Davis) Date: Mon, 22 Jun 2015 13:29:09 +0000 (UTC) Subject: [pm-h] modulemaker alternatives? Message-ID: <1592535489.3155902.1434979749291.JavaMail.yahoo@mail.yahoo.com> Perl Folks,What tool are people using to build package structures in 2015?? A Google on Perl Monks did not bring up anything "modern".?I've been using /usr/bin/modulemaker on EL5 for years.? Now it does not appear that it is part of the?EL6 repos in 2015.?[el5] $?rpm -q --whatprovides /usr/bin/modulemaker perl-ExtUtils-ModuleMaker-0.51-1.fc12.noarch?[el6]$ sudo yum install perl-ExtUtils-ModuleMaker No package perl-ExtUtils-ModuleMaker available.?$ sudo yum install /usr/bin/modulemaker No package /usr/bin/modulemaker available.?Ideally a modern module maker would have a Moo/Moose/Mouse choice.? Install normal tests like pod coverage, changes, kwalitee, pod spell.?Any best practices from the group?? For today, I made one on EL5 and committed to repo to develop on EL6.Thanks,Mike -------------- next part -------------- An HTML attachment was scrubbed... URL: From gwadej at anomaly.org Mon Jun 22 07:14:34 2015 From: gwadej at anomaly.org (G. Wade Johnson) Date: Mon, 22 Jun 2015 09:14:34 -0500 Subject: [pm-h] modulemaker alternatives? In-Reply-To: <1592535489.3155902.1434979749291.JavaMail.yahoo@mail.yahoo.com> References: <1592535489.3155902.1434979749291.JavaMail.yahoo@mail.yahoo.com> Message-ID: <20150622091434.11de2a6f@cygnus> I've used Module::Starter for years. I have a set of templates for the module that I use to set up the distribution the way I like. G. Wade On Mon, 22 Jun 2015 13:29:09 +0000 (UTC) "Michael R. Davis via Houston" wrote: > Perl Folks,What tool are people using to build package structures in > 2015?? A Google on Perl Monks did not bring up anything > "modern".?I've been using /usr/bin/modulemaker on EL5 for years.? Now > it does not appear that it is part of the?EL6 repos in 2015.?[el5] > $?rpm -q --whatprovides /usr/bin/modulemaker > perl-ExtUtils-ModuleMaker-0.51-1.fc12.noarch?[el6]$ sudo yum install > perl-ExtUtils-ModuleMaker No package perl-ExtUtils-ModuleMaker > available.?$ sudo yum install /usr/bin/modulemaker No > package /usr/bin/modulemaker available.?Ideally a modern module maker > would have a Moo/Moose/Mouse choice.? Install normal tests like pod > coverage, changes, kwalitee, pod spell.?Any best practices from the > group?? For today, I made one on EL5 and committed to repo to develop > on EL6.Thanks,Mike -- Ever wonder why the SAME PEOPLE make up ALL the conspiracy theories? From mrallen1 at yahoo.com Mon Jun 22 07:40:59 2015 From: mrallen1 at yahoo.com (Mark Allen) Date: Mon, 22 Jun 2015 14:40:59 +0000 (UTC) Subject: [pm-h] modulemaker alternatives? In-Reply-To: <1592535489.3155902.1434979749291.JavaMail.yahoo@mail.yahoo.com> References: <1592535489.3155902.1434979749291.JavaMail.yahoo@mail.yahoo.com> Message-ID: <771454133.3847617.1434984059726.JavaMail.yahoo@mail.yahoo.com> I pretty much *always* use Dist::Zilla to start a new CPAN distribution. ?I even started my own minting template, but haven't *quite* ironed out all of the details on that yet. Got stuck with some of the template substitution stuff not doing what I expected. But before Dist::Zilla, I used Module::Starter pretty frequently. Mark On Monday, June 22, 2015 8:29 AM, Michael R. Davis via Houston wrote: Perl Folks,What tool are people using to build package structures in 2015?? A Google on Perl Monks did not bring up anything "modern".?I've been using /usr/bin/modulemaker on EL5 for years.? Now it does not appear that it is part of the?EL6 repos in 2015.?[el5] $?rpm -q --whatprovides /usr/bin/modulemaker perl-ExtUtils-ModuleMaker-0.51-1.fc12.noarch?[el6]$ sudo yum install perl-ExtUtils-ModuleMaker No package perl-ExtUtils-ModuleMaker available.?$ sudo yum install /usr/bin/modulemaker No package /usr/bin/modulemaker available.?Ideally a modern module maker would have a Moo/Moose/Mouse choice.? Install normal tests like pod coverage, changes, kwalitee, pod spell.?Any best practices from the group?? For today, I made one on EL5 and committed to repo to develop on EL6.Thanks,Mike _______________________________________________ Houston mailing list Houston at pm.org http://mail.pm.org/mailman/listinfo/houston Website: http://houston.pm.org/ -------------- next part -------------- An HTML attachment was scrubbed... URL: From mrallen1 at yahoo.com Mon Jun 22 07:40:59 2015 From: mrallen1 at yahoo.com (Mark Allen) Date: Mon, 22 Jun 2015 14:40:59 +0000 (UTC) Subject: [pm-h] modulemaker alternatives? In-Reply-To: <1592535489.3155902.1434979749291.JavaMail.yahoo@mail.yahoo.com> References: <1592535489.3155902.1434979749291.JavaMail.yahoo@mail.yahoo.com> Message-ID: <771454133.3847617.1434984059726.JavaMail.yahoo@mail.yahoo.com> I pretty much *always* use Dist::Zilla to start a new CPAN distribution. ?I even started my own minting template, but haven't *quite* ironed out all of the details on that yet. Got stuck with some of the template substitution stuff not doing what I expected. But before Dist::Zilla, I used Module::Starter pretty frequently. Mark On Monday, June 22, 2015 8:29 AM, Michael R. Davis via Houston wrote: Perl Folks,What tool are people using to build package structures in 2015?? A Google on Perl Monks did not bring up anything "modern".?I've been using /usr/bin/modulemaker on EL5 for years.? Now it does not appear that it is part of the?EL6 repos in 2015.?[el5] $?rpm -q --whatprovides /usr/bin/modulemaker perl-ExtUtils-ModuleMaker-0.51-1.fc12.noarch?[el6]$ sudo yum install perl-ExtUtils-ModuleMaker No package perl-ExtUtils-ModuleMaker available.?$ sudo yum install /usr/bin/modulemaker No package /usr/bin/modulemaker available.?Ideally a modern module maker would have a Moo/Moose/Mouse choice.? Install normal tests like pod coverage, changes, kwalitee, pod spell.?Any best practices from the group?? For today, I made one on EL5 and committed to repo to develop on EL6.Thanks,Mike _______________________________________________ Houston mailing list Houston at pm.org http://mail.pm.org/mailman/listinfo/houston Website: http://houston.pm.org/ -------------- next part -------------- An HTML attachment was scrubbed... URL: From estrabd at gmail.com Mon Jun 22 08:00:39 2015 From: estrabd at gmail.com (B. Estrade) Date: Mon, 22 Jun 2015 10:00:39 -0500 Subject: [pm-h] modulemaker alternatives? In-Reply-To: <20150622091434.11de2a6f@cygnus> References: <1592535489.3155902.1434979749291.JavaMail.yahoo@mail.yahoo.com> <20150622091434.11de2a6f@cygnus> Message-ID: I tend to use the old h2xs style, but the major drawback is that it doesn't generate a META.yaml (even a bare one)l for you; and that is pretty important these days. I have found the Dist::Zilla does this. META.yaml is important for metacpan and for efforts like the "Pull Request Challenge," which requires a META.yaml to be present in your GitHub repo in order for it to be considered for assignment. Brett On Mon, Jun 22, 2015 at 9:14 AM, G. Wade Johnson via Houston wrote: > I've used Module::Starter for years. > > I have a set of templates for the module that I use to set up the > distribution the way I like. > > G. Wade > > On Mon, 22 Jun 2015 13:29:09 +0000 (UTC) > "Michael R. Davis via Houston" wrote: > > > Perl Folks,What tool are people using to build package structures in > > 2015? A Google on Perl Monks did not bring up anything > > "modern". I've been using /usr/bin/modulemaker on EL5 for years. Now > > it does not appear that it is part of the EL6 repos in 2015. [el5] > > $ rpm -q --whatprovides /usr/bin/modulemaker > > perl-ExtUtils-ModuleMaker-0.51-1.fc12.noarch [el6]$ sudo yum install > > perl-ExtUtils-ModuleMaker No package perl-ExtUtils-ModuleMaker > > available. $ sudo yum install /usr/bin/modulemaker No > > package /usr/bin/modulemaker available. Ideally a modern module maker > > would have a Moo/Moose/Mouse choice. Install normal tests like pod > > coverage, changes, kwalitee, pod spell. Any best practices from the > > group? For today, I made one on EL5 and committed to repo to develop > > on EL6.Thanks,Mike > > > -- > Ever wonder why the SAME PEOPLE make up ALL the conspiracy theories? > _______________________________________________ > Houston mailing list > Houston at pm.org > http://mail.pm.org/mailman/listinfo/houston > Website: http://houston.pm.org/ -------------- next part -------------- An HTML attachment was scrubbed... URL: From mrallen1 at yahoo.com Mon Jun 22 08:10:27 2015 From: mrallen1 at yahoo.com (Mark Allen) Date: Mon, 22 Jun 2015 15:10:27 +0000 (UTC) Subject: [pm-h] modulemaker alternatives? In-Reply-To: References: Message-ID: <653544659.3888181.1434985827940.JavaMail.yahoo@mail.yahoo.com> Recent MakeMakers generate META.yaml and META.json FWIW. See the "make distmeta" rule in the output Makefile. On Monday, June 22, 2015 10:01 AM, B. Estrade via Houston wrote: I tend to use the old h2xs style, but the major drawback is that it doesn't generate a META.yaml (even a bare one)l for you; and that is pretty important these days.? I have found the Dist::Zilla does this. ? META.yaml is important for metacpan and for efforts like the "Pull Request Challenge," which requires a META.yaml to be present in your GitHub repo in order for it to be considered for assignment. Brett On Mon, Jun 22, 2015 at 9:14 AM, G. Wade Johnson via Houston wrote: I've used Module::Starter for years. I have a set of templates for the module that I use to set up the distribution the way I like. G. Wade On Mon, 22 Jun 2015 13:29:09 +0000 (UTC) "Michael R. Davis via Houston" wrote: > Perl Folks,What tool are people using to build package structures in > 2015?? A Google on Perl Monks did not bring up anything > "modern".?I've been using /usr/bin/modulemaker on EL5 for years.? Now > it does not appear that it is part of the?EL6 repos in 2015.?[el5] > $?rpm -q --whatprovides /usr/bin/modulemaker > perl-ExtUtils-ModuleMaker-0.51-1.fc12.noarch?[el6]$ sudo yum install > perl-ExtUtils-ModuleMaker No package perl-ExtUtils-ModuleMaker > available.?$ sudo yum install /usr/bin/modulemaker No > package /usr/bin/modulemaker available.?Ideally a modern module maker > would have a Moo/Moose/Mouse choice.? Install normal tests like pod > coverage, changes, kwalitee, pod spell.?Any best practices from the > group?? For today, I made one on EL5 and committed to repo to develop > on EL6.Thanks,Mike -- Ever wonder why the SAME PEOPLE make up ALL the conspiracy theories? _______________________________________________ Houston mailing list Houston at pm.org http://mail.pm.org/mailman/listinfo/houston Website: http://houston.pm.org/ _______________________________________________ Houston mailing list Houston at pm.org http://mail.pm.org/mailman/listinfo/houston Website: http://houston.pm.org/ -------------- next part -------------- An HTML attachment was scrubbed... URL: From rurban at cpan.org Mon Jun 22 11:12:37 2015 From: rurban at cpan.org (Reini Urban) Date: Mon, 22 Jun 2015 20:12:37 +0200 Subject: [pm-h] modulemaker alternatives? In-Reply-To: <1592535489.3155902.1434979749291.JavaMail.yahoo@mail.yahoo.com> References: <1592535489.3155902.1434979749291.JavaMail.yahoo@mail.yahoo.com> Message-ID: I still use the old tricks generating EUMM (h2xs or cp -r and search/replace in my editor or via sed) and just manually copy over the release/distro tests from other modules. Module::Starter with customized templates is recommended. Dist::Zilla, Zilla::Dist and Module::Build are still too horrible and fragile for me to use, esp. when testing with multiple perls. META files are generated automatically, and the usual dzil tricks and more I can add to Makefile.PL manually. See http://blogs.perl.org/users/rurban/2012/02/extutilsmakemaker-make-release.html From mrdvt92 at yahoo.com Fri Jun 26 13:52:44 2015 From: mrdvt92 at yahoo.com (Michael R. Davis) Date: Fri, 26 Jun 2015 20:52:44 +0000 (UTC) Subject: [pm-h] Looking for PSGI web server Daemon In-Reply-To: <1433862889.2350.14.camel@nixnuts.net> References: <1433862889.2350.14.camel@nixnuts.net> Message-ID: <580063436.574002.1435351964100.JavaMail.yahoo@mail.yahoo.com> Perl Folks, I just want to keep you in the loop on my PSGI experimentation.?So, I think I've settled on Fast CGI under Apache.? For me it's best as I can simply reuse our APR authentication session layer and not have to worry about authentication in the application layer.?So, I did examples connecting to our databases in Plack, Dancer, Catalyst, and Mojolicious::Lite.? I like Mojolicious::Lite the best so far as it is designed the way I "think".? I like Dancer but its not RPMs friendly so, it's just too much to build all of the RPMs to get to a deployment ready solution.?Mojolicious is RPM ready, however, deployment with Mojolicious::Lite is biting me as I have not figured out how to add a prefix yet.? Development with Starman URLs are like /this/:id but under Apache Fast CGI they are /path/this/:id.? ?I use DBIx::Array::Connect for all of our databases (100s of them) and Mojolicious::Lite will let me just do it without hassle.?So, issues that I'm still facing:?Mojolicious::Lite? - Deployment path is different than development path and I need to figure out how to handle that.? - How to handle database stale connections and connection timeouts (I assume that I'll have to move to DBIx::Connection wrappers for all database connections.)? - die() sends HTML I need it to send JSON... There has got to be an easy?way.?PSGI/FCGI is very?interesting with a *lot* of performance advantages over CGI.? Persistent memory (e.g. database connections) is the hardest part to get used to.Thanks,Mike?mrdvt92 -------------- next part -------------- An HTML attachment was scrubbed... URL: From mrallen1 at yahoo.com Fri Jun 26 15:09:51 2015 From: mrallen1 at yahoo.com (Mark Allen) Date: Fri, 26 Jun 2015 22:09:51 +0000 (UTC) Subject: [pm-h] Looking for PSGI web server Daemon In-Reply-To: <580063436.574002.1435351964100.JavaMail.yahoo@mail.yahoo.com> References: <580063436.574002.1435351964100.JavaMail.yahoo@mail.yahoo.com> Message-ID: <1943143032.724085.1435356591500.JavaMail.yahoo@mail.yahoo.com> Let me recommend you read over the DEPLOYMENT section of this cookbook: http://mojolicio.us/perldoc/Mojolicious/Guides/Cookbook I also have been enjoying my experiments with Mojolicious. On Friday, June 26, 2015 3:52 PM, Michael R. Davis via Houston wrote: Perl Folks, I just want to keep you in the loop on my PSGI experimentation.?So, I think I've settled on Fast CGI under Apache.? For me it's best as I can simply reuse our APR authentication session layer and not have to worry about authentication in the application layer.?So, I did examples connecting to our databases in Plack, Dancer, Catalyst, and Mojolicious::Lite.? I like Mojolicious::Lite the best so far as it is designed the way I "think".? I like Dancer but its not RPMs friendly so, it's just too much to build all of the RPMs to get to a deployment ready solution.?Mojolicious is RPM ready, however, deployment with Mojolicious::Lite is biting me as I have not figured out how to add a prefix yet.? Development with Starman URLs are like /this/:id but under Apache Fast CGI they are /path/this/:id.? ?I use DBIx::Array::Connect for all of our databases (100s of them) and Mojolicious::Lite will let me just do it without hassle.?So, issues that I'm still facing:?Mojolicious::Lite? - Deployment path is different than development path and I need to figure out how to handle that.? - How to handle database stale connections and connection timeouts (I assume that I'll have to move to DBIx::Connection wrappers for all database connections.)? - die() sends HTML I need it to send JSON... There has got to be an easy?way.?PSGI/FCGI is very?interesting with a *lot* of performance advantages over CGI.? Persistent memory (e.g. database connections) is the hardest part to get used to.Thanks,Mike?mrdvt92 _______________________________________________ Houston mailing list Houston at pm.org http://mail.pm.org/mailman/listinfo/houston Website: http://houston.pm.org/ -------------- next part -------------- An HTML attachment was scrubbed... URL: From gwadej at anomaly.org Fri Jun 26 16:04:57 2015 From: gwadej at anomaly.org (G. Wade Johnson) Date: Fri, 26 Jun 2015 18:04:57 -0500 Subject: [pm-h] July Houston.pm technical meeting at cPanel Message-ID: <20150626180457.171f449b@cygnus> At present, we have two short talks for the next meeting. 1. JD Lightsey: Metasploit module for Locale::Maketext format string attack 2. Wade Johnson: Perl List operations We probably have space for one more 20 minute talk if someone would like to do one. If I haven't heard anything in the next few days, I'll announce the meeting with just these talks. Remember, the group is also available for helping you with programming and Perl problems. G. Wade -- Strange women lying in ponds distributing swords is no basis for a system of government. From gwadej at anomaly.org Tue Jun 30 21:36:47 2015 From: gwadej at anomaly.org (G. Wade Johnson) Date: Tue, 30 Jun 2015 23:36:47 -0500 Subject: [pm-h] July Houston.pm Technical Meeting: Two Talks Message-ID: <20150630233647.0989ceeb@cygnus> Our next Houston.pm meeting will start at 7pm on Thursday, July 9. We will meet at the cPanel offices at 3131 W. Alabama St. (http://maps.google.com/maps?q=3131+W.+Alabama+St,+Houston,+TX&hl=en&z=17) At this meeting, we will have two presentations: * "A Metasploit module for Locale::Maketext format string attack" by J.D. Lightsey * "Perl List Operations" by G. Wade Johnson As always, attendees are encouraged to bring programming and Perl questions. A wide range of experience will be available to help with most problems. I look forward to seeing you there. G. Wade -- "any technology sufficiently advanced is indistinguishable from a Perl script." -- Programming Perl, 2nd ed.