Re: poe.perl.org down?

2009-07-14 Thread David Davis
Have you tried talking HTTP to it? :) It works for me. Could you elaborate on the problem? David Davis ☄ Software Engineer http://xant.us/ http://xantus.tel/ On Tue, Jul 14, 2009 at 14:33, Larry Clapp la...@theclapp.org wrote: I can't get poe.perl.org to talk to me. Anyone know why

Re: Use of POE within a module

2009-04-29 Thread David Davis
I'd look here: http://search.cpan.org/dist/POE/ and Start with POE::Kernel and POE::Session The POD docs are the most recent. Cheers David Davis ☄ Software Engineer http://xant.us/ http://xantus.tel/ On Tue, Apr 28, 2009 at 19:38, howard chen howac...@gmail.com wrote: Hello, On Wed, Apr

Re: Use of POE within a module

2009-04-28 Thread David Davis
Replace 'main' with MyModule and remove MyModule from your function names. You should also read the docs. David Davis ☄ Software Engineer http://xant.us/ http://xantus.tel/ On Tue, Apr 28, 2009 at 10:00, howard chen howac...@gmail.com wrote: Hello, Most example put callback function

Re: Suggestions on which poe DBI module to use

2009-04-27 Thread David Davis
I'd like to take a look at PoCo-EasyDBI-Multiplex. Btw, I'm the EasyDBI author, so you can direct any questions about it to the list. David Davis ☄ Software Engineer http://xant.us/ http://xantus.tel/ On Mon, Apr 27, 2009 at 12:16, Phil Whelan phil...@gmail.com wrote: Hi, I like POE

Re: Is it possible to use POE to develop COMET based web app?

2009-04-02 Thread David Davis
, time, etc HTH David Davis ☄ Software Engineer http://xant.us/ On Wed, Apr 1, 2009 at 20:14, Roy M. setesting...@gmail.com wrote: Hello, Read through the cookbook and found POE is very powerful! However, is it possibe to provide some hints/tutorial on developing COMET based web app

Re: Help with POE::Filter::JSON

2008-10-27 Thread David Davis
Your works for me, if there is a \n at the end of the file. Since you are stacking Line and JSON, you need a line feed at the end. The POE::Filter::JSON author, David Davis ☄ Software Engineer http://xant.us/ On Mon, Oct 27, 2008 at 06:54, Votava, Craig M (Craig) [EMAIL PROTECTED] wrote

Re: POE::XS::Loop::Poll (again)

2008-08-04 Thread David Davis
Look at $poe_kernel-poe_kernel_loop(); David Davis ☄ Software Engineer http://xant.us/ On Mon, Aug 4, 2008 at 08:24, hideo [EMAIL PROTECTED] wrote: Tony Cook (Mon 08/04/08 22:39): In the spirit of POE::XS::Queue::Array, I've released POE::XS::Loop::Poll, an implementation of POE's event

Re: Filter::SSL and filter metadata handling

2008-07-19 Thread David Davis
compatible and the performance penalty is minimal. What does everyone else think? David Davis ☄ Software Engineer http://xant.us/ On Sat, Jul 19, 2008 at 10:38, Martijn van Beers [EMAIL PROTECTED] wrote: Hi, I've been working on a filter to do SSL, inspired by David Davis' try in Sprocket

Re: SSL ?

2008-04-29 Thread David Davis
haven't done any search on this yet. Is there a module that would provide SSL (or some similar) feature that would integrate with POE basic network communications ? Thanks for any suggestions. Al -- David Davis ☄ Software Engineer http://xant.us/

Re: Alternative for Apache ?

2008-01-21 Thread David Davis
my needs. It should have ability to serve Perl/PHP requests. The reason behind my this request is i have some requirements which are not being solved by my existing Apache setup like giving a totally seperate enviornment for dynamic virtual hosts. Pl. reply, Thanks, abhi -- David Davis

Re: Wide Finder

2007-11-03 Thread David Davis
It looks like a competition. He includes lines of code as a metric, which should tell you something... Well, anyway. As Pierre, a commenter, suggested; you could write a script that runs Perl piped with xargs and the -n and -P options. No POE needed, and it would be faster! -- David

Re: Archiving with POE

2007-11-03 Thread David Davis
That filter is for compressing a stream. You should look at using an archive module in combination with POE::Component::Generic HTH Cheers -- David Davis • Software Engineer • [ http://xant.us/ ] On Nov 3, 2007, at 20:09, Jeremy Palmer [EMAIL PROTECTED] wrote: Hi, Does anyone know

Re: Writing an event monitor

2007-08-21 Thread David Davis
Anthony, If no one is going to feed you the info you need, then you need to research the docs yourself. :) Start with POE::Kernel and the POE::Session docs, and have a look at the cookbook on poe.perl.org -- David Davis ☄ Software Engineer On 8/9/07, Anthony R. J. Ball [EMAIL PROTECTED] wrote

