Re: [Catalyst] Re: [Dbix-class] Re: utf8 / pg double encoding problem

2008-01-09 Thread Ashley
And thank you for the chance to not look like a dummy for a change. :) On Jan 9, 2008, at 1:32 PM, Daniel McBrearty wrote: Thanks Ashley, that did indeed fix the JSON problem! (wish I'd remembered to write a test *before* I fixed it like this though ;-) cheers Daniel On Jan 7, 2008 9:28

Re: [Catalyst] POD viewer

2008-01-10 Thread Ashley
but the presentation is quite nice. Thanks! http://dev.catalyst.perl.org/repos/Catalyst/trunk/examples/ CatalystAdvent/ Regards, Jonathan Rockway On Wed, 2008-01-09 at 08:19 +0100, Dami Laurent (PJ) wrote: -Message d'origine- De : Ashley [mailto:[EMAIL PROTECTED] Envoyé : mercredi, 9

Re: [Catalyst] Found a simple way to restrain the verbosity of C::C::FormBuilder under debug

2008-01-20 Thread Ashley
) should agree on precedence before someone tries to do it. Like so? I haven't looked at the guts for this stuff and I'm quoting flag precedence from memory. myapp_local.yml:debug myapp.yml:debug MYAPP_DEBUG CATALYST_DEBUG -Debug -Ashley ___ List

Re: [Catalyst] REST - like uri design for CRUD

2008-01-20 Thread Ashley
know to serve the form for updating. That seems to be the real point of /class/id//update. I suppose that should be /class/id//edit instead and it would, if it could, properly PUT the form to /class/id/, yes? -Ashley ___ List: Catalyst

[Catalyst] OT: YUI v Ext JS

2008-01-25 Thread Ashley
the page is? Thanks! -Ashley ___ 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] OT: YUI v Ext JS

2008-01-25 Thread Ashley
On Jan 25, 2008, at 6:07 PM, Peter Karman wrote: Ashley wrote on 1/25/08 6:44 PM: * Does Ext JS's grid have all the same goodies as YUI's DataTable? I haven't used Ext yet. But have you looked at: http://developer.yahoo.com/yui/examples/datatable/dt_cellediting.html ? Yes. Unless I'm

Re: [Catalyst] Weird loss of user in session

2008-02-04 Thread Ashley
Solved. I have a theory. I think I had a session persisting from before I turned off verify_address. Maybe? I also went back to short names authentication and session instead of the new namespaced Plugin style. In any case, it was apparently PEBKAC. Thanks for looking. -Ashley On Feb 4

Re: [Catalyst] Schedule::Cron

2008-02-13 Thread Ashley
for that. If it ever gets done I'll put it on the wiki at least. -Ashley ___ 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] So, what do we want in the -next- book?

2008-02-18 Thread Ashley
entry. Focusing on design patterns and plugins + DBIC and TT2 and gracefully degrading Ajax stuff. Depending on how busy I stay right now it might not be done for a few months but with luck I might get it posted in three or four weeks and ask for feedback + corrections/additions. -Ashley On Feb 18

Re: [Catalyst] Distributed session storage problems/questions [SOLVED]

2008-02-21 Thread Ashley
and only supported the older key style.] -Ashley ___ 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

Re: [Catalyst] Alphabetical Paging based on First Letter

2008-02-27 Thread Ashley
. -Ashley ___ 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] The performance test of 6 leading frameworks

2008-02-29 Thread Ashley
That's a hot tip. Put it in the mojomojo. Even if untested now, someone will eventually and update it if necessary. On Feb 29, 2008, at 2:03 PM, Jonathan Rockway wrote: * On Fri, Feb 29 2008, Dab wrote: Thank you for your answers If asked that question is that I make a small application

Re: [Catalyst] On authentication again

2008-03-06 Thread Ashley
sure your plugins are up to date. This is a great but pretty new change. I switched naming conventions without updating my plugins and got weird behavior (session worked for exactly one page load but only after a POST) that was hard to track down. -Ashley

Re: [Catalyst] The home page, the wiki and the mailing list

2008-03-08 Thread Ashley
start losing track at 200 passwords and forget to write new ones down. :( -Ashley ___ 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] So, what do we want in the -next- book?

