From gwadej at anomaly.org Wed Jul 10 18:40:33 2013 From: gwadej at anomaly.org (G. Wade Johnson) Date: Wed, 10 Jul 2013 20:40:33 -0500 Subject: [pm-h] Hack-a-thon this Thursday Message-ID: <20130710204033.4cd68460@cygnus> Last reminder that tomorrow is our little Hack-a-thon at 3131 W. Alabama. As we said people will be there between 6 and 9. Feel free to come any time during then. Press the button at the door and have them contact Todd Rinaldo for access to the building. See you there, G. Wade -- 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 Thu Jul 11 06:19:03 2013 From: gwadej at anomaly.org (G. Wade Johnson) Date: Thu, 11 Jul 2013 08:19:03 -0500 Subject: [pm-h] Good Perl Fundamentals Article Message-ID: <20130711081903.2235f865@cygnus> http://friedo.com/blog/2013/07/arrays-vs-lists-in-perl G. Wade -- I know I'm on the right track when by deleting code I'm adding functionality. -- John Carter From gwadej at anomaly.org Sun Jul 14 18:13:45 2013 From: gwadej at anomaly.org (G. Wade Johnson) Date: Sun, 14 Jul 2013 20:13:45 -0500 Subject: [pm-h] Fw: UG News: Get Your Free Books + More from O'Reilly Message-ID: <20130714201345.0ab0882e@cygnus> Begin forwarded message: Date: Sun, 14 Jul 2013 16:01:01 -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/9z1zf7cobv90tl1iksht9p9koj5gl787krbgvljjqog Send this to a friend http://post.oreilly.com/f2f/9z1zh70080mf7b4h2ar296bdggmhloli6ss20tmt2m0 Hello, Are you getting the right newsletters? Strata, Programming, Webcasts, or something else? Want more control of what comes to your inbox? Log in to your O'Reilly account, and use this handy page to pick and choose the right newsletters for you. http://post.oreilly.com/rd/9z1z2htokv8ij7ri4j7d084pmb9g56ommbq3cs7at4o Cheers, --Marsee Henon and Jon Johns 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. Lift Cookbook http://post.oreilly.com/rd/9z1z3q3mh26fin8a6s0mshpoor50ofbetk32k9gl2io Java 7 Pocket Guide, 2nd Edition http://post.oreilly.com/rd/9z1z8mnr2htqhrihqc1bdut8leesuplm4rg5396d278 HTML5 Canvas for Developers - A Hands-On Video Workshop http://post.oreilly.com/rd/9z1zfnarf593qdkn4dsd94chggkncgkrn2n9tr0iph0 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 Developing Business Intelligence Apps for SharePoint http://post.oreilly.com/rd/9z1z3q10ffdhl4ce6n0m6pkturvbf46cm31o07upo48 Apache Sqoop Cookbook http://post.oreilly.com/rd/9z1za3htfjqhoq0ef7lsiu095o0hjqh7l9pdgkssq20 Programming Ruby 1.9 & 2.0, 4th Edition http://post.oreilly.com/rd/9z1zrebamb8ecmla2qncc3if3doo8mvf24r167kb088 The Healthy Programmer http://post.oreilly.com/rd/9z1zrsdj99cb2nn1t55256nqdbp0cahltct9mj29vu0 Windows PowerShell 3.0 First Steps http://post.oreilly.com/rd/9z1zt105i7rfg6fla8tjsvm484mb6qo15pfdml49lv8 Learning SPARQL, 2nd Edition http://post.oreilly.com/rd/9z1z6mgcb9q2qjdm4oqsqu6r8udmvmhb3ldn7nj1528 O'Reilly Webcasts: Meet Experts Online For Free! Modern Web Design with Progressive Enhancement, Responsive Design, and CSS3. Presented by Jonathan Stark Wednesday, July 31 10am PT, 1pm ET Building compelling web experiences that work across a wide range of devices without descending to "lowest common denominator" design can be a challenge. Follow along with Jonathan Stark as he uses progressive enhancement, responsive design, and cutting edge CSS3 techniques to build a sophisticated user interface that will run virtually everywhere. 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/9z1ziheglaoqq6v2eavp4jch19kov2fua8bufqt519g. mHealth + Telehealth World (July 24-26 Boston) eHealth is a growing area of technology design and development. This year, two events are joining forces in Boston to showcase mobile healthcare and connected healthcare. Both are essential to achieve accessibility, interoperability and sustainability in consumer and accountable care models, with the goal of transforming the delivery of care and improving ROI. You can attend with $200 off with code BXG266. www.worldcongress.com/mHealth Join us at OSCON - For Free Can't make it to OSCON this year? If budget constraints are holding you back, the OSCON Expo Hall Pass is your ticket to the OSCON experience. You'll get access to not only the Expo Hall, but also sponsored tutorials and sessions, all evening events including Ignite,A5of a Feather sessions, the OSCON 5K, parties, plus opportunities for networking and lots more. Register with discount code UGEXPO to get your free Expo Hall Only Pass (normally $25). See a list of everything included with this pass and register at: http://post.oreilly.com/rd/9z1zj5o0lv84l79c2tsgtev43d46gdubf2dbq503e7g OSCON 5K Glow Run/Walk and After Party Don't forget to pack your running shoes and glow-in-the-dark gear, because the OSCON 5K fun run is back. And this year we're adding a fun twist - we're running in the dark. Whether you are an avid runner or just starting out, you are invited to join other OSCON attendees Monday evening July 22 for a run/jog/walk through some of the most scenic and emblematic sites of Portland. http://post.oreilly.com/rd/9z1zn120nvhm4hedi8vadihgbr7glcc22p3eb1v6dp8 The O'Reilly Blogs Our blogs contain some of the most up to date information on technology and innovation. Here are a few recent posts we'd like to share with you. * Printing Plastic Tchotchkes Was Fun, but MakerBot Was Just Too High-Maintenance Breaking up with MakerBot by Sanders Kleinfeld http://post.oreilly.com/rd/9z1zt48tasnckl1h9gfluplnv3rqkvca8bl7gsllaf8 * Velocity CA Recap Failure is a Feature by Courtney Nash http://post.oreilly.com/rd/9z1zl29fqbpp1jcoaum61pemb9cv9jcsufo032e56s0 * Open source software creeps in to health care through clinical research Report from OpenClinica conference by Andy Oram http://post.oreilly.com/rd/9z1z31a354pecqioik33o2uc7318p574h39gde17jrg * Context Aware Programming by Tim O'Reilly http://post.oreilly.com/rd/9z1zi5j91f7p94r54j2d16aecb8ceti0429gku6ru8o 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/9z1zfjoiqhpf7d5l52modsfsik5uu0t1sg9vtj36hk8 OSCON Conference Banners http://post.oreilly.com/rd/9z1zr1hmt6b8os39ntu3qi8osh6dmg3161pv0ij05io UG Program Banners http://post.oreilly.com/rd/9z1zt8ddum2dmruj83dqi5mpc23ha97enpbomcui8t8 UG Discount Banners http://post.oreilly.com/rd/9z1z7fravdbok3b6h4l3jf8m28eni8anlv1vlbabs50 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 ================================== -- If you torture data long enough, it will confess to anything. -- unknown econometrian -------------- next part -------------- An HTML attachment was scrubbed... URL: From gwadej at anomaly.org Tue Jul 16 11:53:02 2013 From: gwadej at anomaly.org (G. Wade Johnson) Date: Tue, 16 Jul 2013 13:53:02 -0500 Subject: [pm-h] Request for Topics for August Houston.pm meeting Message-ID: <20130716135302.740dbba4@cygnus> Our next meeting is scheduled for August 8. So, it's time once again to request topics or presenters. I have had comments off list from members saying that we've had several more advanced meetings lately and wondering when we could have some more basic talks. Is there interest in more basic talks? - If so, any ideas of topics you would like explained? Is anyone interested in giving a basic talk? - If so, any topic you would like to explain? Any other topics people are interested in, or would like to present? Thanks to our last meeting, I think it is safe to say that a hack-a-thon type meeting is an acceptable alternative to our technical or social meetings. Looking forward to hearing from the group? G. Wade -- Be careful about reading health books. You may die of a misprint. -- Mark Twain From gwadej at anomaly.org Tue Jul 16 11:58:11 2013 From: gwadej at anomaly.org (G. Wade Johnson) Date: Tue, 16 Jul 2013 13:58:11 -0500 Subject: [pm-h] Anyone interested in helping to find speakers or topics? Message-ID: <20130716135811.66cdbc5f@cygnus> As you are aware, I've been the Houston.pm lead for a long time. As such, I've kind of become set in my ways when it comes to getting presentations. Is anyone interested in taking over the duty of finding presentations (and prodding presenters) for the Houston.pm meetings? You wouldn't have to take over all of the lead duties (unless you want to...), but someone else, with a different take topics or meeting styles, might be a way to liven up the meetings again. Email the list if you are interested. Or, if you aren't comfortable with initial proposals in front of the group, feel free to contact me directly. Looking forward to your input. G. Wade -- 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 todd at rinaldo.us Wed Jul 17 10:47:03 2013 From: todd at rinaldo.us (Todd Rinaldo) Date: Wed, 17 Jul 2013 12:47:03 -0500 Subject: [pm-h] Request for Topics for August Houston.pm meeting In-Reply-To: <20130716135302.740dbba4@cygnus> References: <20130716135302.740dbba4@cygnus> Message-ID: On Tue, Jul 16, 2013 at 1:53 PM, G. Wade Johnson wrote: > Our next meeting is scheduled for August 8. So, it's time once again to > request topics or presenters. Everyone: please suggest topics even if you can't speak on them. It'd be very useful to know. > I have had comments off list from members saying that we've had several > more advanced meetings lately and wondering when we could have some > more basic talks. This question isn't to Wade. Why aren't we having these discussions on list? Todd From estrabd at gmail.com Wed Jul 17 13:14:34 2013 From: estrabd at gmail.com (B. Estrade) Date: Wed, 17 Jul 2013 15:14:34 -0500 Subject: [pm-h] Request for Topics for August Houston.pm meeting In-Reply-To: References: <20130716135302.740dbba4@cygnus> Message-ID: On Wed, Jul 17, 2013 at 12:47 PM, Todd Rinaldo wrote: > On Tue, Jul 16, 2013 at 1:53 PM, G. Wade Johnson > wrote: > > Our next meeting is scheduled for August 8. So, it's time once again to > > request topics or presenters. > Everyone: please suggest topics even if you can't speak on them. It'd > be very useful to know. > I keep threatening to do one on Redis.pm and using it for task queueing and dumb message brokering. I just need to commit and do it. Want to pencil me in for the 8th? Let me know how long I'll have. I personally like to have meetings with split talks, so maybe we could have a second speaker on something - maybe more or less "basic"? Brett > > > I have had comments off list from members saying that we've had several > > more advanced meetings lately and wondering when we could have some > > more basic talks. > This question isn't to Wade. Why aren't we having these discussions on > list? > > Todd > _______________________________________________ > 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 Wed Jul 17 14:29:35 2013 From: gwadej at anomaly.org (G. Wade Johnson) Date: Wed, 17 Jul 2013 16:29:35 -0500 Subject: [pm-h] Request for Topics for August Houston.pm meeting In-Reply-To: References: <20130716135302.740dbba4@cygnus> Message-ID: <20130717162935.7b26adcd@cygnus> On Wed, 17 Jul 2013 12:47:03 -0500 Todd Rinaldo wrote: > On Tue, Jul 16, 2013 at 1:53 PM, G. Wade Johnson > wrote: > > Our next meeting is scheduled for August 8. So, it's time once > > again to request topics or presenters. > Everyone: please suggest topics even if you can't speak on them. It'd > be very useful to know. > > > I have had comments off list from members saying that we've had > > several more advanced meetings lately and wondering when we could > > have some more basic talks. > This question isn't to Wade. Why aren't we having these discussions > on list? In the past, people have contacted me directly for several reasons. Here are some of them (along with what I normally say): 1. Not sure if the talk would be interesting The answer is almost always "yes", by the way. 2. I want to see a talk on the subject, but I don't want to be seen as "volunteering" to talk on something I don't know. I normally pass the idea to the list, like this time. 3. Not sure that they know enough to show themselves as an "expert" by talking. You don't have to be an expert to talk on any subject. "I'm learning topic X and this is what I've found" is a great talk idea. People often learn a bit more when they agree to present. It's more than likely that you are more of an expert on some topic than some of the people there. We are all looking to learn. 4. Not sure if they would be ready in time. The best way I know to make sure you are ready is to commit in front of the group. If you can't do it, we can always reschedule. But a deadline is a great way to focus the attention. 5. The members of this group are too advanced, they wouldn't want to "waste" a meeting on a basics talk. Some people won't show if the talk isn't to their interest. Others show up just to see a new take on stuff they already know. Still others may not know the topic and were afraid to ask or didn't know enough to ask. I think that some feel that contacting me directly is better than announcing to the group that they don't know something. This is a pretty forgiving group, that is pretty happy to help if you let them know what you want to know. G. Wade -- Perfection is achieved not when there is nothing more to add but when there is nothing more to take out. -- Antoine de Saint Exupery From gwadej at anomaly.org Wed Jul 17 14:33:39 2013 From: gwadej at anomaly.org (G. Wade Johnson) Date: Wed, 17 Jul 2013 16:33:39 -0500 Subject: [pm-h] Request for Topics for August Houston.pm meeting In-Reply-To: References: <20130716135302.740dbba4@cygnus> Message-ID: <20130717163339.6488de07@cygnus> On Wed, 17 Jul 2013 15:14:34 -0500 "B. Estrade" wrote: > On Wed, Jul 17, 2013 at 12:47 PM, Todd Rinaldo > wrote: > > > On Tue, Jul 16, 2013 at 1:53 PM, G. Wade Johnson > > wrote: > > > Our next meeting is scheduled for August 8. So, it's time once > > > again to request topics or presenters. > > Everyone: please suggest topics even if you can't speak on them. > > It'd be very useful to know. > > > > I keep threatening to do one on Redis.pm and using it for task > queueing and dumb message brokering. I just need to commit and do it. > > Want to pencil me in for the 8th? Let me know how long I'll have. I > personally like to have meetings with split talks, so maybe we could > have a second speaker on something - maybe more or less "basic"? Hey Brett, What do you want the topic name to be? Once I have that, I'll announce the topic. G. Wade > > > I have had comments off list from members saying that we've had > > > several more advanced meetings lately and wondering when we could > > > have some more basic talks. > > This question isn't to Wade. Why aren't we having these discussions > > on list? > > > > Todd > > _______________________________________________ > > Houston mailing list > > Houston at pm.org > > http://mail.pm.org/mailman/listinfo/houston > > Website: http://houston.pm.org/ > > -- Simplicity and elegance are unpopular because they require hard work and discipline to achieve and education to be appreciated. -- Edsger Dijkstra From gwadej at anomaly.org Wed Jul 17 14:35:52 2013 From: gwadej at anomaly.org (G. Wade Johnson) Date: Wed, 17 Jul 2013 16:35:52 -0500 Subject: [pm-h] Request for Topics for August Houston.pm meeting In-Reply-To: References: <20130716135302.740dbba4@cygnus> Message-ID: <20130717163552.056b2a2d@cygnus> On Wed, 17 Jul 2013 15:14:34 -0500 "B. Estrade" wrote: [snip] > Want to pencil me in for the 8th? Let me know how long I'll have. I > personally like to have meetings with split talks, so maybe we could > have a second speaker on something - maybe more or less "basic"? If someone would like to do a short talk along with Brett's, let me know and I can announce that. Or, we could add a Q&A/discussion sort of thing at the end, where people can ask about things that might be too small to make an actual talk. Long ago, we tried to do two talks per meeting: basic and advanced. That didn't work out at the time. We could either try that again, or just go with the discussion idea. Any thoughts, opinions, etc.? G. Wade -- That's what I love about GUIs: They make simple tasks easier, and complex tasks impossible. -- John William Chambless, <39v25i$2rbc at whale.st.usm.edu> From estrabd at gmail.com Thu Jul 18 07:47:04 2013 From: estrabd at gmail.com (B. Estrade) Date: Thu, 18 Jul 2013 09:47:04 -0500 Subject: [pm-h] Request for Topics for August Houston.pm meeting In-Reply-To: <20130717163339.6488de07@cygnus> References: <20130716135302.740dbba4@cygnus> <20130717163339.6488de07@cygnus> Message-ID: On Wed, Jul 17, 2013 at 4:33 PM, G. Wade Johnson wrote: > On Wed, 17 Jul 2013 15:14:34 -0500 > "B. Estrade" wrote: > > > On Wed, Jul 17, 2013 at 12:47 PM, Todd Rinaldo > > wrote: > > > > > On Tue, Jul 16, 2013 at 1:53 PM, G. Wade Johnson > > > wrote: > > > > Our next meeting is scheduled for August 8. So, it's time once > > > > again to request topics or presenters. > > > Everyone: please suggest topics even if you can't speak on them. > > > It'd be very useful to know. > > > > > > > I keep threatening to do one on Redis.pm and using it for task > > queueing and dumb message brokering. I just need to commit and do it. > > > > Want to pencil me in for the 8th? Let me know how long I'll have. I > > personally like to have meetings with split talks, so maybe we could > > have a second speaker on something - maybe more or less "basic"? > > Hey Brett, > > What do you want the topic name to be? Once I have that, I'll announce > the topic. > You may call it, "An Introduction to Work Queuing with Redis.pm" That'll give me some leeway about how deep I go into the more interesting aspects of this topic. Thanks! Brett > > G. Wade > > > > > I have had comments off list from members saying that we've had > > > > several more advanced meetings lately and wondering when we could > > > > have some more basic talks. > > > This question isn't to Wade. Why aren't we having these discussions > > > on list? > > > > > > Todd > > > _______________________________________________ > > > Houston mailing list > > > Houston at pm.org > > > http://mail.pm.org/mailman/listinfo/houston > > > Website: http://houston.pm.org/ > > > > > > -- > Simplicity and elegance are unpopular because they require hard work and > discipline to achieve and education to be appreciated. > -- Edsger Dijkstra > -------------- next part -------------- An HTML attachment was scrubbed... URL: From gwadej at anomaly.org Thu Jul 18 10:09:50 2013 From: gwadej at anomaly.org (G. Wade Johnson) Date: Thu, 18 Jul 2013 12:09:50 -0500 Subject: [pm-h] Request for Topics for August Houston.pm meeting In-Reply-To: References: <20130716135302.740dbba4@cygnus> <20130717163339.6488de07@cygnus> Message-ID: <20130718120950.41afa790@cygnus> Brett is now "tentatively" scheduled for the August 8 meeting. "An Introduction to Work Queuing with Redis.pm" G. Wade On Thu, 18 Jul 2013 09:47:04 -0500 "B. Estrade" wrote: > On Wed, Jul 17, 2013 at 4:33 PM, G. Wade Johnson > wrote: > > > On Wed, 17 Jul 2013 15:14:34 -0500 > > "B. Estrade" wrote: > > > > > On Wed, Jul 17, 2013 at 12:47 PM, Todd Rinaldo > > > wrote: > > > > > > > On Tue, Jul 16, 2013 at 1:53 PM, G. Wade Johnson > > > > wrote: > > > > > Our next meeting is scheduled for August 8. So, it's time once > > > > > again to request topics or presenters. > > > > Everyone: please suggest topics even if you can't speak on them. > > > > It'd be very useful to know. > > > > > > > > > > I keep threatening to do one on Redis.pm and using it for task > > > queueing and dumb message brokering. I just need to commit and > > > do it. > > > > > > Want to pencil me in for the 8th? Let me know how long I'll have. > > > I personally like to have meetings with split talks, so maybe we > > > could have a second speaker on something - maybe more or less > > > "basic"? > > > > Hey Brett, > > > > What do you want the topic name to be? Once I have that, I'll > > announce the topic. > > > > You may call it, > > "An Introduction to Work Queuing with Redis.pm" > > That'll give me some leeway about how deep I go into the more > interesting aspects of this topic. > > Thanks! > Brett > > > > > > G. Wade > > > > > > > I have had comments off list from members saying that we've > > > > > had several more advanced meetings lately and wondering when > > > > > we could have some more basic talks. > > > > This question isn't to Wade. Why aren't we having these > > > > discussions on list? > > > > > > > > Todd > > > > _______________________________________________ > > > > Houston mailing list > > > > Houston at pm.org > > > > http://mail.pm.org/mailman/listinfo/houston > > > > Website: http://houston.pm.org/ > > > > > > > > > > -- > > Simplicity and elegance are unpopular because they require hard > > work and discipline to achieve and education to be appreciated. > > -- Edsger Dijkstra > > -- Against logic there is no armor like ignorance. -- Laurence J. Peter From gwadej at anomaly.org Mon Jul 22 07:24:55 2013 From: gwadej at anomaly.org (G. Wade Johnson) Date: Mon, 22 Jul 2013 09:24:55 -0500 Subject: [pm-h] Good article from chromatic about testing Message-ID: <20130722092455.174d6844@cygnus> chromatic nails some of the subtly of writing good tests here. http://www.modernperlbooks.com/mt/2013/07/good-tests-hate-ambiguity.html He doesn't provide any advice you can directly use, it's more of a "how do I think about this thing" kind of post. G. Wade -- The function of good software is to make the complex appear to be simple. -- Grady Booch From csboyd07 at gmail.com Thu Jul 25 10:57:55 2013 From: csboyd07 at gmail.com (Charles Boyd) Date: Thu, 25 Jul 2013 12:57:55 -0500 Subject: [pm-h] Good article from chromatic about testing In-Reply-To: <20130722092455.174d6844@cygnus> References: <20130722092455.174d6844@cygnus> Message-ID: His earlier article on testing was pretty good too: "Grouping everything under functions also has the benefit of reminding other developers that it's okay to write more functions. For example, if every test for every action in a controller ought to verify access permissions, it's easy to write a helper function to set up an environment with and without access permissions to test both ways. (Some of these test functions get promoted to project-specific test libraries.)" http://www.modernperlbooks.com/mt/2013/05/organizing-perl-test-files.html On Mon, Jul 22, 2013 at 9:24 AM, G. Wade Johnson wrote: > chromatic nails some of the subtly of writing good tests here. > > http://www.modernperlbooks.com/mt/2013/07/good-tests-hate-ambiguity.html > > He doesn't provide any advice you can directly use, it's more of a "how > do I think about this thing" kind of post. > > 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/ > -- 2048D/E67424BF (GnuPG) -------------- next part -------------- An HTML attachment was scrubbed... URL: From gwadej at anomaly.org Thu Jul 25 11:21:43 2013 From: gwadej at anomaly.org (G. Wade Johnson) Date: Thu, 25 Jul 2013 13:21:43 -0500 Subject: [pm-h] Good article from chromatic about testing In-Reply-To: References: <20130722092455.174d6844@cygnus> Message-ID: <20130725132143.6c55f53c@cygnus> On Thu, 25 Jul 2013 12:57:55 -0500 Charles Boyd wrote: > His earlier article on testing was pretty good too: > > "Grouping everything under functions also has the benefit of reminding > other developers that it's okay to write more functions. For example, > if every test for every action in a controller ought to verify access > permissions, it's easy to write a helper function to set up an > environment with and without access permissions to test both ways. > (Some of these test functions get promoted to project-specific test > libraries.)" > > http://www.modernperlbooks.com/mt/2013/05/organizing-perl-test-files.html I remember that one. One issue chromatic skips in both of these is the issue of "too much information hiding" in tests. Sometimes, having the tests point out how much set up there is before using a function or object is an important indicator of design problems. Hiding that in a function can make it hard to recognize your mistake. Using jUnit style testing years ago, I saw setUp() methods that ran dozens to over a hundred lines long. The individual tests looked clean because the ugliness was hidden in setUp(). Like all important programming decisions, there are always trade-offs. G. Wade > On Mon, Jul 22, 2013 at 9:24 AM, G. Wade Johnson > wrote: > > > chromatic nails some of the subtly of writing good tests here. > > > > http://www.modernperlbooks.com/mt/2013/07/good-tests-hate-ambiguity.html > > > > He doesn't provide any advice you can directly use, it's more of a > > "how do I think about this thing" kind of post. > > > > 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/ > > > > > -- Fortune knocks but once, but misfortune has much more patience. -- Laurence J. Peter From gwadej at anomaly.org Mon Jul 29 06:32:02 2013 From: gwadej at anomaly.org (G. Wade Johnson) Date: Mon, 29 Jul 2013 08:32:02 -0500 Subject: [pm-h] Contributions to Perl modules Message-ID: <20130729083202.531c5cda@cygnus> At the last meeting, I got into a conversation about contributing to Perl modules. Here's a couple of recent links on just that subject. I thought there might be other people that have similar questions. * Adopt a CPAN module: http://neilb.org/2013/07/24/adopt-a-module.html * Start Contributing to Perl, It's Easy: https://speakerdeck.com/missaugustina/start-contributing-to-perl-its-easy-1 The second starts with suggestion about contributing to Perl itself. If you don't think you are up for that, keep going. Later slides cover Perl modules. Remember all of CPAN was written by people who were just like you (at least at some point). G. Wade -- Rule of thumb: if you think something is clever and sophisticated, beware: it is probably self-indulgence. -- Donald Norman From mrdvt92 at yahoo.com Wed Jul 31 12:07:22 2013 From: mrdvt92 at yahoo.com (Michael R. Davis) Date: Wed, 31 Jul 2013 12:07:22 -0700 (PDT) Subject: [pm-h] Perl tie variable to database then using local on it In-Reply-To: <20130729083202.531c5cda@cygnus> References: <20130729083202.531c5cda@cygnus> Message-ID: <1375297642.9453.YahooMailNeo@web120602.mail.ne1.yahoo.com> Perl Folks, Has anyone attempted to tie a variable to Oracle's v$session values? Or any database value for that matter? ? I am new to tie but not to DBI or Perl. ? Perl tie and the action seems like a perfect match but I cannot get?them to work together cleanly. ?SQL is "BEGIN DBMS_APPLICATION_INFO.set_action(action_name => ?); END;" ? my $action; tie $action, MY:OBJ (db=>$db); local $action="Outside"; { ? local $action="Inside"; ? #do some stuff as action is Inside } ?#action is now "Outside" again due to the tie. ? It works but I get this error when the database object goes out of scope.? ? DBD::Oracle::db DESTROY failed: ORA-03135: connection lost contact Process ID: 0 Session ID: 77 Serial number: 30453 (DBD ERROR: OCISessionEnd) during global destruction. Is this?hopeless or has anyone gotten it to work successfully? ? I've tried every test I can come up with to ensure we are not trying to write to the handle when we are trying to disconnect but no luck yet.?? ?sub STORE { ? my $self=shift; ? my $value=shift; ? return unless defined $value; #Note local calls STORE first time with undef then with real value. no need to hit database twice ? return unless defined $self->parent; #DESTROYED ? return unless defined $self->parent->dbh; #DESTROYED ? return unless $self->parent->dbh->{"Active"}; #Disconnected ? $self->parent->action($value); #void context for performance ? return; } ? I assume that somewhere along the way I need to untie the variable before the database handle goes out of scope but not sure where that needs to be done. ? Thanks for any help that?can provide! Mike -------------- next part -------------- An HTML attachment was scrubbed... URL: