Re: mod_perl and Transfer-Encoding: chunked

2013-07-03 Thread Jim Schueler
I played around with chunking recently in the context of media streaming: The client is only requesting a chunk of data. Chunking is how media players perform a seek. It was originally implemented for FTP transfers: E.g, to transfer a large file in (say 10K) chunks. In the case that you

Re: mod_perl and Transfer-Encoding: chunked

2013-07-03 Thread Jim Schueler
: http://tools.ietf.org/html/rfc2616#section-3.6.1 On Wed, Jul 3, 2013 at 11:34 AM, Jim Schueler jschue...@eloquency.com wrote: I played around with chunking recently in the context of media streaming: The client is only requesting a chunk of data.  Chunking is how media players

Re: mod_perl and Transfer-Encoding: chunked

2013-07-03 Thread Jim Schueler
In light of Joe Schaefer's response, I appear to be outgunned. So, if nothing else, can someone please clarify whether de-chunked means re-assembled? -Jim On Wed, 3 Jul 2013, Jim Schueler wrote: Thanks for the prompt response, but this is your question, not mine. I hardly need an RTFM

Re: Apache::DBI connection lost contact error

2013-05-31 Thread Jim Schueler
...@christianbook.com wrote: The db handle is declared local and once it's out of scope, the destroy call will disconnect. But it appears even though variable is out of scope, we still get that error. Don't know why. - xinhuan On 5/30/13 8:31 AM, Jim

Re: Apache::DBI connection lost contact error

2013-05-31 Thread Jim Schueler
a simple program. Can you guys help me with that? Thanks, - xinhuan On 5/31/13 9:02 AM, Jim Schueler jschue...@eloquency.com wrote: Perrin is right. But fundamentally, I'd say that you're confusing 'local' and 'my' variable scoping: http://www.perlmonks.org/?node_id=94007 -Jim On Fri, 31

Apache::DBI

2013-05-31 Thread Jim Schueler
There's an existing thread with an Apache::DBI question. But since I want to post a separate question to this list, I decided to start a new thread. Just got done reading the Man page for Apache::DBI. One of the last notes suggests that this package is obsolete (having been replaced by

Re: Apache::DBI

2013-05-31 Thread Jim Schueler
with a question about Apache::DBI.  It's a common practice to point people here for support on mod_perl modules. What are you getting at?  Is there a module that you're having trouble with and can't get support for? - Perrin On Fri, May 31, 2013 at 10:56 AM, Jim Schueler jschue...@eloquency.com

Re: [OT] Apache::DBI

2013-05-31 Thread Jim Schueler
and working code that lives there. My sincerest thanks to CPAN and all its contributors and maintainers over the years (that includes you of course, Jim). What you have done and are doing is of incredible benefit to many, many programmers worldwide. André Jim Schueler wrote: I still use

Re: [OT] Apache::DBI

2013-05-31 Thread Jim Schueler
not be implemented by the maintainers, but patches for those features are usually readily accepted. On Fri, May 31, 2013 at 10:30 AM, Jim Schueler jschue...@eloquency.com wrote: No apology please. In terms of trying to qualify any of this, a larger statistical pool is better. And I am

Re: Apache::DBI connection lost contact error

2013-05-30 Thread Jim Schueler
Did this solve your problem? -Jim On Wed, 29 May 2013, Perrin Harkins wrote: Hi, Apache::DBI is supposed to skip caching if you connect during startup.  You should just need to disconnect your database handle after you finish with it.  It sounds like you're opening it and then leaving it

Re: Apache::DBI connection lost contact error

2013-05-29 Thread Jim Schueler
A few questions: Precisely when do you get this error? When startup.pl exits or before? Can you send a copy of your startup.pl file? You get exactly the same error on startup and shutdown? If PerlRequire startup.pl is commented out, do you still get errors? Do you get errors when

Re: Segmentation fault on form posting