Re: POE::Filter error reporting

2007-08-14 Thread David Davis
counts @BinGOs I always have an eye on backwards compatibility. @perigrin to watch it slip away +nperez That is certainly something to consider. LotR's idea is probably better for backwards compat @Leolo backwards compatible with do nothing useful is easy -- David Davis

Re: POE::Kernel patch for propagation of exceptions

2007-07-23 Thread David Davis
) }, }, ) }, parent_exception = sub { pass(parent got exception); $poe_kernel-sig_handled(); }, _stop = sub { exit }, }, ); POE::Kernel-run(); exit; -- David Davis Software Engineer

Re: Catching DIE signal from detached sessions

2007-07-18 Thread David Davis
-- David Davis Software Engineer

Re: Win32 Wheel::Run Issues (Reformated)

2007-06-26 Thread David Davis
.9989 is the most recent version of POE David On 6/25/07, Jeremy Palmer [EMAIL PROTECTED] wrote: Hi Zack, Yes I have a resent version of POE installed from CPAN. Version 0.9917. Thanks Jeremy Zack Payton [EMAIL PROTECTED] 26/06/2007 07:08 Jeremy, I assume you are probably running the

Re: POE Tk excessive CPU usage

2007-05-02 Thread David Davis
POE::Loop::TkActiveState is using select with a timeout of 0. That doesn't look right to me. my $hits = select( my $rout = $loop_vectors[MODE_RD], my $wout = $loop_vectors[MODE_WR], my $eout = $loop_vectors[MODE_EX], 0, ); David On 5/2/07, John R. [EMAIL

Re: Newbie Help: Inter-session data transfer

2007-04-24 Thread David Davis
You may want to look at POE::Component::IKC http://search.cpan.org/~gwyn/POE-Component-IKC-0.1904/IKC.pod HTH Cheers David On 4/24/07, Craig Votava [EMAIL PROTECTED] wrote: Folks- First of all, thanks to everyone involved with POE! I've just been learning about it and am anxious to

Re: POE::Component::Server::HTTP, Keep alive, and leaking sockets

2007-03-24 Thread David Davis
I used 'sudo ngrep port 32080' and watched ls /proc/pid/fd/ while I hit the http server. I noticed that the responses were HTTP/1.0 but I didn't see a connection: close header. So, I set $response-protocol( HTTP/1.1 ); in the cookbook example, and the sockets didn't leak! I think we have a few

Re: confused about POE::Component::Generic

2007-03-04 Thread David Davis
You are missing a result state in your session. add result = \result Cheers David On 3/4/07, Michael Hare [EMAIL PROTECTED] wrote: Does anyone have a concise working example of POE::Component::Generic to base some testing off of? I don't fully understand what needs to be done with the

Re: QUESTION: POE Nomenclature

2007-03-01 Thread David Davis
POE is not threaded, and therefore multiple 'event chains' won't be running simultaneously in a single process. David On 3/1/07, Michael Collins [EMAIL PROTECTED] wrote: i believe 'event chain' would be appropriate On 3/1/07, Michael Collins [EMAIL PROTECTED] wrote: POE Gang, I

Re: POE and XUL

2007-02-23 Thread David Davis
Whoops, forgot to cc the list. David -- Forwarded message -- From: David Davis [EMAIL PROTECTED] Date: Feb 23, 2007 11:00 AM Subject: Re: POE and XUL To: Rutger Vos [EMAIL PROTECTED] The problem with the xul poco is that you can't send data back to the browser unless an action

Re: EasyDBI -- No result, just 'Died' [Was: POE DBI]

2007-02-22 Thread David Davis
, just 'Died' [Was: POE DBI] To: David Davis [EMAIL PROTECTED] I'm not totally sure what you mean by error message... With sub POE::Component::EasyDBI::DEBUG () { 1 } I get the following: $_[ARG0]-{'error'} = 'Died' and POE::Component::EasyDBI got an read error 0 from Subprocess

Re: EasyDBI -- No result, just 'Died' [Was: POE DBI]

2007-02-21 Thread David Davis
Do you have the exact error message handy? None of my code has the word died, so I'm assuming its an error coming from dbi or dbd::odbc David On 2/21/07, Jake Peavy [EMAIL PROTECTED] wrote: On 2/21/07, David Davis [EMAIL PROTECTED] wrote: I'm the author of EasyDBI snip Comments

Re: problems installing POE in linux host

2007-02-20 Thread David Davis
Could you run the test manually and reply with the output? If using CPAN.pm: perl -MCPAN -e shell cpan[4] look POE perl Makefile.PL # prepare ./mylib make # edit the readline test, and change the 0 to 1 in sub DEBUG() { 0 } vim ./t/30_loops/00_base/wheel_readline.pm # then run the test perl

