Re: [Catalyst] DBI SQLite driver missing after Catalyst update.

2009-08-21 Thread Jonathan Rockway
is there, and then you can better guess *why* it's there. Regards, Jonathan Rockway -- print just = another = perl = hacker = if $,=$ ___ List: Catalyst@lists.scsys.co.uk Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst Searchable

Re: [Catalyst] RFC: Makefile warning in catalyst apps

2009-07-30 Thread Jonathan Rockway
Can we have a reallyreallywanttoinstallplease ? I also thought --yarly (thanks rafl), --yesinstalldammit, --plztobeintallingz were excellent choices. -iacknowledgethatthistoolisnotabenchmark -- print just = another = perl = hacker = if $,=$ ___

Re: [Catalyst] Authz: How granular to make roles?

2009-07-20 Thread Jonathan Rockway
* On Sun, Jul 19 2009, Jesse Sheidlower wrote: This is more of a philosophical question about how to handle authz with roles, but is perhaps OT for Catalyst, I suppose. http://blog.woobling.org/2009/06/users-accounts-identities-and-roles.html -- print just = another = perl = hacker = if $,=$

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

2009-05-11 Thread Jonathan Rockway
in smartmatch in 5.10.0 because not enough of us tested the dev releases. Or, you can use Debian, which fixed this bug in its Perl a while ago: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=488088 Regards, Jonathan Rockway -- print just = another = perl = hacker

Re: [Catalyst] New restarter code in Catalyst::Devel 1.14_01

2009-05-11 Thread Jonathan Rockway
, arguably the most critical part, working correctly yet... but it will soon, as I finally figured it out this morning. :) Regards, Jonathan Rockway -- print just = another = perl = hacker = if $,=$ ___ List: Catalyst@lists.scsys.co.uk Listinfo: http

Re: [Catalyst] The Netiquette thread (OT)

2009-04-28 Thread Jonathan Rockway
, using email doesn't make you cool. ;) Regards, Jonathan Rockway -- print just = another = perl = hacker = if $,=$ ___ List: Catalyst@lists.scsys.co.uk Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst Searchable archive: http

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

2009-04-27 Thread Jonathan Rockway
? Regards, Jonathan Rockway -- print just = another = perl = hacker = if $,=$ ___ 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

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

2009-04-27 Thread Jonathan Rockway
, but they are fixed with a quick press of W w, so there's no need to complain about them.) Regards, Jonathan Rockway -- print just = another = perl = hacker = if $,=$ ___ List: Catalyst@lists.scsys.co.uk Listinfo: http://lists.scsys.co.uk/cgi-bin

Re: [Catalyst] RFC: Sample press release and announcement homepage

2009-04-24 Thread Jonathan Rockway
would call me out on one or two bits. I'll mellow it out if people think I should. Like I said, no need to tone it down. Regards, Jonathan Rockway -- print just = another = perl = hacker = if $,=$ ___ List: Catalyst@lists.scsys.co.uk Listinfo: http

Re: [Catalyst] Tutorial for cache?

2009-04-23 Thread Jonathan Rockway
* On Thu, Apr 16 2009, Peter Karman wrote: I had the same experience and just switched to the File cache plugin instead. Are you storing big things, i.e. pieces of data bigger than the cache pages? If so, fastmmap will silently not store those pieces of data. In general, I find it very flaky,

Re: [Catalyst] PAR file - can't build it . Prolly documentation is out of date?

