ANNOUNCE: Mason 1.23

2003-09-08 Thread Dave Rolsky
inside an $m-scomp call. Task id #498. Reported by Kim Alexander Hansen. -- Forwarded message -- Date: Mon, 8 Sep 2003 18:45:01 +0200 From: PAUSE [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: Dave Rolsky [EMAIL PROTECTED] Subject: CPAN Upload: D/DR/DROLSKY/HTML-Mason-1.23

Re: Templating system opinions (CGI::Application in connection witheither HTML::Template or Template::Toolkit)

2003-07-23 Thread Dave Rolsky
On Wed, 23 Jul 2003, Eric wrote: do it all type of system. That is what made me avoid Mason, it just blew my head off for complexity. Now it is true, I am looking for a bit more than There's a fine book about it. www.masonbook.com Just an unbiased opinion ;) -dave

Re: templating system opinions

2003-07-21 Thread Dave Rolsky
On Mon, 21 Jul 2003, Drew Taylor wrote: I personally have not seen an official announcement, but if you look at all their postings on jobs.perl.org you'll notice that nearly every one of them mentions Mason. I'm sure Dave will have more to say on the subject... :-) Not too much more. But

Re: templating system opinions

2003-07-21 Thread Dave Rolsky
On Mon, 21 Jul 2003, Patrick Galbraith wrote: I'm guessing they use it for IMDB, although they may have other projects as well that use it. I do know that their core app is C++/apache, with some sort of perl glue to talk to the app. I believe IMDB uses mod_perl, but I don't know about Mason.

Re: templating system opinions

2003-07-21 Thread Dave Rolsky
On Mon, 21 Jul 2003, Sam Tregar wrote: On Sun, 20 Jul 2003, Dave Rolsky wrote: OTOH, if you were to try to replicate some of Mason's more powerful features with H::T, like autohandlers, inheritance, etc., then I'm sure that'd bring H::T's speed down to Mason's level ;) I wouldn't be too

Re: templating system opinions

2003-07-20 Thread Dave Rolsky
On Sun, 20 Jul 2003, Jamie Lawrence wrote: H::T is much more programmer-centric. In a lot of contexts, that makes sense. Informally (as in, I haven't done a systematic comparison), it is also faster than Mason. Mason isn't slow, but if you need every last gram of performance, well, you

Re: templating system opinions

2003-07-20 Thread Dave Rolsky
On Sun, 20 Jul 2003, Patrick Galbraith wrote: I've been working at Classmates.com for a couple months contracting, and they use Text::Forge. I've been impressed by the performance, and wish it was a big player. Part of the reason it isn't is guys like me should contribute to it and make it

Re: templating system opinions

2003-07-20 Thread Dave Rolsky
On Sun, 20 Jul 2003, Jamie Lawrence wrote: Mason isn't fast. It is, however, fast enough for high volume sites - that I will assert. Sure, amazon.com among them. From my view, the utility of autohandlers and dhandlers, in terms of code written vs. cost and time, is an enormous win. Add to

Re: templating system opinions

2003-07-18 Thread Dave Rolsky
On Fri, 18 Jul 2003, Patrick Galbraith wrote: TT was ok, but it did use a bunch of ram ;) So does Mason. HTML::Template is no doubt much leaner, but it's also lean on features. Nothing wrong with that if it suits your needs, though. Most Perl templating systems are probably slower and/or

ANNOUNCE: Mason 1.22

2003-07-14 Thread Dave Rolsky
1.22 July 14, 2003 [ ENHANCEMENTS ] - Added $m-has_content to check for content without evaluating it. - Comments are now allowed on separate lines inside %attr and %flags blocks. Task id #475. - $m-subexec and $m-make_subrequest now accept relative paths which are interpreted relative to the

Re: must I use mod-perl

