Re: [Catalyst] Bareword catalyst not allowed while strict subs in use at Makefile.PL line 90.

2010-05-06 Thread Matt S Trout
it properly. (ironically, the catalyst; line in your Makefile.PL is why a dist works well :) -- Matt S Trout - Shadowcat Systems - Perl consulting with a commit bit and a clue http://shadowcat.co.uk/blog/matt-s-trout/ http://twitter.com/shadowcat_mst/ Email me now on mst (at) shadowcat.co.uk

Re: [Catalyst] RunAfterRequest/delayed Catalyst view

2010-05-02 Thread Matt S Trout
already rewritten the code it'd be much appreciated if you could try this out and see if it does the right thing - also, you then get to point and laugh at me with a bit of luck, which may or may not be an added incentive ;) -- Matt S Trout - Shadowcat Systems - Perl consulting with a commit bit

Re: [Catalyst] Returning error codes to the user.

2010-05-02 Thread Matt S Trout
extra code - basically taking advantage of DBIx::Class' laziness coming -and- going :) -- Matt S Trout - Shadowcat Systems - Perl consulting with a commit bit and a clue http://shadowcat.co.uk/blog/matt-s-trout/ http://twitter.com/shadowcat_mst/ Email me now on mst (at) shadowcat.co.uk

Re: [Catalyst] Dist::Zilla + Catalyst?

2010-04-28 Thread Matt S Trout
Trout Catalyst and DBIx::Class consultancy with a clue Technical Director and a commit bit: http://shadowcat.co.uk/catalyst/ Shadowcat Systems Limited mst (@) shadowcat.co.ukhttp://shadowcat.co.uk/blog/matt-s-trout/ ___ List

Re: [Catalyst] Alternatives to Catalyst ?

2010-04-28 Thread Matt S Trout
a genuine problem for real production code or GTFO, please. -- Matt S Trout Catalyst and DBIx::Class consultancy with a clue Technical Director and a commit bit: http://shadowcat.co.uk/catalyst/ Shadowcat Systems Limited mst (@) shadowcat.co.ukhttp://shadowcat.co.uk

Re: [Catalyst] unsubsricbe

2010-04-28 Thread Matt S Trout
that describes how to unsubscribe from it. However, I've gone into the admin console and deleted your subscription for you. -- Matt S Trout Catalyst and DBIx::Class consultancy with a clue Technical Director and a commit bit: http://shadowcat.co.uk/catalyst/ Shadowcat Systems

Re: [Catalyst] Pre-Moose version of Catalyst and all plugins?

2010-04-28 Thread Matt S Trout
going to take me days? Not until you tell us what the actual problems are, no, sorry. -- Matt S Trout Catalyst and DBIx::Class consultancy with a clue Technical Director and a commit bit: http://shadowcat.co.uk/catalyst/ Shadowcat Systems Limited mst (@) shadowcat.co.uk

Re: [Catalyst] Oddness with Catalyst::Plugin::Session::Store::DBIC

2010-04-28 Thread Matt S Trout
with the versions of all the plugins you're loading and we'll dig further. -- Matt S Trout Catalyst and DBIx::Class consultancy with a clue Technical Director and a commit bit: http://shadowcat.co.uk/catalyst/ Shadowcat Systems Limited mst (@) shadowcat.co.ukhttp

Re: [Catalyst] Oddness with Catalyst::Plugin::Session::Store::DBIC

2010-04-28 Thread Matt S Trout
to bother you it -will- bother them. So, in the name of paying karma forwards, any chance I could have the versions anyway please? -- Matt S Trout - Shadowcat Systems - Perl consulting with a commit bit and a clue http://shadowcat.co.uk/blog/matt-s-trout/ http://twitter.com/shadowcat_mst/ Email

Re: [Catalyst] Mason + DBI + Catalyst?

2009-06-08 Thread Matt S Trout
a question of Why do you want me to use an ORM? ORMs are evil! or something? Not perfect but then it's there and somebody can move it later :) -- Matt S Trout Catalyst and DBIx::Class consultancy with a clue Technical Director and a commit bit: http://shadowcat.co.uk

Re: [Catalyst] Multiple instances of same app with 5.80 under mod_perl

2009-06-08 Thread Matt S Trout
since most of the mod_perl cleverness relies on interpreter cloning, which unshares a huge amount of stuff that -can- be shared across a fork. -- Matt S Trout Catalyst and DBIx::Class consultancy with a clue Technical Director and a commit bit: http://shadowcat.co.uk

Re: [Catalyst] Lighttpd and mod_perlite

2009-06-08 Thread Matt S Trout
. -- Matt S Trout Catalyst and DBIx::Class consultancy with a clue Technical Director and a commit bit: http://shadowcat.co.uk/catalyst/ Shadowcat Systems Limited mst (@) shadowcat.co.ukhttp://shadowcat.co.uk/blog/matt-s-trout