2009-04-22 Thread Jonathan Rockway
from the deployed PAR. That will alleviate many of my PAR deployment worries. (Ping me on IRC for more details, or see http://github.com/jrockway/moosex-runnable ) Regards, Jonathan Rockway -- print just = another = perl = hacker = if $,=$ ___ List

Re: [Catalyst] General Web- and OO-question

2009-03-29 Thread Jonathan Rockway
/PartialObject.pm Patches welcome. I hacked this together at OSCON last year, but haven't actually used it. Regards, Jonathan Rockway -- print just = another = perl = hacker = if $,=$ ___ List: Catalyst@lists.scsys.co.uk Listinfo: http://lists.scsys.co.uk/cgi

Re: [Catalyst] Catalyst - any good AJAX tutes?

2009-03-06 Thread Jonathan Rockway
use JSORB for forms. http://search.cpan.org/~stevan/JSORB-0.01/ Obviously, you are responsible for writing the JSORB endpoints, but that's just a Simple Matter Of Metaprogramming (and is better than fighting with form builders that don't quite work right). Regards, Jonathan Rockway -- print just

Re: [Catalyst] Maybe there is a need for some speedups of 'config' method ?

2009-02-23 Thread Jonathan Rockway
it is to patch Catalyst to make the misuse faster. Regards, Jonathan Rockway -- print just = another = perl = hacker = if $,=$ ___ List: Catalyst@lists.scsys.co.uk Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst Searchable archive: http

Re: [Catalyst] Models and inflating

2009-02-23 Thread Jonathan Rockway
with plain DBIC. I think it's a bad idea to use this feature except in very special cases -- of which full_name is not one. Regards, Jonathan Rockway -- print just = another = perl = hacker = if $,=$ ___ List: Catalyst@lists.scsys.co.uk Listinfo: http

Re: [Catalyst] Models and inflating

2009-02-23 Thread Jonathan Rockway
it. (Your full_name example is just the sort of thing that you would keep inside DBIC.) Regards, Jonathan Rockway -- print just = another = perl = hacker = if $,=$ ___ List: Catalyst@lists.scsys.co.uk Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman

Re: [Catalyst] Maybe there is a need for some speedups of 'config' method ?

2009-02-22 Thread Jonathan Rockway
for everyone! That is what free software is all about. Regards, Jonathan Rockway -- print just = another = perl = hacker = if $,=$ ___ List: Catalyst@lists.scsys.co.uk Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst Searchable archive: http

Re: [Catalyst] Requirements for Catalyst

2009-02-21 Thread Jonathan Rockway
memory, upgrade. Regards, Jonathan Rockway -- print just = another = perl = hacker = if $,=$ ___ List: Catalyst@lists.scsys.co.uk Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst Searchable archive: http://www.mail-archive.com

Re: [Catalyst] Re: decoding in core

2009-02-20 Thread Jonathan Rockway
, for someone else to look at and perhaps implement. :) Regards, Jonathan Rockway -- print just = another = perl = hacker = if $,=$ ___ List: Catalyst@lists.scsys.co.uk Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst Searchable archive: http

Re: [Catalyst] Re: decoding in core

2009-02-20 Thread Jonathan Rockway
* On Fri, Feb 20 2009, Jonathan Rockway wrote: Braindump follows. Oh yeah, one other thing. IDNs will need to be decoded/encoded, probably. ($c-req-host should contain perl characters, but links should probably be punycoded. Fun!) -- print just = another = perl = hacker

Re: [Catalyst] RFC: The paradox of choice in web development

2009-02-17 Thread Jonathan Rockway
, Jonathan Rockway -- print just = another = perl = hacker = if $,=$ ___ 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

Re: [Catalyst] Objects and persistence

2009-01-30 Thread Jonathan Rockway
don't even need. YMMV. Regards, Jonathan Rockway -- print just = another = perl = hacker = if $,=$ ___ List: Catalyst@lists.scsys.co.uk Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst Searchable archive: http://www.mail-archive.com

Re: [Catalyst] Re: Detach won't detach?

2009-01-29 Thread Jonathan Rockway
, you are crazy... and not in a good way. Aristotle's code is the idiomatically correct version, so that's what you should aim for in this case and in general. Regards, Jonathan Rockway -- print just = another = perl = hacker = if $,=$ ___ List: Catalyst

Re: [Catalyst] Re: Detach won't detach?

2009-01-27 Thread Jonathan Rockway
user_logged_in || $c-redirect( ... ) || 0; } Now I have that much more disk space free for pr0n! Regards, Jonathan Rockway -- print just = another = perl = hacker = if $,=$ ___ List: Catalyst@lists.scsys.co.uk Listinfo: http://lists.scsys.co.uk/cgi

Re: [Catalyst] Re: Detach won't detach?

2009-01-27 Thread Jonathan Rockway
* On Tue, Jan 27 2009, pie3...@comcast.net wrote: Why not sub auto :Private { my $c = pop; return user_logged_in || $c-res-redirect( ... ); } Because now the correctness of your application depends on undocumented behavior (the return value of $c-res-redirect). -- print

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

