Re: [Catalyst] advise on data processing in Cat/DBIC/Model

2007-11-26 Thread Toby Corkindale
On Mon, Nov 26, 2007 at 07:04:24PM +, Matt S Trout wrote: On Mon, Nov 26, 2007 at 04:33:02PM +0100, Rainer Clasen wrote: Hello, within my current project, some value is collected up to once a day: CREATE TABLE a_value { day date PRIMARY KEY, other_values integer NOT NULL,

Re: [Catalyst] utf8 in mysql

2007-12-03 Thread Toby Corkindale
On Sun, 2007-12-02 at 16:41 +0200, Angel Kolev wrote: Hi again :) I found a solution i think. With Encode::Detect i can do: use Encode; require Encode::Detect; my $utf8 = decode(Detect, $data); Looks like this module uses Mozilla's encoding detector, which does a pretty good job in

Re: [Catalyst] Web hosting?

2008-01-03 Thread Toby Corkindale
On Fri, Jan 04, 2008 at 02:05:17PM +0800, Martin Ellison wrote: OK, I am discussing this with DreamHost, and hope to be able to resolve the issue. But... when I originally started this thread, several posters suggested various hosting companies at around the USD 50-100/month level, which was

Re: [Catalyst] Detecting Incorrectly Displayed Page (Generating and Visiting URLS automatically ?)

2008-02-03 Thread Toby Corkindale
On Mon, Feb 04, 2008 at 03:58:54PM +0900, [EMAIL PROTECTED] wrote: Hi, I am currently doing some tests with my application and I am wondering if there is any efficient and effective way to know if pages which should be displayed correctly are actually being redirected to another page, such

Re: [Catalyst] ModPerl catapp and SSLVerifyClient

2008-02-09 Thread Toby Corkindale
On Fri, Feb 08, 2008 at 03:50:19PM -0500, John Lifsey - Contractor - wrote: This is really more of an Apache question, but I was hoping one of you guys may have run into it in the past. I have a MP Cat application running in Location / The application needs for Clients to identify themselves

Re: [Catalyst] cookies!

2008-02-12 Thread Toby Corkindale
On Tue, Feb 12, 2008 at 03:44:44PM -0800, Jennifer Ahn wrote: hello! how does one implement cookies in catalyst? jennifer You can access the cookie jar with: $c-request-cookie('myCookie'); or $c-request-cookies-{'myCookie'}-value; To set cookies, use $c-response instead, like:

Re: [Catalyst] Doing work inside the DBIx::Class model

2008-02-19 Thread Toby Corkindale
On Wed, Feb 20, 2008 at 01:10:12PM +1000, Cian Barclay wrote: Hello Catalysters, I'm using Catalyst with a DBIx::Class model generated by DBIx::Class::Schema::Loader. I want to make my model do more work, rather than having my controllers fiddling around with model objects doing things to

Re: [Catalyst] CatalystSites.org

2008-04-16 Thread Toby Corkindale
On Fri, Apr 11, 2008 at 02:06:49PM -0700, Ashley wrote: On Apr 11, 2008, at 1:33 PM, Christopher H. Laco wrote: /tag/name/name /tag/id/id The greatness of future possibilities is expanded to much happiness. Chained/sub instance() make all the code behind either option JustWork. claco (I

Re: [Catalyst] Re: CatalystSites.org

2008-04-16 Thread Toby Corkindale
On Wed, Apr 16, 2008 at 11:20:40AM +0200, Aristotle Pagaltzis wrote: * Toby Corkindale [EMAIL PROTECTED] [2008-04-16 09:10]: Eg: http://eventbot.dryft.net/people/view/13 == http://eventbot.dryft.net/people/view/pir (It's an old site of mine written in an afternoon; if/when I

Re: [Catalyst] modperl 1.3 wierdness

2008-04-21 Thread Toby Corkindale
On Mon, Apr 21, 2008 at 04:54:00PM +1000, Toby Corkindale wrote: Hi guys, I have an application that runs well on modperl 2.0, fcgi and the standalone server.. but due to some stubborn/paranoid sysadmins[1] we are going to have to run it under modperl 1.3. Footnotes: 1) This is their job

Re: [Catalyst] modperl 1.3 wierdness

2008-04-21 Thread Toby Corkindale
On Mon, Apr 21, 2008 at 04:54:00PM +1000, Toby Corkindale wrote: Hi guys, I have an application that runs well on modperl 2.0, fcgi and the standalone server.. but due to some stubborn/paranoid sysadmins[1] we are going to have to run it under modperl 1.3. This has resulted in some

[Catalyst] Dispatching with Chained vs HTTP method

2008-04-30 Thread Toby Corkindale
just looking for some advice on the best way to do something.. So I wrote a controller class using Chained that basically auto-converts any DBIx::Schema (which includes a tiny extra base class itself) into a REST API.. Well, a simple one anyway - it supports find and search so far, and foreign

Re: [Catalyst] Dispatching with Chained vs HTTP method

