Re: Centralized Caching

2000-08-20 Thread Dave Rolsky
On Sun, 20 Aug 2000, Angela Focazio wrote: It seems very inefficient on memory to have each child process forms its own cache, so I was interested in creating a centralized cache that all of the child processes could dip into (actually forming a module that allows for I/O control of a

Re: usemymalloc mod_perl

2000-09-16 Thread Dave Rolsky
On Sat, 16 Sep 2000, Ian Kallen wrote: So, my question for this group: why would I want usemymalloc=y on Solaris 2.6? Besides having to rebuild a somewhat complex mod_perl compile, I'm not looking forward to rebuilding all libraries with XS code so any insight as to the ins and outs of

Re: $r-path_info() bug?

2000-10-05 Thread Dave Rolsky
On Thu, 5 Oct 2000, Todd Chapman wrote: HTML::Mason version 0.88 This isn't related to your question but please be advised that there are bugs in 0.88 that make upgrading to 0.89 highly advisable. This question probably belongs on the mason-users list, BTW. Please see

Bug in mod_perl

2000-10-09 Thread Dave Rolsky
Try the following handler: package Foo; use Apache::Request; sub handler { my $r = shift; my (@vars) = ( 'abc', "abc\0def", "def" ); $r-send_http_header; $r-print("$_\n") foreach @vars; } 1; I'm using mod_perl 1.24/Apache 1.3.12/Perl 5.00503 and find that I receive no

Re: Rapid prototyping and mirroring

2000-10-26 Thread Dave Rolsky
On Thu, 26 Oct 2000, John Marquart wrote: the possibility of multiple mirror sites around the world. Is there a apache/mod_perl module that enables this? (i.e. an end-user add content at one sight, and upon committing it, it propogates to the other mirror sites?) Or am I just ficticiously

Re: [ ANNOUNCE ] Apache::SessionManager-0.07

2000-10-30 Thread Dave Rolsky
On Mon, 30 Oct 2000, G.W. Haywood wrote: If you can write Perl you can write C, there are onlya couple of dozen keywords. It's just that you're not so mollycoddled in C, you're much closer to the machine, and you have to plan further ahead (instead of waiting for the bang:). I prefer it.

Re: [ ANNOUNCE ] Apache::SessionManager-0.07

2000-10-30 Thread Dave Rolsky
On Mon, 30 Oct 2000, Greg Cope wrote: I agree but apache has regex.h ... a regex libary - hence these should be possible - or am I missing the point ? My point was simply that while Perl makes easy things easy, C makes all things hard ;) Frankly, I prefer it as a Perl module since I can see

Re: Putting together the TPC mod_perl track

2000-11-01 Thread Dave Rolsky
On Wed, 1 Nov 2000, Matt Sergeant wrote: Has anyone got any ideas on what they'd like to either a) talk about, or b) hear talks about ? I was thinking of giving a talk on Mason unless Jon Swartz wants to (haven't asked him yet). I also have another planned but its not mod_perl specific

Re: return from nested functions

2000-11-01 Thread Dave Rolsky
On Wed, 1 Nov 2000, Paul J. Lucas wrote: If I'm a few levels deep into function calls, I'd liek to be able to do something like "return SERVER_ERROR" and have the entire call stack unwind and the current request stopped. Is there any way to do that? Not that this

Re: return from nested functions

2000-11-01 Thread Dave Rolsky
On Wed, 1 Nov 2000, Matt Sergeant wrote: Definitely use exceptions. I prefer Error.pm for this (sorry, Dave!), which allows your handler to simply be: That's no reason not to use Exception::Class. They are largely orthogonal. If you want to be able to declare your exception hierarchy at

Re: a web interface to visualize tables

2000-11-01 Thread Dave Rolsky
On Wed, 1 Nov 2000, Louis-David Mitterrand wrote: I need a tool to interactively visualize DB tables from a web interface. Ideally this tool would let me: - rename column headers, - set cell alignments, widths, background colors, - reorder columns, - save all these visualisation settings

Re: dynamic vs. mostly static data

2000-11-06 Thread Dave Rolsky
On Mon, 6 Nov 2000, Vivek Khera wrote: head titleMy Site/title /head body tr td[% stick in body of article here "document.main" %]/td td[% stick in related info here "document.sidebar" if it exists %]/td /tr /body That is, I have exactly one template that I apply to each document.

Re: open source projects on mod_perl

