Re: Fascinating segfault at Apache startup

2002-06-22 Thread Chip Turner
s, though, but I think that tends to be issues with other perl modules that have shared library components. If you (or anyone else!) have specific failures or test cases you've seen, though, I'll look into it and see if it is something we can fix. Cheers, Chip -- Chip Turner [EMAIL PROTECTED] Red Hat, Inc.

Best compile options for perl 5.8 for mod_perl 1.x and 2.x

2002-05-30 Thread Chip Turner
Subject pretty much says it all. What are the requisite 5.8 compile options, besudes ithreads, for proper functioning with either mod_perl branch? Or ones that should be avoided? Chip -- Chip Turner [EMAIL PROTECTED] Red Hat, Inc.

Re: Sending Cookies on Page-Reload

2001-06-18 Thread Chip Turner
- at least thats what Konqueror tells me. > > Is there a way to force a browser to set a new cookie on reload? > > > Thanks, > > Nenad -- Chip Turner [EMAIL PROTECTED] RHN Web Engineer

Re: Real Widgets and Template Languages

2001-05-25 Thread Chip Turner
adn't seen this novel method, but it has a nice feel to it. > To conclude, if you make all your checkings/validations only in debug > version it doesn't matter how fast or slow they are. I think what matters > here is the clearness of the code. I agree 100%. Chip -- Chip Turner [EMAIL PROTECTED] RHN Web Engineer

Re: Real Widgets and Template Languages

2001-05-25 Thread Chip Turner
relationship with it, instead of simply having several classes with no code level relationship other than supporting the same method calls. Chip -- Chip Turner [EMAIL PROTECTED] RHN Web Engineer

Re: Real Widgets and Template Languages

2001-05-25 Thread Chip Turner
e perl's may optimize this (right now, if I recall, it only optimizes in the case of pseudohashes). Sadly, you'll never really be able to get compile time type verification in perl (at least, in perl as it stands today). Even the above syntax is only a promise to perl for possible optimizations and not a request for perl to enforce the type of whatever shift returns. Chip -- Chip Turner [EMAIL PROTECTED] RHN Web Engineer

Re: Appending Sessionid to all the urls

2001-05-24 Thread Chip Turner
as two different users. Most normal users don't want to do that, though :) Chip -- Chip Turner [EMAIL PROTECTED] RHN Web Engineer

Re: Real Widgets and Template Languages

2001-05-24 Thread Chip Turner
Foo; my $cref = sub { my $data = shift; return 1 }; timethese(400, { 'method' => sub { return $meth->bar }, 'closure' => sub { return $cref->() }, 'pkgmethod' => sub { return Foo->bar }}); packag

Re: Real Widgets and Template Languages

2001-05-24 Thread Chip Turner
Paul Lindner <[EMAIL PROTECTED]> writes: > On Thu, May 24, 2001 at 09:59:36AM -0400, Chip Turner wrote: > > darren chamberlain <[EMAIL PROTECTED]> writes: > > > > The nice thing about closures is they could hide any interface at all > > behind them; al

Re: Real Widgets and Template Languages

2001-05-24 Thread Chip Turner
attern -- data interfacing. There are a number of solutions. I just hope whatever gets written is present and future proof enough to not depend on any particular interface (such as CGI or libapreq), or at the very least made to easily use others. You never know when someone else may have anot

Re: Real Widgets and Template Languages

2001-05-24 Thread Chip Turner
darren chamberlain <[EMAIL PROTECTED]> writes: > Chip Turner ([EMAIL PROTECTED]) said something to this effect on 05/23/2001: > > If I could make a suggestion -- don't depend upon a CGI.pm interface > > for form variables. Abstract it away. One option would be to use

Re: Real Widgets and Template Languages

2001-05-23 Thread Chip Turner
> I have responded to the message by beginning a requirements document. > > > >http://www.officevision.com/pub/HTML-Widget/ > > > > Please read it and send me any comments. -- Chip Turner [EMAIL PROTECTED] RHN Web Engineer

Re: mac_check in eagle book

2001-04-15 Thread Chip Turner
ferring to this weakness, but I suspect they are. Sadly, the book doesn't seem to offer a reference for the claim as to the specific md5 vulnderability. (Hey Doug, wanna shed some light on that somewhat cryptic passage? :) It's been a while, but I believe SHA1 has yet to have a weakness found.

Re: [RFC] mod_perl Digest path...

2001-01-30 Thread Chip Turner
an XML to plaintext spitter-outter (very technical term) that would be suitable for an email version. Just a thought. Chip -- Chip Turner [EMAIL PROTECTED] ZFx, Inc. www.zfx.com PGP key available at wwwkeys.us.pgp.net

Re: Perl Script Source Code...

2001-01-09 Thread Chip Turner
ay, of the GPL, it is implicitly allowed (and maybe arguably encouraged) to not necessarily make all of your work Free. Of course, it's much more preferable for people to release things into the Open. :) Chip -- Chip Turner [EMAIL PROTECTED] ZFx, Inc. www.zfx.com PGP key available at wwwkeys.us.pgp.net

Re: Perl Script Source Code...

