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

IRC log for #mojo, 2015-12-25

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

All times shown according to UTC.

Time Nick Message
00:15 damaya joined #mojo
00:40 damaya joined #mojo
01:51 damaya joined #mojo
02:02 bpm joined #mojo
02:09 nic Happy Christmas #mojo
02:12 bpm 🎄
03:01 damaya joined #mojo
03:19 noganex_ joined #mojo
03:27 damaya joined #mojo
03:29 meshl joined #mojo
03:35 bpm joined #mojo
03:38 marty joined #mojo
03:41 damaya joined #mojo
03:54 inokenty-w joined #mojo
04:21 damaya joined #mojo
05:04 damaya joined #mojo
05:22 cpan_mojo Mojo-Webqq-1.6.8 by SJDY https://metacpan.org/release/SJDY/Mojo-Webqq-1.6.8
05:30 Vandal joined #mojo
05:31 damaya joined #mojo
06:02 damaya joined #mojo
06:11 marty_ joined #mojo
06:13 kaare joined #mojo
06:18 damaya joined #mojo
06:33 damaya joined #mojo
06:49 damaya joined #mojo
07:04 damaya joined #mojo
07:18 damaya joined #mojo
08:38 damaya joined #mojo
08:48 mudler joined #mojo
08:51 dod joined #mojo
08:58 dod joined #mojo
09:23 damaya joined #mojo
09:39 damaya joined #mojo
09:44 sri jberger, tempire, marcus, batman, crab: what do you think about https://github.com/kraih/mojo/pull/889 ?
09:45 sri i think there's a lot wrong with that patch sadly
09:46 sri but i'll prolly scare him away if i keep commenting
10:16 damaya joined #mojo
10:16 meshl joined #mojo
10:19 bpm joined #mojo
10:31 damaya joined #mojo
10:41 kes joined #mojo
10:46 sue joined #mojo
10:55 sri tempire: you dropped out of #mojo-core again
11:23 bpm https://bitbucket.org/snippets/bpmedley/K8Bd7 <-- Some promise thoughts?
11:31 sri bpm: you'd never use delays and promises together
11:31 sri they are alternatives
11:35 sri bpm: you'e be using collect(@promises)
11:35 bpm Thx
11:35 sri s/e/d/
11:36 sri if mojolicious ever added support for promises, then delays would be removed for it
11:52 hertzhaft joined #mojo
12:00 sri so, looks like ruby 2.3.0 is getting more hype than the perl6 release
12:01 sri very bad sign
12:04 hertzhaft hi! i'm working with a generated full app.
12:04 hertzhaft during development I'd like to have mojo/morbo to log to the console
12:04 hertzhaft currently I have $app->log->path(undef) in my 'startup' method
12:04 hertzhaft is there an easy way to do the same without changing my code? like an environment var?
12:08 sri rm -rf log
12:08 hertzhaft yes, I thought about that
12:10 hertzhaft not a big problem, it would just be a convienence
12:10 hertzhaft another question: the standard config file for an app is located in the home dir.
12:11 hertzhaft can I make morbo watch it, without watching the whol home dir?
12:11 hertzhaft s/whol/whole
12:13 good_news_everyon joined #mojo
12:13 good_news_everyon [mojo] kraih pushed 1 new commit to master: http://git.io/vE2B2
12:13 good_news_everyon mojo/master d66c32c Sebastian Riedel: mention a file too
12:13 good_news_everyon left #mojo
12:13 hertzhaft :-) thank you!
12:15 hertzhaft and another one: when I test my app on the command line, like app get '/'
12:16 hertzhaft when I get the "page not found ... yet" message, is there an easy way to strip the html so I can read it better?
12:20 sri http://mojolicio.us/perldoc/Mojolicious/Guides/Cookbook#Command-line
12:21 hertzhaft oh, I overlooked that - thanks!
12:29 damaya joined #mojo
14:00 mattp sri: I actually found myself thinking "heys its cool this lang is still pushing out meaningful improvements"
14:01 mattp fwiw I dont think that post by lwall was a release post per zoffix earlier
14:07 sri mattp: many people assumed it was one
14:07 sri you're still not even sure ;p
14:21 jberger Merry Christmas #mojo!
14:24 sri 🎄
14:26 sri we are not the only ones who got it wrong https://twitter.com/TheRegister/status/680128843722526721
14:29 ZoffixWin joined #mojo
14:35 Grinnz seems a rather common theme https://twitter.com/hashtag/perl6?src=hash
14:52 trone joined #mojo
14:56 * ZoffixWin grumbles about the human race
15:23 marcus I'm pretty sure promising it should be released by christmas at fosdem didn't help either, ZoffixWin.
15:24 marcus it's not like this is out of the blue...
15:25 ZoffixWin marcus, 'tis still Christmas here. 10:25AM in fact
15:25 ZoffixWin While the Advent post was made like 26 hours ago :P
15:25 ZoffixWin More even, I think
15:26 ZoffixWin dunno, I feel like people outside the Perl 6 community are making a super-huge deal out of this whole release thing.
15:26 ZoffixWin I mean, you could rakudobrew the compiler right this second and it'll hardly be any different from the released version. *shrug*
15:29 ZoffixWin And I notice those people are mostly the ones that say Perl 6 has no chance to succeed, so I wonder why they're so worried about when we release things :P
15:30 sri how totally unexpected
15:30 sri lol
15:30 ZoffixWin :D
15:30 sri personally, i'm just sitting here at the sideline, watching the trainwreck burn
15:31 ZoffixWin hehe
15:31 sri i used to be more pro perl6, but the anti-perl5 vibe in the last two years changed that
15:31 kes joined #mojo
15:32 ZoffixWin Interesting. I don't notice the anti-p5-vibe
15:33 * sri has been around since 2003 and contributed every now and then over the years
15:35 ZoffixWin Maybe I'm biased. If P6 had the same level of deployment as P5 and same maturity of the ecosystem as P5 and same speed as P5, I'd be using P6, no questions asked... The few bits of code that I converted from P5 to P6 are vastly shorter and easier to read, which I like. Does that make me an anti-P5-viber? ¯\_(ツ)_/¯
15:35 mattp ZoffixWin: if thats true you should probably throw a "Perl6 is now officially released!" post out today just to quell the confusion
15:36 mattp s/you/the ones in charge/
15:36 mattp if there ever was a day to capitalize on some publicity, today is the day
15:37 ZoffixWin mattp, well, shoulda woulda coulda, but I dunno what's going on, which corroborates sri's trainwreck comment: http://irclog.perlgeek.de/perl6/2015-12-25#i_11775635
15:37 sri mojolicious will be 5 years old tomorrow
15:37 ZoffixWin neat
15:38 ZoffixWin If there is any wisdom in any of this is that releasing things on Christmas is a stupid idea, unless you prepare the release well in advance and on the actual day all you have to do is click a button.
15:38 marty joined #mojo
15:38 sri "how totally unexpected"
15:39 ribasushi fwiw the release notes are... interesting: https://github.com/rakudo/rakudo/blame/nom/docs/announce/2015.12.md#L28-L37
15:40 sri ouch
15:41 ZoffixWin Right. It's, again, the whole language release vs. compiler release thing
15:41 mattp sooo that .. was a release statement yesterday?
15:41 ZoffixWin mattp, no
15:41 ribasushi mattp: what I linked is the draft release notes of the next rakudo
15:41 ZoffixWin mattp, if you're talking about Larry's advent post, it was a recap of the past 15 years of development.
15:42 ribasushi whenever it takes place
15:42 ribasushi "release notes" != "release announcement" (or so one would hope)
15:42 ribasushi than again... http://irclog.perlgeek.de/perl6/2015-12-25#i_11775676
15:43 ZoffixWin Eh
15:44 ZoffixWin I think this will pass and go just like when Larry announced the beta a month or two ago and everyone went crazy thinking it was the real-deal :)
15:44 * ZoffixWin resumes heavy drinking
15:48 asarch joined #mojo
15:50 * sue throws another log onthe fire
15:55 kivilahtio_ joined #mojo
15:59 voldemortensen joined #mojo
16:11 sh4 joined #mojo
16:13 sri here's one of the cookbook recipes converted to using promises https://gist.github.com/anonymous/baec1c0dc22909f5af9b
16:18 mattp sri: certainly more straightforward
16:19 bpmedley_ joined #mojo
16:22 sri Mojo::IOLoop->collect(...) is not so nice though
16:22 sri since it limits future extensions
16:22 damaya joined #mojo
16:23 sri Mojo::IOloop->promise->collect(...) might be better for starters
16:23 sri or actually Mojo::IOLoop->promise->all(...)
16:24 sri yea, promises need to be tied to an ioloop instance, because they require $ioloop->next_tick(...) for Promises/A+ compliance
16:25 * sri is warming up to promises in mojolicious again
16:26 sri the leak problems are mostly a non-issue, i know how to do it properly
16:26 sri perhaps something to consider for 7.0
16:32 damaya joined #mojo
16:39 Zoffix joined #mojo
17:04 damaya joined #mojo
17:04 ZoffixWin joined #mojo
17:38 dod joined #mojo
17:38 sri more opinions on promises in mojolicious would be very welcome
17:58 * sri likes this https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Global_Objects/Promise
18:09 damaya joined #mojo
18:42 damaya joined #mojo
18:47 lluad joined #mojo
19:05 damaya joined #mojo
19:18 sue joined #mojo
19:19 damaya joined #mojo
19:28 damaya joined #mojo
19:34 sue joined #mojo
19:42 damaya joined #mojo
19:51 trone joined #mojo
19:53 marty_ joined #mojo
19:59 SmokeMachine_ joined #mojo
20:01 jnbek_ joined #mojo
20:02 cfedde_ joined #mojo
20:05 damaya joined #mojo
20:07 kyshtynbai joined #mojo
20:16 jberger I really like delay
20:16 jberger Just my $0.02
20:16 kyshtynbai Hi everyone! What will the method query of class Mojo::Pg return if there's no matches in WHERE clause? I thought it shoudl return undef, but either it doesn't or I'm missing something. Here's code:
20:16 kyshtynbai http://pastebin.com/bk9DF69A
20:16 bjoernfan joined #mojo
20:17 kyshtynbai The second exception is never thrown
20:24 bpmedley_ joined #mojo
20:36 haarg joined #mojo
20:36 mikegrb joined #mojo
20:41 PryMar56 joined #mojo
20:47 damaya joined #mojo
21:09 tim joined #mojo
21:13 tim sri: sorry to bother you with this. I have a suggestion to fix another warning in CookieJar.pm: http://pastie.org/private/fpfeilldftsxzisnpuscka
21:14 marty joined #mojo
21:15 damaya joined #mojo
21:24 damaya joined #mojo
21:38 damaya joined #mojo
21:45 lluad joined #mojo
21:45 meshl joined #mojo
21:52 damaya joined #mojo
22:24 damaya joined #mojo
22:33 damaya joined #mojo
22:42 damaya joined #mojo
22:49 sue joined #mojo
22:57 damaya joined #mojo
23:07 good_news_everyon joined #mojo
23:07 good_news_everyon [mojo] kraih pushed 1 new commit to master: http://git.io/vEVzX
23:07 good_news_everyon mojo/master a46fc7c Sebastian Riedel: fix handling of invalid max age in Mojo::UserAgent::CookieJar
23:07 good_news_everyon left #mojo
23:27 tim joined #mojo
23:32 damaya joined #mojo
23:37 sue_ joined #mojo

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