Camelia, the Perl 6 bug

IRC log for #mojo, 2012-01-27

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

All times shown according to UTC.

Time Nick Message
00:04 mire joined #mojo
00:04 GabrielVieira joined #mojo
01:38 hshong joined #mojo
01:54 memowe joined #mojo
01:59 jnap joined #mojo
02:11 elb0w_ joined #mojo
02:25 j3nnn1 joined #mojo
02:30 mire joined #mojo
02:50 xaka joined #mojo
03:39 Psyche^ joined #mojo
04:41 jwang joined #mojo
05:12 lukep joined #mojo
06:04 hshong joined #mojo
06:15 Vandal joined #mojo
06:35 koban joined #mojo
06:41 cstamas joined #mojo
06:54 hshong joined #mojo
06:55 tarski left #mojo
07:06 cosmincx joined #mojo
07:07 dpetrov_ joined #mojo
07:15 spleenjack joined #mojo
07:15 ladnaV joined #mojo
07:39 cosmincx joined #mojo
07:49 AmeliePoulain joined #mojo
07:56 Foxcool joined #mojo
08:02 keedi joined #mojo
08:12 dpetrov_ joined #mojo
08:32 berov joined #mojo
08:35 judofyr joined #mojo
08:55 GabrielVieira joined #mojo
09:53 random joined #mojo
10:23 random joined #mojo
10:34 paul joined #mojo
10:35 paul hey guys, i'm trying to understand the routing system and am trying to dispatch /user/new to Web::User.pm, function 'register'
10:35 paul i've followed the example given in 'Nested Routes' in Mojolicious::Guides::Routing
10:36 paul but it seems to try and render the page without actually calling the subroutine
10:38 paul http://pastebin.com/nAvLh8pJ is the code extract
10:38 paul all but the /new route seems to work fine
11:12 paul well i've gotta run out, but if anyone has any ideas that'd be handy, everything else in mojo is looking ridiculously awesome
11:24 paul you know, i've just thought
11:24 paul i bet 'register' is somewhat reserved
11:25 paul or not, right i'm giving up for now
11:42 briang joined #mojo
11:43 judofyr paul: have you tried "perl app.pl routes" ?
11:44 judofyr can anyone give me some feedback/code review on a simple plugin? sri? http://hastebin.com/mujutuwoti.pl
11:44 judofyr (yes, the docs are a part of the code review…)
11:46 sri judofyr: the docs explain a lot, except how to actually use that thing :o
11:46 judofyr sri: oh? doesn't the first example show it?
11:46 judofyr $self->ua->get('http://bbc.co.uk/', $self->parallol(sub {
11:47 sri oh, now i get it
11:48 sri makes sense
11:48 purl makes sense is http://xrl.us/bjq3kq
11:48 judofyr oh, I should probably mention that nesting works fine too
11:57 paul judofyr: i think in general i just dont' 'get' routes, i think a waypoint is what i want, but i am just new to it
11:57 paul i'll sort it out
12:02 judofyr sri: I' seeing a lot of: Event "close" failed: Can't use an undefined value as a symbol reference at
12:13 paul oh, i had another question that i hoped someone could answer, i'm using some pre-made TT templates so i'm using Xslate and i've set it as default_handler, but i want to use the normal handler for exceptions (potentially only in 'development' too), what would be the best way to do this?
12:30 judofyr sri: stack trace: http://hastebin.com/cilocohuva.txt
12:32 judofyr sri: it seems that is_readable is called after the connection is closed
12:40 Andrei666 joined #mojo
13:09 noganex_ joined #mojo
13:24 sri judofyr: seen that too, couldn't figure out yet what causes it
13:28 inokenty joined #mojo
13:40 jnap joined #mojo
13:42 sri ah figured it out
13:46 GitHub20 joined #mojo
13:46 GitHub20 [mojo] kraih pushed 1 new commit to master: http://git.io/B13UcQ
13:46 GitHub20 [mojo/master] fixed small bug in Mojo::IOLoop::Stream that caused close events to fail sometimes - Sebastian Riedel
13:46 GitHub20 left #mojo
13:47 sri it's absolutely harmless, just a little annoying
13:52 r0b3rt Anyone seen Mojo::Loader fail in Mojolicious/Routes.pm in a mod_perl environment.  Works for awhile and then it starts to fail.
13:53 sri i would be very very surprised if anyone here was using mod_perl
14:21 marcus r0b3rt: use fastcgi instead
14:22 marcus or hypnotoad
14:22 purl ALL GLORY TO THE HYPNOTOAD!!!
14:22 * marcus pushes purl down the stairs
14:22 * purl attaches herself to marcus using suction and a ham straw
14:25 ColonelPanic001 wat
14:26 r0b3rt Looking to plack/starman now
14:28 r0b3rt Trying to move CGI/mod_perl app to Mojolicious without changing too much stuff...
14:34 Andrei666 joined #mojo
14:35 judofyr sri: this is going to make Airbrake much more usable :)
14:35 Andrei666 hey guys,I'm doing a websocket app, and i've used the example in the documentation
14:35 judofyr sri: thanks!
14:35 sri \o/
14:35 Andrei666 but now I want to do it in a non-lite mojo app
14:36 Andrei666 and I want to ask you
14:36 Andrei666 in the controller do I need to specify " websocket '/' "
14:36 Andrei666 or just use
14:36 Andrei666 " sub ws_sub => "
14:36 Andrei666 ?
14:38 sri https://github.com/kraih/mojo/issues # if nobody takes care of those open tickets i'll just close them with my usual "not a bug" response
14:38 * sri pokes marcus, tempire and crab
14:39 crab ow ow ow.
14:40 crab sri: i'll look when i go to the study. don't have github passwords here.
14:40 crab in O(hour)
14:40 sri ok :)
14:43 marcus mr pokemon!
14:54 marcus sri: I did kind and proper replies.
14:54 marcus so they'll probably complain.
14:54 marcus :)
14:56 amoore joined #mojo
14:59 sri marcus++
14:59 sri reminds me to check the EV list
15:00 sri hmm nothing new
15:08 marcus guess marc is looking for a new excuse.
15:10 sri my bet is on a libev commit with a weird optimization that will break it on clang again
15:44 kaare joined #mojo
16:26 Foxcool joined #mojo
17:01 xaka joined #mojo
17:42 ki0 joined #mojo
17:43 ki0 joined #mojo
17:58 kamu joined #mojo
18:14 zork joined #mojo
18:15 zork left #mojo
18:15 zork joined #mojo
18:28 mire joined #mojo
18:29 mire joined #mojo
18:33 mire joined #mojo
18:34 mire joined #mojo
18:58 GabrielVieira joined #mojo
19:00 jnap_ joined #mojo
19:01 jnap joined #mojo
19:52 jnap joined #mojo
20:22 tempire I thought you liked open tickets
20:22 tempire you said they were all the rage
20:51 fibo joined #mojo
21:03 buu joined #mojo
21:17 buu joined #mojo
22:34 mire joined #mojo
22:43 slash24 joined #mojo
23:39 vel joined #mojo

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