From szabgab at gmail.com Wed Feb 9 00:38:33 2011 From: szabgab at gmail.com (Gabor Szabo) Date: Wed, 9 Feb 2011 10:38:33 +0200 Subject: SPUG: Fwd: Get involved in LinuxFest Northwest 2011 In-Reply-To: References: Message-ID: hi, I have not seen an announcement on this list regarding the LinuxFest Northwest. >From where I am it looks like a cool event and it looks SPUG is one of the closest PM group. Is any of you planning to attend? Maybe you'd want to setup a Perl or SPUG.pm info desk? regards Gabor ---------- Forwarded message ---------- From: LFNW 2011 Date: Tue, Feb 8, 2011 at 1:30 AM Subject: [Fest-list] Get involved in LinuxFest Northwest 2011 To: fest-list at peakserv.com For the 12th year, LinuxFest Northwest 2011 is happening April 30th and May 1st. LinuxFest Northwest is a community event, organized by a team of volunteers. Its success depends on participation. We are asking the Free&Open Source Software community to get involved. *Present* at the Fest on a project that you use or contribute to. Share your experiences with potential users, connect with other contributors, or find collaborators on a new idea. Presentations add value for everyone involved, including you. If you don't want to present, perhaps you know of someone who could. Or if you have something to say that won't take an hour, check out the Lightning Talks session. For more information, email present at linuxfestnorthwest.org. *Exhibit* and get your messages to a select audience. Whether you represent a F&OSS non-profit, a college or a company that sells to technical users, the low key exhibits are effective marketing. Exhibitors are a key component of the community. For more information, email exhibit at linuxfestnorthwest.org. *Sponsor* LinuxFest Northwest to show visible support for the F&OSS community and receive valuable exposure in return. The Fest attracts attendees from California to British Columbia, and has international recognition. Free admission depends on funding and support provided primarily by sponsors. If your company depends on open source technology (no matter where it is located), please consider an LFNW sponsorship as a way to give back. New this year, individual supporters can pre-pay discretionary Fest expenses online. For more information, email sponsor at linuxfestnorthwest.org. There are buttons on the front page of linuxfestnorthwest.org to join in the effort. In past years, Fest organizers have received information and feedback from area User Groups and attendees about ways to improve. The online forums (under the Community tab on the front page) are intended to generate discussions and make connections as the Fest approaches. If there is a subject that you would like to hear about, please post to the ?Sessions? forum, and if you'd like to present, that's a place to get some ideas. Please help *Spread the Word*. Let people know that you are part of LinuxFest Northwest through social sites, blogs, Twitter, forums, mailing lists. Word of mouth is the main way that people discover LFNW. Do someone a favor; tell them about the Low Stress Fest. This message will also be sent to the LFNW Fest-List. If you are subscribed at the LFNW website AND the Fest-List, you will receive both copies. Most communication for LFNW 2011 will be done through the website, although some messages will also be distributed to Fest-List. There are unsubscribe instructions at both locations. From penglish1 at gmail.com Wed Feb 9 21:57:21 2011 From: penglish1 at gmail.com (Paul English) Date: Wed, 9 Feb 2011 21:57:21 -0800 Subject: SPUG: 2011 Cascadia IT Conference early bird registration ends Feb 16 (1 week) Message-ID: Fri/Sat March 11, 12, 2011 Early Bird Registration until February 16 (only one week from now)! Save yourself or your employer some professional development money and register now: http://casitconf.org/casitconf11/Registration.html The premier opportunity this year to meet Information Technology experts and get the inside track on one of the hottest regions for IT in the world. Talks, presentations, poster sessions, lightning talks and DIY unconference sessions will be available. Exchange ideas, learn and enjoy "Hallway track" networking with other conference participants and speakers. We are also still looking for sponsors - talk to your marketing department, vendors and even customers if you think they might be interested. There are still some high profile opportunities: http://casitconf.org/casitconf11/Sponsorship.html There are longer sessions scheduled for "Perl Fundamentals" and "Perl Tips" but I am sure there is still plenty of room for targetted Lightning Talks (5 minutes) and Poster sessions. Short talks on say, a specific rich perl module would be excellent! From cmeyer at helvella.org Tue Feb 15 10:49:26 2011 From: cmeyer at helvella.org (Colin Meyer) Date: Tue, 15 Feb 2011 10:49:26 -0800 Subject: SPUG: Meeting In-Reply-To: References: Message-ID: O hai SPUG, Tonight is the night that we are supposed to meet. And somehow we do not have a talk scheduled again. So, for those who are interested, let's again meet and hang out at Von's. Same details as below. Except for the bit about Dave doing Lacuna show and tell. Unless he wants to do that some more. :) -Colin. On Tue, Jan 18, 2011 at 11:29 AM, Colin Meyer wrote: > Mike, Noah, Spuggers, > > Everyone who would like to is welcome to meet at Von's, as we did two > months ago. We'll meet at, say, 6 to 6:30. Earliest folks there: please get > one of the backrooms for our group. > > Dave will do some show `n' tell about talking to the Lacuna Expanse API > from Perl, and anyone else with fun Perl or computery things should bring > along their laptop for additional showintel. > > Von's Roasthouse > http://www.vonsroasthouse.com/ > 619 Pine Street > > Awesome, see you later, > -Colin. > > p.s. Sorry for the late notice. Let's have one of the discussions be about > how to organize meetings in 2011, and what those meetings should consist of. > -------------- next part -------------- An HTML attachment was scrubbed... URL: From penglish1 at gmail.com Wed Feb 16 22:52:49 2011 From: penglish1 at gmail.com (Paul English) Date: Wed, 16 Feb 2011 22:52:49 -0800 Subject: SPUG: 2011 Cascadia IT Conference Early Bird Registration extended to February 23 Message-ID: Fri/Sat March 11, 12, 2011 Early Bird Registration has been extended to February 23! A little gift for people who were going to register and didn?t quite make the early bird deadline. http://casitconf.org/casitconf11/Registration.html Considering a talk or presentation? You can still do a Lightning Talk (5 minutes) or Poster session. Just send your proposal to: casitconf-submissions at casitconf.org Are you planning on staying at the hotel? The conference discounted rate is only good through tomorrow, Thursday February 17. 800-899-0251 or email: reservations at hoteldeca.com Book now. We are also still looking for sponsors - talk to your marketing department, vendors and even customers if you think they might be interested. There are still some high profile opportunities: http://casitconf.org/casitconf11/Sponsorship.html This is a first time, local, volunteer-run event. If you can want to help, email casitconf-chairs at casitconf.org and most importantly spread the word! You probably know the other people that are interested in attending and presenting. Be sure and let them know! From mybustad at gmail.com Thu Feb 17 14:42:01 2011 From: mybustad at gmail.com (Matthew Bustad) Date: Thu, 17 Feb 2011 14:42:01 -0800 Subject: SPUG: perls 'test' -d cgi vs. command line. Message-ID: Here is a puzzle: Setting up gitweb on CentOS 5.5 In the script segment: ---8<---Start---8<------8<------8<------8<------8<------8<------8<------8<--- #!/usr/bin/perl # gitweb - simple web interface to track changes in git repositories # # (C) 2005-2006, Kay Sievers # (C) 2005, Christian Gierke # # This program is licensed under the GPLv2 open(O, ">>/tmp/fo"); use 5.008; use strict; use warnings; use CGI qw(:standard :escapeHTML -nosticky); use CGI::Util qw(unescape); use CGI::Carp qw(fatalsToBrowser set_message); use Encode; use Fcntl ':mode'; use File::Find qw(); use File::Basename qw(basename); use Time::HiRes qw(gettimeofday tv_interval); binmode STDOUT, ':utf8'; . . . my $projects_list = "/pub/git"; printf(O "--\n%s-\n", $projects_list ); # debug printfs to isolate the error if (-d $projects_list) { printf(O "--\n%s-\n", $projects_list ); # debug printfs to isolate the error ---8<--- End ---8<------8<------8<------8<------8<------8<------8<------8<--- The -d test of if /pub/git is a directory (it is) fails via cgi, but (as user apache) works via command line? Any ideas? -- Matthew From vaticide at gmail.com Thu Feb 17 15:10:10 2011 From: vaticide at gmail.com (Bryce Baril) Date: Thu, 17 Feb 2011 15:10:10 -0800 Subject: SPUG: perls 'test' -d cgi vs. command line. In-Reply-To: References: Message-ID: Off topic but... Interesting choice of delimiters... On Feb 17, 2011 2:42 PM, "Matthew Bustad" wrote: > Here is a puzzle: > > Setting up gitweb on CentOS 5.5 > > In the script segment: > ---8<---Start---8<------8<------8<------8<------8<------8<------8<------8<--- > #!/usr/bin/perl > > # gitweb - simple web interface to track changes in git repositories > # > # (C) 2005-2006, Kay Sievers > # (C) 2005, Christian Gierke > # > # This program is licensed under the GPLv2 > > open(O, ">>/tmp/fo"); > > use 5.008; > use strict; > use warnings; > use CGI qw(:standard :escapeHTML -nosticky); > use CGI::Util qw(unescape); > use CGI::Carp qw(fatalsToBrowser set_message); > use Encode; > use Fcntl ':mode'; > use File::Find qw(); > use File::Basename qw(basename); > use Time::HiRes qw(gettimeofday tv_interval); > binmode STDOUT, ':utf8'; > > . > . > . > my $projects_list = "/pub/git"; > printf(O "--\n%s-\n", $projects_list ); # debug printfs to > isolate the error > if (-d $projects_list) { > printf(O "--\n%s-\n", $projects_list ); # debug printfs to > isolate the error > ---8<--- End ---8<------8<------8<------8<------8<------8<------8<------8<--- > > The -d test of if /pub/git is a directory (it is) fails via cgi, but > (as user apache) > works via command line? > > Any ideas? > > -- Matthew > _____________________________________________________________ > Seattle Perl Users Group Mailing List > POST TO: spug-list at pm.org > SUBSCRIPTION: http://mail.pm.org/mailman/listinfo/spug-list > MEETINGS: 3rd Tuesdays > WEB PAGE: http://seattleperl.org/ -------------- next part -------------- An HTML attachment was scrubbed... URL: From andrew at sweger.net Thu Feb 17 16:19:13 2011 From: andrew at sweger.net (Andrew Sweger) Date: Thu, 17 Feb 2011 16:19:13 -0800 (PST) Subject: SPUG: perls 'test' -d cgi vs. command line. In-Reply-To: Message-ID: On Thu, 17 Feb 2011, Matthew Bustad wrote: > The -d test of if /pub/git is a directory (it is) fails via cgi, but > (as user apache) > works via command line? If "via cgi" is a web server, does the user the web server is running under have permission to look in /pub? -- Andrew B. Sweger -- The great thing about multitasking is that several things can go wrong at once. From mybustad at gmail.com Fri Feb 18 09:59:28 2011 From: mybustad at gmail.com (Matthew Bustad) Date: Fri, 18 Feb 2011 09:59:28 -0800 Subject: SPUG: perls 'test' -d cgi vs. command line. In-Reply-To: References: Message-ID: On Thu, Feb 17, 2011 at 4:19 PM, Andrew Sweger wrote: > On Thu, 17 Feb 2011, Matthew Bustad wrote: > >> The -d test of if /pub/git is a directory (it is) fails via cgi, but >> (as user apache) >> works via command line? > > If "via cgi" is a web server, does the user the web server is running > under have permission to look in /pub? > > -- > Andrew B. Sweger -- The great thing about multitasking is that several > ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?things can go wrong at once. > > Cut down to a minimal test: ----8<----Start Code----8<--------8<--------8<--------8<--------8<--------8<--------8<--------8<--------8<--------8<--------8<---- #!/usr/bin/perl open(O, ">>/tmp/fo"); my $projects_list = "/pub/git"; printf(O "+++\n\n" ); if (-d "/pub/git") { printf(O "++++++\n\n" ); } # print header printf("Status: 200 OK Content-Type: text/html; charset=utf-8\n\n"); # print some body printf("dtestTEST\n"); ----8<----End Code----8<--------8<--------8<--------8<--------8<--------8<--------8<--------8<--------8<--------8<--------8<---- Stock CentOS 5.5 Apache. I will dig deeper into the http configuraiton files (stock). -- Matthew From rjk-spug at tamias.net Fri Feb 18 12:07:26 2011 From: rjk-spug at tamias.net (Ronald J Kimball) Date: Fri, 18 Feb 2011 15:07:26 -0500 Subject: SPUG: perls 'test' -d cgi vs. command line. In-Reply-To: References: Message-ID: <20110218200726.GB38488@penkwe.pair.com> On Fri, Feb 18, 2011 at 09:59:28AM -0800, Matthew Bustad wrote: > On Thu, Feb 17, 2011 at 4:19 PM, Andrew Sweger wrote: > > If "via cgi" is a web server, does the user the web server is running > > under have permission to look in /pub? > > Cut down to a minimal test: Did you check the permissions, as Andrew suggested? That seems like the likely explanation to me. Ronald From mybustad at gmail.com Fri Feb 18 12:09:15 2011 From: mybustad at gmail.com (Matthew Bustad) Date: Fri, 18 Feb 2011 12:09:15 -0800 Subject: SPUG: perls 'test' -d cgi vs. command line. In-Reply-To: <20110218200726.GB38488@penkwe.pair.com> References: <20110218200726.GB38488@penkwe.pair.com> Message-ID: Yes, and comparing to another CenOS 5.5 box, all perl rpm's are the same. Very odd behavior. -- Matthew On Fri, Feb 18, 2011 at 12:07 PM, Ronald J Kimball wrote: > On Fri, Feb 18, 2011 at 09:59:28AM -0800, Matthew Bustad wrote: >> On Thu, Feb 17, 2011 at 4:19 PM, Andrew Sweger wrote: >> > If "via cgi" is a web server, does the user the web server is running >> > under have permission to look in /pub? >> >> Cut down to a minimal test: > > Did you check the permissions, as Andrew suggested? ?That seems like the > likely explanation to me. > > Ronald > From mybustad at gmail.com Fri Feb 18 12:34:02 2011 From: mybustad at gmail.com (Matthew Bustad) Date: Fri, 18 Feb 2011 12:34:02 -0800 Subject: SPUG: perls 'test' -d cgi vs. command line. In-Reply-To: References: <20110218200726.GB38488@penkwe.pair.com> Message-ID: OK, I knew it must have been simple: SELINUX was blocking httpd from reading the directory. -- Matthew On Fri, Feb 18, 2011 at 12:09 PM, Matthew Bustad wrote: > Yes, and comparing to another CenOS 5.5 box, all perl rpm's are the same. > > Very odd behavior. > > -- Matthew > > On Fri, Feb 18, 2011 at 12:07 PM, Ronald J Kimball wrote: >> On Fri, Feb 18, 2011 at 09:59:28AM -0800, Matthew Bustad wrote: >>> On Thu, Feb 17, 2011 at 4:19 PM, Andrew Sweger wrote: >>> > If "via cgi" is a web server, does the user the web server is running >>> > under have permission to look in /pub? >>> >>> Cut down to a minimal test: >> >> Did you check the permissions, as Andrew suggested? ?That seems like the >> likely explanation to me. >> >> Ronald >> >