Re: [Catalyst] Paging thru a complex POSTed search -- HOWTO?

2010-06-03 Thread Oleg Pronin
i forgot form method=POST 2010/6/3 Oleg Pronin syber@gmail.com: form id=myform  input type=hidden name=... value=.../  ... any number of params  input type=hidden name=page value=[%page%]/  ...  a href=# onclick=$('#myform input[name=page]').val(2); $('#myform').submit()    Page 2

Re: [Catalyst] Paging thru a complex POSTed search -- HOWTO?

2010-06-03 Thread Oleg Pronin
form id=myform input type=hidden name=... value=.../ ... any number of params input type=hidden name=page value=[%page%]/ ... a href=# onclick=$('#myform input[name=page]').val(2); $('#myform').submit() Page 2 /a /form 2010/6/2 w...@serensoft.com w...@serensoft.com: Short

Re: [Catalyst] Alternatives to Catalyst ?

2010-04-29 Thread Oleg Pronin
1) param is called often several times (in auto/end etc) 2) The question is not about params, but about accessors speed at all. If all acessors were XSAccessor for example (catalyst makes a lot of calls -stack/action/dispatcher , etc internally during request), then your overall speed would be

Re: [Catalyst] Alternatives to Catalyst ?

2010-04-27 Thread Oleg Pronin
2010/4/27 J. Shirley jshir...@gmail.com: On Mon, Apr 26, 2010 at 1:51 PM, Zbigniew Lukasiak zzb...@gmail.com wrote: On Mon, Apr 26, 2010 at 1:26 PM, Ben van Staveren benvanstave...@gmail.com wrote: Because if you are working with, say, 10 people on a team, and you will have everyone merrily

Re: [Catalyst] Alternatives to Catalyst ?

2010-04-23 Thread Oleg Pronin
. Shirley jshir...@gmail.com: On Wed, Apr 21, 2010 at 9:30 AM, Oleg Pronin syber@gmail.com wrote: This was the last shot for me at dealing with catalyst. Catalyst is very perfomance-optimized system and it never stops me wondering    timethese(-1, {        sep = sub { $req-param('lang

Re: [Catalyst] Alternatives to Catalyst ?

2010-04-23 Thread Oleg Pronin
Perfomance optimization are unavailable for you because only people like you write such mega slow fuckin code. goodbye 2010/4/23 J. Shirley jshir...@gmail.com: On Fri, Apr 23, 2010 at 4:36 AM, Oleg Pronin syber@gmail.com wrote: Can you hear the difference between 3mln/s and 24k/s ? I do

Re: [Catalyst] I'm getting wrong uri_for

2009-10-13 Thread Oleg Pronin
is a Moose-based class. :-) 2009/10/12 Joel Bernstein j...@fysh.org: 2009/10/12 Oleg Pronin syber@gmail.com: sorry for disturbing you guys, that was fully my issue :-) But what was it? Your explanation offline script made no sense. If you explain then the next person who makes the same

Re: [Catalyst] Catalyst benchmark 5.7 vs 5.8 - new test

2009-09-29 Thread Oleg Pronin
5.8 !!TWICE!! slower at startup than 5.7 under any perl version. This is annoying because i have 100 models and i do not want to wait 10 secs while it is starting in debug. 2009/9/29 Tomas Doran bobtf...@bobtfish.net: Toby Corkindale wrote: It's interesting to note the headline figures have

Re: [Catalyst] Catalyst benchmark 5.7 vs 5.8 - new test

2009-09-29 Thread Oleg Pronin
i meant 100 resultsources+controllers :-) not models 2009/9/30 Tomas Doran bobtf...@bobtfish.net: On 29 Sep 2009, at 22:12, Oleg Pronin wrote: 5.8  !!TWICE!! slower at startup than 5.7 under any perl version. This is annoying because i have 100 models and i do not want to wait 10 secs while

Re: [Catalyst] Authorization Failure

2009-05-08 Thread Oleg Pronin
2009/5/8 Tomas Doran bobtf...@bobtfish.net Oleg Pronin wrote: I've got problem with new Authentication too. It is said that one can pass login password to authenticate call. But it somewhy no longer authenticates that way (in case of Credential::HTTP) Credential::HTTP doesn't work like

Re: [Catalyst] Authorization Failure

2009-05-08 Thread Oleg Pronin
2009/5/8 Tomas Doran bobtf...@bobtfish.net Oleg Pronin wrote: Not really :-) While in request, browser header is ok, but the task is to be able to authenticate in offline scripts as well - because the controllers and etc read logged in user from $c-user. Currently we use workaround - fake

