Camelia, the Perl 6 bug

IRC log for #mojo, 2012-11-02

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

All times shown according to UTC.

Time Nick Message
00:03 tempire joined #mojo
00:08 tempire First comment in today's log
00:08 tempire woo!
00:21 sri \o/
00:22 sri tempire: btw. making a perlbrew env for mojo development might be a cool mojocasts topic
00:24 sri hmm, on second thought, i might have suggested that before
00:28 jzawodn +1 either way
00:48 stocks joined #mojo
00:59 laouji joined #mojo
01:02 xaka joined #mojo
01:17 Mike-PerlRecruiter_ joined #mojo
01:23 tempire seems like too easy of a thing
01:52 d4rkie joined #mojo
02:57 michaelfung joined #mojo
02:59 michaelfung Hello!
03:17 michaelfung If I did $self->session(foo => 'bar'); after I expire it by $self->session( expires => 1 ); will the cookie in client still contains 'foo=bar'?
03:19 zivester joined #mojo
03:19 michaelfung In other words, will mojo overwrite the cookie content?
03:27 zivester joined #mojo
03:44 noganex joined #mojo
03:57 zivester joined #mojo
04:00 memowe_ joined #mojo
04:14 michaelfung Can I trust the session cookie as it is signed by mojo? No need to check against a DB for valid data?
04:52 kenjiskywalker joined #mojo
04:53 Foxcool_ joined #mojo
04:57 kenjiskywalker joined #mojo
05:15 Adura Is there a list of optional CPAN modules tapped on if installed as described here?: http://mojolicio.us/perldoc/Mojolicious/Guides/F​AQ#Why_doesnt_Mojolicious_have_any_dependencies
05:17 laouji joined #mojo
05:21 sri mojo version
05:22 kenjiskywalker joined #mojo
05:24 Adura Alrighty then.
05:26 ver joined #mojo
05:40 vishwanathms joined #mojo
05:40 vishwanathms_ joined #mojo
05:43 sri eeeep, my macbook just had a kernel panic
05:43 * sri quickly makes another backup
05:44 Adura Most of my BSoDs are from bitcoin-mining related fun.
05:44 sri i seem to be having wifi trouble
05:50 mpgutta joined #mojo
06:01 crab time to buy a new macbook
06:03 Adura Just upgrade your current one.
06:06 crab yes, with a new one.
06:07 spleenjack1 joined #mojo
06:33 nic joined #mojo
06:48 d4rkie joined #mojo
06:50 ovnimancer joined #mojo
06:51 kenjiskywalker joined #mojo
07:00 drift joined #mojo
07:16 kenjiskywalker joined #mojo
07:32 kenjiskywalker joined #mojo
07:35 kenjiskywalker joined #mojo
07:47 kenjiskywalker joined #mojo
08:07 Vandal joined #mojo
08:07 davido joined #mojo
08:11 kenjiskywalker joined #mojo
08:22 yakudza joined #mojo
08:37 Foxcool joined #mojo
08:39 D4RK-PH0ENiX joined #mojo
08:40 fhelmber_ joined #mojo
08:44 jamesw joined #mojo
08:48 pau4o joined #mojo
08:50 pau4o left #mojo
08:52 memowe O HAI! \o/
08:55 kenjiskywalker joined #mojo
08:58 memowe_ joined #mojo
08:59 kitt_vl joined #mojo
09:02 memowe Oh my ...
09:15 pierrick joined #mojo
09:31 dod joined #mojo
09:42 kenjiskywalker joined #mojo
09:44 Britzel joined #mojo
09:46 ObseLeTe joined #mojo
09:56 dod joined #mojo
10:03 Foxcool joined #mojo
10:06 marcus joined #mojo
10:29 perler joined #mojo
10:32 perler I have a very simple application written using mojo and want to deploy for production. The production server is a linux and has apache. Which method is the best for production.
10:33 lammel2 joined #mojo
10:33 lammel2 left #mojo
10:33 Foxcool joined #mojo
10:36 perler I have used perlbrew to install perl 5.12.x for developing mojo application.
10:41 memowe I'm using hypnotoad behind apache as reverse proxy. The wiki knows more about deployment options. :)
10:41 memowe perler: *highlight*
11:09 Foxcool_ joined #mojo
11:26 lukep joined #mojo
12:09 perler joined #mojo
12:15 spleenjack joined #mojo
12:17 lukep joined #mojo
12:18 Vandal joined #mojo
12:18 lukep joined #mojo
13:06 gryphon joined #mojo
13:14 dod1 joined #mojo
13:16 michaelfung joined #mojo
13:19 Mike-PerlRecruiter_ joined #mojo
13:28 rem_lex|pivo joined #mojo
14:02 Vandal joined #mojo
14:10 d4rkie joined #mojo
14:30 lammel2 joined #mojo
14:30 lammel2 left #mojo
14:34 knshaum joined #mojo
14:58 __basic6 joined #mojo
15:03 __basic6 if the controller method (working on a post request) decides that an error message should be displayed, should i just use something like render_text("error...") and return at that point, or is there an official way for that?
15:34 sh4 joined #mojo
15:35 inokenty joined #mojo
15:40 memowe __basic6: you can write a clean production ready exception.html.ep and die. :)
15:49 motoboi joined #mojo
16:06 vishwanathms joined #mojo
16:06 vishwanathms_ joined #mojo
16:10 GabrielVieira joined #mojo
16:13 xaka joined #mojo
16:24 sri https://github.com/kraih/mojo/issues/408 # is this a bug or a feature?
16:28 sri since embedded applications go through routes, and the around_dispatch hook in the embedded application doesn't do anything, automatic rendering triggers in the parent application
16:28 sri a simple $c->render_later could prevent that
16:30 dabudabu joined #mojo
16:35 sri http://hastebin.com/raw/muqejefuwi # possible patch
16:35 __basic6 memowe: but i don't want to die ...
16:36 dross joined #mojo
16:36 __basic6 $self->stash->{'message'} ; render(template => 'warning'); and then a template.html.ep that displays $message ... ?
16:38 memowe a warning.html.ep
16:41 __basic6 s/template.html.ep/warning.html.ep
16:44 memowe s|s/template.html.ep/warning.html.ep|​s/template.html.ep/warning.html.ep/|
16:44 memowe Have to go now. Good night! :)
16:45 pierrick_ joined #mojo
16:54 good_news_everyone joined #mojo
16:54 good_news_everyone [mojo] kraih pushed 1 new commit to master: http://git.io/6RoigQ
16:54 good_news_everyone mojo/master 7546032 Sebastian Riedel: fixed embedded application bug that prevented around_dispatch hook from working correctly (closes #408)
16:54 good_news_everyone left #mojo
16:57 sri https://github.com/kraih/mojo/issues/408 # i'm not sure if this should stay
17:03 sri marcus, tempire, crab: a vote on this patch would be nice
17:04 crab i'm not sure i understand the problem
17:05 dod2 joined #mojo
17:06 sri routes in the embedded app are delayed with a timer, so it's like nothing happened, and the parent app renders a 404
17:08 sri don't think i can explain it any better
17:08 sri if nobody understands it, perhaps it shouldn't work
17:32 dvinciguerra joined #mojo
17:35 pierrick_ hi, i have a litlle question about the use of mongodb with mojolicious : when i stop mongodb, my mojolicious app lost connection even i have 2 members of replicaSet in my connection string and when mongodb restart my app doesnt autoreconnect ( i use Mojolicious::Plugin::Mongodb )  someone have a way to solve that. is it because the plugin is in startup and executed only once ?
17:50 crab sri: no no, i understand THAT part
17:50 crab i meant what problem you anticipate with the patch
17:50 crab i don't understand the larger consequences of the change
18:05 sh4 joined #mojo
18:20 vishwanathms joined #mojo
18:20 sri crab: ah, that is a bit tricky indeed
18:21 sri by putting mojo.routed in the stash we basically tell *all* dispatchers not to auto render a 404
18:22 vishwanathms_ joined #mojo
18:22 sri but the embedded app dispatcher has not even been started yet
18:23 labrown joined #mojo
18:24 sri so if you have a route in the embedded app that depends on auto rendering to produce a 404 it may not work
18:25 sri like get '/foo/:template';
18:31 sri hmm
18:31 sri i can't think of a scenario where that case would ever work with a non-blocking dispatch though
18:35 sri guess a simple solution for an actual problem trumps a theoretical problem that would exist either way
18:37 sri mojo.routed was supposed to signal that an endpoint action had been reached
18:52 d4rkie joined #mojo
19:03 good_news_everyone joined #mojo
19:03 good_news_everyone [mojo] kraih pushed 1 new commit to master: http://git.io/goxb2w
19:03 good_news_everyone mojo/master cd483d3 Sebastian Riedel: more embedding tests
19:03 good_news_everyone left #mojo
19:06 batman this is a bit weird: warn $self->param('foo'); prints "røs", but DBIC_TRACE print ...LIMIT ?: 'r�s%', '60'
20:11 _bob joined #mojo
20:18 xaka joined #mojo
20:37 lukep joined #mojo
20:40 dvinciguerra joined #mojo
21:05 sri wow, even tornado has an o'reilly book these days :o http://shop.oreilly.com/product/0636920021292.do
21:30 perlite joined #mojo
21:32 rhaen_fork joined #mojo
21:32 rhaen_fork hep
21:32 rhaen_fork sir?
21:32 rhaen_fork hm.
21:32 rhaen_fork sri?
21:33 sri o/
21:33 rhaen_fork sri: you blog is running on posterous, right?
21:33 sri ye
21:33 rhaen_fork I need a, hm...somewhat free blogging engine, would you recommend posterous anymore?
21:33 rhaen_fork or just think of moving to bloodspot?
21:34 rhaen_fork hm, blogspot, stupid auto correction
21:34 sri no clue
21:35 rhaen_fork :) ok.
21:36 rhaen_fork sounds like, you are happy with it the way it works.
21:38 sri all the cool kids seem to be on tumblr, but i hate that it doesn't have support for gists
21:39 rhaen_fork true, gist support is nice as I also have a lot code examples on my blog
22:02 kitt_vl joined #mojo
22:46 jzawodn joined #mojo
23:10 stocks joined #mojo
23:17 asarch joined #mojo
23:30 daniel joined #mojo
23:31 daniel hello.  is there a way to access session data when testing?  there doesn't seem to be a way to parse the cookie held by the UserAgent.
23:33 daniel $t->app->session is empty too.
23:45 yakudza joined #mojo
23:56 jnbek joined #mojo

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