2000-11-21 Thread Dave Rolsky
On Tue, 21 Nov 2000 [EMAIL PROTECTED] wrote: On Tue, 21 Nov 2000, Ilya Soldatkin wrote: Are there any open source projects running under mod_perl? I am interested in OOP projects working with SQL databases with good style of programming. I'd like to use them to make my code better. If

Bug in Apache::test

2000-11-22 Thread Dave Rolsky
It seems that when you ask it to scan for dynamic modules and produce the appropriate conf file you can end up with something like this in there: LoadModule setenvif_module"/usr/local/apache_mp"/libexec/mod_setenvif.so The quotes cause a problem. Here's a patch against the latest CVS

Proxy adding headers

2000-11-26 Thread Dave Rolsky
This sort of a mod_perl question. When I use mod_rewrite to proxy to my mod_perl backend servers, it seems that even if I explicitly don't send headers I still get something like: HTTP/1.0 OK Date: blah bah in front of anything I said. The issue here is that I wrote some MP3 serving code

Re: Proxy adding headers

2000-11-27 Thread Dave Rolsky
On Mon, 27 Nov 2000, Sander van Zoest wrote: Unfortunately, it seems that when I proxy I get the above added so I have to serve streaming audio directly from the mod_perl server, which is less than ideal in terms of resource use. If you mena you rewrite to mod_proxy, then mod_proxy does

Re: Proxy adding headers

2000-11-27 Thread Dave Rolsky
On Mon, 27 Nov 2000, Sander van Zoest wrote: Normally the mod_proxy code doesn't touch the headers, it simply sends the headers on from the remote server you are proxying too. I doubt it is mod_rewrite but it could be. The extra headers are probably coming from your remote server you are

Re: [OT] Re: Proxy adding headers

2000-11-27 Thread Dave Rolsky
On Mon, 27 Nov 2000, Sander van Zoest wrote: Ah, are you trying to send ICY headers or something? mod_proxy only knows of HTTP and sends the appropriate status itself rather then what it gets from the remote server. This will also require some hacks in mod_proxy to make it aware of the

Re: Proxy adding headers

2000-11-27 Thread Dave Rolsky
On 27 Nov 2000, Joe Schaefer wrote: mod_proxy will upgrade assbackwards requests to HTTP/1.0 before passing them along to the backend server, which may explain why the date field shows up in your telnet experiments. Why not post the full output of your telnet sessions so we can see what is

Re: [OT] Re: Proxy adding headers

2000-11-27 Thread Dave Rolsky
On Mon, 27 Nov 2000, Sander van Zoest wrote: Ah, are you trying to send ICY headers or something? mod_proxy only knows of HTTP and sends the appropriate status itself rather then what it gets from the remote server. This will also require some hacks in mod_proxy to make it aware of the

Re: Proxy adding headers

2000-11-27 Thread Dave Rolsky
On Tue, 28 Nov 2000, Gunther Birznieks wrote: Dave's company could also *pay* someone to do what he wants. It would probably take about a day of someone at Covalent (probably less) to whip something up to stop doing the headers (and they would probably be able to feed the change back into

segmentation fault when using custom config module

