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-




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:

jsp:useBean name="someIterator" type="java.util.Iterator"
dadadada:iterator iterator="%= someIterator %"
  table
tr
  thName/th
  thAddress/th
/tr
dadadada:iteratorLoop id="x" type="dadadada.someapp.SomeBeanClass" 
  tr
tdjsp:getproperty name="x" property="name" //td
tdjsp:getproperty name="x" property="address" //td
  /tr
/dadadada:iteratorLoop
  /table
/dadadada:iterator

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: 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 Mon, 4 Sep 2000, Paul J. Lucas wrote:
 
   And I still think that:
 
 DIV CLASS="employee_info"
   Name: SPAN CLASS="text::name"John Q. Public/SPANBR
   Job: SPAN CLASS="text::job"mod_perl guru/SPAN
 /DIV
 
   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:
 
 TABLE
   TR
 THName/TH
 THJob/TH
   /TR
   TR CLASS="employee_info"
 TD CLASS="text::name"John Q. Public/TD
 TD CLASS="text::job"mod_perl guru/TD
   /TR
 /TABLE

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: 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 FH;
  
  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=2731mode=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: 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:
 
 Files ~ "/usr/local/apache/htdocs/.+\.iphtml$"
 Options +ExecCGI
 SetHandler perl-script
 PerlHandler Apache::ePerl
 /Files
 
 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 HTML 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-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