Re: Apache trouble reading in large cookie contents

2000-10-20 Thread Billy Donahue

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Sun, 22 Oct 2000, Gunther Birznieks wrote:

> Caveat: even if you modify apache to do larger cookies, it's possible that 
> there will be a set of browsers that won't support it.

Yeah, I remember very clearly from the old Netscape spec that cookies
were limited to 4096 bytes.


- --
"The Funk, the whole Funk, and nothing but the Funk."
Vote for Ralph Nader! <http://www.votenader.org>
Billy Donahue <mailto:[EMAIL PROTECTED]>
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.3 (GNU/Linux)
Comment: pgpenvelope 2.9.0 - http://pgpenvelope.sourceforge.net/

iD8DBQE58OpP+2VvpwIZdF0RAkw2AJ4ibNomg6PEIxsbCF1ALy7vvGlsGQCgnv3t
JARb+sDLPcMU5Nc3DrcNZT8=
=twrb
-END PGP SIGNATURE-




Re: Forking in mod_perl?

2000-10-04 Thread Billy Donahue

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Wed, 4 Oct 2000, ed phillips wrote:

> Now you are faced with a trade off.  Is it more expensive to
> detach a subprocess, or use the child cleanup phase to do
> some extra processing? I'd have to know more specifics to answer
> that with any modicum of confidence.

He might try a daemon coprocesses using some IPC to communicate with
Apache, which is my favorite way to do it..

- --
"The Funk, the whole Funk, and nothing but the Funk."
Linux barcode software mirror: http://dadadada.net/cuecat
Billy Donahue <mailto:[EMAIL PROTECTED]>
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.3 (GNU/Linux)
Comment: pgpenvelope 2.9.0 - http://pgpenvelope.sourceforge.net/

iD8DBQE525yz+2VvpwIZdF0RAjddAJ46Zxa4qHlLJuMfc1FHnS4aa7E7pwCfSFf8
MctjBHbwd8x31CAACVA98Ug=
=B/EE
-END PGP SIGNATURE-




HTML Template Systems

2000-09-05 Thread Billy Donahue

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Tue, 5 Sep 2000, G.W. Haywood wrote:

> On Tue, 5 Sep 2000, Drew Taylor wrote:
> > "G.W. Haywood" wrote:
> > > > > GWH> Do you think this one could go off-List now?
> > > > No; I find it quite useful to help form my own descision
> > > OK, you win, I'm outvoted.
> > 
> > I will say that the topic has greatly veered from the original subject.
> > How about we continue the discussion with appropriate subject lines?
> 
> [OT] ?

We're still talking about mod_perl.  This is stuff we use all the time.
I'd say that it's very much ON topic.  Maybe we'll use [OT] and say that
it means "on topic".  I think a lot of people are getting started here
and the discussion is helpful.  I also think that these discussions are
going to make a better comparison guide.


- --
"The Funk, the whole Funk, and nothing but the Funk."
Billy Donahue <mailto:[EMAIL PROTECTED]>
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.2 (GNU/Linux)
Comment: pgpenvelope 2.9.0 - http://pgpenvelope.sourceforge.net/

iD8DBQE5tS60+2VvpwIZdF0RAiFMAJ9SB6tPEDnIm60SRHBZ1a2og+ZLpQCfbmmO
LB9oyYjveekW2z394O1YHBM=
=rJBX
-END PGP SIGNATURE-




Re: Can't locate object method "No" via package "such"

2000-09-04 Thread Billy Donahue

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Tue, 5 Sep 2000, Ken Williams wrote:

> This is pretty funny.  Somehow an error message "No such
> something-or-other" is being interpreted as Perl code.  I don't know why
> it thinks the file is /dev/null, but I'd grep for "No such" in your code
> and see where that error message might be issued/misinterpreted.

Failing that, see if $! is being abused.  $! would contain the text "No such file or 
directory"
after a failed open attempt, for example.

- --
"The Funk, the whole Funk, and nothing but the Funk."
Billy Donahue <mailto:[EMAIL PROTECTED]>
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.2 (GNU/Linux)
Comment: pgpenvelope 2.9.0 - http://pgpenvelope.sourceforge.net/

