The web in a box - a next generation web framework for the Perl programming language

IRC log for #mojo, 2014-05-22

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

All times shown according to UTC.

Time Nick Message
00:08 dvinciguerra joined #mojo
00:15 shmuel joined #mojo
00:35 zivester joined #mojo
00:43 rem_lex joined #mojo
01:04 laouji joined #mojo
01:07 klapperl_ joined #mojo
01:16 gryphon joined #mojo
01:25 bowtie joined #mojo
01:31 asarch joined #mojo
01:37 laouji joined #mojo
01:37 laouji joined #mojo
01:41 D4RK-PH0ENiX joined #mojo
01:52 hrupp_ joined #mojo
01:52 laouji joined #mojo
01:52 laouji joined #mojo
01:58 hrupp joined #mojo
02:03 hrupp joined #mojo
02:26 laouji joined #mojo
02:33 laouji joined #mojo
02:35 laouji joined #mojo
02:40 laouji joined #mojo
02:41 basic6 joined #mojo
02:48 laouji joined #mojo
03:04 basic6_ joined #mojo
03:11 bowtie joined #mojo
03:14 rafajafar joined #mojo
03:15 rafajafar I'm having a hell of a time with this one error on a really simple page. It says that my GET route for /list is not found... but it's totally there and it even lists it in the possible routes table
03:15 rafajafar https://gist.github.com/anonymous/c132a4939fedddaaffa6
03:15 rafajafar that's the code
03:16 rafajafar morbo reports that: Template "json.html.ep" not found.
03:16 rafajafar why would it look for that?
03:16 irq joined #mojo
03:41 rafajafar bleh finally figured it out, I needed to pass the array by reference... which makes sense... but the error page was confusing
03:43 fhelmber_ joined #mojo
03:50 laouji joined #mojo
04:10 cfedde I have an app where the browser passes say 50 "things" to do. I want to respond right away saying saying that the work will be done. Then in an event loop process the items out of a queue.  do I need to enlist the help of another event loop?
05:08 laouji joined #mojo
05:24 hrupp joined #mojo
06:01 laouji joined #mojo
06:03 denis_boyun joined #mojo
06:23 laouji joined #mojo
06:42 dpetrov_ joined #mojo
06:50 dod joined #mojo
06:53 rawler joined #mojo
07:02 laouji joined #mojo
07:05 Dandre joined #mojo
07:11 dexteruk joined #mojo
07:13 edestler joined #mojo
07:15 Vandal joined #mojo
07:24 * jberger_ can confirm, Munchies was tasty
07:41 azawawi joined #mojo
07:41 azawawi hi everyone
07:41 purl Howdy, azawawi, you fantastic person you.
07:42 arthas joined #mojo
07:44 fhelmber_ joined #mojo
07:44 trone joined #mojo
07:45 irq joined #mojo
07:47 azawawi jberger_: ping
07:49 arthas joined #mojo
07:49 azawawi Mojolicious/IO::Socket::SSL on win32 64-bit strawberry https://gist.github.com/azawawi/23efd515cf2edb41249d
07:50 azawawi all latest
07:50 azawawi IO::Socket::SSL is up to date. (1.988)
07:50 azawawi Mojolicious is up to date. (4.99)
08:03 shmuel_ joined #mojo
08:23 cooper joined #mojo
08:36 fhelmber_ joined #mojo
08:37 laouji joined #mojo
08:47 babl joined #mojo
08:52 laouji joined #mojo
08:57 shmuel joined #mojo
09:00 laouji joined #mojo
09:11 shmuel joined #mojo
09:13 basiliscos joined #mojo
09:17 neyasov_________ joined #mojo
09:17 sugar_ joined #mojo
09:19 Averna joined #mojo
09:30 meshl joined #mojo
09:31 Dandre Hello,
09:32 Dandre I am using Controller->respond_to in one of my controller handler. How can I trigger a callback after this response has been sent ?
09:37 jberger_ azawawi: those messages cause an installation to fail?
09:37 jberger_ those are just warnings (and warning which SHOULD have nothing to do with my module)
09:38 jberger_ Dandre: you can connect a finish handler on the transaction, is that what you need?
09:40 neyasov__________ joined #mojo
09:42 Dandre Yes that's it. How can I do this?
09:44 jberger_ $c->tx->on( finish => sub { ... } )
09:44 Dandre Ok thanks
09:46 jberger_ Dandre: http://mojolicio.us/perldoc/Mojolicious/Controller#on
09:46 laouji joined #mojo
09:46 jberger_ ^^: $c->on( finish => sub { ... } ) # works too
09:47 Dandre thanks :-)
10:00 laouji joined #mojo
10:03 denis_boyun joined #mojo
10:18 jberger_ no problem
10:20 ver joined #mojo
10:35 d4rkie joined #mojo
10:48 neyasov_ joined #mojo
10:57 nikita joined #mojo
10:59 d4rkie joined #mojo
11:06 nikita hello, how can i force mojo::ioloop to wait for delay to finish? my sub returns value before it is set in a delay https://gist.github.com/nikita-d/0282b245e8ea21cafe39
11:06 nikita i'm using mojo::redis
11:09 azawawi jberger_: nope
11:09 neyasov_ joined #mojo
11:09 azawawi jberger_: sorry for the long reply... i was blocking on something :)
11:15 dvinciguerra joined #mojo
11:39 neyasov_ joined #mojo
11:40 mire joined #mojo
11:47 laouji joined #mojo
11:47 neilhwatson joined #mojo
11:49 laouji joined #mojo
12:09 dpetrov_ joined #mojo
12:09 neyasov_ joined #mojo
12:26 * azawawi idle
12:26 * azawawi blocking :)
12:26 sri kill -9
12:37 Mikey joined #mojo
12:42 azawawi http://feather.perl6.nl/~azawawi/   # new Farabi UI proof of concept
12:43 bluescreen joined #mojo
12:44 hrupp joined #mojo
12:49 stephan48 azawawi: might i ask you to add a noscript tag? :)
12:52 azawawi stephan48: sure...
12:52 purl But are you sure you're sure?
12:53 azawawi im trying out flat vertical layout
12:53 stephan48 looks nice so far
12:53 azawawi purl: im sure that im sure but why do you ask that im sure than im sure? :)
12:53 purl azawawi: huh?
12:53 azawawi hehe
12:53 stephan48 purl is a bot
12:54 azawawi i know :)
12:55 azawawi The idea is to embed a markdown or POD file in your project to make a startup welcome page
12:55 azawawi think of it ask index.html but for IDEs
12:55 azawawi makes explaining project layout easier after creating one
13:10 asarch joined #mojo
13:11 neyasov_ joined #mojo
13:14 zivester joined #mojo
13:30 hrupp joined #mojo
13:33 * nic <3 Farabi
13:44 hrupp joined #mojo
13:46 eugen joined #mojo
13:46 btyler joined #mojo
13:46 nic I loved the old Mojo::Log cos it let you subclass it and extend it
13:47 sri and you can't do that anymore because?
13:51 nic my 'format' needs access to $self (so it can access other attr(s))
13:52 sri i don't see the problem
13:52 nic I mean the thing called by format, the equiv of your _format
13:52 sri i know what you mean, i just don't see the problem
13:52 nic The only way I can see to do that is for format to return a dynamically created closure that closes on $self
13:53 sri and what's the problem with that?
13:53 purl Issues.
13:53 nic I don't want to be creating a closure upon every call to log
13:53 sri if anything you should be happy, format now also applies to exception/not-found pages
13:54 sri huh?
13:54 nic ye, that's good
13:54 sri has format => sub { my $self = shift; weaken $self; return sub { ...$self... } };
13:56 gryphon joined #mojo
13:57 nic yeah, isn't that creating a closure for each & every log call?
13:57 sri it's an attribute
13:57 sri (so no)
13:58 nic hah, so it's created whenever there's no default
13:58 sri the sub is a generator for the initial value
13:58 nic great.  thanks
13:59 nic I had completely missed the 'weaken' too
13:59 nicomen sri: can you call an attribute "method" even if a value is provided when calling new?
13:59 nicomen (I want coercion)
13:59 neyasov_ joined #mojo
13:59 sri what do you mean with attribute method?
13:59 sri the accessor or the generator?
13:59 nicomen generator
13:59 purl generator is fine
14:00 sri no
14:00 sri if you pass a value to new the attribute has a value
14:00 neyasov__ joined #mojo
14:01 nicomen would it make sense to have a 'package Foo; coerce url => sub { Mojo::URL->new(shift) } ... Foo->new("http://localhost:1234"); '
14:01 nicomen would it make sense to have a 'package Foo; coerce url => sub { Mojo::URL->new(shift) } ... Foo->new(url => "http://localhost:1234"); '
14:02 sri if you don't like how attributes work, you can make your own accessors
14:02 sri heck, use Moose
14:02 nicomen I love how they work, I hate how Moose works
14:02 nicomen I want more sugar ;)
14:03 sri set MOJO_BASE_DEBUG=1 to see how stuff works
14:03 sri then make your own
14:03 nicomen ok
14:10 mport joined #mojo
14:26 hummeleBop joined #mojo
14:35 hrupp joined #mojo
14:37 dotandimet joined #mojo
14:37 dotandimet I just missed my flight to Oslo :(
14:37 dotandimet I'm flying tomorrow, which means I'll miss the training.
14:38 dotandimet hope this uses up mojoconf's full jinx quota.
14:38 bjoernfan dotandimet: :(
14:38 bjoernfan Where are you flying from?
14:39 sri ok, no more jinxing... i forbid it!
14:39 dotandimet Israel, via Zurich.
14:40 bjoernfan Wow, quite a trip!
14:40 bjoernfan Any problems getting a new flight?
14:41 rawler joined #mojo
14:43 sh4 joined #mojo
14:44 dotandimet No other flight today (with a connection to Oslo) from the same carrier, and extra 150$ to get on the same flight tomorrow :(
14:45 bjoernfan :/
14:45 bjoernfan Then let's make sure it's still worth it you get there!
14:47 dotandimet Thanks :)
14:50 gatitskiy joined #mojo
14:58 marcus Sorry to hear that dotan. I know how it feels. Missed my flight to Portland last year and wasn't able to go at all.
14:59 jberger_ dotandimet: :(
14:59 marcus (They completely canceled my ticket and return.)
15:22 sujithm joined #mojo
15:28 sujithm_ joined #mojo
15:29 c--__ joined #mojo
15:34 btyler joined #mojo
15:35 sujithm joined #mojo
15:48 eugen joined #mojo
15:48 sugar joined #mojo
15:49 dotandimet joined #mojo
15:54 dotandimet joined #mojo
15:58 sugar joined #mojo
16:17 marty joined #mojo
16:24 aggrolite joined #mojo
16:25 btyler joined #mojo
16:29 meshl joined #mojo
16:35 Akron joined #mojo
16:40 dod joined #mojo
16:55 denis_boyun joined #mojo
16:55 dod joined #mojo
17:19 aggrolite joined #mojo
17:26 gatitskiy joined #mojo
17:29 babl_ joined #mojo
17:58 dotandimet joined #mojo
18:02 beyondcreed joined #mojo
18:02 dotandimet joined #mojo
18:41 dotandimet joined #mojo
18:46 hrupp joined #mojo
18:59 fhelmber_ joined #mojo
19:27 gatitskiy joined #mojo
19:40 alnewkirk joined #mojo
19:43 irq joined #mojo
19:43 dotandimet joined #mojo
19:54 denis_boyun joined #mojo
19:57 punter joined #mojo
20:07 meshl joined #mojo
20:12 edestler joined #mojo
20:19 meshl joined #mojo
20:22 aggrolite joined #mojo
20:22 btyler joined #mojo
20:23 neyasov___ joined #mojo
20:23 Akron joined #mojo
20:56 edestler joined #mojo
21:06 mire joined #mojo
21:23 sugar joined #mojo
21:28 gatitskiy joined #mojo
21:31 marcus How come https://metacpan.org/pod/Mojolicious says Dependencies: Unknown ?
21:35 hrupp joined #mojo
21:40 hrupp joined #mojo
21:41 spuelrich joined #mojo
21:45 jberger_ paging batman. this is the bat signal!
21:48 hrupp joined #mojo
21:48 neyasov___ joined #mojo
21:50 nicomen jberger did you find batman?
21:50 nicomen he eas looking for you
21:53 jberger_ argh
21:54 nicomen where are you?
21:54 jberger_ at his place now
21:54 jberger_ I had no way to contact him
21:55 neyasov___ joined #mojo
21:56 neyasov___ joined #mojo
22:14 marcus http://corner.squareup.com/2014/05/evaluating-go-frameworks.html
22:21 tempire batman left here a while ago assuming you went back to his house.
22:22 tempire so all it well, I guess
22:28 jberger_ yes ask is well
22:29 * jberger_ turns off the bat signal
22:29 jberger_ s/ask/all/
22:41 basic6 joined #mojo
22:41 zivester joined #mojo
22:56 d4rkie joined #mojo
23:00 fhelmber_ joined #mojo
23:07 meshl joined #mojo
23:13 mire joined #mojo
23:21 Claudio joined #mojo
23:33 woz joined #mojo
23:39 punter joined #mojo
23:59 neyasov___ joined #mojo

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