Re: [Catalyst] Best practice: How to build app parts reusable?

2009-06-08 Thread Matt S Trout
application setup. -- Matt S Trout Catalyst and DBIx::Class consultancy with a clue Technical Director and a commit bit: http://shadowcat.co.uk/catalyst/ Shadowcat Systems Limited mst (@) shadowcat.co.ukhttp://shadowcat.co.uk/blog/matt-s-trout

Re: [Catalyst] Action attributes

2009-06-08 Thread Matt S Trout
on strict checking would seem fine to me. Then the dispatcher could check the actions when each one is registered with it. -- Matt S Trout Catalyst and DBIx::Class consultancy with a clue Technical Director and a commit bit: http://shadowcat.co.uk/catalyst/ Shadowcat

Re: [Catalyst] Mason + DBI + Catalyst?

2009-05-26 Thread Matt S Trout
be executed in your head, except be typing a lot less - and be able to use resultset chaining to put complex queries together in a piecemeal, reusable fashion. -- Matt S Trout Catalyst and DBIx::Class consultancy with a clue Technical Director and a commit bit: http

Re: [Catalyst] Mason + DBI + Catalyst?

2009-05-26 Thread Matt S Trout
advantage of DBIC - a resultset is basically a sort of lazy virtual view onto your database that turns itself into an SQL query as and when (and only when) required to do so by something you want. -- Matt S Trout Catalyst and DBIx::Class consultancy with a clue Technical Director

Re: [Catalyst] Catalyst IPv6 support?

2009-05-22 Thread Matt S Trout
who knows the guts of myapp_server). is there any reason we can't get myapp_server back to using HTTP::Server::Simple and just outsource the problem? The code's diverged a bit from when it was forked but I don't really see it being that horrible a job ... -- Matt S Trout Catalyst

Re: [Catalyst] Problem with objects

2009-05-14 Thread Matt S Trout
the internet is broken - way too vague to provide a useful answer :) -- Matt S Trout Catalyst and DBIx::Class consultancy with a clue Technical Director and a commit bit: http://shadowcat.co.uk/catalyst/ Shadowcat Systems Limited mst (@) shadowcat.co.ukhttp

Re: [Catalyst] Handling of keywords for controller methods

2009-05-14 Thread Matt S Trout
#CONTRIBUTORS though ... (alphabetical by IRC nick please) -- Matt S Trout Catalyst and DBIx::Class consultancy with a clue Technical Director and a commit bit: http://shadowcat.co.uk/catalyst/ Shadowcat Systems Limited mst (@) shadowcat.co.ukhttp://shadowcat.co.uk

Re: [Catalyst] Doc patch for ConfigLoader.

2009-05-14 Thread Matt S Trout
://www.shadowcat.co.uk/archive/conference-video/yapc-eu-2008/you-arent-good-enough/ With these docs in place, I would have found what I was looking for and not spent time debugging. Awesomeness. Thank you -very- much. -- Matt S Trout Catalyst and DBIx::Class consultancy with a clue

Re: [Catalyst] Caught exception in engine Can't call method header on an undefined value

2009-05-14 Thread Matt S Trout
::Runtime to the latest version - you've got one of the early 5.80s with a weird context constructor bug, I think. -- Matt S Trout Catalyst and DBIx::Class consultancy with a clue Technical Director and a commit bit: http://shadowcat.co.uk/catalyst/ Shadowcat Systems

Re: [Catalyst] More natural access to model?

2009-05-13 Thread Matt S Trout
On Tue, May 12, 2009 at 08:04:18PM -0700, Darren Duncan wrote: Paweł Tęcza wrote: Dnia 2009-05-12, wto o godzinie 19:30 +0100, Matt S Trout pisze: Well, that's a horrible idea. The whole point of having a database is to -model- your data. If you try and turn it into a giant hash

Re: [Catalyst] My experience porting to CataMoose

2009-05-13 Thread Matt S Trout
whip up some documentation tomorrow? Though it would be nice if modifier application before -setup_plugins produced a warning explaining why that's bad, wrong, and not going to work. -- Matt S Trout Catalyst and DBIx::Class consultancy with a clue Technical Director

Re: [Catalyst] Catalyst dynamic SQL model and custom tables

2009-05-13 Thread Matt S Trout
myapp_create.pl with =static instead of =dynamic and it should all work fine - and if it doesn't, you can get support for DBIx::Class and DBIx::Class::Schema::Loader via the dbix-class list - see http://lists.shadowcat.co.uk/ -- Matt S Trout Catalyst and DBIx::Class consultancy

Re: [Catalyst] Testing controller which require login.