2008-03-10 Thread Ashley
of a tech book is generally the amount of money you'll make in a single hour working. -Ashley ___ 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] implementing ajax

2008-03-12 Thread Ashley
it wrong. Always wrap it in {}. Enforce authn/authz; even the suggestion that you might not is horrific/ludicrous. Know what you're sending. Don't let users put code on your site in their data. All the usual suspects from there. -Ashley ___ List: Catalyst

Re: [Catalyst] Re: implementing ajax

2008-03-13 Thread Ashley
One JSON security tangent worth knowing: http://bob.pythonmac.org/archives/2007/04/05/fortify-javascript- hijacking-fud/ Why I mentioned earlier, wrap it in {}. -Ashley ___ List: Catalyst@lists.scsys.co.uk Listinfo: http://lists.scsys.co.uk/cgi

Re: [Catalyst] [again] die() in an action chain : does not break the chain !

2008-03-14 Thread Ashley
you'd call $c-error_out() (I think this is my original stupid name which Aristotle tried to save us all from) and it would throw your exception (or perhaps something out of $c-errors) and $c-detach(end)... maybe. It's been a year since I looked at it though I think it's a good idea. -Ashley

Re: [Catalyst] Catalyst best practices - exceptions

2008-03-14 Thread Ashley
that users just see 404 Not found: /asdf/ asf/asdf and developers see the works. Since there can be many errors thrown (as Laurent Dami is asking in another thread), normal users just get the first error thrown out of $c-errors. Developers get the whole mess in case it matters. -Ashley

Re: [Catalyst] Re: [again] die() in an action chain : does not break the chain !

2008-03-14 Thread Ashley
On Mar 14, 2008, at 1:36 PM, Aristotle Pagaltzis wrote: Hi Ashley, * Ashley [EMAIL PROTECTED] [2008-03-14 16:40]: I've been threatening for more than a year to write a plugin to do this. I wrote to ask for CPAN/method name suggestions, Aristotle gave me good advice which I'll have to dig up

Re: [Catalyst] Re: [again] die() in an action chain : does not break the chain !

2008-03-14 Thread Ashley
On Mar 14, 2008, at 1:36 PM, Aristotle Pagaltzis wrote: * Ashley [EMAIL PROTECTED] [2008-03-14 16:40]: I've been threatening for more than a year to write a plugin to do this. I wrote to ask for CPAN/method name suggestions, Aristotle gave me good advice which I'll have to dig up. you mean

Re: [Catalyst] Catalyst and Shibboleth authentication

2008-03-15 Thread Ashley
stupidly had the id server address set to / when the real resource was /index.pl). -Ashley ___ 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: [again] die() in an action chain : does not break the chain !

2008-03-15 Thread Ashley
, Aristotle Pagaltzis wrote: * Ashley [EMAIL PROTECTED] [2008-03-15 06:15]: While we're on the topic. How abhorrent/stupid is this? $c-die(); # or $c-die(Dying is easy, comedy is hard); I'd really like something like this. I could go for $c-fatal() too. fatal_error() is nice

Re: [Catalyst] Automatically uri_unescape parameters

2008-03-17 Thread Ashley
realizing it. -Ashley ___ 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] Catalyst controllers - can they be created without catalyst.pl helper script?

2008-03-20 Thread Ashley
On Mar 20, 2008, at 12:12 PM, Devin Austin wrote: I was playing around the other day when I tried to create a simple controller with out using the Catalyst.pl helper script. It wasn't loaded when I restarted my devel server, so I figured that there must be a dispatch table somewhere

Re: [Catalyst] external javascript files

2008-03-24 Thread Ashley
docs for examples of that. You'll probably want your js files in your static path to make this easier. -Ashley ___ List: Catalyst@lists.scsys.co.uk Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst Searchable archive: http

Re: [Catalyst] Usage of $c-uri_for and $c-res-redirect

2008-03-26 Thread Ashley
or whatnot as necessary. perldoc URI use URI; my $u = URI-new(http://example.com;); print $u, $/; $u-port(3000); $u-scheme(https); print $u, $/; -Ashley ___ List: Catalyst@lists.scsys.co.uk Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman

[Catalyst] New credential -- Catalyst::Authentication::Credential::OpenID

2008-04-02 Thread Ashley
represents) the current best practice for per module debug handling so it can be toggled (in the config?)? Related: http://openid.net/specs/openid-simple-registration-extension-1_0.html Do the name change and general direction sound right? -Ashley -- PS: 바보 to that thread

