From fiedlert at gmail.com Thu Feb 1 08:06:55 2007 From: fiedlert at gmail.com (Ted Fiedler) Date: Thu, 1 Feb 2007 11:06:55 -0500 Subject: [ABE.pm] february 7th, beer and food! In-Reply-To: <20070130235721.GB673@knight.local> References: <20070130235721.GB673@knight.local> Message-ID: <814422ce0702010806s542a732do1b0d376c06aca6a7@mail.gmail.com> Im am up for Feb 7 Beer and food. How about JP McGradys again? I like their wings better :) Either way Ill be there. On 1/30/07, Ricardo SIGNES wrote: > > Fah! The entire month of January, we did not get food and beer! I grow > restless. One week from tomorrow, I demand that we will meet for both. > > I am famished just thinking about it. > > Venue suggestions? Machts Gute, again? JP McGrady's? Penn? I will hear > suggestions, but I will not go another month with no beer and food! > > February 5th is the deadline for OSCON talk proposals, so hopefully I will have > some things submitted and I can beg for input. I might want some help with > some ideas I have for this mixing I really want to write, too... I keep staring > at it and feeling totally dead inside. > > That is all! > > -- > rjbs > _______________________________________________ > ABE-pm mailing list > ABE-pm at pm.org > http://mail.pm.org/mailman/listinfo/abe-pm > -- "You are never dedicated to something you have complete confidence in. No one is fanatically shouting that the sun is going to rise tomorrow. They know it's going to rise tomorrow. " -- Robert M Pirsig From rjbs-perl-abe at lists.manxome.org Thu Feb 1 08:21:47 2007 From: rjbs-perl-abe at lists.manxome.org (Ricardo SIGNES) Date: Thu, 1 Feb 2007 11:21:47 -0500 Subject: [ABE.pm] february 7th, beer and food! In-Reply-To: <814422ce0702010806s542a732do1b0d376c06aca6a7@mail.gmail.com> References: <20070130235721.GB673@knight.local> <814422ce0702010806s542a732do1b0d376c06aca6a7@mail.gmail.com> Message-ID: <20070201162147.GA21349@zodiac.codesimply.com> * Ted Fiedler [2007-02-01T11:06:55] > Im am up for Feb 7 Beer and food. How about JP McGradys again? I like > their wings better :) Either way Ill be there. Sounds good to me. I like their burgers, and I haven't had one in months now. Also, more beer selection. -- rjbs From faber at linuxnj.com Thu Feb 1 13:30:07 2007 From: faber at linuxnj.com (Faber J. Fedor) Date: Thu, 1 Feb 2007 16:30:07 -0500 Subject: [ABE.pm] february 7th, beer and food! In-Reply-To: <20070201162147.GA21349@zodiac.codesimply.com> References: <20070130235721.GB673@knight.local> <814422ce0702010806s542a732do1b0d376c06aca6a7@mail.gmail.com> <20070201162147.GA21349@zodiac.codesimply.com> Message-ID: <20070201213007.GA20184@neptune.faber.nom> On 01/02/07 11:21 -0500, Ricardo SIGNES wrote: > * Ted Fiedler [2007-02-01T11:06:55] > > Im am up for Feb 7 Beer and food. How about JP McGradys again? I like > > their wings better :) Either way Ill be there. > > Sounds good to me. I like their burgers, and I haven't had one in months now. > Also, more beer selection. More beer is good! McGrady's is the original meeting place, right? I plan on being there, but we'll see what the doctor says; I've got a stress test the next day and eating with you guys might cause my test to skew. :-) -- Regards, Faber Fedor President Linux New Jersey, Inc. 908-320-0357 800-706-0701 http://www.linuxnj.com From rjbs-perl-abe at lists.manxome.org Thu Feb 1 14:13:51 2007 From: rjbs-perl-abe at lists.manxome.org (Ricardo SIGNES) Date: Thu, 1 Feb 2007 17:13:51 -0500 Subject: [ABE.pm] february 7th, beer and food! In-Reply-To: <20070201213007.GA20184@neptune.faber.nom> References: <20070130235721.GB673@knight.local> <814422ce0702010806s542a732do1b0d376c06aca6a7@mail.gmail.com> <20070201162147.GA21349@zodiac.codesimply.com> <20070201213007.GA20184@neptune.faber.nom> Message-ID: <20070201221351.GB2102@zodiac.codesimply.com> * "Faber J. Fedor" [2007-02-01T16:30:07] > McGrady's is the original meeting place, right? Right, the place with 50 beers and the chunky wooden tables, in S. Bethlehem. > I plan on being there, but we'll see what the doctor says; I've got a > stress test the next day and eating with you guys might cause my test to > skew. :-) Yeah, for the better! -- rjbs From faber at linuxnj.com Sat Feb 3 08:53:02 2007 From: faber at linuxnj.com (Faber J. Fedor) Date: Sat, 3 Feb 2007 11:53:02 -0500 Subject: [ABE.pm] Is this a crazy idea? Message-ID: <20070203165302.GB24674@neptune.faber.nom> I'm working on a web-based graphical report. (I'm using Chart Director (http://www.chartdir.com/) which freaking rocks for creating charts.) What I'm graphing is deciled data over time, e.g. take the S&P500, break it into 10 pieces of 50 companies each, average the values for a specific variable for those companies and do it for each month between $startdate and $enddate. Repeat for the the different variables (up to 22), for each index (currently 12) such as S&P400 (40 companies each in each decile), Russell 3000 (300 companies in each decile), etc. On top of that, there are two ways of deciling which I won't get into. Since it takes up to four minute to generate the datasets, I figured I'd create a separate MySQL table for each combo (index, variable, deciling method) and store the averages for the entire possible date range. The tables have a structure of "date, decile1, decile2, decile3,...,decile10'. Since there can be up to 528 combos, I generate the table on the fly when it is first requested. The client pulls up a web page, selects his criterion, the cgi-bin program pulls the data from MySQL, graphs it with ChartDirector and he gets back four pretty and complicated graphs. Beleive it or not, it works well. OTOH, if I showed you the code, you'd guys wouldn't let me attend the monthly meetings since the code is so bad. :-) Well, the client wants to see more data, which means my tables are going to get more unwieldy. So here's my crazy idea: instead of storing the decile related data in the table, I create decile objects, probably a HoH, and store the object in the table as a text field using the Storable module. (And since I'm not using any SQL functionality, I can store this data in text files but that will probably have to wait for version 2.0 or more likeyl the next set of reports sine I don't get a chance to go back and rewrite the prototype code.) The more I think about this idea, the more I like it. So what's wrong with it? -- Regards, Faber Fedor President Linux New Jersey, Inc. 908-320-0357 800-706-0701 http://www.linuxnj.com From faber at linuxnj.com Sat Feb 3 09:10:43 2007 From: faber at linuxnj.com (Faber J. Fedor) Date: Sat, 3 Feb 2007 12:10:43 -0500 Subject: [ABE.pm] Is this a crazy idea? In-Reply-To: <20070203165302.GB24674@neptune.faber.nom> References: <20070203165302.GB24674@neptune.faber.nom> Message-ID: <20070203171043.GB24842@neptune.faber.nom> And another thing... To display the comapny data, I need to either A) store all of the data in the web page and redraw it with Javascript which is doable but that's a lot of data being trasnferred or B) use AJAX to pull the data. If I use AJAX, does that mean I have to SELECT the data from the database, unserialize it with Storable, serialize with the $XMLSERIALIZE module, send it to the web page and unserialize it again? I guess I could initially serialzie the data into XML, but then I have all the verbosity and I lose the transparency of Storable which is a bad thing since I still need to do some Perl-crunching on the data, no? -- Regards, Faber Fedor President Linux New Jersey, Inc. 908-320-0357 800-706-0701 http://www.linuxnj.com From faber at linuxnj.com Sun Feb 4 19:28:25 2007 From: faber at linuxnj.com (Faber J. Fedor) Date: Sun, 4 Feb 2007 22:28:25 -0500 Subject: [ABE.pm] february 7th, beer and food! In-Reply-To: <20070130235721.GB673@knight.local> References: <20070130235721.GB673@knight.local> Message-ID: <20070205032825.GA20039@neptune.faber.nom> On 30/01/07 18:57 -0500, Ricardo SIGNES wrote: > > Fah! The entire month of January, we did not get food and beer! Man! You must have lost a lot of weight! What time is this fiasco? Seven PM, I presume? -- Regards, Faber Fedor President Linux New Jersey, Inc. 908-320-0357 800-706-0701 http://www.linuxnj.com From rjbs-perl-abe at lists.manxome.org Mon Feb 5 02:37:22 2007 From: rjbs-perl-abe at lists.manxome.org (Ricardo SIGNES) Date: Mon, 5 Feb 2007 05:37:22 -0500 Subject: [ABE.pm] february 7th, beer and food! In-Reply-To: <20070205032825.GA20039@neptune.faber.nom> References: <20070130235721.GB673@knight.local> <20070205032825.GA20039@neptune.faber.nom> Message-ID: <20070205103722.GA9899@zodiac.codesimply.com> * "Faber J. Fedor" [2007-02-04T22:28:25] > On 30/01/07 18:57 -0500, Ricardo SIGNES wrote: > > > > Fah! The entire month of January, we did not get food and beer! > > Man! You must have lost a lot of weight! I wish! > What time is this fiasco? Seven PM, I presume? Seven it is. -- rjbs From tfreedman at iqep.com Mon Feb 5 07:14:26 2007 From: tfreedman at iqep.com (Tom Freedman) Date: Mon, 5 Feb 2007 10:14:26 -0500 Subject: [ABE.pm] february 7th, beer and food! In-Reply-To: <20070201221351.GB2102@zodiac.codesimply.com> References: <20070130235721.GB673@knight.local><814422ce0702010806s542a732do1b0d376c06aca6a7@mail.gmail.com><20070201162147.GA21349@zodiac.codesimply.com><20070201213007.GA20184@neptune.faber.nom> <20070201221351.GB2102@zodiac.codesimply.com> Message-ID: <488856AE33F91F4A881EA12F52DDC8C64127D5@inbtmail1.group.iqep.com> > -----Original Message----- > Sent: Thursday, February 01, 2007 5:14 PM > Subject: Re: [ABE.pm] february 7th, beer and food! > > * "Faber J. Fedor" [2007-02-01T16:30:07] > > McGrady's is the original meeting place, right? > > Right, the place with 50 beers and the chunky wooden tables, in S. > Bethlehem. I'm in as well. McGrady's always works for me, as it's ~1 mile from my house. :-D See you all then! -Tom From faber at linuxnj.com Mon Feb 5 08:10:42 2007 From: faber at linuxnj.com (Faber J. Fedor) Date: Mon, 5 Feb 2007 11:10:42 -0500 Subject: [ABE.pm] february 7th, beer and food! In-Reply-To: <488856AE33F91F4A881EA12F52DDC8C64127D5@inbtmail1.group.iqep.com> References: <20070201221351.GB2102@zodiac.codesimply.com> <488856AE33F91F4A881EA12F52DDC8C64127D5@inbtmail1.group.iqep.com> Message-ID: <20070205161042.GA22451@neptune.faber.nom> On 05/02/07 10:14 -0500, Tom Freedman wrote: > > -----Original Message----- > > Sent: Thursday, February 01, 2007 5:14 PM > > Subject: Re: [ABE.pm] february 7th, beer and food! > > > > * "Faber J. Fedor" [2007-02-01T16:30:07] > > > McGrady's is the original meeting place, right? > > > > Right, the place with 50 beers and the chunky wooden tables, in S. > > Bethlehem. > > I'm in as well. McGrady's always works for me, as it's ~1 mile from my > house. :-D You know, one of these days, we're going to have to pick a place that's close to *my* house: http://maps.google.com/maps?f=q&hl=en&q=08826-3101&ie=UTF8&z=13&ll=40.713696,-74.916286&spn=0.102141,0.270538&om=1&iwloc=addr -- Regards, Faber Fedor President Linux New Jersey, Inc. 908-320-0357 800-706-0701 http://www.linuxnj.com From john-abe at apt202.net Mon Feb 5 08:17:26 2007 From: john-abe at apt202.net (John Cappiello) Date: Mon, 5 Feb 2007 11:17:26 -0500 Subject: [ABE.pm] february 7th, beer and food! In-Reply-To: <20070205161042.GA22451@neptune.faber.nom> References: <20070201221351.GB2102@zodiac.codesimply.com> <488856AE33F91F4A881EA12F52DDC8C64127D5@inbtmail1.group.iqep.com> <20070205161042.GA22451@neptune.faber.nom> Message-ID: <20070205161725.GP32073@apt202.net> On Mon, Feb 05, 2007 at 11:10:42AM -0500, Faber J. Fedor wrote: > You know, one of these days, we're going to have to pick a place that's > close to *my* house: I'm sure that will happen just as soon as rjbs can drive. -- jcap From rjbs-perl-abe at lists.manxome.org Mon Feb 5 08:21:58 2007 From: rjbs-perl-abe at lists.manxome.org (Ricardo SIGNES) Date: Mon, 5 Feb 2007 11:21:58 -0500 Subject: [ABE.pm] february 7th, beer and food! In-Reply-To: <20070205161725.GP32073@apt202.net> References: <20070201221351.GB2102@zodiac.codesimply.com> <488856AE33F91F4A881EA12F52DDC8C64127D5@inbtmail1.group.iqep.com> <20070205161042.GA22451@neptune.faber.nom> <20070205161725.GP32073@apt202.net> Message-ID: <20070205162158.GA11488@zodiac.codesimply.com> * John Cappiello [2007-02-05T11:17:26] > On Mon, Feb 05, 2007 at 11:10:42AM -0500, Faber J. Fedor wrote: > > You know, one of these days, we're going to have to pick a place that's > > close to *my* house: > > I'm sure that will happen just as soon as rjbs can drive. I'm going for a physical on Wednesday so I can get my permit again... -- rjbs From rjbs-perl-abe at lists.manxome.org Wed Feb 7 19:11:53 2007 From: rjbs-perl-abe at lists.manxome.org (Ricardo SIGNES) Date: Wed, 7 Feb 2007 22:11:53 -0500 Subject: [ABE.pm] misc. notes from tonight Message-ID: <20070208031153.GA9795@zodiac.codesimply.com> White and Nerdy: http://youtube.com/watch?v=-xEzGIuY7kw The Little Schemer: http://www.amazon.com/Little-Schemer-Daniel-P-Friedman/dp/0262560992 There also exists The Seasoned Schemer and The Reasoned Schemer. -- rjbs From faber at linuxnj.com Wed Feb 7 19:44:48 2007 From: faber at linuxnj.com (Faber J. Fedor) Date: Wed, 7 Feb 2007 22:44:48 -0500 Subject: [ABE.pm] misc. notes from tonight In-Reply-To: <20070208031153.GA9795@zodiac.codesimply.com> References: <20070208031153.GA9795@zodiac.codesimply.com> Message-ID: <20070208034448.GA32395@neptune.faber.nom> On 07/02/07 22:11 -0500, Ricardo SIGNES wrote: > > White and Nerdy: http://youtube.com/watch?v=-xEzGIuY7kw When did this pop up in converstaion? I LOVE this video! I'm still trying to find the original. As I mentioned: These guys, http://www.bootiesf.com/, have put out these albums: http://www.bootiesf.com/bestofbootie_2005/ and http://www.bootieusa.com/bestofbootie2006/ And "American Edit": http://webfeedcentral.com/more/dean-gray/ Of course, these guys are the best so far: http://www.kleptones.com/ It took us what? Two hours before we started talking about code? Must be a new record! -- Regards, Faber Fedor President Linux New Jersey, Inc. 908-320-0357 800-706-0701 http://www.linuxnj.com From john-abe at apt202.net Wed Feb 7 19:51:48 2007 From: john-abe at apt202.net (John Cappiello) Date: Wed, 7 Feb 2007 22:51:48 -0500 Subject: [ABE.pm] misc. notes from tonight In-Reply-To: <20070208034448.GA32395@neptune.faber.nom> References: <20070208031153.GA9795@zodiac.codesimply.com> <20070208034448.GA32395@neptune.faber.nom> Message-ID: <20070208035147.GB22720@apt202.net> On Wed, Feb 07, 2007 at 10:44:48PM -0500, Faber J. Fedor wrote: > Of course, these guys are the best so far: http://www.kleptones.com/ kleptones++ -- jcap From rjbs-perl-abe at lists.manxome.org Thu Feb 8 05:09:02 2007 From: rjbs-perl-abe at lists.manxome.org (Ricardo SIGNES) Date: Thu, 8 Feb 2007 08:09:02 -0500 Subject: [ABE.pm] misc. notes from tonight In-Reply-To: <20070208034448.GA32395@neptune.faber.nom> References: <20070208031153.GA9795@zodiac.codesimply.com> <20070208034448.GA32395@neptune.faber.nom> Message-ID: <20070208130902.GA1550@zodiac.codesimply.com> * "Faber J. Fedor" [2007-02-07T22:44:48] > On 07/02/07 22:11 -0500, Ricardo SIGNES wrote: > > > > White and Nerdy: http://youtube.com/watch?v=-xEzGIuY7kw > > When did this pop up in converstaion? I LOVE this video! I'm still > trying to find the original. The original song, "Ridin'" by Chamillionaire came on the jukebox, which brought it up. -- rjbs From faber at linuxnj.com Tue Feb 13 18:23:26 2007 From: faber at linuxnj.com (Faber J. Fedor) Date: Tue, 13 Feb 2007 21:23:26 -0500 Subject: [ABE.pm] Johnny Cash article on Slade Message-ID: <20070214022326.GC9897@neptune.faber.nom> http://www.slate.com/id/2147591/ -- Regards, Faber Fedor President Linux New Jersey, Inc. 908-320-0357 800-706-0701 http://www.linuxnj.com From faber at linuxnj.com Thu Feb 15 13:13:12 2007 From: faber at linuxnj.com (Faber J. Fedor) Date: Thu, 15 Feb 2007 16:13:12 -0500 Subject: [ABE.pm] Status messages on a web page Message-ID: <20070215211312.GA14477@neptune.faber.nom> How do you do them? I'm AJAX-ifying my report page and I thought I'd clean up the status messages. Currently, if the data table doesn't exist, I print the status message "Wait while I generate the data table" to STDOUT and, after the table is generated, I put up the graphs. Problem is, the status message is still up on the screen until the user refreshes the screen. I can't see a way of doing it that doesn't force me to rewrite the CGI script completely in AJAX. Currently, when you execute the script, CGI.pm does its thing, I crunch some perl code and then print HTML to STDOUT. Not very Web 2.0 (hell, it's barely Web 1.0!), but it works. -- Regards, Faber Fedor President Linux New Jersey, Inc. 908-320-0357 800-706-0701 http://www.linuxnj.com From faber at linuxnj.com Sat Feb 17 17:56:59 2007 From: faber at linuxnj.com (Faber J. Fedor) Date: Sat, 17 Feb 2007 20:56:59 -0500 Subject: [ABE.pm] Good AJAX library/framework? Message-ID: <20070218015659.GA25484@neptune.faber.nom> Anyone know of any? I'm looking for something that handles the server side as well as the client-side (which leaves Dojo out; sorry, jcap!). I was using CGI::AJAX but I found a fatal flaw in it: it requires id tags of HTML elements passed to it which means it can't be called from an image map flyover (which provides raw data, not a field/id name). :-( Or am I stuck doing low-level AJAX? -- Regards, Faber Fedor President Linux New Jersey, Inc. 908-320-0357 800-706-0701 http://www.linuxnj.com From faber at linuxnj.com Sat Feb 17 18:03:00 2007 From: faber at linuxnj.com (Faber J. Fedor) Date: Sat, 17 Feb 2007 21:03:00 -0500 Subject: [ABE.pm] Is this a crazy idea? In-Reply-To: <20070203171043.GB24842@neptune.faber.nom> References: <20070203165302.GB24674@neptune.faber.nom> <20070203171043.GB24842@neptune.faber.nom> Message-ID: <20070218020300.GB25484@neptune.faber.nom> On 03/02/07 12:10 -0500, Faber J. Fedor wrote: > And another thing... > > To display the comapny data, I need to either A) store all of the data > in the web page and redraw it with Javascript which is doable but that's > a lot of data being trasnferred or B) use AJAX to pull the data. > > If I use AJAX, does that mean I have to SELECT the data from the > database, unserialize it with Storable, serialize with the $XMLSERIALIZE > module, send it to the web page and unserialize it again? Actually, Faber, what you can do is this: serialize the data into text fields in your database table, have your AJAX call the back-end function, SELECT the data, format it with HTML and CSS, *then* pass it back to the web page. Alternativeley, you could pass the JSON object straight through the AJAX call and HTML-ize the data in Javascript, but I think it's easier to do on the back-end in Perl. -- Regards, Faber Fedor President Linux New Jersey, Inc. 908-320-0357 800-706-0701 http://www.linuxnj.com From faber at linuxnj.com Thu Feb 22 16:15:06 2007 From: faber at linuxnj.com (Faber J. Fedor) Date: Thu, 22 Feb 2007 19:15:06 -0500 Subject: [ABE.pm] Here's a weird one Message-ID: <20070223001506.GA32140@neptune.faber.nom> I'm working on my report web page, right? I click on submit and the cgi-bin executes, generates all kinds of neat-o graphs and displays them. Within that page, I change two variable values and click update. The thing crashes. I track it down to a variable called "table" not being defined, which is really weird since a line before the crash I say "define table if it's not defined". Here's the code: my (@labels, $realdate, $enddate); my ($Decile1Tag, $Decile10Tag); my $q = new CGI; my $bm = $q->param('bm'); my $realdate = $q->param('startdate'); my $enddate = $q->param('enddate'); my $variable = lc($q->param('variable')); my $weighting = lc($q->param('weighting')); my $Decile1Tag = $q->param('decile1'); my $Decile10Tag = $q->param('decile10'); my $table = $q->param('table'); $Decile1Tag = '1' if ! defined ($Decile1Tag); $Decile10Tag = '10' if ! defined ($Decile10Tag); $weighting = 'equal' if ! defined($weighting); my $table = 'fm_'.$bm.'_'.$variable.'_'.$weighting.'_weighting' if !defined($table); Anyone see the error? Both instances of $table have a "my" in front of it! If I take outthe second my, the CGI program runs on an update as well as a submit! I have been running this code for weeks with this bug. The compiler never saw it. And I just found four more instances of the same bug! All four can be seen above. This code compiles and runs from the command line without errors or warnings. I'm guessing I overloaded the parser/compiler? This code is a large, unwieldly steaming POS containing CSS, Javascript, HTML, Dojo and, of course, Perl in about a thousand lines of code. -- Regards, Faber Fedor President Linux New Jersey, Inc. 908-320-0357 800-706-0701 http://www.linuxnj.com From rjbs-perl-abe at lists.manxome.org Thu Feb 22 16:44:47 2007 From: rjbs-perl-abe at lists.manxome.org (Ricardo SIGNES) Date: Thu, 22 Feb 2007 19:44:47 -0500 Subject: [ABE.pm] Here's a weird one In-Reply-To: <20070223001506.GA32140@neptune.faber.nom> References: <20070223001506.GA32140@neptune.faber.nom> Message-ID: <20070223004447.GA1564@zodiac.codesimply.com> * "Faber J. Fedor" [2007-02-22T19:15:06] > my $table = $q->param('table'); > > $Decile1Tag = '1' if ! defined ($Decile1Tag); > $Decile10Tag = '10' if ! defined ($Decile10Tag); > $weighting = 'equal' if ! defined($weighting); > > my $table = 'fm_'.$bm.'_'.$variable.'_'.$weighting.'_weighting' > if !defined($table); > > Anyone see the error? Both instances of $table have a "my" in front of > it! If I take outthe second my, the CGI program runs on an update as > well as a submit! Each time you write "my $x" you get a new $x, with no defined value. This is NEVER EVER what you mean, unless you are trying to fuck with future maintenance programmers: my $x = $value if not defined $x; You probably mean: my $table = $q->param('table'); $table = $something_else unless defined $table; By the way, I couldn't help but notice that this is an eyesore: $table = 'fm_'.$bm.'_'.$variable.'_'.$weighting.'_weighting' Why not: $table = "fm\_$bm\_$variable\_$weighting\_weighting" ? :) > I have been running this code for weeks with this bug. The compiler > never saw it. And I just found four more instances of the same bug! All > four can be seen above. > > This code compiles and runs from the command line without errors or warnings. You are getting no warnings because you have not turned on warnings. You should ALWAYS start your code with "use strict; use warnings;" Example: ~$ perl -e 'my $x; my $x' ~$ ~$ perl -e 'use warnings; my $x; my $x' "my" variable $x masks earlier declaration in same scope at -e line 1. Woop! -- rjbs From faber at linuxnj.com Thu Feb 22 16:57:43 2007 From: faber at linuxnj.com (Faber J. Fedor) Date: Thu, 22 Feb 2007 19:57:43 -0500 Subject: [ABE.pm] Here's a weird one In-Reply-To: <20070223004447.GA1564@zodiac.codesimply.com> References: <20070223001506.GA32140@neptune.faber.nom> <20070223004447.GA1564@zodiac.codesimply.com> Message-ID: <20070223005743.GA32242@neptune.faber.nom> On 22/02/07 19:44 -0500, Ricardo SIGNES wrote: > You probably mean: > > my $table = $q->param('table'); > $table = $something_else unless defined $table; DUH! Did I not make it clear that the double "my" was an error? It was NOT what I intended. > By the way, I couldn't help but notice that this is an eyesore: > > $table = 'fm_'.$bm.'_'.$variable.'_'.$weighting.'_weighting' > > Why not: > > $table = "fm\_$bm\_$variable\_$weighting\_weighting" > > ? :) Convention. > > I have been running this code for weeks with this bug. The compiler > > never saw it. And I just found four more instances of the same bug! All > > four can be seen above. > > > > This code compiles and runs from the command line without errors or warnings. > > You are getting no warnings because you have not turned on warnings. You > should ALWAYS start your code with "use strict; use warnings;" The first use statement in all my perl code is "use strict". It seems this time I forgot the '-w' on the shebang line. -- Regards, Faber Fedor President Linux New Jersey, Inc. 908-320-0357 800-706-0701 http://www.linuxnj.com From rjbs-perl-abe at lists.manxome.org Thu Feb 22 18:01:13 2007 From: rjbs-perl-abe at lists.manxome.org (Ricardo SIGNES) Date: Thu, 22 Feb 2007 21:01:13 -0500 Subject: [ABE.pm] Here's a weird one In-Reply-To: <20070223005743.GA32242@neptune.faber.nom> References: <20070223001506.GA32140@neptune.faber.nom> <20070223004447.GA1564@zodiac.codesimply.com> <20070223005743.GA32242@neptune.faber.nom> Message-ID: <20070223020113.GA2477@zodiac.codesimply.com> * "Faber J. Fedor" [2007-02-22T19:57:43] > > You are getting no warnings because you have not turned on warnings. You > > should ALWAYS start your code with "use strict; use warnings;" > > The first use statement in all my perl code is "use strict". It seems > this time I forgot the '-w' on the shebang line. -w is SO 5.0x! Make an abbr for "usw" to "use strict;use warnings;" and you need never go hungry again! -- rjbs From rjbs-perl-abe at lists.manxome.org Tue Feb 27 17:23:40 2007 From: rjbs-perl-abe at lists.manxome.org (Ricardo SIGNES) Date: Tue, 27 Feb 2007 20:23:40 -0500 Subject: [ABE.pm] beer. burgers. you will attend Message-ID: <20070228012340.GB31271@zodiac.codesimply.com> March 7th. Probably my last ABE.pm with not much grey hair. ETA baby, March 21. JP McGrady's? -- rjbs From fiedlert at gmail.com Tue Feb 27 18:26:48 2007 From: fiedlert at gmail.com (Ted Fiedler) Date: Tue, 27 Feb 2007 21:26:48 -0500 Subject: [ABE.pm] beer. burgers. you will attend In-Reply-To: <20070228012340.GB31271@zodiac.codesimply.com> References: <20070228012340.GB31271@zodiac.codesimply.com> Message-ID: <814422ce0702271826r5eb9afabu5de70a0a27bc37f1@mail.gmail.com> Enjoy these quiet days :) McGrady's is good for me. On 2/27/07, Ricardo SIGNES wrote: > > March 7th. Probably my last ABE.pm with not much grey hair. ETA baby, March > 21. > > JP McGrady's? > > -- > rjbs > _______________________________________________ > ABE-pm mailing list > ABE-pm at pm.org > http://mail.pm.org/mailman/listinfo/abe-pm > -- "You are never dedicated to something you have complete confidence in. No one is fanatically shouting that the sun is going to rise tomorrow. They know it's going to rise tomorrow. " -- Robert M Pirsig From rjbs-perl-abe at lists.manxome.org Tue Feb 27 18:42:02 2007 From: rjbs-perl-abe at lists.manxome.org (Ricardo SIGNES) Date: Tue, 27 Feb 2007 21:42:02 -0500 Subject: [ABE.pm] beer. burgers. you will attend In-Reply-To: <20070228022715.GA6145@neptune.faber.nom> References: <20070228012340.GB31271@zodiac.codesimply.com> <20070228022715.GA6145@neptune.faber.nom> Message-ID: <20070228024202.GB7836@zodiac.codesimply.com> * "Faber J. Fedor" [2007-02-27T21:27:15] > > JP McGrady's? > > I'm in the mood for pizza. With a decent beer list (which rules at the > last pizza joint). I don't know of any local pizza places with a better than deli-like selection of beers. Penn is good because of the pizza, not the beer -- although, hey, they've got Yuengling. If only I had a @#$@ing dining room table, I could get some pizzas over here and some good beer, and there would be no smokers, waitresses, or jukeboxes. Then again... man, I really like the Fahy burger. -- rjbs From faber at linuxnj.com Tue Feb 27 19:28:56 2007 From: faber at linuxnj.com (Faber J. Fedor) Date: Tue, 27 Feb 2007 22:28:56 -0500 Subject: [ABE.pm] Fw: Re: beer. burgers. you will attend Message-ID: <20070228032856.GC6145@neptune.faber.nom> Damn it! The reply-to isn't properly set! Still! ----- Forwarded message from "Faber J. Fedor" ----- Date: Tue, 27 Feb 2007 22:27:35 -0500 From: "Faber J. Fedor" To: Ricardo SIGNES Subject: Re: beer. burgers. you will attend On 27/02/07 21:42 -0500, Ricardo SIGNES wrote: > * "Faber J. Fedor" [2007-02-27T21:27:15] > > > JP McGrady's? > > > > I'm in the mood for pizza. With a decent beer list (which rules at the > > last pizza joint). > > I don't know of any local pizza places with a better than deli-like selection > of beers. Penn is good because of the pizza, not the beer -- although, hey, > they've got Yuengling. You make it sound like that's a good thing. > If only I had a @#$@ing dining room table, I could get some pizzas over here > and some good beer, and there would be no smokers, waitresses, or jukeboxes. We don't need a @#$@ing dining room table! *I* need a comfy chair/couch; you young pups can spread out on the floor! > Then again... man, I really like the Fahy burger. Yeah, it's good, but it's like hand-editing sendmail.cf; you gotta do it once, doing it twice is just foolhardy. -- Regards, Faber Fedor President Linux New Jersey, Inc. 908-320-0357 800-706-0701 http://www.linuxnj.com ----- End forwarded message ----- From john-abe at apt202.net Tue Feb 27 19:33:31 2007 From: john-abe at apt202.net (John Cappiello) Date: Tue, 27 Feb 2007 22:33:31 -0500 Subject: [ABE.pm] Fw: Re: beer. burgers. you will attend In-Reply-To: <20070228032856.GC6145@neptune.faber.nom> References: <20070228032856.GC6145@neptune.faber.nom> Message-ID: <20070228033331.GM31680@apt202.net> On Tue, Feb 27, 2007 at 10:28:56PM -0500, Faber J. Fedor wrote: > We don't need a @#$@ing dining room table! *I* need a comfy chair/couch; > you young pups can spread out on the floor! Gather round and let Old Faber tell you a story! -- jcap From faber at linuxnj.com Tue Feb 27 20:02:18 2007 From: faber at linuxnj.com (Faber J. Fedor) Date: Tue, 27 Feb 2007 23:02:18 -0500 Subject: [ABE.pm] Fw: Re: beer. burgers. you will attend In-Reply-To: <20070228033331.GM31680@apt202.net> References: <20070228032856.GC6145@neptune.faber.nom> <20070228033331.GM31680@apt202.net> Message-ID: <20070228040218.GA6576@neptune.faber.nom> On 27/02/07 22:33 -0500, John Cappiello wrote: > On Tue, Feb 27, 2007 at 10:28:56PM -0500, Faber J. Fedor wrote: > > We don't need a @#$@ing dining room table! *I* need a comfy chair/couch; > > you young pups can spread out on the floor! > > Gather round and let Old Faber tell you a story! Have I told you about the time I programmed a PDP-11, blindfolded, with a Dvorak keyboard, while walking to and from school, in a snowstorm, uphill, both ways? I remember it like it was yesterday... -- Regards, Faber Fedor President Linux New Jersey, Inc. 908-320-0357 800-706-0701 http://www.linuxnj.com From waltman at pobox.com Wed Feb 28 09:57:38 2007 From: waltman at pobox.com (Walt Mankowski) Date: Wed, 28 Feb 2007 12:57:38 -0500 Subject: [ABE.pm] Fw: Re: beer. burgers. you will attend In-Reply-To: <20070228040218.GA6576@neptune.faber.nom> References: <20070228032856.GC6145@neptune.faber.nom> <20070228033331.GM31680@apt202.net> <20070228040218.GA6576@neptune.faber.nom> Message-ID: <20070228175738.GH22962@mawode.com> On Tue, Feb 27, 2007 at 11:02:18PM -0500, Faber J. Fedor wrote: > On 27/02/07 22:33 -0500, John Cappiello wrote: > > On Tue, Feb 27, 2007 at 10:28:56PM -0500, Faber J. Fedor wrote: > > > We don't need a @#$@ing dining room table! *I* need a comfy chair/couch; > > > you young pups can spread out on the floor! > > > > Gather round and let Old Faber tell you a story! > > Have I told you about the time I programmed a PDP-11, blindfolded, with > a Dvorak keyboard, while walking to and from school, in a snowstorm, > uphill, both ways? Is that the one where you strap the 8" floppies to your bare feet and use them as snowshoes? Walt From john-abe at apt202.net Wed Feb 28 10:12:07 2007 From: john-abe at apt202.net (John Cappiello) Date: Wed, 28 Feb 2007 13:12:07 -0500 Subject: [ABE.pm] Fw: Re: beer. burgers. you will attend In-Reply-To: <20070228175738.GH22962@mawode.com> References: <20070228032856.GC6145@neptune.faber.nom> <20070228033331.GM31680@apt202.net> <20070228040218.GA6576@neptune.faber.nom> <20070228175738.GH22962@mawode.com> Message-ID: <20070228181207.GB24606@apt202.net> On Wed, Feb 28, 2007 at 12:57:38PM -0500, Walt Mankowski wrote: > Is that the one where you strap the 8" floppies to your bare feet and > use them as snowshoes? As was the style of the time. But you had to use the black floppies. The gray ones were more popular in mexican fashion. -- jcap