From gwadej at anomaly.org Wed Oct 2 05:35:10 2013 From: gwadej at anomaly.org (G. Wade Johnson) Date: Wed, 2 Oct 2013 07:35:10 -0500 Subject: [pm-h] Fw: [pm_groups] NPW 2013 Call for Papers and Participants Message-ID: <20131002073510.4574c589@cygnus> I don't know if anyone will be near Copenhagen in November, but just in case... Begin forwarded message: Date: Wed, 2 Oct 2013 13:41:43 +0200 From: Jonas Br?ms? Nielsen To: PM Groups Subject: [pm_groups] NPW 2013 Call for Papers and Participants Dear group leaders, If you feel this is relevant, please pass this on to your groups: -- Copenhagen Perl Mongers are proud to announce that we will be hosting the 2013 edition of the Nordic Perl Workshop in Copenhagen, Denmark. The workshop will take place on Saturday the 23rd. of November, at DK Hostmaster in central Copenhagen. We have now opened for registration and submissions of talks on our website http://act.yapc.eu/npw2013. We encourage anyone interested in sharing their experiences or ideas, to submit their proposals. Important deadlines: Submission deadline: Monday 4th. of November Confirmation: Friday 8th. of November Final program available: Friday 8th. of November All talks are expected to be accepted, notification of non-acceptance will only be used if we by no means have room for a presentation or the topic is diverting so much from the other talks that it would not have relevance for the workshop. Accepted formats for presentation abstracts: Extended Talks (90 minutes) Standard Talks (45 minutes) Short Talks (20 minutes) Lightning Talks (5 minutes) All topics are of interest, all levels are welcome and talks in Danish and English are accepted - you do NOT have to be an experienced presenter, we emphasize participation as an important ingredient at the workshop. We expect to end the day in a lightning talk session and the session is expected to be ad hoc, but if your have something brief on your mind already, you can submit it now. More information can be found on the workshop's website: http://act.yapc.eu/npw2013 The organizers can be contacted at jonasbn at cpan.org. How To Submit Create an account (or, if you have attended an Act-powered conference before, just log in to your existing account) and join the workshop. You will then be able to submit talks. When To Submit As soon as possible! For lightning talks, we will accept submissions even during the workshop, provided the sessions have not filled up. They can be a great way to respond to or comment on other talks that you have seen. Speaker Benefits Since this is a community event, we are not able to pay presenters for their work, but you will have an audience and you will help making the workshop a success and as a speaker you are ensured one of those limited seats. Copenhagen Perl Mongers are looking forward to welcoming speakers and attendants for a great day of everything and anything Perl! -- Request pm.org Technical Support via support at pm.org pm_groups mailing list pm_groups at pm.org http://mail.pm.org/mailman/listinfo/pm_groups -- Okay, that makes sense. I just don't understand it. -- Dan Muey From gwadej at anomaly.org Thu Oct 3 13:06:35 2013 From: gwadej at anomaly.org (G. Wade Johnson) Date: Thu, 3 Oct 2013 15:06:35 -0500 Subject: [pm-h] October meeting (with brian?) Message-ID: <20131003150635.2543ec31@cygnus> So, it looks like we'll reschedule our October meeting to coincide with brian d foy being in town (October 17). We still need to decide what we want to do. Only a few people have weighed in, so far * 1 vote to have brian give a technical presentation * 2 votes to have a social meeting with brian * 2 votes to do either with brian What do you say guys? Last I heard, brian was up for either. I'd prefer to do whatever would get the best turnout. So, I need to hear from you. * Would you go to a technical presentation with brian? * Would you go to a social meeting with brian? * Would you do either? * Which would you prefer? G. Wade -- The function of good software is to make the complex appear to be simple. -- Grady Booch From gwadej at anomaly.org Thu Oct 3 13:11:38 2013 From: gwadej at anomaly.org (G. Wade Johnson) Date: Thu, 3 Oct 2013 15:11:38 -0500 Subject: [pm-h] The rest of the time brian is in town Message-ID: <20131003151138.3edc3af6@cygnus> Separate from the meeting, brian is going to be in Houston for about 10 days. It would be a good idea to try to show him a good time while he's here. Can anyone think of anything we might do as a group? * He asked about Johnson Space Center. * A few people have mentioned nice restaurants in the area. * The Renaissance Festival is on all month * other? Come on, guys. I know not everyone in the group is a social type (believe me, I understand). But, we really should show him that the Houston Perl Mongers can pull this off. G. Wade -- Controlling complexity is the essence of computer programming -- Brian Kernighan From kevin.creason-1 at nasa.gov Thu Oct 3 13:22:44 2013 From: kevin.creason-1 at nasa.gov (Creason, Kevin (JSC-OP)[BARRIOS TECHNOLOGY LTD]) Date: Thu, 3 Oct 2013 20:22:44 +0000 Subject: [pm-h] The rest of the time brian is in town In-Reply-To: <20131003151138.3edc3af6@cygnus> Message-ID: The tours out of Space Center Houston are still operating as they are private contractor who pay NASA to tour the historic Apollo mission control. But a private NASA tour could be very difficult to arrange with the furlough. That would not be an activity that could be "excepted". On 10/3/13 3:11 PM, "G. Wade Johnson" wrote: >Separate from the meeting, brian is going to be in Houston for about 10 >days. It would be a good idea to try to show him a good time while he's >here. > >Can anyone think of anything we might do as a group? > > * He asked about Johnson Space Center. > * A few people have mentioned nice restaurants in the area. > * The Renaissance Festival is on all month > * other? > >Come on, guys. I know not everyone in the group is a social type >(believe me, I understand). But, we really should show him that the >Houston Perl Mongers can pull this off. > >G. Wade >-- >Controlling complexity is the essence of computer programming > -- Brian Kernighan >_______________________________________________ >Houston mailing list >Houston at pm.org >http://mail.pm.org/mailman/listinfo/houston >Website: http://houston.pm.org/ From mrallen1 at yahoo.com Thu Oct 3 14:06:54 2013 From: mrallen1 at yahoo.com (Mark Allen) Date: Thu, 3 Oct 2013 16:06:54 -0500 Subject: [pm-h] October meeting (with brian?) In-Reply-To: <20131003150635.2543ec31@cygnus> References: <20131003150635.2543ec31@cygnus> Message-ID: I'd do either but probably not both. :) Sent from my iPhone > On Oct 3, 2013, at 3:06 PM, "G. Wade Johnson" wrote: > > So, it looks like we'll reschedule our October meeting to coincide with > brian d foy being in town (October 17). We still need to decide what we > want to do. > > Only a few people have weighed in, so far > > * 1 vote to have brian give a technical presentation > * 2 votes to have a social meeting with brian > * 2 votes to do either with brian > > What do you say guys? Last I heard, brian was up for either. I'd prefer > to do whatever would get the best turnout. So, I need to hear from you. > > * Would you go to a technical presentation with brian? > * Would you go to a social meeting with brian? > * Would you do either? > * Which would you prefer? > > G. Wade > -- > The function of good software is to make the complex appear to be > simple. -- Grady Booch > _______________________________________________ > Houston mailing list > Houston at pm.org > http://mail.pm.org/mailman/listinfo/houston > Website: http://houston.pm.org/ From gwadej at anomaly.org Thu Oct 3 14:37:44 2013 From: gwadej at anomaly.org (G. Wade Johnson) Date: Thu, 3 Oct 2013 16:37:44 -0500 Subject: [pm-h] October meeting (with brian?) In-Reply-To: References: <20131003150635.2543ec31@cygnus> Message-ID: <20131003163744.64298641@cygnus> On Thu, 3 Oct 2013 16:06:54 -0500 Mark Allen wrote: > I'd do either but probably not both. :) Any preference? > Sent from my iPhone > > > On Oct 3, 2013, at 3:06 PM, "G. Wade Johnson" > > wrote: > > > > So, it looks like we'll reschedule our October meeting to coincide > > with brian d foy being in town (October 17). We still need to > > decide what we want to do. > > > > Only a few people have weighed in, so far > > > > * 1 vote to have brian give a technical presentation > > * 2 votes to have a social meeting with brian > > * 2 votes to do either with brian > > > > What do you say guys? Last I heard, brian was up for either. I'd > > prefer to do whatever would get the best turnout. So, I need to > > hear from you. > > > > * Would you go to a technical presentation with brian? > > * Would you go to a social meeting with brian? > > * Would you do either? > > * Which would you prefer? > > > > G. Wade > > -- > > The function of good software is to make the complex appear to be > > simple. -- Grady Booch > > _______________________________________________ > > 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/ -- Be careful about reading health books. You may die of a misprint. -- Mark Twain From gwadej at anomaly.org Thu Oct 3 14:38:38 2013 From: gwadej at anomaly.org (G. Wade Johnson) Date: Thu, 3 Oct 2013 16:38:38 -0500 Subject: [pm-h] The rest of the time brian is in town In-Reply-To: References: <20131003151138.3edc3af6@cygnus> Message-ID: <20131003163838.0830cb94@cygnus> On Thu, 3 Oct 2013 20:22:44 +0000 "Creason, Kevin (JSC-OP)[BARRIOS TECHNOLOGY LTD]" wrote: > The tours out of Space Center Houston are still operating as they are > private contractor who pay NASA to tour the historic Apollo mission > control. > But a private NASA tour could be very difficult to arrange with the > furlough. That would not be an activity that could be "excepted". Drat. I didn't think about that. Thanks for the information. G. Wade > On 10/3/13 3:11 PM, "G. Wade Johnson" wrote: > > >Separate from the meeting, brian is going to be in Houston for about > >10 days. It would be a good idea to try to show him a good time > >while he's here. > > > >Can anyone think of anything we might do as a group? > > > > * He asked about Johnson Space Center. > > * A few people have mentioned nice restaurants in the area. > > * The Renaissance Festival is on all month > > * other? > > > >Come on, guys. I know not everyone in the group is a social type > >(believe me, I understand). But, we really should show him that the > >Houston Perl Mongers can pull this off. > > > >G. Wade > >-- > >Controlling complexity is the essence of computer programming > > -- Brian Kernighan > >_______________________________________________ > >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/ -- All things are possible, given enough time and caffeine. -- Danny Hoover From mrallen1 at yahoo.com Thu Oct 3 15:27:40 2013 From: mrallen1 at yahoo.com (Mark Allen) Date: Thu, 3 Oct 2013 17:27:40 -0500 Subject: [pm-h] October meeting (with brian?) In-Reply-To: <20131003163744.64298641@cygnus> References: <20131003150635.2543ec31@cygnus> <20131003163744.64298641@cygnus> Message-ID: Not strongly. I suppose I'd prefer a tech talk slightly. Sent from my iPhone > On Oct 3, 2013, at 4:37 PM, "G. Wade Johnson" wrote: > > On Thu, 3 Oct 2013 16:06:54 -0500 > Mark Allen wrote: > >> I'd do either but probably not both. :) > > Any preference? > >> Sent from my iPhone >> >>> On Oct 3, 2013, at 3:06 PM, "G. Wade Johnson" >>> wrote: >>> >>> So, it looks like we'll reschedule our October meeting to coincide >>> with brian d foy being in town (October 17). We still need to >>> decide what we want to do. >>> >>> Only a few people have weighed in, so far >>> >>> * 1 vote to have brian give a technical presentation >>> * 2 votes to have a social meeting with brian >>> * 2 votes to do either with brian >>> >>> What do you say guys? Last I heard, brian was up for either. I'd >>> prefer to do whatever would get the best turnout. So, I need to >>> hear from you. >>> >>> * Would you go to a technical presentation with brian? >>> * Would you go to a social meeting with brian? >>> * Would you do either? >>> * Which would you prefer? >>> >>> G. Wade >>> -- >>> The function of good software is to make the complex appear to be >>> simple. -- Grady Booch >>> _______________________________________________ >>> 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/ > > > -- > Be careful about reading health books. You may die of a misprint. > -- Mark Twain > _______________________________________________ > Houston mailing list > Houston at pm.org > http://mail.pm.org/mailman/listinfo/houston > Website: http://houston.pm.org/ From rurban at x-ray.at Thu Oct 3 15:59:43 2013 From: rurban at x-ray.at (Reini Urban) Date: Thu, 3 Oct 2013 17:59:43 -0500 Subject: [pm-h] October meeting (with brian?) In-Reply-To: <20131003150635.2543ec31@cygnus> References: <20131003150635.2543ec31@cygnus> Message-ID: I heard that the Johnson spacecenter is open for tourist visits despite the government shutdown, so please tell brian I want to go with him to see the austronaut training center. I missed that last time and he said he wants to visit it. The space shuttle is phantastic but you don't see the control PCs and advanced equipment. This is only at Moffet field, next to Google. On Thu, Oct 3, 2013 at 3:06 PM, G. Wade Johnson wrote: > So, it looks like we'll reschedule our October meeting to coincide with > brian d foy being in town (October 17). We still need to decide what we > want to do. > > Only a few people have weighed in, so far > > * 1 vote to have brian give a technical presentation > * 2 votes to have a social meeting with brian > * 2 votes to do either with brian > > What do you say guys? Last I heard, brian was up for either. I'd prefer > to do whatever would get the best turnout. So, I need to hear from you. > > * Would you go to a technical presentation with brian? > * Would you go to a social meeting with brian? > * Would you do either? > * Which would you prefer? -- Reini Urban http://cpanel.net/ http://www.perl-compiler.org/ From gwadej at anomaly.org Thu Oct 3 19:41:29 2013 From: gwadej at anomaly.org (G. Wade Johnson) Date: Thu, 3 Oct 2013 21:41:29 -0500 Subject: [pm-h] October meeting (with brian?) In-Reply-To: References: <20131003150635.2543ec31@cygnus> <20131003163744.64298641@cygnus> Message-ID: <20131003214129.0384b020@cygnus> Well, now we're at 2 social 2 technical 2 undecided Looks like consensus is hard again. Any others? G. Wade On Thu, 3 Oct 2013 17:27:40 -0500 Mark Allen wrote: > Not strongly. I suppose I'd prefer a tech talk slightly. > > Sent from my iPhone > > > On Oct 3, 2013, at 4:37 PM, "G. Wade Johnson" > > wrote: > > > > On Thu, 3 Oct 2013 16:06:54 -0500 > > Mark Allen wrote: > > > >> I'd do either but probably not both. :) > > > > Any preference? > > > >> Sent from my iPhone > >> > >>> On Oct 3, 2013, at 3:06 PM, "G. Wade Johnson" > >>> wrote: > >>> > >>> So, it looks like we'll reschedule our October meeting to coincide > >>> with brian d foy being in town (October 17). We still need to > >>> decide what we want to do. > >>> > >>> Only a few people have weighed in, so far > >>> > >>> * 1 vote to have brian give a technical presentation > >>> * 2 votes to have a social meeting with brian > >>> * 2 votes to do either with brian > >>> > >>> What do you say guys? Last I heard, brian was up for either. I'd > >>> prefer to do whatever would get the best turnout. So, I need to > >>> hear from you. > >>> > >>> * Would you go to a technical presentation with brian? > >>> * Would you go to a social meeting with brian? > >>> * Would you do either? > >>> * Which would you prefer? > >>> > >>> G. Wade > >>> -- > >>> The function of good software is to make the complex appear to be > >>> simple. -- Grady Booch > >>> _______________________________________________ > >>> 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/ > > > > > > -- > > Be careful about reading health books. You may die of a misprint. > > -- Mark Twain > > _______________________________________________ > > 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/ -- Computer languages differ not so much in what they make possible, but in what they make easy. -- Larry Wall From gwadej at anomaly.org Fri Oct 4 13:41:40 2013 From: gwadej at anomaly.org (G. Wade Johnson) Date: Fri, 4 Oct 2013 15:41:40 -0500 Subject: [pm-h] Nice example of using the hdb browser-based Perl Debugger Message-ID: <20131004154140.015706f9@cygnus> Gabor goes through a short example of debugging with Devel::hdb. http://perlmaven.com/debugging-perl-with-hdb G. Wade -- A tautology is a thing which is tautological. From gwadej at anomaly.org Fri Oct 4 21:19:11 2013 From: gwadej at anomaly.org (G. Wade Johnson) Date: Fri, 4 Oct 2013 23:19:11 -0500 Subject: [pm-h] brian's Houston visit update Message-ID: <20131004231911.3c22ceee@cygnus> I've got confirmation that brian is still coming. He did mention that he has Friday the 18th free and would be willing to do a one hour talk with some company. If your company might be interested, contact me off-list and I'll get brian in contact with them. G. Wade -- If there's no solution, there's no problem. -- Rick Hoselton From gwadej at anomaly.org Sat Oct 5 18:06:20 2013 From: gwadej at anomaly.org (G. Wade Johnson) Date: Sat, 5 Oct 2013 20:06:20 -0500 Subject: [pm-h] Houston.pm October (17) Technical Meeting: A JSON parser regex with brian d foy Message-ID: <20131005200620.0f4c273e@cygnus> brian d foy is in town and has agreed to talk at our meeting. To accommodate his schedule, we're moving the meeting from it's regular date to October 17th. We will be meeting at our regular location (cPanel) at our regular time (7pm). brian will talk about Randal Schwartz's JSON parser regex (http://www.perlmonks.org/?node_id=995856). This will allow a good discussion of some of the newer features of Perl's regular expressions. As usual we'll meet at the cPanel, Inc. offices at 3131 W. Alabama. People will gather in the lobby between 6:30pm and 7pm. We'll go up to the meeting room around 7. Some of the attendees will be going out for drinks with brian after the meeting if he feels up for it. Looking forward to seeing you there. G. Wade -- One OS to rule them all, One OS to find them, One OS to bring them all and in the darkness bind them, In the land of Redmond, where the Windows lie. From gwadej at anomaly.org Sun Oct 6 16:09:29 2013 From: gwadej at anomaly.org (G. Wade Johnson) Date: Sun, 6 Oct 2013 18:09:29 -0500 Subject: [pm-h] Fw: UG News: Get Your Free Books + More from O'Reilly Message-ID: <20131006180929.02292a0f@cygnus> Begin forwarded message: Date: Sun, 6 Oct 2013 16:05:08 -0700 From: "Marsee Henon & Jon Johns" To: gwadej at anomaly.org Subject: UG News: Get Your Free Books + More from O'Reilly View this message as HTML http://post.oreilly.com/rd/9z1zhgaj6m7e1qgcrcl3u86ut1861fb8gg23fjgl398 Send this to a friend http://post.oreilly.com/f2f/9z1zqlb66d7hdoe9jst3a4657kkhnd7cgl6o7e82738 Hello, We've posted a short poll about Drupal that's only ten questions long. The answers will help inform the O'Reilly editors. Please share this with your community members. http://post.oreilly.com/rd/9z1zpd8dq6a6ql75n1uo0bln442t2p0ckven1vbhpb8 Cheers, --Marsee Henon and Jon Johns P.S. At the end of the Strata Conference New York, and Velocity Conference New York we'd like to give our display books to a local UG leader, if you're attending the conference come by the booth and ask Sonia or Betsy about making arrangements. Available for Review The UG team is looking for reviewers for the following books& videos. Consider posting your reviews on Amazon, Slashdot, oreilly.com, goodreads.com and/or your blog. Feedback Control for Computer Systems http://post.oreilly.com/rd/9z1zsv8qp45q0qv81p0n1ne3cdrja9p313odpdhkmoo Agile Web Development with Rails 4 http://post.oreilly.com/rd/9z1z88f14n2d2nq1n69l4ne2uu57naagcpiqccr00j8 Programming Erlang, 2nd Edition http://post.oreilly.com/rd/9z1zo26qs9tmqb5veq936fd6ou1vr9d1kdfdikgaprg It's easy for you to get books for your meeting or special events -- just email usergroups at oreilly.com and include the words "book request" in the subject line. Don't forget to include your deadline and shipping address. Prefer ebooks? We can send you a free ebook certificate to print out for raffles or book reviewers. New Releases Photoshop Elements 12: The Missing Manual http://post.oreilly.com/rd/9z1z6vum7a59slll0ht59saeducad1ia18c5tgdlmeg Practical Programming, 2nd Edition http://post.oreilly.com/rd/9z1zsavmbg5jmc02rqf09it7ff943f6ba12os33agdg Building Polyfills http://post.oreilly.com/rd/9z1zsldpek45hu4vf88bcofh53qdb2k9tqms3lh4ff0 Beautiful LEGO http://post.oreilly.com/rd/9z1zs5f2ufr63qgvlahj37j4k8air2bgm8p3lq76vg0 Oracle PL/SQL Programming http://post.oreilly.com/rd/9z1zhh85dr4tgr9c5ik463br89jdkctt3u7p3li1tmo Microsoft Exchange Server 2013 Inside Out: Mailbox and High Availability http://post.oreilly.com/rd/9z1za963q9vkevdtttqb85tolr9ta8min9mvu2eupb8 O'Reilly Webcasts: Meet Experts Online For Free! The Critical Path to Web Performance: Real Users' Footsteps. Presented by David Azaria and Kenneth Harker. Tuesday, October 8 10am PT, 1pm ET Being on the front lines of building and maintaining the modern Web is a tough vocation. It demands constantly ensuring your site is robust and reliable. We know our business grows when customers can quickly engage and transact. That's why focusing on monitoring and improving the performance of key business transactions is critical, especially in a hectic and fast-changing environment. Learn how to look beyond the lens of individual page performance, and through the footsteps of real users to measure performance for important journeys. Join us for this free hands-on webcast. You can enjoy this informative presentation from the comfort of your computer chair! To see more upcoming events and meet experts online visit http://post.oreilly.com/rd/9z1zag0g4s0q4cmjasiohc7b1d87o6c3hbmccq0aj68. What We're Discussing at O'Reilly This Week Start planning for a computing world with minimal trust Simon St. Laurent writes on security after the death of trust http://post.oreilly.com/rd/9z1z1gpetii5389719o414u1djpidd4fp48070lqba8 Furloughed Federal Programmer? James Turner shares Five Ways to Keep Busy During the Downtime. Remember, an idle keyboard is the devil's playground http://post.oreilly.com/rd/9z1z0q9m6b0igll6mcmvberntc4ouplm8c8dgc9stn0 Gaining access to the best machine-learning methods Ben Lorica says accuracy, simplicity, speed, and interpretability are some of the factors that need to be considered http://post.oreilly.com/rd/9z1z58f02pm8c1ncmp097542j4d2qp0e4e7lu1k9m1g Q Ethan McCallum's latest report, Business Models for the Data Economy is available for free. http://post.oreilly.com/rd/9z1zru2g1dcfpamqsrim5t0kecru09dj09ht5jpa47o Get started (or get smarter) with these free resources "Poor website performance leads to user dissatisfaction more often than any other factor." ?Forrester Research Get free?and useful?information and insights on web operations and performance. O'Reilly has a stellar network of experts on web performance and operations for media companies. They're the best in the business, and we're sharing their hard-won experience and insight with you. http://post.oreilly.com/rd/9z1zicv0sitik30710nd3tdrpm0bs3h22lu17g2p6to In case you missed it, we're offering two free ebooks to inform and change your world: Open Government and Hacking Healthcare http://post.oreilly.com/rd/9z1zhbdt9jii87pggkumhgo9va5b1qmnfq3dt01ta7g Put Up a Banner & Get a Free Book--UG Leaders Only We're looking for groups to display our discount banners on their websites. If you send us your group's site with one or more banners posted, we'll send you the O'Reilly book(s) of your choice. Choose from the following list of banners: Velocity Conference Banners http://post.oreilly.com/rd/9z1z3k22u4f2etoeb1b3shfra4eiadnd6urknja025o Strata Conference + Hadoop World Banners http://post.oreilly.com/rd/9z1z7bfneo6di9b5r70eilm97l1ua4thc5av6rik0a0 UG Program Banners http://post.oreilly.com/rd/9z1z8lutr764ob6ms55527k5pte221cc1u48i59l62o UG Discount Banners http://post.oreilly.com/rd/9z1zguo9p83vmov0c9hmbqs0ej9eursjurk05g62afo Buy 1 Ebook, Get 1 Free with your user group discount code: DSUG2 Looking for more? Visit oreilly.com ================================== O'Reilly 1005 Gravenstein Highway North, Sebastopol, CA 95472 800-998-9938 Follow us on Twitter @oreillyug You are receiving this email because you are a User Group contact with O'Reilly Media. If you would like to stop receiving these newsletters or announcements from O'Reilly, send an email to usergroups at oreilly.com ================================== -- The purpose of software engineering is to control complexity, not to create it. -- Dr. Pamela Zave -------------- next part -------------- An HTML attachment was scrubbed... URL: From cblanc at dionysius.com Tue Oct 8 15:13:06 2013 From: cblanc at dionysius.com (Chris Blanc) Date: Tue, 8 Oct 2013 17:13:06 -0500 Subject: [pm-h] Perl 11 Message-ID: http://perl11.org/ Perl5 + Perl6 = Perl11? -- http://www.dionysius.com/ From toddr at cpanel.net Wed Oct 9 17:15:06 2013 From: toddr at cpanel.net (Todd Rinaldo) Date: Wed, 9 Oct 2013 19:15:06 -0500 Subject: [pm-h] Fwd: [DFW.pm] WE ARE LIVE ON AIR (link inside) References: <5255EE9E.80709@internetalias.net> Message-ID: <081F132D-D241-4070-81CC-16F2A08B8651@cpanel.net> In case anyone wants to watch Begin forwarded message: > From: Tommy Butler > Subject: [DFW.pm] WE ARE LIVE ON AIR (link inside) > Date: October 9, 2013 7:02:38 PM CDT > To: dfw-pm at pm.org > Reply-To: dfw-pm at pm.org > > http://www.youtube.com/embed/I7VT3mcRbdA > > Follow along with the video feed of tonight's meeting! > > --Tommy Butler, John Fields, DFW Perl Mongers -------------- next part -------------- An HTML attachment was scrubbed... URL: From gwadej at anomaly.org Fri Oct 11 05:59:00 2013 From: gwadej at anomaly.org (G. Wade Johnson) Date: Fri, 11 Oct 2013 07:59:00 -0500 Subject: [pm-h] An Evening with MongoDB Houston- Oct 16 Message-ID: <20131011075900.339c9230@cygnus> From the Meetup forum: Hi all- We are hosting a free introductory MongoDB event on October 16 at Start Houston! An Evening with MongoDB Houston is a free evening event in Houston, dedicated to the open source, document database MongoDB. An Evening with MongoDB Houston is an opportunity to explore MongoDB and its use cases. We'd love for you to join us. You can register here for free: http://www.mongodb.com/events/evening-mongodb-houston An Evening with MongoDB Houston is a free evening event in Houston, dedicated to the open source, document database MongoDB. An Evening with MongoDB Houston is an opportunity to explore MongoDB and its use cases. WHAT TO EXPECT Walk away with immediately applicable skills Learn new techniques for scaling your infrastructure Network with fellow technologists in your local community and MongoDB engineers Thank you! From gwadej at anomaly.org Sat Oct 12 16:08:01 2013 From: gwadej at anomaly.org (G. Wade Johnson) Date: Sat, 12 Oct 2013 18:08:01 -0500 Subject: [pm-h] brian has updated the announcement for his talk this Thursday Message-ID: <20131012180801.46a8fb87@cygnus> Parsing JSON with a single Perl regex Thursday, October 17, 7pm cPanel, Inc. (3131 W. Alabama St.) Perl v5.10 added several features that take (ir)regular expressions to a new level. With grammars and recursion, a single regex can now process things such as HTML and JSON. After going through these features, I'll show how Randal Schwartz used them in his tiny JSON parser (http://www.perlmonks.org/?node_id=995856). This discussion also appears in chapter 2 of Mastering Perl, 2nd Edition, which you can read for free through O'Reilly's Early Release program: http://chimera.labs.oreilly.com/books/1234000001527/ch02.html From mrallen1 at yahoo.com Sat Oct 12 17:38:33 2013 From: mrallen1 at yahoo.com (Mark Allen) Date: Sat, 12 Oct 2013 17:38:33 -0700 (PDT) Subject: [pm-h] Functional Programming Meet Up Message-ID: <1381624713.40998.YahooMailNeo@web164001.mail.gq1.yahoo.com> I know some of you have already heard about this, but I am starting a new functional programming users group in Houston and I wanted to invite all of my Perl friends to come to our first meeting. ?If you want to learn more about Scala (because of Stevan Little's moe project), Clojure, Erlang, Haskell or F#, this is a user community you should join. Learning Erlang at my dayjob has vastly improved the way I approach problem solving and writing Perl code. ?Also a lot of functional languages make hard problems (like distributed or asynchronous computing) easier and/or simpler to solve. It's this Wednesday, October 16, 2013? 6:30-8:30 Pizza included The topic is "Introduction to Webmachine." ?Webmachine is a fast and easy way to build HTTP endpoints in Erlang. ?It's also been ported to Perl because it has a ton of awesomely good ideas and we like to steal from the best. ;-) https://metacpan.org/module/Web::Machine Meetup Address: 1776 Yorktown (basement conference room) Houston TX 77056 You can RSVP or learn more by checking out the announcement on meetup.com http://www.meetup.com/Houston-Functional-Programmers/events/142353712/ Even if you can't make the meeting on Wednesday, join our mailing list and get future meetup announcements. Thanks :) Mark -------------- next part -------------- An HTML attachment was scrubbed... URL: From mikeflan at att.net Sat Oct 12 18:54:23 2013 From: mikeflan at att.net (Mike Flannigan) Date: Sat, 12 Oct 2013 21:54:23 -0400 Subject: [pm-h] Functional Programming Meet Up In-Reply-To: <1381624713.40998.YahooMailNeo@web164001.mail.gq1.yahoo.com> References: <1381624713.40998.YahooMailNeo@web164001.mail.gq1.yahoo.com> Message-ID: <5259FD4F.2030501@att.net> On 10/12/2013 8:38 PM, Mark Allen wrote: > I know some of you have already heard about this, but I am starting a > new functional programming users group in Houston and I wanted to > invite all of my Perl friends to come to our first meeting. If you > want to learn more about Scala (because of Stevan Little's moe > project), Clojure, Erlang, Haskell or F#, this is a user community you > should join. > > Learning Erlang at my dayjob has vastly improved the way I approach > problem solving and writing Perl code. Also a lot of functional > languages make hard problems (like distributed or asynchronous > computing) easier and/or simpler to solve. > > It's this Wednesday, October 16, 2013 > 6:30-8:30 > Pizza included > > The topic is "Introduction to Webmachine." Webmachine is a fast and > easy way to build HTTP endpoints in Erlang. It's also been ported to > Perl because it has a ton of awesomely good ideas and we like to steal > from the best. ;-) > > https://metacpan.org/module/Web::Machine > > Meetup Address: > 1776 Yorktown (basement conference room) > Houston TX 77056 > > You can RSVP or learn more by checking out the announcement on meetup.com > > http://www.meetup.com/Houston-Functional-Programmers/events/142353712/ > > Even if you can't make the meeting on Wednesday, join our mailing list > and get future meetup announcements. > > Thanks :) > > Mark > Sounds interesting. This is the first I have heard of Erland. I can't make this meeting, but thanks for informing us of this. Mike -------------- next part -------------- An HTML attachment was scrubbed... URL: From reini.urban at gmail.com Sat Oct 12 19:08:26 2013 From: reini.urban at gmail.com (Reini Urban) Date: Sat, 12 Oct 2013 21:08:26 -0500 Subject: [pm-h] Functional Programming Meet Up In-Reply-To: <1381624713.40998.YahooMailNeo@web164001.mail.gq1.yahoo.com> References: <1381624713.40998.YahooMailNeo@web164001.mail.gq1.yahoo.com> Message-ID: On Oct 12, 2013, at 7:38 PM, Mark Allen wrote: > I know some of you have already heard about this, but I am starting a new functional programming users group in Houston and I wanted to invite all of my Perl friends to come to our first meeting. If you want to learn more about Scala (because of Stevan Little's moe project), Clojure, Erlang, Haskell or F#, this is a user community you should join. > > Learning Erlang at my dayjob has vastly improved the way I approach problem solving and writing Perl code. Also a lot of functional languages make hard problems (like distributed or asynchronous computing) easier and/or simpler to solve. > > It's this Wednesday, October 16, 2013 > 6:30-8:30 > Pizza included > > The topic is "Introduction to Webmachine." Webmachine is a fast and easy way to build HTTP endpoints in Erlang. It's also been ported to Perl because it has a ton of awesomely good ideas and we like to steal from the best. ;-) > > https://metacpan.org/module/Web::Machine > Great, but Wednesday 6:30-8:30 clashes with the weekly Houston Linux Usergroup meetings, and with the next Houston Rockets game. Maybe I can visit next time. You might be interested that p2, a new perl11 (5+6) is using an almost purely functional message-passing based VM as backbone, with some concepts borrowed from Erlang, but more from Smalltalk, IO, lua, REBOL and LISP. It's IO is more nodejs alike (async, non-blocking, with fast callbacks), not like multi-threaded blocking IO as in Erlang or Go. But the lightweight coros are similar. -------------- next part -------------- An HTML attachment was scrubbed... URL: From toddr at cpanel.net Sun Oct 13 14:14:48 2013 From: toddr at cpanel.net (Todd Rinaldo) Date: Sun, 13 Oct 2013 16:14:48 -0500 Subject: [pm-h] brian has updated the announcement for his talk this Thursday In-Reply-To: <20131012180801.46a8fb87@cygnus> References: <20131012180801.46a8fb87@cygnus> Message-ID: <5587E98F-3034-4858-B330-C66E04DF2A79@cpanel.net> Brian, Several groups are doing their pm meetings online. Do you want to do this one on G+/Youtube? Todd On Oct 12, 2013, at 6:08 PM, G. Wade Johnson wrote: > Parsing JSON with a single Perl regex > Thursday, October 17, 7pm > cPanel, Inc. (3131 W. Alabama St.) > > Perl v5.10 added several features that take (ir)regular > expressions to a new level. With grammars and recursion, > a single regex can now process things such as HTML and > JSON. After going through these features, I'll show how > Randal Schwartz used them in his tiny JSON parser > (http://www.perlmonks.org/?node_id=995856). This discussion > also appears in chapter 2 of Mastering Perl, 2nd Edition, > which you can read for free through O'Reilly's Early > Release program: > http://chimera.labs.oreilly.com/books/1234000001527/ch02.html From gwadej at anomaly.org Mon Oct 14 06:14:46 2013 From: gwadej at anomaly.org (G. Wade Johnson) Date: Mon, 14 Oct 2013 08:14:46 -0500 Subject: [pm-h] Ovid on Perl Testing Message-ID: <20131014081446.1f8537dc@cygnus> http://blogs.perl.org/users/ovid/2013/10/the-problem-with-perl-testing.html Once you get past the first problem with testing your code (actually doing it), Ovid gives you a new set of things to think about. G. Wade -- Optimism is an occupational hazard of programming; feedback is the treatment. -- Kent Beck From mikeflan at att.net Tue Oct 15 06:00:42 2013 From: mikeflan at att.net (Mike Flannigan) Date: Tue, 15 Oct 2013 09:00:42 -0400 Subject: [pm-h] Perl Critic Message-ID: <525D3C7A.5010406@att.net> Weren't we going to do something like this with the Cookbook once? http://blogs.perl.org/users/brian_d_foy/2013/10/perlcritic-for-the-camel.html I'm sure we all have more important projects to tend to, but I like the idea of streamlining the work. Mike From gwadej at anomaly.org Tue Oct 15 09:49:01 2013 From: gwadej at anomaly.org (G. Wade Johnson) Date: Tue, 15 Oct 2013 11:49:01 -0500 Subject: [pm-h] Perl Critic In-Reply-To: <525D3C7A.5010406@att.net> References: <525D3C7A.5010406@att.net> Message-ID: <20131015114901.508fb5c7@cygnus> On Tue, 15 Oct 2013 09:00:42 -0400 Mike Flannigan wrote: > > Weren't we going to do something like this > with the Cookbook once? > http://blogs.perl.org/users/brian_d_foy/2013/10/perlcritic-for-the-camel.html > > I'm sure we all have more important projects to tend > to, but I like the idea of streamlining the work. I ended up spending a lot of time with O'Reilly and with Tom Christiansen getting this worked out. O'Reilly was willing to work with us on it, provided I could get Tom and Nate to agree. It took a long time to finally sit down with Tom and iron out the last few details. He was okay with the idea, as long as the community did not try to overlap what was in core Perl. That would be the realm of the next Cookbook, which may or may not be on the horizon. The "community cookbook" could be above and beyond that, covering modules or techniques beyond core Perl. By the time I got this hammered out, my O'Reilly contact was busy with other stuff and my $day_job had heated up as well. Although a few people had expressed interest, there wasn't a huge swell of support. Maybe approaching the topic again from brian's perspective will work better. G. Wade -- Computer language design is just like a stroll in the park. Jurassic Park, that is. -- Larry Wall From gwadej at anomaly.org Wed Oct 16 06:27:35 2013 From: gwadej at anomaly.org (G. Wade Johnson) Date: Wed, 16 Oct 2013 08:27:35 -0500 Subject: [pm-h] brian d foy's Perl badge project Message-ID: <20131016082735.47e81464@cygnus> http://blogs.perl.org/users/brian_d_foy/2013/10/velociraptor-perl-nerd-merit-badge.html -- 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 gwadej at anomaly.org Wed Oct 16 08:35:21 2013 From: gwadej at anomaly.org (G. Wade Johnson) Date: Wed, 16 Oct 2013 10:35:21 -0500 Subject: [pm-h] Companies interested in brian for Friday Message-ID: <20131016103521.51dce53c@cygnus> I still haven't heard from anyone about their company wanting brian to talk on Friday. This is a major opportunity for your company (and any Perl programmers there). Let me know if you have a lead. G. Wade -- "Mister Garibaldi, there're days I'm very glad I don't have to think like you do." -- Ivanova, "And the Sky Full of Stars" From RVMoye at mdanderson.org Wed Oct 16 11:20:01 2013 From: RVMoye at mdanderson.org (Moye,Roger V) Date: Wed, 16 Oct 2013 18:20:01 +0000 Subject: [pm-h] Companies interested in brian for Friday In-Reply-To: <20131016103521.51dce53c@cygnus> References: <20131016103521.51dce53c@cygnus> Message-ID: <0097EB21F9629547B4A4A9C6A7A23AC8031F04A7@D1PWPEXMBX05.mdanderson.edu> Wade, We *might* have some interest here. I am at MD Anderson. I sent out a call for interest this morning and so far have had several people respond in the affirmative. Even though we appear as a hospital to the public, we are also an academic environment. I work with faculty, postdocs, graduate students. We have a lot of big data users here and quite a few software developers in the Bioinformatics and Biostatistics areas. What type of presentation would Brian give? Would this be just Q&A or does he have something prepared? How many people would he like to be in attendance? I don't want him to show up here and be greeted by an audience smaller than he'd hoped for. What time(s) is he available on Friday? Thanks a bunch! -Roger ----------------------------------------------------------- Roger V. Moye Systems Analyst III XSEDE Campus Champion University of Texas - MD Anderson Cancer Center Division of Quantitative Sciences Pickens Academic Tower - FCT4.6109 Houston, Texas (713) 792-2134 ----------------------------------------------------------- -----Original Message----- From: Houston [mailto:houston-bounces+rvmoye=mdanderson.org at pm.org] On Behalf Of G. Wade Johnson Sent: Wednesday, October 16, 2013 10:35 AM To: Houston Perl Mongers Subject: [pm-h] Companies interested in brian for Friday I still haven't heard from anyone about their company wanting brian to talk on Friday. This is a major opportunity for your company (and any Perl programmers there). Let me know if you have a lead. G. Wade -- "Mister Garibaldi, there're days I'm very glad I don't have to think like you do." -- Ivanova, "And the Sky Full of Stars" _______________________________________________ Houston mailing list Houston at pm.org http://mail.pm.org/mailman/listinfo/houston Website: http://houston.pm.org/ From estrabd at gmail.com Wed Oct 16 12:24:14 2013 From: estrabd at gmail.com (B. Estrade) Date: Wed, 16 Oct 2013 14:24:14 -0500 Subject: [pm-h] brian d foy's Perl badge project In-Reply-To: <20131016082735.47e81464@cygnus> References: <20131016082735.47e81464@cygnus> Message-ID: Oh, heck yes. I reserved one. FWIW, http://www.adafruit.com/products/1232 Brett On Wed, Oct 16, 2013 at 8:27 AM, G. Wade Johnson wrote: > > http://blogs.perl.org/users/brian_d_foy/2013/10/velociraptor-perl-nerd-merit-badge.html > > -- > 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 > _______________________________________________ > 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 todd at rinaldo.us Thu Oct 17 17:37:42 2013 From: todd at rinaldo.us (Todd Rinaldo) Date: Thu, 17 Oct 2013 19:37:42 -0500 Subject: [pm-h] brian d foy is live at the Houston perl mongers meeting on Youtube now. Message-ID: Join Hangouts: https://plus.google.com/hangouts/_/acce3ccfe850984cdf78248987a0b6cdc13de5ab?authuser=0&hl=en Or on YouTube: https://www.youtube.com/watch?v=iJW1bDduk-U From estrabd at gmail.com Fri Oct 18 03:59:08 2013 From: estrabd at gmail.com (B. Estrade) Date: Fri, 18 Oct 2013 05:59:08 -0500 Subject: [pm-h] brian d foy is live at the Houston perl mongers meeting on Youtube now. In-Reply-To: References: Message-ID: Thanks, looks like this worked out very well! Brett On Thu, Oct 17, 2013 at 7:37 PM, Todd Rinaldo wrote: > Join Hangouts: > > https://plus.google.com/hangouts/_/acce3ccfe850984cdf78248987a0b6cdc13de5ab?authuser=0&hl=en > > Or on YouTube: > > https://www.youtube.com/watch?v=iJW1bDduk-U > _______________________________________________ > 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 bradoaks at gmail.com Fri Oct 18 07:52:20 2013 From: bradoaks at gmail.com (Brad Oaks) Date: Fri, 18 Oct 2013 10:52:20 -0400 Subject: [pm-h] brian d foy is live at the Houston perl mongers meeting on Youtube now. In-Reply-To: References: Message-ID: This was great! On Oct 17, 2013 8:37 PM, "Todd Rinaldo" wrote: > Join Hangouts: > > https://plus.google.com/hangouts/_/acce3ccfe850984cdf78248987a0b6cdc13de5ab?authuser=0&hl=en > > Or on YouTube: > > https://www.youtube.com/watch?v=iJW1bDduk-U > _______________________________________________ > 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 will.willis at gmail.com Fri Oct 18 08:33:09 2013 From: will.willis at gmail.com (Will Willis) Date: Fri, 18 Oct 2013 10:33:09 -0500 Subject: [pm-h] brian d foy is live at the Houston perl mongers meeting on Youtube now. In-Reply-To: References: Message-ID: What a great meeting! Afterwards there was some discussion on data serializing modules. I've been happy with storable for some time now, but the sentiment was that there were better modules out there, and that storable had some bugs/limitations. Can I get some recommendations on what I should be using? Most of my use cases are pretty simple, just saving off a data structure containing scalars, DateTime objects, etc.. for reuse at a later time. On average 100 elements per file, but some up to 2000. Will Thanks, looks like this worked out very well! Brett On Thu, Oct 17, 2013 at 7:37 PM, Todd Rinaldo wrote: > Join Hangouts: > > https://plus.google.com/hangouts/_/acce3ccfe850984cdf78248987a0b6cdc13de5ab?authuser=0&hl=en > > Or on YouTube: > > https://www.youtube.com/watch?v=iJW1bDduk-U > _______________________________________________ > 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 x-ray.at Fri Oct 18 08:53:15 2013 From: rurban at x-ray.at (Reini Urban) Date: Fri, 18 Oct 2013 10:53:15 -0500 Subject: [pm-h] brian d foy is live at the Houston perl mongers meeting on Youtube now. In-Reply-To: References: Message-ID: We mentioned: Sereal, (Cpanel::)JSON::XS, Storable, Data::MessagePack On Fri, Oct 18, 2013 at 10:33 AM, Will Willis wrote: > What a great meeting! > > Afterwards there was some discussion on data serializing modules. I've been > happy with storable for some time now, but the sentiment was that there were > better modules out there, and that storable had some bugs/limitations. > > Can I get some recommendations on what I should be using? > > Most of my use cases are pretty simple, just saving off a data structure > containing scalars, DateTime objects, etc.. for reuse at a later time. On > average 100 elements per file, but some up to 2000. > > Will > > Thanks, looks like this worked out very well! > > Brett > > > On Thu, Oct 17, 2013 at 7:37 PM, Todd Rinaldo wrote: >> >> Join Hangouts: >> >> https://plus.google.com/hangouts/_/acce3ccfe850984cdf78248987a0b6cdc13de5ab?authuser=0&hl=en >> >> Or on YouTube: >> >> https://www.youtube.com/watch?v=iJW1bDduk-U >> _______________________________________________ >> 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/ > > _______________________________________________ > Houston mailing list > Houston at pm.org > http://mail.pm.org/mailman/listinfo/houston > Website: http://houston.pm.org/ -- Reini Urban http://cpanel.net/ http://www.perl-compiler.org/ From gwadej at anomaly.org Fri Oct 18 22:32:11 2013 From: gwadej at anomaly.org (G. Wade Johnson) Date: Sat, 19 Oct 2013 00:32:11 -0500 Subject: [pm-h] October meeting notes are on-line Message-ID: <20131019003211.23ab03f4@cygnus> The write-up for the most recent talk are on-line (http://houston.pm.org/talks/2013talks/1310Talk/index.html). This time we also have a video. G. Wade -- It doesn't matter how beautiful your theory is, it doesn't matter how smart you are. If it doesn't agree with experiment, it's wrong. -- Richard Feynman From gwadej at anomaly.org Fri Oct 18 22:33:53 2013 From: gwadej at anomaly.org (G. Wade Johnson) Date: Sat, 19 Oct 2013 00:33:53 -0500 Subject: [pm-h] What to do for November? Message-ID: <20131019003353.68a9d5d3@cygnus> Now that the October meeting is finished, it's time to start deciding what we are going to do for November. You guys know the drill, email the list or contact me if you have an idea. G. Wade -- Be a good ancestor. -- Jonas Salk From toddr at cpanel.net Sat Oct 19 05:17:54 2013 From: toddr at cpanel.net (Todd Rinaldo) Date: Sat, 19 Oct 2013 07:17:54 -0500 Subject: [pm-h] An Evening with MongoDB Houston- Oct 16 In-Reply-To: <20131011075900.339c9230@cygnus> References: <20131011075900.339c9230@cygnus> Message-ID: Wade, Let us know if you see another one of these. I was sorry I missed this. Todd On Oct 11, 2013, at 7:59 AM, G. Wade Johnson wrote: > From the Meetup forum: > > Hi all- > > We are hosting a free introductory MongoDB event on October 16 at Start > Houston! An Evening with MongoDB Houston is a free evening event in > Houston, dedicated to the open source, document database MongoDB. An > Evening with MongoDB Houston is an opportunity to explore MongoDB and > its use cases. From gwadej at anomaly.org Sat Oct 19 07:29:47 2013 From: gwadej at anomaly.org (G. Wade Johnson) Date: Sat, 19 Oct 2013 09:29:47 -0500 Subject: [pm-h] An Evening with MongoDB Houston- Oct 16 In-Reply-To: References: <20131011075900.339c9230@cygnus> Message-ID: <20131019092947.2530bd4a@cygnus> On Sat, 19 Oct 2013 07:17:54 -0500 Todd Rinaldo wrote: > Wade, > > Let us know if you see another one of these. I was sorry I missed > this. I try to pass on anything that comes my way that is relevant to the group. Did anyone get a chance to go to this? G. Wade > Todd > > On Oct 11, 2013, at 7:59 AM, G. Wade Johnson > wrote: > > > From the Meetup forum: > > > > Hi all- > > > > We are hosting a free introductory MongoDB event on October 16 at > > Start Houston! An Evening with MongoDB Houston is a free evening > > event in Houston, dedicated to the open source, document database > > MongoDB. An Evening with MongoDB Houston is an opportunity to > > explore MongoDB and its use cases. > > _______________________________________________ > Houston mailing list > Houston at pm.org > http://mail.pm.org/mailman/listinfo/houston > Website: http://houston.pm.org/ -- All things are possible, given enough time and caffeine. -- Danny Hoover From john at nixnuts.net Sun Oct 20 12:46:38 2013 From: john at nixnuts.net (John Lightsey) Date: Sun, 20 Oct 2013 14:46:38 -0500 Subject: [pm-h] What to do for November? In-Reply-To: <20131019003353.68a9d5d3@cygnus> References: <20131019003353.68a9d5d3@cygnus> Message-ID: <1382298398.4316.148.camel@goat.lightspeed> On Sat, 2013-10-19 at 00:33 -0500, G. Wade Johnson wrote: > Now that the October meeting is finished, it's time to start deciding > what we are going to do for November. I'd be happy to do a presentation on how bitcoin transaction processing works. It's not overwhelmingly Perl related, but I could include some examples using the CPAN modules for Bitcoin. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 836 bytes Desc: This is a digitally signed message part URL: From abaezjob at gmail.com Sun Oct 20 18:18:49 2013 From: abaezjob at gmail.com (=?ISO-8859-1?Q?Abraham_B=E1ez?=) Date: Sun, 20 Oct 2013 20:18:49 -0500 Subject: [pm-h] What to do for November? In-Reply-To: <1382298398.4316.148.camel@goat.lightspeed> References: <20131019003353.68a9d5d3@cygnus> <1382298398.4316.148.camel@goat.lightspeed> Message-ID: John, I'd like to be exposed to this information. Thanks, Abraham On Sun, Oct 20, 2013 at 2:46 PM, John Lightsey wrote: > On Sat, 2013-10-19 at 00:33 -0500, G. Wade Johnson wrote: > > Now that the October meeting is finished, it's time to start deciding > > what we are going to do for November. > > I'd be happy to do a presentation on how bitcoin transaction processing > works. It's not overwhelmingly Perl related, but I could include some > examples using the CPAN modules for Bitcoin. > > > _______________________________________________ > Houston mailing list > Houston at pm.org > http://mail.pm.org/mailman/listinfo/houston > Website: http://houston.pm.org/ > -- Abraham Baez 281.821.0101 Cellular "Abraham Baez" < abaezjob at gmail.com > -------------- next part -------------- An HTML attachment was scrubbed... URL: From gwadej at anomaly.org Sun Oct 20 21:00:51 2013 From: gwadej at anomaly.org (G. Wade Johnson) Date: Sun, 20 Oct 2013 23:00:51 -0500 Subject: [pm-h] Fw: UG News: Get Your Free Books + More from O'Reilly Message-ID: <20131020230051.3a6a85bc@cygnus> Begin forwarded message: Date: Sun, 20 Oct 2013 16:02:08 -0700 From: "Marsee Henon & Jon Johns" To: gwadej at anomaly.org Subject: UG News: Get Your Free Books + More from O'Reilly View this message as HTML http://post.oreilly.com/rd/9z1zl00h4h8074du15ae5sdcfkiqbk1pi87poqk0odo Send this to a friend http://post.oreilly.com/f2f/9z1zi7e9u6mcqq02g0rsfipe2nn6a23s8pp94t5k838 Hello, Alvin Alexander, author of Scala Cookbook, is looking for speaking opportunities. He's got three talks geared for Java developers, or more generally, anyone new to Scala: 1) Ten Things Java Developers Should Know About Scala 2) An Introduction to the Play Framework 3) An Introduction to Scala Actors and Concurrency. If you're interested in having him speak in person (or maybe a video chat) let us know and we'll pass your name along. Check out his blog in the mean time. http://post.oreilly.com/rd/9z1zunqnvislfepahojov39natfhj18ooq8bv7omkkg http://post.oreilly.com/rd/9z1zglpc13ai3i94uuqejmclppr0rl7btrje052qgag Valley Programming (valleyprogramming.com) Cheers, --Marsee Henon and Jon Johns PS We're headed to Strata New York and the Business of Software conferences next week. Check in at the O'Reilly area at both events. We might need to give away a few books when we're all done. Available for Review The UG team is looking for reviewers for the following books& videos. Consider posting your reviews on Amazon, Slashdot, oreilly.com, goodreads.com and/or your blog. Agile Data Science http://post.oreilly.com/rd/9z1zkgn8qqhk966dhb2frr91on9pn6cr9pqhachc4pg iPhone: The Missing Manual, 7th Edition http://post.oreilly.com/rd/9z1zjdijgbtft7j7ts48c3nr1mh5e2feae9k5df0sfo Developing with PDF http://post.oreilly.com/rd/9z1z9snttt2dqpcm88j5bbphvu0bglnplrcr8n74dpo It's easy for you to get books for your meeting or special events -- just email usergroups at oreilly.com and include the words "book request" in the subject line. Don't forget to include your deadline and shipping address. Prefer ebooks? We can send you a free ebook certificate to print out for raffles or book reviewers. New Releases Learning OpenCV http://post.oreilly.com/rd/9z1zihsshtagp1i8kkmmi0jekvj2b1sqll7mp9ihek8 High Performance Drupal http://post.oreilly.com/rd/9z1zvvr7bvgl3i94rmsub5trq1p9i3ma8ehup6hsof0 iOS 7 Programming Cookbook http://post.oreilly.com/rd/9z1zmh3tnh1gf8lvc6gkf0i0io6ufah4fbj36iq95i0 iOS 7 Programming Fundamentals http://post.oreilly.com/rd/9z1zgi3p82ufn3un4jgre0f9cm1vsr4mb663e53dmgo Strata Rx Conference Boston 2013: Complete Video Compilation http://post.oreilly.com/rd/9z1z82mj9cnt85fesidol29ht9pgdtd846ffqibg490 Test-Driven Infrastructure with Chef, 2nd Edition http://post.oreilly.com/rd/9z1z7gft6uesbrl9vvb4jm10ssd6dclh1fi14qba620 O'Reilly Webcasts: Meet Experts Online For Free! Canary in the Coalmine: How Social Data Can Prepare Us for Big Data. Presented by Susan Etlinger. Tuesday, October 22 10:30am PT, 1:30pm ET Organizations are already feeling the foreshocks of big data with their approach to social data. In this webcast talk, Susan Etlinger will discuss how organizations are addressing the challenges of social data?technological, organizational and cultural?and what it can teach us on the road to big data. Join us for this free hands-on webcast. You can enjoy this informative presentation from the comfort of your computer chair! To see more upcoming events and meet experts online visit http://post.oreilly.com/rd/9z1zq6flcruvid4fr3uuqtjfg916lhbkjom43raqgpo. http://post.oreilly.com/rd/9z1zbregjqid1g9j11pcijrlk2akp7do93vtsol5868 5 Deadly Data Science Sins Michael Walker According to Michael Walker, founder and president of the nonprofit Data Science Association, there are 5 data science sins: Cherry picking Confirmation bias Data selection bias Narrative fallacy Cognitive bias He goes into more detail, of course. But, in reality, there are an infinite number of data sins, and all of them amount to one thing: distorting the results from the way things really are. We carry so many biases into our thinking that the only way to truly absolve ourselves of them is transparency. In a data-centric society, we must not only share the raw data, but the tools and algorithms with which we drew our conclusions. http://post.oreilly.com/rd/9z1z92uvtcgn19kvgogpgt2rnkaqcm0t39ptt7mr5l8 http://post.oreilly.com/rd/9z1z10lr9kjs4slsgcs830bud5mdsmpjnj99893ll80 BioCoder, an Insider's Review of DIY Biotech News for Synthetic Biologists, DIY Biologists, Neurobiologists, and More BioCoder The field of biology is rapidly changing. "Biohackers are foot soldiers of the next revolution in biotechnology and medicine, willing to do what others can't or won't," notes contributor Ryan Bethencourt. BioCoder tells you what this revolution is all about and how it will change your world. For now, BioCoder is free and can be downloaded at oreilly.com/biocoder. The first issue ranges from Biotech's Cambrian Era by Ryan Bethencourt, to DIYbio and the "New FBI" by educator Michael Scroggins, along with Better, CRISPR Homemade Genomes by biologist Derek Jacoby, and more. http://post.oreilly.com/rd/9z1zea7ae0nf7j2ppth0gnld82rdt4u8gp43r99tn38 What We're Discussing at O'Reilly This Week Knowing and Understanding Your Audience Measuring impact and changing behavior Laurie Petrycki talks to Laura Klein about the importance of creating effective user experiences. http://post.oreilly.com/rd/9z1zgkmqisgdm2auhsmji7ti41o4n5rui0ku3nj5lbg "More Instantly Better Vim" Damian Conway customizes his favorite editor http://post.oreilly.com/rd/9z1z1k1umd60sihojhjibnhkj0ql4jk828td3kc6258 CIOs and the Big Data Challenge (FREE Download) http://post.oreilly.com/rd/9z1zk6ra3l9vbqf9ln022m37qjajhu3e1hokadd7igo http://post.oreilly.com/rd/9z1z1rpgm7t1bt65lm7otols4ghq4qbr4e15kkddn90 http://post.oreilly.com/rd/9z1z1nl9i83afdgdnufr30pp11808esl4v9a66hoo6o Ada Lovelace, an Indirect and Reciprocal Influence Celebrating women in technology and the curious mind of Ada Lovelace Amy Jollymore shares her thoughts on Ada Lovelace day "When I heard that Ada Lovelace Day was coming, I questioned myself, "What do I actually know about Ada Lovelace?" The sum total of my knowledge: Ada was the first woman programmer and the Department of Defense honored her contributions to computation in 1979 by naming its common programming language Ada. Learn more about Ada. http://post.oreilly.com/rd/9z1zquhu53h26allggnhcolfv5ufv44uttktm8itqng Save $50 at QCon San Francisco Nov 11-15, 2013 Save $50 off registration for 7th annual QCon San Francisco. Use Discount Code OREILLY50. QCon is an enterprise software development conference for team leads, architects, and project managers. Some of this year's 18 tracks include: API Lifecycle, Hadoop, Continuous Delivery, HTML5 and JavaScript, NoBackend: Front-End First Web Development, (Post)Functional, Scalability, Availability, and Performance, Mobile, Java and many more. +100 speakers, 18 tracks, 90 technical sessions, 2 full day trainings, 3 conference days. http://post.oreilly.com/rd/9z1z55ortamrden7cn9rlrtsp23jvcgmutk5i6rvdg0 Put Up a Banner & Get a Free Book--UG Leaders Only We're looking for groups to display our discount banners on their websites. If you send us your group's site with one or more banners posted, we'll send you the O'Reilly book(s) of your choice. Choose from the following list of banners: Strata Conference + Hadoop World Banners http://post.oreilly.com/rd/9z1zab3b91gii4dq2k1ebf04e6kjjp0suoth8d9kkqg UG Program Banners http://post.oreilly.com/rd/9z1zb8lq55bjp0krtjuenmjavd88erelgr496ll6ceo UG Discount Banners http://post.oreilly.com/rd/9z1z6tbufbftpt9ggobjm6qdapk6sedp8fhqi4bk28o Buy 1 Ebook, Get 1 Free with your user group discount code: DSUG2 Looking for more? Visit oreilly.com ================================== O'Reilly 1005 Gravenstein Highway North, Sebastopol, CA 95472 800-998-9938 Follow us on Twitter @oreillyug You are receiving this email because you are a User Group contact with O'Reilly Media. If you would like to stop receiving these newsletters or announcements from O'Reilly, send an email to usergroups at oreilly.com ================================== -- There's no sense being exact about something if you don't even know what you're talking about. -- John von Neumann -------------- next part -------------- An HTML attachment was scrubbed... URL: From gwadej at anomaly.org Sun Oct 20 21:03:56 2013 From: gwadej at anomaly.org (G. Wade Johnson) Date: Sun, 20 Oct 2013 23:03:56 -0500 Subject: [pm-h] What to do for November? In-Reply-To: <1382298398.4316.148.camel@goat.lightspeed> References: <20131019003353.68a9d5d3@cygnus> <1382298398.4316.148.camel@goat.lightspeed> Message-ID: <20131020230356.4437b912@cygnus> On Sun, 20 Oct 2013 14:46:38 -0500 John Lightsey wrote: > On Sat, 2013-10-19 at 00:33 -0500, G. Wade Johnson wrote: > > Now that the October meeting is finished, it's time to start > > deciding what we are going to do for November. > > I'd be happy to do a presentation on how bitcoin transaction > processing works. It's not overwhelmingly Perl related, but I could > include some examples using the CPAN modules for Bitcoin. Sounds like a winner. Come up with a presentation title and I'll announce it. G. Wade -- That which does not kill me makes me stranger. -- Larry Wall From rurban at x-ray.at Sun Oct 20 21:12:32 2013 From: rurban at x-ray.at (Reini Urban) Date: Sun, 20 Oct 2013 23:12:32 -0500 Subject: [pm-h] What to do for November? In-Reply-To: <1382298398.4316.148.camel@goat.lightspeed> References: <20131019003353.68a9d5d3@cygnus> <1382298398.4316.148.camel@goat.lightspeed> Message-ID: jd++ > I'd be happy to do a presentation on how bitcoin transaction processing > works. It's not overwhelmingly Perl related, but I could include some > examples using the CPAN modules for Bitcoin. From todd at rinaldo.us Sun Oct 20 22:16:02 2013 From: todd at rinaldo.us (Todd Rinaldo) Date: Mon, 21 Oct 2013 00:16:02 -0500 Subject: [pm-h] What to do for November? In-Reply-To: <20131020230356.4437b912@cygnus> References: <20131019003353.68a9d5d3@cygnus> <1382298398.4316.148.camel@goat.lightspeed> <20131020230356.4437b912@cygnus> Message-ID: JD if you're okay with it I'll promote the online G+ simulcast On Sunday, October 20, 2013, G. Wade Johnson wrote: > On Sun, 20 Oct 2013 14:46:38 -0500 > John Lightsey > wrote: > > > On Sat, 2013-10-19 at 00:33 -0500, G. Wade Johnson wrote: > > > Now that the October meeting is finished, it's time to start > > > deciding what we are going to do for November. > > > > I'd be happy to do a presentation on how bitcoin transaction > > processing works. It's not overwhelmingly Perl related, but I could > > include some examples using the CPAN modules for Bitcoin. > > Sounds like a winner. Come up with a presentation title and I'll > announce it. > > G. Wade > -- > That which does not kill me makes me stranger. -- Larry Wall > _______________________________________________ > 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 -------------- next part -------------- An HTML attachment was scrubbed... URL: From john at nixnuts.net Mon Oct 21 05:43:27 2013 From: john at nixnuts.net (John Lightsey) Date: Mon, 21 Oct 2013 07:43:27 -0500 Subject: [pm-h] What to do for November? In-Reply-To: References: <20131019003353.68a9d5d3@cygnus> <1382298398.4316.148.camel@goat.lightspeed> <20131020230356.4437b912@cygnus> Message-ID: <1382359407.4316.178.camel@goat.lightspeed> Sure, that sounds good. Just call it "Bitcoin Payment Processing". On Mon, 2013-10-21 at 00:16 -0500, Todd Rinaldo wrote: > JD if you're okay with it I'll promote the online G+ simulcast > > On Sunday, October 20, 2013, G. Wade Johnson wrote: > > > On Sun, 20 Oct 2013 14:46:38 -0500 > > John Lightsey > wrote: > > > > > On Sat, 2013-10-19 at 00:33 -0500, G. Wade Johnson wrote: > > > > Now that the October meeting is finished, it's time to start > > > > deciding what we are going to do for November. > > > > > > I'd be happy to do a presentation on how bitcoin transaction > > > processing works. It's not overwhelmingly Perl related, but I could > > > include some examples using the CPAN modules for Bitcoin. > > > > Sounds like a winner. Come up with a presentation title and I'll > > announce it. > > > > G. Wade > > -- > > That which does not kill me makes me stranger. -- Larry Wall > > _______________________________________________ > > 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 -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 836 bytes Desc: This is a digitally signed message part URL: From gwadej at anomaly.org Mon Oct 21 06:08:18 2013 From: gwadej at anomaly.org (G. Wade Johnson) Date: Mon, 21 Oct 2013 08:08:18 -0500 Subject: [pm-h] What to do for November? In-Reply-To: References: <20131019003353.68a9d5d3@cygnus> <1382298398.4316.148.camel@goat.lightspeed> <20131020230356.4437b912@cygnus> Message-ID: <20131021080818.37c840e6@cygnus> On Mon, 21 Oct 2013 00:16:02 -0500 Todd Rinaldo wrote: > JD if you're okay with it I'll promote the online G+ simulcast Todd, I'll add the remote cast to the normal announcement (if JD is okay with it). Where else do you want to promote it? (Just curious.) G. Wade > On Sunday, October 20, 2013, G. Wade Johnson wrote: > > > On Sun, 20 Oct 2013 14:46:38 -0500 > > John Lightsey > wrote: > > > > > On Sat, 2013-10-19 at 00:33 -0500, G. Wade Johnson wrote: > > > > Now that the October meeting is finished, it's time to start > > > > deciding what we are going to do for November. > > > > > > I'd be happy to do a presentation on how bitcoin transaction > > > processing works. It's not overwhelmingly Perl related, but I > > > could include some examples using the CPAN modules for Bitcoin. > > > > Sounds like a winner. Come up with a presentation title and I'll > > announce it. > > > > G. Wade > > -- > > That which does not kill me makes me stranger. -- Larry Wall > > _______________________________________________ > > Houston mailing list > > Houston at pm.org > > http://mail.pm.org/mailman/listinfo/houston > > Website: http://houston.pm.org/ > > > > -- If there's no problem, there's no solution. -- Rick Hoselton From gwadej at anomaly.org Mon Oct 21 20:04:35 2013 From: gwadej at anomaly.org (G. Wade Johnson) Date: Mon, 21 Oct 2013 22:04:35 -0500 Subject: [pm-h] Introductory Perl Help Message-ID: <20131021220435.208abea4@cygnus> One of the goals listed on our "About Houston.pm" (http://houston.pm.org/about.html) page is "Provide help and mentoring to local Perl programmers." After talking with a few of the more inexperienced Perl programmers in our group, I think we are falling down in this area. For this reason, I'm going to be starting a regular session for answering basic Perl and programming questions. I'd like to get some input from those who need this help. 1. Would you be willing to get together for another monthly meeting for mentoring and question answering? 2. Would you be willing to do a monthly remote session through something like Google Hangouts, where you could get help? 3. Would you be more inclined to talk to a single person, or one of a few experts? 4. Would you use this session regularly? 5. Would you use this session only when you run into a specific problem? I really appreciate your time and input on this. Having mentored people before and taught programming classes, I'm confident that we can make this work. Thanks for your time and help. G. Wade -- Understanding is a three-edged sword. -- Kosh in "Deathwalker" From mrallen1 at yahoo.com Tue Oct 22 11:01:24 2013 From: mrallen1 at yahoo.com (Mark Allen) Date: Tue, 22 Oct 2013 13:01:24 -0500 Subject: [pm-h] Introductory Perl Help In-Reply-To: <20131021220435.208abea4@cygnus> References: <20131021220435.208abea4@cygnus> Message-ID: <0D0BD1A3-20AB-4599-81BD-27993208C33D@yahoo.com> I'd be willing to join a hangout or irc room to help mentor. In person meetings are another kettle of fish. Sent from my iPhone > On Oct 21, 2013, at 10:04 PM, "G. Wade Johnson" wrote: > > One of the goals listed on our "About Houston.pm" > (http://houston.pm.org/about.html) page is "Provide help and mentoring > to local Perl programmers." > > After talking with a few of the more inexperienced Perl programmers in > our group, I think we are falling down in this area. > > For this reason, I'm going to be starting a regular session for > answering basic Perl and programming questions. I'd like to get some > input from those who need this help. > > 1. Would you be willing to get together for another monthly meeting for > mentoring and question answering? > > 2. Would you be willing to do a monthly remote session through > something like Google Hangouts, where you could get help? > > 3. Would you be more inclined to talk to a single person, or one of a > few experts? > > 4. Would you use this session regularly? > > 5. Would you use this session only when you run into a specific problem? > > I really appreciate your time and input on this. Having mentored people > before and taught programming classes, I'm confident that we can make > this work. > > Thanks for your time and help. > G. Wade > -- > Understanding is a three-edged sword. -- Kosh in "Deathwalker" > _______________________________________________ > Houston mailing list > Houston at pm.org > http://mail.pm.org/mailman/listinfo/houston > Website: http://houston.pm.org/ From kmitsch at gmail.com Tue Oct 22 12:00:51 2013 From: kmitsch at gmail.com (K Mitsch) Date: Tue, 22 Oct 2013 14:00:51 -0500 Subject: [pm-h] Introductory Perl Help In-Reply-To: <20131021220435.208abea4@cygnus> References: <20131021220435.208abea4@cygnus> Message-ID: I'm working my way through Learning Perl at the moment and am new to programming so I feel like I can benefit from just about any guidance I can get. I would take advantage of either a monthly meeting or a hangout/IRC room. Between Perl Monks, other online resources, and the folks I've met here in Houston already I don't feel like it is a struggle to find someone to ask specific questions of, for dealing with a problem or confusing topic. I think I would get more out of a session that covered some of the projects and applications for Perl that are at beginner/intermediate level. Analyzing some code, best practices, tips and tricks kind of thing. Kevin On Mon, Oct 21, 2013 at 10:04 PM, G. Wade Johnson wrote: > One of the goals listed on our "About Houston.pm" > (http://houston.pm.org/about.html) page is "Provide help and mentoring > to local Perl programmers." > > After talking with a few of the more inexperienced Perl programmers in > our group, I think we are falling down in this area. > > For this reason, I'm going to be starting a regular session for > answering basic Perl and programming questions. I'd like to get some > input from those who need this help. > > 1. Would you be willing to get together for another monthly meeting for > mentoring and question answering? > > 2. Would you be willing to do a monthly remote session through > something like Google Hangouts, where you could get help? > > 3. Would you be more inclined to talk to a single person, or one of a > few experts? > > 4. Would you use this session regularly? > > 5. Would you use this session only when you run into a specific problem? > > I really appreciate your time and input on this. Having mentored people > before and taught programming classes, I'm confident that we can make > this work. > > Thanks for your time and help. > G. Wade > -- > Understanding is a three-edged sword. -- Kosh in "Deathwalker" > _______________________________________________ > 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 Tue Oct 22 12:32:10 2013 From: estrabd at gmail.com (B. Estrade) Date: Tue, 22 Oct 2013 14:32:10 -0500 Subject: [pm-h] What to do for November? In-Reply-To: <20131019003353.68a9d5d3@cygnus> References: <20131019003353.68a9d5d3@cygnus> Message-ID: Wade, While I can't commit until the Jan/Feb timeframe, I'd like to throw my hat in the ring to discuss Sphinx::Search and provide an introduction to using Sphinx::XML::Pipe2 to build indexes for custom "things and stuff" (as opposed to MySQL queries, which is natively supported) - if there is interest, of course. http://sphinxsearch.com/about/sphinx/ http://search.cpan.org/~jjschutz/Sphinx-Search-0.12/lib/Sphinx/Search.pm http://search.cpan.org/~egor/Sphinx-XML-Pipe2-0.002/lib/Sphinx/XML/Pipe2.pm Thank you, Brett On Sat, Oct 19, 2013 at 12:33 AM, G. Wade Johnson wrote: > Now that the October meeting is finished, it's time to start deciding > what we are going to do for November. > > You guys know the drill, email the list or contact me if you have an > idea. > > G. Wade > -- > Be a good ancestor. -- Jonas Salk > _______________________________________________ > 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 Tue Oct 22 16:28:15 2013 From: gwadej at anomaly.org (G. Wade Johnson) Date: Tue, 22 Oct 2013 18:28:15 -0500 Subject: [pm-h] Introductory Perl Help In-Reply-To: References: <20131021220435.208abea4@cygnus> Message-ID: <20131022182815.01a358c2@cygnus> On Tue, 22 Oct 2013 14:00:51 -0500 K Mitsch wrote: > I'm working my way through Learning Perl at the moment and am new to > programming so I feel like I can benefit from just about any guidance > I can get. I would take advantage of either a monthly meeting or a > hangout/IRC room. Sounds good. > Between Perl Monks, other online resources, and the folks I've met > here in Houston already I don't feel like it is a struggle to find > someone to ask specific questions of, for dealing with a problem or > confusing topic. I think I would get more out of a session that > covered some of the projects and applications for Perl that are at > beginner/intermediate level. Analyzing some code, best practices, > tips and tricks kind of thing. Thanks for the input. That'll help on deciding what we do with this... whatever it turns out to be. I often recommend that new people check out Perl Monks. It's a great resource, no matter what level of Perl programmer you are. If you are looking for projects and such, we have covered quite a few over time. The slides for each are on the Houston.pm website under http://houston.pm.org/talks/ There's also a set of talks that I did on Perl Tips and Traps a few years back. It doesn't cover the latest Perls. But those talks should still be helpful. G. Wade > Kevin -- You write code as if the person who will maintain your code is a violent psychopath who knows where you live. -- John F. Woods From gwadej at anomaly.org Tue Oct 22 16:29:59 2013 From: gwadej at anomaly.org (G. Wade Johnson) Date: Tue, 22 Oct 2013 18:29:59 -0500 Subject: [pm-h] What to do for November? In-Reply-To: References: <20131019003353.68a9d5d3@cygnus> Message-ID: <20131022182959.3a82831e@cygnus> On Tue, 22 Oct 2013 14:32:10 -0500 "B. Estrade" wrote: > Wade, Brett, > While I can't commit until the Jan/Feb timeframe, I'd like to throw > my hat in the ring to discuss Sphinx::Search and provide an > introduction to using Sphinx::XML::Pipe2 to build indexes for custom > "things and stuff" (as opposed to MySQL queries, which is natively > supported) - if there is interest, of course. Come up with a topic name and let me know when you are ready and I'll announce it. This looks like a cool project. G. Wade > http://sphinxsearch.com/about/sphinx/ > http://search.cpan.org/~jjschutz/Sphinx-Search-0.12/lib/Sphinx/Search.pm > http://search.cpan.org/~egor/Sphinx-XML-Pipe2-0.002/lib/Sphinx/XML/Pipe2.pm > > Thank you, > Brett > > > On Sat, Oct 19, 2013 at 12:33 AM, G. Wade Johnson > wrote: > > > Now that the October meeting is finished, it's time to start > > deciding what we are going to do for November. > > > > You guys know the drill, email the list or contact me if you have an > > idea. > > > > G. Wade > > -- > > Be a good ancestor. -- Jonas Salk > > _______________________________________________ > > Houston mailing list > > Houston at pm.org > > http://mail.pm.org/mailman/listinfo/houston > > Website: http://houston.pm.org/ > > -- Make no decision out of fear. -- Bruce Sterling From scott at codewriter.info Tue Oct 22 16:41:45 2013 From: scott at codewriter.info (Scott Adams) Date: Tue, 22 Oct 2013 16:41:45 -0700 Subject: [pm-h] Introductory Perl Help In-Reply-To: <20131021220435.208abea4@cygnus> References: <20131021220435.208abea4@cygnus> Message-ID: I no longer live in Houston, but if anyone has a Perl related question I'd be happy to provide help or direction to documentation. Thanks, Scott On Oct 21, 2013 11:04 PM, "G. Wade Johnson" wrote: > One of the goals listed on our "About Houston.pm" > (http://houston.pm.org/about.html) page is "Provide help and mentoring > to local Perl programmers." > > After talking with a few of the more inexperienced Perl programmers in > our group, I think we are falling down in this area. > > For this reason, I'm going to be starting a regular session for > answering basic Perl and programming questions. I'd like to get some > input from those who need this help. > > 1. Would you be willing to get together for another monthly meeting for > mentoring and question answering? > > 2. Would you be willing to do a monthly remote session through > something like Google Hangouts, where you could get help? > > 3. Would you be more inclined to talk to a single person, or one of a > few experts? > > 4. Would you use this session regularly? > > 5. Would you use this session only when you run into a specific problem? > > I really appreciate your time and input on this. Having mentored people > before and taught programming classes, I'm confident that we can make > this work. > > Thanks for your time and help. > G. Wade > -- > Understanding is a three-edged sword. -- Kosh in "Deathwalker" > _______________________________________________ > 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 Tue Oct 22 16:49:12 2013 From: estrabd at gmail.com (B. Estrade) Date: Tue, 22 Oct 2013 18:49:12 -0500 Subject: [pm-h] What to do for November? In-Reply-To: <20131022182959.3a82831e@cygnus> References: <20131019003353.68a9d5d3@cygnus> <20131022182959.3a82831e@cygnus> Message-ID: You can call it, "Indexing Stuff & Things with Sphinx and Perl". The other interesting aspect I will address which ties it all together is that a Sphinx configuration file can be an executable that emits the config syntax to STDOUT (e.g., a Perl script). If anyone wants to talk about another indexing technology, it might be good to be a shared night of talks related to this topic (e.g., Solr, etc). Thanks! Brett On Tue, Oct 22, 2013 at 6:29 PM, G. Wade Johnson wrote: > On Tue, 22 Oct 2013 14:32:10 -0500 > "B. Estrade" wrote: > > > Wade, > > Brett, > > > While I can't commit until the Jan/Feb timeframe, I'd like to throw > > my hat in the ring to discuss Sphinx::Search and provide an > > introduction to using Sphinx::XML::Pipe2 to build indexes for custom > > "things and stuff" (as opposed to MySQL queries, which is natively > > supported) - if there is interest, of course. > > Come up with a topic name and let me know when you are ready and I'll > announce it. This looks like a cool project. > > G. Wade > > > http://sphinxsearch.com/about/sphinx/ > > http://search.cpan.org/~jjschutz/Sphinx-Search-0.12/lib/Sphinx/Search.pm > > > http://search.cpan.org/~egor/Sphinx-XML-Pipe2-0.002/lib/Sphinx/XML/Pipe2.pm > > > > Thank you, > > Brett > > > > > > On Sat, Oct 19, 2013 at 12:33 AM, G. Wade Johnson > > wrote: > > > > > Now that the October meeting is finished, it's time to start > > > deciding what we are going to do for November. > > > > > > You guys know the drill, email the list or contact me if you have an > > > idea. > > > > > > G. Wade > > > -- > > > Be a good ancestor. -- Jonas Salk > > > _______________________________________________ > > > Houston mailing list > > > Houston at pm.org > > > http://mail.pm.org/mailman/listinfo/houston > > > Website: http://houston.pm.org/ > > > > > > -- > Make no decision out of fear. -- Bruce Sterling > _______________________________________________ > 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 mikeflan at att.net Tue Oct 22 18:10:39 2013 From: mikeflan at att.net (Mike Flannigan) Date: Tue, 22 Oct 2013 20:10:39 -0500 Subject: [pm-h] Introductory Perl Help In-Reply-To: References: <20131021220435.208abea4@cygnus> Message-ID: <5267220F.7000709@att.net> Yeah, I just ask this list when I have a question. Or I ask over at Perl Beginners listserver. I sue those for the hard questions. For the easy questions I just Google it. I use Google more than anything else. I'd like to see some simple things explained on a Google+ hangout. LWP, web stuff, maybe a little SQL stuff. I can get this from other sources too, but I wouldn't mind seeing it in a web conferencing atmosphere. Mike On 10/22/2013 6:41 PM, Scott Adams wrote: > > I no longer live in Houston, but if anyone has a Perl related question > I'd be happy to provide help or direction to documentation. > > Thanks, > > Scott > > On Oct 21, 2013 11:04 PM, "G. Wade Johnson" > wrote: > > One of the goals listed on our "About Houston.pm" > (http://houston.pm.org/about.html) page is "Provide help and mentoring > to local Perl programmers." > > After talking with a few of the more inexperienced Perl programmers in > our group, I think we are falling down in this area. > > For this reason, I'm going to be starting a regular session for > answering basic Perl and programming questions. I'd like to get some > input from those who need this help. > > 1. Would you be willing to get together for another monthly > meeting for > mentoring and question answering? > > 2. Would you be willing to do a monthly remote session through > something like Google Hangouts, where you could get help? > > 3. Would you be more inclined to talk to a single person, or one of a > few experts? > > 4. Would you use this session regularly? > > 5. Would you use this session only when you run into a specific > problem? > > I really appreciate your time and input on this. Having mentored > people > before and taught programming classes, I'm confident that we can make > this work. > > Thanks for your time and help. > G. Wade > -- > Understanding is a three-edged sword. -- Kosh in "Deathwalker" > _______________________________________________ > 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 abaezjob at gmail.com Tue Oct 22 20:24:18 2013 From: abaezjob at gmail.com (=?ISO-8859-1?Q?Abraham_B=E1ez?=) Date: Tue, 22 Oct 2013 22:24:18 -0500 Subject: [pm-h] Introductory Perl Help In-Reply-To: <20131021220435.208abea4@cygnus> References: <20131021220435.208abea4@cygnus> Message-ID: Responses provided inline. On Mon, Oct 21, 2013 at 10:04 PM, G. Wade Johnson wrote: > One of the goals listed on our "About Houston.pm" > (http://houston.pm.org/about.html) page is "Provide help and mentoring > to local Perl programmers." > > After talking with a few of the more inexperienced Perl programmers in > our group, I think we are falling down in this area. > > For this reason, I'm going to be starting a regular session for > answering basic Perl and programming questions. I'd like to get some > input from those who need this help. > > 1. Would you be willing to get together for another monthly meeting for > mentoring and question answering? yes > > 2. Would you be willing to do a monthly remote session through > something like Google Hangouts, where you could get help? yes, however, > when concepts are to be explained because we just don't get it, the > mentor/helper may get frustrated because the student doesn't respond as > expected. In my mind, mentoring is a face to face experience where > information is exchanged quickly, illustrations are thought of on the fly > based on the students level of understanding, etc. In other words, a very > dynamic exchange. Online approach would be a challange for me. But > willing to try it. > > 3. Would you be more inclined to talk to a single person, or one of a > few experts? It depends, when struggling with concepts if the mentor is > gifted with patience and ability to instruct/share/illustrate in more than > one way a single individual is plenty. When working with extremely bright > but not too patient, multiple instructors can help while not exhausting > their patience. To learn to fly the jet, one person. To learn manuvers > multiple persons would be great. > > 4. Would you use this session regularly? yes, the more the better. In my > case, I forget information quickly. Therefore, the need to stay on top of > it regularly. > > 5. Would you use this session only when you run into a specific problem? > No. Whenever it's available. Problems where Perl can be used are > abundant, but getting to the point where one can see how to use Perl is > very challenging. > > I really appreciate your time and input on this. Having mentored people > before and taught programming classes, I'm confident that we can make > this work. > I appreciate your willingness to help. Just developing the questions is an effort. In my view, Perl is very powerful, very, very cryptic, extremely exacting. Sorry, I don't agree Perl is easy. In other words, this is not like learning to drive a car...Perl is a state of the art fighter jet... you better pay attention when you climb in the cockpit because it ain't for amateurs. Indeed, it is very tough to master. And like a fighter jet you have to fly it every day or close to every day. Tough to do for those who don't make a living programming in Perl. Sorry, this would be a superb, frankly invaluable, tool for me; but not a way to make a living...don't have the talent nor the inclination to program. Thanks for your willingness to share your talent and experience. > > Thanks for your time and help. > G. Wade > -- > Understanding is a three-edged sword. -- Kosh in "Deathwalker" > _______________________________________________ > Houston mailing list > Houston at pm.org > http://mail.pm.org/mailman/listinfo/houston > Website: http://houston.pm.org/ > -- Abraham Baez 281.821.0101 Cellular "Abraham Baez" < abaezjob at gmail.com > -------------- next part -------------- An HTML attachment was scrubbed... URL: From estrabd at gmail.com Wed Oct 23 06:20:40 2013 From: estrabd at gmail.com (B. Estrade) Date: Wed, 23 Oct 2013 08:20:40 -0500 Subject: [pm-h] group activity (kind of) -"Bioinformatics Algorithms" course on Coursera (starts Nov. 4) Message-ID: This is a perfect opportunity to use Perl for a very interesting activity. There is a Bioinformatics course on Coursera, https://class.coursera.org/bioinformatics-001/class This class is called, "Bioinformatics Algorithms". Since Perl is used extensively in the field of bioinformatics, and the programming assignments require interesting programming techniques (e.g., dynamic programming), I can see this being of interest to some people here - https://class.coursera.org/bioinformatics-001/assignment You can use any language you want, but obviously I would assume anyone here to use Perl. It's free, and if several of us sign up (I and another I know of already has), I think it could be a fun thing that we report on periodically here (or discuss outright as it relates to Perl programming). I know I will find this extremely challenging (both with time and subject matter), so it would be cool to have some others to bounce ideas off of. At the end (or from the start), we could throw all the code up on Github for posterity's sake. I don't mean to group program, but be a study group of sorts. If you sign up, let me know. We can then figure out how we want to utilize any study group that forms. We could use this list for the time being, but if it got too chatty we could also move it to another list. You may email me privately to let me know if you're going to do it. I hope to have a few others working on this. Thanks! Brett ps: Coursera has a ton of awesome CS (from theory to practical) classes taught by highly regarded institutions and professors; e.g., Jeffrey Ullman is teaching an Automata Class (one I recommend if interest and time permits) - https://www.coursera.org/courses?orderby=upcoming&cats=cs-ai,cs-programming,cs-systems,cs-theory -------------- next part -------------- An HTML attachment was scrubbed... URL: From gwadej at anomaly.org Wed Oct 23 07:15:29 2013 From: gwadej at anomaly.org (G. Wade Johnson) Date: Wed, 23 Oct 2013 09:15:29 -0500 Subject: [pm-h] Introductory Perl Help In-Reply-To: References: <20131021220435.208abea4@cygnus> Message-ID: <20131023091529.6cdc6a43@cygnus> On Tue, 22 Oct 2013 22:24:18 -0500 Abraham B?ez wrote: > Responses provided inline. > > On Mon, Oct 21, 2013 at 10:04 PM, G. Wade Johnson > wrote: > > > One of the goals listed on our "About Houston.pm" > > (http://houston.pm.org/about.html) page is "Provide help and > > mentoring to local Perl programmers." > > [snip] > > Hi Abraham, > I appreciate your willingness to help. Just developing the questions > is an effort. In my view, Perl is very powerful, very, very cryptic, > extremely exacting. Sorry, I don't agree Perl is easy. In other I really appreciate your input on this (especially because it's easy to fall into the "echo chamber" of all of us that do Perl regularly). I would like to give a little different take on this though. > words, this is not like learning to drive a car...Perl is a state of > the art fighter jet... you better pay attention when you climb in the One of the things I'm trying to correct with this class/hangout/whatever is an impression I never thought I would have to deal with for Perl. In our meetings, we focus on the big, powerful applications of Perl. We tend to ignore the little, useful scripts. Most of the programming world tends to suggest that Perl isn't good for anything but quick one-off scripts. In actuality, Perl is quite capable from the level of one-off scripts to massive applications. > cockpit because it ain't for amateurs. Indeed, it is very tough to > master. One difference between Perl and many of the other languages that I've used is that you can do useful work without "mastering" Perl. I feel that we, as a group, have been falling down at helping more junior Perl users to see this. > And like a fighter jet you have to fly it every day or close > to every day. Tough to do for those who don't make a living > programming in Perl. Sorry, this would be a superb, frankly For most of my career (and most of the time I've "programmed Perl" I have not "made my living programming Perl". I have normally used Perl as necessary to solve problems that were too hard in the language I was being paid to program in. What got me using Perl was the way I could whip up a quick-and-dirty script to remove an annoyance. Later, as I solved more problems with Perl, I began to move toward mastering the language. > invaluable, tool for me; but not a way to make a living...don't have > the talent nor the inclination to program. Thanks for your > willingness to share your talent and experience. I've often compared programming to writing. It takes a special kind of talent to write a novel, or a large piece of technical documentation. Not everyone can do that. Most people could write a paragraph on a topic, if they needed to. Almost anyone can write a "to do list". Likewise, not everyone is capable of (or interested in) writing a large application in any language. A lot of useful work can be done by simple scripts that consist of a few lines of Perl. My goal with this is (at a minimum) to help people who need a few lines of Perl or a small script. If they develop a desire to write novels later, that's just a happy accident. Sorry for the long rant. This is an area I've been trying to teach for well over a decade and it's relatively easy to get me started. As I said before, the input you've provided is quite valuable. Not the least because it shows how we've let people down on the little, helpful stuff. G. Wade -- In theory, there is no difference between theory and practice. But, in practice, there is. -- Jan L.A. van de Snepscheut From gwadej at anomaly.org Wed Oct 23 07:40:42 2013 From: gwadej at anomaly.org (G. Wade Johnson) Date: Wed, 23 Oct 2013 09:40:42 -0500 Subject: [pm-h] Quick, helpful example scripts Message-ID: <20131023094042.69623bef@cygnus> In my last message, I pointed out that I started using Perl in quick little scripts that solved an annoying problem. Here's one of those scripts that I have written and modified probably hundreds of times over the years. --------------- #!/usr/bin/perl while(<>) { s/old, bad text/new, shiny text/g; print; } --------------- Because I never keep them around for long, this would normally be written to the file "doit.pl" and deleted after use. To the more advanced Perl programmers: I realize there are easier ways to do this. But, I can hand this to someone with little experience and get them using (and changing) it in short order. Likewise, I would normally do this with my editor in most circumstances, but hold that thought for now. This script would be run one of two ways: perl doit.pl file_to_change.txt or perl -i.bak doit.pl file_to_change.txt The first sends the changed version to standard out. I can then pipe it to "less" or write it to a separate file to see if it has made the changes I want. When I'm happy with the changes, I'll run the second version when changes the file "in place" (that's what the '-i' is for) and leaves the original file with a ".bak" extension. The really cool thing about this, if you haven't used it before is that you can replace "file_to_change.txt" with any number of files and modify them all in one pass. For example, perl -i.bak doit.pl *.txt I have seen this script (with the search and replace text changed) save people dozens of hours of work. How does it work? ----------------- If you don't understand it immediately, here's a quick walk-through. while(<>) This line is a Perl magic incantation that says read each line from the supplied file one at a time and execute the body of the loop on each line. { Start a block of commands to execute. s/old, bad text/new, shiny text/g; Although regular expressions often get a reputation for being complex and hard to understand. This is a good example of a really simple substitution. Every place that the script finds the text "old, bad text", replace it with "new, shiny text". If you need a special character in the search text, put a '\' in front of it. If you need a '/' character in either the search or the replace part, put a '\' in front of it. The 'g' at the end means substitute every instance of "old, bad text" on each line. print; Print the modified line to the output. } Finish the block of commands to execute. There are a few edge cases that this code won't handle. But, I have found it to be more than adequate in the past. In one case, I happened on a web developer at a previous job that needed to make about a dozen changes like this to hundreds of files for a client's website. He planned to stay at work all night to make this happen. Including debugging mistakes in the search and replace strings, I helped him completely finish this in a little over half an hour. More importantly, he kept the script and used it in several cases later at the same job. Conclusion ---------- One of the great things about this kind of script is it is pretty quick to iterate through a series of changes. Don't make complicated s/// commands at first, just do the simple ones that make your life easier. G. Wade -- I never let schooling get in the way of my education. -- Mark Twain From flbaker at sbcglobal.net Wed Oct 23 08:20:29 2013 From: flbaker at sbcglobal.net (Fraser Baker) Date: Wed, 23 Oct 2013 10:20:29 -0500 Subject: [pm-h] Introductory Perl Help In-Reply-To: <20131021220435.208abea4@cygnus> References: <20131021220435.208abea4@cygnus> Message-ID: Hi Wade: Answers below. Fraser ----- Original Message ----- From: "G. Wade Johnson" To: "Houston Perl Mongers" Sent: Monday, October 21, 2013 10:04 PM Subject: [pm-h] Introductory Perl Help > One of the goals listed on our "About Houston.pm" > (http://houston.pm.org/about.html) page is "Provide help and mentoring > to local Perl programmers." > > After talking with a few of the more inexperienced Perl programmers in > our group, I think we are falling down in this area. > > For this reason, I'm going to be starting a regular session for > answering basic Perl and programming questions. I'd like to get some > input from those who need this help. > > 1. Would you be willing to get together for another monthly meeting for > mentoring and question answering? Yes > > 2. Would you be willing to do a monthly remote session through > something like Google Hangouts, where you could get help? Yes > > 3. Would you be more inclined to talk to a single person, or one of a > few experts? Ether Way > > 4. Would you use this session regularly? Most Likely > > 5. Would you use this session only when you run into a specific problem? No > > I really appreciate your time and input on this. Having mentored people > before and taught programming classes, I'm confident that we can make > this work. Great > > Thanks for your time and help. > G. Wade > -- > Understanding is a three-edged sword. -- Kosh in "Deathwalker" > _______________________________________________ > Houston mailing list > Houston at pm.org > http://mail.pm.org/mailman/listinfo/houston > Website: http://houston.pm.org/ From kjordan3 at gmail.com Wed Oct 23 08:28:10 2013 From: kjordan3 at gmail.com (Kevin Jordan) Date: Wed, 23 Oct 2013 10:28:10 -0500 Subject: [pm-h] Introductory Perl Help In-Reply-To: <20131022182815.01a358c2@cygnus> References: <20131021220435.208abea4@cygnus> <20131022182815.01a358c2@cygnus> Message-ID: unsubscribe On Tue, Oct 22, 2013 at 6:28 PM, G. Wade Johnson wrote: > On Tue, 22 Oct 2013 14:00:51 -0500 > K Mitsch wrote: > > > I'm working my way through Learning Perl at the moment and am new to > > programming so I feel like I can benefit from just about any guidance > > I can get. I would take advantage of either a monthly meeting or a > > hangout/IRC room. > > Sounds good. > > > Between Perl Monks, other online resources, and the folks I've met > > here in Houston already I don't feel like it is a struggle to find > > someone to ask specific questions of, for dealing with a problem or > > confusing topic. I think I would get more out of a session that > > covered some of the projects and applications for Perl that are at > > beginner/intermediate level. Analyzing some code, best practices, > > tips and tricks kind of thing. > > Thanks for the input. That'll help on deciding what we do with this... > whatever it turns out to be. > > I often recommend that new people check out Perl Monks. It's a great > resource, no matter what level of Perl programmer you are. If you are > looking for projects and such, we have covered quite a few over time. > The slides for each are on the Houston.pm website under > http://houston.pm.org/talks/ > > There's also a set of talks that I did on Perl Tips and Traps a few > years back. It doesn't cover the latest Perls. But those talks should > still be helpful. > > G. Wade > > > Kevin > > > > -- > You write code as if the person who will maintain your code is a violent > psychopath who knows where you live. -- John F. Woods > _______________________________________________ > 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 Wed Oct 23 11:22:30 2013 From: rlharris at oplink.net (rlharris at oplink.net) Date: Wed, 23 Oct 2013 13:22:30 -0500 (CDT) Subject: [pm-h] Introductory Perl Help In-Reply-To: <20131021220435.208abea4@cygnus> References: <20131021220435.208abea4@cygnus> Message-ID: <38917.216.230.236.57.1382552550.squirrel@www.oplink.net> > 1. Would you be willing to get together for another monthly meeting > for mentoring and question answering? Eagerly. > 2. Would you be willing to do a monthly remote session through > something like Google Hangouts, where you could get help? If I can figure out how to do it, running Linux. This is the first time I have heard about Google Hangouts. I have not used conferencing of any kind, aside from email and a few IRC sessions. I am helpless on a Window$ system, and, besides, all my files are on a Linux machine, so that displaying them in a Window$ environment would be difficult. > 3. Would you be more inclined to talk to a single person, or one of > a few experts? To the student, it should not matter; he should be grateful to anyone who is willing to teach me. However, for the teacher, one-on-one is, in essence, a consulting assignment, for which he normally would receive payment. However, if several experts gather, they have the benefit of camaraderie and interaction one with the other, so the experience is less of a chore than it is a discussion. > 4. Would you use this session regularly? Unless the techniques become so exotic that I cannot envision their applicability to my needs. I would be interested in mastering almost any subject covered in, say, in the O'Reilly book "Learning Perl". Regular attendance is necessary for a semi-formal course, such as going chapter-by-chapter through "Learning Perl". But a help session is another matter: => If a project is going well, it is difficult to justify spending an evening in a help session, rather than working on the project. => If things are not going well, it is likely that the next help session is a month away, while the need for help is immediate. The best time for a help session is when you are actively working on the project (so that the details are fresh in mind), encounter a problem, and do not know how to proceed. All things considered, it may be difficult to do better than the Perl mail list, assuming that one or two Perl experts monitor the list as a matter of routine. > 5. Would you use this session only when you run into a specific > problem? This would be my tendency. But in seeking a solution to a specific problem, I really should be paying for the assistance -- and I would be happy to do so. Perhaps everyone who needs help should bring along a pizza as tuition for the session. Still, I think that the problems which I need to solve and for which I would turn to Perl are common and that the solutions would be of general applicability. Rather than a solution to a specific problem, what I need is (1) guidance as to the proper approach and the tools to use, and (2) detailed tutorial instruction in the use of tools and techniques for batch processing of multiple files located in multiple directories. A primary goal of any Perl tutorial should be to provide perspective, so that the student is made aware of the various techniques which could be used to address the problem at hand, and (hopefully) develops a feel for the most appropriate of the applicable techniques. ============== A not-strictly-Perl problem which I encounter in my applications is that of the logistics of Perl scripts and the processed files. FOR EXAMPLE. I am in the process of creating several large documents. For each document, I need to process on the order of a thousand text files, performing several categories of processing on each. While the categories of processing are similar, the details of the processing vary from one document to the next. As a Perl novice, my typical approach is to write and debug a Perl script for each specific operation, so that I end needing to run a dozen or so Perl scripts on each file to transform raw data into finished product. A number of associated files provide data to be inserted, index values, file names, and so forth. Of course, in the process of running each Perl script on the set of a thousand files, it is easy to lose track of the stage of processing. I am thinking that the Linux "make" utility might be the best way to manage the logistics. > Thanks for your time and help. > G. Wade Thanks for your offer. From gwadej at anomaly.org Wed Oct 23 11:43:12 2013 From: gwadej at anomaly.org (G. Wade Johnson) Date: Wed, 23 Oct 2013 13:43:12 -0500 Subject: [pm-h] Introductory Perl Help In-Reply-To: References: <20131021220435.208abea4@cygnus> Message-ID: <20131023134312.02a9984d@cygnus> On Tue, 22 Oct 2013 16:41:45 -0700 Scott Adams wrote: > I no longer live in Houston, but if anyone has a Perl related > question I'd be happy to provide help or direction to documentation. Thanks for offering, Scott. I'm hoping to get people more interested in/comfortable with asking questions on the list as well. So both the hangout and mailing list should be available for help. G. Wade > On Oct 21, 2013 11:04 PM, "G. Wade Johnson" > wrote: > > > One of the goals listed on our "About Houston.pm" > > (http://houston.pm.org/about.html) page is "Provide help and > > mentoring to local Perl programmers." > > > > After talking with a few of the more inexperienced Perl programmers > > in our group, I think we are falling down in this area. > > > > For this reason, I'm going to be starting a regular session for > > answering basic Perl and programming questions. I'd like to get some > > input from those who need this help. > > > > 1. Would you be willing to get together for another monthly meeting > > for mentoring and question answering? > > > > 2. Would you be willing to do a monthly remote session through > > something like Google Hangouts, where you could get help? > > > > 3. Would you be more inclined to talk to a single person, or one of > > a few experts? > > > > 4. Would you use this session regularly? > > > > 5. Would you use this session only when you run into a specific > > problem? > > > > I really appreciate your time and input on this. Having mentored > > people before and taught programming classes, I'm confident that we > > can make this work. > > > > Thanks for your time and help. > > G. Wade > > -- > > Understanding is a three-edged sword. -- Kosh in "Deathwalker" > > _______________________________________________ > > Houston mailing list > > Houston at pm.org > > http://mail.pm.org/mailman/listinfo/houston > > Website: http://houston.pm.org/ > > -- I know I'm on the right track when by deleting code I'm adding functionality. -- John Carter From gwadej at anomaly.org Wed Oct 23 11:48:03 2013 From: gwadej at anomaly.org (G. Wade Johnson) Date: Wed, 23 Oct 2013 13:48:03 -0500 Subject: [pm-h] Introductory Perl Help In-Reply-To: <5267220F.7000709@att.net> References: <20131021220435.208abea4@cygnus> <5267220F.7000709@att.net> Message-ID: <20131023134803.5a641603@cygnus> On Tue, 22 Oct 2013 20:10:39 -0500 Mike Flannigan wrote: > > Yeah, I just ask this list when I have a question. > Or I ask over at Perl Beginners listserver. > I sue those for the hard questions. For the easy > questions I just Google it. I use Google more > than anything else. Hi Mike, Thanks for the input. I'm glad you have been able to get input from other resources. I hope this list and the hangout will become more useful to you as well. > I'd like to see some simple things explained on > a Google+ hangout. LWP, web stuff, maybe a little > SQL stuff. I can get this from other sources too, > but I wouldn't mind seeing it in a web conferencing > atmosphere. We have had some of these topics covered in the past, so the talks pages may have some information that will help. My goal with this is really to help people get unstuck and see how to proceed, rather than teaching. For example, if you had a particular task you wanted to perform with LWP (even if it's an example problem), we could walk through where you are stuck and get you moving again. Also, we could answer questions on the modules that we know. It sounds like what I have in mind could be useful to you as well. G. Wade > Mike > > > On 10/22/2013 6:41 PM, Scott Adams wrote: > > > > I no longer live in Houston, but if anyone has a Perl related > > question I'd be happy to provide help or direction to documentation. > > > > Thanks, > > > > Scott > > > > On Oct 21, 2013 11:04 PM, "G. Wade Johnson" > > wrote: > > > > One of the goals listed on our "About Houston.pm" > > (http://houston.pm.org/about.html) page is "Provide help and > > mentoring to local Perl programmers." > > > > After talking with a few of the more inexperienced Perl > > programmers in our group, I think we are falling down in this area. > > > > For this reason, I'm going to be starting a regular session for > > answering basic Perl and programming questions. I'd like to get > > some input from those who need this help. > > > > 1. Would you be willing to get together for another monthly > > meeting for > > mentoring and question answering? > > > > 2. Would you be willing to do a monthly remote session through > > something like Google Hangouts, where you could get help? > > > > 3. Would you be more inclined to talk to a single person, or > > one of a few experts? > > > > 4. Would you use this session regularly? > > > > 5. Would you use this session only when you run into a specific > > problem? > > > > I really appreciate your time and input on this. Having mentored > > people > > before and taught programming classes, I'm confident that we > > can make this work. > > > > Thanks for your time and help. > > G. Wade > > -- > > Understanding is a three-edged sword. -- Kosh in > > "Deathwalker" _______________________________________________ > > 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/ > -- You forgot the first rule of the fanatic: when you become obsessed with the enemy, you become the enemy. -- Jeffrey Sinclair in "Infection" From gwadej at anomaly.org Wed Oct 23 11:49:21 2013 From: gwadej at anomaly.org (G. Wade Johnson) Date: Wed, 23 Oct 2013 13:49:21 -0500 Subject: [pm-h] Introductory Perl Help In-Reply-To: References: <20131021220435.208abea4@cygnus> Message-ID: <20131023134921.5befd60c@cygnus> On Wed, 23 Oct 2013 10:20:29 -0500 "Fraser Baker" wrote: > Hi Wade: > Answers below. > Fraser Hi Fraser, Thanks for your answers. This helps in deciding what form the meeting will take. G. Wade > ----- Original Message ----- > From: "G. Wade Johnson" > To: "Houston Perl Mongers" > Sent: Monday, October 21, 2013 10:04 PM > Subject: [pm-h] Introductory Perl Help > > > > One of the goals listed on our "About Houston.pm" > > (http://houston.pm.org/about.html) page is "Provide help and > > mentoring to local Perl programmers." > > > > After talking with a few of the more inexperienced Perl programmers > > in our group, I think we are falling down in this area. > > > > For this reason, I'm going to be starting a regular session for > > answering basic Perl and programming questions. I'd like to get some > > input from those who need this help. > > > > 1. Would you be willing to get together for another monthly meeting > > for mentoring and question answering? > Yes > > > > 2. Would you be willing to do a monthly remote session through > > something like Google Hangouts, where you could get help? > Yes > > > > 3. Would you be more inclined to talk to a single person, or one of > > a few experts? > Ether Way > > > > 4. Would you use this session regularly? > Most Likely > > > > 5. Would you use this session only when you run into a specific > > problem? > No > > > > I really appreciate your time and input on this. Having mentored > > people before and taught programming classes, I'm confident that we > > can make this work. > Great > > > > Thanks for your time and help. > > G. Wade > > -- > > Understanding is a three-edged sword. -- Kosh in "Deathwalker" > > _______________________________________________ > > 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/ -- Do unto others 20% better than you would expect them to do unto you, to correct for subjective error. -- Linus Pauling From gwadej at anomaly.org Wed Oct 23 12:12:35 2013 From: gwadej at anomaly.org (G. Wade Johnson) Date: Wed, 23 Oct 2013 14:12:35 -0500 Subject: [pm-h] Introductory Perl Help In-Reply-To: <38917.216.230.236.57.1382552550.squirrel@www.oplink.net> References: <20131021220435.208abea4@cygnus> <38917.216.230.236.57.1382552550.squirrel@www.oplink.net> Message-ID: <20131023141235.1746e2cd@cygnus> Thanks for responding. There's some gold in these answers. On Wed, 23 Oct 2013 13:22:30 -0500 (CDT) rlharris at oplink.net wrote: > > 1. Would you be willing to get together for another monthly meeting > > for mentoring and question answering? > > Eagerly. Glad to hear it. > > 2. Would you be willing to do a monthly remote session through > > something like Google Hangouts, where you could get help? > > If I can figure out how to do it, running Linux. > > This is the first time I have heard about Google Hangouts. I have not > used conferencing of any kind, aside from email and a few IRC > sessions. I run a Linux system at home and I've had no problems getting Google Hangouts running. This is actually one of the reasons I'm looking at Hangouts, really good cross-platform support. > I am helpless on a Window$ system, and, besides, all my files are on a > Linux machine, so that displaying them in a Window$ environment would > be difficult. > > > > > > 3. Would you be more inclined to talk to a single person, or one of > > a few experts? > > To the student, it should not matter; he should be grateful to anyone > who is willing to teach me. > > However, for the teacher, one-on-one is, in essence, a consulting > assignment, for which he normally would receive payment. However, if > several experts gather, they have the benefit of camaraderie and > interaction one with the other, so the experience is less of a chore > than it is a discussion. I was thinking more in terms of whether people would be more comfortable with one person helping or multiple people. I can imagine it being confusing if we had a large number of people in the group. > > 4. Would you use this session regularly? > > Unless the techniques become so exotic that I cannot envision their > applicability to my needs. I would be interested in mastering almost > any subject covered in, say, in the O'Reilly book "Learning Perl". At least for the present, "Learning Perl" would probably be the extent of the material we would aim for. That is, unless someone had a specific more advanced question. > Regular attendance is necessary for a semi-formal course, such as > going chapter-by-chapter through "Learning Perl". > > But a help session is another matter: > > => If a project is going well, it is difficult to justify spending > an evening in a help session, rather than working on the project. > > => If things are not going well, it is likely that the next help > session is a month away, while the need for help is immediate. That's a really good point. Monthly may be too infrequent. However, any immediate issue can always be taken to the mailing list. There are many experts here that can field a question. I also usually recommend people actively working in Perl check out the Perl Monastery (http://perlmonks.org) and Stack Overflow. Both are good resources for specific questions. > The best time for a help session is when you are actively working on > the project (so that the details are fresh in mind), encounter a > problem, and do not know how to proceed. All things considered, it > may be difficult to do better than the Perl mail list, assuming that > one or two Perl experts monitor the list as a matter of routine. The list is always available, and several of us check the list pretty regularly. One of the problems that has been expressed to me by some has been that they don't know enough to be able to ask an intelligent question. This makes them reluctant to expose their lack-of-knowledge on the list. I'm hoping the session could kind of bridge the gap to get people moving on their problems and to get them more comfortable with attempting to ask the list. > > 5. Would you use this session only when you run into a specific > > problem? > > This would be my tendency. > > But in seeking a solution to a specific problem, I really should be > paying for the assistance -- and I would be happy to do so. Perhaps > everyone who needs help should bring along a pizza as tuition for the > session. I don't know about the other senior people on the list, but I personally don't have any problem with answering some questions for free. I'm not going to solve your project for you, of course. But, I'm comfortable with giving suggestions or helping someone become unstuck. From past experience, sometime this has involved a bit of time explaining fundamentals to help someone get moving. And I don't see that as a problem. > Still, I think that the problems which I need to solve and for which I > would turn to Perl are common and that the solutions would be of > general applicability. > > Rather than a solution to a specific problem, what I need is (1) > guidance as to the proper approach and the tools to use, and (2) > detailed tutorial instruction in the use of tools and techniques for > batch processing of multiple files located in multiple directories. This is actually a fascinating topic that is worth quite a bit of time. It's also the kind of problem that's really hard to explain without a real example. (Every time I've tried to teach this approach with a made up example, it appears hokey and hard to relate to.) > A primary goal of any Perl tutorial should be to provide perspective, > so that the student is made aware of the various techniques which > could be used to address the problem at hand, and (hopefully) develops > a feel for the most appropriate of the applicable techniques. Sometimes the problem is that people sometimes have no idea where to start, or even if code is the right solution for their problem. At a slightly higher level of skill, the issues you raise become more important. I see the sessions as covering both needs. > ============== > > A not-strictly-Perl problem which I encounter in my applications is > that of the logistics of Perl scripts and the processed files. > > FOR EXAMPLE. I am in the process of creating several large documents. > For each document, I need to process on the order of a thousand text > files, performing several categories of processing on each. While the > categories of processing are similar, the details of the processing > vary from one document to the next. > > As a Perl novice, my typical approach is to write and debug a Perl > script for each specific operation, so that I end needing to run a > dozen or so Perl scripts on each file to transform raw data into > finished product. A number of associated files provide data to be > inserted, index values, file names, and so forth. > > Of course, in the process of running each Perl script on the set of a > thousand files, it is easy to lose track of the stage of processing. > I am thinking that the Linux "make" utility might be the best way to > manage the logistics. Make is one way to handle it, especially if your intermediate stages have distinct extensions. Otherwise, the idea of a series of steps that need to be applied to a set of files can relatively easily be reduced with a series of shell scripts or a driver program. I can think of several ways to handle this, depending on your comfort with data structures and/or scripting. > Thanks for your offer. I really appreciate your input, part of the reason I'm bringing this up is that I have a vague feeling that we are not really serving all of our members well. I want to try to do a better job helping the non-experts. Your input definitely helps with that. G. Wade -- Okay, that makes sense. I just don't understand it. -- Dan Muey From rlharris at oplink.net Thu Oct 24 01:24:18 2013 From: rlharris at oplink.net (rlharris at oplink.net) Date: Thu, 24 Oct 2013 03:24:18 -0500 (CDT) Subject: [pm-h] Introductory Perl Help In-Reply-To: <20131023091529.6cdc6a43@cygnus> References: <20131021220435.208abea4@cygnus> <20131023091529.6cdc6a43@cygnus> Message-ID: <59400.216.230.236.58.1382603058.squirrel@www.oplink.net> > On Mon, Oct 21, 2013 at 10:04 PM, G. Wade Johnson > wrote: [snip] >I would like to give a little different take on this though. [snip] >One of the things I'm trying to correct with this >class/hangout/whatever is an impression I never thought I would have to >deal with for Perl. In our meetings, we focus on the big, powerful >applications of Perl. We tend to ignore the little, useful scripts. [snip] >For most of my career (and most of the time I've "programmed Perl" I >have not "made my living programming Perl". I have normally used Perl >as necessary to solve problems that were too hard in the language I was >being paid to program in. > >What got me using Perl was the way I could whip up a quick-and-dirty >script to remove an annoyance. Later, as I solved more problems with >Perl, I began to move toward mastering the language. [snip] >G. Wade That is a thought-provoking post, Wade. Sometimes the most valuable member of the team is the guy who has the perspective to envision and apply unorthodox methods (such as Perl scripts) to solve problems for which orthodox approaches are inadequate or too difficult, or problems which have others in the team stumped. When a railway locomotive is derailed, who is the more valuable man? (1) The engineer who is competent at hauling freight and passengers, meeting schedules, and blowing the horn, but has not the foggiest notion of how to get the locomotive back on the track? OR (2) The lowly mechanic who -- working alone and using little more than wooden wedges and a sledgehammer -- has the expertise to get the derailed locomotive back onto the track, but lacks many of the skills of the engineer? P.S. On YouTube there is a video which demonstrates the procedure. In the Bible is found a short dissertation which is of general applicability; the dissertation gets to the heart of the matter; consider I Corinthians 12:14-26: For the body is not one member, but many. If the foot says, Because I am not a hand, I am not a part of the body, it is not for this reason any the less a part of the body. And if the ear says, Because I am not an eye, I am not a part of the body, it is not for this reason any the less a part of the body. If the whole body were an eye, where would the hearing be? If the whole were hearing, where would the sense of smell be? But now God has placed the members, each one of them, in the body, just as He desired. If they were all one member, where would the body be? But now there are many members, but one body. And the eye cannot say to the hand, I have no need of you; or again the head to the feet, I have no need of you. On the contrary, it is much truer that the members of the body which seem to be weaker are necessary; and those members of the body which we deem less honorable, on these we bestow more abundant honor, and our less presentable members become much more presentable, whereas our more presentable members have no need of it. But God has so composed the body, giving more abundant honor to that member which lacked, so that there may be no division in the body, but that the members may have the same care for one another. And if one member suffers, all the members suffer with it; if one member is honored, all the members rejoice with it. I submit that the proper way to view Perl is to see that it is but one component of a system, and moreover, a component which is often is vital to proper function of the system. RLH From mikeflan at att.net Thu Oct 24 03:03:40 2013 From: mikeflan at att.net (Mike Flannigan) Date: Thu, 24 Oct 2013 05:03:40 -0500 Subject: [pm-h] Checking for Broken Links In-Reply-To: <20131023134803.5a641603@cygnus> References: <20131021220435.208abea4@cygnus> <5267220F.7000709@att.net> <20131023134803.5a641603@cygnus> Message-ID: <5268F07C.40907@att.net> I almost never use this script below, but I think I may start using modified copies of it. The broken link referred to in the comment section below is linked to the text "*Spatial Evacuation Analysis Project " on *the webpage http://www.ncgia.ucsb.edu/about/sitemap.php* *The program apparently skips the broken link and probably a lot of other links. Maybe because they are relative links?? I could probably figure this out, but just haven't worked on it much yet.* * I found this script. I did not create it. #!/usr/local/bin/perl # # This program crawls sites listed in URLS and checks # all links. But it does not crawl outside the base # site listed in FOLLOW_REGEX. It lists all the links # followed, including the broken links. All output goes # to the terminal window. # # I say this does not work, because the link http://www.ncgia.ucsb.edu/~cova/seap.html # is broken on this page: http://www.ncgia.ucsb.edu/about/sitemap.php # but this script does not point that out. # # use strict; use warnings; use WWW::SimpleRobot; my $robot = WWW::SimpleRobot->new( URLS => [ 'http://www.ncgia.ucsb.edu/about/sitemap.php' ], FOLLOW_REGEX => "^http://www.ncgia.ucsb.edu/", DEPTH => 1, TRAVERSAL => 'depth', VISIT_CALLBACK => sub { my ( $url, $depth, $html, $links ) = @_; print STDERR "\nVisiting $url\n\n"; foreach my $link (@$links){ print STDERR "@{$link}\n"; # This derefereces the links } } , BROKEN_LINK_CALLBACK => sub { my ( $url, $linked_from, $depth ) = @_; print STDERR "$url looks like a broken link on $linked_from\n"; print STDERR "Depth = $depth\n"; } ); $robot->traverse; my @urls = @{$robot->urls}; my @pages = @{$robot->pages}; for my $page ( @pages ) { my $url = $page->{url}; my $depth = $page->{depth}; my $modification_time = $page->{modification_time}; } print "\nAll done.\n"; __END__ On 10/23/2013 1:48 PM, G. Wade Johnson wrote: > Hi Mike, Thanks for the input. I'm glad you have been able to get > input from other resources. I hope this list and the hangout will > become more useful to you as well. > We have had some of these topics covered in the past, so the talks > pages may have some information that will help. My goal with this is > really to help people get unstuck and see how to proceed, rather than > teaching. > > For example, if you had a particular task you wanted to perform with > LWP (even if it's an example problem), we could walk through where you > are stuck and get you moving again. Also, we could answer questions on > the modules that we know. > > It sounds like what I have in mind could be useful to you as well. > > G. Wade > -------------- next part -------------- An HTML attachment was scrubbed... URL: From gwadej at anomaly.org Thu Oct 24 08:01:35 2013 From: gwadej at anomaly.org (G. Wade Johnson) Date: Thu, 24 Oct 2013 10:01:35 -0500 Subject: [pm-h] Checking for Broken Links In-Reply-To: <5268F07C.40907@att.net> References: <20131021220435.208abea4@cygnus> <5267220F.7000709@att.net> <20131023134803.5a641603@cygnus> <5268F07C.40907@att.net> Message-ID: <20131024100135.23b9dac8@cygnus> That was fun, and it gave me a good excuse to play with Devel::hdb. There's a bug in the way that WWW::SimpleRobot handles broken links. If the link is in the original array that you pass, it recognizes the broken link and calls the callback routine. But, when it's traversing a page and building a list of links, it discards any link that fails a "head" request. So, all broken links would be discarded. That's probably worth a bug report to the author. More Detail ----------- To troubleshoot this, I first ran it the way you did. Then, I looked at the docs for WWW::SimpleRobot and didn't see anything useful there. Next, I looked at the source (nicely formatted by metacpan: https://metacpan.org/source/AWRIGLEY/WWW-SimpleRobot-0.07/SimpleRobot.pm). On line 35, I noticed there was an ability to do a VERBOSE mode. Looking down the code a little ways (lines 119-124), you can see that verbose is used to print a "get $url" line before the BROKEN_LINK_CALLBACK is called. Running that way showed that the code never prints "get http://www.ncgia.ucsb.edu/%7Ecova/seap.html". Looking a little further shows lines 140-142, which discards the link if head() fails. The hdb debugging interface was really nice for this. (Unfortunately, I spent a fair amount of time playing with the debugger.) I can see a couple of ways of fixing this: 1. Easiest: report the bug through RT and hope the author takes care of it soon. 2. Patch your copy of WWW::SimpleRobot code to call the callback at the head() failure or not to discard on the head() request. 3. Copy the WWW::SimpleRobot traversal code into your script and fix it there. The first approach is probably the best. G. Wade On Thu, 24 Oct 2013 05:03:40 -0500 Mike Flannigan wrote: > > I almost never use this script below, but I think > I may start using modified copies of it. The > broken link referred to in the comment section below > is linked to the text "*Spatial Evacuation Analysis Project > " > on *the webpage > http://www.ncgia.ucsb.edu/about/sitemap.php* > > *The program apparently skips the broken link and > probably a lot of other links. Maybe because they are > relative links?? I could probably figure this out, > but just haven't worked on it much yet.* > * > > I found this script. I did not create it. > > #!/usr/local/bin/perl > # > # This program crawls sites listed in URLS and checks > # all links. But it does not crawl outside the base > # site listed in FOLLOW_REGEX. It lists all the links > # followed, including the broken links. All output goes > # to the terminal window. > # > # I say this does not work, because the link > http://www.ncgia.ucsb.edu/~cova/seap.html > # is broken on this page: http://www.ncgia.ucsb.edu/about/sitemap.php > # but this script does not point that out. > # > # > use strict; > use warnings; > use WWW::SimpleRobot; > my $robot = WWW::SimpleRobot->new( > URLS => > [ 'http://www.ncgia.ucsb.edu/about/sitemap.php' ], FOLLOW_REGEX => > "^http://www.ncgia.ucsb.edu/", DEPTH => 1, > TRAVERSAL => 'depth', > VISIT_CALLBACK => > sub { > my ( $url, $depth, $html, $links ) = @_; > print STDERR "\nVisiting $url\n\n"; > foreach my $link (@$links){ > print STDERR "@{$link}\n"; # This derefereces the > links } > } > > , > BROKEN_LINK_CALLBACK => > sub { > my ( $url, $linked_from, $depth ) = @_; > print STDERR "$url looks like a broken link on > $linked_from\n"; > print STDERR "Depth = $depth\n"; > } > ); > $robot->traverse; > my @urls = @{$robot->urls}; > my @pages = @{$robot->pages}; > for my $page ( @pages ) > { > my $url = $page->{url}; > my $depth = $page->{depth}; > my $modification_time = $page->{modification_time}; > } > > print "\nAll done.\n"; > > > __END__ > > > > > On 10/23/2013 1:48 PM, G. Wade Johnson wrote: > > Hi Mike, Thanks for the input. I'm glad you have been able to get > > input from other resources. I hope this list and the hangout will > > become more useful to you as well. > > We have had some of these topics covered in the past, so the talks > > pages may have some information that will help. My goal with this is > > really to help people get unstuck and see how to proceed, rather > > than teaching. > > > > For example, if you had a particular task you wanted to perform with > > LWP (even if it's an example problem), we could walk through where > > you are stuck and get you moving again. Also, we could answer > > questions on the modules that we know. > > > > It sounds like what I have in mind could be useful to you as well. > > > > G. Wade > > > -- 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 Thu Oct 24 11:56:20 2013 From: mrdvt92 at yahoo.com (Michael R. Davis) Date: Thu, 24 Oct 2013 11:56:20 -0700 (PDT) Subject: [pm-h] Introductory Perl Help In-Reply-To: <59400.216.230.236.58.1382603058.squirrel@www.oplink.net> References: <20131021220435.208abea4@cygnus> <20131023091529.6cdc6a43@cygnus> <59400.216.230.236.58.1382603058.squirrel@www.oplink.net> Message-ID: <1382640980.27535.YahooMailNeo@web120606.mail.ne1.yahoo.com> >deal with for Perl. In our meetings, we focus on the big, powerful >applications of Perl. We tend to ignore the little, useful scripts. ? I use Perl for both major applications and minor scripts.? Although I tend to use the good old command line (e.g. find, sed and grep) for most of what I would consider minor. ? But, I think the real power of Perl comes from packages and CPAN.? However, with the right packages major scripts turn into minor ones. ? We have a bunch of in-house packages some of which have been open sourced at http://search.cpan.org/~mrdvt/. ? But, what I think would be the killer app of "Introductory Perl Help" would be ? 1) What are the best CPAN packages to start my foundation upon? 2) How can I start my foundation with my own packages? (e.g. the database connect package) 3) How can I convert my Perl packages into OS packages so that they are always available (RPM, PPM, etc.)? 4) What are the lessons learned from others so that I hopefully won't be in the same boat. ? I think the CPAN indexer should have a place where I can list my favorite CPAN?packages. I'd start with Path::Class and DateTime. ? I hope to make the meeting in December. Thanks, Mike ? mrdvt92 -------------- next part -------------- An HTML attachment was scrubbed... URL: From mikeflan at att.net Thu Oct 24 16:54:53 2013 From: mikeflan at att.net (Mike Flannigan) Date: Thu, 24 Oct 2013 18:54:53 -0500 Subject: [pm-h] Checking for Broken Links In-Reply-To: <20131024100135.23b9dac8@cygnus> References: <20131021220435.208abea4@cygnus> <5267220F.7000709@att.net> <20131023134803.5a641603@cygnus> <5268F07C.40907@att.net> <20131024100135.23b9dac8@cygnus> Message-ID: <5269B34D.6090106@att.net> Wow, I would not have figured that out - at least not in the same day. I did #1, but I'll bet that doesn't work. Surely they already know about this. I discovered that RT = https://rt.perl.org/ Thanks for doing all that free work :-) Mike On 10/24/2013 10:01 AM, G. Wade Johnson wrote: > That was fun, and it gave me a good excuse to play with Devel::hdb. > > There's a bug in the way that WWW::SimpleRobot handles broken links. > > If the link is in the original array that you pass, it recognizes the > broken link and calls the callback routine. > > But, when it's traversing a page and building a list of links, it > discards any link that fails a "head" request. So, all broken links > would be discarded. > > That's probably worth a bug report to the author. > > More Detail > ----------- > To troubleshoot this, I first ran it the way you did. Then, I looked > at the docs for WWW::SimpleRobot and didn't see anything useful there. > > Next, I looked at the source (nicely formatted by metacpan: > https://metacpan.org/source/AWRIGLEY/WWW-SimpleRobot-0.07/SimpleRobot.pm). > > On line 35, I noticed there was an ability to do a VERBOSE mode. > Looking down the code a little ways (lines 119-124), you can see that > verbose is used to print a "get $url" line before the > BROKEN_LINK_CALLBACK is called. > > Running that way showed that the code never prints > "get http://www.ncgia.ucsb.edu/%7Ecova/seap.html". > > Looking a little further shows lines 140-142, which discards the link > if head() fails. > > The hdb debugging interface was really nice for this. (Unfortunately, I > spent a fair amount of time playing with the debugger.) > > I can see a couple of ways of fixing this: > > 1. Easiest: report the bug through RT and hope the author takes care of > it soon. > > 2. Patch your copy of WWW::SimpleRobot code to call the callback at the > head() failure or not to discard on the head() request. > > 3. Copy the WWW::SimpleRobot traversal code into your script and fix it > there. > > The first approach is probably the best. > > G. Wade > From mikeflan at att.net Thu Oct 24 16:56:59 2013 From: mikeflan at att.net (Mike Flannigan) Date: Thu, 24 Oct 2013 18:56:59 -0500 Subject: [pm-h] Introductory Perl Help In-Reply-To: <1382640980.27535.YahooMailNeo@web120606.mail.ne1.yahoo.com> References: <20131021220435.208abea4@cygnus> <20131023091529.6cdc6a43@cygnus> <59400.216.230.236.58.1382603058.squirrel@www.oplink.net> <1382640980.27535.YahooMailNeo@web120606.mail.ne1.yahoo.com> Message-ID: <5269B3CB.1050703@att.net> On 10/24/2013 1:56 PM, Michael R. Davis wrote: > >deal with for Perl. In our meetings, we focus on the big, powerful > >applications of Perl. We tend to ignore the little, useful scripts. > I use Perl for both major applications and minor scripts. Although I > tend to use the good old command line (e.g. find, sed and grep) for > most of what I would consider minor. > But, I think the real power of Perl comes from packages and CPAN. > However, with the right packages major scripts turn into minor ones. > We have a bunch of in-house packages some of which have been open > sourced at http://search.cpan.org/~mrdvt/ > . > Those modules are pretty cool. Thanks for sharing. I might try these: Geo-Forward-0.14 Calculate geographic location from lat, lon, distance, and heading. Geo-Inverse-0.05 Calculate geographic distance from a lat & lon pair (I now use Geo::Distance) Geo-GoogleEarth-Document-0.11 Generates GoogleEarth KML Documents HTML-CalendarMonthSimple-1.26 Perl Module for Generating HTML Calendars (I now use HTML::Calendar::Simple) Mike > But, what I think would be the killer app of "Introductory Perl Help" > would be > 1) What are the best CPAN packages to start my foundation upon? > 2) How can I start my foundation with my own packages? (e.g. the > database connect package) > 3) How can I convert my Perl packages into OS packages so that they > are always available (RPM, PPM, etc.)? > 4) What are the lessons learned from others so that I hopefully won't > be in the same boat. > I think the CPAN indexer should have a place where I can list my > favorite CPAN packages. I'd start with Path::Class and DateTime. > I hope to make the meeting in December. > Thanks, > Mike > mrdvt92 > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From gwadej at anomaly.org Thu Oct 24 19:50:33 2013 From: gwadej at anomaly.org (G. Wade Johnson) Date: Thu, 24 Oct 2013 21:50:33 -0500 Subject: [pm-h] Checking for Broken Links In-Reply-To: <5269B34D.6090106@att.net> References: <20131021220435.208abea4@cygnus> <5267220F.7000709@att.net> <20131023134803.5a641603@cygnus> <5268F07C.40907@att.net> <20131024100135.23b9dac8@cygnus> <5269B34D.6090106@att.net> Message-ID: <20131024215033.1c2be4e7@cygnus> On Thu, 24 Oct 2013 18:54:53 -0500 Mike Flannigan wrote: > > Wow, I would not have figured that out - at least > not in the same day. > > I did #1, but I'll bet that doesn't work. > Surely they already know about this. > > I discovered that RT = > https://rt.perl.org/ > > Thanks for doing all that free work :-) What I should have done was point you at a few things to try and let you make some progress. Since I hadn't tried hdb before and it was way more effective than I thought, you got the advantage of me playing with the tool. If anyone hasn't seen the post someone made about this a month ago, you really need to check it out. Decent GUI debugger with the browser as your interface. G. Wade > On 10/24/2013 10:01 AM, G. Wade Johnson wrote: > > That was fun, and it gave me a good excuse to play with Devel::hdb. > > > > There's a bug in the way that WWW::SimpleRobot handles broken links. > > > > If the link is in the original array that you pass, it recognizes > > the broken link and calls the callback routine. > > > > But, when it's traversing a page and building a list of links, it > > discards any link that fails a "head" request. So, all broken links > > would be discarded. > > > > That's probably worth a bug report to the author. > > > > More Detail > > ----------- > > To troubleshoot this, I first ran it the way you did. Then, I looked > > at the docs for WWW::SimpleRobot and didn't see anything useful > > there. > > > > Next, I looked at the source (nicely formatted by metacpan: > > https://metacpan.org/source/AWRIGLEY/WWW-SimpleRobot-0.07/SimpleRobot.pm). > > > > On line 35, I noticed there was an ability to do a VERBOSE mode. > > Looking down the code a little ways (lines 119-124), you can see > > that verbose is used to print a "get $url" line before the > > BROKEN_LINK_CALLBACK is called. > > > > Running that way showed that the code never prints > > "get http://www.ncgia.ucsb.edu/%7Ecova/seap.html". > > > > Looking a little further shows lines 140-142, which discards the > > link if head() fails. > > > > The hdb debugging interface was really nice for this. > > (Unfortunately, I spent a fair amount of time playing with the > > debugger.) > > > > I can see a couple of ways of fixing this: > > > > 1. Easiest: report the bug through RT and hope the author takes > > care of it soon. > > > > 2. Patch your copy of WWW::SimpleRobot code to call the callback at > > the head() failure or not to discard on the head() request. > > > > 3. Copy the WWW::SimpleRobot traversal code into your script and > > fix it there. > > > > The first approach is probably the best. > > > > G. Wade > > > > _______________________________________________ > Houston mailing list > Houston at pm.org > http://mail.pm.org/mailman/listinfo/houston > Website: http://houston.pm.org/ -- 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 Fri Oct 25 09:38:29 2013 From: mrdvt92 at yahoo.com (Michael R. Davis) Date: Fri, 25 Oct 2013 09:38:29 -0700 (PDT) Subject: [pm-h] JSON web services server side starting hints Message-ID: <1382719109.11352.YahooMailNeo@web120603.mail.ne1.yahoo.com> Perl Folks, I need to set up JSON web services (server side) as a simple interface to an existing database infrastructure.? Can anyone recommend any building blocks, standards, etc.? ? I'm going to write it in Perl and need to get it going in a few days.? If I don't get it up and running we are most likely going to implement it as .Net services ? Goals ? - Must have authentication ??? - I like Apache basic authentication but I see Google is doing signature-based. ? -? Must have both Read and Write services ???? - I've never use Write JSON services. I think it's just a PUT with STDIN JSON data package ???? - I guess reads are just GET URLs with a restful structure?? Any hints on how to organize them (fine grained vs. course grained) ? How do you document for clients?? Is there a WSDL equivalent for JSON? ? Any pointers would be helpful. Thanks, Mike -------------- next part -------------- An HTML attachment was scrubbed... URL: From gwadej at anomaly.org Fri Oct 25 13:13:40 2013 From: gwadej at anomaly.org (G. Wade Johnson) Date: Fri, 25 Oct 2013 15:13:40 -0500 Subject: [pm-h] November Houston.pm Technical Meeting: Bitcoin Payment Processing Message-ID: <20131025151340.60b7b02c@cygnus> For November's meeting, JD Lightsey has agreed to do a talk on how Bitcoin transactions are processed. He'll include some examples of CPAN modules for Bitcoin. As usual, we will meet downstairs between 6:30pm and 7pm and go up to the training room for the meeting. Looking forward to seeing you there. G. Wade -- Oh really? There's debate about open source hardware? I'm going to keep shipping open source hardware while you all argue about it. -- Ladyada From mrallen1 at yahoo.com Fri Oct 25 21:13:39 2013 From: mrallen1 at yahoo.com (Mark Allen) Date: Fri, 25 Oct 2013 21:13:39 -0700 (PDT) Subject: [pm-h] JSON web services server side starting hints In-Reply-To: <1382719109.11352.YahooMailNeo@web120603.mail.ne1.yahoo.com> References: <1382719109.11352.YahooMailNeo@web120603.mail.ne1.yahoo.com> Message-ID: <1382760819.98255.YahooMailNeo@web164002.mail.gq1.yahoo.com> I have a couple of suggestions for you. First, you will likely want to investigate this advent calendar posting from a couple years ago: http://advent.perldancer.org/2010/8 -?Writing REST web services with Dancer If you need something more "industrial" then you will probably want to look at something like OData.org - there's no Perl server implementation, but there is support for PHP, node and .NET. ?It's a pretty comprehensive specification for presenting a database through a web interface. I actually started working on a Perl implementation of a client, but gave up because priorities at work changed. On Friday, October 25, 2013 11:38 AM, Michael R. Davis wrote: Perl Folks, I need to set up JSON web services (server side) as a simple interface to an existing database infrastructure.? Can anyone recommend any building blocks, standards, etc.? ? I'm going to write it in Perl and need to get it going in a few days.? If I don't get it up and running we are most likely going to implement it as .Net services ? Goals ? - Must have authentication ??? - I like Apache basic authentication but I see Google is doing signature-based. ? -? Must have both Read and Write services ???? - I've never use Write JSON services. I think it's just a PUT with STDIN JSON data package ???? - I guess reads are just GET URLs with a restful structure?? Any hints on how to organize them (fine grained vs. course grained) ? How do you document for clients?? Is there a WSDL equivalent for JSON? ? Any pointers would be helpful. 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 Fri Oct 25 21:13:39 2013 From: mrallen1 at yahoo.com (Mark Allen) Date: Fri, 25 Oct 2013 21:13:39 -0700 (PDT) Subject: [pm-h] JSON web services server side starting hints In-Reply-To: <1382719109.11352.YahooMailNeo@web120603.mail.ne1.yahoo.com> References: <1382719109.11352.YahooMailNeo@web120603.mail.ne1.yahoo.com> Message-ID: <1382760819.98255.YahooMailNeo@web164002.mail.gq1.yahoo.com> I have a couple of suggestions for you. First, you will likely want to investigate this advent calendar posting from a couple years ago: http://advent.perldancer.org/2010/8 -?Writing REST web services with Dancer If you need something more "industrial" then you will probably want to look at something like OData.org - there's no Perl server implementation, but there is support for PHP, node and .NET. ?It's a pretty comprehensive specification for presenting a database through a web interface. I actually started working on a Perl implementation of a client, but gave up because priorities at work changed. On Friday, October 25, 2013 11:38 AM, Michael R. Davis wrote: Perl Folks, I need to set up JSON web services (server side) as a simple interface to an existing database infrastructure.? Can anyone recommend any building blocks, standards, etc.? ? I'm going to write it in Perl and need to get it going in a few days.? If I don't get it up and running we are most likely going to implement it as .Net services ? Goals ? - Must have authentication ??? - I like Apache basic authentication but I see Google is doing signature-based. ? -? Must have both Read and Write services ???? - I've never use Write JSON services. I think it's just a PUT with STDIN JSON data package ???? - I guess reads are just GET URLs with a restful structure?? Any hints on how to organize them (fine grained vs. course grained) ? How do you document for clients?? Is there a WSDL equivalent for JSON? ? Any pointers would be helpful. 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 rlharris at oplink.net Sat Oct 26 05:32:39 2013 From: rlharris at oplink.net (rlharris at oplink.net) Date: Sat, 26 Oct 2013 07:32:39 -0500 (CDT) Subject: [pm-h] Google Hangouts for Introductory Perl Help In-Reply-To: <38917.216.230.236.57.1382552550.squirrel@www.oplink.net> References: <20131021220435.208abea4@cygnus> <38917.216.230.236.57.1382552550.squirrel@www.oplink.net> Message-ID: <58837.216.230.236.62.1382790759.squirrel@www.oplink.net> I have spent several hours searching and reading regarding Google Hangouts. It appears that Google is taking the system proprietary next month, moving away from XMPP, and making it difficult or impossible to go "off-record". So Google Hangouts now is about as appealing to me as is Skype under the management of micro$oft. There appears a reasonable alternative to Hangouts, which is open-source and is being developed for the university environment -- Big Blue Button. I think this should be investigated. http://bigbluebutton.org/ From estrabd at gmail.com Sat Oct 26 06:18:50 2013 From: estrabd at gmail.com (B. Estrade) Date: Sat, 26 Oct 2013 08:18:50 -0500 Subject: [pm-h] Google Hangouts for Introductory Perl Help In-Reply-To: <58837.216.230.236.62.1382790759.squirrel@www.oplink.net> References: <20131021220435.208abea4@cygnus> <38917.216.230.236.57.1382552550.squirrel@www.oplink.net> <58837.216.230.236.62.1382790759.squirrel@www.oplink.net> Message-ID: Seriously? It's never ending. Can we just get something going and not always find a reason to distract ourselves? Wade has kick off something good, let's just go with whatever is easiest. With all due respect, Brett On Sat, Oct 26, 2013 at 7:32 AM, wrote: > I have spent several hours searching and reading regarding Google > Hangouts. It appears that Google is taking the system proprietary next > month, moving away from XMPP, and making it difficult or impossible to go > "off-record". So Google Hangouts now is about as appealing to me as is > Skype under the management of micro$oft. > > There appears a reasonable alternative to Hangouts, which is open-source > and is being developed for the university environment -- Big Blue Button. > I think this should be investigated. > > http://bigbluebutton.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 Sat Oct 26 10:05:18 2013 From: gwadej at anomaly.org (G. Wade Johnson) Date: Sat, 26 Oct 2013 12:05:18 -0500 Subject: [pm-h] Google Hangouts for Introductory Perl Help In-Reply-To: <58837.216.230.236.62.1382790759.squirrel@www.oplink.net> References: <20131021220435.208abea4@cygnus> <38917.216.230.236.57.1382552550.squirrel@www.oplink.net> <58837.216.230.236.62.1382790759.squirrel@www.oplink.net> Message-ID: <20131026120518.55c61fa5@cygnus> On Sat, 26 Oct 2013 07:32:39 -0500 (CDT) rlharris at oplink.net wrote: > I have spent several hours searching and reading regarding Google > Hangouts. It appears that Google is taking the system proprietary > next month, moving away from XMPP, and making it difficult or > impossible to go "off-record". So Google Hangouts now is about as > appealing to me as is Skype under the management of micro$oft. > > There appears a reasonable alternative to Hangouts, which is > open-source and is being developed for the university environment -- > Big Blue Button. I think this should be investigated. > > http://bigbluebutton.org/ A few years ago, we looked at a whole bunch of these systems for remote meetings. Every one we looked at had problems with some platform or other. I was thinking of Google Hangouts (not "on air") as a quick-n-dirty attempt to make it work, without requiring a lot of special drivers, etc. The only requirements are: - A Google account (many people already have this) - The Hangouts app (supported by Google and appears to be OS/browser independent) If we can make progress on it and the group is more interested in another platform, I'm open to trying anything. But, for the first attempt, at least, Hangouts seems to be the lowest friction approach I've seen. Until we know if the idea is going to work, I'd like to avoid potential bikeshedding. If you have more info on "Big Blue Button" or would like to research the requirements, I'd love to hear about it. Thanks for the input, G. Wade -- Cannot say. Saying I would know, do not know, so cannot say. -- Zathras - "The War without End" From gwadej at anomaly.org Sat Oct 26 10:19:37 2013 From: gwadej at anomaly.org (G. Wade Johnson) Date: Sat, 26 Oct 2013 12:19:37 -0500 Subject: [pm-h] Time for the first "Houston.pm Beginners/Novices Hangout" Message-ID: <20131026121937.53f41670@cygnus> For those people who are interested in the Introductory hangout/office hours/mentoring/help session thing, I'm trying to come up with a good time to try the first one. The ideas I'm considering: Length: 1. 1 hour 2. 1.5 hours 3. 2 hours Times: 1. Lunch hour-ish (maybe 11:30-1:30) - Advantages a. Help for work projects easier b. Doesn't impact people's evenings - Disadvantages a. Help for home projects is weirder b. Some companies might object to using work time. c. May not want personal Google account on work computer 2. Late afternoon/Early evening (maybe 5:00-7:00) - Advantages a. Partial overlap of work time, for work projects b. Partial overlap of home time, for home projects c. Small impact on people's evenings d. Small impact on work time - Disadvantages a. Overlaps many peoples' commutes b. Some companies might object to using work time. c. May not want personal Google account on work computer 3. Evening (maybe 7:00-9:00) - Advantages a. Help for home projects is easier b. Minimal impact on work time - Disadvantages a. Significant impact on peoples' evening time b. Potential issues getting help on work projects Days: I'm thinking of picking a day next week or the one after to try this. Some input before I choose gives you a chance to help decide this. At the moment, I'm mostly considering weekdays. If anyone would prefer to do a weekend, speak up. Thanks, G. Wade -- Be a good ancestor. -- Jonas Salk From mrallen1 at yahoo.com Sat Oct 26 11:47:29 2013 From: mrallen1 at yahoo.com (Mark Allen) Date: Sat, 26 Oct 2013 13:47:29 -0500 Subject: [pm-h] Time for the first "Houston.pm Beginners/Novices Hangout" In-Reply-To: <20131026121937.53f41670@cygnus> References: <20131026121937.53f41670@cygnus> Message-ID: <74110CB5-23B9-4947-9221-2CA1D73DAA2B@yahoo.com> Let's do it office hours style? Weekly on x day at y time for 1 hour minimum and longer if mentors/mentees like. Maybe mentors could host their own or start one ad hoc and send a note to the email listserv? Idk. Just some suggestions. Sent from my iPhone > On Oct 26, 2013, at 12:19 PM, "G. Wade Johnson" wrote: > > For those people who are interested in the Introductory hangout/office > hours/mentoring/help session thing, I'm trying to come up with a good > time to try the first one. > > The ideas I'm considering: > > Length: > 1. 1 hour > 2. 1.5 hours > 3. 2 hours > > Times: > > 1. Lunch hour-ish (maybe 11:30-1:30) > - Advantages > a. Help for work projects easier > b. Doesn't impact people's evenings > - Disadvantages > a. Help for home projects is weirder > b. Some companies might object to using work time. > c. May not want personal Google account on work computer > > 2. Late afternoon/Early evening (maybe 5:00-7:00) > - Advantages > a. Partial overlap of work time, for work projects > b. Partial overlap of home time, for home projects > c. Small impact on people's evenings > d. Small impact on work time > - Disadvantages > a. Overlaps many peoples' commutes > b. Some companies might object to using work time. > c. May not want personal Google account on work computer > > 3. Evening (maybe 7:00-9:00) > - Advantages > a. Help for home projects is easier > b. Minimal impact on work time > - Disadvantages > a. Significant impact on peoples' evening time > b. Potential issues getting help on work projects > > Days: > > I'm thinking of picking a day next week or the one after to try this. > Some input before I choose gives you a chance to help decide this. > > At the moment, I'm mostly considering weekdays. If anyone would > prefer to do a weekend, speak up. > > Thanks, > G. Wade > -- > Be a good ancestor. -- Jonas Salk > _______________________________________________ > Houston mailing list > Houston at pm.org > http://mail.pm.org/mailman/listinfo/houston > Website: http://houston.pm.org/ From gwadej at anomaly.org Sat Oct 26 13:54:52 2013 From: gwadej at anomaly.org (G. Wade Johnson) Date: Sat, 26 Oct 2013 15:54:52 -0500 Subject: [pm-h] Time for the first "Houston.pm Beginners/Novices Hangout" In-Reply-To: <74110CB5-23B9-4947-9221-2CA1D73DAA2B@yahoo.com> References: <20131026121937.53f41670@cygnus> <74110CB5-23B9-4947-9221-2CA1D73DAA2B@yahoo.com> Message-ID: <20131026155452.2875c60a@cygnus> On Sat, 26 Oct 2013 13:47:29 -0500 Mark Allen wrote: > Let's do it office hours style? > > Weekly on x day at y time for 1 hour minimum and longer if > mentors/mentees like. > > Maybe mentors could host their own or start one ad hoc and send a > note to the email listserv? > > Idk. Just some suggestions. That's one of the directions I'm thinking of going. I'm glad someone else thought it was a reasonable idea. Thanks for pointing it out. At the moment, I'm looking for input on the first session. I could pull a time/date out of the air that would be good for me, but we won't be able to check the idea unless I know there are people who will be there. I think once we've proved the idea, we might spread the fun around. Other thoughts. G. Wade > Sent from my iPhone > > > On Oct 26, 2013, at 12:19 PM, "G. Wade Johnson" > > wrote: > > > > For those people who are interested in the Introductory > > hangout/office hours/mentoring/help session thing, I'm trying to > > come up with a good time to try the first one. > > > > The ideas I'm considering: > > > > Length: > > 1. 1 hour > > 2. 1.5 hours > > 3. 2 hours > > > > Times: > > > > 1. Lunch hour-ish (maybe 11:30-1:30) > > - Advantages > > a. Help for work projects easier > > b. Doesn't impact people's evenings > > - Disadvantages > > a. Help for home projects is weirder > > b. Some companies might object to using work time. > > c. May not want personal Google account on work computer > > > > 2. Late afternoon/Early evening (maybe 5:00-7:00) > > - Advantages > > a. Partial overlap of work time, for work projects > > b. Partial overlap of home time, for home projects > > c. Small impact on people's evenings > > d. Small impact on work time > > - Disadvantages > > a. Overlaps many peoples' commutes > > b. Some companies might object to using work time. > > c. May not want personal Google account on work computer > > > > 3. Evening (maybe 7:00-9:00) > > - Advantages > > a. Help for home projects is easier > > b. Minimal impact on work time > > - Disadvantages > > a. Significant impact on peoples' evening time > > b. Potential issues getting help on work projects > > > > Days: > > > > I'm thinking of picking a day next week or the one after to try > > this. Some input before I choose gives you a chance to help decide > > this. > > > > At the moment, I'm mostly considering weekdays. If anyone would > > prefer to do a weekend, speak up. > > > > Thanks, > > G. Wade > > -- > > Be a good ancestor. -- Jonas Salk > > _______________________________________________ > > 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/ -- The competent programmer is fully aware of the limited size of his own skull. He therefore approaches his task with full humility, and avoids clever tricks like the plague. -- Edsger Dijkstra From mrallen1 at yahoo.com Sat Oct 26 14:08:36 2013 From: mrallen1 at yahoo.com (Mark Allen) Date: Sat, 26 Oct 2013 16:08:36 -0500 Subject: [pm-h] Time for the first "Houston.pm Beginners/Novices Hangout" In-Reply-To: <20131026155452.2875c60a@cygnus> References: <20131026121937.53f41670@cygnus> <74110CB5-23B9-4947-9221-2CA1D73DAA2B@yahoo.com> <20131026155452.2875c60a@cygnus> Message-ID: Pick what works for you! :-) Sent from my iPhone > On Oct 26, 2013, at 3:54 PM, "G. Wade Johnson" wrote: > > On Sat, 26 Oct 2013 13:47:29 -0500 > Mark Allen wrote: > >> Let's do it office hours style? >> >> Weekly on x day at y time for 1 hour minimum and longer if >> mentors/mentees like. >> >> Maybe mentors could host their own or start one ad hoc and send a >> note to the email listserv? >> >> Idk. Just some suggestions. > > That's one of the directions I'm thinking of going. I'm glad someone > else thought it was a reasonable idea. Thanks for pointing it out. > > At the moment, I'm looking for input on the first session. I could pull > a time/date out of the air that would be good for me, but we won't be > able to check the idea unless I know there are people who will be there. > > I think once we've proved the idea, we might spread the fun around. > > Other thoughts. > G. Wade > >> Sent from my iPhone >> >>> On Oct 26, 2013, at 12:19 PM, "G. Wade Johnson" >>> wrote: >>> >>> For those people who are interested in the Introductory >>> hangout/office hours/mentoring/help session thing, I'm trying to >>> come up with a good time to try the first one. >>> >>> The ideas I'm considering: >>> >>> Length: >>> 1. 1 hour >>> 2. 1.5 hours >>> 3. 2 hours >>> >>> Times: >>> >>> 1. Lunch hour-ish (maybe 11:30-1:30) >>> - Advantages >>> a. Help for work projects easier >>> b. Doesn't impact people's evenings >>> - Disadvantages >>> a. Help for home projects is weirder >>> b. Some companies might object to using work time. >>> c. May not want personal Google account on work computer >>> >>> 2. Late afternoon/Early evening (maybe 5:00-7:00) >>> - Advantages >>> a. Partial overlap of work time, for work projects >>> b. Partial overlap of home time, for home projects >>> c. Small impact on people's evenings >>> d. Small impact on work time >>> - Disadvantages >>> a. Overlaps many peoples' commutes >>> b. Some companies might object to using work time. >>> c. May not want personal Google account on work computer >>> >>> 3. Evening (maybe 7:00-9:00) >>> - Advantages >>> a. Help for home projects is easier >>> b. Minimal impact on work time >>> - Disadvantages >>> a. Significant impact on peoples' evening time >>> b. Potential issues getting help on work projects >>> >>> Days: >>> >>> I'm thinking of picking a day next week or the one after to try >>> this. Some input before I choose gives you a chance to help decide >>> this. >>> >>> At the moment, I'm mostly considering weekdays. If anyone would >>> prefer to do a weekend, speak up. >>> >>> Thanks, >>> G. Wade >>> -- >>> Be a good ancestor. -- Jonas Salk >>> _______________________________________________ >>> 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/ > > > -- > The competent programmer is fully aware of the limited size of his own > skull. He therefore approaches his task with full humility, and avoids > clever tricks like the plague. -- Edsger Dijkstra > _______________________________________________ > Houston mailing list > Houston at pm.org > http://mail.pm.org/mailman/listinfo/houston > Website: http://houston.pm.org/ From mikeflan at att.net Sat Oct 26 14:28:53 2013 From: mikeflan at att.net (Mike Flannigan) Date: Sat, 26 Oct 2013 16:28:53 -0500 Subject: [pm-h] Time for the first "Houston.pm Beginners/Novices Hangout" In-Reply-To: <20131026121937.53f41670@cygnus> References: <20131026121937.53f41670@cygnus> Message-ID: <526C3415.8030002@att.net> The day doesn't matter to me. I vote for 6:30 - 7:00 PM start time. I vote for 1.5 hrs max. Mike On 10/26/2013 12:19 PM, G. Wade Johnson wrote: > For those people who are interested in the Introductory hangout/office > hours/mentoring/help session thing, I'm trying to come up with a good > time to try the first one. > > The ideas I'm considering: > > Length: > 1. 1 hour > 2. 1.5 hours > 3. 2 hours > > Times: > > 1. Lunch hour-ish (maybe 11:30-1:30) > - Advantages > a. Help for work projects easier > b. Doesn't impact people's evenings > - Disadvantages > a. Help for home projects is weirder > b. Some companies might object to using work time. > c. May not want personal Google account on work computer > > 2. Late afternoon/Early evening (maybe 5:00-7:00) > - Advantages > a. Partial overlap of work time, for work projects > b. Partial overlap of home time, for home projects > c. Small impact on people's evenings > d. Small impact on work time > - Disadvantages > a. Overlaps many peoples' commutes > b. Some companies might object to using work time. > c. May not want personal Google account on work computer > > 3. Evening (maybe 7:00-9:00) > - Advantages > a. Help for home projects is easier > b. Minimal impact on work time > - Disadvantages > a. Significant impact on peoples' evening time > b. Potential issues getting help on work projects > > Days: > > I'm thinking of picking a day next week or the one after to try this. > Some input before I choose gives you a chance to help decide this. > > At the moment, I'm mostly considering weekdays. If anyone would > prefer to do a weekend, speak up. > > Thanks, > G. Wade From gwadej at anomaly.org Sat Oct 26 16:50:10 2013 From: gwadej at anomaly.org (G. Wade Johnson) Date: Sat, 26 Oct 2013 18:50:10 -0500 Subject: [pm-h] Time for the first "Houston.pm Beginners/Novices Hangout" In-Reply-To: <526C3415.8030002@att.net> References: <20131026121937.53f41670@cygnus> <526C3415.8030002@att.net> Message-ID: <20131026185010.6059e32b@cygnus> On Sat, 26 Oct 2013 16:28:53 -0500 Mike Flannigan wrote: > > The day doesn't matter to me. > I vote for 6:30 - 7:00 PM start time. > I vote for 1.5 hrs max. Thanks, Mike. Anyone else? G. Wade > On 10/26/2013 12:19 PM, G. Wade Johnson wrote: > > For those people who are interested in the Introductory > > hangout/office hours/mentoring/help session thing, I'm trying to > > come up with a good time to try the first one. > > > > The ideas I'm considering: > > > > Length: > > 1. 1 hour > > 2. 1.5 hours > > 3. 2 hours > > > > Times: > > > > 1. Lunch hour-ish (maybe 11:30-1:30) > > - Advantages > > a. Help for work projects easier > > b. Doesn't impact people's evenings > > - Disadvantages > > a. Help for home projects is weirder > > b. Some companies might object to using work time. > > c. May not want personal Google account on work computer > > > > 2. Late afternoon/Early evening (maybe 5:00-7:00) > > - Advantages > > a. Partial overlap of work time, for work projects > > b. Partial overlap of home time, for home projects > > c. Small impact on people's evenings > > d. Small impact on work time > > - Disadvantages > > a. Overlaps many peoples' commutes > > b. Some companies might object to using work time. > > c. May not want personal Google account on work computer > > > > 3. Evening (maybe 7:00-9:00) > > - Advantages > > a. Help for home projects is easier > > b. Minimal impact on work time > > - Disadvantages > > a. Significant impact on peoples' evening time > > b. Potential issues getting help on work projects > > > > Days: > > > > I'm thinking of picking a day next week or the one after to try > > this. Some input before I choose gives you a chance to help decide > > this. > > > > At the moment, I'm mostly considering weekdays. If anyone would > > prefer to do a weekend, speak up. > > > > Thanks, > > G. Wade > > _______________________________________________ > Houston mailing list > Houston at pm.org > http://mail.pm.org/mailman/listinfo/houston > Website: http://houston.pm.org/ -- I know I'm on the right track when by deleting code I'm adding functionality. -- John Carter From mrdvt92 at yahoo.com Mon Oct 28 15:12:00 2013 From: mrdvt92 at yahoo.com (Michael R. Davis) Date: Mon, 28 Oct 2013 15:12:00 -0700 (PDT) Subject: [pm-h] JSON web services server side starting hints In-Reply-To: <1382760819.98255.YahooMailNeo@web164002.mail.gq1.yahoo.com> References: <1382719109.11352.YahooMailNeo@web120603.mail.ne1.yahoo.com> <1382760819.98255.YahooMailNeo@web164002.mail.gq1.yahoo.com> Message-ID: <1382998320.61964.YahooMailNeo@web120601.mail.ne1.yahoo.com> > > I need to set up JSON web services (server side) as a simple interface to an existing database infrastructure.? Can anyone recommend any building blocks, standards, etc.? > From: Mark Allen > Sent: Saturday, October 26, 2013 12:13 AM > http://advent.perldancer.org/2010/8-Writing REST web services with Dancer So, I just wanted to follow up on my progress and research.? It was a bit frustrating! ? Even though REST is not a requirement, I looked into Dancer and it was okay but boy was it a lot of research to just get it to work under Apache CGI with Plack::Runner.? I also?DO NOT like that it's function based.? To get there I had to write a session object which?returns a lazy loading?DBIx::Array database handle?.? But, overall I did like the dispatching (except I kept forgetting the sub is an anonymous sub to the?function "get" so the "get" function needs a semicolon at the end of the anonymous?sub block). ? Next I'm going to look a the JSON RPC packages on CPAN.? I've attached?my code here as it really is throwaway at this time.? I hope someone else can learn from it. ? --- My Dancer CGI app,,, ? $ cat dancer.cgi #!/usr/bin/env perl use Plack::Runner; Plack::Runner->run('/var/www/cgi-bin/dancer.pl'); ? $ cat dancer.pl #/usr/bin/perl use strict; use warnings; use Dancer; ? set 'logger'?????? => 'console'; set 'show_errors'? => 1; set 'warnings'???? => 1; ? our $session; #cannot set session here at compile time ? sub session { #set session at?run time ? return $session||=STOP::Session->new(%{params()}); } ? get '/' => sub { ? content_type 'text/html'; ? return '

