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} },
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
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
>>
>
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
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,
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
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
>
... 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
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
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
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.
>
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
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
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
>
>
> 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
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
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
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 <
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
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.
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 (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
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
>>/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
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
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
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
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
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
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
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.
_
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
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
*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)
>
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
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
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
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
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)
>>
>
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
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
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
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
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
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_
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 ? :-)
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
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
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
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
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
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
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
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
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
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
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.
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
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
59 matches
Mail list logo