Re: [Catalyst] Authorization Failure

2009-05-08 Thread Oleg Pronin
...@bobtfish.net Oleg Pronin wrote: Not really :-) While in request, browser header is ok, but the task is to be able to authenticate in offline scripts as well - because the controllers and etc read logged in user from $c-user. Currently we use workaround - fake $c object + setup $c-request-header

[Catalyst] My application is broken after upgrading to 5.80003. Please Help.

2009-05-07 Thread Oleg Pronin
The problem is that on creation of MyApp object in Catalyst::prepare, i get MyApp object merged with (!!!) my config. MyApp-new does ok until this line of code Catalyst::CODE(0x80d2d81f8)(/usr/local/lib/perl5/site_perl/5.10.0/Catalyst.pm:1110): 1110:

Re: [Catalyst] Authorization Failure

2009-05-07 Thread Oleg Pronin
I've got problem with new Authentication too. It is said that one can pass login password to authenticate call. But it somewhy no longer authenticates that way (in case of Credential::HTTP) 2009/5/7 Ascii King t...@swattermatter.com the authorization component of my application no longer works

[Catalyst] New config plugin (MultiState)

2009-03-02 Thread Oleg Pronin
Greetings! This post can be intresting for those who ever wanted to make theirs configs more flexible / more supportable. Through 1.5 year evolution of my config plugin i ended up with ConfigLoader::MultiState. Now it is extracted from our company's framework and moved to CPAN as

Re: [Catalyst] Maybe there is a need for some speedups of 'config' method ?

2009-02-22 Thread Oleg Pronin
*we should now - we should not :-) 2009/2/22 Oleg Pronin syber@gmail.com 1% here and 1% there. You won't detect any place that takes longer. All of load is 1%+1%+ Don't you agree ? Plus a number of plugins calls -config on startup which slow downs startup as well) P.S. I use

Re: [Catalyst] Maybe there is a need for some speedups of 'config' method ?

2009-02-22 Thread Oleg Pronin
on HUP. 2009/2/22 Jonathan Rockway j...@jrock.us * On Sat, Feb 21 2009, Oleg Pronin wrote: I use Catalyst in extremely loaded projects (currently 60.000.000 pageloads / day). Thereforce i'm perfomance paranoid man. One of 'black stones' is the -config method. It has dramatically slow

[Catalyst] Maybe there is a need for some speedups of 'config' method ?

2009-02-21 Thread Oleg Pronin
Hello. Catalyst is the best MVC ever. Thanks for doing your work guys! I use Catalyst in extremely loaded projects (currently 60.000.000 pageloads / day). Thereforce i'm perfomance paranoid man. One of 'black stones' is the -config method. It has dramatically slow perfomance at config_method: 1

[Catalyst] how do i truss an catalyst FCGI worker process?

2008-10-29 Thread Oleg Pronin
Hi. I need to inspect my fcgi process, so i tried to do truss -p fcgi_worker_pid But fcgi process immediately exits when truss just starts. Does anyone know why does it happen and how to get it to work? Please anybody, try to do truss -p fcgi_worker_pid on standalone (not in apache) fcgi

Re: [Catalyst] Catalyst and Perl on Google App Engine

2008-06-29 Thread Oleg Pronin
everything in other languages sucks compared to catalyst DBIC. what is the goal to adapt more powerful system to less powerful? 2008/6/29 Stephen Adkins [EMAIL PROTECTED]: Hi, We have been promoting the idea of a community project to get Perl supported on Google App Engine. *

Re: [Catalyst] Graceful handling of database failure