Re: [Catalyst] New credential -- Catalyst::Authentication::Credential::OpenID

2008-04-05 Thread Ashley
On Apr 5, 2008, at 8:44 PM, J. Shirley wrote: On Wed, Apr 2, 2008 at 9:38 PM, Ashley [EMAIL PROTECTED] wrote: Hello everybody! [Well, mostly JayK and Tatsuhiko Miyagawa]. I think I have a working modernized (to the current bleeding edge of the Auth system) OpenID Credential package

Re: [Catalyst] RFC for plugin to strip script name from URI; plugin name + code review

2008-04-06 Thread Ashley
? An excellent question to which I don't know the answer. I'll play around with it later. -Ashley ___ 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] CatalystSites.org

2008-04-06 Thread Ashley
On Apr 6, 2008, at 3:33 PM, Stephen Sykes wrote: Oleg Pronin wrote: It's definitely better than sites that are on top currently :) Especially first :) Also i meant 'most popular sites', not 'best sites', sorry :) If you want to produce the code required, I am willing to implement. I just

Re: [Catalyst] New credential -- Catalyst::Authentication::Credential::OpenID

2008-04-07 Thread Ashley
On Apr 7, 2008, at 10:30 AM, Jay K wrote: Hi Ashley, Sorry for the delay, It sounds quite interesting. Are you working off of the auth module in svn at the moment, or the released version. I ask because there are changes in svn that might make it easier to implement. I'm in the process

Re: [Catalyst] Re: New credential -- Catalyst::Authentication::Credential::OpenID

2008-04-08 Thread Ashley
On Apr 8, 2008, at 2:11 PM, Aristotle Pagaltzis wrote: * Ashley [EMAIL PROTECTED] [2008-04-08 05:15]: roles for providers? I didn’t think of that. That sounds *very* cool. I wonder if this might possibly cause problems. One thing I’m not comfortable with, for a reason I can’t exactly

Re: [Catalyst] CatalystSites.org

2008-04-11 Thread Ashley
On Apr 11, 2008, at 11:55 AM, Stephen Sykes wrote: Chisel - What is so odd in passing the tag id to the controller for the by_tag feature? I think this is the issue: Other users also tagged this 27. The tag is the human readable part of the record. :)

Re: [Catalyst] CatalystSites.org

2008-04-11 Thread Ashley
On Apr 11, 2008, at 1:10 PM, Stephen Sykes wrote: Ashley wrote: On Apr 11, 2008, at 11:55 AM, Stephen Sykes wrote: Chisel - What is so odd in passing the tag id to the controller for the by_tag feature? I think this is the issue: Other users also tagged this 27. The tag is the human

Re: [Catalyst] CatalystSites.org

2008-04-11 Thread Ashley
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 just like writing it) ++. This is mostly how I do it and

[Catalyst] CGI::Dump()

2008-04-16 Thread Ashley
Is there an established way to emulate this in Cat? CGI::Dump() I like it for dev work and simple one-off forms that are human processed. I might port it (to a posted snippet at least) if not. -Ashley ___ List: Catalyst@lists.scsys.co.uk

Re: [Catalyst] Sending email safely with Catalyst

2008-04-18 Thread Ashley
possible with the FastCGI engine. Did something change or did I misread an old thread? I hope so. I'd love to be able to fork in it. Any doc/recipe out there? -Ashley ___ List: Catalyst@lists.scsys.co.uk Listinfo: http://lists.scsys.co.uk/cgi

Re: [Catalyst] Re: CGI::Dump()

2008-04-18 Thread Ashley
I know. Grabbed it from CGI.pm without checking. It also returns the, I believe, illegal ul/ul when there are no params. :) If I ever do anything with it, I promise to fix it. On Apr 18, 2008, at 7:38 PM, Aristotle Pagaltzis wrote: * Ashley [EMAIL PROTECTED] [2008-04-18 21:30]: push

Re: [Catalyst] Dispatching based on path and host/domain

