AW: Q: add and remove wheels dynamically

2012-07-22 Thread Alex
ActiveState Perl and it's Tk. If you are using another Tk, I think you have to adjust this line: use POE qw( Loop::TkActiveState Wheel::FollowTail ); I don't know exactly how, I think you can simply omit the Loop::TkActiveState. Best regards, Alex [code] #!perl =head1 NAME apacheLogParser_tk.pl

Q: add and remove wheels dynamically

2012-06-12 Thread Alex
loop has started doesn't work. Why? What is the proper way of saying: hey Perl, stop following that file and hey Perl, start following this file while the POE event loop is running? Best regards, Alex

Re: Continuous packet capture

2009-03-15 Thread Alex _
would be needed to make sure that the enque task would not drop any packets. ___ Alex _ Fri, 13 Mar 2009 15:49:37 -0700 heres an example of producer/consumer with wheel::run http://poe.perl.org/?POE_Cookbook/Child_Processes_3

Re: Continuous packet capture

2009-03-13 Thread Alex _
heres an example of producer/consumer with wheel::run http://poe.perl.org/?POE_Cookbook/Child_Processes_3 From: Jonathan S. Polacheck jpola...@texasmutual.com To: poe@perl.org Sent: Friday, March 13, 2009 1:13:55 PM Subject: Re: Continuous packet capture

Re: Help with POE::Filter::JSON

2008-10-27 Thread Alex _
are you doing filter-get() anywhere to do the conversion? - Original Message From: Votava, Craig M (Craig) [EMAIL PROTECTED] To: POE Mailing List poe@perl.org Sent: Monday, October 27, 2008 8:54:28 AM Subject: Help with POE::Filter::JSON Folks- I'm trying to learn how to use

Re: Newbie question about sessions

2008-10-07 Thread Alex _
try this order ...   POE::Kernel-post ('worker' = 'random'); POE::Kernel-run(); --- On Tue, 10/7/08, Artem Harutyunyan [EMAIL PROTECTED] wrote: From: Artem Harutyunyan [EMAIL PROTECTED] Subject: Newbie question about sessions To: poe@perl.org Date: Tuesday, October 7, 2008, 10:06 AM Hi, I am

Re: Newbie question about sessions

2008-10-07 Thread Alex _
Date: Tuesday, October 7, 2008, 10:35 AM Hi Alex, POE::Kernel-post ('worker' = 'random'); POE::Kernel-run(); Yes, that works. However this doesn't solve my problem. I want session to stay alive and wait for (possible) future events. (I will need that when I will use my class inside a server

Re: Prioritizing Event Loops

2008-01-18 Thread Alex _
even if you have multiple sessions. doesnt poe itself run single threaded? would you need multiple poe kernels running? Martijn van Beers [EMAIL PROTECTED] wrote: Yes, having a different session for getting the data and the ui is almost certainly a good idea. I'm not sure what you mean by ptk's

Re: Advice on POE and Daemons

2007-12-09 Thread Alex _
you can run them as non-daemons using this. http://www.plope.com/software/supervisor2/ ty [EMAIL PROTECTED] wrote: I was looking to turn some of the servers I have written in POE into daemons that would be run as non-root users because I do not have root permissions on the machine they will

How to make merged variable for 2 packeges ?