2008-06-20 Thread Oleg Pronin
I use it for 3 years. It might be used in production i think. About 5 minutes: there are a set of attributes (ReconnectRetries, ReconnectTimeout, etc) - you can manipulate how long it will reconnect. 2008/6/20 Mitch Jackson [EMAIL PROTECTED]: You can use DBIx::Class with

Re: [Catalyst] CatalystSites.org

2008-04-12 Thread Oleg Pronin
/tag/name/name /tag/id/id NOT name ! - transcription, because tag names might be in different languages. 2008/4/12, Christopher H. Laco [EMAIL PROTECTED]: Ashley wrote: On Apr 11, 2008, at 1:10 PM, Stephen Sykes wrote: Ashley wrote: On Apr 11, 2008, at 11:55 AM, Stephen

[Catalyst] Re: STDERR noise on Perl 5.10

2008-04-11 Thread Oleg Pronin
Catalyst (C3 NEXT) noise STDERR on perl 5.10. What should i do to shut them up? Useless localization of subroutine entry at /usr/local/lib/perl5/site_perl/5.10.0/Catalyst/Action.pm line 41. Subroutine initialize redefined at /usr/local/lib/perl5/site_perl/5.10.0/Class/C3.pm line 70. Subroutine

[Catalyst] Re: STDERR noise on Perl 5.10

2008-04-11 Thread Oleg Pronin
I mean, could you please shut them up? ___ List: Catalyst@lists.scsys.co.uk Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/ Dev site:

Re: [Catalyst] CatalystSites.org

2008-04-06 Thread Oleg Pronin
Cause for now i see URLs like *URL:* http://test.bytabok.com :) 2008/4/6, Oleg Pronin [EMAIL PROTECTED]: It would be good to sort sites basing on alexa.com's popularity rating. The best sites will be on top ! :) 2008/4/6, Stephen Sykes [EMAIL PROTECTED]: Markus Holzer wrote: Hi

Re: [Catalyst] CatalystSites.org

2008-04-06 Thread Oleg Pronin
It would be good to sort sites basing on alexa.com's popularity rating. The best sites will be on top ! :) 2008/4/6, Stephen Sykes [EMAIL PROTECTED]: Markus Holzer wrote: Hi Stephen. Well, today I would like to announce the site launch. The site looks nice, but I find it a little

Re: [Catalyst] CatalystSites.org

2008-04-06 Thread Oleg Pronin
5 ballov : 2008/4/6, Marcus Ramberg [EMAIL PROTECTED]: ty chego raspizdelsia po-russki, suka? :D Marcus On 2. april. 2008, at 19.17, Oleg Pronin wrote: ti che raspizdilsya po-nemetski, suka ? 2008/4/2, Ulf Lenski [EMAIL PROTECTED]: Hallo Ulrich, ich habe, dein

Re: [Catalyst] CatalystSites.org

2008-04-06 Thread Oleg Pronin
So what about: It would be good to sort sites basing on alexa.com's popularity rating. The best sites will be on top ! :) 2008/4/6, Oleg Pronin [EMAIL PROTECTED]: It would be good to sort sites basing on alexa.com's popularity rating. The best sites will be on top ! :) 2008/4/6, Stephen

Re: [Catalyst] CatalystSites.org

2008-04-06 Thread Oleg Pronin
if this preview will be on 261 page. 2008/4/7, Oleg Pronin [EMAIL PROTECTED]: It's definitely better than sites that are on top currently :) Especially first :) Also i meant 'most popular sites', not 'best sites', sorry :) What are all of these need for ? The CS site is not only site for catalyst

Re: [Catalyst] CatalystSites.org

2008-04-02 Thread Oleg Pronin
ti che raspizdilsya po-nemetski, suka ? 2008/4/2, Ulf Lenski [EMAIL PROTECTED]: Hallo Ulrich, ich habe, dein Einverständnis vorausgesetzt, unsere pspf-app mal auf der unten genannten Seite veröffentlicht. http://drs.dife.de/ könnte dort doch auch gelistet werden? Wollen wir uns bei