2009-01-23 Thread Jonathan Rockway
(and Catalyst) classes like this. We don't have any planned at the moment, but that would change if I received e-mails indicating interest :) So anyway, if you are interested, e-mail me off list, and we will see if we can set something up. Regards, Jonathan Rockway -- print just = another = perl

Re: [Catalyst] how to confirm before deleting

2009-01-21 Thread Jonathan Rockway
enable Javascript. It's Two Thousand Fucking Nine./noscript Seriously. Regards, Jonathan Rockway -- print just = another = perl = hacker = if $,=$ ___ List: Catalyst@lists.scsys.co.uk Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst

Re: [Catalyst] mod_perl converts latin1 to utf8 !?

2008-12-22 Thread Jonathan Rockway
-8859-1', ...) I bet this will solve your problem, but if not, let us know what code you tried and where, and we will try to help you some more. Regards, Jonathan Rockway ___ List: Catalyst@lists.scsys.co.uk Listinfo: http://lists.scsys.co.uk/cgi-bin

[Catalyst] BerkeleyDB session storage

2008-12-11 Thread Jonathan Rockway
the action.) Regards, Jonathan Rockway -- print just = another = perl = hacker = if $,=$ http://blog.jrock.us/ ___ List: Catalyst@lists.scsys.co.uk Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst Searchable archive: http://www.mail

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

2008-11-30 Thread Jonathan Rockway
* 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 do? If these people

Re: [Catalyst] One App, multiple databases

2008-11-20 Thread Jonathan Rockway
, Jonathan Rockway -- print just = another = perl = hacker = if $,=$ ___ 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

Re: [Catalyst] Very Simple Question

2008-11-18 Thread Jonathan Rockway
::Inspector; say join \n, @{Class::Inspector-methods(ref $object, 'public')}; I also recommend that you try out Devel::REPL if you haven't already. At the very least, it will save you from typing the 'say join \n, @{...}' part. Regards, Jonathan Rockway -- print just = another = perl = hacker

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

2008-10-29 Thread Jonathan Rockway
to post to a mailing list! Regards, Jonathan Rockway -- print just = another = perl = hacker = if $,=$ ___ List: Catalyst@lists.scsys.co.uk Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst Searchable archive: http://www.mail-archive.com

Re: [Catalyst] How to detect cancelled requests?

2008-10-29 Thread Jonathan Rockway
are using $c-res-write for this, right? Regards, Jonathan Rockway -- print just = another = perl = hacker = if $,=$ ___ List: Catalyst@lists.scsys.co.uk Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst Searchable archive: http

Re: [Catalyst] Success stories please

2008-10-05 Thread Jonathan Rockway
of me :) Regards, Jonathan Rockway -- print just = another = perl = hacker = if $,=$ ___ 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

Re: [Catalyst] Re: CSRF

2008-10-01 Thread Jonathan Rockway
, Jonathan Rockway -- print just = another = perl = hacker = if $,=$ ___ 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

Re: [Catalyst] tips for troubleshooting/QAing Unicode

2008-09-30 Thread Jonathan Rockway
always use characters from ASCII (foo), Latin (ÿ), and Japanese (ほげ). If your app gets those three right, it is probably OK. Regards, Jonathan Rockway -- print just = another = perl = hacker = if $,=$ ___ List: Catalyst@lists.scsys.co.uk Listinfo: http

Re: [Catalyst] #catalyst

2008-09-13 Thread Jonathan Rockway
is not eternal and can be released soon. You're unbanned now. In the future, just /msg an op (usually mst) and they will take care of it (especially if it's because your client malfunctioned). Regards, Jonathan Rockway -- print just = another = perl = hacker

Re: [Catalyst] Catalyst::Response - send a file

2008-08-19 Thread Jonathan Rockway
, Jonathan Rockway -- print just = another = perl = hacker = if $,=$ ___ 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

Re: [Catalyst] catalyst start-up

2008-08-18 Thread Jonathan Rockway
* On Sun, Aug 17 2008, Matt S Trout wrote: That makes no sense. How does restarting other processes have any effect at all? Locking? Not that I've ever seen this for sessions or cache, but it could make sense if the app is doing its own locking of some shared resource. Regards, Jonathan

Re: [Catalyst] Squatting::On::Catalyst

