Re: Amazon

2008-02-26 Thread David Scott
k any smart person with good common sense would understand OO in no time... ____ From: David Scott [mailto:[EMAIL PROTECTED] Sent: Tue 2/26/2008 9:06 AM To: modperl@perl.apache.org Subject: Re: Amazon I've seen that too. Some engineering managers have an absol

Re: Amazon

2008-02-26 Thread David Scott
I've seen that too. Some engineering managers have an absolute phobia when it comes to Perl. But some of these same managers turn right around and extol the virtues of Ruby. Go figure. As far as I can tell, beyond a lot of syntactic sugar the two are virtually indistinguishable - except tha

Re: Amazon

2008-02-22 Thread David Scott
Doesn't sound right to me that they would jettison the existing deployment unless it was really dysfunctional, which doesn't seem to be the case...I'm curious what the real story is. d Jonathan Vanasco wrote: I've heard from a few reputable sources that Amazon is looking to drop mod_perl, and

Re: Flex

2007-12-02 Thread David Scott
I use Aptana (www.aptana.com) for web development (JS/CSS/HTML). Firebug is good for debugging DOM issues on Firefox but unfortunately doesn't do you much good on IE. The cross-browser stuff you just do. d Perrin Harkins wrote: On Dec 2, 2007 6:10 PM, David Scott <[EMAIL PROTECTED

Re: Flex

2007-12-02 Thread David Scott
AJAX is anything but time-consuming once you get the hang of it. I much prefer it to traditional server-side dynamic page construction, which really is time-consuming. If you haven't seen ExtJS yet, you're missing something: http://www.extjs.com. d Perrin Harkins wrote: On Dec 1, 2007 3:

Re: Connection Pooling

2007-11-24 Thread David Scott
My information is not up to date -- I looked into this a year or so ago. With the prefork MPM, connection pooling is a problem because of the way the Apache process model works. With a threaded MPM, the situation is different. I think the preferred approach (and I don't know how well it work

Re: RFC: mod_perl PHP integration

2007-10-13 Thread David Scott
I really want to believe that "enterprise" systems are better than simple ones. I really want to believe that tools like Eclipse improve productivity. And I really want to believe that Zend/PHP is doing something new by "integrating" with other languages on "enterprise" platforms. But le

Re: passing CGI paramters

2007-07-04 Thread David Scott
Have a look at this: http://www.perl.com/pub/a/2002/05/07/mod_perl.html Perrin is probably right that it's a closure issue. Take a good look at your code. Incidentally, I've found it useful to do a Google search on incomprehensible error messages ..:) d CraigT wrote: Perrin, I'm not su

Re: Zend PHP

2007-03-08 Thread David Scott
Chris Shiflett wrote: Zend makes their money by releasing a better version of PHP that is less buggy and has less security issues. That's why Yahoo, Wikipedia, Flickr, Digg, and others don't use Zend products. They like the buggy and insecure PHP. Or, maybe you don't know what you're talking

Re: Sample Web Application that uses mod_perl

2007-02-22 Thread David Scott
mod_perl has been out for over 10 years. There are a couple of O'Reilly books that describe it in detail. The book you probably want to look at is "Writing Apache Modules with Perl and C" by Lincoln Stein and Doug MacEachern, which came out in 1999. It contains a lot of examples of mod_perl

Re: escape_uri ?

2006-12-29 Thread David Scott
From: http://perl.apache.org/docs/2.0/user/porting/compat.html#C_Apache__Util__escape_uri___: "Apache::Util::escape_uri() Apache::Util::escape_uri() has been replaced with Apache2::Util::escape_path() and requires a pool o

Re: Instability at startup for Apache2/mod_perl2 using worker MPM

2006-12-12 Thread David Scott
tithreaded Apache) rather than vanilla DBI. If anyone has experience with DBIx::Class on mod_perl2 using the worker MPM, we would be grateful to hear from you. Again, thanks to everyone. d David Scott wrote: This is not a good Apache day. I already sent out a message regarding an Apache::Scoreboa

Apache::VMonitor doesn't install (can't find Apache::Scoreboard): suggested patch

2006-12-05 Thread David Scott
I *finally* managed to get this to work. The problem is in Apache::Scoreboard, in Scoreboard.xs: apparently ap_exists_scoreboard_image() can return the value 0 even when everything is OK, causing the existence test to fail and Apache::Scoreboard not to load. The following patch to Scoreboard