2005-05-06 Thread Alex
How to make merged variable for 2 packeges ? For example I have 2 packages(POE::Component::My::One, POE::Component::My::Two), then i sent from One: __ package POE::Component::My::One __ POE::Component::My::Two-spawn ( V = $heap-{V},

Re: LaDBI multiple connections problem

2005-05-04 Thread Alex
I think that i`m doing something wrong. Every time i made new session, after 200 postgres connections limit it`s impossible to make new sessions. I need to make 200 sessions and use it all the time, but don`t know how... --- Professional hosting for everyone - http://www.host.ru

Re: SimpleDBI - the same...;(

2005-05-04 Thread Alex
As an example i`ve got Randal Schwartz`s code (http://www.stonehenge.com/merlyn/LinuxMag/col41.listing.txt). So, we need to extract links AND save it to DBI. --- Professional hosting for everyone - http://www.host.ru

How to make as much childs as possible, but not more than 50% of CPU

2005-05-03 Thread Alex
How to make as much childs as possible, but not more than (for example 50%) of CPU. thanks --- Professional hosting for everyone - http://www.host.ru

Re: How to make as much childs as possible, but not more than 50% of CPU

2005-05-03 Thread Alex
How to make as much childs as possible, but not more than (for example 50%) of CPU. I don't know. How does one portably determine their machine's idle CPU percent? Can you suggest how much sessions can i use ?(KIDMAX) system: - Dual Intel Xeon 2.4 Ghz processors - 1 GB Registered ECC PC2100

problem with tests and uploadreport:

2004-12-10 Thread Alex J. Avriette
/lib/POE/Queue.pm cp lib/POE/Resource/Signals.pm blib/lib/POE/Resource/Signals.pm cp lib/POE/Wheel.pm blib/lib/POE/Wheel.pm make[1]: Entering directory `/usr/people/alex/mysvn/svn/trunk/tools/POE-0.3003/File-Spec-0.90' make[2]: Entering directory `/usr/people/alex/mysvn/svn/trunk/tools/POE-0.3003

Re: Any objections to my writing a book about POE?

2004-03-17 Thread Alex J. Avriette
, it is rumored that there will be a chapter on poe programming in the new edition of Advanced Perl Programming. Alex -- [EMAIL PROTECTED] Alex J. Avriette, Unix Systems Gladiator Golf is a good walk, spoiled. - Mark Twain

Re: Preventing connections with POE::Component::Server::TCP

2004-03-06 Thread Alex J. Avriette
connection to the quote server went away. At that point, you could just set a delay to poll for when it comes back, and reinstantiate your wheels. alex -- [EMAIL PROTECTED] Alex J. Avriette, Microsoft Certified Power User Give a homeless hax0r a home today! Run Debian!

POE hackers in Vienna/local to Vienna

2004-02-24 Thread Alex J. Avriette
Thomas Klausner has expressed an interest in a POE talk at the Vienna perl workshop, coming up March 20-22. Details are at http://vienna.pm.org/workshop.html. There's still plenty of time to submit papers or set up a talk with Thomas. He can be reached at [EMAIL PROTECTED] Alex -- [EMAIL

Re: POE hackers in Vienna/local to Vienna

2004-02-24 Thread Alex J. Avriette
? I figured that the usual attendees of an event in austria would read german. Alex -- [EMAIL PROTECTED] Alex J. Avriette, Unix Systems Gladiator v shpxvat ungr jvaqbjf naq v ubcr ovyy tngrf oheaf va uryy. - Ronald O. Thompson, 13

Re: Deprecate $_[KERNEL]?

2004-02-22 Thread Alex J. Avriette
consistent, et cetera. Now is really not the time to be placating people with complaints about semantics. This idea squicks me out, but I figured I should mention it. This whole thread squicks me out already. :( alex -- [EMAIL PROTECTED] Alex J. Avriette, Microsoft Certified Power User Give

location of _start

2002-12-12 Thread alex avriette
it be looking for a _start in utility:: since poe_initialize() is actually there? it seems that after it is passed a proper _start sub, that it should understand whether it is prefaced with packagename:: or whatever, rather than assuming it starts with ^_. am i making sense here? alex

Re: location of _start

2002-12-12 Thread alex avriette
Whoops, disregard previous. It is fixed -- i was using new( 'main' = [ ... rather than new( 'utility' = [ ... . Just been looking at this too long. Alex

Re: POE::Component::Server::IRC (and PoCo::FTP and other goodies)

2002-01-24 Thread alex j avriette
/~alex/perlcode/perlserver/perlserver.pl.txt is the code for the server, and its now available. I could *swear* I previously sent this code to the list, but it was in that transitory period between two servers, so it may have never gotten out at all. so the modules necessary for the server