2008-08-01 Thread Jonathan Rockway
of use. (We've gotten rid of TT in the production version, for example, because the fragments are too hard for designers to work with. Instead, we are using Template::Refine.) Regards, Jonathan Rockway -- print just = another = perl = hacker

Re: [Catalyst] Debug with FCGI

2008-08-01 Thread Jonathan Rockway
* On Fri, Aug 01 2008, Angel Kolev wrote: Doesn`t work too. All debug output goes to apache log. I tryed with -e option - same result. Use the keep error option, -e. Regards, Jonathan Rockway -- print just = another = perl = hacker

Re: [Catalyst] Debug with FCGI

2008-08-01 Thread Jonathan Rockway
* On Fri, Aug 01 2008, Jonathan Rockway wrote: * On Fri, Aug 01 2008, Angel Kolev wrote: Doesn`t work too. All debug output goes to apache log. I tryed with -e option - same result. Use the keep error option, -e. Hmm, I should read the whole post before I reply. Anyway, it should work

Re: [Catalyst] auto re-load of application yaml config file?

2008-07-24 Thread Jonathan Rockway
* On Thu, Jul 24 2008, Pedro Melo wrote: And yes, the tradeoff is mod_perl, which is more complex than FCGI. How does Perlbal require mod_perl? I would just run the application's own HTTP server behind Perlbal. Not very complex at all. -- print just = another = perl = hacker = if $,=$

Re: [Catalyst] Preventing simultaneous logins

2008-07-23 Thread Jonathan Rockway
session stores provide this much flexibility, but you could probably hack something similar if you really needed to. Regards, Jonathan Rockway -- print just = another = perl = hacker = if $,=$ ___ List: Catalyst@lists.scsys.co.uk Listinfo: http

Re: [Catalyst] auto re-load of application yaml config file?

2008-07-22 Thread Jonathan Rockway
read a variable will mean the config settings update quickly, but you also slow your app way down. YMMV and all that ;) Regards, Jonathan Rockway -- print just = another = perl = hacker = if $,=$ ___ List: Catalyst@lists.scsys.co.uk Listinfo: http

Re: [Catalyst] XPath, DOM problem

2008-07-08 Thread Jonathan Rockway
'); # ERROR #USE dom = XML.DOM; #prod_tree = dom.parse('config/xml/sitemap.xml'); # ERROR -%] BTW, XML::LibXML is a much nicer library for doing anything related to XML in Perl. Using anything else is slightly crazy ;) Regards, Jonathan Rockway -- print just = another = perl = hacker

Re: [Catalyst] connecting to more than one database

2008-07-03 Thread Jonathan Rockway
that returns the tables in the second database. DBIC will probably deal with those, at least for reads. But that's not really optimal; just make everything one database. Regards, Jonathan Rockway -- print just = another = perl = hacker = if $,=$ ___ List

Re: [Catalyst] connecting to more than one database

2008-07-03 Thread Jonathan Rockway
is a library. As for tables that aren't relevant to a given app, the answer is simple; just don't use those when you don't need them. Regards, Jonathan Rockway -- print just = another = perl = hacker = if $,=$ ___ List: Catalyst@lists.scsys.co.uk Listinfo

Re: [Catalyst] use base or use parent?

2008-06-24 Thread Jonathan Rockway
, not $c-form. You might enjoy this page: http://dev.catalyst.perl.org/new-wiki/thebookerrata Anyway, I'm not sure why you would think that use base 'Catalyst::Controller::FormBuilder' in a controller would add methods to $c, so I won't even ask. Regards, Jonathan Rockway -- print just = another

Re: [Catalyst] Capture page on server?

2008-06-23 Thread Jonathan Rockway
, though. Calling a method is simpler, faster, and cleaner than running an entire request and capturing the result, so try to structure your app in such a way as to allow that. Regards, Jonathan Rockway -- print just = another = perl = hacker

Re: [Catalyst] Re: Private Chained Actions?

2008-06-22 Thread Jonathan Rockway
* On Fri, Jun 20 2008, Aristotle Pagaltzis wrote: * Jonathan Rockway [EMAIL PROTECTED] [2008-06-20 22:20]: Yeah, that's ugly. What you really want are method modifiers: package MyApp::Controller::Foo; use Moose; BEGIN { extends 'Catalyst::Controller' }; sub

Re: [Catalyst] Running java inside Catalyst

