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

IRC log for #mojo, 2014-05-04

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

All times shown according to UTC.

Time Nick Message
00:00 asarch joined #mojo
00:10 dvinciguerra joined #mojo
00:18 mire_ joined #mojo
00:42 gatitskiy joined #mojo
01:22 stryx` joined #mojo
01:30 __mkrull joined #mojo
01:47 klapperl joined #mojo
02:42 zivester joined #mojo
02:43 gatitskiy joined #mojo
02:53 romel hello everyone. what's the full analogue of lite's 'group' construction ?
03:20 tempire dernit
03:20 tempire sri: what's the font for the perl5/raptor logo again?
03:22 tempire ah nevermind
03:22 tempire I can trace it in illustrator
03:22 tempire I think that's what I did last time anyway
04:04 cmihai_ joined #mojo
04:14 beyondcreed joined #mojo
04:38 sujithm joined #mojo
04:44 gatitskiy joined #mojo
05:08 hesperaux_ joined #mojo
06:32 Vandal joined #mojo
06:35 ladnaV joined #mojo
06:36 gatitskiy joined #mojo
06:58 irq joined #mojo
07:03 cpan_mojo Mojolicious-Plugin-TimeAgo 0.01 by Daniel Vinciguerra - http://metacpan.org/release/DVINCI/Mojolicious-Plugin-TimeAgo-0.01
07:07 gatitskiy joined #mojo
07:56 dotan joined #mojo
08:28 abra_ joined #mojo
08:41 basiliscos joined #mojo
08:55 sujithm joined #mojo
09:23 meshl joined #mojo
09:29 d4rkie joined #mojo
09:33 d4rkie_ joined #mojo
09:41 met joined #mojo
10:02 denis_boyun joined #mojo
10:04 d4rkie joined #mojo
10:52 alnewkirk joined #mojo
11:01 rem_lex|pivo joined #mojo
11:34 mire_ joined #mojo
11:35 dod joined #mojo
11:40 babl joined #mojo
12:04 Kulag joined #mojo
13:39 asarch joined #mojo
13:44 gryphon joined #mojo
13:55 jberger romel: http://mojolicio.us/perldoc/Mojolicious/Guides/Growing#Simplified_application_class
13:55 jberger romel: "Since full Mojolicious applications can use nested routes they have no need for group blocks."
13:55 jberger all: o/
13:56 sri \o
13:57 jberger hey cool! Daniel Vinciguerra is someone I met in Bra(s|z)il!
13:57 jberger Daniel if you are on here, give a wave!
14:04 zivester joined #mojo
14:04 jberger so what have I missed in the past few days, has sri deprecated controllers or something? :-)
14:05 sri did you miss the delay cleanup?
14:07 jberger ->delay(sub{...}) is one step rather than finish handler?
14:07 jberger yeah, I saw that
14:08 jberger I can't remember if I was active around then, but I read it on the log at least
14:08 jberger very cool
14:08 sri leak protection with inside-out storage of callbacks, Mojo::IOLoop->delay(sub {...}) is now a step instead of a finish event, ->begin(...) is now a splice
14:08 jberger actually I should go back and simplify my blog posts
14:08 jberger I was the second for splice :-)
14:09 sri "sri: cool thing is you can use it like this my $delay = Mojo::IOLoop->delay(sub { say pop->res->code }); $ua->get('mojolicio.us' => $delay->begin); to use leak protection"
14:09 jberger I was and still am excited that it made the explaination of begin args simpler, made the method more useful AND did so without breaking compatibility!
14:09 sri looks like you didn't miss anything then ;p
14:10 jberger cool!
14:10 jberger I picked a good week to be ultra-busy
14:10 sri looks like 5.0 might not break anything :S
14:10 jberger one of these weeks, things at work will have to slow down
14:11 jberger hey, at least we get a new unicode number
14:11 sri only thing i'm still considering is making Mojo::Log::format an attribute containing a callback, since i see it getting monkey patched all the time
14:12 sri app->log->format(sub {...});
14:12 jberger at first sight that seems sane
14:16 jberger ahhh, the 10gen ubuntu repo made a new package name for 2.6
14:23 * jberger upgrades Mango
14:24 sri if anyone wants to hack on mango, this topic is actually not uninteresting https://github.com/kraih/mango/issues/16
14:24 sri cursors still sometimes request a few too many documents
14:26 sri the problem with picking the right number of results is a negative limit, which have the same meaning as positive limit, except for the fact that the cursor gets closed automatically on the server side
14:26 sri one more problem, a limit of 1 is equal to -1
14:26 jberger with __SUB__ its relatively easy to turn a callback into an event emitter
14:27 sri event emitter is the other thing for hacking on :)
14:27 sri no clue where to go with that though
14:27 sri (yet)
14:28 jberger https://github.com/jberger/Mojo-FriendFeed/blob/master/lib/Mojo/FriendFeed.pm
14:29 sri pub/sub with tailable cursors sure could use some improvements, what bugged me most was that you can't easily unsubscribe currently, since it's the server side that blocks the connection
14:30 sri good unsubscribe feature would have to abandon the current connection right away
14:30 jberger interesting
14:31 sri in redis terms, a tailable cursor is basically a BLPOP
14:31 sri wich returns with nothing after a few seconds, and you get to poll again
14:33 dvinciguerra joined #mojo
14:33 jberger dvinciguerra: o/
14:34 dvinciguerra jberger: hi jberger! :-)
14:36 dvinciguerra jberger: I have some more plugins for upload to CPAN haha
14:36 jberger dvinciguerra: your plugin got announced by my bot
14:36 jberger I hadn't seen DateTimeX::Format::Ago yet, cool
14:37 dvinciguerra Yes... good module to modern web apps/sites to show dates as text! ;-)
14:40 jberger how are things in Brasil?
14:46 jberger dvinciguerra: dont know if you saw this: https://twitter.com/joelaberger/status/451120641555841025
14:47 dvinciguerra jberger: haha good! I'm at organization of YAPC::Brasil 2014, working a lot with mojolicious, all is good about here...
14:48 jberger \o/
14:48 dvinciguerra jberger: hohoho Guaraná Antartica rs... come on!!! :-D
14:49 jberger I have also made a really good fried polenta and a pretty terrible attempt at grilled palmitos (what was I supposed to do, it was from a can!)
14:50 basic6 joined #mojo
14:52 dvinciguerra hahaha grilled palmito is delicious...
14:52 jberger not when the palmito comes from a can!!!
14:52 jberger :-(
14:58 dvinciguerra look some of mine! https://twitter.com/dvinciguerra/status/462969017699815425/photo/1
14:58 jberger oh, man, you're killing me!
14:58 jberger that looks delicious!
14:59 dvinciguerra Vou levar alguns para você quando for visitar os USA!
14:59 dvinciguerra ops haha
14:59 dvinciguerra I'ii take some for you when visiting USA
15:00 dvinciguerra s/I'ii/I'll/
15:05 jberger good news, it seems that Mandel still works with Mango 0.35 / MongoDB 2.6
16:06 tempire Using $self->ua in controllers; wasn't there a problem with that at one point?
16:13 sh4 joined #mojo
16:28 denis_boyun joined #mojo
16:41 mire_ joined #mojo
16:48 jberger tempire: IIRC, the problem usually is that it uses a different ioloop, which screws people up sometimes
17:05 sri http://mojolicio.us/perldoc/Mojo#ua
17:07 sri i think if it wasn't for the test server, mixing blocking and non-blocking requests wouldn't actually be a problem
17:08 sri thinking about it makes my head spin though
17:17 irq_ joined #mojo
17:58 marty joined #mojo
18:02 tempire ah
18:02 tempire that makes sense
18:03 tempire I presume Bender grants ops via name+ip
18:03 tempire My current ip is permanent.
18:04 tempire the old one has dissipated into the aether.
18:11 tempire whoa
18:11 tempire I just caught that.
18:11 tempire the idea of mixing blocking and non-blocking not being a problem...
18:12 tempire that's a worthy goal.
18:17 punter joined #mojo
18:32 sri Bender: trust tempire
18:32 Bender OK, sri
18:32 * tempire blushes
18:32 tempire Seriously, the mixing of blocking and non-blocking would have saved me much time over the past year.
18:33 sri i think mixing blocking and non-blocking operations in mango is possible with little work
18:33 sri it's just Mojo::UserAgent::Server making it tricky for Mojo::UserAgent
18:36 sri you're welcome to give it a try, breaking changes in the test server would be fine for 5.0
18:36 tempire maybe after mojoconf
18:52 babl joined #mojo
19:44 denis_boyun_ joined #mojo
19:49 Eke- joined #mojo
20:52 Eke- joined #mojo
20:56 gatitskiy joined #mojo
20:58 purl joined #mojo
21:08 punter joined #mojo
22:29 btyler joined #mojo
22:56 gatitskiy joined #mojo
23:10 d4rkie joined #mojo
23:33 jberger mojoconf here I come!
23:55 DaniBunny joined #mojo

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