Hello World!

'; }; ? get '/env' => sub { ? content_type 'text/plain'; ? return join "\n", map {sprintf "%s => %s", $_ => $ENV{$_}} sort keys %ENV; }; ? get '/die' => sub { ? die("Error: die\n"); }; ? prefix '/:database/:dag'; #content_type 'application/json'; content_type 'text/plain'; ? get '/params' => sub { ? content_type 'text/plain'; ? return join "\n", map {sprintf "%s => %s", $_ => param($_)} sort keys %{params()}; }; ? get '/device/:id' => sub { ? return to_json { ??????????? device??? => scalar({}), ??????????? id??????? => param("id"), ??????????? schematxt => &session->schematxt, ??????????? date????? => &session->sdb->sqlscalar("SELECT SYSDATE FROM DUAL"), ???????? }; }; ? get '/devices' => sub { ? return to_json { ?????????? devices => scalar(&session->sdb->sqlarrayhash(&devices_sql(&session->schematxt), &session->userid)), ???????? }; }; ? dance; ? ? --- ? mrdvt92 From estrabd at gmail.com Tue Oct 29 07:00:23 2013 From: estrabd at gmail.com (B. Estrade) Date: Tue, 29 Oct 2013 09:00:23 -0500 Subject: [pm-h] JSON web services server side starting hints In-Reply-To: <1382998320.61964.YahooMailNeo@web120601.mail.ne1.yahoo.com> References: <1382719109.11352.YahooMailNeo@web120603.mail.ne1.yahoo.com> <1382760819.98255.YahooMailNeo@web164002.mail.gq1.yahoo.com> <1382998320.61964.YahooMailNeo@web120601.mail.ne1.yahoo.com> Message-ID: On Mon, Oct 28, 2013 at 5:12 PM, Michael R. Davis wrote: > > > I need to set up JSON web services (server side) as a simple interface > to an existing database infrastructure. Can anyone recommend any building > blocks, standards, etc.? > > > From: Mark Allen > > Sent: Saturday, October 26, 2013 12:13 AM > > http://advent.perldancer.org/2010/8-Writing REST web services with > Dancer > > > So, I just wanted to follow up on my progress and research. It was a bit > frustrating! > > Even though REST is not a requirement, I looked into Dancer and it was > okay but boy was it a lot of research to just get it to work under Apache > CGI with Plack::Runner. I also DO NOT like that it's function based. To > get there I had to write a session object which returns a lazy > loading DBIx::Array database handle . But, overall I did like the > dispatching (except I kept forgetting the sub is an anonymous sub to > the function "get" so the "get" function needs a semicolon at the end of > the anonymous sub block). > > Next I'm going to look a the JSON RPC packages on CPAN. I've attached my > code here as it really is throwaway at this time. I hope someone else can > learn from it. > If you are going to run Dancer, I'd suggest nginx. Apache is fine, but if you're passing the request off, it's better to have a lighter weight httpd (that also supports SSL) in front of it. For the PSGI server, I'd look at Starman (coupled potentially with Server::Starter for initialization). And it's really not unlike CGI::Application, just PSGI compliant and built for persistence. If you are not bound to a persistent process, then CGI::Application + CGI::Application::Dispatch is really nice. There are also tons of plugins, including Sessions and Authentication. I do like Dancer, but am not as familiar with it as CGI::Application. Whatever you use, however, I would recommend committing to "REST" rather than RPC. At the end of the day, your API will be much cleaner and you'll end up writing a lot less code on the backend to handle the requests. I would also consider a PSGI compliant framework since it really opens up your hosting and testing options. Brett > > --- > My Dancer CGI app,,, > > $ cat dancer.cgi > #!/usr/bin/env perl > use Plack::Runner; > Plack::Runner->run('/var/www/cgi-bin/dancer.pl'); > > > $ cat dancer.pl > #/usr/bin/perl > use strict; > use warnings; > use Dancer; > > set 'logger' => 'console'; > set 'show_errors' => 1; > set 'warnings' => 1; > > our $session; #cannot set session here at compile time > > sub session { #set session at run time > return $session||=STOP::Session->new(%{params()}); > } > > get '/' => sub { > content_type 'text/html'; > return '