2009-05-13 Thread Matt S Trout
it probably won't work with cookies from 'localhost' like the local test app wants. I think what you want is Test::WWW::Mechanize::Catalyst and to mock the single sign on stuff. After all, you're not trying to test -it-, you're trying to test your application, right? -- Matt S Trout

Re: [Catalyst] Who wants to be rid of the Unknown Error w/attributes bug on 5.10?

2009-05-12 Thread Matt S Trout
remain part of the precipitate for all I care. Now, who wants to help and is there anything you need from me to make it easier for you to help out? -- Matt S Trout Catalyst and DBIx::Class consultancy with a clue Technical Director and a commit bit: http://shadowcat.co.uk

Re: [Catalyst] Howto Catalyst::Plugin::Captcha ?

2009-05-11 Thread Matt S Trout
Trout Catalyst and DBIx::Class consultancy with a clue Technical Director and a commit bit: http://shadowcat.co.uk/catalyst/ Shadowcat Systems Limited mst (@) shadowcat.co.ukhttp://shadowcat.co.uk/blog/matt-s-trout/ ___ List

Re: [Catalyst] Forward to view question

2009-05-11 Thread Matt S Trout
$self-template-{OUTPUT} = sub { capture $filename here }; $self-render(...); but I don't really see that it would gain you anything. *wonders if write_file should be a role that applies to any view that supplies render* ... -- Matt S Trout Catalyst and DBIx::Class consultancy

Re: [Catalyst] Authorization Failure

2009-05-11 Thread Matt S Trout
than web so that those parts can be shared and you basically subclass it. But that's a fucktonne of code I don't have time to write just yet. If anybody wants to experiment with this idea, I'd be more than happy to help bikeshed out the design. -- Matt S Trout Catalyst and DBIx

Re: [Catalyst] Handling of keywords for controller methods

2009-05-11 Thread Matt S Trout
) of Catalyst::Controller where also my controller inherits from. That's a bug, the attribute should -not- be called 'actions'. Can somebody do up a patch that renames it to something sensible? (_actions seems reasonably safe to me ...) -- Matt S Trout Catalyst and DBIx::Class

[Catalyst] Who wants to be rid of the Unknown Error w/attributes bug on 5.10?

2009-05-11 Thread Matt S Trout
-smartmatch-tests/tree/master Here is a repo. Fork it. Try and break it. If you succeed, note how that break departs from the spec. Send pull requests to rjbs as often as you're sure is a good idea so he can keep everybody in sync. Go on. Go! GO GO GO GO GO! -- Matt S Trout

Re: [Catalyst] unknown resource

2009-05-05 Thread Matt S Trout
Catalyst here. That's just how Alias works in apache; if you don't understand it you should be reading the http://httpd.apache.org/ manual and talking to apache lists; there's exactly zero Catalyst specific ness here :) -- Matt S Trout Catalyst and DBIx::Class consultancy with a clue

Re: [Catalyst] fastcgi error

2009-05-01 Thread Matt S Trout
than using Nabble - they're spammer friendly and I have to block them on a regular basis. -- Matt S Trout Catalyst and DBIx::Class consultancy with a clue Technical Director and a commit bit: http://shadowcat.co.uk/catalyst/ Shadowcat Systems Limited mst

Re: [Catalyst] script/myapp_server -r Can't exec /usr/bin/perl every 3 or 4 restarts

2009-04-30 Thread Matt S Trout
On Thu, Apr 30, 2009 at 02:44:05PM +0200, Erik Wasser wrote: On Tuesday 28 April 2009, Matt S Trout wrote: Two possibilities: (1) exec a $^X to print @INC to get the normal @INC (2) use $Config{arch} and /^5.\/ to strip off the extra ones. Thoughts? I think (1) is more

Re: [Catalyst] upgraded to latest catalyst runtime 5.8 and Catalyst::Plugin::Upload::Image::Magick::Thumbnail::Fixed cant be loaded

2009-04-30 Thread Matt S Trout
. -- Matt S Trout Catalyst and DBIx::Class consultancy with a clue Technical Director and a commit bit: http://shadowcat.co.uk/catalyst/ Shadowcat Systems Limited mst (@) shadowcat.co.ukhttp://shadowcat.co.uk/blog/matt-s-trout

Re: [Catalyst] Is there a good solution of file cache? which plugin is recommended?

2009-04-30 Thread Matt S Trout
you're welcome to sit back and enjoy the silence :) -- Matt S Trout Catalyst and DBIx::Class consultancy with a clue Technical Director and a commit bit: http://shadowcat.co.uk/catalyst/ Shadowcat Systems Limited mst (@) shadowcat.co.ukhttp://shadowcat.co.uk

Re: [Catalyst] Using test database with TWAM?

2009-04-30 Thread Matt S Trout
and -deploy maintaining a DB per developer is -easy-. For shadowcat clients we usually set them up with a db, per developer, per major branch. Works like a dream. -- Matt S Trout Catalyst and DBIx::Class consultancy with a clue Technical Director and a commit bit: http