2008-04-22 Thread Ashley
, I think, the same thing status, golive and takedown. I'd love to see it generalized if it can be. -Ashley ___ List: Catalyst@lists.scsys.co.uk Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst Searchable archive: http://www.mail

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

2008-04-24 Thread Ashley
drop any package that went through an undocumented, unannounced interface change defended as personal style. Using AUTOLOAD when you know your methods/subs up front is a pointless complication and performance hit. -Ashley ___ List: Catalyst

Re: [Catalyst] Multi-language and REST

2008-04-25 Thread Ashley
On Apr 25, 2008, at 10:28 AM, Christopher H. Laco wrote: If changing Accept-Language is too much, (or people want to view a language other than their native), then look at language= in the query params first..if it's empty...honor Accept-Language... rather than forcing /lang/ at the front

Re: [Catalyst] Anybody who fancies some LWP poking ...

2008-05-04 Thread Ashley
There was a recent SoPW on PerlMonks about this. Seems HTTP::Message is doing the right thing. http://perlmonks.org/?node_id=683833 -Ashley On May 4, 2008, at 2:21 PM, Daniel McBrearty wrote: OK, I walked through the code and found out roughly what is going on. Hard to say where the real

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

2008-05-10 Thread Ashley
THIS DISASTER is silly. -Ashley ___ 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] IMPORTANT: To all Catalyst::Whatever Authors, please read and ACT

2008-05-10 Thread Ashley
On May 10, 2008, at 6:44 PM, Matt S Trout wrote: On Sat, May 10, 2008 at 05:56:41PM -0700, Ashley wrote: Arguing that users who cargo-cult their configs from POD deserve coddling and MODULE AUTHORS MUST ACT TO AVERT THIS DISASTER is silly. There are several requests A DAY on #catalyst

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

2008-05-10 Thread Ashley
On May 10, 2008, at 7:18 PM, Kieren Diment wrote: On 11 May 2008, at 10:56, Ashley wrote: Two or more config examples is nice and kind to users and I think it's a great best practice to include it (maybe someone would attach a simple script to dump several formats? If I have time

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

2008-06-17 Thread Ashley
. -Ashley ___ 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] Re: [SOT] cat webmail app?

2008-08-08 Thread Ashley
On Aug 8, 2008, at 3:06 PM, Aristotle Pagaltzis wrote: * Jose Luis Martinez [EMAIL PROTECTED] [2008-08-08 16:50]: http://icanhascheezburger.files.wordpress.com/2008/08/funny- pictures-sometimes-the-mail-gets-you.jpg I’m not sure that caption is how we want users to think of a Catalyst mail

Re: [Catalyst] Help! Need help deploying app to Apache

2008-09-17 Thread Ashley
could be more verbose. If software could debug itself there would be no bugs. The error in that batch seems pretty clear: Couldn't render template file error - index.tt: not found Looks like you either don't have an index.tt or you have the INCLUDE_PATH set badly in your TT stuff. -Ashley

Re: [Catalyst] CSRF

2008-09-30 Thread Ashley
On Sep 30, 2008, at 10:08 AM, Moritz Onken wrote: attackers can use POST This is possible due to the fact that flash movies can send any request to a server. You can achieve this even with a XMLHTTPRequest. If scripting is involved that makes it a XSS attack instead, though. No? -Ashley

Re: [Catalyst] Re: CSRF

2008-10-01 Thread Ashley
On Sep 30, 2008, at 11:13 PM, Aristotle Pagaltzis wrote: * Ashley [EMAIL PROTECTED] [2008-09-30 19:30]: If scripting is involved that makes it a XSS attack instead, though. No? No. Yeah, that was unclear. I was talking about our own sites and Cat apps, not the web at large

Re: [Catalyst] Re: CSRF

2008-10-01 Thread Ashley
Nope. On Sep 30, 2008, at 11:57 PM, Ashley wrote: Might be pretty simple in Cat stuff. The crux of the POST issue seems that the target site's cookies are still safe from the attacking site's POST. ... Form template: form action=[% c.request.uri() %] method=post [% USE Digest.SHA1 -%] input

[Catalyst] Making proxy requests cooperate with uri_for