iD8DBQE5tJNP+2VvpwIZdF0RAnGTAKCGhjjA/o/o9W6srWXtvQHb4USvgQCaAmc9
PENIbPNX2M05DLbLA7jvYVw=
=OW+v
-END PGP SIGNATURE-




Re: HTML Template Comparison Sheet ETA

2000-09-04 Thread Billy Donahue

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Mon, 4 Sep 2000, Paul J. Lucas wrote:
> 
>   And I still think that:
> 
> 
>   Name: John Q. Public
>   Job: mod_perl guru
> 
> 
>   is cleaner still: *pure* HTML (no fake elements) that any web
>   tool will understand and dummy-content so the page designer can
>   see the end-product before any code is written.
> 
>   Another benefit in not mixing any code in the template is that
>   the web page designer can wake up tomorrow and change the
>   template to:
> 
> 
>   
> Name
> Job
>   
>   
> John Q. Public
> mod_perl guru
>   
> 

Great, as long as there's no loops or anything but straight up text
replacement...  I don't like this approach at all!

Where in your example do you leave room to display an array of employees?

What if you need to actually USE the `class' attribute of your HTML element?
It's been hijacked!

- --
"The Funk, the whole Funk, and nothing but the Funk."
Billy Donahue <mailto:[EMAIL PROTECTED]>
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.2 (GNU/Linux)
Comment: pgpenvelope 2.9.0 - http://pgpenvelope.sourceforge.net/

iD8DBQE5s9yF+2VvpwIZdF0RAoZFAKCQ98QYfj+mTSoQb2X+KBCzj6PA2wCgoCfl
jZJ0JNmHxQpzfRJ+6GE3W6Y=
=/kos
-END PGP SIGNATURE-




Re: HTML Template Comparison Sheet ETA

2000-09-04 Thread Billy Donahue

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Mon, 4 Sep 2000, Matt Sergeant wrote:

> > That said, I am a mod_perl novice, and I don't know if there's anything
> > equivalent or better than this in the mod_perl world.
> 
> Well to stick the AxKit oar in, yes, of course there's something better...

Gheesh!  I should have seen that coming!!

- --
"The Funk, the whole Funk, and nothing but the Funk."
Billy Donahue <mailto:[EMAIL PROTECTED]>
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.2 (GNU/Linux)
Comment: pgpenvelope 2.9.0 - http://pgpenvelope.sourceforge.net/

iD8DBQE5s8ls+2VvpwIZdF0RAipnAJ9NYkWEMK829xZKwCZOCyWWpw70uACglIQU
r25PRJGL7DU45NCzNjAs1sk=
=qfy/
-END PGP SIGNATURE-




Re: HTML Template Comparison Sheet ETA

2000-09-04 Thread Billy Donahue

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 4 Sep 2000, Randal L. Schwartz wrote:

> Nelson> And the first one has two major advantages: 1) requires less
> Nelson> code in the Perl modules and 2) allows designers to know how
> Nelson> Perl looks like.
> 
> Is this a codeword for "share our pain"? :)
> 
> Perhaps any HTML Template Comparison sheet should also show how to
> write a loop like that... I know Template-Toolkit would be a syntax
> somewhat in between the two, for example, while Mason would be more
> Perl-like.

I've been working with JSPs lately, and I'd use something like:



  

  Name
  Address


  


  

  


Which is close enough to HTML that the HTML people should understand it.
You never really have to "break character" while writing presentation
pages.  I prefer the custom tags approach to the embedded code approach..
See, in Java you're better off having a servlet set up the 'beans' for
the JSP, and then invoking the 'dumb' JSP to present them.  The logic is
in the servlet, and the JSP imports the results with useBean statements.
The designers never have to tiptoe around the logical work, they only
edit the JSP files.

That said, I am a mod_perl novice, and I don't know if there's anything
equivalent or better than this in the mod_perl world.

- --
"The Funk, the whole Funk, and nothing but the Funk."
Billy Donahue <mailto:[EMAIL PROTECTED]>
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.2 (GNU/Linux)
Comment: pgpenvelope 2.9.0 - http://pgpenvelope.sourceforge.net/

iD8DBQE5s77o+2VvpwIZdF0RAtJPAKCRu9QU+Kqvib1ehQ/x1T4X/n3rGgCgm2AO
U5w8Hl8SrWK0jPV98QRNELA=
=6vfU
-END PGP SIGNATURE-




Re: Apache.xs patch for get_client_block

2000-08-31 Thread Billy Donahue

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 31 Aug 2000 [EMAIL PROTECTED] wrote:

> I'm not sure what SvGROW does, but if it involves a malloc
> without freeing the old buffer, you've got the same problem as before.  
> Each time the perl version of get_client_block is called, 
> SvGROW will work it's majic on RAM, and perl won't give that RAM
> back to the OS. 

I'm ignorant enough on the rest of what you're talking about to keep
my mouth shut, but I should point out that perl can't give RAM back to
the OS.  It can only give RAM back to the rest of the perl process.
If you allocate 64M in the first 100msec to initialize your process,
and then you stay alive for 2 weeks, that 64M is missing from the system
for 2 weeks.

- --
"The Funk, the whole Funk, and nothing but the Funk."
Billy Donahue <mailto:[EMAIL PROTECTED]>
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.2 (GNU/Linux)
Comment: pgpenvelope 2.9.0 - http://pgpenvelope.sourceforge.net/

iD8DBQE5rs4R+2VvpwIZdF0RArPCAJ4ov5QnK7f6Hbecwy9l7+0LehgKLQCeJtNm
j5/H+FuY8WzgNXUH8qnjXEI=
=rNah
-END PGP SIGNATURE-




Re: Patch to t/modules/request.t

2000-08-25 Thread Billy Donahue

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Fri, 25 Aug 2000, Rick Myers wrote:

> From: Rick Myers <[EMAIL PROTECTED]>
> 
> On Aug 24, 2000 at 23:15:15 -0500, Ken Williams twiddled the keys to say:
> > [EMAIL PROTECTED] (Rick Myers) wrote:
> > >
> > >+++$lines while defined ;
> > 
> > THAT's weird - what in the world is the read-only value that's being
> > modified?  
> 
> It's $_.

And why is $_ read-only?

- --
"The Funk, the whole Funk, and nothing but the Funk."
Billy Donahue <mailto:[EMAIL PROTECTED]>
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.2 (GNU/Linux)
Comment: pgpenvelope 2.9.0 - http://pgpenvelope.sourceforge.net/

iD8DBQE5pxcs+2VvpwIZdF0RAkWQAJ99KD28UFuU+atZL1UueucMyHN3ggCfSaCf
QvX7iCGkTVwBJqp6zamplwk=
=A+tD
-END PGP SIGNATURE-




Re: VB parser

2000-08-23 Thread Billy Donahue

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Wed, 23 Aug 2000, Jerrad Pierce wrote:

> Date: Wed, 23 Aug 2000 14:05:19 -0400
> From: Jerrad Pierce <[EMAIL PROTECTED]>
> To: [EMAIL PROTECTED]
> Subject: VB parser
> 
> So what happened to the VB parser? Is it going forward?

There was just a week of UserFriendly about this...
http://ars.userfriendly.org/cartoons/?id=2731&mode=classic
 

- --
"The Funk, the whole Funk, and nothing but the Funk."
Billy Donahue <mailto:[EMAIL PROTECTED]>
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.2 (GNU/Linux)
Comment: pgpenvelope 2.9.0 - http://pgpenvelope.sourceforge.net/

iD8DBQE5pBz3+2VvpwIZdF0RAod+AKCHEUi+q5EJEra4LexKvHhwzvlY+ACglhBv
OxCDprTzcwcKTHFauixjVT0=
=PVLG
-END PGP SIGNATURE-




Re: mod_perl rules! updated stats

2000-08-10 Thread Billy Donahue

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 10 Aug 2000, Randal L. Schwartz wrote:
> Ask> On 8 Aug 2000, Randal L. Schwartz wrote:
> 
> >> $VERSION = (qw$Revision: 1.6 $ )[-1];
> 
> Ask> in 4 revisions you would have regretted that if you actually used
> Ask> the $VERSION for anything, no?
> 
> Then it's time for version 2! :)

This raises an interesting question...

Is it possible to integrate the new perl-5.6.0 `v4.2.20' version-quoting
with CVS tags?

