Re: [Catalyst] Scalable Catalyst

2009-07-01 Thread Carl Johnstone
I think that the mod_perl mailing list would also be interested in this - there are very few people on that list with practical examples of multi-thread. As far as I'm aware pre-fork is still pretty much the only model recommended. Alejandro Imass wrote: Ok. What would you have done? - not

RE: [Catalyst] Use of uninitialized value $buffer error

2009-07-01 Thread Merlyn Kline
What are people's thoughts about adding a specific warning if you try to write undef? (As you could still cause this warning by doing that explicitly) Depends why you might do this - if it's legitimate (e.g. to force the headers to be flushed?) then it should be handled silently. Otherwise, a

[Catalyst] Audio Debug Logs for Catalyst: Catalyst::TraitFor::Log::Audio

2009-07-01 Thread Russell Jurney
I just created a simple trait for the Catalyst::Log that uses OS X's 'say' utility to log error messages to audio, such that the computer will say them to you. My eyes tire of reading through 100s of lines of debug output, so now sometimes I will have the computer simply talk to me. Its

Re: [Catalyst] Audio Debug Logs for Catalyst: Catalyst::TraitFor::Log::Audio

2009-07-01 Thread Ian Wells
2009/7/1 Russell Jurney russell.jur...@gmail.com: I just created a simple trait for the Catalyst::Log that uses OS X's 'say' utility to log error messages to audio, such that the computer will say them to you.  My eyes tire of reading through 100s of lines of debug output, so now sometimes I

Re: [Catalyst] Re: Supressing passwords in debug messages

2009-07-01 Thread Brian Phillips
I've taken a stab at implementing this as I recently was wanting this functionality. See attached for the patch (including docs and unit tests). Feedback welcome. On Fri, Jan 30, 2009 at 5:20 PM, Byron Young byron.yo...@riverbed.comwrote: Tomas Doran wrote on 2009-01-29: On 29 Jan 2009, at

Re: [Catalyst] adding my_app_name to action paths

2009-07-01 Thread J. Shirley
On Wed, Jul 1, 2009 at 8:43 AM, Mike Glen mike.g...@mindsweep.net wrote: I'm trying to setup a catyst app to run behind nginx so that the app is accessed at http://my.server.com/my_app_name/ I have set this up following instructions at

Re: [Catalyst] Re: Supressing passwords in debug messages

2009-07-01 Thread Brian Phillips
Sorry for the repost but I realized I hadn't updated to svn HEAD before making the patch file. In case that matters, the attached should apply cleanly against r10759. Thanks! On Wed, Jul 1, 2009 at 11:03 AM, Brian Phillips bpphillips...@gmail.combpphillips%2...@gmail.com wrote: I've taken a

Re: [Catalyst] Re: Supressing passwords in debug messages

2009-07-01 Thread Brian Phillips
OK, I'm seriously ruining my first attempt at submitting a patch. :-) I changed the capitalization of a config key without updating the unit tests so blush here's another patch file. Apologies for the spam. I think this is the last one I'll need to post on this issue ... hopefully ... :-) On

[Catalyst] PostgreSQL 8.4 released

2009-07-01 Thread Joshua D. Drake
Hey folks, Thought I would let you know this little wonderful tidbit for the day. PostgreSQL 8.4 has been released. You can check out the release here: http://www.postgresql.org/about/news.1108 Joshua D. Drake -- PostgreSQL - XMPP: jdr...@jabber.postgresql.org Consulting, Development,

[Catalyst] I18N with quotation marks

2009-07-01 Thread Ton Voon
Hi! I wanted to find out how other people are handling this problem. I am localising our app, which consists of strings in html and in dynamic javascript snippets. However, if the translated value contains quotations (such as: s'il vous plait), then it could break the HTML: select

[Catalyst] Configuration process

2009-07-01 Thread Frederic Demians
Hello, It must be a newbie question... I have a simple application, let say MyApp. In lib/MyApp.pm, I ask for standard config loading with: Catalyst qw/ ConfigLoader / I want to add config variables from another source than myapp.conf. But in order to construct those variables I need to

Re: [Catalyst] I18N with quotation marks

2009-07-01 Thread Bill Moseley
On Wed, Jul 1, 2009 at 10:22 AM, Ton Voon ton.v...@opsera.com wrote: Hi! I wanted to find out how other people are handling this problem. I am localising our app, which consists of strings in html and in dynamic javascript snippets. However, if the translated value contains quotations

Re: [Catalyst] I18N with quotation marks

2009-07-01 Thread Christian Lackas
* Bill Moseley mose...@hank.org [090701 19:58]: Hi Ton, On Wed, Jul 1, 2009 at 10:22 AM, Ton Voon ton.v...@opsera.com wrote: I am localising our app, which consists of strings in html and in dynamic javascript snippets. However, if the translated value contains quotations (such as: s'il

Re: [Catalyst] I18N with quotation marks

2009-07-01 Thread Larry Leszczynski
Hi Ton - However, if the translated value contains quotations (such as: s'il vous plait), then it could break the HTML: select value='[% c.loc(Please select one) %]' or the javascript: alert('[% c.loc(Please select one) %]'); We create some custom scalar ops in a subclass of

Re: [Catalyst] I18N with quotation marks

2009-07-01 Thread Larry Leszczynski
We create some custom scalar ops in a subclass of Catalyst::View::TT (code below) that let you do: select value=[% c.loc(Please select one).escape_dq %] Actually, escape_dq won't work here: select value=[% c.loc(Please select one).escape_dq %] but it will work if for some reason you

Re: [Catalyst] PostgreSQL 8.4 released

2009-07-01 Thread Darren Duncan
Joshua D. Drake wrote: Thought I would let you know this little wonderful tidbit for the day. PostgreSQL 8.4 has been released. You can check out the release here: http://www.postgresql.org/about/news.1108 That's great news. Postgres 8.4 introduces some features that I consider very

Re: [Catalyst] Scalable Catalyst

2009-07-01 Thread Alejandro Imass
On Thu, Jul 2, 2009 at 4:08 AM, Carl Johnstonecatal...@fadetoblack.me.uk wrote: I think that the mod_perl mailing list would also be interested in this - there are very few people on that list with practical examples of multi-thread. As far as I'm aware pre-fork is still pretty much the only

Re: [Catalyst] Audio Debug Logs for Catalyst: Catalyst::TraitFor::Log::Audio

2009-07-01 Thread Russell Jurney
Yes, it also helps me determine the state of my controllers in the test server without straining my eyes reading the debug output. And I have MyApp.pm system(say 'go' ); also, which tells me that the test server just reloaded the content and the server is ready for testing again, each

Re: [Catalyst] Audio Debug Logs for Catalyst: Catalyst::TraitFor::Log::Audio

2009-07-01 Thread Russell Jurney
Oh, btw - its up on CPAN now: http://search.cpan.org/~rjurney/Catalyst-TraitFor-Log-Audio-0.01/lib/Catalyst/TraitFor/Log/Audio.pm I'll add Linux support and queueing soon. Russell Jurney russell.jur...@gmail.com On Jul 1, 2009, at 10:20 AM, Ian Wells wrote: 2009/7/1 Russell Jurney