Re: [Catalyst] what is the type of $context?

2006-06-09 Thread A. Pagaltzis
in, and I stand by that too. That this is the biggest reason to adopt Perl 6 is something I never said, and if you had the impression that I did, then it’s because you read into my arguments something that wasn’t there. Regards, -- Aristotle Pagaltzis // http://plasmasturm.org

Re: [Catalyst] Config::General question

2006-06-11 Thread A. Pagaltzis
* Kiki [EMAIL PROTECTED] [2006-06-11 12:50]: So you got me looking into C::G and yes, I'm too lazy to dig into the docs. Anyways short question to which I found no obvious answer: Can C::G syntax express just an array of arrays (used to populate data tables via DBIC schema): [ [

Re: [Catalyst] keeping multiple Catalyst applications up to date

2006-06-11 Thread A. Pagaltzis
effect.) Regards, -- Aristotle Pagaltzis // http://plasmasturm.org/ ___ List: Catalyst@lists.rawmode.org Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst Searchable archive: http://www.mail-archive.com/catalyst@lists.rawmode.org/ Dev site: http

Re: [Catalyst] FastCGI is Weak Sauce

2006-06-29 Thread A. Pagaltzis
HTTP engine is no mean feat, but writing a solid embedded database engine isn’t either, and both have been done. It all seems awfully obvious to me; am I wrong? Regards, -- Aristotle Pagaltzis // http://plasmasturm.org/ ___ List: Catalyst

Re: [Catalyst] C::P::StackTrace eats template exceptions?

2006-07-21 Thread A. Pagaltzis
* Justin Guenther [EMAIL PROTECTED] [2006-07-22 03:20]: In this particular case, Template::Toolkit uses exception objects, which seem to get completely eaten somewhere between getting thrown and caught by eval{}. The $@ variable is the empty string, in this case, and it's completely impossible

Re: [Catalyst] updating Catalyst using CPAN

2006-07-27 Thread A. Pagaltzis
starting with Catalyst: perl -MCPAN -e 'CPAN::Shell-install(CPAN::Shell-r(/^Catalyst/))'; Nope – I didn’t know about this either. Neat! Regards, -- Aristotle Pagaltzis // http://plasmasturm.org/ ___ List: Catalyst@lists.rawmode.org Listinfo: http

Re: [Catalyst] utf-8 (again) -- test server works perfectly, apache flubs it

2006-07-30 Thread A. Pagaltzis
* apv [EMAIL PROTECTED] [2006-07-30 08:55]: Where should I start looking? HEAD $test_server_uri 1 HEAD $apache_uri 2 diff -u 1 2 Regards, -- Aristotle Pagaltzis // http://plasmasturm.org/ ___ List: Catalyst@lists.rawmode.org Listinfo

Re: [Catalyst] Catalyst best practices?

2006-07-31 Thread A. Pagaltzis
* Jonathan Rockway [EMAIL PROTECTED] [2006-07-31 17:20]: This qualifies as a worst-practice, but you can use the abbreviation pragma: use abbreviation qw(Very::Long::ClassName::Here); my $obj = V::L::CN::Here-new;# same Ugh. Use a sane module instead: use aliased

Re: [Catalyst] Validating RSS feeds

2006-07-31 Thread A. Pagaltzis
, not addresses. Of course, if you want to provide a custom lookup mechanism for your UUIDs, that’s your prerogative. Regards, -- Aristotle Pagaltzis // http://plasmasturm.org/ ___ List: Catalyst@lists.rawmode.org Listinfo: http://lists.rawmode.org/mailman

Re: [Catalyst] Template::Toolkit + Empty Lists

2006-08-01 Thread A. Pagaltzis
/methods which get called from a template return anonymous arrays (incl. empty ones, when appropriate), then you won’t have problems like that. (Have I mentioned that TT blows chunks? Because it does.) Regards, -- Aristotle Pagaltzis // http://plasmasturm.org

Re: [Catalyst] [Announce] Planet Catalyst

2006-08-06 Thread A. Pagaltzis
of the potential for abuse. You *shouldn’t* even want it – I use an aggregator to read feeds precisely because there is no “design” in them, just pure unadulterated content, and most aggregator users feel the same way. Regards, -- Aristotle Pagaltzis // http://plasmasturm.org

Re: [Catalyst] Sigh. How do we get on this list?

2006-08-09 Thread A. Pagaltzis
for which there is nothing similar in Perl-land. Regards, -- Aristotle Pagaltzis // http://plasmasturm.org/ ___ List: Catalyst@lists.rawmode.org Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst Searchable archive: http://www.mail-archive.com

[Catalyst] OT: Latin (was: Minor Problem With Tutorial)

