On Mon, 08 Aug 2011 12:48:22 -0400 Tom Metro wrote:
TM> I have a command line utility I am developing that I'd like to be
TM> extendable with additional "verbs" such that you can do:
TM> command verb ...args...
TM> And I'd like the utility to be able to support new verbs by merely
TM> having
On Sun, 06 Feb 2011 11:49:56 -0500 Charlie wrote:
C> Given how you frame the problem, then the hash lookup isn't even an
C> option! No question, 6000+ string searches will be slow vs. a trie.
C> Given the varying requirements we all encounter, day-to-day, I think
C> this is an interesting
On Sat, 05 Feb 2011 18:27:13 -0500 Charlie wrote:
C> The sample program below runs in 00:09:04 on 1.15GB (1024 copies of
C> Moby Dick). Replacing the hard-coded map with 2 entries with 6000
C> words taken from the text (randomly selected, unique, >5 chars) runs
C> in 00:09:17. I.e. the
On Fri, 4 Feb 2011 18:10:08 -0600 Ted Zlatanov wrote:
TZ> On CPAN you can find Regex::Trie which builds this regex in a more
TZ> optimized way
TZ> (http://search.cpan.org/~dankogai/Regexp-Trie-0.02/lib/Regexp/Trie.pm).
TZ> This is the most general solution.
Oh, and for th
On Fri, 4 Feb 2011 18:43:57 -0500 Kripa Sundar
wrote:
KS> I have a 900 Meg text file, containing random text. I also have a list
KS> of 6000 names (alphanumeric strings) that occur in the random text.
KS> I need to tag a prefix on to each occurrence of each of these 6000
KS> names.
KS> My
On Wed, 2 Feb 2011 13:26:52 -0500 "James Eshelman" wrote:
JE> Thanks Drew. It's good to hear that there's no noticeable RT penalty after
JE> startup, and the roles feature looks especially nice, along with the
JE> compatibility with Perl 6. -- Jim
There's a very noticeable penalty if you
On Thu, 25 Jun 2009 21:09:05 -0400 "James Eshelman" wrote:
JE> That time has finally come for me that all good perl hackers dread -- being
JE> forced to code in Java. Most Java tutorials, websites, and books seem to
JE> target novice programmers. Anyone know of a condensed, quick reference
On Tue, 29 Jan 2008 16:27:16 -0500 (EST) Chris Devers <[EMAIL PROTECTED]>
wrote:
CD> On Tue, 29 Jan 2008, Tolkin, Steve wrote:
>> 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 condition.
...
CD> Out of
On Mon, 10 Sep 2007 15:00:30 -0400 Ronald J Kimball <[EMAIL PROTECTED]> wrote:
RJK> On Mon, Sep 10, 2007 at 11:51:56AM -0700, Palit, Nilanjan wrote:
>> I have to do some format conversions, so I'm defining subroutines like
>> "sub FormatConv_X2Y()"
...
RJK> Other options include:
RJK> Creating
On Fri, 24 Aug 2007 19:32:05 -0400 "Alex Brelsfoard" <[EMAIL PROTECTED]> wrote:
AB> I would like to call a function that declares a few variables and then runs
AB> some XML::Twig processes which in turn access & update said original
AB> variables.
AB> But I'm getting an error from my twig
Sorry for posting to the list when the subject clearly said not to.
Ted
___
Boston-pm mailing list
Boston-pm@mail.pm.org
http://mail.pm.org/mailman/listinfo/boston-pm
On 13 Nov 2006, [EMAIL PROTECTED] wrote:
> We have OpenLDAP @ $work. We use it for SAMBA and PAM and I am really happy
> with it.
OpenLDAP is nice. I used it at a previous job. The problems I found
lay with LDAP itself rather than this particular implementation.
Be careful with the BDB
On 2 Oct 2006, [EMAIL PROTECTED] wrote:
On Oct 2, 2006, at 5:56 PM, Greg London wrote:
>
>> I believe I was informed that OLE was the
>> only way to do this. Or maybe I was drunk.
>
> Definitely not true. In fact, Spreadsheet::{Read,Write}Excel run
> just fine on Linux.
While this is true,
On 15 Sep 2006, [EMAIL PROTECTED] wrote:
On Thu, Sep 14, 2006 at 06:42:48PM -0400, Uri Guttman wrote:
>>> "JA" == John Abreau <[EMAIL PROTECTED]> writes:
>>
>> JA> David H. Adler wrote:
So. Mom and I are taking a cruise next month up the east coast and into
Canada. We've got a day
On 14 Jul 2006, [EMAIL PROTECTED] wrote:
> What other P6 features are considered "big win" motivators to start
> using P6 by others?
I think the new grammar feature (to me, it's very similar to what
Parse::RecDescent does today, but P::RD has problems and it's slow as
noted by others) is going
On 23 Jun 2006, [EMAIL PROTECTED] wrote:
On Fri, Jun 23, 2006 at 09:23:09AM -0400, Ted Zlatanov wrote: > On 23 Jun 2006,
[EMAIL PROTECTED] wrote:
>>>> Wasn't there a C grammer for Parse::RecDescent ?
>>> Not that worked. Damian has acknowledged elsewhere that it shouldn'
On 23 Jun 2006, [EMAIL PROTECTED] wrote:
>> Wasn't there a C grammer for Parse::RecDescent ?
>
> Not that worked. Damian has acknowledged elsewhere that it shouldn't
> have been included.
It works for simple cases, and may be adequate for the OP's needs. I
would recommend P::RD, because its
On 2 Jun 2006, [EMAIL PROTECTED] wrote:
> The key is to let somebody else do as much of the authentication
> implementation as possible, as it's tricky and time-consuming to get
> right.
>
> > The Unix login process can be subverted by sudo (not to mention that
> > $USER can be set to anything,
On 1 Jun 2006, [EMAIL PROTECTED] wrote:
> Let me clarify a bit more what I need to do. We want to use $USER
> to verify a valid user before running the program, so this is very
> unlikely go on the web or have a web interface.
You can tie web-based authentication to an external user database
On 1 Jun 2006, [EMAIL PROTECTED] wrote:
> I'm writing a command-line program to manage student grading for a
> course, which will run on the school's Unix boxes (it can't be put on the
> web for security reasons), and was debating what the best choice is to
> handle the user interface. Has
Logically you can extend data-driven programming to storing opcodes
with parameters in a database, and writing an interpreter in any
language. That's a valid approach under some circumstances, in fact
(see my article on this topic at
On Tue, 4 Oct 2005, [EMAIL PROTECTED] wrote:
On Tue, Oct 04, 2005 at 12:28:20PM -0400, Donald Leslie {74279} wrote:
>> I have a string of the form:
>>
>> 'a bc "d e f" h "i j"' what I want is the quoted items not
>> to split on blanks.
>>
>> [0] = 'a' , [1] = 'bc' , [2] = 'd e f' ... .
>>
>>
On Mon, 28 Feb 2005, [EMAIL PROTECTED] wrote:
> Sean, old boy, I'm astounded. Are you not aware that I've been doing
> exactly this using emacs? Daily? For more than 20 years now? It's
> called find-tag . . .
For the less Emacs-savvy, the speedbar package may be ideal. It shows
the
On 28 Feb 2005, [EMAIL PROTECTED] wrote:
On Fri, 25 Feb 2005, [EMAIL PROTECTED] wrote:
>
>> i still have my cert that i bought from them for my $2! it is all the
>> perl cert i need.
>
> At the very least there should be a Perl hacker test (I haven't seen one).
I found this by googling for
On Fri, 25 Feb 2005, [EMAIL PROTECTED] wrote:
> i still have my cert that i bought from them for my $2! it is all the
> perl cert i need.
At the very least there should be a Perl hacker test (I haven't seen one).
Here's a start... I'll be glad to maintain this (if there's been
others, please
On Tue, 7 Dec 2004, [EMAIL PROTECTED] wrote:
> Wow, well it's good to see we're all on the same page. Three replies all
> suggesting the same option.. zipped files. Yeah here's the trick.
> I'm trying to make this process easier for my mother, not myself. So in
> the end, this is
On Fri, 03 Dec 2004, [EMAIL PROTECTED] wrote:
Ted Zlatanov wrote:
>> LDAP is essential if you plan to run a serious mail server. There's
>> very few alternatives to a well-managed LDAP server for your user
>> user directory.
>
> There appears to be a trend tow
On Fri, 03 Dec 2004, [EMAIL PROTECTED] wrote:
Ted Zlatanov wrote:
>> Courier IMAP is very reliable and standards-compliant.
>
> The problem with Courier IMAP is the support community. When I
> researched it I found several people complaining about how the lead
> developer(
>From experience (2000+ users, lots of research) I would recommend
either qmail-ldap or Postfix for mail delivery (MTA) and Courier IMAP
for IMAP and POP service.
LDAP is essential if you plan to run a serious mail server. There's
very few alternatives to a well-managed LDAP server for your user
On Fri, 6 Aug 2004, [EMAIL PROTECTED] wrote:
>>> That's not a typical web crawler, and obviously not what I meant.
>>>Such databases already exist (e.g. bugmenot) but using them to rip a
>>>page is definitely abusive.
>
> Not abusive at all. It's a public service.
It's abusive to the content
On Fri, 06 Aug 2004, [EMAIL PROTECTED] wrote:
>>>>>> "TZ" == Ted Zlatanov <[EMAIL PROTECTED]> writes:
>
> >>> You misunderstand. If registration is required, a crawler will fail
> >>> anyway,
> >>
> >>
On Fri, 6 Aug 2004, [EMAIL PROTECTED] wrote:
On Aug 6, 2004, at 6:14 AM, Ted Zlatanov wrote:
>> You misunderstand. If registration is required, a crawler will fail
>> anyway,
>
> Unless the crawler is itself registered. If I wrote a crawler, I'd
> keep a database of us
On Fri, 6 Aug 2004, [EMAIL PROTECTED] wrote:
> Have you ever noticed a google resultset entry that didn't have a
> cache link? I don't know if it is something that a publisher can set
> programatically or if it is a business arrangement.
Pages are cached by default. To get removed you have to
On Thu, 5 Aug 2004, [EMAIL PROTECTED] wrote:
On Thursday, August 5, 2004, at 05:56 PM, Ted Zlatanov wrote:
>
>> ...or they should provide a mirrored version of the page at least :)
>
> I'm sure my employer would be thrilled about mirrored versions of the
> pages. It would cau
On Wed, 23 Jun 2004, [EMAIL PROTECTED] wrote:
> Then we switched to net-booting over NFS, and it's even easier &
> faster. There's no longer any need to configure each machine, beyond
> going into the bios and making sure that PXE boot over the network is
> enabled. Everything else can be managed
On Tue, 18 Nov 2003, [EMAIL PROTECTED] wrote:
> But, I have a sample application that I need to duplicate in perl.
> The example is written in Java and I do NOT know java. I tried to
> read through it and while some of it makes sense, I really only need
> to know how and when its doing things.
>
I wrote this script in an hour or two, sorry if it's confusing or
unsightly. Basically it will take a list of IP ranges (sample in
__DATA__) and produce procmail recipes to match the ranges. I
couldn't use Regexp::List, which will optimize a list into a single
regular expression, because it
On Mon, 30 Jun 2003, [EMAIL PROTECTED] wrote:
> Komodo's code-folding is cool. I installed a code-folding script in
> emacs (http://mah.everybody.org/docs/emacs/folding-cperl-mode), but
> it wasn't as flexible as Komodo's code-folding; it only folded
> top-level subroutines, whereas Komodo allows
Have you tested the subroutine without any data
assignments, just:
open(CXIBIO,"+<$ARGV[0]") or die "Could NOT open $ARGV[0]\n";
print CXIBIO "$ARGV[1]\015";
EP: while (1)
{
$REC=;
if ( $REC =~ m/[EMAIL PROTECTED]/) { next EP; }
if ( $REC =~ m/^0999/) { last EP; }
}
On Wed, 12 Feb 2003, [EMAIL PROTECTED] wrote:
> Do anyone know perl module that can give list of possible words
> of an incorrect spelling word? For example,
>
> input:dissiapde
> output:dissipate, dissipated
I use String::Similarity, it is pretty good.
Ted
On Sat, 1 Feb 2003, [EMAIL PROTECTED] wrote:
> $_ = 'use_name,mat_id,use_id,use_fname,mat_name,use_lname';
>
>
> How could I elegantly split/loop this into the following structure?
> %hash = (
> use => ["use_name","use_id","use_fname","use_lname"],
> mat => ["mat_id","mat_name"]
On Wed, 15 Jan 2003, [EMAIL PROTECTED] wrote:
> When I want to forward the email, I do this:
>
[...]
> print MAIL $$r{body};
[...]
> and this, of course, screws up html emails and mime-types. What's
> the easiest way to forward the email with all the mime types intact?
> If I can get away with
On Mon, 30 Dec 2002, [EMAIL PROTECTED] wrote:
> For example, take a set of songs, I'd like to be able to
> present them people, have them listen to one song, then compare that
> song to two (or more) other songs, then select the song that it most
> closely matches.
>
> From this, I'd
43 matches
Mail list logo