2003-07-13 Thread Dave Rolsky
On Sun, 13 Jul 2003, Oskar wrote: Install it if you have a lot of time. It took me week to config it and month for rewritting scripts. If you're using a system that has some sort of packages, then there are probably mod_perl packages for it. Installing mod_perl on a Debian GNU/Linux systems

Re: [ANNOUNCE] libapreq-1.1 is out

2003-01-30 Thread Dave Rolsky
On Tue, 28 Jan 2003, Joe Schaefer wrote: libapreq-1.1 is now available on CPAN, and also through the Apache website at http://www.apache.org/dist/httpd/libapreq/libapreq-1.1.tar.gz What are the difference between this version and 1.05? The changelog ends at 1.05. -dave

[JOB SEEKER]: Looking for consulting work

2003-01-22 Thread Dave Rolsky
Hello, mod_perl folks, I've recently decided it's time to go the consulting route and I'm looking for consulting gigs. I have quite a bit of experience with mod_perl, and Mason especially, plus database design, application design, and much more. I'm open to short or long term projects, including

RE: OSCON ideas - missing proceedings

2003-01-10 Thread Dave Rolsky
On Thu, 9 Jan 2003, Nathan Torkington wrote: Mark Schoonover writes: Any chance they will bring it back to San Diego?? :) Not for two years at least (the duration of the contract with the Portland hotel). The San Diego hotel was much more expensive and remote, compared to the Portland

Re: OSCON ideas