Re: [Catalyst] Re: CatalystSites.org

2008-04-02 Thread Oleg Pronin
eehh... russian phrase was 'wtf are u speakin German?' (censored, cant be translated exactly) :))) 2008/4/3, Stephen Sykes [EMAIL PROTECTED]: Pagaltzis wrote: * Jonathan Rockway [EMAIL PROTECTED] [2008-04-02 20:55]: * On Wed, Apr 02 2008, Oleg Pronin wrote: 2008/4/2, Ulf

Re: [Catalyst] CatalystSites.org

2008-04-02 Thread Oleg Pronin
I posted 'games.rambler.ru' a week ago. Why didnt you add it? :) 2008/3/27, Stephen Sykes [EMAIL PROTECTED]: Hello Friends, For the past few days I have been putting together a site for listings of websites driven by the Catalyst MVC framework. The site idea was born out of a discussion on

Re: [Catalyst] Meios

2008-03-31 Thread Oleg Pronin
this new design at which point I will start using it. Thanks, Mojo Oleg Pronin wrote: I'm developing a full-featured dynamic admin interface for catalyst (at my leasure time). It is fully a plugin. It does not store images in database (it is not possible for high-loaded sites). 2008/3

Re: [Catalyst] Meios

2008-03-30 Thread Oleg Pronin
That is very possible 2008/3/29, Mojo Nichols [EMAIL PROTECTED]: Hi Christopher, I'm wondering what the status of Meios is. I have found an svn version on handleframework.org and one other server, but the do not work for me out of the box even after all dependencies are set up. I believe

Re: [Catalyst] Meios

2008-03-30 Thread Oleg Pronin
that far... Mojo Oleg Pronin wrote: That is very possible 2008/3/29, Mojo Nichols [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]: Hi Christopher, I'm wondering what the status of Meios is. I have found an svn version on handleframework.org http

Re: [Catalyst] hostname

2008-01-08 Thread Oleg Pronin
If you mean to get hostname in offline mode (off the processing request) - the hostname is not known because there are no request. You can get the server's real hostname by Sys::Hostname::hostname() but this probably won't help. 2008/1/9, Octavian Rasnita [EMAIL PROTECTED]: Hi, Is it possible

Re: [Catalyst] CPAN install without test? [ot]

2008-01-05 Thread Oleg Pronin
notest install Module 2008/1/6, Martin Ellison [EMAIL PROTECTED]: Does anyone know how to get CPAN to install a module without doing the test steps at all? Force install still does the test steps; I just want to go to the actual make install. Slightly off topic, but if anyone knows how to

Re: [Catalyst] More unicode problems (uri_for)

2007-12-24 Thread Oleg Pronin
It seems your problem is that your string Check my å is not in perl's internal format (uri_for expects it). Just UTF-8 octets. Always use utf-8 flagged strings inside your application. for example, this should work: The following code: $c-redirect( $c-uri_for( '/login', {error_msg =

Re: [Catalyst] Preventing Catalyst from loading a Controller pm module

2007-10-31 Thread Oleg Pronin
I put these things into MyApp::SAME_AS_CATALYST_BASE_CLASSES, i.e: MyApp::Catalyst::Controller MyApp::Catalyst::View::TT etc. It's clean and nice :) ___ List: Catalyst@lists.scsys.co.uk Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst

Re: [Catalyst] uri_for and Chained actions

2007-10-12 Thread Oleg Pronin
place. 2007/10/12, Matt S Trout [EMAIL PROTECTED]: On Thu, Oct 11, 2007 at 02:51:31AM +0400, Oleg Pronin wrote: If your project is heavy loaded then i think the best way is to write: form action=/myapp/[%object.id%]/update or (easy to change): form action=[%object.update_url

Re: [Catalyst] uri_for and Chained actions

2007-10-10 Thread Oleg Pronin
If your project is heavy loaded then i think the best way is to write: form action=/myapp/[%object.id%]/update or (easy to change): form action=[%object.update_url%] in Object: sub update_url {'/myapp/'.shift-id.'/update} because Catalyst.uri_for() still takes to much CPU to call it a hundred