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

IRC log for #mojo, 2014-05-26

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

All times shown according to UTC.

Time Nick Message
00:13 asarch joined #mojo
00:34 shmuel joined #mojo
00:38 laouji joined #mojo
00:40 Averna joined #mojo
00:44 rem_lex|pivo joined #mojo
01:02 klapperl_ joined #mojo
01:25 tempire um
01:25 tempire What am I missing...what/where is the #perl6 channel?
01:25 tempire #perl6 on irc.perl.org is empty
01:25 tempire or, effectively empty
01:29 Akron joined #mojo
01:38 avenj tempire: probably freenode
01:39 avenj http://perl6.org/community/irc
01:40 laouji joined #mojo
01:49 Akron riche: I hacked a lot with Mojo::DOM (XML::Loy) - so I would be glad to join you in your effort!
01:50 Akron Btw. my Hackathon contribution: https://github.com/Akron/Mojolicious-Plugin-Notifications
01:50 Akron I wish all of you a save return!
01:51 Akron jberger: sri convinced me, that hooks are basically not that expensive - so I may change the hack back into a hook.
01:59 klapperl joined #mojo
02:10 laouji joined #mojo
03:32 basic6_ joined #mojo
04:14 laouji joined #mojo
05:17 laouji joined #mojo
05:22 laouji joined #mojo
05:31 wait4it joined #mojo
05:36 mandreacchio joined #mojo
05:37 mandreacchio joined #mojo
05:49 wait4it left #mojo
06:01 denis_boyun joined #mojo
06:05 laouji joined #mojo
06:05 laouji_ joined #mojo
06:17 sujithm joined #mojo
06:21 Vandal joined #mojo
06:35 laouji joined #mojo
06:35 Negor joined #mojo
06:40 laouji_ joined #mojo
07:07 alnewkirk joined #mojo
07:10 basiliscos joined #mojo
07:16 dod joined #mojo
07:17 trone joined #mojo
07:21 bjoernfan Jonis: Don't forget to check out travis-ci. What was that other thing called?
07:22 denis_boyun_ joined #mojo
07:22 bjoernfan If anybody's curious about Vagrant i have a Vagrantfile in my Mojochrome repo on github. Not perfect but could help you get started.
07:23 bjoernfan For example it's not using perlbrew as it was not that straight forward to do with Puppet (that's used to provision the guests in Vagrant).
07:35 mandreacchio_ joined #mojo
07:36 dod joined #mojo
07:43 rawler joined #mojo
07:49 Bravo13 joined #mojo
08:03 odc joined #mojo
08:13 edestler joined #mojo
08:34 edestler_ joined #mojo
08:54 sujithm joined #mojo
08:59 ver joined #mojo
09:07 pierrick joined #mojo
09:23 mire joined #mojo
09:32 rem_lex joined #mojo
09:33 sugar__ joined #mojo
09:33 neyasov_ joined #mojo
09:35 neyasov_ joined #mojo
09:36 meshl joined #mojo
09:44 denis_boyun joined #mojo
09:57 batman https://twitter.com/jhthorsen/status/470866151720108032 # thank you all :)
10:10 Jonis batman++
10:10 shmuel joined #mojo
10:35 wait4it joined #mojo
10:41 d4rkie joined #mojo
10:49 nicomen Richard Elberger @richardelberger · 9m
10:49 nicomen When I go to most conferences, after the first day I just want it to end quickly.  Exact opposite effect with #mojoconf2014. Went too fast.
10:52 wait4it left #mojo
10:53 Jonis yeah
10:53 nicomen Everyone was happy at mojoconf 2014: http://photos4.meetupstatic.com/photos/event/4/c/b/a/highres_367279642.jpeg
10:53 Jonis sri is like, that guy looks really excited
10:54 mishantil I wonder how he spotted the "excitement"
10:55 neyasov_ joined #mojo
10:55 mishantil Was that perhaps the "gun" to the back reference from earlier?
11:00 shmuel joined #mojo
11:06 bowtie joined #mojo
11:12 mire joined #mojo
11:30 riche joined #mojo
11:39 sman joined #mojo
11:40 bowtie joined #mojo
12:05 zivester joined #mojo
12:16 neilhwatson joined #mojo
12:36 nicomen I get a bit confused if Mojo::IOLoop is a singleton or not, to add tasks one needs a $delay object, but to check if the ioloop is running then a class method is used?
12:46 batman nicomen: Mojo::IOLoop->whatever calls on the singleton, except new() which creates a new IOLoop object
12:47 batman you can have as many IOLoop objects as you want, but because it's convenient it also provides a singleton
12:48 nicomen what is the point of having new objects?
12:48 batman $ioloop = Mojo::IOLoop->new; $ioloop->start; # works as well, but will not run any of the events queued by ex. Mojo::IOLoop->timer()
12:48 nicomen ah
12:48 batman ..since the created $ioloop and the singleton is not the same object.
12:48 batman Mojo::UserAgent use this to do blocking inside a non-blocking environment
12:49 batman or at least it /used/ to do that
12:50 nicomen my $delay = Mojo::IOLoop::Delay->new; ... $delay->wait unless Mojo::IOLoop->is_running; # this is what is everywhere in docs, so that's what confuses me I guess, making a new delay object automatically uses the singleton IOLoop?
12:51 batman yes.
12:51 batman https://metacpan.org/source/SRI/Mojolicious-4.99/lib/Mojo/IOLoop/Delay.pm#L8
12:52 nicomen ok, I guess having that as a note (there is no new() docs in http://mojolicio.us/perldoc/Mojo/IOLoop/Delay) would have saved me
12:52 batman https://metacpan.org/search?q=Sereal # Looks like Sereal is the opposite of mojo: let's split things into as many dists as possible...... ..... ... .. .
12:52 batman what do you mean about "no new()..." ?
12:53 batman "Mojo::IOLoop::Delay inherits all methods from Mojo::EventEmitter and implements the following new ones."
12:53 batman Mojo::EventEmitter inherits all methods from Mojo::Base and implements the following new ones.
12:53 nicomen doesn't explain that it secretly attaches to a global ioloop
12:54 batman huh? "...defaults to the global Mojo::IOLoop singleton"
12:54 nicomen but ok, actually the ioloop attribute doc does explain it: "Event loop object to control, defaults to the global Mojo::IOLoop singleton."
12:54 batman how is that not explaining that it use the global ioloop by default?
12:54 nicomen I have never seen anyone writing or even talking about $d->ioloop
12:56 batman that's because you only care in special cases.
12:56 batman that's not a "delay 101" topic imo.
13:20 gryphon joined #mojo
13:23 batman ...what was the question again nicomen ? :/
13:23 batman my brain got deep fried last night :P
13:25 Jonis late night?
13:26 batman 4am i think...
13:26 batman up at 8:30 :(
13:26 Jonis :(
13:26 Jonis slept until 10am :D
13:27 batman sounds good... Zzz
13:32 zivester joined #mojo
13:33 nicomen I get a bit confused if Mojo::IOLoop is a singleton or not, to add tasks one needs a $delay object, but to check if the ioloop is running then a class method is used?
13:33 purl i already had it that way, nicomen.
13:33 nicomen so, to rephrase: It's not obvious that a new Delay object uses the singleton by default
13:34 batman yes.
13:34 batman it says so in the documentation.
13:34 batman but usually you don't care
13:34 nicomen no, it's hidden under an attribute you might not look at, until you start digging
13:34 nicomen I know, but I think it helps in understanding the whole concept
13:35 nicomen there are some discrepancies in the use of ->is_running in docs too, that might add to the confusion
13:57 sh4 joined #mojo
13:59 asarch joined #mojo
14:00 mport joined #mojo
14:25 tadegenb` joined #mojo
14:44 shmuel joined #mojo
15:01 babl joined #mojo
15:16 * sri is back home
15:17 sri everything went perfect, and then almost 3 hours in a traffic jam on the autobahn :S
15:19 sri marcus: yea, it's fenix
15:24 batman \o/
15:30 sri batman: haha, i was at the hotel at 3am and got up at 6am for breakfast
15:34 sri but it was totally worth it :D
15:35 batman haha :D
15:35 batman awesome to hear that.
15:36 batman i would feel guilty if you lost the plane
15:36 good_news_everyon joined #mojo
15:36 good_news_everyon [mojo] kraih pushed 1 new commit to master: http://git.io/zz7Urw
15:36 good_news_everyon mojo/master c4bbad4 Sebastian Riedel: mention that the delay method is tied to the current event loop
15:36 good_news_everyon left #mojo
15:37 sri now when batman says "haha" i hear it in his voice
15:38 batman yeah... it's weird.
15:39 batman things will never be the same
15:39 batman ;)
15:40 batman i hope mojoconf2015 will be two days
15:40 batman double the awesomeness!
15:43 meshl joined #mojo
15:44 sri maybe a tad excessive...i mean... we are not getting younger :o
15:46 neyasov_ joined #mojo
15:47 batman true, hehe
15:50 batman https://twitter.com/jhthorsen/status/470955084424433665
15:51 dexteruk joined #mojo
16:05 sri so, if we remove return values from $delay->wait, should the unless $delay->ioloop->is_running be implicit?
16:05 sri you could just use Mojo::IOLoop->delay(sub {...}, ...)->wait; as an idiom for code that should work inside and outside event loops
16:10 sri https://gist.github.com/anonymous/f81fc85d141c00df028d
16:11 sri delay->catch->wait combo
16:49 denis_boyun joined #mojo
16:58 beyondcreed joined #mojo
17:16 abra joined #mojo
17:31 Drossel joined #mojo
17:41 Kulag joined #mojo
17:44 bjoernfan jberger_: So I heard you had a bank holiday today, does that mean that postachio is finished? :)
17:47 Drossel joined #mojo
18:07 marcus Just pushed my RenderSteps plugin to CPAN
18:07 marcus and github
18:08 marcus RenderStep even
18:10 basiliscos joined #mojo
18:11 sri marcus: i think implicit wait might be nice for render_steps too
18:12 sri then you could just use render_steps in psgi
18:12 sri s/in/with/
18:13 marcus sri: yeah, that makes sense, and no real cost for proper servers :)
18:14 mire joined #mojo
18:14 sri searching twitter for mojolicious got really annoying
18:14 marcus Yeah, really
18:15 marcus I subscribe to a twitter search, and it's unusable :(
18:15 marcus Will try tweeting at her
18:17 sri oh my
18:17 marcus "@mojolicious_ You have a bunch of nerds watching what you write on Twitter because of http://mojolicio.us/ - Please consider another nick."
18:17 marcus Appealing to her teenage angst :p
18:17 sri s/Please/Maybe/
18:18 sri well, isn't being a nerd cool now?
18:20 dod joined #mojo
18:32 bjoernfan With tweetdeck you can exclude stuff quite easily.
18:44 sri good point, i wonder if tweetbot support is
18:45 ente marcus: https://twitter.com/mojolicious_/status/470982571644317696
18:45 ente :P
18:45 good_news_everyon joined #mojo
18:45 good_news_everyon [mojo] kraih pushed 1 new commit to master: http://git.io/Y1nUiQ
18:45 good_news_everyon mojo/master 65e84f4 Sebastian Riedel: removed return values from wait method in Mojo::IOLoop::Delay
18:45 good_news_everyon left #mojo
18:45 ente "why are all these guys calling me a pearl?"
18:47 good_news_everyon joined #mojo
18:47 good_news_everyon [mojo] kraih pushed 1 new commit to master: http://git.io/qju55g
18:47 good_news_everyon mojo/master 438b748 Sebastian Riedel: fixed typo in wait documentation
18:47 good_news_everyon left #mojo
18:49 Adurah_ https://twitter.com/deborahkagan/status/425532005070413824 Never really thought of it for that specific day...
18:50 marcus Adurah_: perfect gift for the girl who has everything.
18:56 bjoernfan arrrrrgh do i hate color profiles. My photos are grey/green/bland in firefox...
19:01 bjoernfan Yay turned out I had messed up, hadn't been as careful in about:config as I had promised.
19:03 marcus \o/
19:05 Akron joined #mojo
19:07 Akron Back now, too - thanks everyone! It was great to meet ou guys!
19:09 marcus Akron: was nice to meet you too.
19:11 sri https://speakerdeck.com/kraih/five-point-oh # my slides are up now
19:12 sri Akron: \o/
19:12 stephan48 welcome back everyone :)
19:12 stephan48 was quiet the last days
19:13 * stephan48 looks to Bender and notices hes opless
19:16 Akron \o/
19:17 sri Bender: trust Akron
19:17 Bender OK, sri
19:18 Akron sri: And that's after the weekend! ;)
19:20 marcus Bender: Trust me
19:20 marcus Bender: I know what I'm doing.
19:20 Jonis I drunkenly stole the beware of polar bears poster for mojoconf on saturday
19:24 stephan48 Bender: don't trust marcus he does know what he's doing
19:41 sri http://lists.w3.org/Archives/Public/ietf-http-wg/2014AprJun/0815.html # phk is spot on
19:56 sh4 joined #mojo
19:56 good_news_everyon joined #mojo
19:56 good_news_everyon [mojo] kraih pushed 1 new commit to master: http://git.io/jyJrnw
19:56 good_news_everyon mojo/master bd545da Sebastian Riedel: no need for wait to return its invocant
19:56 good_news_everyon left #mojo
19:57 marcus sri: Even more so later on in that thread - http://lists.w3.org/Archives/Public/ietf-http-wg/2014AprJun/0823.html
19:57 sri indeed!
19:59 bjoernfan https://twitter.com/bjoernfan/status/471017443109122048 # yet another hackathon photo
20:01 marcus bjoernfan: wow, that cat is growing out of tempire's shoulder
20:02 marcus sri: love the automatic is_running btw
20:03 * marcus declares a war on boilerplate!
20:04 sri THIS...IS...MOJO!
20:04 sri MOJOOOOOOO!
20:04 * sri kicks purl into a well
20:07 * marcus assembles the shield guard.
20:08 * marcus brews 5.20-rc1
20:09 marcus hrm, I'm tempted to reimplement iwatchthis.com with Mojo::Pg now.
20:21 sh4|2 joined #mojo
20:27 denis_boyun joined #mojo
20:31 espent joined #mojo
20:42 russum joined #mojo
20:56 zivester joined #mojo
21:12 basic6 joined #mojo
21:18 nicomen sri: re: phk, one thing nimssing in SMTP or MIME: +1/Like ;-)
21:22 nicomen sri: re: is_running, hah, you just fixed parts of the concern I raised ealier today ;)
21:29 prk joined #mojo
21:30 sri nicomen: glad you brought it up, actually made me think about it ;)
21:35 sugar joined #mojo
21:47 nicomen great
21:50 nicomen it would be correct to characterize Mojo::IOPoll as a cooperative model right? (as in cooperative multi-tasking), since if one single sub (task?) can block every other?
22:02 sri nicomen: there is no IOPoll
22:02 sri event loops are always cooperative though
22:03 sri so whatever you meant... yes
22:16 good_news_everyon joined #mojo
22:16 good_news_everyon [mojo] kraih pushed 1 new commit to master: http://git.io/h8N-Og
22:16 good_news_everyon mojo/master db9c7a5 Sebastian Riedel: slightly more consistent delay examples
22:16 good_news_everyon left #mojo
22:47 mport left #mojo
23:08 davido_ joined #mojo
23:10 d4rkie joined #mojo

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