Camelia, the Perl 6 bug

IRC log for #mojo, 2010-12-30

| Channels | #mojo index | Today | | Search | Google Search | Plain-Text | summary

All times shown according to UTC.

Time Nick Message
00:00 sri actually we start with a plain socket and upgrade later
00:00 tempire_ Where does the upgrade happen?
00:00 sri start_tls or so
00:01 sri but i would have to read up on it first too
00:01 sri won't be of much help
00:02 sri i suspect you are best off starting with an ioloop unit test
00:03 tempire_ I can't imagine it would be that hard, assuming the inet object is available to examine.
00:05 sri don't think it is, just the tests are
00:06 tempire_ crap.
00:06 tempire_ ioloop.t looks like gibberish to me.
00:06 sri you want ioloop_tls.t
00:07 tempire_ excellent.  this makes more sense.
00:08 kvorg woki, i work with certificates, so maybe i might be able to do something here
00:08 kvorg sri: would you be interested in having certificate-based authentication in all the bells and whistles? i will have to do it one day or another since we are planning some grid dashbords, and everything on the grid is PKI based
00:09 sri kvorg: sure
00:09 sri as long as there are tests for everything :)
00:10 sri not sure how much IO::Socket::SSL supports though
00:10 kvorg problem is: you need the whole PKI-based verification, done by ssl, and _then_ you can have authorization lists based on DN of the cert, or, proxy certificate attribte extensions (http://www.ietf.org/rfc/rfc3820.txt)
00:11 tempire_ that does sound complicated.  All I'm interested in is being able to read the common name from the client cert.
00:11 kvorg not enough, and the only real openssl binding is usable, but horrible (OpenSSL from OpenCA, it forks and runs openssl commands in the background)
00:12 kvorg the problem with grids is that you get a fully distributable and scalable system with virtual organization proxy certificates, which you generate from your certificate, but include signed attributes from the virutual organization, which can state permissions and roles etc
00:13 kvorg while horribly complicated, the role is in fact signed and enclosed in the certificate, so no one needs a working authorization database at runtime, and things work even when major shit hits the fan
00:13 * sri slowly moves backwards
00:13 kvorg (of course, getting the proxy certificate is so much more difficult)
00:13 * tempire_ wonders why sri is still on that side of the channel
00:13 kvorg but no, i think getting the DN is more than enought for 99.999% percent of cases outside the grid community
00:14 * kvorg wonders when sri will add a nice rfc browser so we can send better rfc links
00:14 * kvorg dreams of version 2 and ponies
00:15 tempire_ and snowman laser monsters
00:15 sri actually not a bad idea :D
00:15 sri both
00:15 kvorg while i am degenerately slurping out nonsense, can i ask another, perhaps more useful think
00:15 kvorg *thing
00:17 kvorg would it be interesting to have an ability to do chained authentication/authorization in the sense of trying first the certificate DN, then an outside ID provider (i.e. SAML/Shibboleth for university, something in for the web community etc.), then plain old passwords
00:18 kvorg i think there will be use cases like that, and having some kind of accepted way of doing auth plugins that could be chained like that would be nifty
00:19 kvorg people in the research/academic network commjnities are grafting stuff like that on different web frameworks since it has become a common pattern:
00:20 kvorg some users use certificates, most university and research users have a SAML identity provider for SSO, and some (administrator, for example) need plain old password login, perhaps limited to some conditions.
00:21 * kvorg needs to go to bed, but would like to know if there is anything making sense in all of this, or should he just implement all this crazy as a fat plugin for local use
00:22 sri could be a quite useful set of plugins
00:22 kvorg i thought so too,
00:23 kvorg but i wanted to see how you imagine the interaction, when for example cert is not regonized but not denied, and we have to test the next plugin
00:25 kvorg right now i would add a call to under (or bridge) and implement this simple logic in it. every auth plugin in the chain would get called, and the could say ok, unrecognized or denied; to do that, they should be able to do things such as show prompt, connect to and identity provider to check SSO credentials etc ...
00:25 kvorg i could do some of the individual pluguins (SAML, OpenSSL DN-based), but it would be cool if you could think about the API
00:26 sri actually it sounds like you know exactly what you want already :)
00:27 kvorg well ... i do, but what i am not sure is what to do with the under/bridge
00:28 kvorg how should one specify "those are the routes i want under these strange new chained auth/autz plugins?
00:30 sri under '/protected' => sub { my $self = shift; $self->redirect_to('denied') unless $self->some_cool_auth_method; ... };
00:30 sri i really don't know, there are so many possibilities
00:30 kvorg unconnected: when I do http://mojolicio.us/perldoc?IO/Socket it works as expectet, but http://mojolicio.us/perldoc?IO/Socket/SSL gives me search.cpan.org
00:31 kvorg exactly, and i tend do go for longwinded and clunky, while you do nice and elegant ... so I ask.
00:31 sri because the pod is not there
00:32 kvorg ahh, idiot me, i actually assumed that you fetch the source from cpan in such cases, and format it as usual ...
00:32 * kvorg is presuming too much.
00:37 sri :)
00:38 kvorg i think the cert stuff should be doable with SSL_verify_callback in IO::Socket::SSL, but might require  Net::SSLeay. Will investigate.
00:39 kvorg beautiful, it has full interface for crl files and URLs, this might actually be usable
00:40 kvorg also peer_certificate allows access to peer certificate values ... this should be good enough. will try to make something.
00:41 kvorg ideally we should in time have a similar api for all the auth plugins, so i hope you will whack me on the ears and make me change the api to somehting useful then.
00:41 * kvorg rolls to bed and faints.
00:41 kvorg bye bye
00:41 sri nn
01:15 tempire_ left #mojo
04:03 tl joined #mojo
04:05 tholen42 left #mojo
04:11 baton8 left #mojo
06:44 perlrocks Twitter: "+1 ! RT @perlninja @kraih optimized #mongodb plugin for #mojolicious? yes please! :D" --jakoubek http://twitter.com/jakoube​k/status/20369509193875456
06:45 koban joined #mojo
06:48 Alias_ joined #mojo
06:54 alnewkirk joined #mojo
06:55 kaare joined #mojo
07:36 kvorg left #mojo
07:40 alnewkirk left #mojo
07:55 baton8 joined #mojo
08:06 MojoGuest675 joined #mojo
08:06 MojoGuest675 From: http://www.google.ca/url?sa=t&source=web&c​d=8&ved=0CFYQFjAH&url=http%3A%2F%2Fdev.xan​tus.org%2F&rct=j&q=websockets%20demo&e​i=AzwcTfzgC8WSnwf7ysmPDg&usg=AFQjCNGw6nZv0wO42​uzUnHhWcD0vcKNULg&sig2=678t3kjmimdNalvHRgfMQg (1 hits)
08:06 MojoGuest675 left #mojo
08:28 ysyrota joined #mojo
08:32 otaviof left #mojo
08:36 omega left #mojo
08:45 verrens joined #mojo
09:03 koban left #mojo
09:18 baton8 left #mojo
09:22 maez Who can i get link to <mojo-app>/public dir regardless of location in app? Actually i have some files and dirs into "public" and want to read they by perl. Full system path is not a best way..
09:25 yko you may want to look at http://mojolicio.us/perldoc?Mojo/Home#rel_file and http://mojolicio.us/perldo​c?Mojolicious/Static#root
09:26 yko both are available as $app->home and $app->static
09:32 otaviof joined #mojo
09:37 otaviof left #mojo
09:37 Alias_ left #mojo
09:38 Alias_ joined #mojo
09:41 Alias__ joined #mojo
09:43 marcus ooh, sony is so screwed
09:43 marcus \o/
09:43 marcus sri: want mongodb plugin!
09:44 marcus the official driver is quite solid, but they do some weird stuff
09:46 Alias_ left #mojo
09:46 su-bzero[A] is now known as su-bzero
10:14 zipkid What do you ppl think of MojoX Scaffold?
10:22 spleenjack joined #mojo
10:24 seb_ left #mojo
10:31 verrens left #mojo
10:33 crab marcus: what happened to snoy?
10:52 AmeliePoulain joined #mojo
10:54 maez who to transfer @array into template?
10:54 maez *how
10:56 yko http://mojolicio.us/perldoc?Mojoli​cious/Guides/Rendering#Stash_Data
10:57 dotan_ joined #mojo
10:58 su-bzero_ joined #mojo
11:00 su-bzero_ What is a license of Mojo?
11:00 su-bzero_ Need to fork and overtake it. ;)))
11:02 seb_ joined #mojo
11:04 maez yko, could you pls to clarify? I tried code like $self->stash(foo=>@array) and use @$foo in template, but it now works..
11:04 maez *not
11:05 su-bzero_ foo => \@array ?
11:05 su-bzero_ stash('foo')->[0] ?
11:06 maez su-bzero, yeap, thx!
11:07 maez forgot about \@
11:12 yko ye, there's exactly example how to pass array/hash. just as arrayref
11:19 koban joined #mojo
11:31 su-bzero1 joined #mojo
11:35 su-bzero_ left #mojo
11:39 su-bzero is now known as su-bzero2
11:40 su-bzero2 is now known as su-bzero
11:53 perlite left #mojo
11:53 perlite joined #mojo
12:22 perlrocks Twitter: "The problem with #mojolicious: lots of plugins not on CPAN but scattered on github, many of which lack docs and compatibility with 1.0" --perlninja http://twitter.com/perlninj​a/status/20454567514734592
12:24 avkhozov left #mojo
12:41 MojoGuest130 joined #mojo
12:41 MojoGuest130 From: http://news.ycombinator.com/item?id=1277067 (131 hits)
12:42 MojoGuest130 left #mojo
12:46 MojoGuest52 joined #mojo
12:46 MojoGuest52 From: http://www.google.no/search?client=opera&amp;r​ls=en&amp;q=mojo+websockets&amp;sourceid=opera​&amp;ie=utf-8&amp;oe=utf-8&amp;channel=suggest (1 hits)
12:46 MojoGuest52 left #mojo
12:55 ysyrota left #mojo
13:12 perlrocks Twitter: "Mojolicious - A next generation web framework for the Perl - http://mojolicio.us/" --umutm http://twitter.com/umutm/status/20467149734674434
13:21 verrens joined #mojo
13:27 ysyrota joined #mojo
13:34 su-bzero_ joined #mojo
13:36 su-bzero1 left #mojo
13:36 AmeliePoulain I have some Mojolicious applications and I wanna create "base" application with that applications as "modules" (with their controllers/models). How to realize module loading?
13:36 AmeliePoulain *dynamically module loading
13:37 seb_ left #mojo
13:38 moritz AmeliePoulain: Wouldn't it be more efficient to load all modules on startup, so that no request would result in a module being loaded?
13:38 MartiThi joined #mojo
13:39 MojoGuest590 joined #mojo
13:39 MojoGuest590 From: http://www.google.it/url?sa=t&amp;source=web​&amp;cd=3&amp;ved=0CC8QFjAC&amp;url=http%3A%​2F%2Fdev.xantus.org%2F&amp;rct=j&amp;q=webso​cket%20demo&amp;ei=UIscTfWkA8H0sgaqrZH6DQ&am​p;usg=AFQjCNGw6nZv0wO42uzUnHhWcD0vcKNULg (1 hits)
13:39 MojoGuest590 left #mojo
13:40 robinsmidsrod left #mojo
13:40 AmeliePoulain Modules are not small and I think it's no good idea to load all modules on startup.
13:41 AmeliePoulain For start I can realize static module loading ,but I have no idea for do this
13:43 AmeliePoulain I have base app only with Users and Auth controller and I want to add my another Mojolicious application as "module" for the "base" application. But It's a brainfuck for me at now
13:44 AmeliePoulain sry 4 my bad English
13:45 yko AmeliePoulain: you load all modules once at startap and make them available during whole app live - which can be 1000 requests or even 100K
13:46 MartiThi left #mojo
13:46 yko so there's no savings on dynamycaly loading
13:46 yko from other hand you can look at native loader: http://mojolicio.us/perldoc?Mojo/Loader
13:49 AmeliePoulain May I create /lib/<modulename>/{Controller/Model} subdirectories and load it by Mojo::Loader?
13:50 daviddelikat left #mojo
13:51 robinsmidsrod joined #mojo
14:04 dotan_ AmeliePoulain: perhaps this might interest you? http://mojolicio.us/perldoc?Mojolicious​/Guides/Routing#Embedding_Applications
14:08 AmeliePoulain dotan_, thanks, I think it's useful for me
14:22 verrens left #mojo
14:24 verrens joined #mojo
14:31 forwardever joined #mojo
14:33 alnewkirk joined #mojo
14:47 koban left #mojo
14:52 perlrocks Twitter: "Submitted Mojolicious 1.0, MVC web-framework in Perl from the creator of Catalyst http://bit.ly/i7LgJe / cc @ feedly" (ru) --ingen_xiler http://twitter.com/ingen_xil​er/status/20492357031952385
14:57 ysyrota left #mojo
14:59 diegok sri: is Mojolicous::Plugin::TagHelpers still experimental and might change in any time as the docs states after 1.0 release? -> http://mojolicio.us/perldoc?M​ojolicious/Plugin/TagHelpers
15:04 seb_ joined #mojo
15:18 diegok sri: ^ same question for Test::Mojo::text_like()
15:31 sri diegok: yes
15:32 sri not very likely, but might happen
15:32 diegok sri: ok, that last thing is just what I wanted to know.
15:32 zipkid What do you ppl think of MojoX Scaffold?
15:32 diegok sri: thank you :)
15:32 sri experimental means it depends on feedback mostly
15:34 diegok sri: and feedback tend to be conservative once who generate it start to maintain large codebases :-p
15:35 sri marcus: not sure what you expect from an optimized mongodb plugin, but for me it would be mostly about non-blocking
15:36 marcus sri: yes, I was expecting that, and the same clean apis you design other places.
15:36 sri not much i can do about the api i think
15:36 marcus maybe drop the autoload stuff and tie::ixhash?
15:37 marcus rafl was also complaining about some error-prone type handling in the perl -> bson converting
15:38 sri i have to reuse the bson code
15:40 marcus oh well :)
15:41 marcus I haven't had any actual problems yet, was just a bit worried after talking to rafl.
15:43 bloonix joined #mojo
15:43 marcus sri: feedback on https://github.com/marcusramb​erg/Mojolicious-Plugin-OAuth2 ?
15:44 marcus Not sure async is done in a useful fashion there.
15:44 marcus also, I need to generalize parameters to pass to providers. probably through an extra config key
15:45 marcus so you can specify which permissions to ask facebook for
15:45 sri no it is not
15:45 sri you need a callback
15:45 marcus there is a callback?
15:45 marcus you mean, the user must provide a callback..
15:45 sri right
15:45 marcus yeah, makes sense
15:46 sri $self->get_token(sub { shift->render });
15:46 sri something along those lines
15:46 marcus probably more like $self->render(text=>'key '.shift) ?
15:46 sri ye
15:48 marcus what about error handling? Just die and let the user handle it?
15:49 marcus Mojo::Exception->throw maybe
15:49 sri thats up to you
15:50 koban joined #mojo
15:50 koban left #mojo
15:51 koban joined #mojo
15:51 tempire_ joined #mojo
15:51 josh joined #mojo
15:53 marcus what is punycode?
15:55 DaTa a 7-bit unicode encoding
16:01 perlrocks Twitter: "In the work at all Mojolicious WebSocket" (ja) --hironorism http://twitter.com/hironori​sm/status/20509758607859713
16:09 AmeliePoulain left #mojo
16:10 yko text_like, element_exists and other DOM-related tests are very cool
16:10 yko they allow to save really much time on writing tests for content
16:17 zipkid Hello.
16:20 josh hello!
16:21 tempire_ Hello.
16:21 sri marcus: for IDNA
16:22 tempire_ zipkid: I haven't seen MojoX::Scaffolding.  I've seen Mojolicious::Plugin::ResourcefulRoutes, which may be the same thing.
16:22 tempire_ I don't personally have a need for its abstraction.
16:23 sri marcus: theoretically it would be possible to build a nice pure perl mongodb client, but it would be too expensive
16:26 tempire_ form validation is the devil.
16:26 sri it is
16:27 crab and you have to do it twice.
16:27 crab well, not really "have to".
16:30 forwardever zipkid: ResourcefulRoutes is one part of mojox scaffold, not sure whether it was a good idea to not make it separate, but you can just use ResourcefulRoutes (e.g. copy the file into the plugin dir) as it does not depend on the other parts
16:33 forwardever mojox::scaffold is just meant to get you started quickly, it creates a mojolicious application with forms, dbi, tests, once the app has been created, you can change everything according to your needs
16:34 koban left #mojo
16:34 forwardever it still lacks validation, as I'm still not sure how to include tag helpers plugin and mojox validator in a smart way
16:46 memememomo_ is now known as memememomo
16:46 memememomo is now known as memememomo_
16:47 kvorg joined #mojo
16:51 forwardever sri: would it be possible to put some kind of error div around form fields based on internal stash values (e.g. to get red error boxes) in case a validator module provides an error?
16:52 sri make your own helpers
16:52 tempire_ forwardever: you could do something similar to what the begin block does
16:53 forwardever sri: i know, i have already created my own form helper, however, i'm still not sure why you put tag helpers into core as it is still experimental and does not provide a solution to these kind of issues, i would prefer a core solution
16:57 sri then i would have to solve validation too
16:58 sri anyway, red box around the input field is just one way to visualize it
16:58 sri you could just as well keep it separate entirely with a list at the top of the form
16:59 sri it's too early for me to make a decision, it can be done with plugins already, no need for me to rush a decision
17:01 forwardever there are many ways, but placing an error message directly below the affected fields (with red box) and put a general error message at the top seems to be most user friendly (speaking as a user)
17:01 sri we could argue about that forever
17:02 sri there is no real best practice yet
17:02 tempire_ as long as you use vim to make the template, it's correct.
17:02 * tempire_ is trolling
17:21 forwardever left #mojo
17:21 trcjr left #mojo
17:23 snearch joined #mojo
17:26 trcjr joined #mojo
17:35 nuclon joined #mojo
17:36 nuclon sri: und3f is saying "thank you" for the fix https://github.com/kraih/mojo/commit/52​f28846e492606df52bf2875d416cc669722c9d :)
17:52 GitHub118 joined #mojo
17:52 GitHub118 mojo: master Sebastian Riedel * edf464a (4 files in 4 dirs): fixed punycode bug - http://bit.ly/fXffgY
17:52 GitHub118 left #mojo
17:59 dotan_ left #mojo
18:00 spleenjack left #mojo
18:03 su-bzero_ sri: http://goo.gl/7nmjz
18:08 zamolxes left #mojo
18:08 zamolxes_ joined #mojo
18:12 avkhozov joined #mojo
18:12 sri su-bzero_: i never ban for less than a week, because i do it so rarely
18:15 sri in fact, i've only banned two people since we started #catalyst i think
18:16 otaviof joined #mojo
18:18 otaviof_ joined #mojo
18:18 otaviof left #mojo
18:19 sri hmm, mongodb cursors are really bad for non blocking apis
18:20 sri think i can only ignore them and prefetch
18:20 perlrocks Twitter: "Hocus Pocus - stable release Mojolicious 1.0 (MVC-development of powerful vebov in Perl):: http://blog.kraih.com/mojolicious-10-released" (ru) --sbobrovsky http://twitter.com/sbobrovs​ky/status/20544843100983296
18:22 josh mm powerful vebov
18:27 diegok sri: "mojolicious test t/basic.t" on a just generated app (not lite) is failing to find the app module. Fixed with FindBin plus use lib "$Bin/../lib"
18:30 sri diegok: you are holding it wrong :)
18:30 sri ./script/my_mojolicious_app test
18:30 sri thats how you're supposed to run tests accoring to documentation
18:30 seb_ left #mojo
18:31 tempire_ really
18:31 tempire_ I didn't know that.
18:34 curt joined #mojo
18:36 seb_ joined #mojo
18:37 tempire_ sri: Have you considered adding a simple role implementation into Mojo::Base?
18:37 sri tempire_: which part of mojolicious could be improved with roles?
18:39 tempire_ I'm not thinking so much for Mojolicious.  I use use base 'Mojo::Base' a lot for its attribute implementation in all sorts of modules.
18:40 tempire_ And I like the idea of having roles without a lot of dependencies.  Though there are some popping up here & there, it seems nothing has taken hold as a lightweight standard.
18:41 tempire_ I suppose I'm thinking moosishly, but I think of roles & attributes being in the same family.
18:41 sri don't have plans to add something mojolicious wouldn't use itself
18:43 diegok sri: sorry, too many time using ::Lite :-p
18:44 seb_ left #mojo
18:44 seb_ joined #mojo
18:47 curt generating my first app.... mojo generate app Hello
18:47 curt then starting it... perl script/hello
18:47 curt how do I get the logging to echo to the console?
18:48 curt in development mode
18:48 janus what i do: rm -rf log
18:50 curt well, that was easy. thanks
18:50 tempire_ curt: mojo logs to the console when there is no log directory.
18:55 sri wow, i didn't know salvador dali designed the chupa chups logo
19:14 seb_ left #mojo
19:36 spleenjack joined #mojo
19:48 nuclon left #mojo
20:06 sri http://textmate2.com/ # haha
20:08 DaTa how long will it take that somebody registers textmate3000.com and link it to vim.org? :)
20:09 avkhozov left #mojo
20:23 tempire_ lulz
20:25 tempire_ MojoX::Validator is actually quite expressive.
20:25 tempire_ This is the best validation module I've seen.
20:30 yko MojoX::Validator is actually quite expressive. This is the best validation module I've seen.
20:31 yko hm. sorry
20:33 tempire_ I'm glad we agree :s
20:34 yko :)
20:52 laidback_01 joined #mojo
20:52 laidback_01 hello, I'm doing my best to learn the code behind Mojomojo
20:53 laidback_01 been working with catalyst and dbic for a bit now, and mojo is quite cool for me.
20:53 laidback_01 I've got what I think is a beginner question, but I can't sort out how this is being done..
20:53 seb_ joined #mojo
20:54 * sri waves
20:54 laidback_01 For example, looking in the Page.pm Controller, the global action view is accessible via  .view from the app
20:54 sri laidback_01: wrong channel
20:54 sri see topic
20:54 laidback_01 Oh, this is mojolicious
20:54 laidback_01 sorry
20:55 laidback_01 left #mojo
20:55 yko lol
20:55 sri actually i would have expected that to happen more often :)
20:55 yko me too
20:56 yko but that was so fun :)
20:56 sri you're easy to entertain ;p
20:56 sri BLASTWAVE!
20:56 yko :D
20:57 yko Yep, i am. Thats positive side of me
21:00 curt left #mojo
21:02 curt joined #mojo
21:03 baton8 joined #mojo
21:27 curt The docs define bridge as "Add a new bridge to this route as a nested child." http://mojolicious.org/perld​oc?Mojolicious/Routes#bridge. Can someone provide a example of when a bridge should be used?
21:30 sri authentication
21:30 yko curt: http://mojolicio.us/perldoc?Moj​olicious/Guides/Routing#Bridges
21:30 sri yko++
21:31 * sri hates the lower levels of mongodb
21:31 yko sri: that's all you. i really love perldoc
21:32 sri sometimes order of hash values matters, sometimes it doesn't, almost impossible to find which cases happen when... this is bullshit
21:32 yko curt: you may want to use actions instead of callbacks (cb). Just as it was simple route
21:33 yko sri: order of hash values? afaik hash values doesn't have any specified order
21:33 sri in mongodb they do
21:33 yko ooh. i thought you are talking about perl implementation
21:33 sri thats why the MongoDB module uses Tie::IxHash
21:34 yko ouch :(
21:34 sri and the whole documentation is full of handwaving... never listing the actual cases
21:34 yko i lova hypnotoad now
21:34 yko *love
21:35 sri i'm close to the point where i'd rather write a new orm for postgresql than work on a mongodb client ;p
21:35 yko lol
21:35 yko just dissected it and looked at guts. happy now: it's precious
21:36 sri :)
21:37 curt I was looking at the FastNotes example on git... Trying to figure out what my $rn = $r->bridge('/notes')->to('auths#check'); is doing. It looked like authentication, just trying to confirm.
21:48 seb_ curt: did you notice that you can use the app without authenticate (just give the url of the tool). It is not perfect
21:50 curt yes, just trying to get an understanding of what's happening
21:52 yko bridge's action is called before dispatching all other routes that are behind it. if bridge returns undef, actions wont be dispatching
21:53 seb_ thx
21:54 seb_ to beter understand, i make my system from scratch. Don't know why Freenote authentication look so complicated
21:54 yko look there: https://gist.github.com/760361
21:55 yko get '/secure' build over the bridge. sice bridge always returns undef, user will never reach /secure page
21:55 yko by as only you change callback to return true, user will be able to view that page.
21:56 snearch left #mojo
21:56 yko you may try and then add some logic to bridge
21:59 seb_ thanks yko. I really have problems to understand with all this intrications of objects. I have to start small and understant what I do. The "growing" part of the wiki is quite well for me. The fastnote example is to difficult (for me)
22:20 curt yko: thanks... in the  https://gist.github.com/760361, if you tried to access /secure directly, would you receive a 404 error?
22:21 yko curt: just try by yourself: i don't remember :))
22:21 mateu left #mojo
22:23 yko good night
22:25 mateu joined #mojo
22:49 kvorg left #mojo
22:53 seb_ good night
23:04 daviddelikat joined #mojo
23:10 daviddelikat left #mojo
23:11 kaare left #mojo
23:17 MojoGuest139 joined #mojo
23:17 MojoGuest139 From: http://news.ycombinator.com/item?id=1277067 (132 hits)
23:19 MojoGuest139 left #mojo
23:19 spleenjack1 joined #mojo
23:20 kvorg joined #mojo
23:23 spleenjack left #mojo
23:24 perlrocks Twitter: "mojolicious so now you have to try in node.js" (ja) --hironorism http://twitter.com/hironori​sm/status/20621389098647552
23:25 seb_ $r->route('/test')->(controller => 'MyController', action=> 'index');  did not work aving a controler named MyControler.pm
23:25 seb_ mv MyController Mycontroller; (and rename in file)
23:26 seb_ $r->route('/test')->(controller => 'mycontroller|Mycontroller', action=> 'index'); work again. is it a bug?
23:27 sri seb_: it's just camel case
23:27 sri MyController translates to my_controller
23:27 seb_ camel case?
23:27 seb_ I try
23:28 seb_ youre right
23:30 seb_ did not know this therm. I will sleep less idiot this night. thank
23:50 verrens left #mojo
23:52 seb_ how does it work for the template directory. Actualy, with or without cammel, the $self->render(); in the MyController package did not found "MyControler|mycontroler|my_controler" in the template directory. Is there anything more?
23:56 seb_ it was me. It works
23:56 seb_ time to sleep
23:56 seb_ good night
23:58 ispy_ left #mojo

| Channels | #mojo index | Today | | Search | Google Search | Plain-Text | summary