2001-01-09 Thread Chip Turner
. (There actually may be a FAQ somewhere that answers in more detail; I'm not sure offhand.) Chip -- Chip Turner [EMAIL PROTECTED] ZFx, Inc. www.zfx.com PGP key available at wwwkeys.us.pgp.net

Re: can't get unbuffered output to work

2000-07-13 Thread Chip Turner
Dirk Lutzebaeck <[EMAIL PROTECTED]> writes: > Chip Turner writes: > > You can always use the definitive test of tcpdump on the client > > machine. Something like (on linux): > > > > /usr/sbin/tcpdump -s 4096 -w packets.out src (host) and port 80 > >

Re: can't get unbuffered output to work

2000-07-13 Thread Chip Turner
ich packets. With a large enough sleep in the modperl code, it should come pretty much in its own packet. This will pretty much give you complete certainty on what the client receives and when the client receives it. Chip -- Chip Turner [EMAIL PROTECTED]

Re: DBI:mysql question

2000-07-12 Thread Chip Turner
wo shell windows: $ perl -MDBI -e 'my $dbh = DBI->connect("DBI:mysql:mysql", "yy", "xx"); my $sth = $dbh->prepare("SELECT GET_LOCK(\"mysql\", 5)"); $sth->execute; my ($lock) = $sth->fetchrow; print "lock: $lock\n"; sleep 10' Hope this helps, Chip -- Chip Turner [EMAIL PROTECTED] ZFx, Inc. www.zfx.com PGP key available at wwwkeys.us.pgp.net

Re: Why does $r->print() dereference its arguments?

2000-05-03 Thread Chip Turner
it pays off, but it is an intended effect. You could try something like: $r->print("@{[\$foo]}"); Chip -- Chip Turner [EMAIL PROTECTED] ZFx, Inc. www.zfx.com PGP key available at wwwkeys.us.pgp.net

Re: what's the apache mod_perl speedup factor?

2000-03-31 Thread Chip Turner
Tom Christiansen <[EMAIL PROTECTED]> writes: > >IO provides a needed, though costly, OO interface to > >most system calls. > > Huh? No, it doesn't. I stand corrected. OO interface to _many_ _I/O_ system calls. Better, or do you object to the "ne

Re: what's the apache mod_perl speedup factor?

2000-03-31 Thread Chip Turner
needed, though costly, OO interface to most system calls. What alternatives are there really besides rewriting and breaking those modules up, as has partially been done with some Apache modules vs CGI.pm. I'm not aware of any similar attacks on IO. Chip -- Chip Turner [

Re: [admin] NO HTML posts please!

2000-03-30 Thread Chip Turner
verything for me. HTML should NOT be used for posting emails. -- Chip Turner [EMAIL PROTECTED] ZFx, Inc. www.zfx.com PGP key available at wwwkeys.us.pgp.net

Re: Commercial app demo

2000-02-09 Thread Chip Turner
cated perl. Even compiled perl would suffer from this problem. At least when you compile to C or Java the parse tree doesn't follow you around :) Chip -- Chip Turner [EMAIL PROTECTED] Programmer, ZFx, Inc. www.zfx.com PGP key available at wwwkeys.us.pgp.net

Re: stuck child

2000-02-09 Thread Chip Turner
o get it back unless you can figure out what it is waiting for. Again, this is Linux advice, so it may or may not be applicable. But maybe it will help you find the problem. Perhaps the 'lsof' command will show you if it has a file open. Generally D means either a kerne

Re: Commercial app demo

2000-02-09 Thread Chip Turner
ciently sophisticated attacker could change your code and make it non-trial without a huge amount of labor. Chip -- Chip Turner [EMAIL PROTECTED] Programmer, ZFx, Inc. www.zfx.com PGP key available at wwwkeys.us.pgp.net

Re: Memory leak/server crashes

2000-01-09 Thread Chip Turner
mod_perl and perl have shown themselves to be pretty good about not leaking memory, as has apache. IMO it's much, much more likely a problem concerning Registry and impolite scripts that are misbehaving and leaving parts of themselves around. Have you tried correlating the memory surges w

Re: PerlFreshRestart and %INC

1999-12-05 Thread Chip Turner
e higher level mechanism with only slight amounts of magic :) Like $[, Apache::DBI serves a purpose for backwards compatibility (in this case old CGI scripts instead of odd perl4 scripts), but it probably should be disdained in general use, at least once a suitable replacement is avail

Re: CGI.pm Bug?

1999-11-10 Thread Chip Turner
ut my /tmp partition was full and Netscape didn't complain and just sat there. Grrr.) Chip -- Chip Turner [EMAIL PROTECTED] Programmer, ZFx, Inc. www.zfx.com PGP key available at wwwkeys.us.pgp.net

Re: Guide addition?

1999-10-07 Thread Chip Turner
you mention (seeking on DATA etc). Chip -- Chip Turner [EMAIL PROTECTED] Programmer, ZFx, Inc. www.zfx.com PGP key available at wwwkeys.us.pgp.net

Re: extra '0' when printing to files other than STDOUT?

1999-10-04 Thread Chip Turner
than you ever wanted to know about Awk compatibility ;) A minor note -- have you considered a module for your SMTP code instead of hard-coding it? Net::SMTP should work. It handles all the pesky RFC details as well. Plus chances are it'll end up being more portable in the long run. Chi

Re: XML and Apache

1999-01-03 Thread Chip Turner
or Postgresql. I think you'll continue to bang your head against a wall unless you change your strategy; slurping 150meg of data at a time just isn't the appropriate way to solve almost any problem. Just use DBI, you'll be happier for it :) Chip -- Chip Turner [

Re: mod_perl on Apache 2.0

1999-01-02 Thread Chip Turner
t there will be per-thread overhead. Plus, AFAIK, no Perl distribution comes shipped with multiplicity, so we'll likely have to require Perl recompilation before mod_perl compilation. So... mod_perl will exist in 2.0. We just have a lot of work to do first,