[Catalyst] Alternatives to Catalyst ?

2010-04-21 Thread Oleg Pronin
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') }, all => sub { $req->params->{lang} }, par => sub { $req->parameters->{lang} },

[Catalyst] Re: Alternatives to Catalyst ?

2010-04-21 Thread Oleg Pronin
Remembered one more thing. DBIC's $schema->resultset('RSNAME') is just a superstar! Spending 800.000 CPU ticks at doing NOTHING. ingeniously 2010/4/21 Oleg Pronin : > This was the last shot for me at "dealing" with catalyst. > Catalyst is very perfomance-opti

Re: [Catalyst] Alternatives to Catalyst ?

2010-04-23 Thread Oleg Pronin
post, i'm just a little nervious :( 2010/4/21 J. Shirley : > On Wed, Apr 21, 2010 at 9:30 AM, Oleg Pronin wrote: >> This was the last shot for me at "dealing" with catalyst. >> Catalyst is very perfomance-optimized system and it never stops me wondering >> >

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 : > On Fri, Apr 23, 2010 at 4:36 AM, Oleg Pronin wrote: >> Can you hear the difference between 3mln/s and 24k/s ? >> >> I do not say

Re: [Catalyst] Alternatives to Catalyst ?

2010-04-27 Thread Oleg Pronin
2010/4/27 J. Shirley : > On Mon, Apr 26, 2010 at 1:51 PM, Zbigniew Lukasiak wrote: >> On Mon, Apr 26, 2010 at 1:26 PM, Ben van Staveren >> wrote: >>> >>> Because if you are working with, say, 10 people on a team, and you will have >>> everyone merrily doing direct hash accesses, sooner or later,

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 600

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

2010-06-03 Thread Oleg Pronin
i forgot 2010/6/3 Oleg Pronin : > >   >  ... any number of params >   >  ... > >   >    Page 2 >   > > > > 2010/6/2 w...@serensoft.com : >> Short version: >> Using [% c.req.uri_with({ page => pager.next_page }) %] is fine for a simple >

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

2010-06-03 Thread Oleg Pronin
... any number of params ... Page 2 2010/6/2 w...@serensoft.com : > Short version: > Using [% c.req.uri_with({ page => pager.next_page }) %] is fine for a simple > single-field search (where the form uses GET instead of POST)... but how do > we PAGE through (and/or cache) a

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 b

Re: [Catalyst] Meios

2008-03-30 Thread Oleg Pronin
s that will benefit from this. > > Thanks I'll ping again if I get that far... > > Mojo > > > > Oleg Pronin wrote: > > That is very possible > > > > 2008/3/29, Mojo Nichols <[EMAIL PROTECTED] > > > <mailto:[EMAIL PROTECTED]>>: &g

Re: [Catalyst] Meios

2008-03-31 Thread Oleg Pronin
body($photo->first->preview); > } > } > > At this point I'm tempted to just start using and not finish the work on > Meios;-), but I will plug away tonight and see if I can get Meios tested > and working using this new design at which point I will start using it. >

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]: > > > &g

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 discuss

Re: [Catalyst] Meios

2008-04-03 Thread Oleg Pronin
> > > On Mon, Mar 31, 2008 at 9:58 AM, Oleg Pronin <[EMAIL PROTECTED]> wrote: > > It automatically scans you models, and build an admin-interface where > you > > can edit any data according to your models (data type, etc), search > data, > > etc. It is not a g

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 PROTE

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 fi

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 <

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

Re: [Catalyst] CatalystSites.org

2008-04-06 Thread Oleg Pronin
tive for the whole > net, as they only get data from people who use the alexa toolbar. Also, I'm > not sure if most-used == best :) > > Marcus > > On 6. april. 2008, at 19.00, Oleg Pronin wrote: > > > So what about: > > It would be good to sort sites basing on alexa.

Re: [Catalyst] CatalystSites.org