2008-04-30 Thread Toby Corkindale
On Wed, Apr 30, 2008 at 10:26 AM, Toby Corkindale [EMAIL PROTECTED] wrote: just looking for some advice on the best way to do something.. So I wrote a controller class using Chained that basically auto-converts any DBIx::Schema (which includes a tiny extra base class itself) into a REST

Re: [Catalyst] Dispatching with Chained vs HTTP method

2008-05-07 Thread Toby Corkindale
On Wed, May 07, 2008 at 03:57:07PM +1000, Toby Corkindale wrote: [snip] $id = POST transaction $amount = GET /user/1/account_balance $amount2 = GET /user/2/account_balance PUT /user/1/account_balance/$amount-1 PUT /user/2/account_balance/$amount+1 Whoops, that should read: PUT /user/2

Re: [Catalyst] Dispatching with Chained vs HTTP method

2008-05-07 Thread Toby Corkindale
On Wed, May 07, 2008 at 09:55:10AM +0200, Zbigniew Lukasiak wrote: On Wed, May 7, 2008 at 7:57 AM, Toby Corkindale [EMAIL PROTECTED] wrote: [snip] I wonder how one goes about implementing such a transaction on the server side.. One would not want to lock DB rows indefinitely, waiting

Re: [Catalyst] Dispatching with Chained vs HTTP method

2008-05-07 Thread Toby Corkindale
On Wed, May 07, 2008 at 06:02:46PM +1000, Adam Clarke wrote: On 07/05/2008, at 3:57 PM, Toby Corkindale wrote: On Wed, May 07, 2008 at 03:30:12PM +1000, Adam Clarke wrote: The solution suggested in Restful Web Services is to POST to a factory resource which creates you with a transaction

[Catalyst] Solved - curious Catalyst/DBIx:Class bug

2008-05-11 Thread Toby Corkindale
Found and solved an interesting little bug in someone else's application today. Their unit tests ran fine, but the application itself always died instantly, with an error from Class::C3::XS.. so they thought the bug was in DBIx::Class, or rather their use of it, and we spent a lot of time hunting

Re: [Catalyst] How to display a Please Wait page

2008-08-10 Thread Toby Corkindale
On Sun, Aug 10, 2008 at 09:22:40PM -0500, Collin Condray wrote: I am in the process of creating a website using catalyst. I have a check out page that processes payment information and performs some automated tasks for the client that takes several seconds to complete. I'd like to display a

[Catalyst] Cat + DBIC + DBD-Pg + mpm_worker

2008-08-11 Thread Toby Corkindale
Hi, I know the Cat cookbook suggests one should use mod_perl only with the preforking MPM.. but I wanted to try with the worker (ie. threaded) MPM anyway. DBD-Pg had some thread-safety work done years ago, and I meant to be fine.. However I'm seeing errors like this one: Couldn't render

Re: [Catalyst] Cat + DBIC + DBD-Pg + mpm_worker -- Solution

2008-08-12 Thread Toby Corkindale
On Tue, Aug 12, 2008 at 02:03:56PM +1000, Toby Corkindale wrote: Hi, I know the Cat cookbook suggests one should use mod_perl only with the preforking MPM.. but I wanted to try with the worker (ie. threaded) MPM anyway. DBD-Pg had some thread-safety work done years ago, and I meant

Re: [Catalyst] GENTOO ebuilds: important change in keywords

2008-10-30 Thread Toby Corkindale
Michele Beltrame wrote: Hello all! Gentoo overlays management made the following changes to the ebuilds in the perl-experimental overlay: 1 - All ebuilds in dev-perl are now marked as unstable (~arch). 2 - All archs have been removed except for ~x86 and ~amd64 All packages in the overlays

Re: [Catalyst] Catalyst, MVCs and other MVCs

2008-11-16 Thread Toby Corkindale
Matt S Trout wrote: On Tue, Nov 04, 2008 at 05:56:51PM +1100, Adam Clarke wrote: Our first experiences of trying to use it were quite frustrating - there were zillions of dependencies to be met and this could take a fair bit of perseverance since they would often fail to install for

[Catalyst] Catalyst install failure due to Mouse.pm on Debian Etch

2008-11-26 Thread Toby Corkindale
Hi guys, I'm having trouble getting Catalyst to install (via CPAN) on a fresh Debian Etch install. The problem is the dependency Mouse (0.11) fails its unit tests there. (I'd guess due to the older versions of some core packages). I've raised http://rt.cpan.org/Ticket/Display.html?id=41254.

Re: [Catalyst] OT: Use the CPAN, Luke?

2008-11-26 Thread Toby Corkindale
Aristotle Pagaltzis wrote: * Toby Corkindale [EMAIL PROTECTED] [2008-11-27 01:55]: The problem is the dependency Mouse (0.11) fails its unit tests there. That’s really the sole solid argument against a flamboyant use-the-CPAN attitude: you end up pulling in heaps of bloat because none

Re: [Catalyst] Catalyst install failure due to Mouse.pm on Debian Etch

