From arocker at Vex.Net Sun Jan 1 07:36:50 2012 From: arocker at Vex.Net (arocker at Vex.Net) Date: Sun, 1 Jan 2012 10:36:50 -0500 Subject: [tpm] sending email from cgi on windows In-Reply-To: References: Message-ID: > (if memory serves, Windows bypasses the shebang line). It does, indeed. A server should definitely be fussy about where it finds its executables. You want to take a look at the paths defined. I suggest trying as close to a "Hello, world" script as you can get to tell you about successful location and execution. From talexb at gmail.com Tue Jan 3 13:20:34 2012 From: talexb at gmail.com (Alex Beamish) Date: Tue, 3 Jan 2012 16:20:34 -0500 Subject: [tpm] sending email from cgi on windows In-Reply-To: References: Message-ID: Hi Tom, I used a program called blat when I was faced with the same issue some time ago. You might see if it's possible to use it in this case. Alex On 12/31/11, Tom Legrady wrote: > My brother is moving a simple web site for someone, but while he is > competent handling HTML, he doesn't program. I developed a simple CGI > script to email the contents of the form .... not expected to be large > volume, but it will be information that needs to be incorporated into the > history being presented, along with pictures and such files to be added. > > The script worked fine on my website and on my brother's, but arriving to > the server actually being used, it's a windows machine ( so I changed the > #! as instructed ); they won't let me do more that ftp up the file. They > don't have sendmail. How can I send mail from a windows machine using > MIME-Lite, without having local sendmail. All mail will be going to one > address. > > > Tom > -- Sent from my mobile device Alex Beamish Toronto, Ontario aka talexb From mike at stok.ca Tue Jan 3 14:49:23 2012 From: mike at stok.ca (Mike Stok) Date: Tue, 3 Jan 2012 17:49:23 -0500 Subject: [tpm] Fwd: UG News - Learn from Experts: Repairing Problems in Windows 7, IOS 5, Health IT, The Information Diet and More References: <1325617924.18884.0.503145@post.oreilly.com> Message-ID: <620504EB-2D78-44F4-97D7-47B9D65FA952@stok.ca> Meet experts online. Join us for these free, live webcasts. Attendance is limited, so register now. We'll send you a reminder before the webcast. And please feel free to forward this invitation to others. Diagnosing and Repairing Difficult Problems in Windows 7 Presented by Mike Halsey, author of Troubleshooting Windows 7 Inside Out Thursday, Jan 12, 2012 at 10:00AM PT In this webcast, Mike Halsey, the author of Troubleshooting Windows 7 Inside Out talks you through how to diagnose really stubborn and hidden problems in Windows 7, and explains how you can go about fixing them. Mastering Network Connectivity in iOS 5 Presented by Vandad Nahavandipoor, author of iOS 5 Programming Cookbook Friday, Jan 13, 2012 at 10:00AM PT In this webcast, you will learn about all new iOS 5 APIs to handle synchronous and asynchronous connections in iOS. You will learn how to download files, set up time outs for your network connections, create a download manager that uses operation queues and many more. 6 New Year Resolutions for Health IT Presented by Fred Trotter, David Uhlman Tuesday, Jan 17, 2012 at 10:00AM PT If you are interested in insight into the strange behind the scenes workings of healthcare or are already a grizzled veteran, this webcast presentation will cover a diverse set of topics sure to be as informative as they are interesting and funny. The Information Diet: A History of the Diet Presented by Clay Johnson, author of The Information Diet Wednesday, Jan 18, 2012 at 10:00AM PT We'll talk about obesity ?? where it comes from, and what's been done to prevent it. Clay Johnson, author of The Information Diet, will explain the parallels between them in this live webcast presentation. Digital Black & White: Craft & Vision Presented by Harold Davis, author of Google Advertising Tools, Second Edition Thursday, Jan 19, 2012 at 10:00AM PT In this webcast, master photographer Harold Davis, author of the best-selling Creative Black & White: Digital Photography Tips & Techniques examines the vision requires to create black & white photos in the digital era, and explains the craft involved in his monochromatic images. To learn more about O'Reilly Webcasts, and watch on-demand videos of previous webcasts, visit: oreilly.com/webcasts -- Mike Stok http://www.stok.ca/~mike/ The "`Stok' disclaimers" apply. -------------- next part -------------- An HTML attachment was scrubbed... URL: From arocker at Vex.Net Wed Jan 4 08:35:47 2012 From: arocker at Vex.Net (arocker at Vex.Net) Date: Wed, 4 Jan 2012 11:35:47 -0500 Subject: [tpm] Great podcast Message-ID: <2f8f0edd008879863de3b7b0588b572b.squirrel@mail.vex.net> If you have 45 minutes to spare, go to http://www.codingbynumbers.com/ and pick up Episode 31. (This indirect specification is necessary, because the directories are organised by compression type.) It's a very enjoyable talk, involving our favourite Mad Scientist. Useful if you are trying to justify Perl to a non-technical type. From quantum.mechanic.1964 at gmail.com Thu Jan 5 07:51:15 2012 From: quantum.mechanic.1964 at gmail.com (Quantum Mechanic) Date: Thu, 5 Jan 2012 10:51:15 -0500 Subject: [tpm] Great podcast In-Reply-To: <2f8f0edd008879863de3b7b0588b572b.squirrel@mail.vex.net> References: <2f8f0edd008879863de3b7b0588b572b.squirrel@mail.vex.net> Message-ID: <838A1B68-AD25-4448-BF9C-F0110EAACBF0@gmail.com> Thanks! Cheers, Shaun ==> auoyd! ^w woJ3 +uaS <== On Jan 4, 2012, at 11:35 AM, arocker at Vex.Net wrote: > > If you have 45 minutes to spare, go to http://www.codingbynumbers.com/ and > pick up Episode 31. (This indirect specification is necessary, because the > directories are organised by compression type.) > > It's a very enjoyable talk, involving our favourite Mad Scientist. Useful > if you are trying to justify Perl to a non-technical type. > > _______________________________________________ > toronto-pm mailing list > toronto-pm at pm.org > http://mail.pm.org/mailman/listinfo/toronto-pm From mike at stok.ca Thu Jan 5 15:19:20 2012 From: mike at stok.ca (Mike Stok) Date: Thu, 5 Jan 2012 18:19:20 -0500 Subject: [tpm] Volunteer wanted to organize the January meeting Message-ID: As I'll be travelling during the end of the month could someone step forward to make sure the meeting happens this month? I have heard a couple of people mention things they might be able to do for the January meeting - can you get back to me on or off list so that I can either announce the meeting, or start shaking the bushes before too much of the month has passed? Regards, Mike -- Mike Stok http://www.stok.ca/~mike/ The "`Stok' disclaimers" apply. -------------- next part -------------- An HTML attachment was scrubbed... URL: From cj at enersave.ca Fri Jan 6 11:07:38 2012 From: cj at enersave.ca (Chris Jones) Date: Fri, 06 Jan 2012 14:07:38 -0500 Subject: [tpm] Bundling a Perl, mysql WEB app for local use Message-ID: <20120106190741.45D312E8A81@xx1.develooper.com> We have an old web app running using Apache, Perl and Mysql on Windows - the development server. We have a client that can't always get internet access in meetings and is hoping we can find a way to "bundle" the app for easy install on local computers. Setting the app up takes a few minutes - install Perl, install the modules, install mysql, install Apache, configure the local server. Is there some way to send a DVD to someone so they can click and install? Would this be something a consultant would take on to help us with? Chris Jones 14 Oneida Avenue Toronto, ON M5J 2E3. Tel. 416-203-7465 Fax. 416-946-1005 From alexmac131 at hotmail.com Sat Jan 7 08:03:56 2012 From: alexmac131 at hotmail.com (alex mackinnon) Date: Sat, 7 Jan 2012 11:03:56 -0500 Subject: [tpm] Bundling a Perl, mysql WEB app for local use In-Reply-To: <20120106190741.45D312E8A81@xx1.develooper.com> References: <20120106190741.45D312E8A81@xx1.develooper.com> Message-ID: sort answer depends on the person installing Suggestion: install all on the cd boot os and all from the cd not the harddrive. or even a USB drive with Linux etc (pun intended) on it Sent from my iPhone On 2012-01-06, at 14:07, Chris Jones wrote: > We have an old web app running using Apache, Perl and Mysql on Windows - the development server. We have a client that can't always get internet access in meetings and is hoping we can find a way to "bundle" the app for easy install on local computers. Setting the app up takes a few minutes - install Perl, install the modules, install mysql, install Apache, configure the local server. Is there some way to send a DVD to someone so they can click and install? > > Would this be something a consultant would take on to help us with? > > > > Chris Jones > 14 Oneida Avenue > Toronto, ON M5J 2E3. > Tel. 416-203-7465 > Fax. 416-946-1005 > > > _______________________________________________ > toronto-pm mailing list > toronto-pm at pm.org > http://mail.pm.org/mailman/listinfo/toronto-pm > From arocker at Vex.Net Sat Jan 7 08:28:52 2012 From: arocker at Vex.Net (arocker at Vex.Net) Date: Sat, 7 Jan 2012 11:28:52 -0500 Subject: [tpm] Bundling a Perl, mysql WEB app for local use In-Reply-To: References: <20120106190741.45D312E8A81@xx1.develooper.com> Message-ID: <714be50e86182c653ea78b29c9e6d3b3.squirrel@mail.vex.net> > > Suggestion: install all on the cd boot os and all from the cd not the > harddrive. or even a USB drive with Linux etc (pun intended) on it > Could we make this the meeting topic for this month? From alexmac131 at hotmail.com Sat Jan 7 08:38:14 2012 From: alexmac131 at hotmail.com (alex mackinnon) Date: Sat, 7 Jan 2012 11:38:14 -0500 Subject: [tpm] Bundling a Perl, mysql WEB app for local use In-Reply-To: <714be50e86182c653ea78b29c9e6d3b3.squirrel@mail.vex.net> References: <20120106190741.45D312E8A81@xx1.develooper.com> <714be50e86182c653ea78b29c9e6d3b3.squirrel@mail.vex.net> Message-ID: someone can I am in san Fran for two weeks at the end of the month Sent from my iPhone On 2012-01-07, at 11:28, arocker at Vex.Net wrote: >> >> Suggestion: install all on the cd boot os and all from the cd not the >> harddrive. or even a USB drive with Linux etc (pun intended) on it >> > Could we make this the meeting topic for this month? > > _______________________________________________ > toronto-pm mailing list > toronto-pm at pm.org > http://mail.pm.org/mailman/listinfo/toronto-pm > From aimass at yabarana.com Sat Jan 7 08:53:03 2012 From: aimass at yabarana.com (Alejandro Imass) Date: Sat, 7 Jan 2012 11:53:03 -0500 Subject: [tpm] Bundling a Perl, mysql WEB app for local use In-Reply-To: <20120106190741.45D312E8A81@xx1.develooper.com> References: <20120106190741.45D312E8A81@xx1.develooper.com> Message-ID: PAR On Jan 7, 2012 10:46 AM, "Chris Jones" wrote: > We have an old web app running using Apache, Perl and Mysql on Windows - > the development server. We have a client that can't always get internet > access in meetings and is hoping we can find a way to "bundle" the app for > easy install on local computers. Setting the app up takes a few minutes - > install Perl, install the modules, install mysql, install Apache, configure > the local server. Is there some way to send a DVD to someone so they can > click and install? > > Would this be something a consultant would take on to help us with? > > > > Chris Jones > 14 Oneida Avenue > Toronto, ON M5J 2E3. > Tel. 416-203-7465 > Fax. 416-946-1005 > > > ______________________________**_________________ > toronto-pm mailing list > toronto-pm at pm.org > http://mail.pm.org/mailman/**listinfo/toronto-pm > -------------- next part -------------- An HTML attachment was scrubbed... URL: From stuart at morungos.com Sat Jan 7 11:28:27 2012 From: stuart at morungos.com (Stuart Watt) Date: Sat, 7 Jan 2012 14:28:27 -0500 Subject: [tpm] Bundling a Perl, mysql WEB app for local use In-Reply-To: <20120106190741.45D312E8A81@xx1.develooper.com> References: <20120106190741.45D312E8A81@xx1.develooper.com> Message-ID: <65EC17C4-3E57-491D-B38F-C11710944FF6@morungos.com> A while back I did actually put together a complete build of a local Apache, PHP, and MySQL for Windows, capable of running from a USB drive from a Windows script. I intended it for teaching rather than production use, so it might be the approach that works, and could also handle Perl -- I can't remember whether I did go that far, to be honest. It didn't require installing anything -- that was the whole point, as this was to run in a context where installation permissions were not available. Perl and Apache are relatively easy to run that way (Perl is actually easier than PHP on Windows), both Apache and MySQL require a small amount of command line option persuasion to run as processes rather than as services. The weak point is getting any modules in place. Strawberry would help a lot, as you have C for the modules that matter, but my experience has been it is generally best to just get all the modules you need ready and install them either directly or into a local::lib or equivalent. Otherwise you are at the mercy of whatever might have changed on CPAN. So I'd suggest just building a workable combined scripted distribution which will kick off all the processes (no Windows services!) that you need, with all the right environment variables set up. This can be done, and will always run consistently, but will make preparation more work. All the best Stuart On 2012-01-06, at 2:07 PM, Chris Jones wrote: > We have an old web app running using Apache, Perl and Mysql on Windows - the development server. We have a client that can't always get internet access in meetings and is hoping we can find a way to "bundle" the app for easy install on local computers. Setting the app up takes a few minutes - install Perl, install the modules, install mysql, install Apache, configure the local server. Is there some way to send a DVD to someone so they can click and install? > > Would this be something a consultant would take on to help us with? > > > > Chris Jones > 14 Oneida Avenue > Toronto, ON M5J 2E3. > Tel. 416-203-7465 > Fax. 416-946-1005 > > > _______________________________________________ > toronto-pm mailing list > toronto-pm at pm.org > http://mail.pm.org/mailman/listinfo/toronto-pm From adnan.kobir at gmail.com Sat Jan 7 15:16:44 2012 From: adnan.kobir at gmail.com (Adnan Kobir) Date: Sat, 7 Jan 2012 18:16:44 -0500 Subject: [tpm] Bundling a Perl, mysql WEB app for local use In-Reply-To: <65EC17C4-3E57-491D-B38F-C11710944FF6@morungos.com> References: <20120106190741.45D312E8A81@xx1.develooper.com> <65EC17C4-3E57-491D-B38F-C11710944FF6@morungos.com> Message-ID: Here is another option: Install VirtualBox and install your LAMP on there and take a snapshot or "gold image". Then its a matter of packaging that snapshot along with the required install files for VirtualBox on a DVD and have a script run the entire installation and configuring process. I've done something similar using a DOS batch file a while back, but it would be 10x easier writing say a powershell script to do it or better yet a perl script converted to .exe ( if you're not linux savvy try perl2exe for that ). That way, once you've done it once its very ease to pump out newer/updated "snaphots or gold images". adnan On Sat, Jan 7, 2012 at 2:28 PM, Stuart Watt wrote: > A while back I did actually put together a complete build of a local > Apache, PHP, and MySQL for Windows, capable of running from a USB drive > from a Windows script. I intended it for teaching rather than production > use, so it might be the approach that works, and could also handle Perl -- > I can't remember whether I did go that far, to be honest. It didn't require > installing anything -- that was the whole point, as this was to run in a > context where installation permissions were not available. > > Perl and Apache are relatively easy to run that way (Perl is actually > easier than PHP on Windows), both Apache and MySQL require a small amount > of command line option persuasion to run as processes rather than as > services. The weak point is getting any modules in place. Strawberry would > help a lot, as you have C for the modules that matter, but my experience > has been it is generally best to just get all the modules you need ready > and install them either directly or into a local::lib or equivalent. > Otherwise you are at the mercy of whatever might have changed on CPAN. So > I'd suggest just building a workable combined scripted distribution which > will kick off all the processes (no Windows services!) that you need, with > all the right environment variables set up. This can be done, and will > always run consistently, but will make preparation more work. > > All the best > Stuart > > On 2012-01-06, at 2:07 PM, Chris Jones wrote: > > > We have an old web app running using Apache, Perl and Mysql on Windows - > the development server. We have a client that can't always get internet > access in meetings and is hoping we can find a way to "bundle" the app for > easy install on local computers. Setting the app up takes a few minutes - > install Perl, install the modules, install mysql, install Apache, configure > the local server. Is there some way to send a DVD to someone so they can > click and install? > > > > Would this be something a consultant would take on to help us with? > > > > > > > > Chris Jones > > 14 Oneida Avenue > > Toronto, ON M5J 2E3. > > Tel. 416-203-7465 > > Fax. 416-946-1005 > > > > > > _______________________________________________ > > toronto-pm mailing list > > toronto-pm at pm.org > > http://mail.pm.org/mailman/listinfo/toronto-pm > > _______________________________________________ > toronto-pm mailing list > toronto-pm at pm.org > http://mail.pm.org/mailman/listinfo/toronto-pm > -------------- next part -------------- An HTML attachment was scrubbed... URL: From ait at p2ee.org Sun Jan 8 15:31:14 2012 From: ait at p2ee.org (Alejandro Imass) Date: Sun, 8 Jan 2012 18:31:14 -0500 Subject: [tpm] Bundling a Perl, mysql WEB app for local use In-Reply-To: <20120106190741.45D312E8A81@xx1.develooper.com> References: <20120106190741.45D312E8A81@xx1.develooper.com> Message-ID: On Fri, Jan 6, 2012 at 2:07 PM, Chris Jones wrote: > We have an old web app running using Apache, Perl and Mysql on Windows - the > development server. ?We have a client that can't always get internet access > in meetings and is hoping we can find a way to "bundle" the app for easy > install on local computers. ?Setting the app up takes a few minutes - > install Perl, install the modules, install mysql, install Apache, configure > the local server. ?Is there some way to send a DVD to someone so they can > click and install? > > Would this be something a consultant would take on to help us with? > http://search.cpan.org/~rschupp/PAR-Packer-1.012/lib/pp.pm > > > Chris Jones > 14 Oneida Avenue > Toronto, ON M5J 2E3. > Tel. ?416-203-7465 > Fax. 416-946-1005 > > > _______________________________________________ > toronto-pm mailing list > toronto-pm at pm.org > http://mail.pm.org/mailman/listinfo/toronto-pm From cj at enersave.ca Mon Jan 9 07:19:50 2012 From: cj at enersave.ca (Chris Jones) Date: Mon, 09 Jan 2012 10:19:50 -0500 Subject: [tpm] Bundling a Perl, mysql WEB app for local use In-Reply-To: References: <20120106190741.45D312E8A81@xx1.develooper.com> Message-ID: <20120109151953.BB5B9120332@xx1.develooper.com> Thanks everyone for the suggestions and pointers. Because the MySQL database needs to be written to, I don't believe the application can be standalone on a CD/DVD. The best sounding approach is to create the necessary scripts to install the application locally. Thanks again! >On Fri, Jan 6, 2012 at 2:07 PM, Chris Jones wrote: > > We have an old web app running using Apache, Perl and Mysql on > Windows - the > > development server. We have a client that can't always get internet access > > in meetings and is hoping we can find a way to "bundle" the app for easy > > install on local computers. Setting the app up takes a few minutes - > > install Perl, install the modules, install mysql, install Apache, configure > > the local server. Is there some way to send a DVD to someone so they can > > click and install? > > > > Would this be something a consultant would take on to help us with? > > > >http://search.cpan.org/~rschupp/PAR-Packer-1.012/lib/pp.pm > > > > > > > > Chris Jones > > 14 Oneida Avenue > > Toronto, ON M5J 2E3. > > Tel. 416-203-7465 > > Fax. 416-946-1005 > > > > > > _______________________________________________ > > toronto-pm mailing list > > toronto-pm at pm.org > > http://mail.pm.org/mailman/listinfo/toronto-pm Chris Jones 14 Oneida Avenue Toronto, ON M5J 2E3. Tel. 416-203-7465 Fax. 416-946-1005 From arocker at Vex.Net Mon Jan 9 07:36:47 2012 From: arocker at Vex.Net (arocker at Vex.Net) Date: Mon, 9 Jan 2012 10:36:47 -0500 Subject: [tpm] Bundling a Perl, mysql WEB app for local use In-Reply-To: <20120109151953.BB5B9120332@xx1.develooper.com> References: <20120106190741.45D312E8A81@xx1.develooper.com> <20120109151953.BB5B9120332@xx1.develooper.com> Message-ID: This topic really seems to have the material for a meeting in it. It may be a particular case of a more general problem. How about Chris formally presenting the problem, solution suggesters presenting their ideas and reasons, and then a general discussion? A sort of "Lightning Talks with a Theme". From ait at p2ee.org Mon Jan 9 07:42:38 2012 From: ait at p2ee.org (Alejandro Imass) Date: Mon, 9 Jan 2012 10:42:38 -0500 Subject: [tpm] Bundling a Perl, mysql WEB app for local use In-Reply-To: <20120109151953.BB5B9120332@xx1.develooper.com> References: <20120106190741.45D312E8A81@xx1.develooper.com> <20120109151953.BB5B9120332@xx1.develooper.com> Message-ID: On Mon, Jan 9, 2012 at 10:19 AM, Chris Jones wrote: > Thanks everyone for the suggestions and pointers. > Because the MySQL database needs to be written to, I don't believe the > application can be standalone on a CD/DVD. Yeah, PAR (my earlier suggestion) won't work either because you wouldn't be able to bundle Apache either. > The best sounding approach is to create the necessary scripts to install the > application locally. > Maybe your best bet would be to create a small footprint VirtualBox (https://www.virtualbox.org/) using a light-weight Linux distro. That is, create a small Linux distribution (e.g. Debian) without X11 or anything. Just the basic OS, and the LAMP layers. It will _easily_ fit on a single CD and the you can just copy the contents of the CD to any Windows station and runs run the VM. You could also create the VM using Windows but it may be larger than the size of a CD. > > Thanks again! > > > >> On Fri, Jan 6, 2012 at 2:07 PM, Chris Jones wrote: >> > We have an old web app running using Apache, Perl and Mysql on Windows - >> > the >> > development server. ?We have a client that can't always get internet >> > access >> > in meetings and is hoping we can find a way to "bundle" the app for easy >> > install on local computers. ?Setting the app up takes a few minutes - >> > install Perl, install the modules, install mysql, install Apache, >> > configure >> > the local server. ?Is there some way to send a DVD to someone so they >> > can >> > click and install? >> > >> > Would this be something a consultant would take on to help us with? >> > >> >> http://search.cpan.org/~rschupp/PAR-Packer-1.012/lib/pp.pm >> >> >> > >> > >> > Chris Jones >> > 14 Oneida Avenue >> > Toronto, ON M5J 2E3. >> > Tel. ?416-203-7465 >> > Fax. 416-946-1005 >> > >> > >> > _______________________________________________ >> > toronto-pm mailing list >> > toronto-pm at pm.org >> > http://mail.pm.org/mailman/listinfo/toronto-pm > > > > Chris Jones > 14 Oneida Avenue > Toronto, ON M5J 2E3. > Tel. ?416-203-7465 > Fax. 416-946-1005 > > > _______________________________________________ > toronto-pm mailing list > toronto-pm at pm.org > http://mail.pm.org/mailman/listinfo/toronto-pm From vrakitine at gmail.com Mon Jan 9 17:50:59 2012 From: vrakitine at gmail.com (Valeri Rakitine) Date: Mon, 9 Jan 2012 20:50:59 -0500 Subject: [tpm] Hi, I am back ... Message-ID: I see a lot of changes since my last visit 6 years ago Where is Richard Dice? I was in US (2005-2008) and then was busy with my project for ODS2 Inc. mostly as Architect. I very passionate about Perl since 1999 and did a lot. Is it possible to find perl developer job in GTA ? I checked everything I could for three months and found nothing I am seriously thinking about start to looking for a job in US again to keep me on track and begging to my wife to follow me. ~val http://ca.linkedin.com/pub/valeri-rakitine/27/777/315 -- *It's always feels good to be the best ...* -------------- next part -------------- An HTML attachment was scrubbed... URL: From cj at enersave.ca Tue Jan 10 10:43:30 2012 From: cj at enersave.ca (Chris Jones) Date: Tue, 10 Jan 2012 13:43:30 -0500 Subject: [tpm] Bundling a Perl, mysql WEB app for local use In-Reply-To: References: <20120106190741.45D312E8A81@xx1.develooper.com> <20120109151953.BB5B9120332@xx1.develooper.com> Message-ID: <20120110184332.B57882E8A82@xx1.develooper.com> I would like the opportunity if others are interested. At 10:36 AM 09/01/2012, arocker at Vex.Net wrote: >This topic really seems to have the material for a meeting in it. It may >be a particular case of a more general problem. > >How about Chris formally presenting the problem, solution suggesters >presenting their ideas and reasons, and then a general discussion? A sort >of "Lightning Talks with a Theme". > >_______________________________________________ >toronto-pm mailing list >toronto-pm at pm.org >http://mail.pm.org/mailman/listinfo/toronto-pm Chris Jones 14 Oneida Avenue Toronto, ON M5J 2E3. Tel. 416-203-7465 Fax. 416-946-1005 From mike at stok.ca Tue Jan 10 12:33:02 2012 From: mike at stok.ca (Mike Stok) Date: Tue, 10 Jan 2012 15:33:02 -0500 Subject: [tpm] Bundling a Perl, mysql WEB app for local use In-Reply-To: <20120110184332.B57882E8A82@xx1.develooper.com> References: <20120106190741.45D312E8A81@xx1.develooper.com> <20120109151953.BB5B9120332@xx1.develooper.com> <20120110184332.B57882E8A82@xx1.develooper.com> Message-ID: <88800CB7-2D07-4929-88CF-46E8D015EEFC@stok.ca> This sounds like a good idea. Does anyone have any objections to it being this month's meeting? Any suggestions for the name of a moderator and a couple of speakers so I can update the web site? Mike On 2012-01-10, at 1:43 PM, Chris Jones wrote: > I would like the opportunity if others are interested. > > At 10:36 AM 09/01/2012, arocker at Vex.Net wrote: > >> This topic really seems to have the material for a meeting in it. It may >> be a particular case of a more general problem. >> >> How about Chris formally presenting the problem, solution suggesters >> presenting their ideas and reasons, and then a general discussion? A sort >> of "Lightning Talks with a Theme". >> >> _______________________________________________ >> toronto-pm mailing list >> toronto-pm at pm.org >> http://mail.pm.org/mailman/listinfo/toronto-pm > > > Chris Jones > 14 Oneida Avenue > Toronto, ON M5J 2E3. > Tel. 416-203-7465 > Fax. 416-946-1005 > > > _______________________________________________ > toronto-pm mailing list > toronto-pm at pm.org > http://mail.pm.org/mailman/listinfo/toronto-pm -- Mike Stok http://www.stok.ca/~mike/ The "`Stok' disclaimers" apply. From liam at w3.org Tue Jan 10 12:41:18 2012 From: liam at w3.org (Liam R E Quin) Date: Tue, 10 Jan 2012 15:41:18 -0500 Subject: [tpm] Bundling a Perl, mysql WEB app for local use In-Reply-To: <20120109151953.BB5B9120332@xx1.develooper.com> References: <20120106190741.45D312E8A81@xx1.develooper.com> <20120109151953.BB5B9120332@xx1.develooper.com> Message-ID: <1326228078.29113.233.camel@localhost.localdomain> On Mon, 2012-01-09 at 10:19 -0500, Chris Jones wrote: > Thanks everyone for the suggestions and pointers. > Because the MySQL database needs to be written to, I don't believe > the application can be standalone on a CD/DVD. Use an in-memory tinysql database instead? -- Liam Quin - XML Activity Lead, W3C, http://www.w3.org/People/Quin/ Pictures from old books: http://fromoldbooks.org/ From arocker at Vex.Net Sat Jan 14 10:19:26 2012 From: arocker at Vex.Net (arocker at Vex.Net) Date: Sat, 14 Jan 2012 13:19:26 -0500 Subject: [tpm] Bundling a Perl, mysql WEB app for local use In-Reply-To: <88800CB7-2D07-4929-88CF-46E8D015EEFC@stok.ca> References: <20120106190741.45D312E8A81@xx1.develooper.com> <20120109151953.BB5B9120332@xx1.develooper.com> <20120110184332.B57882E8A82@xx1.develooper.com> <88800CB7-2D07-4929-88CF-46E8D015EEFC@stok.ca> Message-ID: <9d5e53beec39826d2492b5beb08b69a3.squirrel@mail.vex.net> Mike has asked me to help arrange this month's meeting, as he's going to be away. Would everyone be happy with my earlier suggestion; Chris presents the problem, and other people offer their proposed solutions, then we discuss? This would require Chris, at least one person to propose a solution, and ideally someone to moderate. (I would, but it's difficult to combine that with elevator operator. If someone will do the elevator, I could.) Can I have volunteer names as soon as possible, please? (It's just over a week to go.) From fulko.hew at gmail.com Wed Jan 18 10:43:31 2012 From: fulko.hew at gmail.com (Fulko Hew) Date: Wed, 18 Jan 2012 13:43:31 -0500 Subject: [tpm] how to merge/interleave two arrays? Message-ID: Is there an easy way to merge/interleave two arrays (via a built-in)? I haven't found it. I.e. [1,4,2,5,3,6] = merge([1,2,3], [4,5,6]); TIA Fulko -------------- next part -------------- An HTML attachment was scrubbed... URL: From ejanev at gmail.com Wed Jan 18 10:55:09 2012 From: ejanev at gmail.com (Emil Janev) Date: Wed, 18 Jan 2012 13:55:09 -0500 Subject: [tpm] how to merge/interleave two arrays? In-Reply-To: References: Message-ID: Hi Fulko, I don't think there is a built in. Closest to it would be List::MoreUtils's "zip()". From the doc ( http://search.cpan.org/~adamk/List-MoreUtils-0.33/lib/List/MoreUtils.pm ) : mesh ARRAY1 ARRAY2 [ ARRAY3 ... ]zip ARRAY1 ARRAY2 [ ARRAY3 ... ] Returns a list consisting of the first elements of each array, then the second, then the third, etc, until all arrays are exhausted. Examples: @x = qw/a b c d/; @y = qw/1 2 3 4/; @z = mesh @x, @y; # returns a, 1, b, 2, c, 3, d, 4 @a = ('x'); @b = ('1', '2'); @c = qw/zip zap zot/; @d = mesh @a, @b, @c; # x, 1, zip, undef, 2, zap, undef, undef, zot zip is an alias for mesh. On Wed, Jan 18, 2012 at 1:43 PM, Fulko Hew wrote: > Is there an easy way to merge/interleave two arrays (via a built-in)? > I haven't found it. I.e. > > [1,4,2,5,3,6] = merge([1,2,3], [4,5,6]); > > TIA > Fulko > > > _______________________________________________ > toronto-pm mailing list > toronto-pm at pm.org > http://mail.pm.org/mailman/listinfo/toronto-pm > > -- Emil Janev -------------- next part -------------- An HTML attachment was scrubbed... URL: From carlo at carlocostantini.ca Wed Jan 18 14:05:05 2012 From: carlo at carlocostantini.ca (Carlo Costantini) Date: Wed, 18 Jan 2012 17:05:05 -0500 Subject: [tpm] toronto-pm Digest, Vol 58, Issue 11 In-Reply-To: References: Message-ID: Not sure exactly what you want this for but you can do using hash slices: http://www.perlmonks.org/?node_id=4402 #!/usr/bin/perl # my %c = (); my @a = (1,2,3); my @b = (4,5,6); @c{@a} = @b; @b = %c; print @b; #143625 If order needs to be preserved then you would have to pull it out of the hash by the order of the keys. If you just want to make the corresponding indices of the array match to create hash, then a hash slice is your best friend. On Wed, Jan 18, 2012 at 3:00 PM, wrote: > Send toronto-pm mailing list submissions to > ? ? ? ?toronto-pm at pm.org > > To subscribe or unsubscribe via the World Wide Web, visit > ? ? ? ?http://mail.pm.org/mailman/listinfo/toronto-pm > or, via email, send a message with subject or body 'help' to > ? ? ? ?toronto-pm-request at pm.org > > You can reach the person managing the list at > ? ? ? ?toronto-pm-owner at pm.org > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of toronto-pm digest..." > > > Today's Topics: > > ? 1. how to merge/interleave two arrays? (Fulko Hew) > ? 2. Re: how to merge/interleave two arrays? (Emil Janev) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Wed, 18 Jan 2012 13:43:31 -0500 > From: Fulko Hew > To: toronto-pm at pm.org > Subject: [tpm] how to merge/interleave two arrays? > Message-ID: > ? ? ? ? > Content-Type: text/plain; charset="iso-8859-1" > > Is there an easy way to merge/interleave two arrays (via a built-in)? > I haven't found it. ?I.e. > > [1,4,2,5,3,6] = merge([1,2,3], [4,5,6]); > > TIA > Fulko > -------------- next part -------------- > An HTML attachment was scrubbed... > URL: > > ------------------------------ > > Message: 2 > Date: Wed, 18 Jan 2012 13:55:09 -0500 > From: Emil Janev > To: Fulko Hew > Cc: toronto-pm at pm.org > Subject: Re: [tpm] how to merge/interleave two arrays? > Message-ID: > ? ? ? ? > Content-Type: text/plain; charset="iso-8859-1" > > Hi Fulko, > > I don't think there is a built in. Closest to it would be List::MoreUtils's > "zip()". From the doc ( > http://search.cpan.org/~adamk/List-MoreUtils-0.33/lib/List/MoreUtils.pm ) : > > mesh ARRAY1 ARRAY2 [ ARRAY3 ... ]zip ARRAY1 ARRAY2 [ ARRAY3 ... ] > > Returns a list consisting of the first elements of each array, then the > second, then the third, etc, until all arrays are exhausted. > > Examples: > > ? ?@x = qw/a b c d/; > ? ?@y = qw/1 2 3 4/; > ? ?@z = mesh @x, @y; ? ? ? # returns a, 1, b, 2, c, 3, d, 4 > > ? ?@a = ('x'); > ? ?@b = ('1', '2'); > ? ?@c = qw/zip zap zot/; > ? ?@d = mesh @a, @b, @c; ? # x, 1, zip, undef, 2, zap, undef, undef, zot > > zip is an alias for mesh. > > > > > > On Wed, Jan 18, 2012 at 1:43 PM, Fulko Hew wrote: > >> Is there an easy way to merge/interleave two arrays (via a built-in)? >> I haven't found it. ?I.e. >> >> [1,4,2,5,3,6] = merge([1,2,3], [4,5,6]); >> >> TIA >> Fulko >> >> >> _______________________________________________ >> toronto-pm mailing list >> toronto-pm at pm.org >> http://mail.pm.org/mailman/listinfo/toronto-pm >> >> > > > -- > Emil Janev > -------------- next part -------------- > An HTML attachment was scrubbed... > URL: > > ------------------------------ > > _______________________________________________ > toronto-pm mailing list > toronto-pm at pm.org > http://mail.pm.org/mailman/listinfo/toronto-pm > > > End of toronto-pm Digest, Vol 58, Issue 11 > ****************************************** From arocker at Vex.Net Sun Jan 22 10:09:16 2012 From: arocker at Vex.Net (arocker at Vex.Net) Date: Sun, 22 Jan 2012 13:09:16 -0500 Subject: [tpm] Bundling a Perl, mysql WEB app for local use In-Reply-To: References: <20120106190741.45D312E8A81@xx1.develooper.com> Message-ID: <258b2c9b3e593f37373d392c43aff685.squirrel@mail.vex.net> One of the solutions offered to Chris's problem was PAR-Packer: http://search.cpan.org/~rschupp/PAR-Packer-1.012/lib/pp.pm Is anybody who knows the module able and willing to talk about it on Thursday? We might as well explore all the ideas offered. From indy at indigostar.com Sun Jan 22 19:39:06 2012 From: indy at indigostar.com (Indy Singh) Date: Sun, 22 Jan 2012 22:39:06 -0500 Subject: [tpm] Bundling a Perl, mysql WEB app for local use In-Reply-To: <258b2c9b3e593f37373d392c43aff685.squirrel@mail.vex.net> References: <20120106190741.45D312E8A81@xx1.develooper.com> <258b2c9b3e593f37373d392c43aff685.squirrel@mail.vex.net> Message-ID: The OP need a solution that provides Perl, Apache and MySQL. All that PAR can do it bundle a a perl script and perl modules into a self extracting zip file and run the extracted perl script. It does nothing to handle the Apache requirements. As the poster of PAR suggestion has already said: "Yeah, PAR (my earlier suggestion) won't work ...." Indy Singh IndigoSTAR Software -- www.indigostar.com -----Original Message----- From: arocker at Vex.Net Sent: Sunday, January 22, 2012 1:09 PM To: toronto-pm at pm.org Subject: Re: [tpm] Bundling a Perl, mysql WEB app for local use One of the solutions offered to Chris's problem was PAR-Packer: http://search.cpan.org/~rschupp/PAR-Packer-1.012/lib/pp.pm Is anybody who knows the module able and willing to talk about it on Thursday? We might as well explore all the ideas offered. _______________________________________________ toronto-pm mailing list toronto-pm at pm.org http://mail.pm.org/mailman/listinfo/toronto-pm From cj at enersave.ca Tue Jan 24 07:32:36 2012 From: cj at enersave.ca (Chris Jones) Date: Tue, 24 Jan 2012 10:32:36 -0500 Subject: [tpm] Bundling a Perl, mysql WEB app for local use In-Reply-To: References: <20120106190741.45D312E8A81@xx1.develooper.com> <258b2c9b3e593f37373d392c43aff685.squirrel@mail.vex.net> Message-ID: <20120124153238.070942E8A82@xx1.develooper.com> My apologies, I haven't been responding. I was out of town until late last week and not able to get to a computer. I believe the PM meeting is this Thursday? Chris Jones 14 Oneida Avenue Toronto, ON M5J 2E3. Tel. 416-203-7465 Fax. 416-946-1005 From ait at p2ee.org Thu Jan 26 11:57:49 2012 From: ait at p2ee.org (Alejandro Imass) Date: Thu, 26 Jan 2012 14:57:49 -0500 Subject: [tpm] Bundling a Perl, mysql WEB app for local use In-Reply-To: <258b2c9b3e593f37373d392c43aff685.squirrel@mail.vex.net> References: <20120106190741.45D312E8A81@xx1.develooper.com> <258b2c9b3e593f37373d392c43aff685.squirrel@mail.vex.net> Message-ID: Sure I can demo PAR tonight. I'm relatively new to the city and to toronto-pm: Somebody PLEASE send exact address and time!!!! Thanks, -- Alejandro Imass On Sun, Jan 22, 2012 at 1:09 PM, wrote: > > One of the solutions offered to Chris's problem was PAR-Packer: > http://search.cpan.org/~rschupp/PAR-Packer-1.012/lib/pp.pm > > Is anybody who knows the module able and willing to talk about it on > Thursday? We might as well explore all the ideas offered. > > > > > _______________________________________________ > toronto-pm mailing list > toronto-pm at pm.org > http://mail.pm.org/mailman/listinfo/toronto-pm From arocker at Vex.Net Fri Jan 27 06:41:22 2012 From: arocker at Vex.Net (arocker at Vex.Net) Date: Fri, 27 Jan 2012 09:41:22 -0500 Subject: [tpm] Last night's meeting Message-ID: <9dc7dd974938e5567e84b3ebb709df7e.squirrel@mail.vex.net> Chris explained his application packaging problem, and in true Perl TMTOWTDI tradition, received several different possible solutions, all interesting. One of the complicating factors in the problem was a C program used to crunch some numbers. It would be interesting to see if performing those calculations in pure Perl has a significant impact on the application's performance. I would be surprised if it did. Thanks to everyone who contributed. Aside from minor recalcitrance on the part of the AV equipment, I think it went well. From toddr at cpanel.net Fri Jan 27 07:12:22 2012 From: toddr at cpanel.net (Todd E Rinaldo) Date: Fri, 27 Jan 2012 09:12:22 -0600 Subject: [tpm] Last night's meeting In-Reply-To: <9dc7dd974938e5567e84b3ebb709df7e.squirrel@mail.vex.net> References: <9dc7dd974938e5567e84b3ebb709df7e.squirrel@mail.vex.net> Message-ID: <951D14D6-E6A8-4DB2-A59B-4760A72B6985@cpanel.net> I'm just curious. Did you guys discuss B::C? On Jan 27, 2012, at 8:41 AM, arocker at Vex.Net wrote: > > Chris explained his application packaging problem, and in true Perl > TMTOWTDI tradition, received several different possible solutions, all > interesting. > > One of the complicating factors in the problem was a C program used to > crunch some numbers. It would be interesting to see if performing those > calculations in pure Perl has a significant impact on the application's > performance. I would be surprised if it did. > > Thanks to everyone who contributed. Aside from minor recalcitrance on the > part of the AV equipment, I think it went well. > > > _______________________________________________ > toronto-pm mailing list > toronto-pm at pm.org > http://mail.pm.org/mailman/listinfo/toronto-pm From jztam at yahoo.com Fri Jan 27 07:23:44 2012 From: jztam at yahoo.com (J Z Tam) Date: Fri, 27 Jan 2012 07:23:44 -0800 (PST) Subject: [tpm] OT::Spam Q: Which FOSS for vulnerability scanning do you recommend? In-Reply-To: Message-ID: <1327677824.8336.YahooMailClassic@web125704.mail.ne1.yahoo.com> SPAM,? Forgot to ask at the restaurant... What FOSS IDS / vulnerability scanners have you liked. SUSE Linux, Windows2003, WindowsXPSp3 I'm new again to the SOX/PCI compliance game, and have 0 budget for this initial assessment scan. Thanks in advance.?? /jordan -------------- next part -------------- An HTML attachment was scrubbed... URL: From ait at p2ee.org Fri Jan 27 07:41:21 2012 From: ait at p2ee.org (Alejandro Imass) Date: Fri, 27 Jan 2012 10:41:21 -0500 Subject: [tpm] OT::Spam Q: Which FOSS for vulnerability scanning do you recommend? In-Reply-To: <1327677824.8336.YahooMailClassic@web125704.mail.ne1.yahoo.com> References: <1327677824.8336.YahooMailClassic@web125704.mail.ne1.yahoo.com> Message-ID: On Fri, Jan 27, 2012 at 10:23 AM, J Z Tam wrote: > > SPAM,? Forgot to ask at the restaurant... What FOSS IDS / vulnerability scanners have you liked. > SUSE Linux, Windows2003, WindowsXPSp3 > We use fail2ban and it's quite effective. It just annoys the hell out of crackers and they go find an easier server.... From arocker at Vex.Net Fri Jan 27 08:02:27 2012 From: arocker at Vex.Net (arocker at Vex.Net) Date: Fri, 27 Jan 2012 11:02:27 -0500 Subject: [tpm] Last night's meeting In-Reply-To: <951D14D6-E6A8-4DB2-A59B-4760A72B6985@cpanel.net> References: <9dc7dd974938e5567e84b3ebb709df7e.squirrel@mail.vex.net> <951D14D6-E6A8-4DB2-A59B-4760A72B6985@cpanel.net> Message-ID: <17504502fc831b0f8ea7cdd2e7aff2de.squirrel@mail.vex.net> > I'm just curious. Did you guys discuss B::C? > Not that I noticed. From Mashton at 4All.com Fri Jan 27 08:33:17 2012 From: Mashton at 4All.com (Mike Ashton) Date: Fri, 27 Jan 2012 11:33:17 -0500 Subject: [tpm] OT::Spam Q: Which FOSS for vulnerability scanning do you recommend? In-Reply-To: <1327677824.8336.YahooMailClassic@web125704.mail.ne1.yahoo.com> References: <1327677824.8336.YahooMailClassic@web125704.mail.ne1.yahoo.com> Message-ID: <4F22D1CD.6060408@4All.com> Jordan, We install fail2ban on server as part of every servers initial install and it works great. If you need more industrial strength tools (open source ones ) a few to look at are: Zenos - http://community.zenoss.org/index.jspa Nagios - http://www.nagios.org/ OpenNMS - http://www.opennms.org/about/ Zabbix - http://www.zabbix.com Icinga - https://www.icinga.org/ I have not yet tested any of these , but plan on implementing a solution this year so started to collect candidates for further investigation. Mike On 01/27/2012 10:23 AM, J Z Tam wrote: > SPAM, Forgot to ask at the restaurant... What FOSS IDS / > vulnerability scanners have you liked. > SUSE Linux, Windows2003, WindowsXPSp3 > > I'm new again to the SOX/PCI compliance game, and have 0 budget for > this initial assessment scan. > > Thanks in advance. > /jordan > > > > _______________________________________________ > toronto-pm mailing list > toronto-pm at pm.org > http://mail.pm.org/mailman/listinfo/toronto-pm -------------- next part -------------- An HTML attachment was scrubbed... URL: From ait at p2ee.org Sun Jan 29 13:24:49 2012 From: ait at p2ee.org (Alejandro Imass) Date: Sun, 29 Jan 2012 16:24:49 -0500 Subject: [tpm] Follow-up to Jan 26 2012 Meeting PAR Example and Presentation Message-ID: Hello all, It was a pleasure meeting all of you and I enjoyed all the different and clever solutions that were presented. Most of all, enjoyed the fact that the nearby bar offers Steam Whistle, so you can be sure I won't take my car to the Mongers meetings anymore ;-) Anyway, as promised, I am publishing the PAR/GTK example for everyone here. I changed the namespace of the sample project to "pargtk" and also threw in the presentation so it's all kept in one place. I have allowed anonymous checkout to the project's repo and anyone wanting write access is welcome to provide to me a user/pass credential pair and I will allow write access to that person. To get a copy just: svn co svn://svn.yabarana.com/pargtk The code I showed you is in the trunk. I also eliminated the binary from the repo because it took too much space and it also requires a build in each arch/pltaform so it really made no sense to keep such a large binary file in the project. The .pl executable should run without building the PAR file, and you should make sure it runs before attempting to build the binary. To build the single file binary just type make. For those that ask for write access: please don't upload the binary again! The presentation folder is in LaTeX/Beamer but the PDF is already built so no need to to make it. This small GTK project uses Glade3 and I think it could also serve the purpose to expand it to a fully functioning app to teach Perl/GTK development in future PM meetings. If there is any interest in Perl GTK Devel, I can probably develop this example a little bit more, and perhaps make a series of GTK workshops. As was mentioned in the meeting PAR + Perl GTK could be a n interesting cross-platform option for many. Best, -- Alejandro Imass From arocker at Vex.Net Mon Jan 30 06:26:34 2012 From: arocker at Vex.Net (arocker at Vex.Net) Date: Mon, 30 Jan 2012 09:26:34 -0500 Subject: [tpm] I forgot on Thursday Message-ID: <308878c73baf693f4071150893bac5c8.squirrel@mail.vex.net> To mention that the latest version of Rakudo was named in our honour: http://www.nntp.perl.org/group/perl.perl6.compiler/2012/01/msg7873.html (for anyone who's interested, there's finally also a new version of Rakudo* http://rakudo.org) From cj at enersave.ca Mon Jan 30 11:07:31 2012 From: cj at enersave.ca (Chris Jones) Date: Mon, 30 Jan 2012 14:07:31 -0500 Subject: [tpm] Last night's meeting In-Reply-To: <9dc7dd974938e5567e84b3ebb709df7e.squirrel@mail.vex.net> References: <9dc7dd974938e5567e84b3ebb709df7e.squirrel@mail.vex.net> Message-ID: <20120130190742.0A848123383@xx1.develooper.com> I thoroughly enjoyed the evening. I am glad we never got to look at my Perl code - I am afraid it is very much version 4 style. Actually it might be instructive to have someone review my code to see how it might be optimized. The C program was originally developed to be called for command line use - before I learned any Perl. A good Perl function would likely run just as fast. The program reads in some text coefficient files, the parameter files, applies the coefficients to the parameters to calculate the output energy use, then prints the results to text files. The intermediate results files would be omitted to the application may in fact run faster. The WEB application is at: http://screen.nrcan.gc.ca/ It was my first Perl mongers meeting although I have been a member of the egroup since its inception. I knew nothing about Perl before I took a course from Harvey at Willcam in 1999 or 2000. Thanks again for the great evening! At 09:41 AM 27/01/2012, arocker at Vex.Net wrote: >Chris explained his application packaging problem, and in true Perl >TMTOWTDI tradition, received several different possible solutions, all >interesting. > >One of the complicating factors in the problem was a C program used to >crunch some numbers. It would be interesting to see if performing those >calculations in pure Perl has a significant impact on the application's >performance. I would be surprised if it did. > >Thanks to everyone who contributed. Aside from minor recalcitrance on the >part of the AV equipment, I think it went well. > > >_______________________________________________ >toronto-pm mailing list >toronto-pm at pm.org >http://mail.pm.org/mailman/listinfo/toronto-pm Chris Jones 14 Oneida Avenue Toronto, ON M5J 2E3. Tel. 416-203-7465 Fax. 416-946-1005