Re: problems installing POE in linux host

2007-02-20 Thread David Davis
code at this point to try to see where the error is. It seems as if the POE module works fine on the host in question although the test has failed. -Michael David Davis wrote: Could you run the test manually and reply with the output? If using CPAN.pm: perl -MCPAN -e shell cpan[4] look POE

Re: POE::Wheel::ReadLine change_prompt

2007-02-06 Thread David Davis
Did $heap-{wheel}-get( prompt: ); not work for you? It's documented. David On 5 Feb 2007 13:35:13 -0800, Paul Miller [EMAIL PROTECTED] wrote: I'm using POE::Wheel::Run successfully and there's a situation where my prompt should change dynamically. I couldn't find a way to do it directly,

Re: when working with files under POE, shouldn't IO::AIO be used?

2006-12-13 Thread David Davis
Here is my working example: http://svn.xantus.org/shortbus/trunk/cometd-perl/lab/aio.pl David On 12/13/06, Rocco Caputo [EMAIL PROTECTED] wrote: Although Marc Lehmann doesn't come out and say so, IO::AIO provides two features that support its use from POE in a couple different ways. It

Re: installation problems of POE 0.35

2006-05-23 Thread David Davis
Gil, I've fixed that test in svn. You can either check out the lastest version or force install POE. David On 5/23/06, Gil Vidals [EMAIL PROTECTED] wrote: My upgrade to POE 0.35 failed. I've installed POE several times and never had a problem before. I install via CPAN's install POE. The

Re: restoring signal handlers

2006-05-22 Thread David Davis
You could move the use POE line above the two use sigtrap lines. David On 22 May 2006 14:07:57 -0700, sbk [EMAIL PROTECTED] wrote: hi, i'm realizing that loading POE replaces my signal handlers is there a way around this? i rather like my signal handlers ... :) they perform useful chores,

Re: POE message not sent or received

2006-02-21 Thread David Davis
Lanas, The alias bambi is on the server component NOT the sessions it spawns for each connection. InlineStates don't apply to the main server session but the child sessions that are created. So your post is going to the server component, not the child session. This makes sense to me. I

Re: Getting POE::Kernel's run() method was never called when using run_one_timeslice

2005-09-05 Thread David Davis
If you call $poe_kernel-run(); without any sessions created yet, then it will return immediately. Call that, then use run_one_timeslice and no warning will be produced. David On 9/5/05, Jay Strauss [EMAIL PROTECTED] wrote: Rocco Caputo wrote: On Sep 5, 2005, at 17:43, Jay Strauss wrote:

Re: How to disconnect the client or when to know that the conversation is complete

2005-08-01 Thread David Davis
You just delete your readwrite wheel after all the data is flushed. David On 8/1/05, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: O.K. And how to disconnect the client if the connection is made through POE::Wheel::SocketFactory.I thik there is no shutdown method there. Pl. reply I shall be

Re: HTTPD meta refresh