2008-10-20 Thread Ashley
played around with setting the (apparently?) undocumented using_frontend_proxy in the App config too but no dice. What am I doing wrong / how can I get uri_for() to behave? Thanks! -Ashley ___ List: Catalyst@lists.scsys.co.uk Listinfo: http

Re: [Catalyst] PDF creation in Catalyst?

2008-10-22 Thread Ashley
control) If the stuff isn't dynamic and you really can't wait, it might be faster to create them yourself from the HTML you've got (print to PDF, manipulate in Acrobat or something) and serve them as static files. -Ashley ___ List: Catalyst

Re: [Catalyst] Re: fcgid

2008-11-14 Thread Ashley
.) This is late to revisit but I'd *love* to see this as an advent entry (or a vanilla tutorial anywhere). -Ashley ___ List: Catalyst@lists.scsys.co.uk Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst Searchable archive: http

[Catalyst] Catalyst::Authentication::Credential::OpenID update; 2.0 + SREG

2008-12-02 Thread Ashley
when it's present/configured. I am not using this in the wild right now so I'd really appreciate any bug/problem tickets or Pod patches. If there are OpenID extensions other than SREG which anyone is using, please let me know so I can look at them and see if/how they can be supported. -Ashley

[Catalyst] Emulate a tar pit for OpenID tests

2008-12-08 Thread Ashley
-response-headers-header(Content-length = 1_024 * 1_000); sleep 1 $c-response-write(sucker\n) while 1; # Send content forever, slowly. } So, my question for y'all is: How does that look? Better ideas? Is that close to a real world (operationally) case? -Ashley

Re: [Catalyst] create search engine friendly uri from string

2008-12-15 Thread Ashley
be in the doc you end up with if not possible in the code. URIs are supposed to be unique to a resource. Titles of articles and pages are not (necessarily). The end user/dev will have to check for duplicates against the data and append a -II or -2, and so on. -Ashley

[Catalyst] How to run self-tests from within the application

2008-12-19 Thread Ashley
? Is there a pipe or something I could add to the command? What are the environmental caveats if I can get this to run under the test server v fastcgi/modperl? Thanks for looking! -Ashley ___ List: Catalyst@lists.scsys.co.uk Listinfo: http

Re: [Catalyst] installing catalyst on mac os

2008-12-24 Thread Ashley
On Dec 24, 2008, at 2:07 PM, Tomas Doran wrote: On 24 Dec 2008, at 18:27, Ashley wrote: On Dec 24, 2008, at 2:08 AM, Tomas Doran wrote: On 24 Dec 2008, at 00:25, Ashley wrote: I love OS X but the Perl it has historically shipped with is historically no so hot. I would strongly recommend

Re: [Catalyst] Newbie Question about Database

2009-01-19 Thread Ashley
;mysql_read_default_file=__path_to (etc/.mysql.cnf)__ - ~ - ~ - RaiseError: 1 PrintError: 0 AutoCommit: 1 ChopBlanks: 1 -Ashley ___ List: Catalyst@lists.scsys.co.uk Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo

Re: [Catalyst] New Catalyst Book?

2009-02-05 Thread Ashley
every couple days for a month or two. I've got a lot done lately so I'm optimistic it'll start going up pretty soon. As it'll be a living doc, I'll roll critiques, corrections, or good comments into it. -Ashley ___ List: Catalyst@lists.scsys.co.uk Listinfo

Re: [Catalyst] Catalyst::Plugin::Session::Store::CHI

2009-02-09 Thread Ashley
, 2009, at 6:02 PM, Ashley wrote: Has anyone written Catalyst::Plugin::Session::Store::CHI for personal use yet? I haven't use CHI but it strikes me as vastly superior to the regular cache interfaces (having code refs for errors and checks on things that are still within their expiry). Unless

[Catalyst] Catalyst::Plugin::Session::Store::CHI

2009-02-09 Thread Ashley
feedback about CHI or someone volunteers some code for this, I'll try to bat it out. http://search.cpan.org/~jswartz/CHI-0.091/ http://search.cpan.org/~jswartz/CHI-0.091/lib/CHI.pm http://search.cpan.org/~fayland/Catalyst-Plugin-CHI-0.03/lib/ Catalyst/Plugin/CHI.pm -Ashley

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