2008-04-06 Thread Oleg Pronin
at 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 a

[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: http://dev.catalyst.perl

Re: [Catalyst] CatalystSites.org

2008-04-12 Thread Oleg Pronin
>>/tag/name/ >>/tag/id/ NOT ! - , 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 Sykes

Re: [Catalyst] Unkown error

2008-06-19 Thread Oleg Pronin
This is just a "error somewhere". In 5.10 some of standart perl runtime exceptions might cause this "Unknown error". You just have to find the error manually and fix it. 2008/6/19 dab <[EMAIL PROTECTED]>: > hi, > > I use Catalyst 5.7014 and Perl 5.10 and i dont understand why I have > this type o

Re: [Catalyst] Graceful handling of database failure

2008-06-19 Thread Oleg Pronin
You can use DBIx::Class with DBIx::RetryOverDisconnects as DBI handle and you will never got db server away message (it will reconnect as long as required until database is up and no queries and transactions will be lost). 2008/6/18 Mitchell K. Jackson <[EMAIL PROTECTED]>: > Good afternoon, > > I

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 DBIx::RetryOverDisc

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. > > * ht

Re: [Catalyst] connecting to more than one database

2008-07-03 Thread Oleg Pronin
How do you imagine yourself a request with join beetween 2 tables in different databases? This is the reason you can't make relationships between different schemas. 2008/7/3 jagdish eashwar <[EMAIL PROTECTED]>: > I am working on two Catalyst applications and had earlier set up separate > Mysql da

Re: [Catalyst] connecting to more than one database

2008-07-03 Thread Oleg Pronin
o replicate the employee details for each of the web applications in the > respective databases. > > jagdish > > On Thu, Jul 3, 2008 at 6:10 PM, Marcello Romani <[EMAIL PROTECTED]> > wrote: > >> Oleg Pronin ha scritto: >> >>> How do you imagine yourse

[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 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 on standalone (not in apache) fcgi catalyst server. Thanks. _

Re: [Catalyst] [Announce] Catalyst-Runtime 5.8000_04 shipped to CPAN

2008-12-16 Thread Oleg Pronin
5.8 brakes Catalyst::Authentication::Credential::Password? Can't use string ("MyApp") as a HASH ref while "strict refs" in use at (eval 340)[/usr/local/lib/perl5/site_perl/5.10.0/Moose/Meta/Method/Accessor.pm:35] line 13. at (eval 340)[/usr/local/lib/perl5/site_perl/5.10.0/Moose/Meta/Method/Acces

[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

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 > 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) >

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

2009-02-22 Thread Oleg Pronin
to do is to refresh config on HUP. 2009/2/22 Jonathan Rockway > * 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 'bla

[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 Catalyst::Plugin

[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: $meta->make_immutable(replace_const

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 > the authorization component of my application no longer works properly. Did > some

Re: [Catalyst] Authorization Failure

2009-05-08 Thread Oleg Pronin
2009/5/8 Tomas Doran > 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) >> >

Re: [Catalyst] Authorization Failure

2009-05-08 Thread Oleg Pronin
2009/5/8 Tomas Doran > 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 w

Re: [Catalyst] Authorization Failure

2009-05-08 Thread Oleg Pronin
course). But in TCP stream we send for example "/chess/action/make_move {JSON_DATA}" I do not see any differences between HTTP requests and request to the daemon. Just protocols are differ. Catalyst and controllers are the same. Catalyst imho is _not only web_ framework. 2009/5/8 Tomas Dora

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 : > Toby Corkindale wrote: >> >> It's interesting to note the headline figures have 5.71 performing 31

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 : > > 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 1

[Catalyst] I'm getting wrong uri_for

2009-10-12 Thread Oleg Pronin
Hello. I upgraded to Catalyst 5.8 (5.80013) and i've got problem with uri_for. It warns Explicit blessing to '' (assuming package main) at /usr/local/lib/perl5/site_perl/5.10.1/Catalyst.pm line 1281. Becase $c->req->base is empty. I'm not using custom Request object. Any idea what is the reason

Re: [Catalyst] I'm getting wrong uri_for

2009-10-12 Thread Oleg Pronin
Holy shit! i'm an asshole. That template was rendered in offline script :-) Strange... how did that work on Catalyst 5.7 ?:-) 2009/10/12 Tomas Doran : > Oleg Pronin wrote: >> >> Hello. I upgraded to Catalyst 5.8 (5.80013) and i've got problem with >> uri_

Re: [Catalyst] I'm getting wrong uri_for

2009-10-12 Thread Oleg Pronin
sorry for disturbing you guys, that was fully my issue :-) 2009/10/12 Tomas Doran : > Oleg Pronin wrote: >> >> Holy shit! i'm an asshole. That template was rendered in offline >> script :-) Strange... how did that work on Catalyst 5.7 ?    :-)

Re: [Catalyst] I'm getting wrong uri_for

2009-10-13 Thread Oleg Pronin
cause Request is a Moose-based class. :-) 2009/10/12 Joel Bernstein : > 2009/10/12 Oleg Pronin : >> 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

[Catalyst] Re: setup_home bug (with fix): wrong detection of home directory

2007-10-08 Thread Oleg Pronin
hello? 2007/9/28, Oleg Pronin <[EMAIL PROTECTED]>: > > Hello. > > I put the service script into > APP_HOME/script/service/online_users.plx > > In the script: > > use FindBin; > use lib "$FindBin::Bin/../../lib"; > use MyApp; > > print

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: or (easy to change): in Object: sub update_url {'/myapp/'.shift->id.'/update} because Catalyst.uri_for() still takes to much CPU to call it a hundred times per page. 2007/10/10, Cédric Bouvier <[EMAIL PROTECTED]>: > > Hello

Re: [Catalyst] uri_for and Chained actions

2007-10-12 Thread Oleg Pronin
007 at 02:51:31AM +0400, Oleg Pronin wrote: > > If your project is heavy loaded then i think the best way is to write: > > > > or (easy to change): > > > > in Object: > > sub update_url {'/myapp/'.shift->id.'/update} > > > > becaus

Re: [Catalyst] uri_for and Chained actions

2007-10-16 Thread Oleg Pronin
another problem is a lot of internet traffic for transferring absolute urls. I think uri_for should delete "http://domain"; from target url if requested host and target host (and protocols) are the same. ___ List: Catalyst@lists.scsys.co.uk Listinfo: http

[Catalyst] BUG: Catalyst dev server converts encoded '+' (%2B) into spaces in query string. (With fix and test)

2007-10-18 Thread Oleg Pronin
http://rt.cpan.org/Ticket/Display.html?id=30087 ___ List: Catalyst@lists.scsys.co.uk Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst Searchable archive: http://www.mail-archive.com/[EMAIL PROTECTED]/ Dev site: http://dev.catalyst.perl

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

[Catalyst] New catalyst site

2007-11-21 Thread Oleg Pronin
games.rambler.ru (migrated from another framework). It's a heavy loaded (2.000.000/day) online gaming project of leader of russian internet company "Rambler". ___ List: Catalyst@lists.scsys.co.uk Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo

Re: [Catalyst] DBIC v Cache: What are catalyst best practices for caching DBIC results (with relationships included)

2007-11-21 Thread Oleg Pronin
Unfortunately, it's too slow for production use. It's even slower (for local machine's cpu time) than without cache at all. To achieve acceptable results it should cache constructed object, not low-level data from database. Because on inflation an object can do some work (for example, load some ext

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

[Catalyst] Happy New Year!

2007-12-31 Thread Oleg Pronin
Happy new year everybody. Thank you for doing your great work! Let your work be greater in the new year! ___ List: Catalyst@lists.scsys.co.uk Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst Searchable archive: http://www.mail-archive.

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 h

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 pos