From gwadej at anomaly.org Sun Apr 6 15:48:26 2014 From: gwadej at anomaly.org (G. Wade Johnson) Date: Sun, 6 Apr 2014 17:48:26 -0500 Subject: [pm-h] Debugging Mindset Message-ID: <20140406174826.507a9da5@cygnus> I was listening to the latest episode of the Ruby Rogues podcast and they had a pretty good discussion of debugging. http://rubyrogues.com/150-rr-the-debugging-mindset-with-danielle-sucher/ It is somewhat Ruby-centric in spots, but most of it is general enough to be useful to any programmer. The podcast was based on danielle's talk: https://speakerdeck.com/daniellesucher/debugging-the-science-of-deduction G. Wade -- DON'T PANIC! I'm a trained professional, and far more qualified to panic in this situation than you are. From boftx at hotmail.com Sun Apr 6 19:57:42 2014 From: boftx at hotmail.com (Jim Bacon) Date: Sun, 6 Apr 2014 21:57:42 -0500 Subject: [pm-h] Debugging Mindset In-Reply-To: <20140406174826.507a9da5@cygnus> References: <20140406174826.507a9da5@cygnus> Message-ID: I always thought the best way to get into the ?debugging mindset? was to take two Advil and three shots of Scotch. Jim On Apr 6, 2014, at 5:48 PM, G. Wade Johnson wrote: > I was listening to the latest episode of the Ruby Rogues podcast and > they had a pretty good discussion of debugging. > > http://rubyrogues.com/150-rr-the-debugging-mindset-with-danielle-sucher/ > > It is somewhat Ruby-centric in spots, but most of it is general enough > to be useful to any programmer. The podcast was based on danielle's > talk: > https://speakerdeck.com/daniellesucher/debugging-the-science-of-deduction > > G. Wade > -- > DON'T PANIC! I'm a trained professional, and far more qualified to > panic in this situation than you are. > _______________________________________________ > Houston mailing list > Houston at pm.org > http://mail.pm.org/mailman/listinfo/houston > Website: http://houston.pm.org/ From estrabd at gmail.com Mon Apr 7 05:57:39 2014 From: estrabd at gmail.com (B. Estrade) Date: Mon, 7 Apr 2014 07:57:39 -0500 Subject: [pm-h] Debugging Mindset In-Reply-To: References: <20140406174826.507a9da5@cygnus> Message-ID: On Sun, Apr 6, 2014 at 9:57 PM, Jim Bacon wrote: > I always thought the best way to get into the "debugging mindset" was to take two Advil and three shots of Scotch. > > Jim Sounds awesome for your liver. Brett > > On Apr 6, 2014, at 5:48 PM, G. Wade Johnson wrote: > >> I was listening to the latest episode of the Ruby Rogues podcast and >> they had a pretty good discussion of debugging. >> >> http://rubyrogues.com/150-rr-the-debugging-mindset-with-danielle-sucher/ >> >> It is somewhat Ruby-centric in spots, but most of it is general enough >> to be useful to any programmer. The podcast was based on danielle's >> talk: >> https://speakerdeck.com/daniellesucher/debugging-the-science-of-deduction >> >> G. Wade >> -- >> DON'T PANIC! I'm a trained professional, and far more qualified to >> panic in this situation than you are. >> _______________________________________________ >> Houston mailing list >> Houston at pm.org >> http://mail.pm.org/mailman/listinfo/houston >> Website: http://houston.pm.org/ > > _______________________________________________ > Houston mailing list > Houston at pm.org > http://mail.pm.org/mailman/listinfo/houston > Website: http://houston.pm.org/ From x at hostgator.com Thu Apr 10 15:55:53 2014 From: x at hostgator.com (Xaviar) Date: Thu, 10 Apr 2014 17:55:53 -0500 (CDT) Subject: [pm-h] Parking In-Reply-To: <827064194.21859.1397170338610.JavaMail.root@hostgator.com> Message-ID: <1475708109.23285.1397170553012.JavaMail.root@hostgator.com> Hey All, I do apologize about the late notice of this. Apparently, someone (being as inconsiderate as people can be) scheduled another conference type at our office as well that collides with the PM meeting. While this won't interrupt our meeting space (and pizza/soda is already on the way!) -- It may require a 5 minute walk for parking. Parking in the front, on the street, and in our overflow lot (Little Mexico, shown in the image) should cover everyone. I do apologize if this inconveniences anyone -- and it really shouldn't. But -- better safe than sorry! The area labeled Night/GY parking is available on the building or grass side for us after 6PM, the street parking, or the parking in little mexico. Don't change parking across the road in the parking lots nearby, our neighbors aren't very friendly about sharing their parking spots unfortunately. Sorry for the late heads up! (and for anyone who hasn't been here, HG is the building at the top left in the image). Cheers, Xaviar Steavenson Director of Software Development -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: EIG-HG_Signature_v03b-01.jpg Type: image/jpeg Size: 40077 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: HGParking.png Type: image/png Size: 509339 bytes Desc: not available URL: From gwadej at anomaly.org Sun Apr 13 16:59:07 2014 From: gwadej at anomaly.org (G. Wade Johnson) Date: Sun, 13 Apr 2014 18:59:07 -0500 Subject: [pm-h] Fw: Communities & UG News: Get Your Free Books + More from O'Reilly Message-ID: <20140413185907.3461313b@cygnus> Begin forwarded message: Date: Sun, 13 Apr 2014 16:01:08 -0700 From: "Marsee Henon & Jon Johns" To: gwadej at anomaly.org Subject: Communities & UG News: Get Your Free Books + More from O'Reilly View this message as HTML http://post.oreilly.com/rd/9z1z6f1pe2b5ee8fpv504t104caul95og134p3un760 Send this to a friend http://post.oreilly.com/f2f/9z1zqo978uhvdbp8bsf4d6th8dbfsgciimbirevd9u8 Hello, We'd like you to share with your communities the discount codes for ebooks and videos; your community members can enjoy 50% off ebooks and videos with code DSUG50. This includes the videos and ebooks we're highlighting below. Cheers, Marsee Henon and Jon Johns P.S. Going to ChefConf? We are looking for a local user groups to give our Chef books to after the event Thursday. Come by the O'Reilly Booth and say hi to Jon @jonjohns65 and Sonia. http://post.oreilly.com/rd/9z1z77udg3e89hj3ita5p6qh1rieos74h4horp49vk8 Introduction to Python with Jessica McKellar http://post.oreilly.com/rd/9z1zeujna77du96b2ojggto2lll4svsnb2tpqjb9tdo Jessica McKellar is doing an introduction to Python video series for O'Reilly. This class is for first time programmers, there are no prerequisite, Jessica will walk through setting up your environments and learn and practice the python programming language through a series of fun interactive lectures and exercises. By the end of this course you will have hands on exposure to many core programming concepts, you'll be able to write useful Python programs, and you'll have an excellent roadmap to continue to learn and practice programming in Python. - Don't miss an upload! Subscribe! http://post.oreilly.com/rd/9z1z369fc2qnnll9nv8pvmuelks7d33klj0mqchgq78 - Stay Connected to O'Reilly Media. Visit http://post.oreilly.com/rd/9z1z4ue8gitgjt99eb10k32glhuidu0vq0t66b6mvig http://post.oreilly.com/rd/9z1zusd2pbu8cfdvt3jm1jo9e14bne03ldrc28ac88g Available for Review We're looking for reviewers for the following books & videos. Consider posting your reviews on Amazon, Slashdot, oreilly.com, goodreads.com and/or your blog. Learning Chef http://post.oreilly.com/rd/9z1z3lo5j5snjk282mhl45ubjte0o9ar4r1efrreclg Building Web Apps with WordPress http://post.oreilly.com/rd/9z1zc9o6slulr7cglijdohnbqel8b06apsrhm43qsug Mastering Bitcoin http://post.oreilly.com/rd/9z1zs6do6g5uecrbtcde8fo50a4kl28ucrjd4v0t10o 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 Java 8 Pocket Guide http://post.oreilly.com/rd/9z1zdp9u9jt59iq977ih322c5rgcrskn5ekleua30so Bioinformatics Data Skills http://post.oreilly.com/rd/9z1z6e7en2gl14n1jp72dvl9cfa01ic9dkk7ane9m00 Client-Server Web Apps with JavaScript and Java http://post.oreilly.com/rd/9z1z2ebombq6uc4u2da4gjnnc1sqreh1vghtkv296fo Introduction to Python http://post.oreilly.com/rd/9z1zt5kmggnfp1ev3ins8mq856bmtpefn29vjv19bg0 Lean UX Workshop http://post.oreilly.com/rd/9z1ziu8i36p8dacrpmcrq5j4tbondr8k7d6msqjme5o Fluent Conference 2014 Complete Video Compilation http://post.oreilly.com/rd/9z1zvg97sesldrv5gv23e9h23adq9hoka1djvkqnr6o We're always happy to offer your and your community access to our videos for review. We have hours and hours of free content on our YouTube channel, but many of our video compilations and in-depth training videos are only available for purchase. If you or your community members would like to watch and review any of our videos, please send us a request via usergroups at oreilly.com http://post.oreilly.com/rd/9z1zng11sbp8b3lsg8ejrdtajb021k64vf04mar8p28 Get this free Velocity Report: DevOps Hiring Your organization is looking to hire DevOps practitioners, but the usual methods aren?t working. How do you unearth these DevOps creatures? Think like one. In this Web Ops & Performance report, Dave Zwieback describes a successful model for finding, hiring, and retaining talent based on the DevOps philosophy of Culture, Automation, Measurement, and Sharing. http://post.oreilly.com/rd/9z1zbl9cciinnt42kn0hb5nfe4hoonpvhdn8bg9orp8 Kicking yourself for not submitting to Velocity Conference 2014? You're in luck! Call for Proposals for Ignite is open (Until May 16) http://post.oreilly.com/rd/9z1zidhtqiuffspjov8hve4t7p5bbgtaqtr34uelk2o Stories we're following at O'Reilly Joi Ito: ?Deploy or Die? - Why everyone must understand manufacturing, and why the most creative companies design hardware and software together. http://post.oreilly.com/rd/9z1zjb2qqdve67o6mea8f0c5uo8s8m788ls36mf7rqo Understanding the Now: The Role of Data in Adaptive Organizations - by @ChrisDiehl http://post.oreilly.com/rd/9z1zr8kkkn2tmpsarm12d079j2c90m0oegum1i3b8u0 Focusing attention on the present lets organizations pursue existing opportunities as opposed to projected ones http://post.oreilly.com/rd/9z1zno30aedjdislt4igdl9bjq1egect76b31e100u0 Horseshoes, hand grenades, and building mobile applications The difference between location and proximity: knowing you?re in the restaurant vs knowing what table you?re sitting at. http://post.oreilly.com/rd/9z1zoenqdnd2us8tgfmbt1nf2ufqppr6u2mer7deuog 3 topologies driving IoT networking standards - The importance of network architecture on the Internet of Things http://post.oreilly.com/rd/9z1zvaouk86f1jjovt8h7ccle0olrrnqqpjt6hc44mo Application programming for iBeacons - iBeacons don't communicate directly with end users ? applications are required for translation and action execution. http://post.oreilly.com/rd/9z1zall931jkf75n1092m2f9vg30ouqu1q4ds4ke1k0 OSCON 2014 Registration Is Now Open (Portland, OR July 20-24) First 500 to register can choose a new pair of Converse sneakers (seriously!) The O'Reilly Open Source Convention is everything open source?the full stack, with all of the languages, tools, frameworks, and best practices that you use in your work every day. It's where the world's open source users, contributors, vendors, and creators convene annually to talk shop and learn. It's everything you need to know about open source to keep you ahead of the curve. If you are one of the first 500 to register with code CONVERSE, not only will you be attending the 5-day festival of geekery that is OSCON, but you can also choose a fun new pair of sneakers to debut there. Some restrictions apply. http://post.oreilly.com/rd/9z1zgu4hpa3cdjbef7s3tg9n2r25ocrnrc1b1se3c80 Apply to exhibit in the OSCON Nonprofit Pavilion (Deadline April 22) We are once again hosting a Nonprofit Pavilion at OSCON as part of the Expo Hall. If you're a nonprofit organization that is using open source technologies to support your cause, mission, or community goals, we invite you to apply for a spot in the Pavilion to showcase your organization. Deadline to apply is April 22. http://post.oreilly.com/rd/9z1zqufnqh5ob39f0559j0f0go76qks08abmr2960jo Save 20% at The O'Reilly Solid Conference (May 21-22, San Francisco) Something big is happening at the intersection of software and hardware. Solid focuses on the programmable world, where "things" are driven by software and made smarter by network connections. Don't miss featured speakers Renee DiResta from OATV, Tim O'Reilly, Rob Coneybeer from Shasta Ventures, and Beth Comstock from GE. Early pricing ends April 17 save 20% with discount code USRG20 and share the banner on your site. Solid Conference Banners http://post.oreilly.com/rd/9z1zbmi3ga3sc7c5mb1i6l4uamnd0t37l5b4jaago48 Register for Solid: http://post.oreilly.com/rd/9z1z7jatsoa03ug3qafvk8pclfqe3t0ji7u32mdk338 Get your discounts for DevNation and RedHat Summit (San Francisco, April 14-17) DevNation, an open source conference by and for developers, and Red Hat Summit, an enterprise-oriented annual conference by +Red Hat will run in parallel in SF April 14-17. Here are some discount codes you can use to register. DNSTUDENT - $100 rate for students for DevNation (proof of academic enrollment will be requested at registration) DN50PEROFF - $298 rate for DevNation RHSOC14 - $995 rate for Red Hat Summit http://post.oreilly.com/rd/9z1zh08ft2qfrgbd9q43h4gbo205ipi2s1qece4s4c8 http://post.oreilly.com/rd/9z1zp02k617s6c1fjhag636lbf9o6oq8coo7dkqcl1o O?Reilly Author Jez Humble (Lean UX) at GOTO Chicago 2014 (Chicago, IL, May 20?21) O'Reilly is proud to be a sponsor of GOTO Chicago 2014. It is a 4 day International Software Development event, with 2 conference days, followed by two workshop days. Location: Conference: Drake Hotel // Workshops: Gleacher Center. Save $50 on registration enter promotion code: oreilly to receive the discount. http://post.oreilly.com/rd/9z1zi8u9485gjeg9eac3p4kj61j0rj8l663le32njho http://post.oreilly.com/rd/9z1zkcelveih53jo61safvkih1im853t8q70n19jj5g Get registered for Drupal Con (Austin, TX, Jun 2-6) DrupalCon Austin will bring together thousands from around the world to drain the city of its coffee and fill the Austin convention center with energy, passion and deep Drupal expertise. Developers, site builders, UX/designers, IT professionals, business owners, CMS evaluators, job seekers and employers will descend upon Austin June 2-6, 2014. A featured topic will be Drupal 8. This next version of Drupal contains more than 200 improvements spanning user experience, mobile capabilities and web services. http://post.oreilly.com/rd/9z1zq9mlqpn0s7r0bak71691hbqe8q62svo7tc164mo Save 20% at GIANT Conference (Charleston, SC, June 11-14) Giant Conference brings together world-class speakers and talented professionals to talk about creating rad experiences and how to make those experiences even radder. It's coming to Charleston, South Carolina June 11-14, 2014 for four days of sessions about user experience, visual design, information architecture, branding, music, e-commerce, retail and more. Get 20% off registration at GIANT Conference with code "GIANTSPONS" http://post.oreilly.com/rd/9z1ze4stvnjb6k3m2lbphgjrmrtgrd3gsufbg0cjl20 Accumulo Summit 2014 (Washington, D.C./Baltimore, MD, June 12) Accumulo Summit 2014 is the first annual edition of the premier event for the Apache Accumulo community. This event will bring together key industry leaders for a day of interactive discourse. This event aims to foster and strengthen existing relationships within the Accumulo family and spark new partnerships. Join us as we start a tradition with what will be the most impressive collection of Accumulo data scientists, developers, business managers, users and enthusiasts gathered to date. The Summit will become a key element to the evolution and growth of Accumulo. http://post.oreilly.com/rd/9z1z7tlr58a1s4fsfftcpvc9t1vn4ljoaqkicrch8tg Get the Early Release version of ?Accumulo - Application Development, Table Design, and Best Practices? http://post.oreilly.com/rd/9z1zqbastrhbdf0cbpviujd8qcb7mtfkpme2a7b1oug FREE webcast ?Understanding Human Motivation in the Age of Connected Machines? Thursday, May 1, 2014 - 10AM PT Presented by: Michael DelGaudio As more of the physical world is becoming connected, new and lucrative business models are forming around industrial applications that manage large-scale infrastructure in fields like energy production and transportation. Designers helping to shape the connected world, need to be mindful of human motivation and raise questions about connectivity's impact on the individual, the community, and how we live. In this webcast talk presented by Michael Delgaudio, we'll focus on why the human role is crucial in the Age of Connected Machines. Actionable methodologies for approaching large scale connected design problems are discussed." http://post.oreilly.com/rd/9z1zjp4hh1atv4f6gsvf66sednh3sk2a1ocsme1cbao 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: Solid Conference Banners http://post.oreilly.com/rd/9z1zspad46rivgcvq49ugovdq7ivmtfq9qjk7h71ovo Velocity Conference Banners http://post.oreilly.com/rd/9z1zs1srjohnerupb8mgskhq4ppo48mgdgq3dtq1h18 NEW! UG Discount Banners http://post.oreilly.com/rd/9z1zcb2u1dbfhqp00svm0b9goar0qeaoi22e5qdf5bo Buy 1 Ebook, Get 1 Free with your user group discount code: DSUG50 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 ================================== -- Virtual is when it's not but it looks like it is and transparent is when it is but it looks like it isn't. -- Rick Hoselton -------------- next part -------------- An HTML attachment was scrubbed... URL: From gwadej at anomaly.org Sun Apr 13 19:21:56 2014 From: gwadej at anomaly.org (G. Wade Johnson) Date: Sun, 13 Apr 2014 21:21:56 -0500 Subject: [pm-h] Writeup for April meeting Message-ID: <20140413212156.38861ea9@cygnus> There is now a writeup on the website for the April presentation. http://houston.pm.org/talks/2014talks/1404Talk/index.html G. Wade -- Many people would sooner die than think. In fact, they do. -- Bertrand Russell From todd at rinaldo.us Sun Apr 13 22:25:54 2014 From: todd at rinaldo.us (Todd Rinaldo) Date: Mon, 14 Apr 2014 00:25:54 -0500 Subject: [pm-h] Writeup for April meeting In-Reply-To: <20140413212156.38861ea9@cygnus> References: <20140413212156.38861ea9@cygnus> Message-ID: Here are the blog articles by chromatic I was talking about at the meeting: http://www.modernperlbooks.com/cgi-bin/mt/mt-search.cgi?blog_id=1&tag=roles&limit=20 This video at YAPC Austin also looks like it's worth a watch: https://www.youtube.com/watch?v=cjoWu4eq1Tw On Sun, Apr 13, 2014 at 9:21 PM, G. Wade Johnson wrote: > There is now a writeup on the website for the April presentation. > > http://houston.pm.org/talks/2014talks/1404Talk/index.html > > G. Wade > -- > Many people would sooner die than think. In fact, they do. > -- Bertrand Russell > _______________________________________________ > Houston mailing list > Houston at pm.org > http://mail.pm.org/mailman/listinfo/houston > Website: http://houston.pm.org/ -- Todd Rinaldo todd at rinaldo.us From mrallen1 at yahoo.com Mon Apr 14 06:24:25 2014 From: mrallen1 at yahoo.com (Mark Allen) Date: Mon, 14 Apr 2014 06:24:25 -0700 (PDT) Subject: [pm-h] Writeup for April meeting In-Reply-To: References: <20140413212156.38861ea9@cygnus> Message-ID: <1397481865.6698.YahooMailNeo@web142406.mail.bf1.yahoo.com> Also, generic plug - my upcoming YAPC talk in June is about using Roles effectively for programming web services clients. ? http://www.yapcna.org/yn2014/talk/5375 View a talk Writing Web Service Clients with Roles By Mark Allen (?mallen?) from Houston.pm Date: Not scheduled yet. Duration: 50 minutes Target audience: Intermediate Language: English View on www.yapcna.org Preview by Yahoo I will *mostly* be talking about roles in the context of Moo, because to me Moose is too heavyweight for a client library you expect to be integrated into other (peoples') code. Mark On Monday, April 14, 2014 12:26 AM, Todd Rinaldo wrote: Here are the blog articles by chromatic I was talking about at the meeting: http://www.modernperlbooks.com/cgi-bin/mt/mt-search.cgi?blog_id=1&tag=roles&limit=20 This video at YAPC Austin also looks like it's worth a watch: https://www.youtube.com/watch?v=cjoWu4eq1Tw On Sun, Apr 13, 2014 at 9:21 PM, G. Wade Johnson wrote: > There is now a writeup on the website for the April presentation. > > http://houston.pm.org/talks/2014talks/1404Talk/index.html > > G. Wade > -- > Many people would sooner die than think. In fact, they do. >? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? -- Bertrand Russell > _______________________________________________ > 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 _______________________________________________ Houston mailing list Houston at pm.org http://mail.pm.org/mailman/listinfo/houston Website: http://houston.pm.org/ -------------- next part -------------- An HTML attachment was scrubbed... URL: From mrdvt92 at yahoo.com Wed Apr 16 15:38:33 2014 From: mrdvt92 at yahoo.com (Michael R. Davis) Date: Wed, 16 Apr 2014 18:38:33 -0400 Subject: [pm-h] DBI Bulk Inserts and Updates In-Reply-To: <20140412004855.83bf7a1a9788d78b2b94048c@eldalin.com> References: <20140329233804.4d8a19b6@cygnus> <1396238446.90918.YahooMailNeo@web121001.mail.ne1.yahoo.com> <20140412004855.83bf7a1a9788d78b2b94048c@eldalin.com> Message-ID: <7B16B767-C1CD-4291-9508-F689DCD7A2E3@yahoo.com> Perl folks, I'm having performance issues with one of my scripts. Our DBA would like for me to investigate bulk inserts. I see all of the array tupple fetch stuff but don't really get the API. Are there examples out there where someone has a working example. What I have is my data in a list of array references and I just want to insert in one batch. We use Oracle, MySQL and PostgreSQL so a portable version would be best. Mike From todd at rinaldo.us Wed Apr 16 17:18:21 2014 From: todd at rinaldo.us (Todd Rinaldo) Date: Wed, 16 Apr 2014 19:18:21 -0500 Subject: [pm-h] DBI Bulk Inserts and Updates In-Reply-To: <7B16B767-C1CD-4291-9508-F689DCD7A2E3@yahoo.com> References: <20140329233804.4d8a19b6@cygnus> <1396238446.90918.YahooMailNeo@web121001.mail.ne1.yahoo.com> <20140412004855.83bf7a1a9788d78b2b94048c@eldalin.com> <7B16B767-C1CD-4291-9508-F689DCD7A2E3@yahoo.com> Message-ID: DBD and portable aren't really synonymous. Each of those will have a slightly different interface which may offer enhanced performance you wouldn't get from using a generic method. Can you provide code snippets or an example of what you're trying to do? On Wed, Apr 16, 2014 at 5:38 PM, Michael R. Davis wrote: > Perl folks, > I'm having performance issues with one of my scripts. Our DBA would like for me to investigate bulk inserts. I see all of the array tupple fetch stuff but don't really get the API. Are there examples out there where someone has a working example. What I have is my data in a list of array references and I just want to insert in one batch. We use Oracle, MySQL and PostgreSQL so a portable version would be best. > Mike > _______________________________________________ > Houston mailing list > Houston at pm.org > http://mail.pm.org/mailman/listinfo/houston > Website: http://houston.pm.org/ -- Todd Rinaldo todd at rinaldo.us From mrdvt92 at yahoo.com Thu Apr 17 20:52:05 2014 From: mrdvt92 at yahoo.com (Michael R. Davis) Date: Thu, 17 Apr 2014 20:52:05 -0700 (PDT) Subject: [pm-h] DBI Bulk Inserts and Updates In-Reply-To: References: <20140329233804.4d8a19b6@cygnus> <1396238446.90918.YahooMailNeo@web121001.mail.ne1.yahoo.com> <20140412004855.83bf7a1a9788d78b2b94048c@eldalin.com> <7B16B767-C1CD-4291-9508-F689DCD7A2E3@yahoo.com> Message-ID: <1397793125.93237.YahooMailNeo@web121005.mail.ne1.yahoo.com> Todd, >> Our DBA would like for me to investigate bulk inserts.? > Can you provide code snippets or an example of what you're trying to do? ? It looks like DBI supports execute_for_fetch.? To me it appears that it was built for pushing data from one database to another. ? Anyway, I put this method together.? It should be database portable as it uses DBI not DBD but DBDs can optimize the call under the?hood?which Oracle states that it does. ? Here's a method I put together to translate the data format that I use. The method?uses DBIx::Array under the hood.? =head2 bulkinsertarrayarrayname Insert records in bulk. ? my @arrayarrayname=( ????????????????????? ["Col1", "Col2", "Col3", "Col4", ...], ????????????????????? [data1, $data2, $data3, $data4, ...], ????????????????????? [@row_data_2], ????????????????????? [@row_data_3], ... ????????????????????? [@row_data_n], ???????????????????? ); ? my $count=$dbx->bulkinsertarrayarrayname($table, \@arrayarrayname); =cut ? sub bulkinsertarrayarrayname { ? my $self=shift; ? my $table=shift or die("Error: table name required."); ? my $arrayarrayname=shift; ? die('Error: $arrayarrayname parameter must be an array reference') unless ref($arrayarrayname) eq "ARRAY"; ? my $columns = shift @$arrayarrayname; ? die("Error: columns must be array reference") unless ref($columns) eq "ARRAY"; ? my $sql???? = sprintf("INSERT INTO $table (%s) VALUES (%s)", join(",", @$columns), join(",", map {"?"} @$columns)); ? my $sth???? = $self->dbh->prepare($sql) or die($self->errstr); ? my $size??? = @$arrayarrayname; ? my @tuple_status=(); ? my $count?? = $sth->execute_for_fetch( sub {shift @$arrayarrayname}, \@tuple_status); ? unless ($count == $size) { ??? warn map {"$_\n"} @tuple_status; ? } ? return $count; } ?My tests for DBD::CSV and DBD::XBase pass with no issues. ? ? $dba->dbh->do("CREATE TABLE $table (F1 INTEGER,F2 CHAR(1),F3 VARCHAR(10))"); ??is($dba->bulkinsertarrayarrayname($table, [[qw{F1 F2 F3}], [0,1,2], [1,2,3], [2,3,4]]), 3, 'bulkinsertarrayarrayname'); Now onto performance testing!? ? Thanks, Mike -------------- next part -------------- An HTML attachment was scrubbed... URL: From flbaker at sbcglobal.net Sun Apr 20 07:35:54 2014 From: flbaker at sbcglobal.net (Fraser Baker) Date: Sun, 20 Apr 2014 09:35:54 -0500 Subject: [pm-h] DNS Records Message-ID: <52B3C1DCD67D4A1E9BC6C6C0D3FBEF2F@CHEETAH> Not Perl problem, but can anyone help me setting up SPF and PTR records? Fraser -------------- next part -------------- An HTML attachment was scrubbed... URL: From gwadej at anomaly.org Sun Apr 20 16:04:52 2014 From: gwadej at anomaly.org (G. Wade Johnson) Date: Sun, 20 Apr 2014 18:04:52 -0500 Subject: [pm-h] Fw: Tim O'Reilly - Ask Me Anything on IoT - Reddit IAMA Message-ID: <20140420180452.74f4104e@cygnus> Begin forwarded message: Date: Sun, 20 Apr 2014 16:00:22 -0700 From: Marsee Henon and Jon Johns To: gwadej at anomaly.org Subject: Tim O'Reilly - Ask Me Anything on IoT - Reddit IAMA Send this to a friend http://post.oreilly.com/f2f/9z1ztvp7djanb4o3kgb74sru3iq2uof61554bbfbil0 Hey there, We're excited to let you know that Tim O'Reilly is doing an AMA (Ask Me Anything) on Reddit this week. Please share this news with your community: Tim O'Reilly is very excited about the Internet of Things, and eager to do an AMA on Reddit. This is a rare opportunity to join a conversation with Tim O'Reilly. Tim O'Reilly: AMA about the IoT April 22 at 10AM PT/1PM ET The Internet of Things is a rapidly emerging new area with more questions than answers. Here's a chance to ask your questions directly to Tim O'Reilly. Ask him anything and everything--from why the IoT might be the next big thing and the role of data technologies--to his favorite devices, peeves, and more. Questions can be esoteric or entertaining, specific or far-reaching. It'll be fun and enlightening for everyone involved, so join us next Tuesday on Reddit. http://post.oreilly.com/rd/9z1z7osbm9t9kbh1bq7spi2792rg00ije4j395bdjd8 If you're unfamiliar with the Reddit AMA, you can learn more here: http://post.oreilly.com/rd/9z1z3h49siu5ra1ok2617evdhq0aigdbfr37e9sc4g0 Thanks so much, Marsee & Jon ================================== 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 something here that doesn't make sense... Let's go and poke it with a stick. -- The Doctor From gwadej at anomaly.org Sun Apr 20 20:47:37 2014 From: gwadej at anomaly.org (G. Wade Johnson) Date: Sun, 20 Apr 2014 22:47:37 -0500 Subject: [pm-h] Presentation for May? Message-ID: <20140420224737.451dfd16@cygnus> May is coming up quickly. We will have the May meeting on Thursday, May 8 at cPanel. Do we have any volunteers to present for the meeting? Or a topic for someone else to present? G. Wade -- There are two ways to write error-free programs; only the third one works. -- Alan Perlis From scaffee at hostgator.com Sun Apr 20 21:07:55 2014 From: scaffee at hostgator.com (scaffee at hostgator.com) Date: Sun, 20 Apr 2014 23:07:55 -0500 (CDT) Subject: [pm-h] Presentation for May? In-Reply-To: <20140420224737.451dfd16@cygnus> Message-ID: <1643786209.2534262.1398053275174.JavaMail.root@hostgator.com> I am willing to do a talk on Markov chains if people would be interested. Or if not that, maybe the Mercurial dcs if people would like that instead. -- Eris Caffee Developer HostGator.com LLC http://support.hostgator.com ----- Original Message ----- From: "G. Wade Johnson" To: "Houston Perl Mongers" Sent: Sunday, April 20, 2014 10:47:37 PM Subject: [pm-h] Presentation for May? May is coming up quickly. We will have the May meeting on Thursday, May 8 at cPanel. Do we have any volunteers to present for the meeting? Or a topic for someone else to present? G. Wade -- There are two ways to write error-free programs; only the third one works. -- Alan Perlis _______________________________________________ Houston mailing list Houston at pm.org http://mail.pm.org/mailman/listinfo/houston Website: http://houston.pm.org/ From drzigman at drzigman.com Mon Apr 21 15:55:22 2014 From: drzigman at drzigman.com (Robert Stone) Date: Mon, 21 Apr 2014 22:55:22 +0000 (GMT) Subject: [pm-h] Presentation for May? In-Reply-To: <1643786209.2534262.1398053275174.JavaMail.root@hostgator.com> References: <1643786209.2534262.1398053275174.JavaMail.root@hostgator.com> Message-ID: <269742738.13722.1398120922742.JavaMail.zimbra@drzigman.com> Greetings, I'd very much so like to see a presentation on Markov chains, they've fascinated me ever since my work with BLAST (http://blast.ncbi.nlm.nih.gov/Blast.cgi). Consider this support for memorylessness! Best Regards, Robert Stone ----- Original Message ----- From: scaffee at hostgator.com To: "Houston.pm located in Houston, TX." Sent: Sunday, April 20, 2014 11:07:55 PM Subject: Re: [pm-h] Presentation for May? I am willing to do a talk on Markov chains if people would be interested. Or if not that, maybe the Mercurial dcs if people would like that instead. -- Eris Caffee Developer HostGator.com LLC http://support.hostgator.com ----- Original Message ----- From: "G. Wade Johnson" To: "Houston Perl Mongers" Sent: Sunday, April 20, 2014 10:47:37 PM Subject: [pm-h] Presentation for May? May is coming up quickly. We will have the May meeting on Thursday, May 8 at cPanel. Do we have any volunteers to present for the meeting? Or a topic for someone else to present? G. Wade -- There are two ways to write error-free programs; only the third one works. -- Alan Perlis _______________________________________________ Houston mailing list Houston at pm.org http://mail.pm.org/mailman/listinfo/houston Website: http://houston.pm.org/ _______________________________________________ Houston mailing list Houston at pm.org http://mail.pm.org/mailman/listinfo/houston Website: http://houston.pm.org/ From matt at lessthan3.net Mon Apr 21 17:58:07 2014 From: matt at lessthan3.net (Matthew Dees) Date: Mon, 21 Apr 2014 19:58:07 -0500 Subject: [pm-h] Presentation for May? In-Reply-To: <1643786209.2534262.1398053275174.JavaMail.root@hostgator.com> References: <20140420224737.451dfd16@cygnus> <1643786209.2534262.1398053275174.JavaMail.root@hostgator.com> Message-ID: I'll attend this talk if it's done. I've always had a soft spot for anything that allows me to create a psychotic IRC bot. On Apr 20, 2014 11:08 PM, wrote: > I am willing to do a talk on Markov chains if people would be interested. > Or if not that, maybe the Mercurial dcs if people would like that instead. > > -- > Eris Caffee > Developer > HostGator.com LLC > http://support.hostgator.com > > > ----- Original Message ----- > From: "G. Wade Johnson" > To: "Houston Perl Mongers" > Sent: Sunday, April 20, 2014 10:47:37 PM > Subject: [pm-h] Presentation for May? > > May is coming up quickly. We will have the May meeting on Thursday, May > 8 at cPanel. > > Do we have any volunteers to present for the meeting? Or a topic for > someone else to present? > > G. Wade > -- > There are two ways to write error-free programs; only the third one > works. -- Alan Perlis > _______________________________________________ > 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 flbaker at sbcglobal.net Tue Apr 22 07:47:03 2014 From: flbaker at sbcglobal.net (Fraser Baker) Date: Tue, 22 Apr 2014 09:47:03 -0500 Subject: [pm-h] mod perl and calendar.cgi Message-ID: <3BE13FAB396F41B9B577BEC9F21B3BEB@CHEETAH> Hi y'all: Before I added mod-perl, calendar.cgi worked. After mod perl I get this error: [Tue Apr 22 09:28:35 2014] [error] Can't locate object method "initialize" via package "HTML::Template" at D:/www/wc-admin.com/cgi-bin/event_calendar/calendar.cgi line 131.\n The offending line in calendar.cgi is: my $tmpl = HTML::Template->initialize( $directives->{'template'} || 'template.html' ); I searched template.pm and don't find a function named initialize. I do find # initialize the template buffer sub _init_template { How do I fix this? Fraser -------------- next part -------------- An HTML attachment was scrubbed... URL: From estrabd at gmail.com Tue Apr 22 08:15:01 2014 From: estrabd at gmail.com (B. Estrade) Date: Tue, 22 Apr 2014 10:15:01 -0500 Subject: [pm-h] mod perl and calendar.cgi In-Reply-To: <3BE13FAB396F41B9B577BEC9F21B3BEB@CHEETAH> References: <3BE13FAB396F41B9B577BEC9F21B3BEB@CHEETAH> Message-ID: Just a hunch, but I'd look to see how mod_perl affected your environment. namely @INC. Brett On Tue, Apr 22, 2014 at 9:47 AM, Fraser Baker wrote: > Hi y'all: > > Before I added mod-perl, calendar.cgi worked. > > After mod perl I get this error: > > [Tue Apr 22 09:28:35 2014] [error] Can't locate object method "initialize" > via package "HTML::Template" at > D:/www/wc-admin.com/cgi-bin/event_calendar/calendar.cgi line 131.\n > > The offending line in calendar.cgi is: > > my > > $tmpl = HTML::Template->initialize( $directives->{'template'} || > 'template.html' ); > > I searched template.pm and don't find a function named initialize. I do find > > # initialize the template buffer > sub _init_template { > > How do I fix this? > > Fraser > > > > _______________________________________________ > 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 Apr 24 12:13:32 2014 From: gwadej at anomaly.org (G. Wade Johnson) Date: Thu, 24 Apr 2014 14:13:32 -0500 Subject: [pm-h] May Houston.pm Meeting: Markov Chains with Eris Caffee Message-ID: <20140424141332.2a52c703@cygnus> At the May Houston.pm technical meeting, Eris Caffee will present "Markov chains". Expect theory, code, and silly/scientific applications. We will meet at 7pm on May 8, at the cPanel offices at 3131 W. Alabama. G. Wade -- If you torture data long enough, it will confess to anything. -- unknown econometrian From flbaker at sbcglobal.net Fri Apr 25 06:23:59 2014 From: flbaker at sbcglobal.net (Fraser Baker) Date: Fri, 25 Apr 2014 08:23:59 -0500 Subject: [pm-h] mod perl and calendar.cgi In-Reply-To: References: <3BE13FAB396F41B9B577BEC9F21B3BEB@CHEETAH> Message-ID: Hi Brett: Turns out that for the mod_perl server, there are some 165 entries in %INC whereas for the not mod-perl server there is only one. The %ENV is larger by about 5 entries on the mod_perl machine. OK, where do I go from here. Fraser ----- Original Message ----- From: "B. Estrade" To: "Houston.pm located in Houston, TX." Sent: Tuesday, April 22, 2014 10:15 AM Subject: Re: [pm-h] mod perl and calendar.cgi > Just a hunch, but I'd look to see how mod_perl affected your > environment. namely @INC. > > Brett > > On Tue, Apr 22, 2014 at 9:47 AM, Fraser Baker > wrote: >> Hi y'all: >> >> Before I added mod-perl, calendar.cgi worked. >> >> After mod perl I get this error: >> >> [Tue Apr 22 09:28:35 2014] [error] Can't locate object method >> "initialize" >> via package "HTML::Template" at >> D:/www/wc-admin.com/cgi-bin/event_calendar/calendar.cgi line 131.\n >> >> The offending line in calendar.cgi is: >> >> my >> >> $tmpl = HTML::Template->initialize( $directives->{'template'} || >> 'template.html' ); >> >> I searched template.pm and don't find a function named initialize. I do >> find >> >> # initialize the template buffer >> sub _init_template { >> >> How do I fix this? >> >> Fraser >> >> >> >> _______________________________________________ >> Houston mailing list >> Houston at pm.org >> http://mail.pm.org/mailman/listinfo/houston >> Website: http://houston.pm.org/ > _______________________________________________ > Houston mailing list > Houston at pm.org > http://mail.pm.org/mailman/listinfo/houston > Website: http://houston.pm.org/ From gwadej at anomaly.org Fri Apr 25 09:25:25 2014 From: gwadej at anomaly.org (G. Wade Johnson) Date: Fri, 25 Apr 2014 11:25:25 -0500 Subject: [pm-h] mod perl and calendar.cgi In-Reply-To: References: <3BE13FAB396F41B9B577BEC9F21B3BEB@CHEETAH> Message-ID: <20140425112525.0d3be0ce@cygnus> On Fri, 25 Apr 2014 08:23:59 -0500 "Fraser Baker" wrote: > Hi Brett: > > Turns out that for the mod_perl server, there are some 165 entries in > %INC whereas for the not mod-perl server there is only one. Hi Fraser, There are 2 different things here. @INC contains a list of directories that perl searches for modules. %INC contains entries for each module that is loaded. I believe the suggestion was to check @INC to see if a module is loaded from a location you are not expecting. G. Wade > The %ENV is larger by about 5 entries on the mod_perl machine. > > OK, where do I go from here. > > Fraser > > ----- Original Message ----- > From: "B. Estrade" > To: "Houston.pm located in Houston, TX." > Sent: Tuesday, April 22, 2014 10:15 AM > Subject: Re: [pm-h] mod perl and calendar.cgi > > > > Just a hunch, but I'd look to see how mod_perl affected your > > environment. namely @INC. > > > > Brett > > > > On Tue, Apr 22, 2014 at 9:47 AM, Fraser Baker > > wrote: > >> Hi y'all: > >> > >> Before I added mod-perl, calendar.cgi worked. > >> > >> After mod perl I get this error: > >> > >> [Tue Apr 22 09:28:35 2014] [error] Can't locate object method > >> "initialize" > >> via package "HTML::Template" at > >> D:/www/wc-admin.com/cgi-bin/event_calendar/calendar.cgi line 131.\n > >> > >> The offending line in calendar.cgi is: > >> > >> my > >> > >> $tmpl = HTML::Template->initialize( $directives->{'template'} || > >> 'template.html' ); > >> > >> I searched template.pm and don't find a function named initialize. > >> I do find > >> > >> # initialize the template buffer > >> sub _init_template { > >> > >> How do I fix this? > >> > >> Fraser > >> > >> > >> > >> _______________________________________________ > >> 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/ -- Never express yourself more clearly than you think. -- Niels Bohr From flbaker at sbcglobal.net Fri Apr 25 10:09:59 2014 From: flbaker at sbcglobal.net (Fraser Baker) Date: Fri, 25 Apr 2014 12:09:59 -0500 Subject: [pm-h] mod perl and calendar.cgi In-Reply-To: <20140425112525.0d3be0ce@cygnus> References: <3BE13FAB396F41B9B577BEC9F21B3BEB@CHEETAH> <20140425112525.0d3be0ce@cygnus> Message-ID: <02F36A93C95E420E8C0FB1E4107C328C@CHEETAH> OK: For the server that is NOT running mod_perl INCLUDED DATA ARRAY is Term is C:/Perl/site/lib Term is C:/Perl/lib Term is . For the server that IS running mod_perl INCLUDED DATA ARRAY is Term is D:/www/wc-admin.com/cgi-bin Term is C:/Perl/site/lib Term is C:/Perl/lib Term is . Term is C:/Program Files/Apache Software Foundation/Apache2.2 I don't see anything here. Where to go from here? Fraser ----- Original Message ----- From: "G. Wade Johnson" To: Sent: Friday, April 25, 2014 11:25 AM Subject: Re: [pm-h] mod perl and calendar.cgi > On Fri, 25 Apr 2014 08:23:59 -0500 > "Fraser Baker" wrote: > >> Hi Brett: >> >> Turns out that for the mod_perl server, there are some 165 entries in >> %INC whereas for the not mod-perl server there is only one. > > Hi Fraser, > > There are 2 different things here. > > @INC contains a list of directories that perl searches for modules. > %INC contains entries for each module that is loaded. > > I believe the suggestion was to check @INC to see if a module is loaded > from a location you are not expecting. > > G. Wade > >> The %ENV is larger by about 5 entries on the mod_perl machine. >> >> OK, where do I go from here. >> >> Fraser >> >> ----- Original Message ----- >> From: "B. Estrade" >> To: "Houston.pm located in Houston, TX." >> Sent: Tuesday, April 22, 2014 10:15 AM >> Subject: Re: [pm-h] mod perl and calendar.cgi >> >> >> > Just a hunch, but I'd look to see how mod_perl affected your >> > environment. namely @INC. >> > >> > Brett >> > >> > On Tue, Apr 22, 2014 at 9:47 AM, Fraser Baker >> > wrote: >> >> Hi y'all: >> >> >> >> Before I added mod-perl, calendar.cgi worked. >> >> >> >> After mod perl I get this error: >> >> >> >> [Tue Apr 22 09:28:35 2014] [error] Can't locate object method >> >> "initialize" >> >> via package "HTML::Template" at >> >> D:/www/wc-admin.com/cgi-bin/event_calendar/calendar.cgi line 131.\n >> >> >> >> The offending line in calendar.cgi is: >> >> >> >> my >> >> >> >> $tmpl = HTML::Template->initialize( $directives->{'template'} || >> >> 'template.html' ); >> >> >> >> I searched template.pm and don't find a function named initialize. >> >> I do find >> >> >> >> # initialize the template buffer >> >> sub _init_template { >> >> >> >> How do I fix this? >> >> >> >> Fraser >> >> >> >> >> >> >> >> _______________________________________________ >> >> 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/ > > > -- > Never express yourself more clearly than you think. -- Niels Bohr > _______________________________________________ > Houston mailing list > Houston at pm.org > http://mail.pm.org/mailman/listinfo/houston > Website: http://houston.pm.org/ From gwadej at anomaly.org Fri Apr 25 11:44:33 2014 From: gwadej at anomaly.org (G. Wade Johnson) Date: Fri, 25 Apr 2014 13:44:33 -0500 Subject: [pm-h] mod perl and calendar.cgi In-Reply-To: <02F36A93C95E420E8C0FB1E4107C328C@CHEETAH> References: <3BE13FAB396F41B9B577BEC9F21B3BEB@CHEETAH> <20140425112525.0d3be0ce@cygnus> <02F36A93C95E420E8C0FB1E4107C328C@CHEETAH> Message-ID: <20140425134433.2ced11d0@cygnus> On Fri, 25 Apr 2014 12:09:59 -0500 "Fraser Baker" wrote: > OK: > > For the server that is NOT running mod_perl > INCLUDED DATA ARRAY is > Term is C:/Perl/site/lib > Term is C:/Perl/lib > Term is . > > For the server that IS running mod_perl > > INCLUDED DATA ARRAY is > Term is D:/www/wc-admin.com/cgi-bin > Term is C:/Perl/site/lib > Term is C:/Perl/lib > Term is . > Term is C:/Program Files/Apache Software Foundation/Apache2.2 Okay. This gives us some stuff to work with. Check each of the directories in the two sets of paths for HTML/Template.pm. This might show more than one HTML::Template module installed. Next, check to see if you have the same version of HTML::Template on both machines. I had somehow missed earlier that these were two separate machines. (Brain fail) You'll want to verify that there is only one version of HTML::Template on each server and that the versions on the two servers match. If the one that works is older than the one that doesn't, upgrading will require code changes to match the newer module. If the one that works is the newer version, you can upgrade the version and the problem should be solved. G. Wade > I don't see anything here. Where to go from here? > > Fraser > > > ----- Original Message ----- > From: "G. Wade Johnson" > To: > Sent: Friday, April 25, 2014 11:25 AM > Subject: Re: [pm-h] mod perl and calendar.cgi > > > > On Fri, 25 Apr 2014 08:23:59 -0500 > > "Fraser Baker" wrote: > > > >> Hi Brett: > >> > >> Turns out that for the mod_perl server, there are some 165 entries > >> in %INC whereas for the not mod-perl server there is only one. > > > > Hi Fraser, > > > > There are 2 different things here. > > > > @INC contains a list of directories that perl searches for modules. > > %INC contains entries for each module that is loaded. > > > > I believe the suggestion was to check @INC to see if a module is > > loaded from a location you are not expecting. > > > > G. Wade > > > >> The %ENV is larger by about 5 entries on the mod_perl machine. > >> > >> OK, where do I go from here. > >> > >> Fraser > >> > >> ----- Original Message ----- > >> From: "B. Estrade" > >> To: "Houston.pm located in Houston, TX." > >> Sent: Tuesday, April 22, 2014 10:15 AM > >> Subject: Re: [pm-h] mod perl and calendar.cgi > >> > >> > >> > Just a hunch, but I'd look to see how mod_perl affected your > >> > environment. namely @INC. > >> > > >> > Brett > >> > > >> > On Tue, Apr 22, 2014 at 9:47 AM, Fraser Baker > >> > wrote: > >> >> Hi y'all: > >> >> > >> >> Before I added mod-perl, calendar.cgi worked. > >> >> > >> >> After mod perl I get this error: > >> >> > >> >> [Tue Apr 22 09:28:35 2014] [error] Can't locate object method > >> >> "initialize" > >> >> via package "HTML::Template" at > >> >> D:/www/wc-admin.com/cgi-bin/event_calendar/calendar.cgi line > >> >> 131.\n > >> >> > >> >> The offending line in calendar.cgi is: > >> >> > >> >> my > >> >> > >> >> $tmpl = HTML::Template->initialize( $directives->{'template'} || > >> >> 'template.html' ); > >> >> > >> >> I searched template.pm and don't find a function named > >> >> initialize. I do find > >> >> > >> >> # initialize the template buffer > >> >> sub _init_template { > >> >> > >> >> How do I fix this? > >> >> > >> >> Fraser -- If debugging is the process of removing software bugs, the programming must be the process of putting them in. -- Edsger Dijkstra From estrabd at gmail.com Fri Apr 25 17:51:12 2014 From: estrabd at gmail.com (B. Estrade) Date: Fri, 25 Apr 2014 19:51:12 -0500 Subject: [pm-h] mod perl and calendar.cgi In-Reply-To: <20140425134433.2ced11d0@cygnus> References: <3BE13FAB396F41B9B577BEC9F21B3BEB@CHEETAH> <20140425112525.0d3be0ce@cygnus> <02F36A93C95E420E8C0FB1E4107C328C@CHEETAH> <20140425134433.2ced11d0@cygnus> Message-ID: On Fri, Apr 25, 2014 at 1:44 PM, G. Wade Johnson wrote: > On Fri, 25 Apr 2014 12:09:59 -0500 > "Fraser Baker" wrote: > >> OK: >> >> For the server that is NOT running mod_perl >> INCLUDED DATA ARRAY is >> Term is C:/Perl/site/lib >> Term is C:/Perl/lib >> Term is . >> >> For the server that IS running mod_perl >> >> INCLUDED DATA ARRAY is >> Term is D:/www/wc-admin.com/cgi-bin >> Term is C:/Perl/site/lib >> Term is C:/Perl/lib >> Term is . >> Term is C:/Program Files/Apache Software Foundation/Apache2.2 > > Okay. This gives us some stuff to work with. > > Check each of the directories in the two sets of paths for > HTML/Template.pm. This might show more than one HTML::Template module > installed. Or none at all. Make sure HTML::Template is installed. > > Next, check to see if you have the same version of HTML::Template on > both machines. I had somehow missed earlier that these were two > separate machines. (Brain fail) > /me too... oopsie > You'll want to verify that there is only one version of HTML::Template > on each server and that the versions on the two servers match. > > If the one that works is older than the one that doesn't, upgrading will > require code changes to match the newer module. If the one that works > is the newer version, you can upgrade the version and the problem > should be solved. > > G. Wade > > >> I don't see anything here. Where to go from here? Is this mod_perl or mod_perl2? I am not familiar with any of this on Windows unfortunately. You could create a barebones script that just tries to include HTML::Template using one directory in @INC at a time. mod_perl also does funky things with applications that are not meant to be run persistently - so if this is the case there are request "handlers" that are meant to restart or recompile/restart for each request. Unfortunately it could be a tedious process to track it down, but I think wade's put you on the right track. Brett >> >> Fraser >> >> >> ----- Original Message ----- >> From: "G. Wade Johnson" >> To: >> Sent: Friday, April 25, 2014 11:25 AM >> Subject: Re: [pm-h] mod perl and calendar.cgi >> >> >> > On Fri, 25 Apr 2014 08:23:59 -0500 >> > "Fraser Baker" wrote: >> > >> >> Hi Brett: >> >> >> >> Turns out that for the mod_perl server, there are some 165 entries >> >> in %INC whereas for the not mod-perl server there is only one. >> > >> > Hi Fraser, >> > >> > There are 2 different things here. >> > >> > @INC contains a list of directories that perl searches for modules. >> > %INC contains entries for each module that is loaded. >> > >> > I believe the suggestion was to check @INC to see if a module is >> > loaded from a location you are not expecting. >> > >> > G. Wade >> > >> >> The %ENV is larger by about 5 entries on the mod_perl machine. >> >> >> >> OK, where do I go from here. >> >> >> >> Fraser >> >> >> >> ----- Original Message ----- >> >> From: "B. Estrade" >> >> To: "Houston.pm located in Houston, TX." >> >> Sent: Tuesday, April 22, 2014 10:15 AM >> >> Subject: Re: [pm-h] mod perl and calendar.cgi >> >> >> >> >> >> > Just a hunch, but I'd look to see how mod_perl affected your >> >> > environment. namely @INC. >> >> > >> >> > Brett >> >> > >> >> > On Tue, Apr 22, 2014 at 9:47 AM, Fraser Baker >> >> > wrote: >> >> >> Hi y'all: >> >> >> >> >> >> Before I added mod-perl, calendar.cgi worked. >> >> >> >> >> >> After mod perl I get this error: >> >> >> >> >> >> [Tue Apr 22 09:28:35 2014] [error] Can't locate object method >> >> >> "initialize" >> >> >> via package "HTML::Template" at >> >> >> D:/www/wc-admin.com/cgi-bin/event_calendar/calendar.cgi line >> >> >> 131.\n >> >> >> >> >> >> The offending line in calendar.cgi is: >> >> >> >> >> >> my >> >> >> >> >> >> $tmpl = HTML::Template->initialize( $directives->{'template'} || >> >> >> 'template.html' ); >> >> >> >> >> >> I searched template.pm and don't find a function named >> >> >> initialize. I do find >> >> >> >> >> >> # initialize the template buffer >> >> >> sub _init_template { >> >> >> >> >> >> How do I fix this? >> >> >> >> >> >> Fraser > > > -- > If debugging is the process of removing software bugs, the programming > must be the process of putting them in. -- Edsger Dijkstra > _______________________________________________ > Houston mailing list > Houston at pm.org > http://mail.pm.org/mailman/listinfo/houston > Website: http://houston.pm.org/ From gwadej at anomaly.org Sun Apr 27 16:23:25 2014 From: gwadej at anomaly.org (G. Wade Johnson) Date: Sun, 27 Apr 2014 18:23:25 -0500 Subject: [pm-h] Fw: Communities & UG News: Get Your Free Books + More from O'Reilly Message-ID: <20140427182325.5dc5b279@cygnus> Begin forwarded message: Date: Sun, 27 Apr 2014 16:00:53 -0700 From: Marsee Henon and Jon Johns To: gwadej at anomaly.org Subject: Communities & UG News: Get Your Free Books + More from O'Reilly View this message as HTML http://post.oreilly.com/rd/9z1zb4e2td00klv54o09t77dpqltdsoatfisaif5sa8 Send this to a friend http://post.oreilly.com/f2f/9z1zk77blkgmnrav5q9gv4p8555r3mgv51dh69ukceg Hello, The second video in the Python Series has been released, 'Intermediate Python' by By Steve Holden takes you beyond Python basics, picking up where Jessica McKellar's 'Introduction to Python' video course leaves off. Let us know if you or someone in your community would like to review this latest in the Python Training Video series. http://post.oreilly.com/rd/9z1zdtilt8c4oujqtj1i30edecd8ff74k4irbrdtarg Cheers, Marsee Henon and Jon Johns P.S. We've add many new slides and discount banners, let us know what you think. Velocity Conference http://post.oreilly.com/rd/9z1z2h44ps2irnjsk3sb4ia1griih8gmdotbrrieic8 Velocity UG slides (Powerpoint, Keynote, Open Office) http://post.oreilly.com/rd/9z1zg5htlurdjc1f3n3rk0vbbq3on82ouneo1pfr7cg Available for Review We're looking for reviewers for the following books & videos. Consider posting your reviews on Amazon, Slashdot, oreilly.com, goodreads.com and/or your blog. Designing for Performance http://post.oreilly.com/rd/9z1z350t5283kqe6bq6rsf9s514tv8mhk6le4csmmvo Java Performance: The Definitive Guide http://post.oreilly.com/rd/9z1z8c6h7fbbplvg5o28tfuq9t66cjqme93je3utsto Real-Time Communication with WebRTC http://post.oreilly.com/rd/9z1z6j9spjgrkfo5m3n0sund3ccktnfva32l4kgpbc0 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 Automate with Grunt http://post.oreilly.com/rd/9z1zis6m73s2kuea8n3ghglgrk8qaved7t1alg3h8og eCommerce in the Cloud http://post.oreilly.com/rd/9z1zm22ek5cfokuf316lga6l5oq5adruha9lpbqp568 iOS Game Development Cookbook http://post.oreilly.com/rd/9z1zbkemjreuia5matj1rnquvncjml4juo9eqbrrs4g MySQL High Availability, 2nd Edition http://post.oreilly.com/rd/9z1zr8o4k25gsdc2dpbj0h0pjlc444l9sjbmr9nrvg0 Make: Sensors http://post.oreilly.com/rd/9z1zc4am1tij513o05td4sc0433f61ovbom5g5l5hhg Java in a Nutshell http://post.oreilly.com/rd/9z1z1r5cfdet30dmpbt97rqt06v90ceudluka338o8g Velocity SC Ignite Proposals Due (Santa Clara, CA, June 24-26) We're now accepting proposals for Ignite Velocity, which is happening the evening of June 24. Please send your ideas by May 16. The Velocity Conference Early Price ends May 8. Use your USRG 20% discount on top of the Early Price to get the best deal. Stay on for DevOpsDay and WebPerfDays immediately following Velocity. DevOpsDays is looking for speakers; the proposal deadline is May 2. http://post.oreilly.com/rd/9z1z5tch5c2loocmud3uojmuursbgrnqletugqbvf3g Kicking yourself for not submitting to Velocity Conference 2014? You're in luck! Call for Proposals for Ignite is open (Until May 16) http://post.oreilly.com/rd/9z1zagnal3rlqam76u4q8j6ejg3pjr7kf8u3u04jp60 Drop the Mic! Speak at OSCON's Ignite If you had five minutes on stage in front of the OSCON audience what would you say? What if you only got 20 slides and they rotated automatically after 15 seconds? Would you pitch a project? Launch a website? Teach a hack? We're looking for presenters for Ignite OSCON on Sunday, July 20. If you have a great idea for a 5-minute talk, tell us. Submissions are due May 22. http://post.oreilly.com/rd/9z1zj5uporc7ldba8j5pkmi87ia83h8011l6ududtfg Still time to register for OSCON with the best price! The deadline for getting the best price for OSCON is coming up soon. Register by May 1 and you'll save hundreds of dollars off the regular price. And to sweeten the deal, we'll include a pair of Converse shoes* so you can walk the halls in style. Haven't decided yet? Browse the schedule of this year's sessions, tutorials, keynotes, and events. We think you'll like what you see. http://post.oreilly.com/rd/9z1zbnqi6rnud4t8cdk3icfob85fegvvvb8638i19u8 Earn a pass to O'Reilly Solid Conference (San Francisco, CA, May 21-22) Know some members/people who might be interested in our Solid Conference? You can give out your own discount code--and earn a free Solid pass for every 3 uses of your code. Contact Annalis Clint (aclint at oreilly.com) for more info. Tim O'Reilly on Reddit - His First Ask Me Anything (Recap) Tim O'Reilly subjected himself to an engaging Ask Me Anything session on Reddit earlier this week. The focus of the exchange was the Internet of Things, in anticipation of our Solid conference taking place next month. If you missed the AMA, you might want to check it out. Examples?What's the best "Global Brain Working"? A: Google. What about IoT infrastructure? A: There will be "a lot of investor blood on the tracks" first. What about Maker as the gateway drug to IoT? A. "3D printing is the 'hello world' of digital manufacturing." And lots more. http://post.oreilly.com/rd/9z1zggjqo1iinr9rfgcosiifr41mc7s06pa2o1q42l8 FREE webcast "Understanding Human Motivation in the Age of Connected Machines" Thursday, May 1, 2014 - 10AM PT Presented by: Michael DelGaudio As more of the physical world is becoming connected, new and lucrative business models are forming around industrial applications that manage large-scale infrastructure in fields like energy production and transportation. Designers helping to shape the connected world, need to be mindful of human motivation and raise questions about connectivity's impact on the individual, the community, and how we live. In this webcast talk presented by Michael Delgaudio, we'll focus on why the human role is crucial in the Age of Connected Machines. Actionable methodologies for approaching large scale connected design problems are discussed." http://post.oreilly.com/rd/9z1zks3tp6gpo3bssnqfulhnfq5f61gka0vd7e3mjeg Stories we're following at O'Reilly Make magic with Ruby DSLs Demystifying your favorite libraries' domain-specific languages http://post.oreilly.com/rd/9z1zfsa8boq04738tpkmiakad47r6i66q8kqmq7f3to 5 ways developers win with PaaS Powering your app with open source and OpenShift http://post.oreilly.com/rd/9z1zh8tda8pcd3alu0bskelum2ta5jire2dt6edh600 Biology as I/O Solid's long view includes biology as part of the creator's toolkit. http://post.oreilly.com/rd/9z1zut6es7u7miikshju59n8216t2vtkr5oke5j4k18 5 ways to improve battery life in your app Tips and tricks to squeeze the most out of your mobile UI http://post.oreilly.com/rd/9z1zm2ib9td53qklr6plls10t7t0m01ck50ovsahi90 The robotics industry could use an infusion of new DNA A melting pot of technologists, makers and product minds will lead to a new wave of robotics companies. http://post.oreilly.com/rd/9z1zb2i1g0otpmhpudu9j9thn1q7ndj9jd7f1r8jvso Solving mysteries using predictive analytics In-depth Strata community profile on Kira Radinsky http://post.oreilly.com/rd/9z1zr915obbd4s3hv208adg47amlbq4j8c4fj3gf4i8 Ag+Data "Do you want to become a farmer?!" In a sense, yes. http://post.oreilly.com/rd/9z1zvgfep9a1fatf35ikibvhsadaqvct2uve7n3qfl8 Save $200 off registration at Cloud DevCon (San Francisco, CA, June 23-25) The first Cloud DevCon event debuts June 23-25 in San Francisco with strong buy-in from the Amazon Web Services ecosystem. It is the independent event for developers and system architects building solutions for the AWS cloud that comprises 80% of the cloud market! Learn to master AWS services such as Management Console, Elastic Beanstalk, OpsWorks and CloudFormation. Network with 500 AWS enthusiasts from around the globe. Receive a $200 discount off the prevailing rate of the 3-day pass by inserting the code OREILLY when prompted on the eRegistration page. http://post.oreilly.com/rd/9z1zkngfc7h2ibjebm9g98pcqdgqcuitgkl5pn3ogu8 Save 15% at MongoDB World (New York City, June 23-25) MongoDB World brings together industry thought leaders, early MongoDB adopters, community evangelists and the engineers behind MongoDB and gives you access to knowledgeable experts who can ensure your success with MongoDB. You'll walk away with everything you need to know to build and manage modern applications. Save with the code OReilly15 for 15% off. Http://world.mongodb.com Put Up a Banner & Get a Free Book--Group 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 or video of your choice. Choose from the following list of banners: Newsletter Sign ups: http://post.oreilly.com/rd/9z1z86aa6aqr5on4unalmt64hbfgmguugdq52r76cs8 Discount Banners http://post.oreilly.com/rd/9z1zqn81icf1vehv2m7433nuutep398nbumadj9alg8 Discount Slides (Powerpoint, Keynote, Open Office) http://post.oreilly.com/rd/9z1ztliio1b28obt2lp9qroh89mp3oolculor1bt49g Velocity Conference http://post.oreilly.com/rd/9z1zvd0h4nt0231kt8eulpq7l112ruaoek98l50kpcg Velocity UG slides (Powerpoint, Keynote, Open Office) http://post.oreilly.com/rd/9z1z7lfieapmrrqpuk09ai3db29dcvt214o2b909hno Solid Conference http://post.oreilly.com/rd/9z1zurugfo5l3k5dnqq7o1rph7mo1taafnm125f81lg Buy 1 Ebook, Get 1 Free with your user group discount code: DSUG50 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 single most important rule of testing is to do it. -- Brian Kernighan and Rob Pike, "The Practice of Programming" -------------- next part -------------- An HTML attachment was scrubbed... URL: From flbaker at sbcglobal.net Tue Apr 29 04:09:50 2014 From: flbaker at sbcglobal.net (Fraser Baker) Date: Tue, 29 Apr 2014 06:09:50 -0500 Subject: [pm-h] mod perl and calendar.cgi In-Reply-To: <20140425134433.2ced11d0@cygnus> References: <3BE13FAB396F41B9B577BEC9F21B3BEB@CHEETAH><20140425112525.0d3be0ce@cygnus><02F36A93C95E420E8C0FB1E4107C328C@CHEETAH> <20140425134433.2ced11d0@cygnus> Message-ID: <39880E30A459484E82C8409AF01FD418@CHEETAH> Thanks for the comments: There were two copies of template.pm. I removed the one in /site/lib on both machines. I restarted Apache on the modPerl machine. The path to template went away from %INC, which I expected. Now there is only one copy of template.pm on both machines, which came with perl, which is 5.16. No difference. The HTML::template->initialize fails on the modPerl machine but runs on the other machine. What I don't get is that there is no function named initialize in template.pm. The offending line is my $tmpl = HTML::Template->initialize( $directives->{'template'} || 'template.html' ); Any more thoughts? Fraser ----- Original Message ----- From: "G. Wade Johnson" To: Sent: Friday, April 25, 2014 1:44 PM Subject: Re: [pm-h] mod perl and calendar.cgi > On Fri, 25 Apr 2014 12:09:59 -0500 > "Fraser Baker" wrote: > >> OK: >> >> For the server that is NOT running mod_perl >> INCLUDED DATA ARRAY is >> Term is C:/Perl/site/lib >> Term is C:/Perl/lib >> Term is . >> >> For the server that IS running mod_perl >> >> INCLUDED DATA ARRAY is >> Term is D:/www/wc-admin.com/cgi-bin >> Term is C:/Perl/site/lib >> Term is C:/Perl/lib >> Term is . >> Term is C:/Program Files/Apache Software Foundation/Apache2.2 > > Okay. This gives us some stuff to work with. > > Check each of the directories in the two sets of paths for > HTML/Template.pm. This might show more than one HTML::Template module > installed. > > Next, check to see if you have the same version of HTML::Template on > both machines. I had somehow missed earlier that these were two > separate machines. (Brain fail) > > You'll want to verify that there is only one version of HTML::Template > on each server and that the versions on the two servers match. > > If the one that works is older than the one that doesn't, upgrading will > require code changes to match the newer module. If the one that works > is the newer version, you can upgrade the version and the problem > should be solved. > > G. Wade > > >> I don't see anything here. Where to go from here? >> >> Fraser >> >> >> ----- Original Message ----- >> From: "G. Wade Johnson" >> To: >> Sent: Friday, April 25, 2014 11:25 AM >> Subject: Re: [pm-h] mod perl and calendar.cgi >> >> >> > On Fri, 25 Apr 2014 08:23:59 -0500 >> > "Fraser Baker" wrote: >> > >> >> Hi Brett: >> >> >> >> Turns out that for the mod_perl server, there are some 165 entries >> >> in %INC whereas for the not mod-perl server there is only one. >> > >> > Hi Fraser, >> > >> > There are 2 different things here. >> > >> > @INC contains a list of directories that perl searches for modules. >> > %INC contains entries for each module that is loaded. >> > >> > I believe the suggestion was to check @INC to see if a module is >> > loaded from a location you are not expecting. >> > >> > G. Wade >> > >> >> The %ENV is larger by about 5 entries on the mod_perl machine. >> >> >> >> OK, where do I go from here. >> >> >> >> Fraser >> >> >> >> ----- Original Message ----- >> >> From: "B. Estrade" >> >> To: "Houston.pm located in Houston, TX." >> >> Sent: Tuesday, April 22, 2014 10:15 AM >> >> Subject: Re: [pm-h] mod perl and calendar.cgi >> >> >> >> >> >> > Just a hunch, but I'd look to see how mod_perl affected your >> >> > environment. namely @INC. >> >> > >> >> > Brett >> >> > >> >> > On Tue, Apr 22, 2014 at 9:47 AM, Fraser Baker >> >> > wrote: >> >> >> Hi y'all: >> >> >> >> >> >> Before I added mod-perl, calendar.cgi worked. >> >> >> >> >> >> After mod perl I get this error: >> >> >> >> >> >> [Tue Apr 22 09:28:35 2014] [error] Can't locate object method >> >> >> "initialize" >> >> >> via package "HTML::Template" at >> >> >> D:/www/wc-admin.com/cgi-bin/event_calendar/calendar.cgi line >> >> >> 131.\n >> >> >> >> >> >> The offending line in calendar.cgi is: >> >> >> >> >> >> my >> >> >> >> >> >> $tmpl = HTML::Template->initialize( $directives->{'template'} || >> >> >> 'template.html' ); >> >> >> >> >> >> I searched template.pm and don't find a function named >> >> >> initialize. I do find >> >> >> >> >> >> # initialize the template buffer >> >> >> sub _init_template { >> >> >> >> >> >> How do I fix this? >> >> >> >> >> >> Fraser > > > -- > If debugging is the process of removing software bugs, the programming > must be the process of putting them in. -- Edsger Dijkstra > _______________________________________________ > Houston mailing list > Houston at pm.org > http://mail.pm.org/mailman/listinfo/houston > Website: http://houston.pm.org/