Re: [Catalyst] Migrating mod_perl app to Catalyst

2009-04-28 Thread Matt S Trout
have had working code at every stage. -- Matt S Trout Catalyst and DBIx::Class consultancy with a clue: Technical Directorhttp://www.shadowcat.co.uk/catalyst/ Shadowcat Systems Ltd. Any questions? Mail mst at shadowcat.co.uk My blog: http://www.shadowcat.co.uk/blog/matt-s

Re: [Catalyst] Catalyst error from CPAN

2009-04-28 Thread Matt S Trout
/DBIC.pm line 101 If you've only just installed, why are you even using that? Catalyst::Authentication::Store::DBIx::Class obsoleted it some time ago. -- Matt S Trout Catalyst and DBIx::Class consultancy with a clue: Technical Directorhttp://www.shadowcat.co.uk/catalyst

Re: [Catalyst] Relations 1:M

2009-04-28 Thread Matt S Trout
this is a DBIx::Class question, it would be better asked on the DBIx::Class list, so please subscribe to that (also at http://lists.scsys.co.uk/ ) and ask your question there, starting by creating a new message to: dbix-cl...@lists.scsys.co.uk -- Matt S Trout Catalyst and DBIx::Class

Re: [Catalyst] Which model is better, DBI or DBIC::Schema?

2009-04-28 Thread Matt S Trout
On Tue, Apr 28, 2009 at 05:38:57PM +0800, Malloy wrote: Which model is better, DBI or DBIC::Schema? If you're asking, you should probably be using DBIC::Schema since it's most popular so the best integrated and easy to get help with. -- Matt S Trout Catalyst and DBIx::Class

Re: [Catalyst] how to reuse Catalyst Schema for non-web purposes?

2009-04-27 Thread Matt S Trout
. -- error message - end Without seeing your current config I can't tell you waht's gone wrong there. -- Matt S Trout Need help with your Catalyst or DBIx::Class project? Technical Directorhttp://www.shadowcat.co.uk/catalyst/ Shadowcat

Re: [Catalyst] unexpected behavior of $c-request-secure and $c-request-base

2009-04-27 Thread Matt S Trout
to the people the guess is wrong for what's happening, or (b) we need (a) and some better guessing. Let's keep discussing how it could/should have guessed for your setup to find out which :) -- Matt S Trout Catalyst and DBIx::Class consultancy with a clue: Technical Director

Re: [Catalyst] Can't seem to use forward or detach. Any special requirements?

2009-04-27 Thread Matt S Trout
return to the previous action when processing is finished. And forward() takes a private path, not a URL, too. Look at the debug output on myapp_server.pl startup - it shows the URLs and the private paths. -- Matt S Trout Catalyst and DBIx::Class consultancy with a clue

Re: [Catalyst] script/myapp_server -r Can't exec /usr/bin/perl every 3 or 4 restarts

2009-04-23 Thread Matt S Trout
something like - my %already; @already{split(quotemeta($Config{path_sep}), $ENV{PERL5LIB})} = 1; $ENV{PERL5LIB} .= join $Config{path_sep}, grep !$already{$_} @INC; or so. Fancy having a play and seeing if you can come up with a patch for us? -- Matt S Trout Need help with your Catalyst

Re: [Catalyst] how to reuse Catalyst Schema for non-web purposes?

2009-04-23 Thread Matt S Trout
-resultset('User')-new({}); I suspect. Please don't just guess how to use DBIx::Class outside of Catalyst, read the DBIx::Class manual - and please ask further DBIx::Class specific questions on the relevant list; this isn't really anything to do with Catalyst ... -- Matt S Trout Need help

Re: [Catalyst] how to reuse Catalyst Schema for non-web purposes?

2009-04-22 Thread Matt S Trout
the way DBIx::Class is documented in and of itself. The DBIx::Class list is also on http://lists.scsys.co.uk/ if you get stuck - if you're getting an error show your code and the complete error on there. -- Matt S Trout Need help with your Catalyst or DBIx::Class project? Technical

Re: [Catalyst] Couldn't instantiate component AddressBook::Model::AddressDB

2009-04-22 Thread Matt S Trout
, because that's the recommended standard these days. The book uses the older load_classes style. If you just remember to mentally include ::Result:: when modifying those files you should be fine. -- Matt S Trout Need help with your Catalyst or DBIx::Class project? Technical

Re: [Catalyst] C::Engine::HTTP taking very long

2009-04-21 Thread Matt S Trout
On Tue, Apr 21, 2009 at 10:10:54AM +0200, Ian Wells wrote: 2009/4/20 Matt S Trout dbix-cl...@trout.me.uk: Depends if you're going to write the patch - I don't have any networks with broken DNS to test on so I can't really do it ... I wasn't aware I did either, but there you go. I'll