- --
"The Funk, the whole Funk, and nothing but the Funk."
Billy Donahue <mailto:[EMAIL PROTECTED]>
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.2 (GNU/Linux)
Comment: pgpenvelope 2.9.0 - http://pgpenvelope.sourceforge.net/

iD8DBQE5k0mo+2VvpwIZdF0RApXBAJ0aV66izcYjFxfK27KMakpGm3OhkwCdF92q
+T5KtULpW5wPEGyWNBmpV8E=
=vjDR
-END PGP SIGNATURE-




Re: template kit.....

2000-07-28 Thread Billy Donahue

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Fri, 28 Jul 2000, Paul J. Lucas wrote:

> > Its been a long time since i have done a jobb without using sessions.
> > I would really like to have this feature included in the kit im using
> > and i think alot of developers are with me on this one.
> 
> What I don't understand is *why*.  Why can't you use to independent
> pieces of software: one for templates and the other for sessions that
> work perfectly well together (or seperately)?
>
> I personally prefer smaller, more easily udnerstandable pieces to large,
> complex, feature-bloated software.

He's got a point there.  What's wrong with bringing in some
pluggable session management?  Uberpackages make maintenance
harder, and locks you in to using it for your whole app.

- --
"The Funk, the whole Funk, and nothing but the Funk."
Billy Donahue <mailto:[EMAIL PROTECTED]>
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.1 (GNU/Linux)
Comment: pgpenvelope 2.8.11 - http://pgpenvelope.sourceforge.net/

