From darrell at golliher.net Sun Sep 7 22:38:39 2003 From: darrell at golliher.net (Darrell Golliher) Date: Mon Aug 2 21:28:36 2004 Subject: [Classiccity-pm] Let's discuss when to meet next Message-ID: <20030908033839.GA2686@golliher.net> We talked at our last meeting about when to meet. The general concensus as I remember it was to meet monthly on a Thursday, but not the last Thursday of the month. At least one person has expressed a desire to have meetings earlier and as I recall the folks present at the first meeting agreed that meeting as early as 6:30 would be ok. Keeping all that in mind I suggest we try to meet on Thursday Sep. 18th at 6:30. I will have to check to see when we can get the meeting room at the library. Please let me know if you would attend a meeting at that date and time. Also, please let me know if you can give a short talk. So far the agenda is completely blank. -Darrell From pkeck at uga.edu Mon Sep 8 12:13:47 2003 From: pkeck at uga.edu (Paul Keck) Date: Mon Aug 2 21:28:36 2004 Subject: [Classiccity-pm] Let's discuss when to meet next In-Reply-To: <20030908033839.GA2686@golliher.net> References: <20030908033839.GA2686@golliher.net> Message-ID: <20030908171347.GF1168@uga.edu> On Sun, Sep 07, 2003 at 11:38:39PM -0400, Darrell Golliher wrote: > Keeping all that in mind I suggest we try to meet on Thursday Sep. 18th > at 6:30. I will have to check to see when we can get the meeting > room at the library. Please let me know if you would attend a > meeting at that date and time. I would. -- Paul Keck pkeck@uga.edu http://www.arches.uga.edu/~pkeck University of Georgia http://www.uga.edu/ucns/telecom EITS Engineering Services mailto:pkeck@ediacara.org --Opinions mine.-- Go fighting anomalocaridids!!! From cygnus at cprogrammer.org Mon Sep 8 12:59:29 2003 From: cygnus at cprogrammer.org (Jonathan Daugherty) Date: Mon Aug 2 21:28:36 2004 Subject: [Classiccity-pm] Let's discuss when to meet next In-Reply-To: <20030908033839.GA2686@golliher.net> References: <20030908033839.GA2686@golliher.net> Message-ID: <20030908175929.GC30319@mail.theserver.ath.cx> Any opposed to having it at 6? -- Jonathan Daugherty http://www.cprogrammer.org From jim at giffords.net Mon Sep 8 13:39:42 2003 From: jim at giffords.net (Jim Gifford) Date: Mon Aug 2 21:28:36 2004 Subject: [Classiccity-pm] Let's discuss when to meet next In-Reply-To: <20030908175929.GC30319@mail.theserver.ath.cx> References: <20030908033839.GA2686@golliher.net> <20030908175929.GC30319@mail.theserver.ath.cx> Message-ID: <20030908183942.GB551@giffords.net> On Mon, Sep 08, 2003 at 01:59:29PM -0400, Jonathan Daugherty wrote: > Any opposed to having it at 6? I have a 1.5 to 2 hour drive from atlanta to contend with. However, since my hours have been changed to be either 9-6 or 10-7 effective immediately, y'all don't worry about me attending, and schedule it for when it is convenient for everyone else. I'll be unable to attend any further meetings for the forseeable future. Y'all have fun without me. :) jim From clmf8 at yahoo.com Tue Sep 9 10:55:24 2003 From: clmf8 at yahoo.com (Sam Feltus) Date: Mon Aug 2 21:28:36 2004 Subject: [Classiccity-pm] Re: Contents of Classiccity-pm digest... Message-ID: <20030909155524.58408.qmail@web12507.mail.yahoo.com> I want to attend the meeting if it is in evening and I am able. I don't have a strong preference for day. Sam Feltus --------------------------------- Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.pm.org/pipermail/classiccity-pm/attachments/20030909/edd9b21b/attachment.htm From darrell at golliher.net Tue Sep 9 12:24:17 2003 From: darrell at golliher.net (Darrell Golliher) Date: Mon Aug 2 21:28:36 2004 Subject: [Classiccity-pm] Next meeting is a go. Message-ID: <20030909172417.GA26557@golliher.net> I was able to obtain the small conference room at the Athens Regional Library for Thursday the 18th at 6:30pm. The agenda is still completely blank though. Please submit your agenda items as soon as possible so we can promote the meeting. -Darrell From darrell at golliher.net Tue Sep 16 15:31:15 2003 From: darrell at golliher.net (Darrell Golliher) Date: Mon Aug 2 21:28:36 2004 Subject: [Classiccity-pm] help a lazy programmer Message-ID: <20030916203115.GA3576@golliher.net> It's been a very long time since I last implemeted a CGI that handles HTTP upload. Anybody have an especially cleaver way to clean up the filenames obtained from the upload() method of CGI.pm? Files sent using IE on a windows box look like this.. "C:\Some Directory\the file.txt". Files sent using Mozilla on Windows of Linux just look like this "the file.txt". File::Basename was my first guess, but how to tell if I should use fileparse_set_fstype("MSDOS") or fileparse_set_fstype("MacOS") or even VMS or AmigaOS. tia, -Darrell From darrell at golliher.net Thu Sep 18 09:07:21 2003 From: darrell at golliher.net (Darrell Golliher) Date: Mon Aug 2 21:28:36 2004 Subject: [Classiccity-pm] Meeting tonight Message-ID: <20030918140721.GA30993@golliher.net> Just a reminder that tonight is our monthly meeting. We will start at 6:30pm in the small conference room of the Athens Regional Library. Please pass the meeting announcment on to anyone you think might be interested. So far we have three speakers: Sam Feltus, Paul Keck and James Holder. http://classiccity.pm.org/null?SecondMeeting -Darrell From markh at markh.com Fri Sep 19 07:54:39 2003 From: markh at markh.com (Mark Hazen) Date: Mon Aug 2 21:28:36 2004 Subject: [Classiccity-pm] How big is CGI.pm? Message-ID: A little followup to last night's meeting, wanted to show some actual numbers instead of anecdotal info. Just a reaaaaally simple comparison made with a program that does nothing but "sleep 10"; the first one had "use CGI;" and the second one didn't. PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ Command 198 root 9 0 2184 2184 1192 T 0.0 0.9 0:00.07 foo.cgi 3205 root 10 0 1076 1076 884 T 0.0 0.4 0:00.01 foo.nocgi Cheers, -mh. ---- . _+m"m+_"+_ Mark Hazen d' Jp qh qh Jp O O O Yb Yb dY dY O "Y5m2Y" " even the mightiest wave starts out as a ripple. "Y_ why make waves when it's easier to nurture ripples? From pkeck at uga.edu Fri Sep 19 21:22:37 2003 From: pkeck at uga.edu (Paul Keck) Date: Mon Aug 2 21:28:36 2004 Subject: [Classiccity-pm] How big is CGI.pm? In-Reply-To: References: Message-ID: <20030920022237.GC3326@uga.edu> On Fri, Sep 19, 2003 at 07:54:39AM -0500, Mark Hazen wrote: > PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ Command > > 198 root 9 0 2184 2184 1192 T 0.0 0.9 0:00.07 foo.cgi > 3205 root 10 0 1076 1076 884 T 0.0 0.4 0:00.01 foo.nocgi Did foo.nocgi use CGI::Lite or anything like that? Gotta have something. -- Paul Keck pkeck@uga.edu http://www.arches.uga.edu/~pkeck University of Georgia http://www.uga.edu/ucns/telecom EITS Engineering Services mailto:pkeck@ediacara.org --Opinions mine.-- Go fighting anomalocaridids!!! From cygnus at cprogrammer.org Fri Sep 19 21:04:03 2003 From: cygnus at cprogrammer.org (Jonathan Daugherty) Date: Mon Aug 2 21:28:36 2004 Subject: [Classiccity-pm] How big is CGI.pm? In-Reply-To: <20030920022237.GC3326@uga.edu> References: <20030920022237.GC3326@uga.edu> Message-ID: <20030920020403.GA5886@mail.theserver.ath.cx> # Did foo.nocgi use CGI::Lite or anything like that? Gotta have something. Also, did you use CGI qw(:all); or did you use CGI ? -- Jonathan Daugherty http://www.cprogrammer.org From nhruby at uga.edu Fri Sep 19 21:55:10 2003 From: nhruby at uga.edu (nathan r. hruby) Date: Mon Aug 2 21:28:36 2004 Subject: [Classiccity-pm] How big is CGI.pm? In-Reply-To: <20030920020403.GA5886@mail.theserver.ath.cx> References: <20030920022237.GC3326@uga.edu> <20030920020403.GA5886@mail.theserver.ath.cx> Message-ID: On Fri, 19 Sep 2003, Jonathan Daugherty wrote: > # Did foo.nocgi use CGI::Lite or anything like that? Gotta have something. > > Also, did you > > use CGI qw(:all); > And what was the sampling freq/rate? I would think (but would not know) that caching would take a positive effect after a run or two of the .cgi. -n -- ------------------------------------------- nathan hruby uga enterprise information technology services production systems support metaphysically wrinkle-free ------------------------------------------- From markh at markh.com Fri Sep 19 22:46:11 2003 From: markh at markh.com (Mark Hazen) Date: Mon Aug 2 21:28:36 2004 Subject: [Classiccity-pm] How big is CGI.pm? In-Reply-To: Message-ID: To answer the questions.... No, I didn't use CGI::Lite, or anything of the sort. Despite a common belief about CGI and mod_perl, you don't *need* anything. You can write headers and parse POST or GET data yourself quite easily, and URL encoding is simple to decode as well, via something like: $url_decoded =~ s/%([\dabcdef]{2})/chr(hex $1)/egi; ...and so forth. Environment variables from teh web server are always available in the the %ENV hash. Sure, CGI.pm makes life very, very easy, but the whole CGI spec is made up of simple pieces that, if you ony need one tiny bit of the functionality, you can likely just code inline. Yes, I usually use CGI.pm myself, too. As for my sampling rate? This was a run-once on the command line program, not a CGI, just to give an idea of how much space CGI.pm takes, when compiled. My code, quite literally, was: #!/usr/bin/perl use CGI; sleep 100; ...and the stats were picked up via 'top'. the 'nocgi' version simply didn't have a 'use CGI' statement. It's as basic as it gets. As for shared memory, unless you're loading in CGI.pm as a PerlRequire module under Apache (not a great idea unless everything you write uses CGI.pm), it won't get shared between children under mod_perl.... so you're pretty much always going to be stuck with most of that memory overhead. Really, the point here was just to illuminate one of the reasons some people don't like CGI.pm, that being its monolithic nature. Note, I say some people... I'm not fanatical either way (though I prefer efficency where possible, of course). Cheers, -mh. ---- . _+m"m+_"+_ Mark Hazen d' Jp qh qh Jp O O O Yb Yb dY dY O "Y5m2Y" " even the mightiest wave starts out as a ripple. "Y_ why make waves when it's easier to nurture ripples? From cygnus at cprogrammer.org Fri Sep 19 22:13:23 2003 From: cygnus at cprogrammer.org (Jonathan Daugherty) Date: Mon Aug 2 21:28:36 2004 Subject: [Classiccity-pm] How big is CGI.pm? In-Reply-To: References: Message-ID: <20030920031323.GA6195@mail.theserver.ath.cx> # Really, the point here was just to illuminate one of the reasons some # people don't like CGI.pm, that being its monolithic nature. Note, I say # some people... I'm not fanatical either way (though I prefer efficency # where possible, of course). Yeah, I can really see how there could be a tree of smaller modules like CGI::Form, CGI::Request, etc., instead of one big thing. The only thing that CGI.pm provides that I like to use is ->param. -- Jonathan Daugherty http://www.cprogrammer.org From markh at markh.com Fri Sep 19 23:12:24 2003 From: markh at markh.com (Mark Hazen) Date: Mon Aug 2 21:28:36 2004 Subject: [Classiccity-pm] How big is CGI.pm? In-Reply-To: <20030920031323.GA6195@mail.theserver.ath.cx> Message-ID: On Fri, 19 Sep 2003, Jonathan Daugherty wrote: > Yeah, I can really see how there could be a tree of smaller modules like > CGI::Form, CGI::Request, etc., instead of one big thing. There's a blurb in the perldoc about this, saying that there's a lot of code in CGI.pm that LWP duplicates or reimplements, and maybe CGI.pm could be rewritten to leverage LWP's code. This doesn't solve the problem however, because you're still stuck with the monolithic nature, so I can understand why Lincoln Stein doesn't bother. Oh well. > The only thing that CGI.pm provides that I like to use is ->param. Nod, specifically for multiselector lists. Sometimes I'll just get a wild hair and use split, though. :) Cheers, -mh. ---- . _+m"m+_"+_ Mark Hazen d' Jp qh qh Jp O O O Yb Yb dY dY O "Y5m2Y" " even the mightiest wave starts out as a ripple. "Y_ why make waves when it's easier to nurture ripples? From pkeck at uga.edu Mon Sep 22 14:13:35 2003 From: pkeck at uga.edu (Paul Keck) Date: Mon Aug 2 21:28:36 2004 Subject: [Classiccity-pm] http://www.samag.com/tpj/oneliners/ Message-ID: <20030922191335.GC13582@uga.edu> http://www.samag.com/tpj/oneliners/ is a collection of perl one-liners from older issues of The Perl Journal. -- Paul Keck pkeck@uga.edu http://www.arches.uga.edu/~pkeck University of Georgia http://www.uga.edu/ucns/telecom EITS Engineering Services mailto:pkeck@ediacara.org --Opinions mine.-- Go fighting anomalocaridids!!! From darrell at golliher.net Mon Sep 22 14:22:06 2003 From: darrell at golliher.net (Darrell Golliher) Date: Mon Aug 2 21:28:36 2004 Subject: [Classiccity-pm] http://www.samag.com/tpj/oneliners/ In-Reply-To: <20030922191335.GC13582@uga.edu> References: <20030922191335.GC13582@uga.edu> Message-ID: <20030922192206.GA29180@golliher.net> On Mon, Sep 22, 2003 at 03:13:35PM -0400, Paul Keck wrote: > http://www.samag.com/tpj/oneliners/ is a collection of perl one-liners from > older issues of The Perl Journal. > Neat! That needs to go on the wiki somewhere. -darrell