2008-06-22 Thread Jonathan Rockway
Inline::* inside Catalyst. You do know that Inline::Java uses system() to call java, right? Regards, Jonathan Rockway -- print just = another = perl = hacker = if $,=$ ___ List: Catalyst@lists.scsys.co.uk Listinfo: http://lists.scsys.co.uk/cgi-bin

Re: [Catalyst] Re: Private Chained Actions?

2008-06-20 Thread Jonathan Rockway
) = @_; $c-stash-{setup} = 'done'; }; 1; You can also say: before [qw/method1 method2 method3 .../] = sub { ... } to do something before a bunch of methods at once. See perldoc Moose for details. Regards, Jonathan Rockway -- print just = another = perl = hacker

Re: [Catalyst] Re: Catalyst site design drafts feedback thread

2008-06-13 Thread Jonathan Rockway
Catalyst regardless of whether the background color on the website is #83f8e2 or #85f9ff. Let's spend our collective efforts doing something other than arguing about colors. Regards, Jonathan Rockway -- print just = another = perl = hacker

Re: [Catalyst] Re: Catalyst site design drafts feedback thread

2008-06-13 Thread Jonathan Rockway
* On Fri, Jun 13 2008, Jonathan Tweed wrote: On 13 Jun 2008, at 13:51, Jonathan Rockway wrote: It all boils down to this. Catalyst is the only really useful Perl web framework. Perl is the only really useful language for writing web applications. So people are going to use Catalyst

Re: [Catalyst] Re: Catalyst site design drafts feedback thread

2008-06-12 Thread Jonathan Rockway
[EMAIL PROTECTED] [2008-06-11 22:05]: Just so you know, it's completely impossible to follow the flow of the discussion when you top-post on top of 5 other mails. If you comment inline, and edit out the posts that you aren't replying to, it's much easier to follow. Regards, Jonathan Rockway

Re: [Catalyst] Users hierarchy

2008-06-06 Thread Jonathan Rockway
libraries use other values ( and hey, it worked!, for example). Additionally, 0 is == to a variety of true values, including the string 0 but true. So just use !$boolean to test if something is false :) Regards, Jonathan Rockway -- print just = another = perl = hacker

Re: [Catalyst] Authorization ACL: future plans?

2008-06-06 Thread Jonathan Rockway
done that.) Regards, Jonathan Rockway -- print just = another = perl = hacker = if $,=$ ___ 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

Re: [Catalyst] Users hierarchy

2008-06-04 Thread Jonathan Rockway
change my primary key from user_id to id and change my column parent_id to parent like this module requires it would mean changing a lot of other older applications which depend on this database... What about DBIx::Class::Tree? I've used this for a user hierarchy, actually. Regards, Jonathan

Re: [Catalyst] Users hierarchy

2008-06-04 Thread Jonathan Rockway
* On Tue, Jun 03 2008, [EMAIL PROTECTED] wrote: while ($found==false $ancestor) { Perl does not have a false operator. Regards, Jonathan Rockway -- print just = another = perl = hacker = if $,=$ ___ List: Catalyst@lists.scsys.co.uk Listinfo: http

Re: [Catalyst] ANNOUNCE: Catalyst::Devel 1.07 and Catalyst::Manual5.7012 released to CPAN

2008-06-03 Thread Jonathan Rockway
are better. Does that mean it's impossible to code python if you are blind? Theoretically you can use a Braille TTY. Regards, Jonathan Rockway -- print just = another = perl = hacker = if $,=$ ___ List: Catalyst@lists.scsys.co.uk Listinfo: http

Re: [Catalyst] Suggestions for CatalystX::Installer

2008-05-29 Thread Jonathan Rockway
to die very soon. I would rather have PPI (via Stylish) deal with it. /aside You missed 'make installdeps'. installdeps is a dependency of all, so it will probably Work Out All Right. Regards, Jonathan Rockway -- print just = another = perl = hacker

Re: [Catalyst] UTF-8 Conversion on the fly

2008-05-23 Thread Jonathan Rockway
($stored_encoding, $stored_webpage)); Regards, Jonathan Rockway -- print just = another = perl = hacker = if $,=$ ___ List: Catalyst@lists.scsys.co.uk Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst Searchable archive: http://www.mail

Re: [Catalyst] Catalyst using fast CGI