Re: [Catalyst] [PATCH] Catalyst::DispatchType::Chained (5.7101, 5.80001)

2009-04-21 Thread Matt S Trout
did andyg and I had fixed all the memory leaks in the old one, finally, but it was still a good replacement :) -- Matt S Trout Need help with your Catalyst or DBIx::Class project? Technical Directorhttp://www.shadowcat.co.uk/catalyst/ Shadowcat Systems Ltd

Re: [Catalyst] Local action in controller not mapping to template (retry)

2009-04-21 Thread Matt S Trout
. Make sure you ask for Catalyst-Runtime and Catalyst-Devel rather than just Catalyst though. -- Matt S Trout Need help with your Catalyst or DBIx::Class project? Technical Directorhttp://www.shadowcat.co.uk/catalyst/ Shadowcat Systems Ltd. Want a managed

Re: [Catalyst] Local action in controller not mapping to template (retry)

2009-04-20 Thread Matt S Trout
On Sun, Apr 19, 2009 at 07:55:31AM -0700, Anne Brown wrote: Apache says: File does not exist: c:/webs/webapp/www/somecontroller/ Then the request isn't even getting to Catalyst. Check your apache config. -- Matt S Trout Need help with your Catalyst or DBIx::Class project

Re: [Catalyst] Perplexed Catalyst newbie

2009-04-20 Thread Matt S Trout
-specific methods to your row objects. A documentatoin patch for Model::DBIC::Schema explaining this more clearly would be very welcome. -- Matt S Trout Need help with your Catalyst or DBIx::Class project? Technical Directorhttp://www.shadowcat.co.uk/catalyst

Re: [Catalyst] Perplexed Catalyst newbie

2009-04-20 Thread Matt S Trout
On Sun, Apr 19, 2009 at 09:51:42PM -0700, Sean McAfee wrote: [% FOR a IN as; FOR b IN a.bs; b.cs; br; END; END %] b.cs here is equivalent to: my $val = [ $b-cs ]; not my $val = $b-cs; You probably wanted b.cs_rs, which always returns a resultset. -- Matt S Trout Need help

Re: [Catalyst] [PATCH] Catalyst::DispatchType::Chained (5.7101, 5.80001)

2009-04-20 Thread Matt S Trout
On Mon, Apr 20, 2009 at 05:16:55AM +0300, Oleg Kostyuk wrote: PS: probably, it's needed to check all other places, that use Text::SimpleTable That'd be well worth doing. Please send us a patch if you find any more when you check them :) -- Matt S Trout Need help with your

Re: [Catalyst] C::Engine::HTTP taking very long

2009-04-20 Thread Matt S Trout
things down in the last few days.) Is there any chance we could make this lookup configurable? Depends if you're going to write the patch - I don't have any networks with broken DNS to test on so I can't really do it ... -- Matt S Trout Need help with your Catalyst or DBIx::Class

Re: [Catalyst] upon successful login, how do i get redirect users back to the page they wanted to access previously?

2009-04-19 Thread Matt S Trout
-detach. For bonus points you can save the POST params (if any) and the HTTP method (if not POST) into the login form so you can provide the exact same environment - you can't redirect to a POSt request but you -can- allow one to continue ... -- Matt S Trout Need help with your Catalyst

Re: [Catalyst] What's the best way to exclude static requests from needing user to log in?

2009-04-19 Thread Matt S Trout
-action-attributes-{NoLogin} in your root auto I'd suggest avoiding the ACL plugin; the implementation's a complete hack and Chained effectively obsoletes it anyway. -- Matt S Trout Need help with your Catalyst or DBIx::Class project? Technical Directorhttp

[Catalyst] Google Summer of Code: mentors, projects

2009-02-22 Thread Matt S Trout
as yours and I'm not inflicting it on the list just now so please show the same courtesy :) -- Matt S Trout Need help with your Catalyst or DBIx::Class project? Technical Directorhttp://www.shadowcat.co.uk/catalyst/ Shadowcat Systems Ltd. Want a managed development

[Catalyst] London Perl tutorials - 25th 26th February 2009 - day 2 includes Cat+DBIC