2006-08-16 Thread A. Pagaltzis
* Kevin Monceaux [EMAIL PROTECTED] [2006-08-14 21:20]: Si hoc legere scis nimium eruditionis habes. Quidquid latine dictum sit, altum viditur. Regards, -- Aristotle Pagaltzis // http://plasmasturm.org/ ___ List: Catalyst@lists.rawmode.org Listinfo

Re: [Catalyst] Forms and Plugins and Tutorials, oh my!!

2006-08-18 Thread A. Pagaltzis
useful tutorial in the world was written by a moron-turned-expert. Regards, -- Aristotle Pagaltzis // http://plasmasturm.org/ ___ List: Catalyst@lists.rawmode.org Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst Searchable archive: http

Re: [Catalyst] how to get started?

2006-08-21 Thread A. Pagaltzis
* Christopher H. Laco [EMAIL PROTECTED] [2006-08-21 19:25]: Long live EU::MM! You also enjoy torturing Schwern, don’t you? Regards, -- Aristotle Pagaltzis // http://plasmasturm.org/ ___ List: Catalyst@lists.rawmode.org Listinfo: http

Re: [Catalyst] how to get started?

2006-08-21 Thread A. Pagaltzis
every time. Regards, -- Aristotle Pagaltzis // http://plasmasturm.org/ ___ List: Catalyst@lists.rawmode.org Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst Searchable archive: http://www.mail-archive.com/catalyst@lists.rawmode.org/ Dev site

Re: [Catalyst] multiple row entry

2006-08-22 Thread A. Pagaltzis
, -- Aristotle Pagaltzis // http://plasmasturm.org/ ___ List: Catalyst@lists.rawmode.org Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst Searchable archive: http://www.mail-archive.com/catalyst@lists.rawmode.org/ Dev site: http

Re: [Catalyst] Can't find 'Catalyst::Plugin::SessionStateTest'

2006-08-22 Thread A. Pagaltzis
* Jonathan Rockway [EMAIL PROTECTED] [2006-08-22 20:00]: cpan My::Module Another::Module is the correct invocation. Or you can pass `-i` to be explicit: cpan -i My::Module Another::Module Regards, -- Aristotle Pagaltzis // http://plasmasturm.org

Re: [Catalyst] Multilanguage application

2006-08-25 Thread A. Pagaltzis
, only the front page of the site has a language-less URI, and only there do you redirect. Then whatever other URI they might bookmark will always have a language code, so on subsequent pages the problem doesn’t come up at all. Regards, -- Aristotle Pagaltzis // http://plasmasturm.org

Re: [Catalyst] Force server to send data to browser....

2006-08-29 Thread A. Pagaltzis
* Jonathan Rockway [EMAIL PROTECTED] [2006-08-30 03:20]: If you think about it, this is necessary because you can change headers or the body at any time in the request cycle... and you can't unsend data. So what’s `finalize_headers` do? Regards, -- Aristotle Pagaltzis // http

Re: [Catalyst] Best way to have the controller do something just one time

2006-09-03 Thread A. Pagaltzis
* Jonathan Rockway [EMAIL PROTECTED] [2006-09-03 09:10]: As a last resort, if you want the method to be called the first time begin() is called, you can simply remove your begin from the symbol table the first time through: sub begin { ... undef $PACKAGE::{begin} } Uh… you’re

Re: [Catalyst] A couple (probably dumb) questions about TT

2006-09-07 Thread A. Pagaltzis
to get around this? args.title.replace( '\'', '\'\\\'' ) Untested. Regards, -- Aristotle Pagaltzis // http://plasmasturm.org/ ___ List: Catalyst@lists.rawmode.org Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst Searchable archive: http

Re: [Catalyst] The old double-post issue

2006-09-21 Thread A. Pagaltzis
)? Because he can’t distinguish between “no longer valid” and “has never been valid,” I assume. If invalidated tokens were marked as used up but kept around for a while, then it would be possible. Regards, -- Aristotle Pagaltzis // http://plasmasturm.org

Re: [Catalyst] RESTful perl implementations...

2006-09-26 Thread A. Pagaltzis
2518) as well would probably be a good idea, and the list should definitely be configurable in any case. Regards, -- Aristotle Pagaltzis // http://plasmasturm.org/ ___ List: Catalyst@lists.rawmode.org Listinfo: http://lists.rawmode.org/mailman/listinfo

Re: [Catalyst] RESTful perl implementations...

2006-09-29 Thread A. Pagaltzis
is a central notion in REST. (Ack. I don’t know how to satisfactorily summarise the subject in short. Which just means, of course, that as much understanding as I may have, it is haphazard and incoherent. Need more study…) Regards, -- Aristotle Pagaltzis // http://plasmasturm.org

Re: [Catalyst] Singleton or Memcache