iD8DBQE5glkc+2VvpwIZdF0RAoD8AJ9jN+QibJXEDKwYk1HwaM+o7z/yagCfYIZp
Y0QCN6SPNHHsSDA4bTZnsRA=
=dIgV
-END PGP SIGNATURE-




Re: [OT] [JOB] mod_perl and Apache developers wanted

2000-06-16 Thread Billy Donahue

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Thu, 15 Jun 2000, Perrin Harkins wrote:

> That whole thing was resolved quite a while ago, and ended with etoy.com
> getting their domain back and eToys paying their legal fees.  This
> company has nothing against artists and is not an evil faceless
> corporation; just a bunch of people running a big toy store.

Oh gee, I guess eToys.com were the good guys after all!
Come on

- --
"The Funk, the whole Funk, and nothing but the Funk."
Billy Donahue <mailto:[EMAIL PROTECTED]>
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.1 (GNU/Linux)
Comment: Made with pgp4pine 1.75

iD8DBQE5Sksz+2VvpwIZdF0RAg7WAJ9x02lGHIr/Sv1fsNtuza46nrBeXgCfVDAa
PAqgXsBexDFbG/sJFUnYht4=
=JNhi
-END PGP SIGNATURE-





Re: Source Code Shows Up in IE But Not Netscape

2000-05-10 Thread Billy Donahue

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Wed, 10 May 2000, Bri Carey wrote:

> Date: Wed, 10 May 2000 05:26:52 PDT
> From: Bri Carey <[EMAIL PROTECTED]>
> To: [EMAIL PROTECTED]
> Subject: Source Code Shows Up in IE But Not Netscape
> 
> I realize that this is not an ePerl forum, but since ePerl runs as part of 
> mod_perl, I thought it couldn't hurt to at least ask here.
> 
> I must be missing something obvious.
> 
> I've installed Apache::ePerl.
> 
> I've configured httpd.conf according to the instructions:
> 
> 
> Options +ExecCGI
> SetHandler perl-script
> PerlHandler Apache::ePerl
> 
> 
> When I display an .iphtml page in Netscape, everything seems to be fine.
> 
> When I display it in IE (4.72), I get a plain text output of the source
> code, including html tags.
> 
> Why this discrepancy?

IE quite brilliantly ignores the MIME type specified in the header
in some cases... If you send IE a Content-Type: text/plain 
document that happens to begin with  then it will render it
as HTML... This sounds like a related problem, but with the opposite effect:
that is to say, it's now NOT rendering when it should be.