Hello World!

'; > }; > > get '/env' => sub { > content_type 'text/plain'; > return join "\n", map {sprintf "%s => %s", $_ => $ENV{$_}} sort keys > %ENV; > }; > > get '/die' => sub { > die("Error: die\n"); > }; > > prefix '/:database/:dag'; > > #content_type 'application/json'; > content_type 'text/plain'; > > get '/params' => sub { > content_type 'text/plain'; > return join "\n", map {sprintf "%s => %s", $_ => param($_)} sort keys > %{params()}; > }; > > get '/device/:id' => sub { > return to_json { > device => scalar({}), > id => param("id"), > schematxt => &session->schematxt, > date => &session->sdb->sqlscalar("SELECT SYSDATE FROM > DUAL"), > }; > }; > > get '/devices' => sub { > return to_json { > devices => > scalar(&session->sdb->sqlarrayhash(&devices_sql(&session->schematxt), > &session->userid)), > }; > }; > > dance; > > > > --- > > 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 Tue Oct 29 08:30:30 2013 From: mrallen1 at yahoo.com (Mark Allen) Date: Tue, 29 Oct 2013 08:30:30 -0700 (PDT) Subject: [pm-h] JSON web services server side starting hints In-Reply-To: References: <1382719109.11352.YahooMailNeo@web120603.mail.ne1.yahoo.com> <1382760819.98255.YahooMailNeo@web164002.mail.gq1.yahoo.com> <1382998320.61964.YahooMailNeo@web120601.mail.ne1.yahoo.com> Message-ID: <1383060630.54526.YahooMailNeo@web164005.mail.gq1.yahoo.com> No need for CGI or Apache or anything else in the pipeline. starman your_dancer_app.pl https://metacpan.org/pod/Starman Most people front the Starman instance(s) with nginx to load balance, reverse proxy, terminate SSL and accept requests off port 80 or 443. Many use Server::Starter as Brett suggests below, too. I echo the suggestion to use REST semantics for any API because that decouples your clients from any particular implementation of an RPC protocol. ?You can use curl as a client if you want in a REST environment. ?I personally see that as a feature. On Tuesday, October 29, 2013 9:00 AM, B. Estrade wrote: On Mon, Oct 28, 2013 at 5:12 PM, Michael R. Davis wrote: > > I need to set up JSON web services (server side) as a simple interface to an existing database infrastructure.? Can anyone recommend any building blocks, standards, etc.? > >> From: Mark Allen >> Sent: Saturday, October 26, 2013 12:13 AM >> http://advent.perldancer.org/2010/8-Writing REST web services with Dancer > > >So, I just wanted to follow up on my progress and research.? It was a bit frustrating! >? >Even though REST is not a requirement, I looked into Dancer and it was okay but boy was it a lot of research to just get it to work under Apache CGI with Plack::Runner.? I also?DO NOT like that it's function based.? To get there I had to write a session object which?returns a lazy loading?DBIx::Array database handle?.? But, overall I did like the dispatching (except I kept forgetting the sub is an anonymous sub to the?function "get" so the "get" function needs a semicolon at the end of the anonymous?sub block). >? >Next I'm going to look a the JSON RPC packages on CPAN.? I've attached?my code here as it really is throwaway at this time.? I hope someone else can learn from it. > If you are going to run Dancer, I'd suggest nginx. Apache is fine, but if you're passing the request off, it's better to have a lighter weight httpd (that also supports SSL) in front of it. For the PSGI server, I'd look at Starman (coupled potentially with Server::Starter for initialization). And it's really not unlike CGI::Application, just PSGI compliant and built for persistence. If you are not bound to a persistent process, then CGI::Application + CGI::Application::Dispatch is really nice. There are also tons of plugins, including Sessions and Authentication. I do like Dancer, but am not as familiar with it as CGI::Application. Whatever you use, however, I would recommend committing to "REST" rather than RPC.? At the end of the day, your API will be much cleaner and you'll end up writing a lot less code on the backend to handle the requests. ?I would also consider a PSGI compliant framework since it really opens up your hosting and testing options. Brett ? ? >--- >My Dancer CGI app,,, >? >$ cat dancer.cgi >#!/usr/bin/env perl >use Plack::Runner; >Plack::Runner->run('/var/www/cgi-bin/dancer.pl'); > >? >$ cat dancer.pl >#/usr/bin/perl >use strict; >use warnings; >use Dancer; >? >set 'logger'?????? => 'console'; >set 'show_errors'? => 1; >set 'warnings'???? => 1; >? >our $session; #cannot set session here at compile time >? >sub session { #set session at?run time >? return $session||=STOP::Session->new(%{params()}); >} >? >get '/' => sub { >? content_type 'text/html'; >? return '