2006-10-18 Thread A. Pagaltzis
that references the category. You can fetch the entire hierarchy with a single query: http://www.developer.com/db/article.php/3517366 See also http://www.google.com/search?q=nested+set in general. Regards, -- Aristotle Pagaltzis // http://plasmasturm.org

Re: [Catalyst] Sharing code / Feedback request: TT macro for uri_for([current uri]); same page links

2006-10-21 Thread A. Pagaltzis
, -- Aristotle Pagaltzis // http://plasmasturm.org/ ___ List: Catalyst@lists.rawmode.org Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst Searchable archive: http://www.mail-archive.com/catalyst@lists.rawmode.org/ Dev site: http://dev.catalyst.perl.org/

[Catalyst] Re: How to redirect before some code excute

2006-10-26 Thread A. Pagaltzis
. (With apologies to Jamie Zawinski.) Regards, -- Aristotle Pagaltzis // http://plasmasturm.org/ ___ List: Catalyst@lists.rawmode.org Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst Searchable archive: http://www.mail-archive.com/catalyst

[Catalyst] Re: template comparison (was: why not mason (was: something else unrelated))

2006-10-27 Thread A. Pagaltzis
if an alternative syntax were available that was much easier to use for trivial display logic than firing up the Turing-complete gun. [1]: I pulled those numbers out of somewhere, purely on the basis that the combination should flow well as prose. Regards, -- Aristotle Pagaltzis // http

[Catalyst] Re: trouble with LocationMatch

