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

IRC log for #mojo, 2013-12-28

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

All times shown according to UTC.

Time Nick Message
00:13 mire_ joined #mojo
00:26 go|dfish joined #mojo
01:23 testing joined #mojo
02:08 klapperl joined #mojo
02:25 testing joined #mojo
03:02 laouji joined #mojo
03:44 laouji joined #mojo
04:47 preflex_ joined #mojo
05:35 d4rkie joined #mojo
05:35 d4rkie joined #mojo
05:50 hellyna joined #mojo
05:59 laouji joined #mojo
06:51 Vandal joined #mojo
07:06 dotandimet joined #mojo
08:00 arpadszasz joined #mojo
08:06 laouji joined #mojo
08:08 russum joined #mojo
08:08 russum left #mojo
08:19 testing joined #mojo
09:01 marcus sri: I'm interested.  I guess format just needs to be set earlier? I'll cook up a branch for discussion.
09:02 mst bridges are the chained ish thing?
09:02 mst or do I misremember the terms?
09:05 marcus mst: yeah, chained/auto - return false to stop dispatching.
09:06 dotandimet joined #mojo
09:07 marcus mst: so I want to return a JSON based error if the user requested json data and auth fails. without format, this gets kludgy.
09:09 laouji joined #mojo
09:09 mst ahh, right
09:18 arpadszasz_ joined #mojo
09:27 dotandimet joined #mojo
09:34 laouji joined #mojo
10:05 kanishka joined #mojo
10:13 D4RK-PH0ENiX joined #mojo
10:15 kanishka left #mojo
10:33 laouji joined #mojo
10:47 laouji joined #mojo
10:49 dotandimet joined #mojo
10:49 dod joined #mojo
10:58 laouji joined #mojo
11:11 denisboyun joined #mojo
11:15 denis_boyun_ joined #mojo
11:15 laouji joined #mojo
11:22 dod joined #mojo
11:35 nornagest joined #mojo
11:40 dotandimet joined #mojo
11:46 hrupp joined #mojo
12:23 denisboyun joined #mojo
12:36 d4rkie joined #mojo
12:54 d4rkie joined #mojo
13:10 plenum joined #mojo
13:40 jack joined #mojo
14:08 amirite_ joined #mojo
14:10 sh4 joined #mojo
14:31 meshl joined #mojo
14:46 russum joined #mojo
15:17 abra joined #mojo
15:27 rem_lex joined #mojo
15:28 kanishka joined #mojo
15:30 kanishka1 joined #mojo
16:05 gryphon joined #mojo
16:14 russum joined #mojo
16:22 marty joined #mojo
16:22 basiliscos joined #mojo
16:45 plenum joined #mojo
16:45 denisboyun joined #mojo
17:40 gryphon joined #mojo
17:41 laouji joined #mojo
17:55 tempire joined #mojo
18:02 amirite joined #mojo
19:19 zivester joined #mojo
19:30 denis_boyun joined #mojo
19:57 irq joined #mojo
19:58 irq in this example: https://metacpan.org/pod/Mojolicious::Plugin::PgAsync#EXAMPLE , how, for instance, the arguments for my($db1, $db2) = @_ do come from?
20:09 sri marcus: "just"... muhahahahahahaha
20:10 marcus irq: They are the responses from the begins in the previous sub
20:10 marcus sri: That is what I am starting to realize. Did a failing test, but I've not even been able to determine where you're even setting format :p
20:11 sri https://github.com/kraih/mojo/blob/master/lib/Mojolicious/Routes.pm#L38
20:11 sri there
20:13 sri not going to spoil the fun though... having you figure out how exaclty the dispatcher works will be good in the long run
20:13 marcus sri: and that is from the captures in Pattern.pm?
20:14 sri ->dispatch() connects everything https://github.com/kraih/mojo/blob/master/lib/Mojolicious/Routes.pm#L48
20:15 irq marcus: does that mean that each next begin pushes an element to the argument list?
20:15 marcus irq: yes
20:16 sri irq: http://mojolicio.us/perldoc/Mojo/IOLoop/Delay#begin
20:16 marcus sri: Oh, I see. we process the stack sequentially, and the format is being set at the end, after the bridge..
20:44 cfedde joined #mojo
20:51 maxhq joined #mojo
21:14 denisboyun joined #mojo
21:30 sri https://github.com/kraih/mojo/pull/575 # lol
21:32 sri travis++
21:33 moritz it, like, might actually "work" for short messages
21:33 moritz ... if the moon phase is right.
21:36 marcus sri: I laughed too.
21:53 marcus sri: https://github.com/afresh1/xdeadly/commit/9d108bb32c42a1ff6da47851734ed5bd164ae4e3
22:00 denisboyun joined #mojo
22:11 sri marcus: i don't wanna know
22:16 marcus sri: I'm really uncertain about the best solution for exposing captures to bridges. I guess I could iterate over the stack and populate the stash before starting on continue.
22:17 marcus I was thinking about letting the bridge detect formats as well, but that seems dirtier
22:17 marcus (I see that format detection happens in match_partial in ::Pattern)
22:28 tempire joined #mojo
22:42 marcus te to the mpire
22:50 alienresidents joined #mojo
22:50 irq Why this code http://scsys.co.uk:8002/288007 connects to the database twice and alternates between the two connection on each $delay step?
23:20 stokachu joined #mojo
23:36 gryphon joined #mojo

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