- --
"The Funk, the whole Funk, and nothing but the Funk."
Billy Donahue <mailto:[EMAIL PROTECTED]>
http://dadadada.net
GnuPG Key ID: 0219745D Billy Donahue <[EMAIL PROTECTED]>
Fingerprint: 869A 2453 36F4 09BA 1D83  1839 FB65 6FA7 0219 745D
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.1 (GNU/Linux)
Comment: Made with pgp4pine 1.75

iD8DBQE5GVbJ+2VvpwIZdF0RAoLwAJ9zTrqLcTI5RxC3jyA37r5EuCm4xgCggvKY
GJ56MsQ704UE6F1E31fzaYo=
=zfpG
-END PGP SIGNATURE-





Re: crypt() under windows

2000-04-20 Thread Billy Donahue

On Thu, 20 Apr 2000, Matt Sergeant wrote:

> Date: Thu, 20 Apr 2000 09:11:00 +0100 (BST)
> From: Matt Sergeant <[EMAIL PROTECTED]>
> To: Gunther Birznieks <[EMAIL PROTECTED]>
> Cc: [EMAIL PROTECTED], [EMAIL PROTECTED]
> Subject: Re: crypt() under windows
> 
> On Thu, 20 Apr 2000, Gunther Birznieks wrote:
> 
> > At 09:00 PM 4/19/00 +0100, Matt Sergeant wrote:
> > >On Wed, 19 Apr 2000, Tim Bishop wrote:
> > >
> > > >
> > > > Hi-
> > > >
> > > > We used Martin Vorlaender's Crypt::UnixCrypt module for the same reason
> > > > you need it - no crypt() on Windows.
> > >
> > >Nonesense. Read README.win32 before building your perl.
> > 
> > Curiously, the precompiled Win32 ModPerl that perl.apache.org references 
> > for people to download does not have crypt() compiled in. Yet ActiveState's 
> > binary distribution of build 522 does. Odd.
> > 
> > Is there a reason that the source distributions default build would be 
> > different from ActiveState's default build?
> 
> It was compiled in the US. ActiveState is a Canadian company so can
> distribute crypt(). Someone should probably do a later build of the whole
> shebang anyway about now - volunteers? (preferrably from outside the US?)
 

During the QNX crypt fiasco, I heard that the export restrictions
didn't apply to hashing functions.

--
"The Funk, the whole Funk, and nothing but the Funk."
Billy Donahue <mailto:[EMAIL PROTECTED]>
http://billy.zone.xs2.net




Re: crypt() under windows

2000-04-19 Thread Billy Donahue

On Wed, 19 Apr 2000, indrek siitan wrote:

> Date: Wed, 19 Apr 2000 13:02:00 -0500
> From: indrek siitan <[EMAIL PROTECTED]>
> To: [EMAIL PROTECTED], [EMAIL PROTECTED]
> Subject: crypt() under windows
> 
> Hi,
> 
> seems like the standard crypt() function is not implemented
> under Windows. :(
> 
> does anyone have a perl source, that does the 3DES crypt()
> encryption? i only need it for a development version, so the
> speed doesn't matter. the production version will run under
> Linux and use the standard crypt() call.

Why can't you just snarf it from the libc source?
Ain't this free software stuff great?

--
"The Funk, the whole Funk, and nothing but the Funk."
Billy Donahue <mailto:[EMAIL PROTECTED]>
http://billy.zone.xs2.net




Re: [newbie] diffs and cvs

2000-04-09 Thread Billy Donahue

On Sun, 9 Apr 2000 [EMAIL PROTECTED] wrote:

> Date: Sun, 9 Apr 2000 12:21:39 EDT
> From: [EMAIL PROTECTED]
> To: [EMAIL PROTECTED]
> Subject: [newbie] diffs and cvs
> 
> I'll probably never be applying a lot of the diffs I see
> here, but I have to wonder, what are they made for?
> 
> They only thing I know is they aren't made by diff for ed.

They are unified diffs, made with
diff -u 

--
"The Funk, the whole Funk, and nothing but the Funk."
Billy Donahue <mailto:[EMAIL PROTECTED]>
http://www.escape.com/~billy