2006-10-30 Thread A. Pagaltzis
` the `$location` before using it as a regex. Sincerely, -- Aristotle Pagaltzis // http://plasmasturm.org/ ___ List: Catalyst@lists.rawmode.org Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst Searchable archive: http://www.mail-archive.com/catalyst

[Catalyst] Re: packaging and porting Catalyst

2006-10-30 Thread A. Pagaltzis
is to be favoured. Sincerely, -- Aristotle Pagaltzis // http://plasmasturm.org/ ___ List: Catalyst@lists.rawmode.org Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst Searchable archive: http://www.mail-archive.com/catalyst@lists.rawmode.org/ Dev site: http

[Catalyst] Re: packaging and porting Catalyst

2006-10-30 Thread A. Pagaltzis
ready-built VM images, awesome. The more the merrier. See also: Elaine’s Law. Sincerely, -- Aristotle Pagaltzis // http://plasmasturm.org/ ___ List: Catalyst@lists.rawmode.org Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst Searchable archive

[Catalyst] Re: IDE/editor

2006-11-15 Thread A. Pagaltzis
* Christopher H. Laco [EMAIL PROTECTED] [2006-11-14 20:15]: A. Pagaltzis wrote: * Ash Berlin [EMAIL PROTECTED] [2006-11-14 17:40]: For vim I use the MiniBuffExplorer plugin and split windows - give you tab like interface, and is faster than gvim7's own tabs IMO. You are a man

[Catalyst] The final word on the perfect editor (was: IDE/editor)

2006-11-15 Thread A. Pagaltzis
://www.friday.com/bbum/2006/11/09/bbedit-vs-textmate-the-editor-wars-revisited/ Regards, -- Aristotle Pagaltzis // http://plasmasturm.org/ ___ List: Catalyst@lists.rawmode.org Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst Searchable archive: http

[Catalyst] Re: using Plugin::Singleton and testing

2006-11-15 Thread A. Pagaltzis
* Matt S Trout [EMAIL PROTECTED] [2006-11-15 12:25]: Plugin::Singleton considered a really, really, really bad idea. Don't use it. While I’m in link-lobbing mode: http://steve.yegge.googlepages.com/singleton-considered-stupid Regards, -- Aristotle Pagaltzis // http://plasmasturm.org

[Catalyst] Re: Catalyst vs Rails vs Django Cook off

2006-11-16 Thread A. Pagaltzis
are meaningful and useful. It’s called science. Regards, -- Aristotle Pagaltzis // http://plasmasturm.org/ ___ List: Catalyst@lists.rawmode.org Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst Searchable archive: http://www.mail-archive.com

[Catalyst] Re: Catalyst vs Rails vs Django Cook off

2006-11-16 Thread A. Pagaltzis
slow. No, they will bitch that the *application* is slow. Customers couldn’t give a flying monkey about how you implement it. And the framework is almost assuredly not going to be where you’re wasting all your cycles. Regards, -- Aristotle Pagaltzis // http://plasmasturm.org

[Catalyst] Re: using Plugin::Singleton and testing

2006-11-16 Thread A. Pagaltzis
class. Regards, -- Aristotle Pagaltzis // http://plasmasturm.org/ ___ List: Catalyst@lists.rawmode.org Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst Searchable archive: http://www.mail-archive.com/catalyst@lists.rawmode.org/ Dev site

[Catalyst] Re: Catalyst vs Rails vs Django Cook off

2006-11-16 Thread A. Pagaltzis
* Cory Watson [EMAIL PROTECTED] [2006-11-17 03:20]: On 11/16/06, A. Pagaltzis [EMAIL PROTECTED] wrote: If I say I'm afraid this pasta tastes so awful I just can't eat it, would you respond well at least [the cook] did prepare something! maybe you should stop mouthing off and do it better

[Catalyst] Re: using Plugin::Singleton and testing

2006-11-17 Thread A. Pagaltzis
, in practice. Regards, -- Aristotle Pagaltzis // http://plasmasturm.org/ ___ List: Catalyst@lists.rawmode.org Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst Searchable archive: http://www.mail-archive.com/catalyst@lists.rawmode.org/ Dev site

[Catalyst] Re: using Plugin::Singleton and testing

2006-11-17 Thread A. Pagaltzis
* Jonathan Rockway [EMAIL PROTECTED] [2006-11-17 06:45]: On Thursday 16 November 2006 20:08, A. Pagaltzis wrote: A singleton is nothing but a global variable, except the identifier comes from the class namespace rather than the variable namespace. Put it in a global variable already

[Catalyst] Re: using Plugin::Singleton and testing

2006-11-17 Thread A. Pagaltzis
not reading it at all. Apparently he hates the Singleton pattern so much that he fails to see this.) I’m not sure I read the same article as you. Regards, -- Aristotle Pagaltzis // http://plasmasturm.org/ ___ List: Catalyst@lists.rawmode.org Listinfo: http

[Catalyst] Re: using Plugin::Singleton and testing

2006-11-18 Thread A. Pagaltzis
* Daniel McBrearty [EMAIL PROTECTED] [2006-11-17 22:30]: On 11/17/06, A. Pagaltzis [EMAIL PROTECTED] wrote: * Daniel McBrearty [EMAIL PROTECTED] [2006-11-17 12:00]: A global is something that is in the global namespace. A singleton isn't, any more than other class is. You have to import

[Catalyst] Re: using Plugin::Singleton and testing

2006-11-18 Thread A. Pagaltzis
of the coder, not the language. Singletons tie you into an app design even tighter than global variables can. That may not always be a bad idea, but I would think it is something you would only use in extremely rare cases. Regards, -- Aristotle Pagaltzis // http://plasmasturm.org

[Catalyst] Re: [OT] Universal::CAN warning from TT?

2006-11-22 Thread A. Pagaltzis
* Jonathan Rockway [EMAIL PROTECTED] [2006-11-22 17:50]: You would never call a class method directly like that (because it won't work), so you shouldn't do that with UNIVERSAL::can or UNIVERSAL::isa. For completeness’ sake, there is exactly one acceptable use of `UNIVERSAL::can` as a

[Catalyst] Re: How are you handling multiformat URL

2006-11-28 Thread A. Pagaltzis
=ext approach because there’s no difference in information conveyed between the two. Regards, -- Aristotle Pagaltzis // http://plasmasturm.org/ ___ List: Catalyst@lists.rawmode.org Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst Searchable

[Catalyst] Re: Last Chance / Last Day: Web developmentplatformcontestand Perl / Catalyst

2006-11-30 Thread A. Pagaltzis
need Scriptaculous. I think.) With tingling sarcasm gland, -- Aristotle Pagaltzis // http://plasmasturm.org/ ___ List: Catalyst@lists.rawmode.org Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst Searchable archive: http://www.mail

[Catalyst] Re: Last Chance / Last Day: Web developmentplatformcontestand Perl / Catalyst

2006-11-30 Thread A. Pagaltzis
, so enough :) Yes, yes, PHP blows. We already established that. Regards, -- Aristotle Pagaltzis // http://plasmasturm.org/ ___ List: Catalyst@lists.rawmode.org Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst Searchable archive: http

[Catalyst] Re: Last Chance / Last Day: Web development platform contest and Perl / Catalyst

2006-12-04 Thread A. Pagaltzis
them, wikis tend to devolve into an unnavigable mess. Regards, -- Aristotle Pagaltzis // http://plasmasturm.org/ ___ List: Catalyst@lists.rawmode.org Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst Searchable archive: http://www.mail

[Catalyst] Re: Last Chance / Last Day: Web development platform contest and Perl / Catalyst

2006-12-05 Thread A. Pagaltzis
* Octavian Rasnita [EMAIL PROTECTED] [2006-12-05 08:40]: What wiki do you recommend? (in perl or php) I have tried TWiki, but it has some bugs that I don't know how to solve. I think they all suck. :-) I’d probably try PhpWiki first. Regards, -- Aristotle Pagaltzis // http://plasmasturm.org

[Catalyst] Wikis (was: Last Chance / Last Day: Web development platform contest and Perl / Catalyst)

2006-12-05 Thread A. Pagaltzis
* Octavian Rasnita [EMAIL PROTECTED] [2006-12-05 11:45]: From: A. Pagaltzis [EMAIL PROTECTED] I think they all suck. :-) I’d probably try PhpWiki first. Ok, thanks. Do you want to say that all of them have big bugs? No, I’m just saying all of them having things I dislike a lot as a user

[Catalyst] Re: Wikis

2006-12-05 Thread A. Pagaltzis
-ins for Catalyst? No, but look at Wiki::Toolkit. Regards, -- Aristotle Pagaltzis // http://plasmasturm.org/ ___ List: Catalyst@lists.rawmode.org Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst Searchable archive: http://www.mail

[Catalyst] Re: Wikis

2006-12-05 Thread A. Pagaltzis
with generally glacial development and a nearly comatose community… sigh. It’s less annoying than many alternatives, but you wouldn’t know that just from looking at the site. Regards, -- Aristotle Pagaltzis // http://plasmasturm.org/ ___ List: Catalyst

[Catalyst] Re: {OT] protecting against attacks with multilingual input

2006-12-06 Thread A. Pagaltzis
* Christopher H. Laco [EMAIL PROTECTED] [2006-12-06 00:15]: A. Pagaltzis wrote: * Jonathan Rockway [EMAIL PROTECTED] [2006-12-05 22:10]: You need to escape , , , , and '. s[(['])]{ '#' . ord( $1 ) . ';' }ge; Regards, Right. But don't do that (roll your own). Use the HTML

[Catalyst] Re: question from tutorial - does creating HTML in a controller using HTML::Widget violate MVC?

2006-12-06 Thread A. Pagaltzis
* John Siracusa [EMAIL PROTECTED] [2006-12-06 03:15]: My stance has always been that I don't mind code in templates so long as the sole purpose of that code is to layout and format the data. ++ Regards, -- Aristotle Pagaltzis // http://plasmasturm.org

[Catalyst] Re: AJAX under application/xhtml+xml

2006-12-06 Thread A. Pagaltzis
go for it.) Regards, -- Aristotle Pagaltzis // http://plasmasturm.org/ ___ List: Catalyst@lists.rawmode.org Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst Searchable archive: http://www.mail-archive.com/catalyst@lists.rawmode.org/ Dev site

[Catalyst] Re: usign Catalyst::Plugin::Prototype

2006-12-07 Thread A. Pagaltzis
* Steve Sabljak [EMAIL PROTECTED] [2006-12-08 04:25]: What is the recommended Ajax framework for Catalyst these days anyway? Is there a DeFacto standard? Take a look at jQuery. I just made two new converts two or three threads next to this one. :-) Regards, -- Aristotle Pagaltzis // http

[Catalyst] Re: reference lib outside Catalyst web application directory

2006-12-13 Thread A. Pagaltzis
* Christopher H. Laco [EMAIL PROTECTED] [2006-12-13 18:40]: I can't imagine life before $FindBin::Bin Despite the fact that it’s perverse and horribly broken [1]? [1]: http://www.perlmonks.org/index.pl?node_id=41213 Regards, -- Aristotle Pagaltzis // http://plasmasturm.org

[Catalyst] Re: Accessing $c from Model

2006-12-27 Thread A. Pagaltzis
timing, you might even break the whole thing alltogether. In summary: avoid caring too much without specific reason to. Regards, -- Aristotle Pagaltzis // http://plasmasturm.org/ ___ List: Catalyst@lists.rawmode.org Listinfo: http://lists.rawmode.org

[Catalyst] Re: debugging the login

2007-01-02 Thread A. Pagaltzis
), but at least it doesn’t turn my stomach like ESR’s screeds. Regards, -- Aristotle Pagaltzis // http://plasmasturm.org/ ___ List: Catalyst@lists.rawmode.org Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst Searchable archive: http://www.mail

[Catalyst] Re: creating a model

2007-01-02 Thread A. Pagaltzis
Pagaltzis // http://plasmasturm.org/ ___ List: Catalyst@lists.rawmode.org Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst Searchable archive: http://www.mail-archive.com/catalyst@lists.rawmode.org/ Dev site: http://dev.catalyst.perl.org/

[Catalyst] Re: Catalyst mentioned as technology alternative

2007-01-05 Thread A. Pagaltzis
language has a different | philosophy about where it's important to suck the least. Regards, -- Aristotle Pagaltzis // http://plasmasturm.org/ ___ List: Catalyst@lists.rawmode.org Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst Searchable archive

[Catalyst] Re: Binary Conversion

2007-01-09 Thread A. Pagaltzis
* Will Smith [EMAIL PROTECTED] [2007-01-08 18:50]: I want to conver a number to binary. my $binary = sprintf '%b', $number; What does Math::BigInt have to do with anything, and what does that have to do with Catalyst? Regards, -- Aristotle Pagaltzis // http://plasmasturm.org

[Catalyst] Re: Browser window/tab independent sessions

2007-01-09 Thread A. Pagaltzis
use case. Regards, -- Aristotle Pagaltzis // http://plasmasturm.org/ ___ List: Catalyst@lists.rawmode.org Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst Searchable archive: http://www.mail-archive.com/catalyst@lists.rawmode.org/ Dev site

[Catalyst] Re: Catalyst vs Rails vs Django Cook off

2007-01-15 Thread A. Pagaltzis
to another templating engine and/or ORM than out of switching the framework, whose total performance impact is negligible. So I don’t know what the point of benchmarking frameworks against each other is, particularly for such an unrepresentative case. Regards, -- Aristotle Pagaltzis // http

[Catalyst] Re: Catalyst vs Rails vs Django Cook off

2007-01-15 Thread A. Pagaltzis
is not improbably slow, its contribution to an app’s performance characteristics will just be noise in any realworld scenario. Regards, -- Aristotle Pagaltzis // http://plasmasturm.org/ ___ List: Catalyst@lists.rawmode.org Listinfo: http://lists.rawmode.org

[Catalyst] Re: Catalyst vs Rails vs Django Cook off

2007-01-18 Thread A. Pagaltzis
, -- Aristotle Pagaltzis // http://plasmasturm.org/ ___ List: Catalyst@lists.rawmode.org Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst Searchable archive: http://www.mail-archive.com/catalyst@lists.rawmode.org/ Dev site: http://dev.catalyst.perl.org/

[Catalyst] Re: Catalyst vs Rails vs Django Cook off

2007-01-18 Thread A. Pagaltzis
* Jonathan Rockway [EMAIL PROTECTED] [2007-01-18 17:55]: A. Pagaltzis wrote: Eh? Apache doesn’t dispatch anything unless maybe you’re talking about mod_perl If that's true, then GETting http://mysite.com/foo/bar/baz.html would get a file named $DOCROOT/foo\/bar\/baz.html. Considering

[Catalyst] Re: Catalyst vs Rails vs Django Cook off

2007-01-18 Thread A. Pagaltzis
* Jonathan Rockway [EMAIL PROTECTED] [2007-01-18 19:40]: A. Pagaltzis wrote: Are we done splitting this hair now or do you need more clarification? Depends on what you mean by methods: foo.pl: use MyApp; print MyApp-foo($ENV{QUERY_STRING}); bar.pl: use MyApp; print MyApp-bar($ENV

[Catalyst] Re: Catalyst vs Rails vs Django Cook off

2007-01-18 Thread A. Pagaltzis
provides a way to dispatch to a piece of my own code, then yes, absolutely. Apache + mod_perl is a reasonable benchmark candidate, f.ex. Regards, -- Aristotle Pagaltzis // http://plasmasturm.org/ ___ List: Catalyst@lists.rawmode.org Listinfo: http

[Catalyst] Re: plat_forms contest started -- user feedback requested

2007-01-25 Thread A. Pagaltzis
-hour days. Sleep deprivation when well rested is actually documented to have a bunch of psychotropic effects including mild euphoria. Anyone who has stayed up long enough to get a weird sense of humour knows this first hand. Regards, -- Aristotle Pagaltzis // http://plasmasturm.org

[Catalyst] Re: Hair-pulling over YAML config

2007-01-29 Thread A. Pagaltzis
it’s still a config file, it’s obviously a broken one. Regards, -- Aristotle Pagaltzis // http://plasmasturm.org/ ___ List: Catalyst@lists.rawmode.org Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst Searchable archive: http://www.mail

[Catalyst] Re: Tweaking REST

2007-01-30 Thread A. Pagaltzis
talking about?) Regards, -- Aristotle Pagaltzis // http://plasmasturm.org/ ___ List: Catalyst@lists.rawmode.org Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst Searchable archive: http://www.mail-archive.com/catalyst@lists.rawmode.org/ Dev

[Catalyst] O’Reilly might yet be interested after all

2007-02-06 Thread A. Pagaltzis
to the advent calendar is probably a good gauge for that. Regards, -- Aristotle Pagaltzis // http://plasmasturm.org/ ___ List: Catalyst@lists.rawmode.org Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst Searchable archive: http://www.mail

[Catalyst] Re: O’Reilly might yet be interested after all

2007-02-06 Thread A. Pagaltzis
that are concise and simple, but falls back to Perl for anything beyond that. (And I’m gonna do something about that desire at some point.) Regards, -- Aristotle Pagaltzis // http://plasmasturm.org/ ___ List: Catalyst@lists.rawmode.org Listinfo: http

[Catalyst] Redirect status codes (was: HTTP redirect - delayed Firefox)

2007-02-10 Thread A. Pagaltzis
was introduced in HTTP 1.1; if the client sent you a HTTP 1.0 request, you have no other choice than 302. Regards, -- Aristotle Pagaltzis // http://plasmasturm.org/ ___ List: Catalyst@lists.rawmode.org Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst

[Catalyst] Re: Redirect status codes (was: HTTP redirect - delayed Firefox)

2007-02-13 Thread A. Pagaltzis
* Matt S Trout [EMAIL PROTECTED] [2007-02-12 11:45]: On 10 Feb 2007, at 08:30, A. Pagaltzis wrote: Actually, 302 means “repeat the same request at this other URI” whereas 303 means “please retrieve this other URI using GET.” The difference is that strictly according to RFC, 302 means

[Catalyst] Re: Why I chose Perl and Catalyst

2007-02-13 Thread A. Pagaltzis
typing). Regards, -- Aristotle Pagaltzis // http://plasmasturm.org/ ___ List: Catalyst@lists.rawmode.org Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst Searchable archive: http://www.mail-archive.com/catalyst@lists.rawmode.org/ Dev site: http

[Catalyst] Re: Why I chose Perl and Catalyst

2007-02-14 Thread A. Pagaltzis
performance Arguably Java is faster. - has stood the test of time Check. Basically, this is a good list if you want to argue “Perl vs. another contemporary dynamic language,” but it makes little distinction when you’re trying to contrast Perl against Java. Regards, -- Aristotle Pagaltzis

[Catalyst] Re: looping

2007-02-14 Thread A. Pagaltzis
Hi Ian, * Ian Docherty [EMAIL PROTECTED] [2007-02-14 16:40]: A. Pagaltzis wrote: * Will Smith [EMAIL PROTECTED] [2007-02-12 21:25]: my $column = $c-model(myDB::Author)-get_column('last_name'); while(my $name = $column-next){ $lname[$i] = $name; $i = $i + 1; } Ugh. Use `push

