[Boston.pm] software puzzle - extracting longest alphabetical list of phrases from a list of words

2008-10-26 Thread Tolkin, Steve
The following is just a problem in computer science. It is not directly related to Perl, or to my work. I am looking for insights in how to think about this. The input: a list of words. The output: a partitioning of the input list into a longest list of phrases, such that the phrases are in

Re: [Boston.pm] merging lists that are ordered but not sorted

2008-01-30 Thread Tolkin, Steve
Of Tolkin, Steve Sent: Tuesday, January 29, 2008 12:12 PM To: Boston Perl Mongers Subject: [Boston.pm] merging lists that are ordered but not sorted I am looking for a perl program that will solve the following problem. Suppose I have 2 or more lists that are (conceptually) sublists of the same

[Boston.pm] merging lists that are ordered but not sorted

2008-01-29 Thread Tolkin, Steve
I am looking for a perl program that will solve the following problem. Suppose I have 2 or more lists that are (conceptually) sublists of the same underlying list. I want to reconstruct the underlying list. In other words the order of the elements agrees in all the lists, but there is no sort

[Boston.pm] which very large US bank uses Perl for their integration strategy

2007-10-12 Thread Tolkin, Steve
In the middle of the long list of replies to a posting about why ESBs are bad (and REST is good) at http://steve.vinoski.net/blog/2007/10/04/the-esb-question/ I find this reply: 30. John Davies says: October 7th, 2007 at 6:42 pm ... your best option is shell scripts (awk, grep, cut, tail etc.)

Re: [Boston.pm] merge and compare help

2007-08-27 Thread Tolkin, Steve
-- Steven TolkinSteve-d0t-Tolkin-at-fmr-d0t-com 508-787-9006 Fidelity Investments 400 Puritan Way M3B Marlborough MA 01752 There is nothing so practical as a good theory. Comments are by me, not Fidelity Investments, its subsidiaries or affiliates. -Original Message- From

Re: [Boston.pm] Extract text from html preserving newlines