2005-04-22 Thread David Davis
, or distribution of this communication, other than by the intended recipient, is strictly prohibited. ** From: David Davis [mailto:[EMAIL PROTECTED] Sent: Thursday, April 14, 2005 1:26 PM To: Bob Faist Cc: poe

Re: HTTPD meta refresh

2005-04-14 Thread David Davis
not use this technique to forward users to different pages, as this makes the page inaccessible to some users. Instead, automatic page forwarding should be done using server-side redirects. - Use a Location: header and a 302 status to redirect the browser. -- David Davis Perl Developer http

Re: Syslog child on Windows

2005-03-31 Thread David Davis
There are quite a few DBI components for POE. You could use one of those. I'm partial to mine, but you should judge for yourself. http://cpan.teknikill.net/?poe*dbi -- David Davis Perl Programmer http://teknikill.net/ $7.95 per month hosting WITH ssh access http://hosting.teknikill.net

Re: anyone using any of the HTTP server components in a heavy use environment?

2005-03-25 Thread David Davis
I'm releasing Apache::Backend::POE today, look for it on CPAN soon. I'll also post the url on the list for those that want it sooner. David On Fri, 25 Mar 2005 19:20:40 +, Matt S Trout [EMAIL PROTECTED] wrote: On Thu, Mar 24, 2005 at 04:30:54PM -0800, David Davis wrote: I can give you

Re: anyone using any of the HTTP server components in a heavy use environment?

2005-03-24 Thread David Davis
to try it out but as always: short on time to actually do it and load-test it. Thanks, Bas. -- David Davis Perl Programmer http://teknikill.net/ Try CPAN Suggest! http://cpan.teknikill.net/

Re: PoCoCl::UA related crash

2005-01-27 Thread David Davis
I suggest reporting this bug: http://rt.cpan.org/NoAuth/ReportBug.html?Queue=POE%3A%3AComponent%3A%3AClient%3A%3AUseragent' -- David Davis Perl Programmer http://teknikill.net/ Try CPAN Suggest! http://cpan.teknikill.net/ On Thu, 27 Jan 2005 13:01:47 -0500, Ed Heil [EMAIL PROTECTED] wrote

Re: POE sessions, clients, confused

2005-01-27 Thread David Davis
Response below. On Thu, 27 Jan 2005 20:15:22 +0100, Bas Schulte [EMAIL PROTECTED] wrote: Hi David, On donderdag, jan 27, 2005, at 00:45 Europe/Amsterdam, David Davis wrote: Can I start a new session in client_input, start a new POE::Wheel::Run from there *in* the ClientInput state

Re: POE sessions, clients, confused

2005-01-26 Thread David Davis
Setup another session to handle wheel run, and use $_[SENDER] to reply back if the client is still connected. -- David Davis Perl Programmer http://teknikill.net/ Try CPAN Suggest! http://cpan.teknikill.net/ On Wed, 26 Jan 2005 19:43:15 +0100, Bas A. Schulte [EMAIL PROTECTED] wrote: Hi all

Re: POE sessions, clients, confused

2005-01-26 Thread David Davis
Response within, On Wed, 26 Jan 2005 22:36:25 +0100, Bas Schulte [EMAIL PROTECTED] wrote: Hi David, On woensdag, jan 26, 2005, at 20:01 Europe/Amsterdam, David Davis wrote: Setup another session to handle wheel run, and use $_[SENDER] to reply back if the client is still connected

Re: New user; some input

2004-12-19 Thread David Davis
. It may not be what you want if you are strickly wanting a curses based program. This is a start with three step back and none forward. I hope my luck gets better. Cheers, Nadim. -- David Davis Perl Programmer http://teknikill.net/

Re: datetime, inter-session alarms

2004-12-03 Thread David Davis
Theres a cool thing about wikis, anyone can add to it. David On Fri, 03 Dec 2004 15:55:09 -0500 (EST), [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: On 03-Dec-2004 Rocco Caputo wrote: On Thu, Dec 02, 2004 at 05:35:40PM -0800, Ofer Nave wrote: 2) Reading over the POE::Kernel docs, I

Re: FollowTail and seeking around

2004-10-18 Thread David Davis
You could do a tell() on the wheels' file handle which is located at $wheel-[POE::Wheel::FollowTail::SELF_HANDLE] or $wheel-[0] for short. David On Mon, 18 Oct 2004 13:48:44 +0200, Thomas Nagel [EMAIL PROTECTED] wrote: Hi, after playing around with POE::Wheel::FollowTail I wonder how to get

Re: POE::Component::Client::HTTP streaming

2004-10-03 Thread David Davis
. I'm xantus on irc.perl.org in #poe. -- David Davis Perl Programmer http://teknikill.net/ On 3 Oct 2004 18:55:58 -, PerlDiscuss - Perl Newsgroups and mailing lists [EMAIL PROTECTED] wrote: Hello, I am working on creating a proxy server based off the example given on the poe.perl.org

Re: [Fwd: Re: [PATCH] sslpoe-sanity-patch]

2004-08-23 Thread David Davis
, and we can compare notes I'll be in #poe as xantus. -- David Davis Perl Programmer http://teknikill.net/ On Sat, 21 Aug 2004 23:03:52 -0500, Nick Perez [EMAIL PROTECTED] wrote: Oops. Reply went to Rocco but not the list: here it is. -- Nick -- Forwarded message

Re: New PoCo Guidelines

2004-08-13 Thread David Davis
I like POEx also. Philip: If you wanted to get a postback for a certain session/event you could do: ZipEvent = $kernel-ID_id_to_session($session_id)-postback('zip_event',@event_args), pretty ugly and would cause an error for a session that didn't exist I would like to suggest we use

Re: Using POE::Wheel::SocketFactory

2004-02-10 Thread David Davis
Message --- From: Jay Strauss [EMAIL PROTECTED] To: David Davis [EMAIL PROTECTED] Sent: Tue, 10 Feb 2004 20:40:12 -0600 Subject: Re: Using POE::Wheel::SocketFactory There isn't one, I had to dissect the vendor supplied java client to determine the messages. The way the conversation goes

Re: Eksemple on http post instead of http get.

2004-02-05 Thread David Davis
] To: David Davis [EMAIL PROTECTED] Sent: Thu, 5 Feb 2004 07:43:07 +0100 Subject: Re: Eksemple on http post instead of http get. Hi David... Thanks for you example , it helped me very much , and hopefully also others. I have one more questions. How do i one more variable to $kernel