[Catalyst] Re: You have been automatically logged out.

2007-02-22 Thread A. Pagaltzis
Javascript or meta refresh or whatever in order to alert the user to the logout, but logging them out MUST happen server-side. Regards, -- Aristotle Pagaltzis // http://plasmasturm.org/ ___ List: Catalyst@lists.rawmode.org Listinfo: http://lists.rawmode.org

[Catalyst] Re: You have been automatically logged out.

2007-02-22 Thread A. Pagaltzis
timeouts. Regards, -- Aristotle Pagaltzis // http://plasmasturm.org/ ___ List: Catalyst@lists.rawmode.org Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst Searchable archive: http://www.mail-archive.com/catalyst@lists.rawmode.org/ Dev site

[Catalyst] Re: Chained, slashes, and escaping

2007-03-06 Thread A. Pagaltzis
Pagaltzis // http://plasmasturm.org/ ___ List: Catalyst@lists.rawmode.org Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst Searchable archive: http://www.mail-archive.com/catalyst@lists.rawmode.org/ Dev site: http://dev.catalyst.perl.org/

[Catalyst] Re: html mail (was: reserved words)

2007-03-09 Thread A. Pagaltzis
care. Regards, -- Aristotle Pagaltzis // http://plasmasturm.org/ ___ List: Catalyst@lists.rawmode.org Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst Searchable archive: http://www.mail-archive.com/catalyst@lists.rawmode.org/ Dev site: http