2009-01-21 Thread Matt S Trout
Munging with Perl (Manning, 2001) and a co-author of Perl Template Toolkit (O'Reilly, 2003). Dave lives in South West London. The rumours about gold-plated cats were never true. Each day starts at 09:30 - ends approx. 17:00 each day -- Matt S Trout Need help with your Catalyst

Re: [Catalyst] noob question about session timeouts

2008-11-15 Thread Matt S Trout
? -- Matt S Trout Need help with your Catalyst or DBIx::Class project? Technical Directorhttp://www.shadowcat.co.uk/catalyst/ Shadowcat Systems Ltd. Want a managed development or deployment platform? http://chainsawblues.vox.com/http://www.shadowcat.co.uk

Re: [Catalyst] noob question about session timeouts

2008-11-15 Thread Matt S Trout
something along the lines of $c-stash-{error_msg} = $c-session_delete_reason; That accessor is only set if the session was deleted this request, so why not just do if ($c-session_delete_reason) { ? -- Matt S Trout Need help with your Catalyst or DBIx::Class project? Technical

Re: [Catalyst] [META] Advent calendar

2008-11-15 Thread Matt S Trout
script I wrote ages ago to convert to FLV via mencoder. We've been starting to put videos up on http://www.shadowcat.co.uk/ - I can write up what we did if people find it sufficiently exciting. -- Matt S Trout Need help with your Catalyst or DBIx::Class project? Technical Director

Re: [Catalyst] [META] Advent calendar

2008-11-15 Thread Matt S Trout
there'll be an advent calendar. What entry are you going to write? -- Matt S Trout Need help with your Catalyst or DBIx::Class project? Technical Directorhttp://www.shadowcat.co.uk/catalyst/ Shadowcat Systems Ltd. Want a managed development or deployment platform

Re: [Catalyst] Re: recommendation

2008-11-15 Thread Matt S Trout
-experimental for 08100. -- Matt S Trout Need help with your Catalyst or DBIx::Class project? Technical Directorhttp://www.shadowcat.co.uk/catalyst/ Shadowcat Systems Ltd. Want a managed development or deployment platform? http://chainsawblues.vox.com

Re: [Catalyst] recommendation

2008-11-15 Thread Matt S Trout
-add_columns( 'password' = { data_type = 'char', size = 32, digest_check_method = 'check_password', } You can call add_columns again with the extra info. DBIx::Class doesn't mind. -- Matt S Trout Need help with your Catalyst or DBIx

Re: [Catalyst] Catalyst, MVCs and other MVCs

2008-11-15 Thread Matt S Trout
(CGI::App maint) recently complained that Catalyst had far too many dependencies and he didn't like that ... having counted them against a SUCCESSFUL INSTALL. -- Matt S Trout Need help with your Catalyst or DBIx::Class project? Technical Directorhttp

Re: [Catalyst] Running multiple instances on an application

2008-11-15 Thread Matt S Trout
because the DBIC $schema lasts the lifetime of the process. If you have your own per-context stuff then you can control the lifetime however you like. -- Matt S Trout Need help with your Catalyst or DBIx::Class project? Technical Directorhttp://www.shadowcat.co.uk

Re: [Catalyst] Feature Request: Parameter Junctions

2008-11-13 Thread Matt S Trout
be eliminated by using an 'any' junction: my $sport = $c-request-get_param('sport'); my $sport = Perl6::Junction::any($c-req-param('sport')); TADA. -- Matt S Trout Need help with your Catalyst or DBIx::Class project? Technical Directorhttp

Re: [Catalyst] test server running off of ipv6?

2008-11-13 Thread Matt S Trout
to the list rather than using nabble - we tend to have to block them every so often when they forget what read only is and start letting spam through. -- Matt S Trout Need help with your Catalyst or DBIx::Class project? Technical Directorhttp://www.shadowcat.co.uk

Re: [Catalyst] ANNOUNCE: SimpleDB - Auth configuration made easy

2008-11-13 Thread Matt S Trout
not be the person who originally turned it on. -- Matt S Trout Need help with your Catalyst or DBIx::Class project? Technical Directorhttp://www.shadowcat.co.uk/catalyst/ Shadowcat Systems Ltd. Want a managed development or deployment platform? http

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

2008-11-13 Thread Matt S Trout
fired up without -n against the same socket - then you won't have the proc manager involved and the process won't exit. Since it'll be sharing the socket with the rest of the fcgi procs it'll get its share of requests just the same, so the data should be just as valid. -- Matt S Trout

Re: Off Topic: Re: [Catalyst] [Announce] MojoMojo 0.999021 has been released to CPAN

2008-11-13 Thread Matt S Trout
don't clutter the Catalyst list with something that's nothing to do with Catalyst -or- MojoMojo. -- Matt S Trout Need help with your Catalyst or DBIx::Class project? Technical Directorhttp://www.shadowcat.co.uk/catalyst/ Shadowcat Systems Ltd. Want a managed

[Catalyst] Water the grass roots, please

2008-11-12 Thread Matt S Trout
Perlbuzz was kind enough to post an article by jshirley providing a different view of Catalyst; I've lobbed it at reddit: http://www.reddit.com/r/programming/comments/7czb5/populist_not_dictatorial_the_catalyst_web/ -- Matt S Trout Need help with your Catalyst or DBIx::Class project

Re: [Catalyst] ANNOUNCE: SimpleDB - Auth configuration made easy

2008-10-27 Thread Matt S Trout
mindset as to how they choose passwords This is the catalyst list, not the stating the fucking obvious list. -- Matt S Trout Need help with your Catalyst or DBIx::Class project? Technical Directorhttp://www.shadowcat.co.uk/catalyst/ Shadowcat Systems Ltd. Want

[Catalyst] Success stories please

2008-10-05 Thread Matt S Trout
be, but that doesn't mean Catalyst isn't still awesome. -- Matt S Trout Need help with your Catalyst or DBIx::Class project? Technical Directorhttp://www.shadowcat.co.uk/catalyst/ Shadowcat Systems Ltd. Want a managed development or deployment platform? http

Re: [Catalyst] Catalyst, DBIx::Class and Moose training in the UK

2008-10-01 Thread Matt S Trout
since this isn't really a forum for me to advertise shadowcat's services so I'm trying to make people aware we're doing stuff while keeping traffic to a minimum :) -- Matt S Trout Need help with your Catalyst or DBIx::Class project? Technical Directorhttp

Re: [Catalyst] Catalyst, DBIx::Class and Moose training in the UK

2008-10-01 Thread Matt S Trout
he replies. -- Matt S Trout Need help with your Catalyst or DBIx::Class project? Technical Directorhttp://www.shadowcat.co.uk/catalyst/ Shadowcat Systems Ltd. Want a managed development or deployment platform? http://chainsawblues.vox.com/http

Re: [Catalyst] fcgid

2008-09-30 Thread Matt S Trout
On Mon, Sep 29, 2008 at 09:46:42AM -0400, John Lee wrote: Matt S Trout wrote: fcgid is designed for shared hosting. it's basically useless for dedicated setups. I ask this, because it seems that it works better than fastcgi, it is maintained and prefered, but I can't see why

[Catalyst] Catalyst, DBIx::Class and Moose training in the UK

2008-09-30 Thread Matt S Trout
to this mail with comments) -- Matt S Trout Need help with your Catalyst or DBIx::Class project? Technical Directorhttp://www.shadowcat.co.uk/catalyst/ Shadowcat Systems Ltd. Want a managed development or deployment platform? http://chainsawblues.vox.com

Re: [Catalyst] mix authentication stores

2008-09-30 Thread Matt S Trout
? LDAP credential. DBIx::Class store. See authentication docs for how to configure each. -- Matt S Trout Need help with your Catalyst or DBIx::Class project? Technical Directorhttp://www.shadowcat.co.uk/catalyst/ Shadowcat Systems Ltd. Want a managed

Re: [Catalyst] mix authentication stores

2008-09-30 Thread Matt S Trout
') works just fine. But yeah, DBIC's relationships are specifically things that can be JOINed. LDAP doesn't count. Fortunately, see my point about store and credential being different in auth as a possible approach. I'm poking Jay Kuri to elaborate and/or tell me I'm talking crap :) -- Matt S

Re: [Catalyst] DBIx::Class and Catalyst - Trying to make sense of it all.

2008-09-29 Thread Matt S Trout
to the DBIx::Class list - the $c-model shortcut for $schema-resultset is the -only- thing that's different between normal DBIC usage and DBIC under Catalyst, and that's not so much a difference as an extra handy feature :) -- Matt S Trout Need help with your Catalyst or DBIx::Class