2008-05-22 Thread Jonathan Rockway
), but it seems odd to not have a directive like FastCgiServer somewhere. I guess the AddHandler could be doing that, but since it's not working, probably not. http://www.fastcgi.com/mod_fastcgi/docs/mod_fastcgi.html#FastCgiServer Regards, Jonathan Rockway -- print just = another = perl = hacker

Re: [Catalyst] Userpasswords

2008-05-22 Thread Jonathan Rockway
- make_encode_sub-($password), \n; Yes, the password is echoed. Regards, Jonathan Rockway -- print just = another = perl = hacker = if $,=$ ___ List: Catalyst@lists.scsys.co.uk Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo

Re: [Catalyst] uri_for() doesn't encode to utf8 first argument

2008-05-16 Thread Jonathan Rockway
= $c-namespace; OK, but it looks like you forgot the tests. :) However, I think the patch is sound. Please check that things like: uri_for('/controller/ほげ') *click that link* dispatch correctly, though. Regards, Jonathan Rockway -- print just = another = perl = hacker

Re: [Catalyst] FYI: Contracting possibilities

2008-05-13 Thread Jonathan Rockway
* On Tue, May 13 2008, Ian Docherty wrote: Ian Docherty always feels people who refer to themselves in the third person are being pretentious, as in http://zenshadow.vox.com/profile/ ;-) Any English style guide will tell you to write a self-introduction like this. Regards, Jonathan Rockway

Re: [Catalyst] IMPORTANT: To all Catalyst::Whatever Authors, please read and ACT

2008-05-11 Thread Jonathan Rockway
not the syntax for you :) Regards, Jonathan Rockway -- print just = another = perl = hacker = if $,=$ ___ List: Catalyst@lists.scsys.co.uk Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst Searchable archive: http://www.mail-archive.com

Re: [Catalyst] session in DB example in Catalyst book

2008-05-11 Thread Jonathan Rockway
, later on in the book I call the model DBIC for the other applications; I like this style better and I wrote those parts more recently :) Anyway, after you've checked that DBIC doesn't appear in your configuration, let me know if it still doesn't work. Regards, Jonathan Rockway -- print just

Re: [Catalyst] session in DB example in Catalyst book

2008-05-11 Thread Jonathan Rockway
-{session}-{dbic_class} || 'DBIC::Session'; } As I've mentioned in two other posts, I assume Andrew's problem is that he didn't configure the plugin as per p.60 of the book. After reading this method, I am even more sure that I'm right :) Regards, Jonathan Rockway -- print just = another = perl

Re: [Catalyst] Suggestions for CatalystX::Installer

2008-05-11 Thread Jonathan Rockway
through $schema-deploy(), or a SQL script, or another method DBICx::Deploy - run the app's test suite and report if tests succeed or fail make test Regards, Jonathan Rockway -- print just = another = perl = hacker = if $,=$ ___ List: Catalyst

Re: [Catalyst] Invalid session ids being generated

2008-05-10 Thread Jonathan Rockway
::Plugin::Session and it worked! Woohoo! Both of these sound like fragile workarounds. If you guys can do a bit more digging, I would appreciate it. It would be good to actually fix the problems, after all. Regards, Jonathan Rockway -- print just = another = perl = hacker

Re: [Catalyst] uri_for() doesn't encode to utf8 first argument

2008-05-06 Thread Jonathan Rockway
to review your changes. GNU diff accepts an --ignore-space-change option that should remove these extra changes. Regards, Jonathan Rockway -- print just = another = perl = hacker = if $,=$ ___ List: Catalyst@lists.scsys.co.uk Listinfo: http

Re: [Catalyst] FastCGI: incomplete headers (0 bytes) received from server

2008-05-06 Thread Jonathan Rockway
? It looks like your frontend server is assuming the Catalyst app died, when in reality it might just be taking a long time. I'm not sure what would cause the session stuff to behave differently. Probably time to add some $c-log-debug messages to your app in key places. Regards, Jonathan Rockway

Re: Fw: high school reunion [Catalyst] (no subject)

2008-05-02 Thread Jonathan Rockway
* On Fri, May 02 2008, rik knox wrote: I''AM RIK KNOX WAS AT WEST DENTON HIGH SCHOOL NORTH HOUSE MR LAWRENCE WAS MY FORM TEACHER, WANT TO HOOK UP WITH ANYONE YES ANYONE WHO WAS AT SCHOOL SAME TIME .LOOKING FOR ANYONE FROM WEST DENTON HIGH SCHOOL 1976 PLEASE EMAIL ME What.