2008-11-27 Thread Toby Corkindale
Marcus Ramberg wrote: On Thu, Nov 27, 2008 at 1:47 AM, Toby Corkindale [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: Hi guys, I'm having trouble getting Catalyst to install (via CPAN) on a fresh Debian Etch install. The problem is the dependency Mouse (0.11) fails its unit

Re: [Catalyst] Catalyst install failure due to Mouse.pm on Debian Etch

2008-11-27 Thread Toby Corkindale
Simon Elliott wrote: Hey toby... http://search.cpan.org/src/MRAMBERG/Catalyst-Action-RenderView-0.08/Makefile.PL - I'm pretty sure RenderView does not depend on Mouse. is does however depend on Data::Visitor which uses Squirrel, so installing Moose should solve this. Squirrel is bundled

Re: [Catalyst] Catalyst install failure due to Mouse.pm on Debian Etch

2008-11-27 Thread Toby Corkindale
Toby Corkindale wrote: Hi guys, I'm having trouble getting Catalyst to install (via CPAN) on a fresh Debian Etch install. The problem is the dependency Mouse (0.11) fails its unit tests there. (I'd guess due to the older versions of some core packages). I've raised http://rt.cpan.org/Ticket

Re: [Catalyst] OT Apache question

2008-11-27 Thread Toby Corkindale
Jesse Sheidlower wrote: A few weeks ago I asked a series of questions about caching, at the end of which discussion it was suggested that I use Apache, instead of Cat with the Static::Simple plugin, to serve my static files. I had tried this once before and ran into problems and given up, so,

Re: [Catalyst] OT: Use the CPAN, Luke?

2008-11-30 Thread Toby Corkindale
Lars Balker Rasmussen wrote: On Thu, Nov 27, 2008 at 03:55:54AM +0100, Aristotle Pagaltzis wrote: Case in point, Mouse is essentially Moose Light. Since Catalyst itself is becoming Moose-based, is there *any* reason to use Mouse instead? I suppose if it automatically stubs itself into a Moose

Re: [Catalyst] OT: Use the CPAN, Luke?

2008-11-30 Thread Toby Corkindale
Jonathan Rockway wrote: * On Sun, Nov 30 2008, Toby Corkindale wrote: If the automated install fails, people are likely to say bah, this Perl thing sucks, let's go for that similar app written in PHP/Java/Ruby instead - at least it's simple to install! Why do you care about what other people

Re: [Catalyst] Catalyst modperl - child process segmentation fault

