[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
:[EMAIL PROTECTED] On Behalf 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 (concep

[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
person 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,

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] 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] 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

[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

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

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

2006-04-04 Thread Tolkin, Steve
=en#318ede5cf4a01220 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

[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] re PHP Succeeding / Perl vs Python / etc

2005-11-07 Thread Tolkin, Steve
Ruby should use ARUBA -- All RUBy Algorithms. (Even more off topic -- but I couldn't resist.) Hopefully helpfully yours, Steve --- Steven Tolkin There is nothing so practical as a good theory. Comments are by me, not Fidelity Investments, its subsidiaries or affiliates. -Original

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

2005-09-26 Thread Tolkin, Steve
ally write 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 Dev

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]> wr

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

2005-09-23 Thread Tolkin, Steve
t (even without -printf) from two directories 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

[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] Combining the nodes reachable in n steps from a web page into one printable file

2005-09-15 Thread Tolkin, Steve
cker, William Sent: Wednesday, September 14, 2005 5: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? T

[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
easily distinguish "prestige" addresses by the city name. 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 Fi

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] (also) Perl

2005-02-25 Thread Tolkin, Steve
ded to show no qualifications other than the ability 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 Investmen

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

2005-02-25 Thread Tolkin, Steve
s by using 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 61

RE: [Boston.pm] transposing rows and columns in a CSV file

2004-11-12 Thread Tolkin, Steve
limitation. 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

RE: [Boston.pm] a car talk puzzle

2004-09-08 Thread Tolkin, Steve
yawl.lst >o1 ... C:\wordlists>wc o4 127 1271007 oo4 Eyeballing the list I come up with the following answer. Warning!! spoiler below, do not hit page down unless you want to see it millionairess Clearly "millionairess" is feminine an

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

2004-07-21 Thread Tolkin, Steve
iginal Message- From: 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

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

2004-07-21 Thread Tolkin, Steve
gth string (aka 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 mis

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

2004-07-21 Thread Tolkin, Steve
way to get a "compile time" check? I am already running with -w and strict. 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.

[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 ___

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.

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

2004-01-27 Thread Tolkin, Steve
violations 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 >

[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

[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

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: '[EMA

RE: [Boston.pm] At last some real achiever being recognized by th e monarch

2004-01-02 Thread Tolkin, Steve
the article, asking for an addition, or acknowledgement of an omission in the original article. 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

[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

RE: [Boston.pm] Perl 6 has become too complex

2003-03-18 Thread Tolkin, Steve
OK, I'll bite. Who? > -Original Message- > From: Elaine -HFB- Ashton [mailto:[EMAIL PROTECTED] > Sent: Tuesday, March 18, 2003 2:30 PM ... > And if it's any comfort to you I hear they have a special cousel in an > grumpy 80 year-old man :) Hopefully helpfully yours, Steve -- Steven

[Boston.pm] Perl 6 has become too complex

2003-03-14 Thread Tolkin, Steve
I think the language 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 helpful

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
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

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

[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