[Catalyst] Re: logout and go back to previous session?

2007-03-13 Thread A. Pagaltzis
processing for anonymous sessions, but it makes the protocol ever so slightly simpler and more robust. Regards, -- Aristotle Pagaltzis // http://plasmasturm.org/ ___ List: Catalyst@lists.rawmode.org Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst

[Catalyst] Re: logout and go back to previous session?

2007-03-14 Thread A. Pagaltzis
what I can tell. However, C::Session::State::Cookie consists of 100 lines of pretty simple code; just read the source. A patch to support multiple different cookie names would be quite easy to implement. (Or a subclass, failing that.) Regards, -- Aristotle Pagaltzis // http://plasmasturm.org

[Catalyst] Re: Handling slow uploads externally

2007-04-12 Thread A. Pagaltzis
in the CGI and a Catalyst base controller being released on CPAN? Sometimes, there is no code to do something because no code is needed to do it. :-) Regards, -- Aristotle Pagaltzis // http://plasmasturm.org/ ___ List: [EMAIL PROTECTED] Listinfo

[Catalyst] Re: internal redirect

2007-04-12 Thread A. Pagaltzis
if the image you are generating is a thumbnail, f.ex. Regards, -- Aristotle Pagaltzis // http://plasmasturm.org/ ___ List: [EMAIL PROTECTED] Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst Searchable archive: http://www.mail-archive.com/[EMAIL