Hello World!

'; >}; >? >get '/env' => sub { >? content_type 'text/plain'; >? return join "\n", map {sprintf "%s => %s", $_ => $ENV{$_}} sort keys %ENV; >}; >? >get '/die' => sub { >? die("Error: die\n"); >}; >? >prefix '/:database/:dag'; > >#content_type 'application/json'; >content_type 'text/plain'; >? >get '/params' => sub { >? content_type 'text/plain'; >? return join "\n", map {sprintf "%s => %s", $_ => param($_)} sort keys %{params()}; >}; >? >get '/device/:id' => sub { >? return to_json { >??????????? device??? => scalar({}), >??????????? id??????? => param("id"), >??????????? schematxt => &session->schematxt, >??????????? date????? => &session->sdb->sqlscalar("SELECT SYSDATE FROM DUAL"), >???????? }; >}; >? >get '/devices' => sub { >? return to_json { >?????????? devices => scalar(&session->sdb->sqlarrayhash(&devices_sql(&session->schematxt), &session->userid)), >???????? }; >}; >? >dance; > >? >? >--- >? >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/ -------------- next part -------------- An HTML attachment was scrubbed... URL: From estrabd at gmail.com Tue Oct 29 08:45:02 2013 From: estrabd at gmail.com (B. Estrade) Date: Tue, 29 Oct 2013 10:45:02 -0500 Subject: [pm-h] JSON web services server side starting hints In-Reply-To: <1383060630.54526.YahooMailNeo@web164005.mail.gq1.yahoo.com> References: <1382719109.11352.YahooMailNeo@web120603.mail.ne1.yahoo.com> <1382760819.98255.YahooMailNeo@web164002.mail.gq1.yahoo.com> <1382998320.61964.YahooMailNeo@web120601.mail.ne1.yahoo.com> <1383060630.54526.YahooMailNeo@web164005.mail.gq1.yahoo.com> Message-ID: If you need SSL, for example, you'll need to put Apache or Nginx in front of Starman. Traditional web servers still have a place in the NWO. Brett On Tue, Oct 29, 2013 at 10:30 AM, Mark Allen wrote: > No need for CGI or Apache or anything else in the pipeline. > > starman your_dancer_app.pl > > https://metacpan.org/pod/Starman > > Most people front the Starman instance(s) with nginx to load balance, > reverse proxy, terminate SSL and accept requests off port 80 or 443. Many > use Server::Starter as Brett suggests below, too. > > I echo the suggestion to use REST semantics for any API because that > decouples your clients from any particular implementation of an RPC > protocol. You can use curl as a client if you want in a REST environment. > I personally see that as a feature. > > > > On Tuesday, October 29, 2013 9:00 AM, B. Estrade > wrote: > On Mon, Oct 28, 2013 at 5:12 PM, Michael R. Davis wrote: > > > > I need to set up JSON web services (server side) as a simple interface > to an existing database infrastructure. Can anyone recommend any building > blocks, standards, etc.? > > > From: Mark Allen > > Sent: Saturday, October 26, 2013 12:13 AM > > http://advent.perldancer.org/2010/8-Writing REST web services with > Dancer > > > So, I just wanted to follow up on my progress and research. It was a bit > frustrating! > > Even though REST is not a requirement, I looked into Dancer and it was > okay but boy was it a lot of research to just get it to work under Apache > CGI with Plack::Runner. I also DO NOT like that it's function based. To > get there I had to write a session object which returns a lazy > loading DBIx::Array database handle . But, overall I did like the > dispatching (except I kept forgetting the sub is an anonymous sub to > the function "get" so the "get" function needs a semicolon at the end of > the anonymous sub block). > > Next I'm going to look a the JSON RPC packages on CPAN. I've attached my > code here as it really is throwaway at this time. I hope someone else can > learn from it. > > > > If you are going to run Dancer, I'd suggest nginx. Apache is fine, but if > you're passing the request off, it's better to have a lighter weight httpd > (that also supports SSL) in front of it. For the PSGI server, I'd look at > Starman (coupled potentially with Server::Starter for initialization). And > it's really not unlike CGI::Application, just PSGI compliant and built for > persistence. > > If you are not bound to a persistent process, then CGI::Application + > CGI::Application::Dispatch is really nice. There are also tons of plugins, > including Sessions and Authentication. > > I do like Dancer, but am not as familiar with it as CGI::Application. > Whatever you use, however, I would recommend committing to "REST" rather > than RPC. > > At the end of the day, your API will be much cleaner and you'll end up > writing a lot less code on the backend to handle the requests. I would > also consider a PSGI compliant framework since it really opens up your > hosting and testing options. > > Brett > > > > --- > My Dancer CGI app,,, > > $ cat dancer.cgi > #!/usr/bin/env perl > use Plack::Runner; > Plack::Runner->run('/var/www/cgi-bin/dancer.pl'); > > > $ cat dancer.pl > #/usr/bin/perl > use strict; > use warnings; > use Dancer; > > set 'logger' => 'console'; > set 'show_errors' => 1; > set 'warnings' => 1; > > our $session; #cannot set session here at compile time > > sub session { #set session at run time > return $session||=STOP::Session->new(%{params()}); > } > > get '/' => sub { > content_type 'text/html'; > return '

