Camelia, the Perl 6 bug

IRC log for #mojo, 2012-08-12

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

All times shown according to UTC.

Time Nick Message
00:12 jnap joined #mojo
00:24 asarch joined #mojo
00:53 jnap joined #mojo
01:29 arpadszasz joined #mojo
01:55 xaka1 joined #mojo
02:05 jnap joined #mojo
02:29 ryozi joined #mojo
02:38 Psyche^ joined #mojo
02:55 noganex_ joined #mojo
03:36 vel joined #mojo
04:32 hipyhop joined #mojo
05:15 sri yay, so many bugs have been fixed in TM2 \o/
06:44 Britzel joined #mojo
06:53 Vandal joined #mojo
07:00 vel joined #mojo
07:15 d4rkie joined #mojo
08:07 ryozi joined #mojo
08:22 mire joined #mojo
08:30 ladnaV joined #mojo
08:43 memowe joined #mojo
08:50 GitHub20 joined #mojo
08:50 GitHub20 [mojo] kraih pushed 1 new commit to master: http://git.io/3z4F-g
08:50 GitHub20 [mojo/master] added return values for render_later and finish - Sebastian Riedel
08:50 GitHub20 left #mojo
09:07 GitHub155 joined #mojo
09:07 GitHub155 [mojo] kraih pushed 1 new commit to master: http://git.io/1bm_CQ
09:07 GitHub155 [mojo/master] fixed small timing bug in WebSocket test - Sebastian Riedel
09:07 GitHub155 left #mojo
09:33 rem_lex|pivo joined #mojo
09:36 GitHub29 joined #mojo
09:36 GitHub29 [mojo] kraih pushed 1 new commit to master: http://git.io/HGhGSQ
09:36 GitHub29 [mojo/master] small optimizations - Sebastian Riedel
09:36 GitHub29 left #mojo
09:41 arpadszasz joined #mojo
10:30 Leandr joined #mojo
10:44 GitHub64 joined #mojo
10:44 GitHub64 [mojo] kraih pushed 1 new commit to master: http://git.io/S8TFpA
10:44 GitHub64 [mojo/master] fixed a few small timing bugs in TLS tests - Sebastian Riedel
10:44 GitHub64 left #mojo
10:59 phillipadsmith joined #mojo
10:59 chansen joined #mojo
11:07 GitHub161 joined #mojo
11:07 GitHub161 [mojo] kraih pushed 1 new commit to master: http://git.io/xBg_nw
11:07 GitHub161 [mojo/master] test timeouts on both sides - Sebastian Riedel
11:07 GitHub161 left #mojo
11:08 sri it's only an optional test, but ioloop_tls.t is down from 12 to 4 seconds :)
11:15 batman joined #mojo
11:22 zhutingting joined #mojo
11:31 zhutingting :)
11:31 zhutingting feel confusable
11:32 zhutingting @@ layouts/test.html.ep
11:32 zhutingting <h1><%= title %></h1>
11:32 zhutingting @@ index.html.ep
11:32 zhutingting % layout 'test';
11:32 zhutingting % title 'test tag';
11:32 zhutingting why use %? what different between % and %=?
11:35 zhutingting layout: <%= another_title %>
11:35 zhutingting use layout in html: % another_title 'test'; # wrong!
11:36 zhutingting =-O title is super class label/method in render?
11:37 sri please don't paste into the channel
11:37 zhutingting and how to express my question?
11:38 sri use gist.github.com
11:38 zhutingting if 'title' is a helper? why don't use %= ?
11:38 zhutingting ok~ //sri: use gist.github.com
11:39 zhutingting title and layout use % rather than %= makes me confused
11:39 sri http://mojolicio.us/perldoc/​Mojolicious/Guides/Rendering
11:50 zhutingting thank you sri, forget my stupid question..
11:54 mire joined #mojo
12:28 zhutingting left #mojo
12:51 baton8_ joined #mojo
14:00 human39 joined #mojo
14:06 gryphon joined #mojo
14:08 alexeiras joined #mojo
15:05 kmx joined #mojo
15:22 d4rkie joined #mojo
15:42 jpacheco joined #mojo
15:42 jpacheco hey everyone
15:43 jpacheco could someone point me in the direction of how one might setup mojolicious to support https connections?
15:46 SmokeMachine_ joined #mojo
16:14 batman jpacheco: are you going to put mojolicious directly on 443 or behind a nginx, apache or something?
16:15 jpacheco i was going to have mojolicious serve websockets connections on ssl
16:16 jpacheco but it looks like i can use stunnel to do the ssl stuff for me
16:16 batman ok. then you need to install IO::Socket::IP and IO::Socket::SSL if you haven't already
16:16 jpacheco oh
16:16 jpacheco ok
16:16 jpacheco i didn't see any config for certs, etc
16:16 batman after that i think you can just start hypnotoad on https://*:443
16:18 batman https://metacpan.org/module/​Mojo::Server::Daemon#listen <-- have a look here
16:18 batman and in you app: $app->config(hypnotoad => { listen => ['https://*:3000?cert=/x/ser​ver.crt&key=/y/server.key'] }); # iirc
16:28 vel joined #mojo
16:33 xaka1 joined #mojo
16:53 jpacheco batman: oh, sweet! thanks man!
16:54 batman sure! good luck setting it up.
16:54 batman remember to install the two optional modules - which isn't optional when you want to do ssl...
16:56 jpacheco so if i want to test ssl with morbo, i would do something like morbo -l 'https://*:3000?cert=/x/ser​ver.crt&key=/y/server.key' ?
16:56 batman i think so
16:57 jpacheco cool
17:01 xaka joined #mojo
17:22 Mad_Dud hi guys. i found "include" in Mojolicious::Plugin::DefaultHelpers. the description says "Include a partial template, ". Where should I put these files, if i'm coding in "app" format?
17:22 Mad_Dud can i create /templates/common/
17:23 Mad_Dud and refer to the files as  include 'common/foo.thml.ep'?
17:23 Britzel joined #mojo
17:26 Mad_Dud well.. shit. ti worked without 'thml.ep'
17:32 marcus mmm
17:33 Mad_Dud sorry about that ;-)
17:40 marcus you wouldn't steal a car.
17:50 Mad_Dud no, rather not.
18:02 mire joined #mojo
18:13 fhelmber_ joined #mojo
19:18 lammel2 joined #mojo
21:45 lukep joined #mojo
21:53 lukep joined #mojo
22:06 vel joined #mojo
22:12 xaka1 joined #mojo

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