[Catalyst] Re: Handling slow uploads externally

2007-04-13 Thread A. Pagaltzis
cache thrashing, esp. in multi- processor systems. I don’t know if it does upload buffer or how it stacks up against the competition. Regards, -- Aristotle Pagaltzis // http://plasmasturm.org/ ___ List: [EMAIL PROTECTED] Listinfo: http

[Catalyst] Re: HOWTO reference config settings from template

2007-04-13 Thread A. Pagaltzis
* Jeff Chimene [EMAIL PROTECTED] [2007-04-13 19:20]: Where is the class method documented? http://search.cpan.org/perldoc/Template::Plugin::Class ___ List: [EMAIL PROTECTED] Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst Searchable

[Catalyst] Re: Catalyst Summary for March 2007

2007-04-17 Thread A. Pagaltzis
, -- Aristotle Pagaltzis // http://plasmasturm.org/ ___ List: Catalyst@lists.rawmode.org Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst Searchable archive: http://www.mail-archive.com/catalyst@lists.rawmode.org/ Dev site: http://dev.catalyst.perl.org/

[Catalyst] Re: oe1.orf.at now running on Catalyst

2007-04-20 Thread A. Pagaltzis
, but it seems those plans fizzled out. Have they? Regards, -- Aristotle Pagaltzis // http://plasmasturm.org/ ___ List: Catalyst@lists.rawmode.org Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst Searchable archive: http://www.mail-archive.com