Re: [Catalyst] fcgid

2008-09-27 Thread Matt S Trout
is maintained, just minimally and quietly, and it works perfectly. For dedicated setups it's the only option; I dunno who you think prefers fcgid but I'm certainly not one of them. -- Matt S Trout Need help with your Catalyst or DBIx::Class project? Technical Directorhttp

Re: [Catalyst] Slow template processing on debian lenny

2008-09-27 Thread Matt S Trout
of code causes the slowness. Currently you're just waving a torch around in a 20 mile wide pitch black cave - sure, there's illumination involved, but not of anything relevant to your problem. -- Matt S Trout Need help with your Catalyst or DBIx::Class project? Technical Director

Re: [Catalyst] getting database handles and run arbitrary SQL

2008-09-27 Thread Matt S Trout
be asking on the dbix-class list, not here. -- Matt S Trout Need help with your Catalyst or DBIx::Class project? Technical Directorhttp://www.shadowcat.co.uk/catalyst/ Shadowcat Systems Ltd. Want a managed development or deployment platform? http

Re: [Catalyst] Chained Regexes

2008-09-27 Thread Matt S Trout
it wants, regexps or db lookups or etc. -- Matt S Trout Need help with your Catalyst or DBIx::Class project? Technical Directorhttp://www.shadowcat.co.uk/catalyst/ Shadowcat Systems Ltd. Want a managed development or deployment platform? http

Re: [Catalyst] How to send raw HTTP response