2000-11-29 Thread Dave Rolsky
Relevant info: Apache: 1.3.12 mod_perl: 1.24 Perl: 5.00503 gcc 2.95.1 on Linus 2.2.18pre19 I created a module that contains custom configs with the following code: package HTML::Mason::Dispatcher; use ExtUtils::MakeMaker; use Apache::ExtUtils; use Apache::src; my @directives = ( { name =

Re: segmentation fault when using custom config module

2000-11-29 Thread Dave Rolsky
On Wed, 29 Nov 2000, Matt Sergeant wrote: On Wed, 29 Nov 2000, Dave Rolsky wrote: my $cfg = Apache::ModuleConfig-get($r); Try: my $cfg = Apache::ModuleConfig-get($r, __PACKAGE__); I should have said that its segfaulting before it ever gets into the handler sub. I changed handler

Re: Wanted: Modperl/Mason consultant:

2000-11-29 Thread Dave Rolsky
On Wed, 29 Nov 2000, ___cliff rayman___ wrote: plus, everyone knows your bid. i don't have quite the credentials as Ask, but i only cost $119.50 per hour. :-)) Hmm, I'm on the Mason core team and I'll do it for $119.49/hour ;) Actually, I'm just kidding, I have a job I should be working on

Re: RFC: Apache::Carp - Error Handling under mod_perl

2000-11-29 Thread Dave Rolsky
On Thu, 30 Nov 2000, T.J. Mather wrote: I've done a lot of programming under mod_perl and I got tired of examining the error logs for errors. So I wrote a module that displays to the broswer the error (with a complete call stack) for any fatals or warnings that occur on a development server

Re: RFC: mod_perl advocacy project resurrection

2000-12-05 Thread Dave Rolsky
On Tue, 5 Dec 2000, brian moseley wrote: i don't have figures, but from experience i know - once i've compiled httpd, i have almost no real configuration work to do with php. on the other hand, if i want to set up mason, i have to write 10-20 lines of perl code and access them with

RE: mod_perl advocacy project resurrection

2000-12-05 Thread Dave Rolsky
On Tue, 5 Dec 2000, brian moseley wrote: infrastructure company based on mod_perl and mason. when we got down to it, the fundamental question was: why not just use java? and we couldn't find any answer other than "i like perl better". and that's not a reasonable business justification.

Re: RFC: mod_perl advocacy project resurrection (and a proposal!)

2000-12-05 Thread Dave Rolsky
On Tue, 5 Dec 2000, kyle dawkins wrote: * We need to drop-kick DBI out of the park... it's not that it's bad (it's actually great... kudos to the DBI crew) but kind of the opposite; it's so easy to use that most people don't think beyond it. How many of you have ever thought about

Re: mod_perl advocacy project resurrection (messaging system)

2000-12-05 Thread Dave Rolsky
On Tue, 5 Dec 2000, brian moseley wrote: consider a scenario in which somebody uses a web interface to signal an action, which is placed into a message queue. on the other end of that queue, a service handles the event with a transaction that spans multiple third tier systems. this is the

Re: mod_perl advocacy project resurrection

2000-12-06 Thread Dave Rolsky
On Wed, 6 Dec 2000, Jim Woodgate wrote: With a system like Tomcat running in a jvm outside of apache, you only have one jvm, and you get things like being able to share a cache between all sessions alot easier. [snip] That being said, I wonder how difficult it would be pull the perl

Smart installing (Re: mod_perl advocacy project resurrection)

2000-12-06 Thread Dave Rolsky
On Wed, 6 Dec 2000, brian moseley wrote: another option would be to use autoconf. wrap a configure script around your entire set of components. allow it to find and use whichever ones you've already got installed. have it build and install whatever you don't already have. not very tough.

Re: Smart installing (Re: mod_perl advocacy project resurrection)

2000-12-06 Thread Dave Rolsky
On Wed, 6 Dec 2000, Aaron E. Ross wrote: while the install and auto configure part is not very glamorous, the possibility of being able to untar one package to get mod_perl w/ persistent db connections, transaction management, data relational modeling/objects and a nice

Re: debuggers

2000-12-07 Thread Dave Rolsky
On Thu, 7 Dec 2000, martin langhoff wrote: I wonder how do those hardcore guys that develop using handlers debug. Mhhh. They must write 'perlfect' code, I guess, and/or understand those cryptic debuggers ... I just do a lot of debugging via warn statements and looking at the error

Re: debuggers

2000-12-08 Thread Dave Rolsky
On Fri, 8 Dec 2000, Matt Sergeant wrote: fatalsToBrowser installs a $SIG{__DIE__} handler, and so prevents you from properly using eval{} blocks, or nice modules like Error.pm or Class::Exception (or whichever way around Dave has it this week :-) That's Exception::Class. phhhbbtt! -dave

Re: Trouble with AxKit at runtime - XML parsing stage

2000-12-14 Thread Dave Rolsky
On Thu, 14 Dec 2000, Owen Stenseth wrote: I believe that the Bizzar copy of array problem is related to a bug in Perl 5.6 that was patched a while ago. Make sure you are running the latest version of perl5.6 The latest version of 5.6 _is_ 5.6.0. The bizarre copy thing is fixed in CVS and

RE: Trouble with AxKit at runtime - XML parsing stage

2000-12-14 Thread Dave Rolsky
On Thu, 14 Dec 2000, Khachaturov, Vassilii wrote: http://bugs.perl.org/perlbug.cgi?req=querybody=Bizarre+copy seems to yield only one bug relevant to my particular error message case - http://bugs.perl.org/perlbug.cgi?req=bidbid=20001207.005range=6012format= H which is still open. No

Re: Dynamic content that is static

2000-12-22 Thread Dave Rolsky
On 22 Dec 2000, Dave Seidel wrote: I don't know if either Mason or Embperl offer static compilation, but Mason has caching and I believe that Embperl is getting caching.AxKit is also very cool, and caches. Using Mason to generate a set of HTML pages would not be too terribly

Re: Apache::Request and redirects

2000-12-30 Thread Dave Rolsky
On Sat, 30 Dec 2000, Matt Sergeant wrote: Another minor issue is that Apache::Request is not trivially subclassed, the returned value from $self-SUPER::new() must be reblessed into the desired class. Thats a pretty standard perl idiom: sub new { my $class = shift; my $self =

How to recognize server shutdown?

2001-01-09 Thread Dave Rolsky
Is there any way to distinguish between a child being shutdown (say maxrequests has been exceeded) versus all of Apache going down (kill signal sent to the original process or something). The reason I ask is that while I can do: BEGIN { # make a file } I can't do: END { # delete a

Re: How to recognize server shutdown?

2001-01-10 Thread Dave Rolsky
On Wed, 10 Jan 2001, G.W. Haywood wrote: Don't you get a message in error_log to the effect that a signal has been received? Sure, but I don't think that would help me do what I want. Let me illustrate: 1. server is started 2. config is read, modules are loaded, BEGIN blocks are run in

Re: How to recognize server shutdown?

2001-01-10 Thread Dave Rolsky
On Wed, 10 Jan 2001, Danny Rathjens wrote: Perhaps you could send a USR1 prior to your TERM signal and have your END blocks perform your shutdown tasks if they see the USR1 signal. But then you have the problem of new children being started due to the USR1 not to mention it would preclude

Re: How to recognize server shutdown?

2001-01-10 Thread Dave Rolsky
On Wed, 10 Jan 2001, Stas Bekman wrote: All we need is to add a $Apache::Server::Quitting or alike, in addition to the existing $Apache::Server::Starting and $Apache::Server::ReStarting, should be an easy patch in XS. I'm not much of an C coder (much less XS) but maybe I'll poke around a

Re: How to recognize server shutdown?

2001-01-10 Thread Dave Rolsky
On Wed, 10 Jan 2001, Perrin Harkins wrote: Randal's solution is probably better, but it's a bummer that the parent doesn't run END blocks. Will it run cleanup handlers? I'm pretty sure the parent runs END blocks. I just didn't want to have the cleanup code run during child shutdown. What

Re: How to recognize server shutdown?

2001-01-11 Thread Dave Rolsky
On Thu, 11 Jan 2001, Perrin Harkins wrote: I meant "is there a way to run a cleanup handler in the parent after it's work is done?", but I don't see one. Dave says the END block trick worked for him, so maybe it only fails under certain circumstances. Actually, I should have pointed out

Re: Object-XML serialization [was Re: AxKit Users?]

2001-01-30 Thread Dave Rolsky
On Tue, 30 Jan 2001 [EMAIL PROTECTED] wrote: It would be nice to see "xml marshalling" (as they call it) integrated into an existing Perl object-relational framework like Tangram. OTOH, Tangram isn't very well optimized for mod_perl work in general--currently the object cache must be

Re: Object-XML serialization [was Re: AxKit Users?]

2001-01-30 Thread Dave Rolsky
On Wed, 31 Jan 2001, Robin Berjon wrote: Alzabo (which is somewhat the opposite of Tangram) is designed with mod_perl in mind. XML serialization will be coming real soon now (as soon as Barrie Slaymaker finishes work on DBML). Ah, the eternal hesitation... Alzagram any time soon ? Well,

Re: Using modperl as an 'adaptor' front end to an app server.

2001-02-02 Thread Dave Rolsky
On Fri, 2 Feb 2001, Daniel Sully wrote: You could use an IPC or DBM file (assuming you have 1 apache machine) to communicate this info. With multiple webservers, you'd need a database or NFS or something. That would be a no. Socket communication only. Shared filesystems in production

Re: Runaways

2001-02-05 Thread Dave Rolsky
On Mon, 5 Feb 2001, Perrin Harkins wrote: First, BSD::Resource can save you from these. It will do hard limits on memory and CPU consumption. Second, you may be bale to register a handler for a signal that will generate a stack trace. Look at Devel::StackTrace (I think) for how to do it.

Re: Runaways

2001-02-05 Thread Dave Rolsky
On Mon, 5 Feb 2001, Perrin Harkins wrote: Nope, that's not it. I wrote that one and it doesn't talk about that at all. I meant "for how to generate a stacktrace". Using it with a singal handler was demonstrated on this list about two weeks ago, but I can't recall who did it. It was

Re: Setting 'Location' header

2001-02-13 Thread Dave Rolsky
On Tue, 13 Feb 2001, Stathy Touloumis wrote: This code does not seem to work whether in a handler or when using a Mason component. I have tried several variations with different versions of mod_perl to no avail. Can anyone shed some light? my $head = $r-headers_out; $head-set( Location=

Re: apachecon: BOF?

2001-02-13 Thread Dave Rolsky
On Wed, 14 Feb 2001, Gunther Birznieks wrote: I wouldn't mind a mod_perl beer-BOF like the one we had at the last night of ApacheCon Europe I'll go, but I won't drink any beer. -dave /*== www.urth.org We await the New Sun ==*/

[JOB SEEKER]: Me

2001-02-16 Thread Dave Rolsky
My current contract is winding down and rather than rotting away at home I think I should try to get some sort of job. I know Perl and mod_perl very well, and Mason even better. I'd love to work on something large scale, and it goes without saying that I want to do Perl. I live in Minnesota

Re: perl5.6 (was: Shared variables, inner subs and our)

2001-03-17 Thread Dave Rolsky
On Fri, 16 Mar 2001, Bogomolnyi Constantin wrote: You should probably try 5.7.0 witch is much more stable than 5.6.0 (you should not try unicode stuff , whitch is quite buggy) I use 5.7.0 on all my production servers without any problems . 5.7.0 may have fixed some of the bugs of 5.6.0 but

ApacheCon session handouts

2001-03-19 Thread Dave Rolsky
Oops, deleted the message but someone just asked if the session notes would be available via the web. I don't know of the official ApacheCon plan but I can say that mine (for my Intro to Mason presentation) will be available somewhere. -dave /*== www.urth.org We await the New

[OT] ApacheCon BOF shirts

2001-03-20 Thread Dave Rolsky
So as not to be a total spoilsport, I would like to point out that I thought Randal's idea (Mcmod_perl?) was rather clever and I think it'd be cool (though I don't know if there are trademark issues). -dave /*== www.urth.org We await the New Sun ==*/

RE: [OT] ApacheCon BOF

2001-03-20 Thread Dave Rolsky
On Tue, 20 Mar 2001, Geoffrey Young wrote: If you get a really good artist, put the lamp/bottle into the hands of a well-built Native American figure (a warrior-type is great, but an "indian princess" has subliminal appealok, ok, but think about it, lol!) I think the graphics house

Charset?

2001-03-23 Thread Dave Rolsky
Is there a mod_perl way to set the character set besides doing: $r-content_type('text/html; charset=foo'); ??? That'd be handy for a future version. I can't find anything in the Apache.pm docs (1.24) or the guide for this. -dave /*== www.urth.org We await the New Sun

mod_perl BOF

2001-03-28 Thread Dave Rolsky
Why was this scheduled during Matt Sergeant's AxKit presentation? Why not during a time slot when there are no mod_perl presentations? This is not rocket science here. -dave /*== www.urth.org We await the New Sun ==*/

RE: mod_perl BOF

2001-03-28 Thread Dave Rolsky
On Wed, 28 Mar 2001, Geoffrey Young wrote: Absolutely. I've CC'd the ApacheCon planners so hopefully they can step in and fix things. Doh, I should've done this in the first place. I ended up mailing Stewart Quealy separately. Sorry for everyone who's seeing this multiple times. -dave

Apachecon folks

2001-04-03 Thread Dave Rolsky
Anyone here want to get together? I'm in room 945 and bored. I think matt Sergeant is here too but I couldn't find him at the bar. -dave /*== www.urth.org We await the New Sun ==*/

Re: Must restart Apache when any .pm changes?

2001-04-22 Thread Dave Rolsky
On Sat, 21 Apr 2001, Steve Leibel wrote: I believe the way this works is that the first time any Apache child process sees "use Foo" that is the version of Foo.pm that will be used by that process. No subsequent "use Foo" within components will have any effect during the life of that Apache

Re: [Mason] Object - RDBMS mapping tools and mod_perl

2001-05-10 Thread Dave Rolsky
On Thu, 10 May 2001, Ray Zimmerman wrote: I'm aware of Tangram, Alzabo and SPOPS (not sure all these do what I need) ... are there any others? Any particular reasons why any of these may not play with with mod_perl/Mason? Well, I wrote Alzabo and it plays just fine with mod_perl and Mason.

Re: Object - RDBMS mapping tools and mod_perl

2001-05-11 Thread Dave Rolsky
On Fri, 11 May 2001, Chris Winters wrote: Anyone (including Chris) done a comparison of the two (SPOPS and Tangram) and willing to comment on strengths, weaknesses, differences, etc? That is an excellent idea and would be quite useful. I'll see what I can do in the (relatively) near

Re: Ultimate Bulletin Board? Jezuz.

2001-08-01 Thread Dave Rolsky
On Wed, 1 Aug 2001, Kyle Dawkins wrote: having said all that, it's much cheaper than UBB, far superior in overall design, and DB-driven... and it works beautifully, so i can't complain too much. :-) And has at least one major security hole (at least the 3.51 version did, which was the last

Re: [OT] Inspired by closing comments from the UBB thread.

2001-08-01 Thread Dave Rolsky
On Wed, 1 Aug 2001, Ray Zimmerman wrote: One of the tools that is not mentioned in Dave's write-up (probably because it didn't exist then) is SPOPS, mentioned earlier in this thread. No, I just hadn't had a chance to get around to it yet. I really need to finish that thing someday. Of

Re: [OT] Inspired by closing comments from the UBB thread.

2001-08-01 Thread Dave Rolsky
On Wed, 1 Aug 2001, Kyle Dawkins wrote: I've taken a look at many of them (Tangram? a few others) and haven't been impressed with any of them. I think part of the problem is that they're all being developed in a bit of a vacuum. But let's capitalise on the interest that this thread has

Re: [OT] Inspired by closing comments from the UBB thread.

2001-08-03 Thread Dave Rolsky
On Thu, 2 Aug 2001, Tim Bunce wrote: I think DBIx::AnyDBD is a pretty good compromise. Well, I worked with Matt on the project for which it was developed (WebBoard for Unix) and I still felt like there was just way too much stuff to deal with. Just too much SQL. I wanted a more abstract way

Re: Just while we are so nicely [OT]: SQL Search Results in pages

2001-08-03 Thread Dave Rolsky
On Thu, 2 Aug 2001, Perrin Harkins wrote: I've had great success with Select and cache only the row keys, fetch full rows as needed. We were also caching the individual records (in BerkeleyDB), so some pages never needed to hit Oracle at all after the initial query. A good way to go, if

Re: modperl 2.0

2001-08-12 Thread Dave Rolsky
On Sun, 12 Aug 2001, The Doctor wrote: On Sun, Aug 12, 2001 at 05:51:22PM -0400, Barrie Slaymaker wrote: On Sun, Aug 12, 2001 at 03:47:09PM -0600, The Doctor wrote: perl 5.6.1 calling itself perl 5.6.0 Come off of it! I don't know where you got that idea. When I

Re: Excellent article on Apache/mod_perl at eToys

2001-10-23 Thread Dave Rolsky
On Tue, 23 Oct 2001, Nathan Torkington wrote: Of course, we couldn't call it a Java bean. They'd have to be Camel droppings. :-) Perl Jewels (Joules?) -dave /*== www.urth.org We await the New Sun ==*/

Re: [OT] Re: Seeking Legal help

2001-11-21 Thread Dave Rolsky
On Wed, 21 Nov 2001, Matt Sergeant wrote: Maybe they weighlayed your invoice. Or don't have the money just yet but ^^^??? You folks may have invented the language but its still spelled waylayed! Step three: Once you've given them 90 days after date of invoice, get a solicitor

Re: [OT] Re: Seeking Legal help

2001-11-22 Thread Dave Rolsky
On Thu, 22 Nov 2001, Rodent of Unusual Size wrote: Um, no, it's spelt waylaid. :-) As you and everybody else has pointed out (mostly in private email). I was so eager and excited to give Matt some shit that I somehow incorporated part of his mistake. Oh well, that's what I get for teasing.

Apache::Cookie bug with value = undef

2001-10-08 Thread Dave Rolsky
If I do this: Apache::Cookie-new( $r, -name = 'foo', -value = { will_break = '', completely_borked = 1 } )-bake; and then I later try to read the cookie in and do this: my %c = Apache::Cookie-fetch; my %cookie = $c{foo}-value; print

Re: Apache::Cookie bug with value = undef

2001-10-08 Thread Dave Rolsky
On Mon, 8 Oct 2001, Ged Haywood wrote: Have you tried doing Apache::Cookie-new( $r, -name = 'foo', -value = { wont_break = '1', not_at_all_borked = '' } )-bake; instead? I can hardly control the order in which values are written out to the cookie via

Re: ANN/RFC: Apache::Session::Generate variants

2001-10-10 Thread Dave Rolsky
On Thu, 11 Oct 2001, Tatsuhiko Miyagawa wrote: Wow, I did almost half a year ago :-) http://aspn.activestate.com/ASPN/Mail/Message/modperl/532294 Yeah, and I think I sent one a year ago, at least. Jeff, if you're still maintaining this package it'd be nice to put out a new release. If not,

Re: ANN/RFC: Apache::Session::Generate variants

2001-10-11 Thread Dave Rolsky
On Thu, 11 Oct 2001, Jeffrey W. Baker wrote: Well, you guys are touchy lot! My releases are no less frequent than releases of DBI or even mod_perl. So just chill out, I sometimes have other things on my mind. I don't know about touchy so much as frustrated. Apache::Session is very widely

Re: Mod_perl component based architecture

2001-10-16 Thread Dave Rolsky
On Wed, 17 Oct 2001, Gunther Birznieks wrote: I would venture to say that some of the mod_perl-only toolkits have some cases of being better designed than ours, but they are mostly mod_perl only. In fact, I don't know if I know any other toolkits than ours that are not mod_perl only of the

Re: Comparison of different caching schemes

2001-12-14 Thread Dave Rolsky
On Fri, 14 Dec 2001, Perrin Harkins wrote: The thing you were missing is that on an OS with an aggressively caching filesystem (like Linux), frequently read files will end up cached in RAM anyway. The kernel can usually do a better job of managing an efficient cache than your program can.

RE: mod_perl vs. C for high performance Apache modules

2001-12-14 Thread Dave Rolsky
On Fri, 14 Dec 2001, Thomas Moore wrote: I spoke to the technical lead at Yahoo who said mod_perl will not scale as well as c++ when you get to their level of traffic, but for a large ecommerce site mod_perl is fine. Well, Yahoo is _extremely_ atypical. And they do a lot of stuff that

Re: mod_perl site challenge: proposal to use ASF site design

2001-12-17 Thread Dave Rolsky
On Mon, 17 Dec 2001, David Harris wrote: (a) See if others also think that the three alternatives for a mod_perl site are not very desirable. If you agree, please speak up and say that you agree. I thought Thomas' was fine but I think I actually prefer the ASF one. (b) See if others also

What phase am I in?

2001-12-20 Thread Dave Rolsky
I've looked through the mod_perl docs and guide and am unable to find something that I can use in a handler to figure out what the current phase is. This seems like such an obvious thing that I can't believe it doesn't exist. Therefore I will conclude that I'm completely blind. Anyone care to

Re: What phase am I in?

2001-12-20 Thread Dave Rolsky
On Thu, 20 Dec 2001, Perrin Harkins wrote: I've looked through the mod_perl docs and guide and am unable to find something that I can use in a handler to figure out what the current phase is. This seems like such an obvious thing that I can't believe it doesn't exist. Therefore I will

Re: What phase am I in?

2001-12-21 Thread Dave Rolsky
On 21 Dec 2001, Vivek Khera wrote: DR == Dave Rolsky [EMAIL PROTECTED] writes: It's called current_callback(). DR Grr, its not documented when I do 'perldoc Apache'. There's a lot of stuff not so documented. The mod_perl book has much more complete docs. Which is nice for ORA

Re: Fast template system

2001-12-30 Thread Dave Rolsky
On Sun, 30 Dec 2001, Ryan Thompson wrote: Any thoughts? There's quite a number of HTML template systems on CPAN which have been under development for years and are well supported. Use one of those and save yourself the hassle. I like Mason (but then again, I'm one of the developers ;) but

Re: Exception::Handler

2002-01-11 Thread Dave Rolsky
On Fri, 11 Jan 2002, Jay Lawrence wrote: For what it is worth - I would encourage you to check out the Error package as well. Rather than: eval { }; if ($@-isa('FooException')) { # ... } elsif ($@-isa('BarException')) { # ... } else { # ... } You would

Re: PerlAddVar alternative in v1.21

2002-01-25 Thread Dave Rolsky
On Fri, 25 Jan 2002, Geoffrey Young wrote: I think I just read in the eagle book the other day that suggested something like PerlSetVar MasonCompRoot foo:bar my @roots = split :, $r-dir_config('MasonCompRoot'); or whatever... Except that the code that read the dir_config is part of the

Re: ANNOUNCE: HTTP::TestEngine v0.02

2002-01-29 Thread Dave Rolsky
On Tue, 29 Jan 2002, Chris Brooks wrote: I have released version 0.02 of HTTP::TestEngine to sourceforge. TestEngine acts as an http session recorder. After setting a cookie, a user can record a session by simply clicking links in their browser: filenames, paths and parameters are written

[JOB SEEKER]: Give me a job, please ;)

2002-01-30 Thread Dave Rolsky
Hi, all, I just wanted to make a point of saying that I am available for work of a (mod)Perl-ish nature. I have a lot of expertise in mod_perl, Mason, databases, and Perl in general. I can add two and two. I can bake a cake. I can leap over _extremely_ tiny buildings in a single bound.

[OT] Re: mod_perl Developer's Cookbook (and Amazon)

2002-02-02 Thread Dave Rolsky
On Fri, 1 Feb 2002, Joe Brenner wrote: Spend only $4 more, and you too can show your disgust for software patents. Patents are bad. But don't forget that Amazon has also engaged in union-busting, which is several orders of magnitude worse, IMO. -dave /*== www.urth.org we

mod_proxy bug in Apache 1.3.23

2002-02-03 Thread Dave Rolsky
Since a lot of folks end up using mod_proxy in a dual-server setup, I thought I'd let people know of this bug (which I discovered after several hours of pounding my head against a brick wall). The version of mod_proxy shipped with Apache 1.3.23 will silently drop multiple Set-Cookie headers,

Re: [OT] Re: mod_perl Developer's Cookbook (and Amazon)

2002-02-04 Thread Dave Rolsky
On Mon, 4 Feb 2002, Joe Brenner wrote: so BookPool is my vendor of choice currently for price-conscious book shopping. Thanks, I'll look into that one. Or better yet, go to www.booksense.com, enter your zip code, and shop online at an independent local book-seller near you. It might be a

Re: modperl growth

2002-02-04 Thread Dave Rolsky
On 4 Feb 2002, Dave Hodgkinson wrote: And if the Slashcode were as easy to install and customise as phpnuke... For OSCON (and hopefully YAPC too), I've submitted a talk on using Module::Build (an ExtUtils::MakeMaker replacement) for modules and using it to build an application installer. Its

Re: [OT] RE: modperl growth

2002-02-04 Thread Dave Rolsky
On Mon, 4 Feb 2002, Andrew Ho wrote: One last thing that is hard is where is your DocumentRoot? This is a huge problem for web applications being installable out of the box. Perl can't necessarily figure that out by itself, either. You take a guess and then ask the user to confirm. And you

Re: [OT] modperl growth (installers)

2002-02-05 Thread Dave Rolsky
On Tue, 5 Feb 2002, Ed Grimm wrote: That's a good strategy (assuming a missing if in there somewhere). It can be augmented with the tactic of check for a running apache, see where it gets its config file from, and parse the config file to get the initial guess. (Note that I wouldn't want

Re: [WOT] Google Programming Contest.

2002-02-07 Thread Dave Rolsky
On 7 Feb 2002, Randal L. Schwartz wrote: No, they say must use our C++ interface routines, and no closed-source solutions. If you provide an open source package, you must tell where and how to download and build. Thus, Perl is fine. In the Slashdot discussion, there's a link to a usenet

Re: Custom Logging and User Tracking

2002-02-13 Thread Dave Rolsky
On Wed, 13 Feb 2002, Ryan Parr wrote: The code follows: sub handler { my $r = shift; return DECLINED unless($r-is_main()); # Same behavior when: # return DECLINED unless($r-is_initial_req()); open TRACK, /usr/local/www/usertracker.txt or die

Re: here is a good modperl question on perlmonk

2002-03-05 Thread Dave Rolsky
On Tue, 5 Mar 2002, Medi Montaseri wrote: My suggestion would be to install a Linux on your developer's PC and keep with the distributed model Now everyone can use a common web tree and at integeration, bring all of them to a staging box, QC it and ship it to production Giving everyone

Re: here is a good modperl question on perlmonk

2002-03-05 Thread Dave Rolsky
On Tue, 5 Mar 2002, Medi Montaseri wrote: Truebut I'm thinking full control to the developer Developer can now mis-configure httpdconf as much as he/she wants and all the paths; virtual or not are consistant, instead of a dev path vs production path Right, every developer can run their own

Re: modperl and SQL db select

2002-03-21 Thread Dave Rolsky
On Thu, 21 Mar 2002, Jay Thorne wrote: The first one I noted was that he assumes that a high performance app has several joins. I think everyone here who's developed a few db apps will tell you that joins are hugely costly and should be avoided for an application's most common cases.

Re: modperl and SQL db select

2002-03-21 Thread Dave Rolsky
On Thu, 21 Mar 2002, Rafiq Ismail (ADMIN) wrote: Mysql:+we all start with it. +Bench marks much faster. +/-Can allow nested queries (subselects again) though this is a relatively new feature. Eh? Subselects aren't scheduled for implementation until 4.1. The

  1   2   >