Re: [Boston.pm] Perl in Statistics, optimization, decision science,data analyst

2003-08-14 Thread Jon Orwant
On Tuesday, August 12, 2003, at 07:42 AM, Tommie M. Jones wrote: Hello, I am looking for case studies, articles, examples of applications where Perl was used to do a numerical analysis problem. Not just generating a report or tweaking data to be imported into other data but actual numerical

Re: [Boston.pm] empty versus zero

2003-08-14 Thread Kenneth Graves
Date: Wed, 13 Aug 2003 08:56:53 -0700 (PDT) From: David Byrne [EMAIL PROTECTED] How can I count empty values in an array? This count should not include zeros or non-empty values. This should work: if (length($value) == 0) { $count += 1; }

Re: [Boston.pm] empty versus zero

2003-08-14 Thread Ron Newman
On Wednesday, August 13, 2003, at 12:55 PM, Vince Coccia wrote: Wouldn't the simple solution work? Just check for the defined-ness of the element? No. The element IS defined, but it is an empty string. ___ Boston-pm mailing list [EMAIL PROTECTED]

Re: [Boston.pm] empty versus zero

2003-08-14 Thread Vince Coccia
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Wednesday 13 August 2003 11:56 am, David Byrne wrote: Wouldn't the simple solution work? Just check for the defined-ness of the element? Vince #!perl -w # Count missing values while (my $line = ) { chomp ($line); my

Re: [Boston.pm] Postal address De-duping

2003-08-14 Thread Bill N1VUX
really, any perl programmer worth hiring should be able to do this while sleeping. Really? Postal de-duping may be harder than you think. What's the Reg-exp to convert or match FIELDS CORNER, BOSTON to DORCHESTER It's Not just canonicalization of abbreviations and moving Apartments

[Boston.pm] Tk question.

2003-08-14 Thread Timothy Kohl
Hi, I am trying to set up an associative array where the values are method calls (specifically widget creation calls) for Tk. Ex: (I know this doesn't work) %Valid=( hostname = Entry(width=30,background='darkgreen',-textvariable=\$curval{hostname}) ) The problem is that I am not

Re: [Boston.pm] Postal address De-duping

2003-08-14 Thread John Saylor
hi ( 03.08.04 17:12 -0400 ) Joel Gwynn: we're looking for a fast, customizable de-duping solution. I was thinking there might be some perl stuff out there, really, any perl programmer worth hiring should be able to do this while sleeping. -- \js

Re: [Boston.pm] Postal address De-duping

2003-08-14 Thread Richard Morse
On Tuesday, August 5, 2003, at 09:07 AM, John Saylor wrote: hi ( 03.08.04 17:12 -0400 ) Joel Gwynn: we're looking for a fast, customizable de-duping solution. I was thinking there might be some perl stuff out there, really, any perl programmer worth hiring should be able to do this while

Re: [Boston.pm] Postal address De-duping

2003-08-14 Thread Drew Taylor
Tolkin, Steve mentioned On 8/5/03 11:21 AM,: The article in question can be found at http://www.foo.be/docs/tpj/issues/vol4_1/tpj0401-0002.html (I had a hard time finding it via tpj.com, but Google worked.) Unfortunately I think that the USPS site http://www.usps.com/cgi-bin/zip4/zip4inq needed

Re: [Boston.pm] Postal address De-duping

2003-08-14 Thread Daniel M. Lipton
You may find more useful information as a registered USPS developer: http://www.USPSPriorityMail.com/et_regcert.html If you don't want to register before you get more answers, read carefully through their web tools documents available here: http://www.uspswebtools.com/ I believe the most

Re: [Boston.pm] Tech Meeting Tues, Aug 19

2003-08-14 Thread Kenneth Graves
Date: Tue, 12 Aug 2003 14:33:57 -0400 From: Ronald J Kimball [EMAIL PROTECTED] Boston.pm's Tech Meeting for August will be held on Tuesday, August 19. The meeting will take place at the offices of Boston.com. The presentations will begin at 7:30. If you would like to give a

Re: [Boston.pm] Postal address De-duping

2003-08-14 Thread Chris Brooks
Actually, if I understand what Joel was asking about, removing duplicates by address is a non-trivial task -- address data is notoriously dirty. What makes the job interesting is that there are a wide variety of abbreviations used in addresses -- for example: 22 Saint John Street 22 St John

Re: [Boston.pm] empty versus zero

2003-08-14 Thread Timothy Kohl
How about this? [EMAIL PROTECTED](join(,@X)); -Tim Dear experts, I think this is a fairly simple question... How can I count empty values in an array? This count should not include zeros or non-empty values. Below is my current script, but it isn't working properly.

Re: [Boston.pm] empty versus zero

2003-08-14 Thread Timothy Kohl
I realize that, but the conditional he uses (!$value) *will* catch 0. -T On Wednesday, August 13, 2003, at 01:21 PM, Timothy Kohl wrote: (!$value) will catch zero 0 and undefs, but not 0.0. He doesn't want to catch either 0 or 0.0 .

Re: [Boston.pm] Tk question.

2003-08-14 Thread darren chamberlain
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 * Timothy Kohl tkohl at it.bu.edu [2003-08-07 08:17]: I am trying to set up an associative array where the values are method calls (specifically widget creation calls) for Tk. You want a dispatch table, with the keys pointing to subroutine

Re: [Boston.pm] empty versus zero

2003-08-14 Thread John Tobey
On Wed, Aug 13, 2003 at 12:55:16PM -0400, Chris Devers wrote: On Wed, 13 Aug 2003, Kenneth Graves wrote: This should work: if (length($value) == 0) { $count += 1; } Is there a reason you're not using a simple $count++ that I'm not thinking of?

Re: [Boston.pm] empty versus zero

2003-08-14 Thread Ron Newman
On Wednesday, August 13, 2003, at 01:21 PM, Timothy Kohl wrote: (!$value) will catch zero 0 and undefs, but not 0.0. He doesn't want to catch either 0 or 0.0 . ___ Boston-pm mailing list [EMAIL PROTECTED] http://mail.pm.org/mailman/listinfo/boston-pm

Re: [Boston.pm] empty versus zero

2003-08-14 Thread Chris Devers
On Wed, 13 Aug 2003, Kenneth Graves wrote: This should work: if (length($value) == 0) { $count += 1; } Is there a reason you're not using a simple $count++ that I'm not thinking of? For that matter, golf $count++ if ( length( $value ) == 0 );

[Boston.pm] (no subject)

2003-08-14 Thread Walt Joyce
I have developed an OLAP, business analytics, data-mining product almost exclusively in Perl. Contact me for more information. - Walt Joyce [EMAIL PROTECTED] Thus wrote Tommie M. Jones ([EMAIL PROTECTED]) [03.08.12 08:47]: Hello, I am looking for case studies, articles, examples of applications

[Boston.pm] damian returns to boston in sept/oct.

2003-08-14 Thread Uri Guttman
hi to all of boston.pm: well, i am glad to announce that damian conway is coming back to boston and it will be much better weather than last january! he will be teaching three classes over four days from Monday, September 29 through Thursday, October 2, 2003. we have decided upon 2 of the

[Boston.pm] damian's pm talk

2003-08-14 Thread Uri Guttman
well, the thread on damian's talk died a while ago but i got the strong impression that perligata is the winner. the probable date is tuesday, sept 30 at boston.com. DISCLAIMER: damian conway's perligata talk is not for those faint of heart nor those scared of dead langauges. previous