2003-01-09 Thread Dave Rolsky
On Thu, 9 Jan 2003, Jonathan M. Hollin wrote: Perrin Harkins wrote: (http://conferences.oreillynet.com/cs/os2003/create/e_sess). I'm thinking about possible talks to submit and I want a little feedback on what people are most interested in. Here are two options I'mconsidering: I would be

Re: [OT] Re: OSCON ideas

2003-01-09 Thread Dave Rolsky
On Thu, 9 Jan 2003, Larry Leszczynski wrote: But even if Perrin's OSCON talk (hint hint) gave me some valuable ammunition to show that I could just as easily design on top of a Perl-based application framework as on J2EE, we still come back around to the perception that it's easier to find

Re: development techniques

2003-01-09 Thread Dave Rolsky
On Thu, 9 Jan 2003, Thomas Bolioli wrote: I use my debugging module (http://cpan.perl.org/authors/id/T/TB/TBOLIOLI/Log-AndError-0.99.tar.gz) which prints to stderr (hence I got bit by the mod_cgi issues with read/write deadlocks on pipes) while tailing the logs, etc. I am looking to include

Re: OSCON ideas - MVC talk

2003-01-08 Thread Dave Rolsky
On Thu, 9 Jan 2003, Stas Bekman wrote: Stas Bekman wrote: Since the submission deadline is one week that certainly would not happen. For some reason I thought the deadline was Jan 15th, I see that it's Feb 15th. Wow, you scared the crap out of me for a second. I want to submit some

Internal redirect to method handler bug?

2003-01-03 Thread Dave Rolsky
A user on the Mason list reported a problem when the used an internal redirect pointed at a location handled by Mason. What was happening is that the HTML::Mason::ApacheHandler module, which has a _method_ handler sub (sub handler ($$)) was being called without a package name (just $r) because of

Re: Internal redirect to method handler bug?

2003-01-03 Thread Dave Rolsky
On Fri, 3 Jan 2003, Dave Rolsky wrote: A user on the Mason list reported a problem when the used an internal redirect pointed at a location handled by Mason. What was happening is that the HTML::Mason::ApacheHandler module, which has a _method_ handler sub (sub handler ($$)) was being called

ANNOUNCE: HTML::Mason 1.16

2002-12-13 Thread Dave Rolsky
This is the latest action-packed release of HTML::Mason, with more bloody fights, steamy sex, and outrageous laughs than ever before. Thrill ... as an autohandler calls the next component in the chain. Tremble ... at the awesome might of the wicked dhandler. Cry ... for the humble

Mason book is available

2002-10-24 Thread Dave Rolsky
According to various online retailers, the book is now actually shipping. Check out http://www.masonbook.com/ and http://www.oreilly.com/catalog/perlhtmlmason/ for more info. The latter URL includes the TOC, index, and a sample chapter. -dave /*== www.urth.org we await the New

Re: Random broken images when generating dynamic images

2002-10-24 Thread Dave Rolsky
On Thu, 24 Oct 2002, Paolo Campanella wrote: On a page with 5 different dynamic images (all generated by the same chunk of code, it's a set of graphs), I'll often see 1 or 2 as a broken image, but the rest work. Sometimes all 5 are ok. Unlikely to be your problem, but I had something

Random broken images when generating dynamic images

2002-10-23 Thread Dave Rolsky
So here's the situation. I have some code that generates images dynamically. It works, mostly. Sometimes the image will show up as a broken image in the browser. If I reload the page once or twice, the image comes up fine. On a page with 5 different dynamic images (all generated by the same

Re: Random broken images when generating dynamic images

2002-10-23 Thread Dave Rolsky
On Wed, 23 Oct 2002, Dave Rolsky wrote: I have some code that generates images dynamically. It works, mostly. Sometimes the image will show up as a broken image in the browser. If I reload the page once or twice, the image comes up fine. I should mention that I'm using Mason, and I haven't

Re: Apache Hello World Benchmarks Updated

2002-10-14 Thread Dave Rolsky
On Tue, 15 Oct 2002, Perrin Harkins wrote: Josh Chamas wrote: Set MaxRequestsPerChild to 100 for applications that seem to leak memory which include Embperl 2.0, HTML::Mason, and Template Toolkit. This is a more typical setting in a mod_perl type application that leaks memory,

Re: Apache Hello World Benchmarks Updated

2002-10-14 Thread Dave Rolsky
On Mon, 14 Oct 2002, Josh Chamas wrote: This is interesting. I should look into upgrading to perl 5.8 on these tests see what difference there may be. You might also see if it makes a difference if you run the tests for a long enough time. I run them at least 60 seconds for these

ANNOUNCE: Mason 1.15

2002-10-13 Thread Dave Rolsky
This release is all about bug fixes. Basically, %filter blocks have been a bit borked in various ways (different in different releases) since 1.10, and now they should be in good shape. There were a number of test failures reported over the past several releases, almost of which were actually

ANNOUNCE: Mason 1.14

2002-10-07 Thread Dave Rolsky
This release has lots of fun new stuff. It's _more_ backwards compatible than 1.10-1.13, particularly as far as caching is concerned, which should help those who are interested in upgrading. It has a brand new spiffy user-defined escapes feature, which among other things allows you to easily

Re: passing an object to a handler

2002-10-02 Thread Dave Rolsky
On Wed, 2 Oct 2002, william ross wrote: I did have it set up that way at one point. it worked quite nicely as long as I made the singleton in a subclass of the main Factory (which might be shared by several applications with different configurations). i gave up on it in the end because it

RedHat RPM for apache+mod_perl?

2002-09-25 Thread Dave Rolsky
Has anyone here come up with an RPM for apache+mod_perl, with the following caveats: 1. mod_perl is statically compiled 2. I don't want SSL. This will be backend server. Only the frontend needs SSL. 3. can co-exist with a non-mod_perl Apache on the same system, meaning that it has its own

Re: Apache::Session - What goes in session?

2002-08-20 Thread Dave Rolsky
On Tue, 20 Aug 2002 [EMAIL PROTECTED] wrote: Currently we are working on a 'per machine' cache so all children can benefit for each childs initial database read of the translated string, the differential between children is annoying in the 'per child cache' strategy. Sounds like you want

Re: ANNOUNCE: Mason 1.12

2002-08-01 Thread Dave Rolsky
On 1 Aug 2002, Vivek Khera wrote: Cool... I just updated one system from 1.05 to 1.1201 and cpan says that HTML::Mason::ApacheHandler is now older than the version in 1.05: Package namespace installedlatest in CPAN file HTML::Mason::ApacheHandler 1.242 1.68

Re: ANNOUNCE: Mason 1.12

2002-08-01 Thread Dave Rolsky
On Thu, 1 Aug 2002, David Wheeler wrote: No, CVS is kind-of brain-dead about this. I suggest you use sprintf to properly format the version number with appropriate number of 0s. Although, with those version numbers, it might be a little late. See, that's the problem. We're up in the

ANNOUNCE: Mason 1.12

2002-07-23 Thread Dave Rolsky
This release has a number of important improvements and it is highly recommended that anyone use Mason 1.10 or 1.11 upgrade immediately in order to fix a nasty memory leak in ApacheHandler. 1.12 is also quite a bit faster than previous 1.1x versions. Those folks still using 1.0x or earlier

[OT] Re: Hiding perl code

2002-07-22 Thread Dave Rolsky
On Mon, 22 Jul 2002, Andreas J. Koenig wrote: On Mon, 22 Jul 2002 13:10:25 +1000, Iain Truskett [EMAIL PROTECTED] said: As far as I know, there's no good way to do it. It is Perl after all. And with mod_perl things just get trickier. Filter::decrypt does that. It's very hard to

Re: [ANNOUNCE] Petal 0.1

2002-07-17 Thread Dave Rolsky
On Wed, 17 Jul 2002, Rob Nagler wrote: Petal lets me do that. If that's not of any use to you, fine. The world is full of excellent 'inline style' modules such as HTML::Mason, HTML::Embperl and other Apache::ASP. These all work on the assumption that the template is written in HTML.

Re: Propogating Errors / E-Toys

2002-07-10 Thread Dave Rolsky
On Wed, 10 Jul 2002, Matt Sergeant wrote: Ah, in that case I'm recommending Dave's stuff. It's more flexible and doesn't use that irritating -param stuff. Though I have to do a little more research to be certain some things are possible (like turning on stack traces globally). Actually,

Re: leaks with Apache::Request?

2002-07-09 Thread Dave Rolsky
On 8 Jul 2002, Joe Schaefer wrote: Write that like this, and I think your leak will disappear: my $r = Apache::Request-new( shift ); AFAICT, Apache::Request::new is NOT leaking here, since the REFCNT of its returned object IS 1. There might be some magic-related bug in perl that

leaks with Apache::Request?

2002-07-08 Thread Dave Rolsky
It looks like there may be a memory leak with Apache::Request. I'm using version 1.0 with Perl 5.6.1, mod_perl 1.26, and Apache 1.3.26. mod_perl is statically compiled into Apache. Here's some code that I think demonstrates the leak: package My::APRTest; use strict; use

Re: leaks with Apache::Request?

2002-07-08 Thread Dave Rolsky
On Mon, 8 Jul 2002, Richard Clarke wrote: During the child exit phase, mod_perl invokes the Perl API function perl_destruct( ) to run the contents of END blocks and to invoke the DESTROY method for any global objects that have not gone out of scope already. Notice where it says ... for

Re: errors installing libapreq

2002-06-26 Thread Dave Rolsky
On Tue, 25 Jun 2002, Tim Bolin wrote: ok, im at the end of my proverbial rope on this one and dont know how to proceed... i am trying to install libapreq for Apache::Request, and when i try to run make the thing just pukes up a huge long string of errors like: You forgot to mention (though

Re: separating C from V in MVC

2002-06-14 Thread Dave Rolsky
On Fri, 14 Jun 2002, kyle dawkins wrote: bigger system, but I would also caution people to say that if you find yourself doing joins across up to 6 tables, you're almost certainly doing something wrong from the start and, basically, you're fooked because of shitty design, and O/R or R/O

Re: separating C from V in MVC

2002-06-13 Thread Dave Rolsky
On Thu, 13 Jun 2002, Perrin Harkins wrote: As you can see it gets messy fast, and I didn't even cover the Mastercard part. It would probably have terruble performance too. This is why people usually just write this kind of report as a big SQL query instead. You can make a model object

Re: separating C from V in MVC

2002-06-13 Thread Dave Rolsky
On Thu, 13 Jun 2002, Rob Nagler wrote: Most OLTP applications share a lot in common. The user inputs data in forms. The fields they edit often correspond one-to-one with database fields, and certainly their types. The user wants reports which are usually closely mapped to a

Re: separating C from V in MVC

2002-06-13 Thread Dave Rolsky
On Fri, 14 Jun 2002, Gunther Birznieks wrote: Would one of you mind providing a 1 paragraph definition of each? I am afraid that I am starting to get lost in the semantic differences of controllers and actions and O/R, R/O? Well, here's my take on it. An Object-Relational mapper takes

Re: separating C from V in MVC

2002-06-13 Thread Dave Rolsky
On Fri, 14 Jun 2002, Fran Fabrizio wrote: How well does this approach work with 90 tables? How does it handle arbitrary queries that may join 1-6 tables, with conditionals and sorting of arbitrary complexity? I'd have to agree, most of the real-world scenarios I have run across do not

Re: Can't set multiple cookies?

2002-06-07 Thread Dave Rolsky
On Fri, 7 Jun 2002, Ken Miller wrote: Ok, so continuing down the path of a single sign-on system, I've completed a rough framework, and it works fine. However, I thought it might be nice to segregate the various bits of information into different cookies. Unfortunately, setting multiple

Re: separating C from V in MVC

2002-05-31 Thread Dave Rolsky
On Fri, 31 May 2002, Barry Hoggard wrote: Do you have a favorite approach for writing the Model objects? At Investorama we created a class called TableObject that would deal with getting/setting values from the database, plus doing data verification like checking for values being present

Re: MVC advice..?

2002-05-29 Thread Dave Rolsky
On Wed, 29 May 2002, Perrin Harkins wrote: There's no good reason to do an eval 'use'. Use require instead, and import if you need to (but most people don't). Actually, there is. This code: my $module = 'Foo::Bar'; require $module; is not the same as this: require Foo::Bar; If

Re: PerlRequire -mod_perl-2 - Apache 2.0.35

2002-04-16 Thread Dave Rolsky
On Tue, 16 Apr 2002, Perrin Harkins wrote: [EMAIL PROTECTED] wrote: I am a newbie and had developed a proof-of-concept application on Apache 1.3.23/Mod_Perl-1.26-dev. We are researching into moving away from ASP/IIS Webapplications to Apache/Mod_Perl. I am stuck with the latest Apache

mod_perl 1.99 and Apache::compat

2002-04-07 Thread Dave Rolsky
Well, here be a bug report I compiled Apache 2.0.35 with mod_perl 1.99 as a DSO. The server will start just fine with that. I'm running on GNU/Linux with Perl 5.6.1. If I add this: PerlModule Apache2 PerlModule Apache::compat The server simply will not start. If I comment out all the

Re: mod_perl 1.99 and Apache::compat

2002-04-07 Thread Dave Rolsky
On Sun, 7 Apr 2002, Dave Rolsky wrote: I also found a few tiny bugs in Apache::compat. - The read() call in send_fd_length needs to be CORE::read. - In the last elsif in size_string, the size variable is missing its dollar sign ($). Here's a patch: --- compat.pm.~1.35.~ Sat Mar 23 20

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

Re: [MASON] Using GD for dynamic graphics

2002-03-21 Thread Dave Rolsky
On Wed, 20 Mar 2002, Nicolai Schlenzig wrote: When I create a new GD::Image drawing whatever on it and trying to print it - it will be prepended to my html header for the page. I then tried to put it in $m-out to have in printed within Mason, but that simply printed the raw PNG in all its

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

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,

[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

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

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

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

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

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: [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.

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

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

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 ==*/

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

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

[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

  1   2   >