2009-02-15 Thread Ashley
continued success. -Ashley ___ 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] RFC: The paradox of choice in web development

2009-02-15 Thread Ashley
as a formal list from a group but I make my choices of what to at least try first based on reviews somewhat often. See also: http://www.perlfoundation.org/perl5/index.cgi? recommended_cpan_modules -Ashley ___ List: Catalyst@lists.scsys.co.uk Listinfo: http

Re: [Catalyst] Requirements for Catalyst

2009-02-21 Thread Ashley
for regular personal sites; and I would never run any business from a shared host anyway, it's not really a Cat issue on that front. I serve something like 5-15K pages a day from Cat on DreamHost under fastcgi. -Ashley ___ List: Catalyst

Re: [Catalyst] Requirements for Catalyst

2009-02-21 Thread Ashley
this is getting pretty off topic but I'm hovering on a VPS buy so I'd like to hear more about why these two and what you'd say to someone like me whose Perl is drastically better than my admin chops. Put your referral code(s) if you've got them in your response too. -Ashley

Re: [Catalyst] Requirements for Catalyst

2009-02-22 Thread Ashley
host tonight but I don't know if I'm allowed to talk about it or if it'll debut any time soon so I'll just offer that teaser and head for the pillow. -Ashley ___ List: Catalyst@lists.scsys.co.uk Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman

[Catalyst] OT: JS no longer sucks, (was Catalyst - any good AJAX tutes?)

2009-03-07 Thread Ashley
On Mar 7, 2009, at 12:55 AM, kakim...@tpg.com.au wrote: Basically, I am a web developer who hates JS and want to do minimal with it. Whatever I could get away with coding in perl, i would do it cause i know the language better and that it's more reliable. Js is dirty (or well, the newer

Re: [Catalyst] Re: OT: JS no longer sucks, (was Catalyst - any good AJAX tutes?)

2009-03-08 Thread Ashley
On Mar 8, 2009, at 8:18 AM, Aristotle Pagaltzis wrote: * Ashley a...@sedition.com [2009-03-07 22:20]: I used to feel the same about JS. The language itself has improved Objection: Well... the lack of regular array operations like push, the disparate and incompatible implementations

Re: [Catalyst] Scalable Catalyst

2009-04-29 Thread Ashley
off the shelf AMD 64Bit HW and 12Gb RAM, with a Catalyst app of about 20MB RSS. Hey, Alejandro! You should really write up the way you did it for the wiki or an article somewhere. Please! -Ashley ___ List: Catalyst@lists.scsys.co.uk Listinfo: http

Re: [Catalyst] OpenID and SREG

2009-07-04 Thread Ashley
::General being a PITA regarding the data structure so you might want to start with a pure Perl config and if it runs, then put it into your favored config file format. -Ashley __PACKAGE__-config-{Plugin::Authentication} = { use_session = 1, default_realm = 'openid', realms

Re: [Catalyst] OpenID and SREG

2009-07-04 Thread Ashley
the authentication plugins fail silently except mine but OpenID is a drag to debug so I felt like it was necessary. I've meant to get with t0m and the list to discuss a better failure mechanism. I'll probably just make it noisy in the log and stop the error throwing. -Ashley

[Catalyst] 10 Catalyst Models in 10 Days

2009-07-12 Thread Ashley
I'm doing a series of short-ish articles called 10 Catalyst Models in 10 Days. It will be too light for a good slice of the list but might be fun for some and potentially quite beneficial for newcomers. They're not as polished, thorough, or proofed as I'd like--in fact, only 7 of the 10

Re: [Catalyst] OpenID authentication and LWPx-ParanoidAgent

2009-07-17 Thread Ashley
. -Ashley On Jul 17, 2009, at 1:33 PM, Zbigniew Lukasiak wrote: Hi there, It seems that http://matrix.cpantesters.org/?dist=LWPx-ParanoidAgent +1.05 fails on every front (and if you check the history it wasn't much better in previous releases). So what you guys use as the LWP agent for OpenID

[Catalyst] 10 Catalyst Models in 10 Days wrapping up-ish

2009-07-25 Thread Ashley
/ failures. -Ashley ___ 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] Re: 10 Catalyst Models in 10 Days wrapping up-ish