Re: Apache::VMonitor doesn't install (can't find Apache::Scoreboard)

2006-12-03 Thread David Scott
rs to be the smoking gun. Is there something I need to do when building httpd in the first place? Do I need to tweak LD_LIBRARY_PATH or something? Thanks. d Philip M. Gollucci wrote: David Scott wrote: make test APACHE_TEST_HTTPD=/usr/local/apache2/bin/httpd APACHE_TEST_APXS=/usr/local/a

Re: Apache2::Status "Memory Usage" fails on Debian

2006-12-01 Thread David Scott
n't use the script name. d Jonathan wrote: On Nov 30, 2006, at 5:58 PM, David Scott wrote: This is not a good Apache day. I already sent out a message regarding an Apache::Scoreboard problem, and now Apache2::Status doesn't work either. it's a bug, but i think its platform speci

Apache::VMonitor doesn't install (can't find Apache::Scoreboard)

2006-12-01 Thread David Scott
Phillip wrote: Hey guys, I've installed Apache 2.2.3 and mod_perl 2.0.3 + libapreq2, >apparently all successfully (my application runs pretty well). Now I want to install Apache::VMonitor and can't. I've running on Debian sarge and have Apache 1.3.33 installed as > well >in /usr/sbin/apach

Instability at startup for Apache2/mod_perl2 using worker MPM

2006-11-30 Thread David Scott
OK this is my third message today, hopefully it will be the last. I've built Apache 2.2.3 and mod_perl 2.0.3 with libapreq 2.08 and the worker MPM. There appears to be some kind of race condition at startup that prevents the server from coming up. This only happens once in a while, and can b

Apache2::Status "Memory Usage" fails on Debian

2006-11-30 Thread David Scott
This is not a good Apache day. I already sent out a message regarding an Apache::Scoreboard problem, and now Apache2::Status doesn't work either. Here is an excerpt from httpd.conf: ExtendedStatus On PerlLoadModule Apache2::Status PerlModule CGI PerlModule B::TerseSize Listen

Apache::VMonitor doesn't install (can't find

2006-11-30 Thread David Scott
Hey guys, I've installed Apache 2.2.3 and mod_perl 2.0.3 + libapreq2, apparently all successfully (my application runs pretty well). Now I want to install Apache::VMonitor and can't. I've running on Debian sarge and have Apache 1.3.33 installed as well in /usr/sbin/apache. The first issue

apache 1.37 + mod_perl + libapreq

2006-09-26 Thread David Scott
Guys, I'm trying to build a bundled version of Apache 1 + mod_perl but am having a hell of a time building the Apache::Request and Apache::Cookie modules. I've built the shared object version of libapreq and that works fine (I've got my Apache 1.37 in a special source file and libapreq finds

Re: acceptable memory leaks?

2006-08-16 Thread David Scott
"...uses more memory over time..." Hmm, sounds like an actual leak to me, unless there's some justification for it. I agree that the problem is probably in someone's XS somewhere. But a leak is a leak and is bad. d Perrin Harkins wrote: On Wed, 2006-08-16 at 13:3

Re: acceptable memory leaks?

2006-08-16 Thread David Scott
Memory leak != memory hog. The leak could indicate instability and is a much higher priority than "a measly couple of KB". Even little leaks need to be plugged. d Joel Bernstein wrote: On Wed, Aug 16, 2006 at 03:24:32PM -0500, Matthew wrote: Memory is cheap / CPU is cheap My bos

Re: Problem with french accents using mod perl

2005-09-08 Thread David Scott
Um, guys, whatever happened to character entities for non-US ASCII characters (eg é for e-accent-aigu)? Seems to me it would be easy to write a filter to replace outgoing characters with their character entity equivalents, thereby avoiding character set issues. d Aaron Ross wrote: I have

STDOUT clones in mod_perl

2005-08-19 Thread David Scott
I've been trying to pass the STDOUT filehandle to subroutines, with mixed success. Seems I should be able to do: my $fh = \*STDOUT; my_sub( $fh ); where my_sub is: sub my_sub { my ( $fh ) = @_; print $fh "foobar\n"; } I'm not getting any output at all, in fact the Apache process blocks