2008-09-27 Thread Matt S Trout
? Just call $c-write($chunk) with each chunk of data as you get it. Catalyst will automatically send headers before the first chunk for you. Do -not- rely on STDOUT being an appropriate filehandle to print to, that's an accident of the engine design and could easily go away. -- Matt S Trout

Re: [Catalyst] Multiple DB, single instance of Cat

2008-09-24 Thread Matt S Trout
({ %$self }, ref($self)); to bypass the initialisation phase. Once the code is working I will pop it on the wiki. -- Matt S Trout Need help with your Catalyst or DBIx::Class project? Technical Directorhttp://www.shadowcat.co.uk/catalyst/ Shadowcat Systems Ltd. Want

Re: [Catalyst] Race condition in Catalyst::Plugin::Session and Catalyst::Engine::Apache (possibly other engines too)

2008-09-24 Thread Matt S Trout
of other bugs. Have a look at the ChangeLog - maybe we could provide an option to reverse the order or find another approach? -- Matt S Trout Need help with your Catalyst or DBIx::Class project? Technical Directorhttp://www.shadowcat.co.uk/catalyst/ Shadowcat Systems

Re: [Catalyst] One (central) app, one schema, X databases

2008-09-24 Thread Matt S Trout
$c-model('DB::Foo', 'location1'); -- Matt S Trout Need help with your Catalyst or DBIx::Class project? Technical Directorhttp://www.shadowcat.co.uk/catalyst/ Shadowcat Systems Ltd. Want a managed development or deployment

Re: [Catalyst] #catalyst

2008-09-24 Thread Matt S Trout
was the malfunction meant I also couldn't effectively /msg you to say it was just a tempban. And then I was off to IPW and had no internet and forgot to unban you before I left because I suck :) -- Matt S Trout Need help with your Catalyst or DBIx::Class project? Technical Director

Re: [Catalyst] Database contents not displayed after hitting pagerefresh

2008-09-10 Thread Matt S Trout
, although any more suggestions are welcome. It is *not* working, you've just papered over the underlying problem. Please debug as I suggested otherwise in a few months your app is going to break again. -- Matt S Trout Need help with your Catalyst or DBIx::Class project? Technical

Re: [Catalyst] Intermittent blank pages

2008-09-03 Thread Matt S Trout
at the end of a request before it hits the softlimit. I notice downthread you've solved the underlying problem, but adding AutoRestart into your setup would mean that if something similar goes wrong again you'll avoid the firing blanks problem. -- Matt S Trout Need help with your

Re: [Catalyst] Database contents not displayed after hitting page refresh

2008-09-03 Thread Matt S Trout
. That's why there's something in there to search on. -- Matt S Trout Need help with your Catalyst or DBIx::Class project? Technical Directorhttp://www.shadowcat.co.uk/catalyst/ Shadowcat Systems Ltd. Want a managed development or deployment platform? http

Re: [Catalyst] Database contents not displayed after hitting page refresh

2008-09-03 Thread Matt S Trout
display the contents after I refresh the page. So it works on the first request but not on the second? -- Matt S Trout Need help with your Catalyst or DBIx::Class project? Technical Directorhttp://www.shadowcat.co.uk/catalyst/ Shadowcat Systems Ltd. Want

Re: [Catalyst] Database contents not displayed after hitting pagerefresh

2008-09-03 Thread Matt S Trout
, although any more suggestions are welcome. You have an ancient version of something then that's caching the resultset. Upgrade Catalyst::Model::DBIC::Schema and DBIx::Class. -search() is just a copy constructor. Emanuelle doesn't know what the fuck he's talking about. -- Matt S Trout

Re: [Catalyst] Intermittent blank pages

2008-09-03 Thread Matt S Trout
On Wed, Sep 03, 2008 at 01:45:47PM +0300, Octavian Rasnita wrote: From: Matt S Trout [EMAIL PROTECTED] You might want to load Catalyst::Plugin::AutoRestart as well so the processes restart themselves gracefully at the end of a request before it hits the softlimit. Do you know

Re: [Catalyst] Duplicate entries with C::P::Session::Store::DBIC and MySQL - new findings

2008-08-27 Thread Matt S Trout
to create a cookie, so I guess you're effectively creating a session anyway. So as long as you have to write to one of the two to create a session, I don't really see a problem. -- Matt S Trout Need help with your Catalyst or DBIx::Class project? Technical Director

Re: [Catalyst] Win32, Data::Alias, bad idea or my bad?

2008-08-26 Thread Matt S Trout
and arrange a Data::Visitor release that makes the dependency optional. -- Matt S Trout Need help with your Catalyst or DBIx::Class project? Technical Directorhttp://www.shadowcat.co.uk/catalyst/ Shadowcat Systems Ltd. Want a managed development or deployment platform

  1   2   3   4   >