2009-07-25 Thread Ashley
, Ashley wrote: Hey, all. http://sedition.com/a/2733 is mostly done (I have serious repairs to do to make #9 work and might drop it entirely for a second stringer) with the last model entry, #10: Fixing your legacy code by not fixing it, http://sedition.com/a/2743 To make it easy to play

Re: [Catalyst] 10 Catalyst Models in 10 Days wrapping up-ish

2009-07-28 Thread Ashley
On Jul 27, 2009, at 7:16 AM, Octavian Râsnita wrote: From: Ashley a...@sedition.com Hey, all. http://sedition.com/a/2733 is mostly done (I have serious repairs to do to make #9 work and might drop it entirely for a second stringer) Hi, Thank you for it. In the first model (Random

Re: [Catalyst] New Apress book on Safari Books Online

2009-07-30 Thread Ashley
expected to make a mint. Bad luck on all accounts. -Ashley ___ 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

Re: [Catalyst] Testing Web 2 cat apps

2009-09-12 Thread Ashley
controller (the Selenium server). There is a sweet IDE plugin for Firefox for writing the tests. Google around for it. There are many examples, docs, and supporting modules. http://search.cpan.org/search?query=seleniummode=all -Ashley ___ List

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

2009-09-29 Thread Ashley
Possibly related anecdote. My main personal app went from 5 second start ups to start ups of well over a minute when I went from 5.7 to 5.8. I had a handful of Controller and Model classes in which I had written test code and then removed it all so they looked something like- package

Re: [Catalyst] Alternatives to DBIx?

2010-04-17 Thread Ashley
templating language once to learn why it's such a bad, part 2. You'll have to learn a lot either way. The Stone Soup of rolling it yourself is seductive and seems easier but taken as a whole it is most certainly not. -Ashley ___ List: Catalyst

Re: [Catalyst] Alternatives to DBIx?

2010-04-17 Thread Ashley
kind; modperl, fastcgi, etc; RoR and some PHP stuff having the same need has helped get fastcgi on many budget hosts). Just appending that to the thread for anyone who comes in to read this and gets the impression that anything else is true. -Ashley

[Catalyst] DBIC v Cache: What are catalyst best practices for caching DBIC results (with relationships included)

2007-11-14 Thread Ashley Pond V
user and document lineage)? What is the best practice regarding caching DBIC results in Catalyst? Thanks! -Ashley ___ List: Catalyst@lists.scsys.co.uk Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst Searchable archive: http

Re: [Catalyst] PathPart help

2007-11-15 Thread Ashley Pond V
while /article/id fails as I'd like. -Ashley On Nov 15, 2007, at 12:07 PM, Christopher H. Laco wrote: http://use.perl.org/~LTjake/journal/31738 -=Chris I use this exact setup, and I assume most do. How is your create declared? sub create : Local

[Catalyst] Prior Art: Scheduling Application

2007-11-18 Thread Ashley Pond V
anyone already written a scheduling app with Cat (is it open source; would/can you share code otherwise)? 2. Is there something non-Cat I should be considering first; or at least stealing design? Thanks! -Ashley ___ List: Catalyst@lists.scsys.co.uk

Re: [Catalyst] Session/Authentication/Authorization for legacy + Cat

2007-11-20 Thread Ashley Pond V
On Nov 20, 2007, at 2:29 PM, Matt S Trout wrote: On Tue, Nov 20, 2007 at 08:41:02PM -, Peter Edwards wrote: On Mon, Nov 19, 2007 at 11:03:24PM -0800, Ashley Pond V wrote: Let Catalyst handle /login. Make legacy code get user out of session. That's a really good way so long as you can

[Catalyst] Soundboard: Catalyst::Model::GoogleCalendar

2007-12-07 Thread Ashley Pond V
Catalyst::Model::GoogleCalendar Strikes me as good idea. Anyone already doing it? Also strikes me as a *lot* of code to write. It's a big API and date stuff is always fun. http://code.google.com/apis/calendar/developers_guide_protocol.html -Ashley

Re: [Catalyst] Soundboard: Catalyst::Model::GoogleCalendar