[Catalyst] Re: forwarding to chained actions

2007-04-24 Thread A. Pagaltzis
they are? Regards, -- Aristotle Pagaltzis // http://plasmasturm.org/ ___ List: Catalyst@lists.rawmode.org Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst Searchable archive: http://www.mail-archive.com/catalyst@lists.rawmode.org/ Dev site: http

[Catalyst] Re: forwarding to chained actions

2007-04-24 Thread A. Pagaltzis
present a reason that convinces me and which I feel would be a good thing to keep in mind for my own apps in the future, then I might be inclined to dig in and find out, because I’ll learn something for myself in the process. Regards, -- Aristotle Pagaltzis // http://plasmasturm.org

[Catalyst] Re: Catalyst videos from YAPC::Asia

2007-04-25 Thread A. Pagaltzis
, as I am about to go through and add '| html' to damn near every variable in my templates. http://search.cpan.org/dist/Template-Stash-HTML-Entities/ Regards, -- Aristotle Pagaltzis // http://plasmasturm.org/ ___ List: Catalyst@lists.rawmode.org

[Catalyst] Re: Catalyst videos from YAPC::Asia

2007-04-26 Thread A. Pagaltzis
* Danny Warren [EMAIL PROTECTED] [2007-04-26 11:25]: A. Pagaltzis wrote: * Danny Warren [EMAIL PROTECTED] [2007-04-26 04:45]: Quick question: at around 15 minutes in (while discussing TT) you mentioned the ability to set html scrubbing at a global level, and that there is something on CPAN

[Catalyst] Re: Catalyst videos from YAPC::Asia

2007-04-26 Thread A. Pagaltzis
. A quality module is one which does that and yet provides for less ordinary scenarios without resorting to “copy-paste and tweak to taste.” Anyway, not to get stuck on soapboxes here. If that module works for you, fine. :-) Regards, -- Aristotle Pagaltzis // http://plasmasturm.org

[Catalyst] Re: How to pass vars to modules

2007-04-26 Thread A. Pagaltzis
to remote interactions. That is a nightmare to maintain. Make your immediate dependencies explicit. Regards, -- Aristotle Pagaltzis // http://plasmasturm.org/ ___ List: Catalyst@lists.rawmode.org Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst

[Catalyst] OT: ack (was: How to pass vars to modules)

2007-04-26 Thread A. Pagaltzis
* Dave Rolsky [EMAIL PROTECTED] [2007-04-27 02:40]: For example, when I want to find all the modules I'm using, I usually do something like this: grep -r '^use ' As a sidenote, do check out App::Ack, which installs the `ack` tool. Much nicer than grep(1) for source code. --

[Catalyst] Re: Redirects // Re: forwarding to chained actions

2007-04-27 Thread A. Pagaltzis
* Simon Wilcox [EMAIL PROTECTED] [2007-04-27 15:10]: So, what do people do - do you send 303/307's correctly or just default to 302 behaviour? I send 303, unless the HTTP request uses HTTP 1.0, in which case the client sees a 302 instead. Regards, -- Aristotle Pagaltzis // http

  1   2   >