Hello World!

'; > }; > > get '/env' => sub { > content_type 'text/plain'; > return join "\n", map {sprintf "%s => %s", $_ => $ENV{$_}} sort keys > %ENV; > }; > > get '/die' => sub { > die("Error: die\n"); > }; > > prefix '/:database/:dag'; > > #content_type 'application/json'; > content_type 'text/plain'; > > get '/params' => sub { > content_type 'text/plain'; > return join "\n", map {sprintf "%s => %s", $_ => param($_)} sort keys > %{params()}; > }; > > get '/device/:id' => sub { > return to_json { > device => scalar({}), > id => param("id"), > schematxt => &session->schematxt, > date => &session->sdb->sqlscalar("SELECT SYSDATE FROM > DUAL"), > }; > }; > > get '/devices' => sub { > return to_json { > devices => > scalar(&session->sdb->sqlarrayhash(&devices_sql(&session->schematxt), > &session->userid)), > }; > }; > > dance; > > > > --- > > 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/ > > > _______________________________________________ > 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 will.willis at gmail.com Tue Oct 29 21:11:57 2013 From: will.willis at gmail.com (Will Willis) Date: Tue, 29 Oct 2013 23:11:57 -0500 Subject: [pm-h] Time for the first "Houston.pm Beginners/Novices Hangout" In-Reply-To: <20131026185010.6059e32b@cygnus> References: <20131026121937.53f41670@cygnus> <526C3415.8030002@att.net> <20131026185010.6059e32b@cygnus> Message-ID: Are there any MovableType Theme/Layout experts among us? If so, I'd love to pick your brain over a hangout on ways I can improve my personal site, and maybe understand what features I could better utilize. Thanks. On Sat, Oct 26, 2013 at 6:50 PM, G. Wade Johnson wrote: > On Sat, 26 Oct 2013 16:28:53 -0500 > Mike Flannigan wrote: > > > > > The day doesn't matter to me. > > I vote for 6:30 - 7:00 PM start time. > > I vote for 1.5 hrs max. > > Thanks, Mike. > > Anyone else? > > G. Wade > > > > On 10/26/2013 12:19 PM, G. Wade Johnson wrote: > > > For those people who are interested in the Introductory > > > hangout/office hours/mentoring/help session thing, I'm trying to > > > come up with a good time to try the first one. > > > > > > The ideas I'm considering: > > > > > > Length: > > > 1. 1 hour > > > 2. 1.5 hours > > > 3. 2 hours > > > > > > Times: > > > > > > 1. Lunch hour-ish (maybe 11:30-1:30) > > > - Advantages > > > a. Help for work projects easier > > > b. Doesn't impact people's evenings > > > - Disadvantages > > > a. Help for home projects is weirder > > > b. Some companies might object to using work time. > > > c. May not want personal Google account on work computer > > > > > > 2. Late afternoon/Early evening (maybe 5:00-7:00) > > > - Advantages > > > a. Partial overlap of work time, for work projects > > > b. Partial overlap of home time, for home projects > > > c. Small impact on people's evenings > > > d. Small impact on work time > > > - Disadvantages > > > a. Overlaps many peoples' commutes > > > b. Some companies might object to using work time. > > > c. May not want personal Google account on work computer > > > > > > 3. Evening (maybe 7:00-9:00) > > > - Advantages > > > a. Help for home projects is easier > > > b. Minimal impact on work time > > > - Disadvantages > > > a. Significant impact on peoples' evening time > > > b. Potential issues getting help on work projects > > > > > > Days: > > > > > > I'm thinking of picking a day next week or the one after to try > > > this. Some input before I choose gives you a chance to help decide > > > this. > > > > > > At the moment, I'm mostly considering weekdays. If anyone would > > > prefer to do a weekend, speak up. > > > > > > Thanks, > > > G. Wade > > > > _______________________________________________ > > Houston mailing list > > Houston at pm.org > > http://mail.pm.org/mailman/listinfo/houston > > Website: http://houston.pm.org/ > > > -- > I know I'm on the right track when by deleting code I'm adding > functionality. -- John Carter > _______________________________________________ > 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 toddr at cpanel.net Tue Oct 29 21:29:32 2013 From: toddr at cpanel.net (Todd Rinaldo) Date: Tue, 29 Oct 2013 23:29:32 -0500 Subject: [pm-h] Google Hangouts for Introductory Perl Help In-Reply-To: References: <20131021220435.208abea4@cygnus> <38917.216.230.236.57.1382552550.squirrel@www.oplink.net> <58837.216.230.236.62.1382790759.squirrel@www.oplink.net> Message-ID: Yeah, I gotta agree. I?m aware they?re killing XMPP. What I don?t follow is what that has to do with using hangouts as the easiest option? Todd On Oct 26, 2013, at 8:18 AM, B. Estrade wrote: > Seriously? It's never ending. Can we just get something going and not always find a reason to distract ourselves? Wade has kick off something good, let's just go with whatever is easiest. > > With all due respect, > Brett > > > On Sat, Oct 26, 2013 at 7:32 AM, wrote: > I have spent several hours searching and reading regarding Google > Hangouts. It appears that Google is taking the system proprietary next > month, moving away from XMPP, and making it difficult or impossible to go > "off-record". So Google Hangouts now is about as appealing to me as is > Skype under the management of micro$oft. > > There appears a reasonable alternative to Hangouts, which is open-source > and is being developed for the university environment -- Big Blue Button. > I think this should be investigated. > > http://bigbluebutton.org/ > From rlharris at oplink.net Wed Oct 30 00:08:38 2013 From: rlharris at oplink.net (rlharris at oplink.net) Date: Wed, 30 Oct 2013 02:08:38 -0500 (CDT) Subject: [pm-h] Google Hangouts for Introductory Perl Help In-Reply-To: References: <20131021220435.208abea4@cygnus> <38917.216.230.236.57.1382552550.squirrel@www.oplink.net> <58837.216.230.236.62.1382790759.squirrel@www.oplink.net> Message-ID: <39565.216.230.236.80.1383116918.squirrel@www.oplink.net> > Yeah, I gotta agree. I?m aware they?re killing XMPP. What I don?t follow > is what that has to do with using hangouts as the easiest option? > > Todd I question whether Google Hangouts indeed is the easiest option. Here are links to a free conferencing system which is browser-based and allows up to 200 participants; in order to join, all a participant needs to do is type the URL into his browser. http://www.anymeeting.com https://www.anymeeting.com/landing/buy/ChoosePlan.aspx The system is free because advertisements are displayed. But if you wish to avoid advertisements, then a paid service is available. RLH From estrabd at gmail.com Wed Oct 30 06:49:10 2013 From: estrabd at gmail.com (B. Estrade) Date: Wed, 30 Oct 2013 08:49:10 -0500 Subject: [pm-h] CPAN adoption list Message-ID: I found this, if you're interested in helping out and potentially adopting. http://neilb.org/adoption/index.html Brett -------------- next part -------------- An HTML attachment was scrubbed... URL: From mrdvt92 at yahoo.com Wed Oct 30 07:18:55 2013 From: mrdvt92 at yahoo.com (Michael R. Davis) Date: Wed, 30 Oct 2013 07:18:55 -0700 (PDT) Subject: [pm-h] CPAN adoption list In-Reply-To: References: Message-ID: <1383142735.40023.YahooMailNeo@web120606.mail.ne1.yahoo.com> > From: B. Estrade >?Sent: Wednesday, October 30, 2013 9:49 AM > > I found this, if you're interested in helping out and potentially adopting. > http://neilb.org/adoption/index.html I noticed that there is a flag for "Up for Adoption".? How do I flag?the packages that I no longer use as "Up for Adoption".? I did not see anywhere in PAUSE to do that.? I guess the hard part is knowing if anyone is really using your packages, If I knew that they were worthless then, I'd just delete them. Most of the packages up for adoption most likely need to be re-written as wrappers of supported packages.? Like File-Slurp?should most likely be re-released as wrapper for Path::Class::File->slurp or any of the other 20 slurp packages. However, I? tried to adopt HTML-CalendarMonthSimple but never did get it done officially. So, my release is flagged as "** UNAUTHORIZED RELEASE **" Mike??? From mrdvt92 at yahoo.com Wed Oct 30 07:38:48 2013 From: mrdvt92 at yahoo.com (Michael R. Davis) Date: Wed, 30 Oct 2013 07:38:48 -0700 (PDT) Subject: [pm-h] JSON web services server side starting hints In-Reply-To: References: <1382719109.11352.YahooMailNeo@web120603.mail.ne1.yahoo.com> <1382760819.98255.YahooMailNeo@web164002.mail.gq1.yahoo.com> <1382998320.61964.YahooMailNeo@web120601.mail.ne1.yahoo.com> Message-ID: <1383143928.32581.YahooMailNeo@web120604.mail.ne1.yahoo.com> > If you are going to run Dancer, I'd suggest nginx. Apache is fine, but if > you're passing the request off, it's better to have a lighter weight httpd > (that also supports SSL) in front of it. For the PSGI server, I'd look at > Starman (coupled potentially with Server::Starter for initialization). > And it's really not unlike CGI::Application, just PSGI compliant and > built for persistence. I guess since we already have apache+cgi+authnz tested and in production against our system. I was hoping to simply add a simple CGI script add get all of that for free.? If I go too far out of the box, it would also?require other teams to be involved. But, I totally get that PSGI is the future for Perl web applications but unfortunately we are only about 20% Perl for our "Production" facing systems. .Net and C++ being the?lion's share. On the flip side, the corporate facing systems are about 70% Perl. Mike mrdvt92 From gwadej at anomaly.org Wed Oct 30 08:01:04 2013 From: gwadej at anomaly.org (G. Wade Johnson) Date: Wed, 30 Oct 2013 10:01:04 -0500 Subject: [pm-h] CPAN adoption list In-Reply-To: <1383142735.40023.YahooMailNeo@web120606.mail.ne1.yahoo.com> References: <1383142735.40023.YahooMailNeo@web120606.mail.ne1.yahoo.com> Message-ID: <20131030100104.6122b88c@cygnus> On Wed, 30 Oct 2013 07:18:55 -0700 (PDT) "Michael R. Davis" wrote: > > From: B. Estrade > >?Sent: Wednesday, October 30, 2013 9:49 AM > > > > I found this, if you're interested in helping out and potentially > > adopting. http://neilb.org/adoption/index.html > > I noticed that there is a flag for "Up for Adoption".? How do I > flag?the packages that I no longer use as "Up for Adoption".? I did > not see anywhere in PAUSE to do that.? I guess the hard part is > knowing if anyone is really using your packages, If I knew that they > were worthless then, I'd just delete them. If you want someone to join as co-maintainer but keep ownership or you want to have some say in whether or not someone takes over, you add the special user ADOPTME as a co-maintainer of the module. If you want someone to take over and are willing to have the PAUSE admins turn it over without you, add the special user HANDOFF as a co-maintainer of the module. G. Wade > Most of the packages up for adoption most likely need to be > re-written as wrappers of supported packages.? Like File-Slurp?should > most likely be re-released as wrapper for Path::Class::File->slurp or > any of the other 20 slurp packages. > > However, I? tried to adopt HTML-CalendarMonthSimple but never did get > it done officially. So, my release is flagged as "** UNAUTHORIZED > RELEASE **" > > Mike??? > _______________________________________________ > Houston mailing list > Houston at pm.org > http://mail.pm.org/mailman/listinfo/houston > Website: http://houston.pm.org/ -- The closer you get to the truth, the messier your sentence gets. -- Paul Graham From gwadej at anomaly.org Wed Oct 30 16:05:35 2013 From: gwadej at anomaly.org (G. Wade Johnson) Date: Wed, 30 Oct 2013 18:05:35 -0500 Subject: [pm-h] Houston.pm Beginners/Novices Hangout Message-ID: <20131030180535.7af12c73@cygnus> Based on the input I've gotten so far, I'm going to do the first of these hangouts on Monday, November 4. I'll start at 6:30pm and go for 1-2 hours. I'll make the announcement through the Houston.pm page, so it should be pretty easy to find. I hope to see some of you there. G. Wade -- Java is a DSL for taking large XML files and converting them to stack traces -- Bulat Shakirzyanov From mikeflan at att.net Wed Oct 30 18:26:52 2013 From: mikeflan at att.net (Mike Flannigan) Date: Wed, 30 Oct 2013 20:26:52 -0500 Subject: [pm-h] Houston.pm Beginners/Novices Hangout In-Reply-To: <20131030180535.7af12c73@cygnus> References: <20131030180535.7af12c73@cygnus> Message-ID: <5271B1DC.8060704@att.net> Sounds good. I plan to attend. Mike On 10/30/2013 6:05 PM, G. Wade Johnson wrote: > Based on the input I've gotten so far, I'm going to do the first of > these hangouts on Monday, November 4. I'll start at 6:30pm and go for > 1-2 hours. > > I'll make the announcement through the Houston.pm page, so it should be > pretty easy to find. > > I hope to see some of you there. > G. Wade