2007-12-09 Thread Ashley Pond V
8, 2007 6:10 PM, Ashley Pond V [EMAIL PROTECTED] wrote: Yep. You have it right. Now the tuits… On Dec 7, 2007, at 10:29 PM, Jonathan Rockway wrote: On Fri, 2007-12-07 at 21:29 -0800, Ashley Pond V wrote: Catalyst::Model::GoogleCalendar Strikes me as good idea. Anyone already doing it? Also

Re: [Catalyst] backward compatibility problem with new C::P::Authentication (for info only)

2007-12-13 Thread Ashley Pond V
I had exactly the same problem two days ago and found the same fix. On Dec 13, 2007, at 1:06 PM, Daniel McBrearty wrote: I still had -Authentication::Credential::Password -Authentication::Store::DBIC in the modules list, from the old setup. Removing these seems to have fixed the

Re: [Catalyst] Web hosting?

2007-12-15 Thread Ashley Pond V
for about 15 sites. There is a Catalyst promotion code so that your signup goes to benefit Cat development. Check the archives or (better still, they've changed how referrals work in the last year) wait for someone else to post it again. -Ashley On Dec 15, 2007, at 8:07 PM, Martin Ellison

Re: [Catalyst] Web hosting?

2007-12-16 Thread Ashley Pond V
On Dec 15, 2007, at 10:21 PM, Martin Ellison wrote: Thanks Ashley. 1. What sort of outages dopes DreamHost have? http://uptime.besthostratings.com/viewreport.php?host=dreamhost 2. Any other hosting companies? I was with http://www.johncompanies.com/jc_vps.html for awhile so I could run

Re: [Catalyst] no role configuration found -- authorization: dbic and DBI::Schema::Loader

2007-12-16 Thread Ashley Pond V
fee]. After I get an admin to install the missing package in the morning I'll regale you with my next series of missteps and annoying language. Live free or die early, die often, -Ashley On Dec 15, 2007, at 9:52 PM, Jay K wrote: Hi There Ashley, The DBIx::Class module expects to use

Re: [Catalyst] no role configuration found -- authorization: dbic and DBI::Schema::Loader

2007-12-16 Thread Ashley Pond V
fine, by the by. It's just Authorization that's wonky right now. Pasting my setup stuff below. -Ashley -- use Catalyst qw/ ConfigLoader -Debug Unicode StackTrace Static::Simple Authentication Authorization::Roles Session Session::Store::FastMmap Session

Re: [Catalyst] no role configuration found -- authorization: dbic and DBI::Schema::Loader

2007-12-17 Thread Ashley Pond V
-many_to_many(users = 'user_roles', 'user'); So, I'm all good now but still a bit mystified about the silent failure(?). Thanks again, -Ashley On Dec 16, 2007, at 10:49 PM, Ashley Pond V wrote: Thanks for still looking at this, Jay. This is the top of the method with some die decoration

[Catalyst] Legacy porting to auto-authenticate a logged in user

2007-12-22 Thread Ashley Pond V
password_field: crypt_passwd password_type: hashed password_hash_type: SHA-1 store: class: DBIx::Class user_class: DB::User id_field: acctid Thanks for looking! -Ashley ___ List: Catalyst@lists.scsys.co.uk

Re: [Catalyst] Legacy porting to auto-authenticate a logged in user

2007-12-23 Thread Ashley Pond V
for the other ideas for future debuggery, so to speak! -Ashley On Dec 23, 2007, at 10:29 AM, Jay K wrote: Hi Ashley, My guess is that your password hashing type in the db is different from the password hashing type you defined for the Password credential. Since your database does store

[Catalyst] Does uri_for() respect https?

2007-12-31 Thread Ashley Pond V
, this is really just a sanity check. Given a request to https://mysite.com/myapp [% c.uri_for(/whatever) %] will produce https://mysite.com/myapp/whatever; and not http://mysite.com/myapp/whatever; Yes? -Ashley ___ List: Catalyst

Re: [Catalyst] Re: Best Practices for wizards, steps?

2008-01-01 Thread Ashley Pond V
at first. Instead of session and param juggling but once it was done, it was amazing how much more straightforward it is. Just as Aristotleleleslsles[1] suggests. With roles, chaining, captures, and flash messages you can make an extremely convoluted logic tree pretty straightforward to code. -Ashley

  1   2   >