Re: [Catalyst] $row-copy causing exit from controller(!)

2008-05-01 Thread Jonathan Rockway
) If yes and no: see above. I have a feeling it's the first one. Another possibility is that copy is last-ing out of itself. Regards, Jonathan Rockway -- print just = another = perl = hacker = if $,=$ ___ List: Catalyst@lists.scsys.co.uk Listinfo: http

Re: [Catalyst] Catalyst website

2008-04-29 Thread Jonathan Rockway
newbies are likely to find it? Something to the tune of Having trouble? Click here for important information on the Catalyst book. I will happily submit patch to the website if this is not shot down. +1 Regards, Jonathan Rockway -- print just = another = perl = hacker

Re: [Catalyst] So, what do we want in the -next- book?

2008-04-29 Thread Jonathan Rockway
* On Tue, Apr 29 2008, Mark Keating wrote: Dare I say, an Enlightened Perl Development book? Perl for Enterprise: A look at Enlightened Perl Development But first, the EPO needs to create a publishing company called ORLY. -- print just = another = perl = hacker = if $,=$

Re: [Catalyst] So, what do we want in the -next- book?

2008-04-29 Thread Jonathan Rockway
* On Tue, Apr 29 2008, Peter Corlett wrote: On Sun, Apr 27, 2008 at 03:01:47AM -0500, Jonathan Rockway wrote: [...] Anyway, I hate to break this to you... if you want to know every detail of how the code works, you have to read the code. Reading code is the most important skill a programmer

Re: [Catalyst] Re: So, what do we want in the -next- book?

2008-04-28 Thread Jonathan Rockway
* On Mon, Apr 28 2008, Ali M. wrote: On Mon, Apr 28, 2008 at 7:29 AM, Jonathan Rockway [EMAIL PROTECTED] wrote: 2) Learn how to use Catalyst (read my book) Sorry to say this, but your book is not a good book! I cannot in good faith recommend it to anyone. Please consider believing

Re: [Catalyst] Re: So, what do we want in the -next- book?

2008-04-27 Thread Jonathan Rockway
internals, I'll do it. But I bet you'll find that it's not worth it. Regards, Jonathan Rockway -- print just = another = perl = hacker = if $,=$ ___ List: Catalyst@lists.scsys.co.uk Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst

Re: [Catalyst] Why does $c-stats require -Debug flag?

2008-04-24 Thread Jonathan Rockway
, it doesn't really look good, right? The stats code is good stuff. Why taint it with flamewars when it can be loved-by-everyone in just a few minutes? :) Regards, Jonathan Rockway -- print just = another = perl = hacker = if $,=$ ___ List: Catalyst

Re: [Catalyst] Why does $c-stats require -Debug flag?

2008-04-24 Thread Jonathan Rockway
community standards and so on, I am tired of talking about them. It's boring. You know how the old saying goes -- shut the fuck up and write some code :) Regards, Jonathan Rockway -- print just = another = perl = hacker = if $,=$ ___ List: Catalyst

Re: [Catalyst] Catalyst and PayPal

2008-04-21 Thread Jonathan Rockway
the gears. Seeing the gears means it's way too easy to get your hair caught in them, and this is a problem that obviously worries me :) Regards, Jonathan Rockway -- print just = another = perl = hacker = if $,=$ ___ List: Catalyst@lists.scsys.co.uk

Re: [Catalyst] Unit Testing

2008-04-20 Thread Jonathan Rockway
* On Sun, Apr 20 2008, Octavian Rasnita wrote: Please tell us if we can find an example of putting the logic in the model than call those methods from the controller. http://www.jrock.us/fp2008/catalyst/start.html Using a DBIC-based model works the same way. Regards, Jonathan Rockway

Re: [Catalyst] Testing View

2008-04-19 Thread Jonathan Rockway
. The important parts of your application should reside in easily-testable classes, and Catalyst should just be a few lines of code to make the those classes available to web users. Regards, Jonathan Rockway -- print just = another = perl = hacker

Re: [Catalyst] Django Dash, opportunity for Catalyst?

