From joel at fentin.com Sun Aug 1 23:41:09 2004 From: joel at fentin.com (Joel Fentin) Date: Mon Aug 2 21:36:25 2004 Subject: [San-Diego-pm] Scope Message-ID: <410DC5E5.7040008@fentin.com> I am working on an application which has different programs (main modules) that all share the same database. ModifyProduct.pl, AddProduct.pl, and DeleteProduct.pl for example. And there are more. Only one runs at a time. I can repeat lines like the following and many others in each program: my $dbh; $dbh = DBI->connect("DBI:mysql:ShopCart","root",undef,{PrintError=>1,RaiseError=>1}); my $ref = $dbh->selectall_arrayref("$Select $From $Where $Order"); Or I can set up a package for all of that (Utility.pl) where I stick all such utilities. And if I do so, and if I open the database connection in the utility, I presume I must do ALL database work through the utility. At the moment it feels handier to simply duplicate the above lines and many others in each main module. I have no size or speed issues. ===================== Currently I leave the connection to the database open until the program no longer runs. Perhaps I should open, do a select, and close with each call to the database? ===================== Are there common practices I should be aware of? Any suggestions? -- Joel Fentin tel: 760-749-8863 FAX: 760-749-8864 Contact me: http://fentin.com/me/ContactMe.html Biz: http://fentin.com Personal: http://fentin.com/me/ From emileaben at yahoo.com Mon Aug 2 11:04:29 2004 From: emileaben at yahoo.com (Emile Aben) Date: Mon Aug 2 21:36:25 2004 Subject: [San-Diego-pm] Scope In-Reply-To: <410DC5E5.7040008@fentin.com> Message-ID: <20040802160429.89137.qmail@web60801.mail.yahoo.com> Hi Joel, Some cookbook/common-practice examples in DBI-programming can be found here: http://perlmonks.org/index.pl?node_id=284436 In my opinion it's better to write a separate piece of code to provide common database-functions, and maybe put it in a package. For instance: for DBI connections you could write a function that returns the databasehandle: package MyDB; use DBI; sub connect { my $dbh; $dbh=DBI->connect("DBI:mysql:ShopCart","root",undef,{PrintError=>1,RaiseError=>1}); #insert errorhandling code here return $dbh; } you could use this in all modules like this: use MyDB; my $dbh=MyDB::connect(); Big advantage here is that you don't have to change all your scripts if you decide to use another database/user/password, or want specific attributes set on all DBI-handles that your application uses. Emile --- Joel Fentin wrote: > I am working on an application which has different > programs (main > modules) that all share the same database. > ModifyProduct.pl, > AddProduct.pl, and DeleteProduct.pl for example. And > there are more. > Only one runs at a time. > > I can repeat lines like the following and many > others in each program: > > my $dbh; > $dbh = > DBI->connect("DBI:mysql:ShopCart","root",undef,{PrintError=>1,RaiseError=>1}); > my $ref = $dbh->selectall_arrayref("$Select $From > $Where $Order"); > > Or I can set up a package for all of that > (Utility.pl) where I stick all > such utilities. And if I do so, and if I open the > database connection in > the utility, I presume I must do ALL database work > through the utility. > > At the moment it feels handier to simply duplicate > the above lines and > many others in each main module. > > I have no size or speed issues. > > ===================== > > Currently I leave the connection to the database > open until the program > no longer runs. Perhaps I should open, do a select, > and close with each > call to the database? > > ===================== > > Are there common practices I should be aware of? Any > suggestions? > > -- > Joel Fentin tel: 760-749-8863 FAX: > 760-749-8864 > Contact me: http://fentin.com/me/ContactMe.html > Biz: http://fentin.com > Personal: http://fentin.com/me/ > _______________________________________________ > San-Diego-pm mailing list > San-Diego-pm@pm.org > http://www.pm.org/mailman/listinfo/san-diego-pm > __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com From emileaben at yahoo.com Mon Aug 2 10:44:23 2004 From: emileaben at yahoo.com (Emile Aben) Date: Mon Aug 2 21:36:25 2004 Subject: [San-Diego-pm] Mason In-Reply-To: <1091118514.17431.111.camel@localhost.localdomain> Message-ID: <20040802154423.65131.qmail@web60806.mail.yahoo.com> Hi Dirk, some things I can think of: * is the module readable by the user that executes the script (typically 'nobody' for cgi-scripts)? * does your script use perl5.8.0 or is there another perl on your machine that is used and that doesn't have HTML::Mason in the library path. Do a 'perl -V' for the perl that is in the #!-line of your script to find out. * another way to quickly find out if a module is usable by a specific perl version is: /usr/bin/perl -MHTML::Mason -e1 hope this helps, Emile --- Dirk2 wrote: > Perl Mongers, > > > I'm trying to use the Mason module. I went to CPAN > and loaded it, and > it seemed to load OK- installed without errors, and > it's here: > > /usr/lib/perl5/site_perl/5.8.0/HTML/Mason.pm > > But now my script can't find it. > Here's the httpd error entries from log: > > > > > > [Thu Jul 29 12:11:11 2004] [error] [client > 127.0.0.1] Premature end of > script headers: mason.pl > > [Thu Jul 29 12:11:11 2004] [error] [client > 127.0.0.1] Can't locate > HTML/Mason.pm in @INC > > (@INC contains: > /usr/lib/perl5/5.8.0/i386-linux-thread-multi > /usr/lib/perl5/5.8.0 > /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi > /usr/lib/perl5/site_perl/5.8.0 > /usr/lib/perl5/site_perl > /usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi > /usr/lib/perl5/vendor_perl/5.8.0 > /usr/lib/perl5/vendor_perl > /usr/lib/perl5/5.8.0/i386-linux-thread-multi > /usr/lib/perl5/5.8.0 > .) > > at /var/www/cgi-bin/mason.pl line 5. > > > [Thu Jul 29 12:11:11 2004] [error] [client > 127.0.0.1] BEGIN > failed--compilation aborted at > /var/www/cgi-bin/mason.pl line 5. > > > _______________________________________________ > San-Diego-pm mailing list > San-Diego-pm@pm.org > http://www.pm.org/mailman/listinfo/san-diego-pm > __________________________________ Do you Yahoo!? New and Improved Yahoo! Mail - 100MB free storage! http://promotions.yahoo.com/new_mail From rkleeman at energoncube.net Mon Aug 2 13:25:12 2004 From: rkleeman at energoncube.net (Bob Kleemann) Date: Mon Aug 2 21:36:25 2004 Subject: [San-Diego-pm] Mason In-Reply-To: <1091143153.17431.121.camel@localhost.localdomain> References: <20040730000159.14B8A1D7181@ws3-3.us4.outblaze.com> <1091143153.17431.121.camel@localhost.localdomain> Message-ID: <20040802182512.GC4359@energoncube.net> As a side note, please note that the mailing list address has changed. San-Diego-pm@pm.org is the correct address, and San-Diego-pm-list@happyfunball.pm.org may or may not work in the future. On Thu, Jul 29, 2004 at 11:19:13PM +0000, Dirk2 wrote: > chmod, that's all it took! > I've been poring over manuals for hours. > I'm always doing stuff like that. > > Thanks, > Dirk > > > On Fri, 2004-07-30 at 00:01, Douglas Wilson wrote: > > > [Thu Jul 29 12:11:11 2004] [error] [client 127.0.0.1] Can't locate > > > HTML/Mason.pm in @INC > > > > What are the permissions on the file? > > Does the user who runs the script ('nobody'? Maybe?) have > > permission to run it? > > _______________________________________________ > San-Diego-pm mailing list > San-Diego-pm@pm.org > http://www.pm.org/mailman/listinfo/san-diego-pm From schoon at amgt.com Thu Aug 5 17:03:31 2004 From: schoon at amgt.com (Mark Schoonover) Date: Thu Aug 5 17:05:16 2004 Subject: [San-Diego-pm] POD Documents Message-ID: Thanks for reading... Kinda embarrassed to ask this question, but here it goes anyway. I want to embed POD in my modules and other perl scripts. Yet, when I type perldoc module.pm I get the no entry for module.pm. module.pm is in the current directory, and is readable. I'm doing something that's probably very simple yet wrong. I've checked Programming Perl, and Google, but I'm honestly stuck. Any help is greatly appreciated. Thanks! .mark The pessimist says, "This glass is half empty." The optimist says, "This glass is half full" The engineer says, "This glass is exactly twice as large as it needs to be." From cabney at ucsd.edu Thu Aug 5 17:26:06 2004 From: cabney at ucsd.edu (C. Abney) Date: Thu Aug 5 17:28:07 2004 Subject: [San-Diego-pm] POD Documents In-Reply-To: References: Message-ID: <1091744766.3783.13.camel@vespa> On Thu, 2004-08-05 at 15:03, Mark Schoonover wrote: > want to embed POD in my modules and other perl scripts. Yet, when I type > perldoc module.pm I get the no entry for module.pm. module.pm is in the > current directory, and is readable. I'm doing something that's probably very What if you don't include the .pm when you invoke perldoc? Yours, Charles -- Charles Abney Polymorphism Research Laboratory, 0603 UCSD School of Medicine 9500 Gilman Dr. La Jolla, CA 92093-0603 -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 307 bytes Desc: This is a digitally signed message part Url : http://mail.pm.org/pipermail/san-diego-pm/attachments/20040805/be2a04a0/attachment.bin From christopher.hahn at peregrine.com Thu Aug 5 17:35:06 2004 From: christopher.hahn at peregrine.com (Christopher Hahn) Date: Thu Aug 5 17:35:14 2004 Subject: [San-Diego-pm] POD Documents Message-ID: Hey, Does pod2html produce anything when run against it? (must admit that this is often how I go...) Good luck in any case, Christopher -----Original Message----- From: Mark Schoonover [mailto:schoon@amgt.com] Sent: Thursday, August 05, 2004 3:04 PM To: San Diego Perl Mongers (E-mail) Subject: [San-Diego-pm] POD Documents Thanks for reading... Kinda embarrassed to ask this question, but here it goes anyway. I want to embed POD in my modules and other perl scripts. Yet, when I type perldoc module.pm I get the no entry for module.pm. module.pm is in the current directory, and is readable. I'm doing something that's probably very simple yet wrong. I've checked Programming Perl, and Google, but I'm honestly stuck. Any help is greatly appreciated. Thanks! .mark The pessimist says, "This glass is half empty." The optimist says, "This glass is half full" The engineer says, "This glass is exactly twice as large as it needs to be." _______________________________________________ San-Diego-pm mailing list San-Diego-pm@mail.pm.org http://www.pm.org/mailman/listinfo/san-diego-pm From schoon at amgt.com Thu Aug 5 17:36:34 2004 From: schoon at amgt.com (Mark Schoonover) Date: Thu Aug 5 17:38:09 2004 Subject: [San-Diego-pm] POD Documents Message-ID: C. Abney scribbled on Thursday, August 05, 2004 3:26 PM: > On Thu, 2004-08-05 at 15:03, Mark Schoonover wrote: >> want to embed POD in my modules and other perl scripts. Yet, when I >> type perldoc module.pm I get the no entry for module.pm. module.pm >> is in the current directory, and is readable. I'm doing something >> that's probably very > > What if you don't include the .pm when you invoke perldoc? > > Yours, > > Charles Charles, Thank you, thank you. That was it. I knew it had to be something silly on my end. .mark From dgwilson at gtemail.net Thu Aug 5 17:43:46 2004 From: dgwilson at gtemail.net (Douglas Wilson) Date: Thu Aug 5 19:17:07 2004 Subject: [San-Diego-pm] POD Documents Message-ID: <20040805224346.9D4941537C2@ws3-1.us4.outblaze.com> > > Kinda embarrassed to ask this question, but here it goes anyway. I > want to embed POD in my modules and other perl scripts. Yet, when I type > perldoc module.pm I get the no entry for module.pm. module.pm is in the > current directory, and is readable. I'm doing something that's probably very > simple yet wrong. I've checked Programming Perl, and Google, but I'm > honestly stuck. Any help is greatly appreciated. Is there any pod in the file? perldoc will report "No documentation found for..." if there is no pod in the file. Also do 'perl -V' and see if the current directory is in @INC. (man perldoc also says the file can be in the PATH env variable). Also do "perldoc -m module_name" which lists the entire contents of the file. If this works, then there is probably no pod in the file. HTH, Doug -- _______________________________________________ Get your free Verizonmail at www.verizonmail.com From rkleeman at energoncube.net Mon Aug 16 12:20:22 2004 From: rkleeman at energoncube.net (Bob Kleemann) Date: Mon Aug 16 12:20:29 2004 Subject: [San-Diego-pm] Meeting tommorow Message-ID: <20040816172022.GA30974@energoncube.net> There is a meeting Tuesday night at Callahan's in Mira Mesa starting around 7PM. Bring your Perl questions or any other relevant topics for discussion and we'll try to answer them. Let me know if you're planning on coming and if you need any help getting there. From menolly at mib.org Mon Aug 16 13:48:05 2004 From: menolly at mib.org (Menolly) Date: Mon Aug 16 13:48:16 2004 Subject: [San-Diego-pm] Meeting tommorow In-Reply-To: <20040816172022.GA30974@energoncube.net> References: <20040816172022.GA30974@energoncube.net> Message-ID: What's the chances folks will still be there areound 9pm? On Mon, 16 Aug 2004, Bob Kleemann wrote: > There is a meeting Tuesday night at Callahan's in Mira Mesa starting > around 7PM. Bring your Perl questions or any other relevant topics > for discussion and we'll try to answer them. > > Let me know if you're planning on coming and if you need any help > getting there. > _______________________________________________ > San-Diego-pm mailing list > San-Diego-pm@mail.pm.org > http://www.pm.org/mailman/listinfo/san-diego-pm > -- )\._.,--....,'``. | menolly@mib.org /, _.. \ _\ (`._ ,. | http://www.livejournal.com/~nolly/ `._.-(,_..'--(,_..'`-.;.' fL| Paranoid Cynical Optimist On that day, many will say to me, "Lord, Lord, did we not prophesy in your name, and cast out demons in your name, and do many mighty works in your name?" And then will I declare to them, "I never knew you; depart from me you evildoers." -- Matt 7:20-23, RSV From joe at artlung.com Wed Aug 18 15:46:01 2004 From: joe at artlung.com (Joe Crawford) Date: Wed Aug 18 15:46:14 2004 Subject: [San-Diego-pm] FWD: [IP] more on Hard time? Not for cyber criminals Message-ID: I thought this was remarkable... and definitely Perl-related. - Joe Crawford ---------- Forwarded message ---------- Date: Wed, 18 Aug 2004 16:33:42 -0400 From: David Farber To: Ip Subject: [IP] more on Hard time? Not for cyber criminals Begin forwarded message: From: merlyn@stonehenge.com (Randal L. Schwartz) Date: August 18, 2004 4:15:02 PM EDT To: dave@farber.net Cc: ip@v2.listbox.com Subject: Re: [IP] more on Hard time? Not for cyber criminals >>>>> "Dave" == Dave Farber writes: Dave> p. 224 Texas Computer Crimes Act, which is not substantially Dave> different Dave> from that of any other state, . by [these laws] looking at someone.s Dave> digital watch without permission could be a felony. Dave> ------------------------------------------ When I give my "Just another convicted Perl hacker" talk, I point out that under Oregon's ORS 164.377, the law under which I was made a felon, unauthorized access to a computer is a misdemeanor, and unauthorized alteration is a felony. But then I go on to point out that "computer" is pretty much everything with a CPU (which is nearly everything these days), and "unauthorized" is never qualified. Which means that in Oregon (like many states), if you ring my cell phone (which is a computer, and you're now altering it: draining the battery, using up my prepaid minutes, adding to the "recent calls" log), and you're not "authorized" (whatever that means, since it could mean so many things), you're a felon. Think that's a joke? During one of our pre-trial motions, the judge said (now part of caselaw) that "altering the background screen on an employer's computer" would qualify under this law. Yes, set your preferences wrong (or at all), and you're going to jail! The laws that have been passed are not correlated with reality. They come from a fantasy world where computers were in big ivory towers, and even then, they didn't make sense. They also speak of "authorization", but that could mean so many things. Do I have explicit authorization to call your cell phone? If you publish it? If I've been annoying you recently? If I don't have permission, where do you need to publish that fact as sufficient warning? It's just crazy. All crazy. And I'm a felon because of a misunderstanding exactly along these lines, and it's cost me dearly. (By the way, I will give this 90-minute talk wherever invited, as long as you can help me cover my costs. I promise an educational as well as entertaining experience.) -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 Perl/Unix/security consulting, Technical writing, Comedy, etc. etc. See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training! ------------------------------------- To manage your subscription, go to http://v2.listbox.com/member/?listname=ip Archives at: http://www.interesting-people.org/archives/interesting-people/ From cabney at ucsd.edu Wed Aug 18 16:32:13 2004 From: cabney at ucsd.edu (C. Abney) Date: Wed Aug 18 16:34:46 2004 Subject: [San-Diego-pm] FWD: [IP] more on Hard time? Not for cyber criminals In-Reply-To: References: Message-ID: <1092864733.11518.64.camel@vespa> I tell that story to anyone that betrays he or she is thinking of applying for a job at Intel. I'll bet I'm not alone. Yours, Charles On Wed, 2004-08-18 at 13:46, Joe Crawford wrote: > I thought this was remarkable... and definitely Perl-related. > > - Joe Crawford > > > ---------- Forwarded message ---------- > Date: Wed, 18 Aug 2004 16:33:42 -0400 > From: David Farber > To: Ip > Subject: [IP] more on Hard time? Not for cyber criminals > > Begin forwarded message: > > From: merlyn@stonehenge.com (Randal L. Schwartz) > Date: August 18, 2004 4:15:02 PM EDT > To: dave@farber.net > Cc: ip@v2.listbox.com > Subject: Re: [IP] more on Hard time? Not for cyber criminals > > >>>>> "Dave" == Dave Farber writes: > > Dave> p. 224 Texas Computer Crimes Act, which is not substantially > Dave> different > Dave> from that of any other state, . by [these laws] looking at > someone.s > Dave> digital watch without permission could be a felony. > Dave> ------------------------------------------ > > When I give my "Just another convicted Perl hacker" talk, I point out that > under Oregon's ORS 164.377, the law under which I was made a felon, > unauthorized access to a computer is a misdemeanor, and unauthorized > alteration is a felony. But then I go on to point out that "computer" is > pretty much everything with a CPU (which is nearly everything these days), > and "unauthorized" is never qualified. > > Which means that in Oregon (like many states), if you ring my cell phone > (which is a computer, and you're now altering it: draining the battery, > using up my prepaid minutes, adding to the "recent calls" log), and you're > not "authorized" (whatever that means, since it could mean so many > things), you're a felon. > > Think that's a joke? During one of our pre-trial motions, the judge said > (now part of caselaw) that "altering the background screen on an > employer's computer" would qualify under this law. Yes, set your > preferences wrong (or at all), and you're going to jail! > > The laws that have been passed are not correlated with reality. They come > from a fantasy world where computers were in big ivory towers, and even > then, they didn't make sense. They also speak of "authorization", but > that could mean so many things. Do I have explicit authorization to call > your cell phone? If you publish it? If I've been annoying you recently? > If I don't have permission, where do you need to publish that fact as > sufficient warning? > > It's just crazy. All crazy. And I'm a felon because of a > misunderstanding exactly along these lines, and it's cost me dearly. > > (By the way, I will give this 90-minute talk wherever invited, as long as > you can help me cover my costs. I promise an educational as well as > entertaining experience.) > > -- > Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 > > Perl/Unix/security consulting, Technical writing, Comedy, etc. etc. > See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training! > > ------------------------------------- > To manage your subscription, go to > http://v2.listbox.com/member/?listname=ip > > Archives at: http://www.interesting-people.org/archives/interesting-people/ > > _______________________________________________ > San-Diego-pm mailing list > San-Diego-pm@mail.pm.org > http://www.pm.org/mailman/listinfo/san-diego-pm -- Charles Abney Polymorphism Research Laboratory, 0603 UCSD School of Medicine 9500 Gilman Dr. La Jolla, CA 92093-0603 -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 307 bytes Desc: This is a digitally signed message part Url : http://mail.pm.org/pipermail/san-diego-pm/attachments/20040818/5348c3e8/attachment.bin From merlyn at stonehenge.com Wed Aug 18 17:05:09 2004 From: merlyn at stonehenge.com (Randal L. Schwartz) Date: Wed Aug 18 17:05:20 2004 Subject: [San-Diego-pm] FWD: [IP] more on Hard time? Not for cyber criminals In-Reply-To: <1092864733.11518.64.camel@vespa> References: <1092864733.11518.64.camel@vespa> Message-ID: <86pt5ortka.fsf@blue.stonehenge.com> >>>>> "C" == C Abney writes: C> I tell that story to anyone that betrays he or she is thinking of C> applying for a job at Intel. But it's not Intel! See for details. C> I'll bet I'm not alone. In that sentiment, no. But please, the problem is about bad laws, not about Intel in particular. -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 Perl/Unix/security consulting, Technical writing, Comedy, etc. etc. See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training! From cabney at ucsd.edu Wed Aug 18 17:55:03 2004 From: cabney at ucsd.edu (C. Abney) Date: Wed Aug 18 17:57:30 2004 Subject: [San-Diego-pm] FWD: [IP] more on Hard time? Not for cyber criminals In-Reply-To: <86pt5ortka.fsf@blue.stonehenge.com> References: <1092864733.11518.64.camel@vespa> <86pt5ortka.fsf@blue.stonehenge.com> Message-ID: <1092869703.11516.68.camel@vespa> On Wed, 2004-08-18 at 15:05, Randal L. Schwartz wrote: > >>>>> "C" == C Abney writes: > > C> I tell that story to anyone that betrays he or she is thinking of > C> applying for a job at Intel. > > But it's not Intel! See for details. Not Intel??? Whoah. I know the law in Oregon is truly bad. That's clear. And the Oregonian and the judge are beyond merely stupid. They MUST be corrupt. But how can you hold Intel blameless... aren't they the prosecution? > C> I'll bet I'm not alone. > > In that sentiment, no. But please, the problem is about bad laws, > not about Intel in particular. I don't see how Intel is not a place to avoid. Yours, Charles -- Charles Abney Polymorphism Research Laboratory, 0603 UCSD School of Medicine 9500 Gilman Dr. La Jolla, CA 92093-0603 -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 307 bytes Desc: This is a digitally signed message part Url : http://mail.pm.org/pipermail/san-diego-pm/attachments/20040818/ffc6bf6e/attachment.bin From menolly at mib.org Wed Aug 18 18:07:02 2004 From: menolly at mib.org (Menolly) Date: Wed Aug 18 18:07:14 2004 Subject: [San-Diego-pm] FWD: [IP] more on Hard time? Not for cyber criminals In-Reply-To: <1092869703.11516.68.camel@vespa> References: <1092864733.11518.64.camel@vespa> <86pt5ortka.fsf@blue.stonehenge.com> <1092869703.11516.68.camel@vespa> Message-ID: On Wed, 18 Aug 2004, C. Abney wrote: > On Wed, 2004-08-18 at 15:05, Randal L. Schwartz wrote: > > >>>>> "C" == C Abney writes: > > > > C> I tell that story to anyone that betrays he or she is thinking of > > C> applying for a job at Intel. > > > > But it's not Intel! See for details. > > Not Intel??? Whoah. I know the law in Oregon is truly bad. That's > clear. And the Oregonian and the judge are beyond merely stupid. They > MUST be corrupt. But how can you hold Intel blameless... aren't they > the prosecution? I've been told the Intel did not want to prosecute, but Oregon wanted to test their laws and ran with it. Feel free to add salt to taaste; I so not claim to speak with authority on this. > > C> I'll bet I'm not alone. > > > > In that sentiment, no. But please, the problem is about bad laws, > > not about Intel in particular. > > I don't see how Intel is not a place to avoid. I interned at Intel; they have an excellent internship program and I enjoyed my time there quite a bit. I probably could have returned after graduation, but I decided I'd rather work in a software-oriented company instead of doing internal software for a hardware company. -- )\._.,--....,'``. | menolly@mib.org /, _.. \ _\ (`._ ,. | http://www.livejournal.com/~nolly/ `._.-(,_..'--(,_..'`-.;.' fL| Paranoid Cynical Optimist On that day, many will say to me, "Lord, Lord, did we not prophesy in your name, and cast out demons in your name, and do many mighty works in your name?" And then will I declare to them, "I never knew you; depart from me you evildoers." -- Matt 7:20-23, RSV From merlyn at stonehenge.com Wed Aug 18 18:45:51 2004 From: merlyn at stonehenge.com (Randal L. Schwartz) Date: Wed Aug 18 18:45:59 2004 Subject: [San-Diego-pm] FWD: [IP] more on Hard time? Not for cyber criminals In-Reply-To: References: <1092864733.11518.64.camel@vespa> <86pt5ortka.fsf@blue.stonehenge.com> <1092869703.11516.68.camel@vespa> Message-ID: <86d61orowg.fsf@blue.stonehenge.com> >>>>> "Menolly" == Menolly writes: Menolly> I've been told the Intel did not want to prosecute, but Menolly> Oregon wanted to test their laws and ran with it. Feel free Menolly> to add salt to taaste; I so not claim to speak with authority Menolly> on this. [...] Menolly> I interned at Intel; they have an excellent internship Menolly> program and I enjoyed my time there quite a bit. I probably Menolly> could have returned after graduation, but I decided I'd Menolly> rather work in a software-oriented company instead of doing Menolly> internal software for a hardware company. Yes, "did not want to prosecute" is probably what they would have told their own people. But look at it this way: There's just as much non-evidence that I *was* authorized as I *wasn't* authorized. In other words, the chalk lines that moved around after the fact could have just as easily moved back -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 Perl/Unix/security consulting, Technical writing, Comedy, etc. etc. See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training! From cabney at ucsd.edu Wed Aug 18 18:56:04 2004 From: cabney at ucsd.edu (C. Abney) Date: Wed Aug 18 18:58:31 2004 Subject: [San-Diego-pm] FWD: [IP] more on Hard time? Not for cyber criminals In-Reply-To: References: <1092864733.11518.64.camel@vespa> <86pt5ortka.fsf@blue.stonehenge.com> <1092869703.11516.68.camel@vespa> Message-ID: <1092873364.11506.76.camel@vespa> On Wed, 2004-08-18 at 16:07, Menolly wrote: > On Wed, 18 Aug 2004, C. Abney wrote: > > > On Wed, 2004-08-18 at 15:05, Randal L. Schwartz wrote: > > > >>>>> "C" == C Abney writes: > > > > > > C> I tell that story to anyone that betrays he or she is thinking of > > > C> applying for a job at Intel. > > > > > > But it's not Intel! See for details. > > > > Not Intel??? Whoah. I know the law in Oregon is truly bad. That's > > clear. And the Oregonian and the judge are beyond merely stupid. They > > MUST be corrupt. But how can you hold Intel blameless... aren't they > > the prosecution? > > I've been told the Intel did not want to prosecute, but Oregon wanted to > test their laws and ran with it. Feel free to add salt to taaste; I so > not claim to speak with authority on this. Please permit me to get you started on a little thought experiment. Suppose you were Intel, and you had an employee who, while you didn't know him personally, you had every indication that he was a decent and upstanding guy. What would you do if "The State of Oregon" wanted to test out a new law that let you throw anyone in jail on the slightest whim? Yours, Charles -- Charles Abney Polymorphism Research Laboratory, 0603 UCSD School of Medicine 9500 Gilman Dr. La Jolla, CA 92093-0603 -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 307 bytes Desc: This is a digitally signed message part Url : http://mail.pm.org/pipermail/san-diego-pm/attachments/20040818/e8a0d7fe/attachment.bin From menolly at mib.org Wed Aug 18 19:03:41 2004 From: menolly at mib.org (Menolly) Date: Wed Aug 18 19:03:50 2004 Subject: [San-Diego-pm] FWD: [IP] more on Hard time? Not for cyber criminals In-Reply-To: <86d61orowg.fsf@blue.stonehenge.com> References: <1092864733.11518.64.camel@vespa> <86pt5ortka.fsf@blue.stonehenge.com> <1092869703.11516.68.camel@vespa> <86d61orowg.fsf@blue.stonehenge.com> Message-ID: On Wed, 18 Aug 2004, Randal L. Schwartz wrote: > >>>>> "Menolly" == Menolly writes: > > Menolly> I've been told the Intel did not want to prosecute, but > Menolly> Oregon wanted to test their laws and ran with it. Feel free > Menolly> to add salt to taaste; I so not claim to speak with authority > Menolly> on this. > > [...] > > Menolly> I interned at Intel; they have an excellent internship > Menolly> program and I enjoyed my time there quite a bit. I probably > Menolly> could have returned after graduation, but I decided I'd > Menolly> rather work in a software-oriented company instead of doing > Menolly> internal software for a hardware company. > > Yes, "did not want to prosecute" is probably what they would have told > their own people. But look at it this way: There's just as much > non-evidence that I *was* authorized as I *wasn't* authorized. In > other words, the chalk lines that moved around after the fact could > have just as easily moved back I was also told that, to Intel, the larger issue was unauthorized access from outside. Again, I know my sources (Intel InfoSec employees) are likely biased, and I withhold judgement to either side -- I don't think Randal's a Bad Guy, but I also don't think Intel is particularly evil. -- )\._.,--....,'``. | menolly@mib.org /, _.. \ _\ (`._ ,. | http://www.livejournal.com/~nolly/ `._.-(,_..'--(,_..'`-.;.' fL| Paranoid Cynical Optimist On that day, many will say to me, "Lord, Lord, did we not prophesy in your name, and cast out demons in your name, and do many mighty works in your name?" And then will I declare to them, "I never knew you; depart from me you evildoers." -- Matt 7:20-23, RSV From merlyn at stonehenge.com Wed Aug 18 19:39:30 2004 From: merlyn at stonehenge.com (Randal L. Schwartz) Date: Wed Aug 18 19:39:41 2004 Subject: [San-Diego-pm] FWD: [IP] more on Hard time? Not for cyber criminals In-Reply-To: References: <1092864733.11518.64.camel@vespa> <86pt5ortka.fsf@blue.stonehenge.com> <1092869703.11516.68.camel@vespa> <86d61orowg.fsf@blue.stonehenge.com> Message-ID: <86n00sq7ul.fsf@blue.stonehenge.com> >>>>> "Menolly" == Menolly writes: Menolly> I was also told that, to Intel, the larger issue was Menolly> unauthorized access from outside. Again, I know my sources Menolly> (Intel InfoSec employees) are likely biased, and I withhold Menolly> judgement to either side -- I don't think Randal's a Bad Guy, Menolly> but I also don't think Intel is particularly evil. And yet, that explanation is also weird. I was badged Intel at the time, and accessed the files and nets entirely from my desk at Hawthorn Farms. Oh well. "Set the spinners on maximum!" -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 Perl/Unix/security consulting, Technical writing, Comedy, etc. etc. See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training! From chris at globalspin.com Fri Aug 20 10:08:12 2004 From: chris at globalspin.com (Chris Radcliff) Date: Fri Aug 20 12:33:10 2004 Subject: [San-Diego-pm] FW: Small shopping cart job Message-ID: From the websandiego list: > Is there a Perl/CGI script guru among you who loves to troubleshoot > and wouldn't mind a few hours' work fixing our balky shopping cart? > Please e-mail me off list at grants@vrphobia.com for details. Thanks! > > --Michele Mathieu From christopher.hahn at peregrine.com Fri Aug 20 12:42:39 2004 From: christopher.hahn at peregrine.com (Christopher Hahn) Date: Fri Aug 20 12:42:47 2004 Subject: [San-Diego-pm] FW: Small shopping cart job Message-ID: Good Morning. I wanted to let you know that the "Members" link on the SD PM webpage is broken: ========================================================== Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request. ========================================================== See you at the next meeting....I mean it! ;0) chahn -----Original Message----- From: Chris Radcliff [mailto:chris@globalspin.com] Sent: Friday, August 20, 2004 8:08 AM To: San Diego Perl Mongers Subject: [San-Diego-pm] FW: Small shopping cart job From the websandiego list: > Is there a Perl/CGI script guru among you who loves to troubleshoot > and wouldn't mind a few hours' work fixing our balky shopping cart? > Please e-mail me off list at grants@vrphobia.com for details. Thanks! > > --Michele Mathieu _______________________________________________ San-Diego-pm mailing list San-Diego-pm@mail.pm.org http://www.pm.org/mailman/listinfo/san-diego-pm From joel at fentin.com Sat Aug 21 22:56:59 2004 From: joel at fentin.com (Joel Fentin) Date: Sat Aug 21 22:56:58 2004 Subject: [San-Diego-pm] FW: Small shopping cart job In-Reply-To: References: Message-ID: <4128198B.9050602@fentin.com> Christopher Hahn wrote: > Good Morning. > > I wanted to let you know that the "Members" link on the SD PM webpage is > broken: Thank you for the heads up. It's fixed now. -- Joel Fentin tel: 760-749-8863 FAX: 760-749-8864 Contact me: http://fentin.com/me/ContactMe.html Biz: http://fentin.com Personal: http://fentin.com/me/ From schoon at amgt.com Tue Aug 24 15:42:49 2004 From: schoon at amgt.com (Mark Schoonover) Date: Tue Aug 24 15:51:47 2004 Subject: [San-Diego-pm] Class::DBI::mysql Questions Message-ID: Good Afternoon! I'm starting to use Class::DBI::mysql in a few web apps. I'm new to OO programming in general, but I have a pretty good understanding of how it works with Perl by going through the camel and alpaca books. In going through the Class::DBI::* docs, there is an inflate, deflate and autoinflate methods. What in the world do they do?? For some reason I just can't get my brain around what they are supposed to do. Thanks! Mark Schoonover IS Manager American Geotechnical (V) 714-685-3900 (F) 714-685-3909 The pessimist says, "This glass is half empty." The optimist says, "This glass is half full" The engineer says, "This glass is exactly twice as large as it needs to be." From joel at fentin.com Fri Aug 27 12:40:40 2004 From: joel at fentin.com (Joel Fentin) Date: Fri Aug 27 12:49:59 2004 Subject: [San-Diego-pm] funny Message-ID: <412F7218.3070302@fentin.com> http://www.interesting-people.org/archives/interesting-people/200408/msg00297.html -- Joel Fentin tel: 760-749-8863 FAX: 760-749-8864 Contact me: http://fentin.com/me/ContactMe.html Biz: http://fentin.com Personal: http://fentin.com/me/