2013-05-23 Thread Jim Schueler
I also encounter this problem occasionally. So your post is quite familiar. If the first thing you do is print the parameters, what's the second thing? Form posts almost always trigger external processes, databases, mail servers, etc. The external process is more likely to be causing the

Re: Segmentation fault on form posting

2013-05-23 Thread Jim Schueler
Here's the code I mentioned in my last post. It's included in my distro NoSQL::PL2SQL #include EXTERN.h #include perl.h #include XSUB.h #include ppport.h SV* typeis ( SV* what ) ; SV* typeis ( SV* what ) { if ( SvIOK( what ) ) return newSVpvs( integer ) ; else

Re: Download then display page

2013-04-30 Thread Jim Schueler
I believe the following will work (never tried it though): The request should return a 'text/html' type document that displays the instructions. But the response should be a redirect to a URL that returns the spreadsheet instead of a 200 OK. I believe that the body of the original response

RE: Download then display page

2013-04-30 Thread Jim Schueler
-headers_out-set(Location = $redirect); return Apache2::Const::REDIRECT; And the $redirect URL would then do the sending of the file itself? Thanks! -Original Message- From: Jim Schueler [mailto:jschue...@eloquency.com] Sent: Tuesday, April 30, 2013 1:53 PM To: Chris Faust Cc: modperl

RE: Download then display page

2013-04-30 Thread Jim Schueler
To clarify, I meant to say, I only occassionally write handlers. :) -Jim On Tue, 30 Apr 2013, Chris Faust wrote: Thanks Jim, I'm going to give that a try and see if I can get it to work. -Chris -Original Message- From: Jim Schueler [mailto:jschue...@eloquency.com] Sent: Tuesday

highscalability.com report

2012-04-03 Thread Jim Schueler
Hope this doesn't get trapped by too many spam filters. Sad news. Just saw a blog http://www.highscalability.com/ that reports YouPorn.com switched from Perl to PHP. Apparently there's a reported 10% improvement in speed, but I haven't noticed :). After a couple months of total

PHP Question

2012-02-29 Thread Jim Schueler
At least one person in yesterday's discussion wondered if mod_perl might be obsolete given the overwhelming dominance of PHP. I just want to share a few observations. When someone asks me the difference between PHP and Perl. I usually respond that the PHP's core API is bigger by a magnitude

Re: Registry and CGI::Carp

2012-01-27 Thread Jim Schueler
There's no question or anything resembling a request in your email. So my response may waste a lot of time. Is this your original post? http://www.perlmonks.org/?node_id=949773 If so, I might be able to help. Admittedly, I can't follow the thread. The PerlMonds responder refers to a

Re: cms as an apache incubator project?

2012-01-12 Thread Jim Schueler
who could capitalize on the right FOSS project. Justification is always the first step in any undertaking. And I couldn't find it anywhere using your links. Is there anything else you can send along? Thanks again! Sincerely, Jim Schueler

Re: Fw: cms as an apache incubator project?

2012-01-08 Thread Jim Schueler
Hello Joe. I'm definitely interested and I'll take look at the links below. What is your role in this process? How many volunteers are you looking for? Any other response? About how much time is required.? Thanks! Jim Schueler On Mon, 2 Jan 2012, Joe Schaefer wrote: FYI: mod_perl

Re: BerkeleyDB error

2011-01-02 Thread Jim Schueler
I wrote the module Apache::ChildExit specifically to resolve the incompatibility between BerkeleyDB and Apache::Registry http://search.cpan.org/~tqisjim/ChildExit_0-1/ -Jim Subject: Re: BerkeleyDB error From: Perrin Harkins per...@elem.com To: Peram, Sudhakara sudhakara.pe...@pfizer.com

PerlTransHandler

2006-04-25 Thread Jim Schueler
What happened to PerlTransHandler in mod_perl-1.29? Jim Schueler Motor City Interactive