2008-04-16 Thread Jonathan Rockway
. Let's do a Catalyst version at YAPC::NA (and if it goes well, YAPC::EU). I say... 1 day to write your app, the next day to present it to everyone and receive highly valuable prizes if yours is the best. Discuss amongst yourselves. Regards, Jonathan Rockway -- print just = another = perl = hacker

Re: [Catalyst] Re: about req.param

2008-04-11 Thread Jonathan Rockway
. (It's for compatibility, not for use in new applications.) If you really want to use a function call instead of a hash lookup, apply this role to the request class: http://git.jrock.us/?p=MooseX-Param-Safe.git;a=blob;f=lib/MooseX/Param/Safe.pm;hb=HEAD Regards, Jonathan Rockway -- print

Re: [Catalyst] Sending email safely with Catalyst

2008-04-11 Thread Jonathan Rockway
figure out what to do. Much better than putting a queue in front of a queue, IMHO. This is UNIX after all. Regards, Jonathan Rockway -- print just = another = perl = hacker = if $,=$ ___ List: Catalyst@lists.scsys.co.uk Listinfo: http

Re: [Catalyst] CatalystSites.org

2008-04-02 Thread Jonathan Rockway
* On Wed, Apr 02 2008, Oleg Pronin wrote: 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

Re: [Catalyst] Re: Patch for Catalyst::Plugin::Unicode::Encoding

2008-03-21 Thread Jonathan Rockway
can't safely decode it. Is anyone having a problem with decoding things that are already decoded? Or is this only a theoretical problem? Regards, Jonathan Rockway -- print just = another = perl = hacker = if $,=$ ___ List: Catalyst@lists.scsys.co.uk

Re: [Catalyst] Catalyst controllers - can they be created without catalyst.pl helper script?

2008-03-20 Thread Jonathan Rockway
to read it. Regards, Jonathan Rockway -- print just = another = perl = hacker = if $,=$ ___ 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

Re: [Catalyst] Patch for Catalyst::Plugin::Unicode::Encoding

2008-03-18 Thread Jonathan Rockway
, Jonathan Rockway -- print just = another = perl = hacker = if $,=$ ___ 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

Re: [Catalyst] Patch for Catalyst::Plugin::Unicode::Encoding

2008-03-18 Thread Jonathan Rockway
it. Then we should not try to decode it again. Regards, Jonathan Rockway -- print just = another = perl = hacker = if $,=$ ___ List: Catalyst@lists.scsys.co.uk Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst Searchable archive: http

Re: [Catalyst] Patch for Catalyst::Plugin::Unicode::Encoding

2008-03-18 Thread Jonathan Rockway
* On Wed, Mar 19 2008, Jonathan Rockway wrote: We should not need to check the flag. The incoming data should be encoded. Then we should decode it. Then we should not try to decode it again. A key thing I forgot to mention is that is_utf8 doesn't mean we tried to decode this already

Re: [Catalyst] Automatically uri_unescape parameters

2008-03-17 Thread Jonathan Rockway
this is what he is talking about. If it is, the module he is looking for is URI::Escape. If he's talking about unescaping the querystring, that should be handled by Catalyst and if something is going wrong, a failing test case would be appreciated. Regards, Jonathan Rockway -- print just = another = perl

Re: [Catalyst] implementing ajax

2008-03-12 Thread Jonathan Rockway
you think Perl parses JSON?) It's a code vs. data issue. Yes, evalling code is dangerous. So don't do that. Treat your data as data and you won't have a problem. Regards, Jonathan Rockway -- print just = another = perl = hacker = if $,=$ ___ List

Re: [Catalyst] Instant CRUD with DBIC::Schema

2008-03-12 Thread Jonathan Rockway
* On Wed, Mar 12 2008, Zbigniew Lukasiak wrote: don't need to create wrappers for each table (which would be a cut and paste excercise). Well, a metaprogramming exercise anyway. Regards, Jonathan Rockway -- print just = another = perl = hacker

Re: [Catalyst] Catalyst @ Flourish Conference

2008-03-11 Thread Jonathan Rockway
by people I went to school that *still haven't graduated* even though they started wayyy before me. It's sad.) Regards, Jonathan Rockway ___ List: Catalyst@lists.scsys.co.uk Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst Searchable

  1   2   >