From ikeith at earthlink.net Wed Sep 1 17:09:11 2010 From: ikeith at earthlink.net (keith tarbell) Date: Wed, 1 Sep 2010 20:09:11 -0400 (GMT-04:00) Subject: [Buffalo-pm] OT: Tech Writers' Workshop @ Hackerspace (Buffalo Lab) Message-ID: <9209553.1283386151689.JavaMail.root@elwamui-polski.atl.sa.earthlink.net> Tech Writers' Workshop Are you writing technical material? Not being helped by the wannabe novelists and poetry writers at the local bookstore? If you are writing a technical article, paper, book (what's that?), manual or proposal and you are looking for help from like-minded writers, this is the workshop for you! Come to this open forum to discuss, review and critique each others work, in a safe, non-competitive environment. The first meeting will be this Sunday at 3PM. We will discuss the needs of the group and the directions we may follow. Bring your writing (or not)! When: Sundays @ 3PM Cost: "free" Where: Buffalo Hackerspace, 4th floor, 701 Seneca Street, Buffalo NY (sign in at the Guard's Desk). Questions? Contact Keith Tarbell, 716 632 8640, keithtarbell at engineering.com From magnachef at gmail.com Thu Sep 2 13:11:34 2010 From: magnachef at gmail.com (Dan Magnuszewski) Date: Thu, 2 Sep 2010 16:11:34 -0400 Subject: [Buffalo-pm] Fwd: You can now pay for PPW In-Reply-To: <4C7FFE0B.1050706@robertblackwell.com> References: <4C7FFE0B.1050706@robertblackwell.com> Message-ID: FYI ---------- Forwarded message ---------- From: Robert Blackwell Date: Thu, Sep 2, 2010 at 3:42 PM Subject: You can now pay for PPW To: ppw-announce at googlegroups.com You can now purchase your event ticket for PPW. http://pghpw.org/ppw2010/purchase -- You received this message because you are subscribed to the Google Groups "Pittsburgh Perl Workshop Announce" group. To post to this group, send email to ppw-announce at googlegroups.com. To unsubscribe from this group, send email to ppw-announce+unsubscribe at googlegroups.com . For more options, visit this group at http://groups.google.com/group/ppw-announce?hl=en. -------------- next part -------------- An HTML attachment was scrubbed... URL: From tmlems2000 at yahoo.com Tue Sep 7 07:03:02 2010 From: tmlems2000 at yahoo.com (thomas lems) Date: Tue, 7 Sep 2010 07:03:02 -0700 (PDT) Subject: [Buffalo-pm] (no subject) Message-ID: <437175.44809.qm@web80504.mail.mud.yahoo.com> Good morning All, I'm new to this list ...I'm new to perl and would like to learn as much as i could..... Thank u all From tmlems2000 at yahoo.com Tue Sep 7 07:17:13 2010 From: tmlems2000 at yahoo.com (thomas lems) Date: Tue, 7 Sep 2010 07:17:13 -0700 (PDT) Subject: [Buffalo-pm] (no subject) Message-ID: <923253.494.qm@web80505.mail.mud.yahoo.com> Good morning All, I?m new to Perl, and i used Perl to create a table with five columns and 30 rows. I was able to save the output to a text file, but I?m struggling on how to keep the data in the text file cause every time I run the script I lose the previous data. I believe the issue it?s in the Sub Save Data procedure. Here is my Sub SaveData procedure: sub SaveData { my ($file_name,$data,$rows,$cols) = @_; open(DATA,">$file_name") or die "$0 ERROR: write $file_name - $!"; for (my $i=0;$i<$rows;$i++) { for (my $j=0;$j<$cols;$j++) { printf DATA ("<%s> ",$data->{"$i,$j"}); } print DATA "\n"; } close DATA; exit; } Please help! Thanks From bennymack at gmail.com Tue Sep 7 07:57:03 2010 From: bennymack at gmail.com (Ben. B.) Date: Tue, 7 Sep 2010 10:57:03 -0400 Subject: [Buffalo-pm] (no subject) In-Reply-To: <923253.494.qm@web80505.mail.mud.yahoo.com> References: <923253.494.qm@web80505.mail.mud.yahoo.com> Message-ID: Here's some free code to chew on. The thing to takeaway is that serializing moderate amounts of data in Perl just require Data::Dumper and the do() function. There's a lot of other stuff going on as well. E.g. the current run() method will overwrite the data with what's in the __DATA__ section every time. It would probably be more useful to have it pull in and build off what's already in your data file. # In a file called DataStuff.pm # perl DataStuff.pm to run package DataStuff; use strict; use warnings; use Data::Dumper; __PACKAGE__->run if not caller; sub run { my( $class ) = @_; my( $dump ) = do { local $/; ; }; my $data1 = eval $dump or die $@; $data1->{bum} = 42; push @{ $data1->{aref} }, 11; $class->save_data( 'foo.pl', $data1 ); my $data2 = $class->get_data( 'foo.pl' ); print Dumper( $data2 ); } sub save_data { my( $class, $file_name, $data ) = @_; local $Data::Dumper::Terse = 1; open my $DATA, '>', $file_name or die "$0 ERROR: write $file_name - $!"; print $DATA Dumper( $data ); } sub get_data { my( $class, $file_name ) = @_; return do $file_name; } 1; __DATA__ { foo => 1, bar => "baz", aref => [ 1 .. 10 ], }; On Tue, Sep 7, 2010 at 10:17 AM, thomas lems wrote: > Good morning All, > I?m new to Perl, and i used Perl to create a table with five columns and > 30 rows. I was able to save the output to a text file, but I?m struggling > on how to keep the data in the text file cause every time I run the script I > lose the previous data. > I believe the issue it?s in the Sub Save Data procedure. > Here is my Sub SaveData procedure: > sub SaveData { > my ($file_name,$data,$rows,$cols) = @_; > > open(DATA,">$file_name") or die "$0 ERROR: write $file_name - $!"; > for (my $i=0;$i<$rows;$i++) > { > for (my $j=0;$j<$cols;$j++) > { > printf DATA ("<%s> ",$data->{"$i,$j"}); > } > print DATA "\n"; > } > close DATA; > exit; > } > Please help! > Thanks > > > > > _______________________________________________ > Buffalo Perl Mongers Homepage > http://buffalo.pm.org > > Buffalo-pm mailing list > Buffalo-pm at pm.org > http://mail.pm.org/mailman/listinfo/buffalo-pm -------------- next part -------------- An HTML attachment was scrubbed... URL: From magnachef at gmail.com Tue Sep 7 17:37:58 2010 From: magnachef at gmail.com (Dan Magnuszewski) Date: Tue, 7 Sep 2010 20:37:58 -0400 Subject: [Buffalo-pm] PPW Talks Announced Message-ID: Here's the list of talks that will be given during the Pittsburgh Perl Workshop. Does anyone else plan on attending? http://pghpw.org/ppw2010/schedule -Dan -------------- next part -------------- An HTML attachment was scrubbed... URL: From dmagnuszewski at yahoo.com Wed Sep 8 13:08:13 2010 From: dmagnuszewski at yahoo.com (Daniel Magnuszewski) Date: Wed, 8 Sep 2010 13:08:13 -0700 (PDT) Subject: [Buffalo-pm] Fw: [Pdx-pm] Meeting tonight: Modern Perl / Test::Builder 2 Message-ID: <602684.52067.qm@web33302.mail.mud.yahoo.com> Looks like Randal may be streaming tonight's Portland Perl Mongers meeting for those interested With the permission of the speakers, I'll be there livecasting this too. Very likely at http://ustre.am/p0/, but watch http://twitter.com/merlyn in case it ends up somewhere else. ----- Forwarded Message ---- From: Seven till Seven To: Portland Perl Mongers Sent: Wed, September 8, 2010 12:21:49 PM Subject: [Pdx-pm] Meeting tonight: Modern Perl / Test::Builder 2 Wed. September 8th, 6:53pm at FreeGeek -- 1731 SE 10th Ave. Modern Perl / Test::Builder2 with chromatic and Michael Schwern This meeting will be two shorter presentations back-to-back. The Modern Perl talk is broadly targetted at beginners and everyday general usage concepts while the Test::Builder 2 talk will delve much deeper into particular details of Perl's testing system. chromatic on Modern Perl -------------------------- http://modernperlbooks.com Perl masters talk about strange subjects such as whipupitude, manipulexity, context, lexicals, and linguistic principles. It may seem that you must be a wizard to apply these notions to your code and dexterously wield Perl's essential strengths. In truth, these ideas and idioms are deceptively simple: you use them every day when you read or write plain English. Demystifying the linguistic concepts in Perl opens up the doors of Perl mastery. Come learn the philosophy behind Perl's design in order to understand Perl and how to use its unique isms to improve your code. Schwern on Test::Builder2 -------------------------- http://github.com/schwern/test-more/blob/Test-Builder2/ lib/Test/Builder2/Design.pod Test::Builder is what most Test modules are written with these days. It lets them quietly coordinate with each other and frees the authors from having to worry about the details. It was written in 2001 and in that decade there's been an explosion of testing modules. A decade later, Test::Builder is starting to show its age and limitations. Its assumptions and biases are restraining the Perl testing community. Perl has moved on, too. When Test::Builder was written, testing was still a "new" thing. Now it's a given. We have a real object system now and a sophisticated community to take advantage. Enter Test::Builder2. A total rewrite of Test::Builder to remove its biases and let test authors do whatever they can dream up while still being the solid iron core of Perl testing and remaining compatible with Test::Builder. It takes advantage of things like Mouse (that's a small Moose), method wrappers and roles. Counter-intuitively, it does less than Test::Builder does while providing more opportunities. Schwern has a grant for Test::Builder2 from the Perl Foundation and if he doesn't release something by October they'll break his legs. So he's hoping to generate some contributors by showing off the design and code! As always, the meeting will be followed by social hour at the Lucky Lab. -- http://pdx.pm.org _______________________________________________ Pdx-pm-list mailing list Pdx-pm-list at pm.org http://mail.pm.org/mailman/listinfo/pdx-pm-list From magnachef at gmail.com Wed Sep 8 22:42:22 2010 From: magnachef at gmail.com (Dan Magnuszewski) Date: Thu, 9 Sep 2010 01:42:22 -0400 Subject: [Buffalo-pm] (no subject) In-Reply-To: <437175.44809.qm@web80504.mail.mud.yahoo.com> References: <437175.44809.qm@web80504.mail.mud.yahoo.com> Message-ID: Welcome to the group! If you're learning Perl, I'd encourage you to check out the following post so that you learn/practice the good habits :-) http://www.modernperlbooks.com/mt/2010/07/a-checklist-for-writing-maintainable-perl.html -Dan On Tue, Sep 7, 2010 at 10:03 AM, thomas lems wrote: > Good morning All, > I'm new to this list ...I'm new to perl and would like to learn as much as > i could..... > > Thank u all > > > > _______________________________________________ > Buffalo Perl Mongers Homepage > http://buffalo.pm.org > > Buffalo-pm mailing list > Buffalo-pm at pm.org > http://mail.pm.org/mailman/listinfo/buffalo-pm > -------------- next part -------------- An HTML attachment was scrubbed... URL: From mikecanzoneri at gmail.com Fri Sep 24 05:49:19 2010 From: mikecanzoneri at gmail.com (Mike Canzoneri) Date: Fri, 24 Sep 2010 08:49:19 -0400 Subject: [Buffalo-pm] Our next meeting Message-ID: Hello everyone! It's been a while since we had our regular meetings. I would like to try and start that up again. I am sure the last couple years have yielded some interesting projects and experiences for us that we can share. Normally we meet on the second Tuesday of the month so let's set up October 12th for the next meeting. Do we have anyone who can get our old room in Bell or do we need to find another place? Mike Canzoneri BPM President From eye at buffalo.edu Fri Sep 24 06:00:27 2010 From: eye at buffalo.edu (Eye, Kevin) Date: Fri, 24 Sep 2010 09:00:27 -0400 Subject: [Buffalo-pm] Our next meeting In-Reply-To: Message-ID: I think I can get access to Bell. I'll look into it, unless a more social meetup like last time at Santoras, or a change of venue in general is desired. - Kevin On 9/24/10 8:49 AM, "Mike Canzoneri" wrote: Hello everyone! It's been a while since we had our regular meetings. I would like to try and start that up again. I am sure the last couple years have yielded some interesting projects and experiences for us that we can share. Normally we meet on the second Tuesday of the month so let's set up October 12th for the next meeting. Do we have anyone who can get our old room in Bell or do we need to find another place? Mike Canzoneri BPM President _______________________________________________ Buffalo Perl Mongers Homepage http://buffalo.pm.org Buffalo-pm mailing list Buffalo-pm at pm.org http://mail.pm.org/mailman/listinfo/buffalo-pm -- Kevin Eye Web Applications Developer University Communications University at Buffalo 330 Crofts Hall Buffalo, NY 14260 eye at buffalo.edu phone (716) 645-4579 From magnachef at gmail.com Fri Sep 24 07:55:59 2010 From: magnachef at gmail.com (Dan Magnuszewski) Date: Fri, 24 Sep 2010 10:55:59 -0400 Subject: [Buffalo-pm] Our next meeting In-Reply-To: References: Message-ID: Bell is alright with me. With that said, I wouldn't hate the idea of having it at Hackerspaces, as they seem to have a bunch of other meetups there (PHP, iPhone devs, etc) and could open the group up to others. Just an FYI that Pittsburgh Perl Workshop will be held the previous weekend (8th - 10th). Is anyone planning on going? I am. -Dan On Fri, Sep 24, 2010 at 9:00 AM, Eye, Kevin wrote: > I think I can get access to Bell. I'll look into it, unless a more social > meetup like last time at Santoras, or a change of venue in general is > desired. > > - Kevin > > > On 9/24/10 8:49 AM, "Mike Canzoneri" wrote: > > Hello everyone! > > It's been a while since we had our regular meetings. I would like to > try and start that up again. I am sure the last couple years have > yielded some interesting projects and experiences for us that we can > share. Normally we meet on the second Tuesday of the month so let's > set up October 12th for the next meeting. Do we have anyone who can > get our old room in Bell or do we need to find another place? > > Mike Canzoneri > BPM President > _______________________________________________ > Buffalo Perl Mongers Homepage > http://buffalo.pm.org > > Buffalo-pm mailing list > Buffalo-pm at pm.org > http://mail.pm.org/mailman/listinfo/buffalo-pm > > > -- > Kevin Eye > Web Applications Developer > University Communications > University at Buffalo > 330 Crofts Hall > Buffalo, NY 14260 > eye at buffalo.edu > phone (716) 645-4579 > > > > _______________________________________________ > Buffalo Perl Mongers Homepage > http://buffalo.pm.org > > Buffalo-pm mailing list > Buffalo-pm at pm.org > http://mail.pm.org/mailman/listinfo/buffalo-pm > -------------- next part -------------- An HTML attachment was scrubbed... URL: From ikeith at earthlink.net Wed Sep 29 18:07:01 2010 From: ikeith at earthlink.net (keith tarbell) Date: Wed, 29 Sep 2010 21:07:01 -0400 (GMT-04:00) Subject: [Buffalo-pm] Our next meeting Message-ID: <13695893.1285808821851.JavaMail.root@mswamui-billy.atl.sa.earthlink.net> I second the motion (such as it was) for hackerspace (Buffalo Lab). It doesn't have that "Holiday Inn conference room" feel. Check the calendar and find a time slot. I can schedule the event for you. -----Original Message----- >From: Dan Magnuszewski >Sent: Sep 24, 2010 10:55 AM >To: Buffalo Perl Mongers >Subject: Re: [Buffalo-pm] Our next meeting > >Bell is alright with me. With that said, I wouldn't hate the idea of having >it at Hackerspaces, as they seem to have a bunch of other meetups there >(PHP, iPhone devs, etc) and could open the group up to others. > >Just an FYI that Pittsburgh Perl Workshop will be held the previous weekend >(8th - 10th). Is anyone planning on going? I am. > >-Dan > >On Fri, Sep 24, 2010 at 9:00 AM, Eye, Kevin wrote: > >> I think I can get access to Bell. I'll look into it, unless a more social >> meetup like last time at Santoras, or a change of venue in general is >> desired. >> >> - Kevin >> >> >> On 9/24/10 8:49 AM, "Mike Canzoneri" wrote: >> >> Hello everyone! >> >> It's been a while since we had our regular meetings. I would like to >> try and start that up again. I am sure the last couple years have >> yielded some interesting projects and experiences for us that we can >> share. Normally we meet on the second Tuesday of the month so let's >> set up October 12th for the next meeting. Do we have anyone who can >> get our old room in Bell or do we need to find another place? >> >> Mike Canzoneri >> BPM President >> _______________________________________________ >> Buffalo Perl Mongers Homepage >> http://buffalo.pm.org >> >> Buffalo-pm mailing list >> Buffalo-pm at pm.org >> http://mail.pm.org/mailman/listinfo/buffalo-pm >> >> >> -- >> Kevin Eye >> Web Applications Developer >> University Communications >> University at Buffalo >> 330 Crofts Hall >> Buffalo, NY 14260 >> eye at buffalo.edu >> phone (716) 645-4579 >> >> >> >> _______________________________________________ >> Buffalo Perl Mongers Homepage >> http://buffalo.pm.org >> >> Buffalo-pm mailing list >> Buffalo-pm at pm.org >> http://mail.pm.org/mailman/listinfo/buffalo-pm >> From jkeen at verizon.net Wed Sep 29 19:18:07 2010 From: jkeen at verizon.net (James E Keenan) Date: Wed, 29 Sep 2010 22:18:07 -0400 Subject: [Buffalo-pm] Our next meeting In-Reply-To: References: Message-ID: <41E6F2AD-C31E-40B2-A395-C8F2608E7988@verizon.net> On Sep 24, 2010, at 10:55 AM, Dan Magnuszewski wrote: > Bell is alright with me. With that said, I wouldn't hate the idea > of having it at Hackerspaces, as they seem to have a bunch of other > meetups there (PHP, iPhone devs, etc) and could open the group up > to others. I can't be there, but I endorse this line of thinking. But, regardless of *where* you hold the meeting, holding meetings on a *regular* basis is key. Jim Keenan