2008-12-08 Thread Toby Corkindale
Terence Monteiro wrote: Toby Corkindale wrote: Terence Monteiro wrote: I'm running my Catalyst application on apache2 using modperl with mysql database accessed by DBIx::SearchBuilder. I'm getting the message in the apache2 error logs: child pid 1140 exit signal Segmentation fault (11

Re: [Catalyst] Catalyst modperl - child process segmentation fault

2008-12-08 Thread Toby Corkindale
Terence Monteiro wrote: Toby Corkindale wrote: Terence Monteiro wrote: Toby Corkindale wrote: Terence Monteiro wrote: I'm running my Catalyst application on apache2 using modperl with mysql database accessed by DBIx::SearchBuilder. I'm getting the message in the apache2 error logs: child

Re: [Catalyst] Problem with the order of action

2008-12-09 Thread Toby Corkindale
José Castro wrote: Hi. Let's say I have (and I do) something like this in one controller: sub create : Path('/users/new') { and something like this in another controller: sub attribute : Regex('^([^/]+)/([^/]+)(?:/page/(\d+))?$') { My goal here is to try to match the url with

Re: [Catalyst] Catalys TheSchwartz, was Catalyst modperl - child process segmentation fault

2009-01-08 Thread Toby Corkindale
Matija Grabnar wrote: afaict, you should let dbic / cat-model handle the connection to the database. That reminds me. Does anybody have experience submitting TheSchwartz jobs from a Catalyst? TheSchwartz uses it's own system of allocating DB handles, and I have no idea how it interacts

Re: [Catalyst] Attention Australian Catalystarati (or anyone else with an interest in internet activism)

2009-01-12 Thread Toby Corkindale
Gavin Carr wrote: On Mon, Jan 12, 2009 at 08:16:46PM +1100, Kieren Diment wrote: Open Australia (http://openaustralia.org) are trying to digitise the parliamentary register of members interest to improve transparrency in the federal parliament.The register at the moment is only available

Re: [Catalyst] Attention Australian Catalystarati (or anyone else with an interest in internet activism)

2009-01-12 Thread Toby Corkindale
Kieren Diment wrote: On 13/01/2009, at 12:17 PM, Gavin Carr wrote: On Mon, Jan 12, 2009 at 08:16:46PM +1100, Kieren Diment wrote: Open Australia (http://openaustralia.org) are trying to digitise the parliamentary register of members interest to improve transparrency in the federal

Re: [Catalyst] Newbie help

2009-01-14 Thread Toby Corkindale
Diego M. Vadell wrote: Hi everybody, I'm making a nice little webapp in Catalyst: metheorology models run via crontab and catalyst shows the data and graphs that they produce. Im very happy how it's working so far. Now I have been asked if I could make a Run the model now button, that

Re: [Catalyst] How To Fix Test-Harness-3.14?

2009-01-15 Thread Toby Corkindale
Robert L Cochran wrote: I'm trying to install Catalyst-Runtime-5.7015 using cpan inside a CentOS 5.2 virtual machine (running under VMWare, fully updated to current CentOS patches) and one of the reasons installation is failing is because Test-Harness-3.14 is failing it's own tests. I'm not very

Re: [Catalyst] how to confirm before deleting

2009-01-21 Thread Toby Corkindale
Kieren Diment wrote: Yeah, 98% of your browsers have javascript enabled and a big chunk of the remainder are bots ... On the other hand you might want a non-javascript undo option at the other end if you go that route. Oh, and watch out for a Classic Error I saw in someone's code a little

Re: [Catalyst] how to confirm before deleting

2009-01-21 Thread Toby Corkindale
Trevor Phillips wrote: On Thu, Jan 22, 2009 at 3:12 PM, Toby Corkindale toby.corkind...@strategicdata.com.au wrote: But what happens when your site gets spidered by a search engine, that follows all links? Whoops. There's a good reason state-modification-actions should be POST (or rather, non

Re: [Catalyst] Catalyst::Plugin::Captcha

2009-03-17 Thread Toby Corkindale
Emmanuel Quevillon wrote: Octavian Râsnita wrote: From: Emmanuel Quevillon t...@pasteur.fr Better use Catalyst::Controller::HTML::FormFu. You can easy add reCAPTCHA with it. reCAPTCHA also creates an audio file so more human beeings would be able to pass it. Sure, but reCAPTCHA needs that

Re: [Catalyst] FormFu edit form problem

2009-05-26 Thread Toby Corkindale
Toby Corkindale wrote: Moritz Onken wrote: Am 20.05.2009 um 00:37 schrieb Greg Coates: I'm using HTML::FormFu::Model::DBIC version 0.04002, and this problem is still there. Do we know when a patch might be available? Greg Hi Greg, which problem are you referring to? Can you provide

Re: [Catalyst] FormFu edit form problem

2009-05-26 Thread Toby Corkindale
Moritz Onken wrote: Am 20.05.2009 um 00:37 schrieb Greg Coates: I'm using HTML::FormFu::Model::DBIC version 0.04002, and this problem is still there. Do we know when a patch might be available? Greg Hi Greg, which problem are you referring to? Can you provide some code? moritz I'm

Re: [Catalyst] FormFu edit form problem

2009-05-28 Thread Toby Corkindale
Carl Franks wrote: 2009/5/26 Toby Corkindale toby.corkind...@strategicdata.com.au: And after applying the patch linked above, the problem went away. Presto! I'm looking forward to that being included in a 0.04004 release soon.. Thanks - that patch had gotten past my radar! It's now applied

Re: [Catalyst] FormFu edit form problem

2009-05-28 Thread Toby Corkindale
Moritz Onken wrote: Do you run the latest version of DBIC? I was running on 0.08012, however I have updated to 0.08103 and still have the same problem. -Toby Hi Carl, The patched version of 0.04004 seemed to work fine, however the released 0.05000 only works on some, but not all, of my

[Catalyst] Bug with re-occuring nested related tables with CP FormFu?

2009-05-29 Thread Toby Corkindale
Hi, I'm using FormFu in Catalyst, with a DBIC schema, and have a problem with a particular usage of nested relationships in the form. The table in question has a might_have relationship with another table, let's say like: book (id, title, blurb) book_extra (book_id, num_pages, in_stock)

Re: [Catalyst] FormFu edit form problem

2009-05-31 Thread Toby Corkindale
Moritz Onken wrote: Am 29.05.2009 um 07:43 schrieb Toby Corkindale: Moritz Onken wrote: Do you run the latest version of DBIC? I was running on 0.08012, however I have updated to 0.08103 and still have the same problem. -Toby The problem is that there is no good way to decide whether

Re: [Catalyst] FormFu edit form problem

2009-06-01 Thread Toby Corkindale
Toby Corkindale wrote: [snip] I might be able to get around this, and the other show-stopper bug[1], by building a custom DBIC pseudo-resultset that aggregates several resultsets into one to avoid the problems FormFu has with relationships.. [snip] Ah, bother, this didn't work. FormFu's

Re: [Catalyst] How much RAM do your Catalyst apps use up?

2009-06-24 Thread toby . corkindale
- kakim...@tpg.com.au wrote: Hi, guys, I have a virtual machine with 256MB of ram. When I run my catalyst app (ie myapp_server.pl) in the day, it's fine. NEvertheless, when I run my app from 6pm onwards til midnight, a few clicks on the app to retrieve some data (the same way I

[Catalyst] Cat Model DBIC Schema fails test if *optional* prereq isn't installed

2009-06-29 Thread Toby Corkindale
Hi, Catalyst::Model::DBIC::Schema lists Catalyst::Devel as an *optional* dependency. However if you do not have Catalyst::Helper installed (via Catalyst::Devel) then C-M-DBIC-Schema fails its unit tests and won't install via CPAN. -Toby ___

[Catalyst] Re: [Dbix-class] Cat Model DBIC Schema fails test if *optional* prereq isn't installed

2009-06-30 Thread Toby Corkindale
Toby Corkindale wrote: Hi, Catalyst::Model::DBIC::Schema lists Catalyst::Devel as an *optional* dependency. However if you do not have Catalyst::Helper installed (via Catalyst::Devel) then C-M-DBIC-Schema fails its unit tests and won't install via CPAN. Fix committed to trunk. Cheers

[Catalyst] Catalyst action attributes

2009-07-12 Thread Toby Corkindale
Hi, I wondered if anyone could point me towards a working example of creating custom action attribute handlers for Catalyst? eg. The contents of Catalyst::Controller::SecretAgent in the example below: package MyApp::Controller::M; use parent 'Catalyst::Controller::SecretAgent'; # Provides

Re: [Catalyst] Catalyst action attributes

2009-07-13 Thread Toby Corkindale
Toby Corkindale wrote: Hi, I wondered if anyone could point me towards a working example of creating custom action attribute handlers for Catalyst? eg. The contents of Catalyst::Controller::SecretAgent in the example below: package MyApp::Controller::M; use parent 'Catalyst::Controller

Re: [Catalyst] Catalyst action attributes

2009-07-13 Thread Toby Corkindale
read that before posting. As far as I can see, there is no way to pass parameters to the ActionClass. Have I missed something? On Mon, Jul 13, 2009 at 12:27 AM, Toby Corkindale toby.corkind...@strategicdata.com.au mailto:toby.corkind...@strategicdata.com.au wrote: Toby Corkindale wrote

Re: [Catalyst] Catalyst action attributes

2009-07-14 Thread Toby Corkindale
Tomas Doran wrote: On 13 Jul 2009, at 07:50, Toby Corkindale wrote: Devin Austin wrote: Check this out: http://search.cpan.org/~hkclark/Catalyst-Manual-5.8000/lib/Catalyst/Manual/ExtendingCatalyst.pod#Attributes and http://search.cpan.org/~hkclark/Catalyst-Manual-5.8000/lib/Catalyst/Manual

[Catalyst] [POD] Doc patch for ConfigLoader

2009-08-18 Thread Toby Corkindale
Hi, This patch fixes a minor error in the ConfigLoader documentation. (It refered to myapp.local when it meant myapp_local.conf) Also reported as RT#48823 ta, Toby commit eb6a0cfc82bd57c2ad0f4eab3d08257b43628ea1 Author: Toby Corkindale t...@cpan.org Date: Wed Aug 19 15:33:51 2009 +1000

[Catalyst] Re: Catalyst 5.800013 - missing dependency version

2009-09-23 Thread Toby Corkindale
Marcus Ramberg wrote: Another day, another Catalyst 5.8 maintainance release. This time, lucky number 13. The main reason for this release is a change in the guts of the most recent Class::MOP. Thus, this release depends on the latest Moose/Class-MOP, see the changelog attached below for

Re: [Catalyst] Catalyst benchmark 5.7 VS 5.8

2009-09-28 Thread Toby Corkindale
(Apologies for top-posting.. have momentarily lost the option to change quoting styles it seems..) Fayland, I was looking at the benchmarks that you linked, and was just wondering which version of Perl you're running against? (CentOS 5 was one of the operating systems that came with the

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

2009-09-28 Thread Toby Corkindale
Fayland Lam wrote: I'm wondering if someone here did a benchmark between Catalyst 5.7 and 5.8 I have a vested interest in knowing the difference between the two versions as well, so knocked up a proper test. I have two identical virtual machines, only on one I installed Catalyst::Runtime

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

2009-09-28 Thread Toby Corkindale
Toby Corkindale wrote: It's interesting to note the headline figures have 5.71 performing 316 tps, vs 5.80 making only 283 tps. Memory usage (for this small app) has increased by 4MB, but is presumably shared. I guess I should look into that more. Here are some new analysis of memory usage

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

2009-09-29 Thread Toby Corkindale
Tomas Doran wrote: Toby Corkindale wrote: It's interesting to note the headline figures have 5.71 performing 316 tps, vs 5.80 making only 283 tps. The very important thing you haven't noted (unless I missed it) is what perl version this benchmark was conducted under. Ah, sorry, I didn't

Re: [Catalyst] Catalyst benchmark 5.7 VS 5.8

2009-09-29 Thread Toby Corkindale
Carl Johnstone wrote: Toby Corkindale wrote: (CentOS 5 was one of the operating systems that came with the badly-patched Perl with the slow bless performance.. although I'm sure it's been patched by now? ie. http://blog.vipul.net/2008/08/24/redhat-perl-what-a-tragedy/ ) Was patched last year

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

2009-09-29 Thread Toby Corkindale
Tomas Doran wrote: Toby Corkindale wrote: It's interesting to note the headline figures have 5.71 performing 316 tps, vs 5.80 making only 283 tps. The very important thing you haven't noted (unless I missed it) is what perl version this benchmark was conducted under. Some benchmarking

[Catalyst] Cat-Runtime 5.8.16 broke with catalyst_par

2009-12-14 Thread Toby Corkindale
Hey guys, Catalyst::Runtime 5.80016 introduced a bug with catalyst_par. Various modules are now required for the scripts in /script/, however when building your application with make catalyst_par these are not included. Temporary fix is to add to Makefile.PL:

[Catalyst] Catalyst::Script::FastCGI ignores --daemon option (internally it is --detach)

2009-12-14 Thread Toby Corkindale
As of Catalyst::Runtime 5.8.16, Catalyst::Script::FastCGI is buggy and ignores the --daemon option. Looking at the source, I think it is mistakenly looking for --detach, although it is documented as wanting --daemon. -Toby ___ List:

Re: [Catalyst] [ANNOUNCE] Catalyst-Runtime 5.80017

2010-01-11 Thread Toby Corkindale
Has anyone else had trouble getting this installed, due to the dependency on Class::MOP 0.97? I can't get class mop to install in my local lib - keeps dying with: Not a HASH reference at /usr/share/perl/5.10/ExtUtils/Install.pm line 557. make: *** [pure_site_install] Error 2 I'll report back

Re: [Catalyst] Catalyst::View::JSON sends a file

2010-01-11 Thread Toby Corkindale
Tomas Doran wrote: On 11 Jan 2010, at 23:29, Christoph Friedrich wrote: just worked a little with Catalyst::View::JSON. But when I call some action via Firefox that uses this View Firefox gives me a file to download and don't show the json directly. Is there a way to change this behavior? I

[Catalyst] Enabling debug mode with fastcgi..

2010-01-17 Thread Toby Corkindale
Hi guys, If you're running a Catalyst app with the fastcgi script (as found in scripts/myapp_name_fastcgi.pl), then is there a way to enable the debug mode. (eg. like running scripts/myapp_server.pl -d) I've tried setting CATALYST_DEBUG and MYAPP_DEBUG in the shell environment, but that

Re: [Catalyst] Enabling debug mode with fastcgi..

2010-01-18 Thread Toby Corkindale
code will have fixed the issue there. cheers, Toby. On Mon, Jan 18, 2010 at 05:03:23PM +1100, Toby Corkindale wrote: Hi guys, If you're running a Catalyst app with the fastcgi script (as found in scripts/myapp_name_fastcgi.pl), then is there a way to enable the debug mode. (eg. like running

Re: [Catalyst] Enabling debug mode with fastcgi..

2010-01-19 Thread Toby Corkindale
On 19/01/10 21:45, Tomas Doran wrote: On 19 Jan 2010, at 00:26, Toby Corkindale wrote: As I said, I've tried the -e (same as -keeperr) options in combination with the *_DEBUG environment variables. That should (and does) work here.. Hmm. That's interesting to know.. I swear it isn't

[Catalyst] [PATCH] C-P-UploadProgress (converted away from NEXT)

2010-01-20 Thread Toby Corkindale
calling super() from inside prepare_body_chunk. But hey, that's just how the original code worked too.. Cheers, Toby From 95e1d77a555dcc1caae2ab29cbbd843450e8e337 Mon Sep 17 00:00:00 2001 From: Toby Corkindale to...@strategicdata.com.au Date: Thu, 21 Jan 2010 15:59:03 +1100 Subject: [PATCH] Remove

Re: [Catalyst] FastCGI deployment - slow to complete request

2010-02-15 Thread Toby Corkindale
On 15/02/10 15:59, Steve Rippl wrote: Hi, I have a small Catalyst app, the production version of which has been running pretty well using the built in server as there haven't been too many user at once. I'm trying to anticipate higher concurrent usage and switch to FastCGI (as that seems to be

Re: [Catalyst] [ANNOUNCE] Catalyst::Manual 5.8004

2010-02-18 Thread Toby Corkindale
On 19/02/10 04:30, hkcl...@gmail.com wrote: Hi Everyone, Just wanted to let everyone know that I pushed an updated Catalyst Manual to CPAN yesterday. Almost all of the changes pertained to the tutorial. A big thanks to Caelum for doing most of the SQLite foreign key work. Also thanks to

Re: [Catalyst] on the topic of PAR file distribution, why is it frowned upon?

2010-02-25 Thread Toby Corkindale
On 26/02/10 11:27, Tommy Butler wrote: Hello all, I will be deploying a catalyst app onto several dozens of servers in the next months, which will probably turn into more than that eventually. It is a year in the making, and quite complex in terms of all the things it requires to run

Re: [Catalyst] on the topic of PAR file distribution.

2010-02-28 Thread Toby Corkindale
On 26/02/10 13:04, Tomas Doran wrote: On 26 Feb 2010, at 01:34, Toby Corkindale wrote: On 26/02/10 11:27, Tommy Butler wrote: What's the downside of this? How is this going to pose a problem for me? Installing from subversion and then CPANning all the required libs into the system via

Re: [Catalyst] KiokuDB, MongoDB and the NoSQL thing

2010-03-01 Thread Toby Corkindale
On 02/03/10 17:07, S.A. Kiehn wrote: I have a couple of production Catalyst/DBIx::Class sites on Debian stable, and then on my personal hobby site I use local::lib to try out new things. Recently I split out my users for this site into a separate model and I thought it a good exercise to learn

Re: [Catalyst] Distributing and updating Cat apps

2010-04-01 Thread Toby Corkindale
On 30/03/10 19:32, Tomáš Znamenáček wrote: Hello! I have a Catalyst application that I would like to upload from the development box to the production server. Is there some kind of best practice to do that? My requirements: 1) The process should take care of the dependencies and run the tests

Re: [Catalyst] Outcome of the Security issue with hashed passwords in C:P:A:Password?

2010-04-07 Thread Toby Corkindale
So, a while back there was some.. slightly heated.. discussion about security issues with C-P-A-Password.. or perhaps one of the modules it uses internally.. in certain cases, if certain options are, or are not, set. Then it quietened down without any apparent conclusion being reached. Now

Re: [Catalyst] Outcome of the Security issue with hashed passwords in C:P:A:Password?

2010-04-08 Thread Toby Corkindale
On 08/04/10 16:21, Andrew Rodland wrote: * In what circumstances was an attack possible? ie. What combination of modules, options, auth methods. * You use Catalyst::Authentication::Credential::Password. * With the hashed password_type. * And your database is compromised. I'd like to

Re: [Catalyst] Re: Outcome of the Security issue with hashed passwords in C:P:A:Password?

2010-04-08 Thread Toby Corkindale
On 08/04/10 22:49, Daniel Pittman wrote: Toby Corkindaletoby.corkind...@strategicdata.com.au writes: On 08/04/10 16:21, Andrew Rodland wrote: * In what circumstances was an attack possible? ie. What combination of modules, options, auth methods. * You use

Re: [Catalyst] Distributing and updating Cat apps

2010-04-12 Thread Toby Corkindale
On 09/04/10 23:11, Bill Moseley wrote: On Thu, Apr 1, 2010 at 12:51 AM, Toby Corkindale We package things up into Debian-style packages, and then upload those to a local repository of packages. Then servers can just be updated using the standard system tools (apt). Hi Toby

Re: [Catalyst] Re: Alternatives to Catalyst ?

2010-04-22 Thread Toby Corkindale
On 23/04/10 09:10, Lyle wrote: Aristotle Pagaltzis wrote: You should switch to PHP. PHP is pronounced poop, and there is far too much poop on the web already. There's also too much noise and not enough signal on the mailing list. Can we all try and resist cheap shots, name-calling,

Re: [Catalyst] Contributing code

2010-06-22 Thread Toby Corkindale
On 22/06/10 00:19, Ævar Arnfjörð Bjarmason wrote: On Mon, Jun 21, 2010 at 13:48, Sir Robert Burbridgerburb...@cisco.com wrote: Out of a discussion last week, I have some code to contribute (largely to Catalyst::Helper). Two quick questions: 1) I've never contributed code to a project

Re: [Catalyst] Contributing code

2010-06-23 Thread Toby Corkindale
On 23/06/10 01:03, Tomas Doran wrote: On 22 Jun 2010, at 08:55, Toby Corkindale wrote: I think I asked about this last time (to great silence), but.. what's the correct base path for the Git repos there? ie. git clone http://git.shadowcat.co.uk//Catalyst-Devel.git Like the CPAN search

Re: [Catalyst] Handling expired sessions gracefully

2010-07-08 Thread Toby Corkindale
On 09/07/10 00:53, Steve wrote: I've looked in the archives and tutorials but can't seem to find examples of handling expired sessions gracefully. I'm admittedly weak in the area of error checking, but I'm working on it :) Here are my questions: In what controller (Root.pm or MyApp.pm) and

[Catalyst] Ann: Cat-Auth-Credential-YubiKey

2010-08-18 Thread Toby Corkindale
Hi, I've created a Catalyst::Authentication module that supports Yubico's YubiKey system. It's uploaded to PAUSE, so should be hitting CPAN mirrors soon as Catalyst::Authentication::Credential::YubiKey Info on the YubiKeys is available at http::/yubico.com/ They're a USB key that provides

Re: [Catalyst] Catalyst and FormBuilder vs. IExplorer 8

2010-10-06 Thread Toby Corkindale
On 06/10/10 14:00, will trillich wrote: Short version: Catalyst/Formbuilder uploads work fine in firefox and chrome, works fine in IE 6... but not IE 8, where it throws an object expected error. Ugh, I hit this a little while ago, but have forgotten the details already. I think you are looking

Re: [Catalyst] Catalyst and FormBuilder vs. IExplorer 8

2010-10-11 Thread Toby Corkindale
On 07/10/10 03:36, Moritz Onken wrote: Sounds like a trailing comma in the javascript somewhere. The trailing-comma problem occurs in IE6/7, but not in IE8. (Thank you, Microsoft). I think Will's problem *doesn't* occur on IE6/7, but just IE8, if I understand the situation correctly: On

Re: [Catalyst] Logging is not immediate

2010-10-18 Thread Toby Corkindale
On 19/10/10 10:46, Ken Beal wrote: Hi, I’m running Catalyst via the scripts\myapp_server.pl script. I have never configured it to run under a web server, and perhaps that’s the answer to my question. The issue is that when I call $c-log(), it doesn’t output anything until the “URL call”

[Catalyst] Handling long-running processes (was Re: Logging is not immediate)

2010-10-18 Thread Toby Corkindale
On 19/10/10 11:05, Bill Moseley wrote: On Mon, Oct 18, 2010 at 4:46 PM, Ken Beal kb...@crosscountry-auto.com mailto:kb...@crosscountry-auto.com wrote: The issue is that when I call $c-log(), it doesn’t output anything until the “URL call” completes. This makes it difficult to watch a

Re: [Catalyst] Handling long-running processes (was Re: Logging is not immediate)

2010-10-19 Thread Toby Corkindale
On 20/10/10 09:19, Chris wrote: I'm curious to know how other people approach this issue. Also, what do you think about the polling approach vs a (background) connection that stays connected waiting for the completion signal? I've found polling much simpler to implement (and test) as it

Re: [Catalyst] Running system commands under FastCGI with IPC::Cmd / IPC::Run

2010-10-21 Thread Toby Corkindale
On 22 October 2010 05:43, Ian Sillitoe i...@sillit.com wrote: I have a Catalyst model that runs a system command as part of a search facility. The system call only takes a fraction of a second so is processed inline and this all works fine when tested outside of Catalyst and when called under

Re: [Catalyst] FormHandler -- pro or con?

2010-12-06 Thread Toby Corkindale
On 1 December 2010 02:34, will trillich will.trill...@serensoft.com wrote: Anybody else *dissing* FormHandler? We've started developing based on FormHandler lately and haven't had troubles... yet? I'm running it, and have been very happy with it. It's nice that you can put all your common form

Re: [Catalyst] Which Form Validation Libs?

2010-12-06 Thread Toby Corkindale
On 30 November 2010 22:26, Shlomi Fish shlo...@iglu.org.il wrote: On Tuesday 30 November 2010 11:31:56 David Schmidt wrote: another great module which from my perception is used the most lately is HTML::FormHandler http://search.cpan.org/~gshank/HTML-FormHandler-0.32005/ I can recommend

Re: [Catalyst] FormHandler -- pro or con?

2010-12-08 Thread Toby Corkindale
On 7 December 2010 18:03, Octavian Rasnita orasn...@gmail.com wrote: From: Toby Corkindale t...@dryft.net On 1 December 2010 02:34, will trillich will.trill...@serensoft.com wrote: Anybody else *dissing* FormHandler? We've started developing based on FormHandler lately and haven't had

Re: [Catalyst] FormHandler -- pro or con?

2010-12-12 Thread Toby Corkindale
On 9 December 2010 19:24, Octavian Rasnita orasn...@gmail.com wrote: Using Moose Roles for forms is awesome. I also agree with this idea, but the fact that the most used constraints, filters and validators should be also manually specified using Perl code is not so nice. It would be nice

Re: [Catalyst] FormHandler -- pro or con?

2010-12-14 Thread Toby Corkindale
On 13 December 2010 21:07, Octavian Rasnita orasn...@gmail.com wrote: From: Toby Corkindale t...@dryft.net On 9 December 2010 19:24, Octavian Rasnita orasn...@gmail.com wrote: Using Moose Roles for forms is awesome. I also agree with this idea, but the fact that the most used constraints

Re: [Catalyst] Opinions on static::simple - with caching

2011-01-31 Thread Toby Corkindale
On 31 January 2011 19:04, Tomas Doran bobtf...@bobtfish.net wrote: On 31 Jan 2011, at 07:17, Toby Corkindale wrote: snip However, I suppose in situations where that matters, you shouldn't be serving files via Static::Simple.. And the regular Static::Simple still provides Last-Modified headers

Re: [Catalyst] Re: Opinions on static::simple - with caching

2011-02-01 Thread Toby Corkindale
On 2 February 2011 13:43, Andrew Rodland and...@cleverdomain.org wrote: On Tuesday, February 01, 2011 08:06:08 PM Toby Corkindale wrote: How do you find Plack at serving static files (via Middleware::Static / App::Static)? Compared to Static::Simple, and compared to native HTTPD. I guess

[Catalyst] [PATCH] Allow Expires and Cache-control headers in Static::Simple

2011-02-02 Thread Toby Corkindale
On 1 February 2011 23:28, Tomas Doran bobtf...@bobtfish.net wrote: On 1 Feb 2011, at 02:17, Toby Corkindale wrote: I'd like to see it as an option on Static::Simple; I could mod that and send a patch over if you liked? Sure, or just commit into a branch (you already have a commit bit, right

  1   2   >