2007-05-02 Thread Tolkin, Steve
Message- From: Jerrad Pierce [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 02, 2007 1:45 PM To: Tolkin, Steve Cc: Boston Perl Mongers Subject: Re: [Boston.pm] Extract text from html preserving newlines lynx -dump -- Free map of local environmental resources: http://CambridgeMA.GreenMap.org

Re: [Boston.pm] Extract text from html preserving newlines

2007-05-02 Thread Tolkin, Steve
without authorization from Fidelity Investments. -Original Message- From: Chris Devers [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 02, 2007 1:53 PM To: Tolkin, Steve Cc: Boston Perl Mongers Subject: Re: [Boston.pm] Extract text from html preserving newlines On Wed, 2 May 2007, Tolkin

Re: [Boston.pm] Program wanted to recover text that has spaces inserted or deleted

2007-04-07 Thread Tolkin, Steve
. Thanks to Richard Barbalace for sending his program. I can run it, and now I need to look at how to revise it. Thanks, Steve -Original Message- From: Chris Devers [mailto:[EMAIL PROTECTED] Sent: Thursday, April 05, 2007 10:44 PM To: Tolkin, Steve Cc: boston perl mongers Subject: Re

[Boston.pm] Program wanted to recover text that has spaces inserted or deleted

2007-04-05 Thread Tolkin, Steve
I am looking for a program that can recover the original text from text that has spaces inserted or deleted. Ideally in perl of course. The following text has many places where an extra space is inserted. Given a dictionary it would be possible to reconstruct the original text, with only a few

Re: [Boston.pm] emma's pizza

2007-01-10 Thread Tolkin, Steve
Irish coffee contains all four required food groups: Sugar, fat, caffeine, and alcohol P.S. Obligatory comment about Perl -- the Chilean pianist Alfredo Perl has recorded all of Beethoven's sonatas, and much else, and I recommend them. Hopefully helpfully yours, Steve -- Steve Tolkin

Re: [Boston.pm] Update to job posting policy?

2006-12-05 Thread Tolkin, Steve
I think the current policy is fine as is. Location is just one of many factors to be discussed before applying for, or accepting, a job. If this is a pressing concern the applicant should ask about it in an early phone call. Other people will care more about salary, benefits, the nature of

Re: [Boston.pm] teaching kids Perl

2006-12-01 Thread Tolkin, Steve
is important. Hopefully helpfully yours, Steve -- Steve Tolkin    Steve . Tolkin at FMR dot COM   508-787-9006 Fidelity Investments   82 Devonshire St. M3L Boston MA 02109 There is nothing so practical as a good theory.  Comments are by me, not Fidelity Investments, its subsidiaries

Re: [Boston.pm] Python

2006-10-27 Thread Tolkin, Steve
Dear Ben, Bob et al., Thanks for this thread. (It has a very high signal to noise ratio, compared with many others.) Dear Everyone, Since this started about Python, in a Perl discussion list, I am wondering about whether Perl facilitate the kind of experimentation that led to

Re: [Boston.pm] Loop index in foreach?

2006-09-22 Thread Tolkin, Steve
Are you serious? $.., $..., $ etc?! Aii!!! he screams and runs away. Please stop this thread. Hopefully helpfully yours, Steve -- Steve Tolkin    Steve . Tolkin at FMR dot COM   508-787-9006 Fidelity Investments   82 Devonshire St. M3L Boston MA 02109 There is nothing so

Re: [Boston.pm] Short time in Boston

2006-09-15 Thread Tolkin, Steve
(and deservedly so) glass flowers. Hopefully helpfully yours, Steve -- Steve Tolkin    Steve . Tolkin at FMR dot COM   508-787-9006 Fidelity Investments   82 Devonshire St. M3L Boston MA 02109 There is nothing so practical as a good theory.  Comments are by me, not Fidelity Investments

[Boston.pm] Is there any security issue with *.pmc files?

2006-07-14 Thread Tolkin, Steve
for a problem, due to its unusual extension. Specifically, can the *.pmc file be in a different directory than the *.pm file that was intended to be used? Hopefully helpfully yours, Steve -- Steve Tolkin    Steve . Tolkin at FMR dot COM   508-787-9006 Fidelity Investments   82 Devonshire St. M3L

[Boston.pm] Perl and utf16 e.g. for Windows Registry file

2006-07-14 Thread Tolkin, Steve
Summary: How to use Perl 5.8.0 to handle files encoded using utf-16 on Windows? Details: I have read that perl 5.8 ought to handle utf-16 without me needing to tell it anything. But I am now getting the behavior I expect. Specifically, I want to find what changed in a Registry after I install a

Re: [Boston.pm] Put similarities in code and differences in data

2006-04-04 Thread Tolkin, Steve
The difference is that I am trying to find a quote that focuses on the benefits of using data in a special way, as control data, to determine the specific execution path taken by the code. Thanks, Steve -Original Message- Tolkin, Steve wrote: I am looking for the best and/or original

Re: [Boston.pm] Put similarities in code and differences in data

2006-04-04 Thread Tolkin, Steve
Thank you Charlie. That is the idea I am trying to get across. Do you have any suggestions about how to get developers to see the benefits of writing programs this way? Any specific books, techniques, etc.? Any pitfalls to be aware of? Thanks, Steve -- Steve TolkinSteve . Tolkin at FMR

[Boston.pm] Changing compiler from VC98 to Visual C++ Toolkit 2003

2006-03-04 Thread Tolkin, Steve
I used to have use Visual C compiler from 1998, aka VC98. I have compiled some Perl XS modules with it. When I got a new PC it did not have that old compiler on it. I copied my Perl directories over, and they seem to work. I just downloaded the free (as in beer) Visual C++ Toolkit 2003 from

Re: [Boston.pm] script to normalize output of Windows dir command

2005-09-26 Thread Tolkin, Steve
Message- From: Ben Tilly [mailto:[EMAIL PROTECTED] Sent: Friday, September 23, 2005 5:52 PM To: Tolkin, Steve Cc: Jeremy Muhlich; boston-pm@mail.pm.org Subject: Re: [Boston.pm] script to normalize output of Windows dir command On 9/23/05, Tolkin, Steve [EMAIL PROTECTED] wrote: I do have a port

Re: [Boston.pm] Quotes and such [was] RE: script to normalize output of Windows dir command

2005-09-26 Thread Tolkin, Steve
this program one day; if I do I'll post it here for feedback. P.S. I tried to find a version of rsync for Windows that does not require cygwin. Is there one? Hopefully helpfully yours, Steve -- Steve TolkinSteve . Tolkin at FMR dot COM 617-563-0516 Fidelity Investments 82 Devonshire St

[Boston.pm] script to normalize output of Windows dir command

2005-09-23 Thread Tolkin, Steve
Summary: I would like a perl script that converts the output of the Windows dir command so that each line has the same format, including the directory it is in, and its extension. The date and time should use a format that can be sorted as a string, e.g. -mm-dd and a 24 hour clock I think

Re: [Boston.pm] script to normalize output of Windows dir command

2005-09-23 Thread Tolkin, Steve
and diffing it has gotten me through most of these sorts of problems. Also, diff -r might be helpful. (possibly with the --brief option as well) -- Jeremy On Fri, 2005-09-23 at 11:55 -0400, Tolkin, Steve wrote: Summary: I would like a perl script that converts the output of the Windows dir

Re: [Boston.pm] Combining the nodes reachable in n steps from a web page into one printable file

2005-09-15 Thread Tolkin, Steve
:05 PM To: Tolkin, Steve; L-boston-pm Subject: RE: [Boston.pm] Combining the nodes reachable in n steps from a web page into one printable file Is this to implement the missing PRINTABLE PAGE button for just yourself or as part of the website? This sounds a lot like one of the examples in MDJ's new

[Boston.pm] Combining the nodes reachable in n steps from a web page into one printable file

2005-09-14 Thread Tolkin, Steve
This seems like a problem that would be easily solved with a small perl script. Many web pages have a large list of links. I would like to follow all the links, to some small depth (typically just 1) and put their output into one file, in some format suitable for printing. I am flexible about

Re: [Boston.pm] Geo::Coder::US RE: GoogleGeoCoder

2005-06-17 Thread Tolkin, Steve
. Hopefully helpfully yours, Steve -- Steve TolkinSteve . Tolkin at FMR dot COM 617-563-0516 Fidelity Investments 82 Devonshire St. V4D Boston MA 02109 There is nothing so practical as a good theory. Comments are by me, not Fidelity Investments, its subsidiaries or affiliates

RE: [Boston.pm] THE NAZIS HAD A CERTIFICATION FOR PERL

2005-03-01 Thread Tolkin, Steve
to Hopefully helpfully yours, Steve -- Steve TolkinSteve . Tolkin at FMR dot COM 617-563-0516 Fidelity Investments 82 Devonshire St. V4D Boston MA 02109 There is nothing so practical as a good theory. Comments are by me, not Fidelity Investments, its subsidiaries or affiliates

RE: [Boston.pm] short-listing languages for applications software development

2005-02-25 Thread Tolkin, Steve
perl, etc. This is basic information that should be available to Perl advocates, i.e. easily findable at http://www.perl.org/advocacy/ which unfortunately does not have anything of the sort. Hopefully helpfully yours, Steve -- Steve TolkinSteve . Tolkin at FMR dot COM 617-563-0516 Fidelity

RE: [Boston.pm] (also) Perl

2005-02-25 Thread Tolkin, Steve
to open up your wallet and fork over $2. (This is like other certification programs, but cheaper.) [You can read the rest if you want.] Hopefully helpfully yours, Steve -- Steve TolkinSteve . Tolkin at FMR dot COM 617-563-0516 Fidelity Investments 82 Devonshire St. V4D Boston MA 02109

RE: [Boston.pm] a car talk puzzle

2004-09-08 Thread Tolkin, Steve
, do not hit page down unless you want to see it millionairess Clearly millionairess is feminine and singular and I think that millionaires does have a masculine connotation. Hopefully helpfully yours, Steve -- Steve TolkinSteve . Tolkin at FMR dot COM

RE: [Boston.pm] I want a compile time check on missing parens in regex

2004-07-21 Thread Tolkin, Steve
null string) act as a previous value of $1? Thanks, Steve -Original Message- From: Ron Newman [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 21, 2004 11:52 AM To: Tolkin, Steve Cc: [EMAIL PROTECTED] Subject: Re: [Boston.pm] I want a compile time check on missing parens in regex If I

RE: [Boston.pm] I want a 'compile time' check on missing parens in regex

2004-07-21 Thread Tolkin, Steve
: Greg London [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 21, 2004 12:30 PM To: Tolkin, Steve Cc: [EMAIL PROTECTED] Subject: RE: [Boston.pm] I want a 'compile time' check on missing parens in regex Tolkin, Steve said: What is the scope of $1 and when does it get reset? here's a start: http

[Boston.pm] FW: GBC/ACM Announcements

2004-06-11 Thread Tolkin, Steve
I believe that the technical portion of this, i.e. the talk on Parrot by Dan, is open to the public. (But I have not checked. Dan, do you know?) Steve -Original Message- From: Kenneth Baclawski [mailto:[EMAIL PROTECTED] Sent: Thursday, June 10, 2004 11:03 PM To: Tolkin, Steve Subject

RE: [Boston.pm] list viruses

2004-05-06 Thread Tolkin, Steve
if this is possible or easy to do. Hopefully helpfully yours, Steve -- Steve TolkinSteve . Tolkin at FMR dot COM 617-563-0516 Fidelity Investments 82 Devonshire St. V4D Boston MA 02109 There is nothing so practical as a good theory. Comments are by me, not Fidelity Investments, its

[Boston.pm] Thanks Andrew for all the Perl Monger meetings you hosted at Boston.com

2004-04-13 Thread Tolkin, Steve
Title: Thanks Andrew for all the Perl Monger meetings you hosted at Boston.com Dear Andrew, I wish to express my personal thanks for the work you did in support of hosting the Boston Perl Monger meetings. Thanks, Steve Tolkin ___ Boston-pm

[Boston.pm] using {3-8} instead of {3, 8} doesn't produce even a warning?

2004-01-27 Thread Tolkin, Steve
Title: using {3-8} instead of {3,8} doesn't produce even a warning? # run using e.g. echo hello | perl this-file # Why doesn't perl produce a warning from {3-8} ? This seems # to be a syntax error. It surely is not the way to match strings of length 3 - 8. It # should be {3,8} . while ()

[Boston.pm] why no warning about this infinite loop

2004-01-27 Thread Tolkin, Steve
Title: why no warning about this infinite loop # run using e.g. echo hello | perl this-file # Why doesn't perl produce a warning from the following. It is an # infinite loop. If I add a /g modifier to the m// it works fine. while () { while (m/([a-z])/) { # warning infinite loop!!!

RE: [Boston.pm] using {3-8} instead of {3, 8} doesn't produce eve n a warning?

2004-01-27 Thread Tolkin, Steve
of that principle? I scanned the 5.8 perltrap for curly and this was not listed. Who should I notify to request its inclusion? Steve -Original Message- From: Ronald J Kimball [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 27, 2004 5:06 PM To: Tolkin, Steve Cc: [EMAIL PROTECTED

RE: [Boston.pm] why no warning about this infinite loop

2004-01-27 Thread Tolkin, Steve
to the error mechanism. I am curious if Dan S. has any comments on this w.r.t. Parrot. Steve -Original Message- From: Ronald J Kimball [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 27, 2004 5:33 PM To: Tolkin, Steve Cc: [EMAIL PROTECTED] Subject: Re: [Boston.pm] why no warning about

RE: [Boston.pm] OT:Safari Bookshelf

2004-01-05 Thread Tolkin, Steve
, using a Unix like approach of hash + salt. Here is a sanitized version of my message sent to '[EMAIL PROTECTED]' last March. P.S. We did decide to sign up for the Safari service. -Original Message- From: Tolkin, Steve Sent: Thursday, March 27, 2003 1:34 PM To: '[EMAIL PROTECTED

[Boston.pm] Re: the XPath replace() function and regex patterns like s/^.../. ../g

2003-11-11 Thread Tolkin, Steve
Title: Message One clarification. The suggested workaround was not to just start the regex with a ^ but to start it with ^.* I have also changed the body of the message below to reflect this. -Original Message-From: Tolkin, Steve Sent: Monday, November 10, 2003 5:05 PMTo

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

2003-08-06 Thread Tolkin, Steve
there for zip4inq produced nothing. Does anyone know of a similar page, wither by the USPS or another provider of (web) services? Hopefully helpfully yours, Steve -- Steven Tolkinsteve . tolkin at fmr dot com 617-563-0516 Fidelity Investments 82 Devonshire St. V4D Boston MA 02109

RE: [Boston.pm] emacs discussion

2003-07-10 Thread Tolkin, Steve
As a long time emacs user I must agree with the positions we have all been agreeing with: * it has a long learning curve * it has a lot of power So I have a lot invested in it, and want to ensure emacs continues to survive, nay thrive. Unfortunately I think its rate of adoption is continually

[Boston.pm] Perl 6 has become too complex

2003-03-14 Thread Tolkin, Steve
design shows too much influence of Evil Damian. I want good Damian to work with Larry el al. to reduce the complexity of the language. Or (shudder) a subset of the language to be defined. Please advise me as to how to proceed. Hopefully helpfully yours, Steve -- Steven Tolkin steve . tolkin

RE: [Boston.pm] That's a Haiku. A freaky little perl Haiku.

2003-02-06 Thread Tolkin, Steve
Actually the best poetic form to feature the word autovivication would seem to be the Double Dactyl see http://lonestar.texas.net/~robison/dactyls.html http://www.kith.org/logos/words/lower/d.html etc. e.g. the self-describing Higgledy-Piggledy Dactyls in dimeter, Verse form with choriambs

RE: [Boston.pm] Damian's Natural Language Parsing Meeting

2003-01-22 Thread Tolkin, Steve
Is this informatioon avaialble online, e.g. in a Perl module, or an exegesis, etc.? {I have read all the apocalypses and exegeses on Perl 6.) I am interested in attending this meeting, but would prefer to read this information first (or instead). Hopefully helpfully yours, Steve -- Steven

RE: [Boston.pm] damian talk

2003-01-13 Thread Tolkin, Steve
I vote for Life, the Universe, and everything. ___ Boston-pm mailing list [EMAIL PROTECTED] http://mail.pm.org/mailman/listinfo/boston-pm

RE: [Boston.pm] damian talk

2003-01-13 Thread Tolkin, Steve
If I recall correctly, Olive Oyl, in some old Popeye cartoon, says it to the Brutus character in the definitive American way: Et tu, you brute Hopefully helpfully yours, Steve -- Steven Tolkin [EMAIL PROTECTED] 617-563-0516 Fidelity Investments 82 Devonshire St. V8D Boston

[Boston.pm] wanted: perl code to do JAXB name mapping (LONG)

2002-12-04 Thread Tolkin, Steve
Summary: I am looking for a program to do name mappping as specified in Appendix C of the JAXB (Java XML Binding) spec. This for example will map from foo_bar to fooBar etc. Although they talk about Java and XML names, this mapping applies to many other programming languages too. In particular