Re: [Catalyst] Progress bar

2012-10-19 Thread Tomas Doran

On 18 Oct 2012, at 16:14, Bill Moseley wrote:
> How close is this version of Catalyst for a release?  Unfortunately, I 
> noticed this while preparing for an app release next week.

About now - there are a couple of other patches, and I have half a tuit spare :)

Cheers
t0m


___
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.org/


[Catalyst] [ANNOUNCE] Catalyst-Runtime 5.90017

2012-10-19 Thread Tomas Doran
I'm very happy to announce the latest release of Catalyst-Runtime.

This release contains a number of small improvements to enable extensibility, 
and a bug fix.

Full changelog below as always.

Cheers
t0m

5.90017 - 2012-10-19 22:33:00
  - Change Catalsyt _parse_attrs so that when sub attr handlers:

1) Can return multiple pairs of new attributes.
2) Get their returned attributes passed through the correct attribute 
handler.

e.g sub _parse_Whatever_attr { return Chained => 'foo', PathPart => 'bar' }

Will now work because both new attributes are respected, and the Chained
attribute is passed to _parse_Chained_attr and fixed up correctly by that.

  - In Catalyst::Test, don't mangle headers of non-HTML responses. RT#79043

  - Refactor request and response class construction to add methods
that roles can hook to feed extra parameters into the constructor
of request or response classes.
___
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.org/


[Catalyst] Use of uninitialized value in delete

2012-10-19 Thread Bill Moseley
Sorry for the duplicate if you are on the SF Perl list.


In server logs I'm seeing this warnings:

Use of uninitialized value in delete


with a line number pointing to this line:

delete $c->stash->{foo};


I didn't think that delete() issued a warning, and I can't seem to make it
happen:
 $ perl -Mwarnings -Mstrict -Wle 'use warnings; use strict; my $x = {};
delete $x->{a}'

Is there something special about $c->stash that might trigger this in Perl?
Anyone else spot these in the logs.


This is on Perl 5.14.2 / Catalyst 5.90016 / mod_perl 2.0.7

-- 
Bill Moseley
mose...@hank.org
___
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.org/


Re: [Catalyst] Two questions about caching

2012-10-19 Thread Hugh Barnard
Thanks Alexander...the FastMmap is being used for caching...but this isn't
a really high-traffic system either, so it may not be an issue...thanks
again Hugh

On 19 October 2012 10:55, Alexander Hartmaier <
alexander.hartma...@t-systems.at> wrote:

>  On 2012-10-19 09:57, Hugh Barnard wrote:
>
> Hi folks
>
> The first question is a little 'simple' but I need to be sure anyway:
>
> 1. If I go $c->cache->set("key", $value);  is that available to all other
> users within the catalyst instance or just for that user session? Sorry!
>
> As you see the cache is on the $c catalyst app instance so it's the same
> regardless of other plugins like session.
> You can create a special key that contains the user id if you need per
> user caching, but you are responsible for the security of the
> implementation.
>
>
> 2. FastMmap vs Memcached [something I know 'outside' Catalyst]. It looks
> as though Memcached has better performance for more complex structures?
> Any comments or [better] benchmarks welcome, I seem to only have forum
> anecdotes that suggest this.
>
> I'm using FastMmap since years without problems for our company apps but
> performance isn't critical because they have not much traffic.
> Are you talking about using it for caching or session storage?
> If session storage and you have your app balanced over multiple servers
> you need a common session storage anyways.
>
>
> Thanks, in advance Hugh Barnard
>
> --
> http://www.hughbarnard.org
> http://www.twitter.com/hughbarnard
> http://www.big-wave-heuristics.com/
>
>
>
> ___
> 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.org/
>
>
>
>
>
> *"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*
> T-Systems Austria GesmbH Rennweg 97-99, 1030 Wien
> Handelsgericht Wien, FN 79340b
>
> *"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*
> Notice: This e-mail contains information that is confidential and may be
> privileged.
> If you are not the intended recipient, please notify the sender and then
> delete this e-mail immediately.
>
> *"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*
>
> ___
> 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.org/
>
>


-- 
http://www.hughbarnard.org
http://www.twitter.com/hughbarnard
http://www.big-wave-heuristics.com/

___
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.org/


Re: [Catalyst] Two questions about caching

2012-10-19 Thread Alexander Hartmaier
On 2012-10-19 09:57, Hugh Barnard wrote:
Hi folks

The first question is a little 'simple' but I need to be sure anyway:

1. If I go $c->cache->set("key", $value);  is that available to all other users 
within the catalyst instance or just for that user session? Sorry!
As you see the cache is on the $c catalyst app instance so it's the same 
regardless of other plugins like session.
You can create a special key that contains the user id if you need per user 
caching, but you are responsible for the security of the implementation.

2. FastMmap vs Memcached [something I know 'outside' Catalyst]. It looks as 
though Memcached has better performance for more complex structures?
Any comments or [better] benchmarks welcome, I seem to only have forum 
anecdotes that suggest this.
I'm using FastMmap since years without problems for our company apps but 
performance isn't critical because they have not much traffic.
Are you talking about using it for caching or session storage?
If session storage and you have your app balanced over multiple servers you 
need a common session storage anyways.

Thanks, in advance Hugh Barnard

--
http://www.hughbarnard.org
http://www.twitter.com/hughbarnard
http://www.big-wave-heuristics.com/




___
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.org/




*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*
T-Systems Austria GesmbH Rennweg 97-99, 1030 Wien
Handelsgericht Wien, FN 79340b
*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*
Notice: This e-mail contains information that is confidential and may be 
privileged.
If you are not the intended recipient, please notify the sender and then
delete this e-mail immediately.
*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*
___
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.org/


[Catalyst] Survey about newcomer experience in the Perl community - closing in 3 days

2012-10-19 Thread Kevin Carillo
Hi,

Thank you to all who already took part in the survey.

For those who have not yet filled in the survey, the survey is still open
until October 22.

If you joined the Perl community within the last 2 years and are
contributing to an open source catalyst app or to the CatalystX namespace,
or if you are contributing in any other way to the Catalyst project, you
are welcome to complete the survey.

You can have access to the survey through the following blog post:
http://blogs.perl.org/users/kevin_carillo/2012/10/newcomer-experience-and-contributor-behavior-in-perl-and-other-foss-communities---survey.html

or via the direct survey link:
https://limesurvey.sim.vuw.ac.nz/index.php?sid=89971&lang=en

Thanks!

Kevin Carillo
___
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.org/


[Catalyst] Two questions about caching

2012-10-19 Thread Hugh Barnard
Hi folks

The first question is a little 'simple' but I need to be sure anyway:

1. If I go $c->cache->set("key", $value);  is that available to all other
users within the catalyst instance or just for that user session? Sorry!

2. FastMmap vs Memcached [something I know 'outside' Catalyst]. It looks as
though Memcached has better performance for more complex structures?
Any comments or [better] benchmarks welcome, I seem to only have forum
anecdotes that suggest this.

Thanks, in advance Hugh Barnard

-- 
http://www.hughbarnard.org
http://www.twitter.com/hughbarnard
http://www.big-wave-heuristics.com/

___
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.org/