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

IRC log for #mojo, 2015-09-06

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

All times shown according to UTC.

Time Nick Message
00:00 jontaylor joined #mojo
00:02 bpmedley https://bitbucket.org/snippets/bpmedley/XozbA <-- Is this a valid approach for adding a unique identifier in the log for a route?
00:04 sri bpmedley: that will never work
00:05 bpmedley What am I doing wrong?
00:05 sri concurrent requests can happen
00:05 bpmedley I thought I tested concurrent requests.
00:06 sri Mojo::IOLoop->timer(300 => sub { app->log->info("Hello world!") });
00:06 sri which request does this message belong to?
00:06 bpmedley Thx.. one sec.
00:09 bpmedley Thank you.  There's obviously some confusion on my part on how the inner workings are put together.
00:10 meshl joined #mojo
00:17 bpmedley I see.  The app object is shared between controllers.  Is that correct?
00:18 sri correct
00:22 bpmedley I think I finally understand why app is weakened.. :)
00:28 iloveyou joined #mojo
00:30 sri :)
01:03 meshl joined #mojo
01:28 Topic for #mojo is now 🍻 cheers | http://mojolicio.us | http://irclog.perlgeek.de/mojo/today | http://mojolicio.us/perldoc/Mojolicious/Guides/Contributing#CODE-OF-CONDUCT
01:29 sri fancy shortened urls would be nice
01:29 sri for the log and code of conduct
01:31 mattastrophe joined #mojo
01:34 iloveyou joined #mojo
01:36 sri 🍻 cheers | http://mojolicio.us | http://irclog.mojolicio.us | http://code-of-conduct.mojolicio.us
01:36 sri argh
01:36 Topic for #mojo is now 🍻 cheers | http://mojolicio.us | http://irclog.mojolicio.us | http://code-of-conduct.mojolicio.us
01:36 sri ok, fancy enough :)
01:41 x86 joined #mojo
01:46 x86_ joined #mojo
01:56 x86 joined #mojo
02:05 jberger sri++
02:06 noganex_ joined #mojo
02:12 iloveyou joined #mojo
02:31 x86_ joined #mojo
02:31 jnbek joined #mojo
03:34 iloveyou joined #mojo
03:50 asarch joined #mojo
03:58 iloveyou joined #mojo
04:35 asarch joined #mojo
04:54 iloveyou joined #mojo
05:23 giancarlos_ joined #mojo
05:53 kaare joined #mojo
06:31 iloveyou joined #mojo
06:35 berov joined #mojo
06:52 akhasanov joined #mojo
07:05 crise joined #mojo
07:23 Vandal joined #mojo
07:49 akhasanov joined #mojo
08:03 asm35 joined #mojo
09:08 trone joined #mojo
10:00 iloveyou joined #mojo
10:13 meshl joined #mojo
10:15 Craftsmanship joined #mojo
10:40 akhasanov joined #mojo
12:04 akhasanov joined #mojo
12:12 jontaylor joined #mojo
12:14 kaare joined #mojo
12:19 sh4 joined #mojo
12:26 jontaylor joined #mojo
12:28 absolut_todd joined #mojo
12:29 ajr_ joined #mojo
12:58 jontaylor joined #mojo
12:59 iloveyou joined #mojo
13:07 mattastrophe joined #mojo
13:10 jontaylor joined #mojo
14:00 iloveyou joined #mojo
14:05 jontaylor joined #mojo
14:12 jontaylor joined #mojo
14:32 cpan_mojo Mojo-IRC-Server-1.7.1 by SJDY https://metacpan.org/release/SJDY/Mojo-IRC-Server-1.7.1
14:58 gryphon joined #mojo
15:42 jontaylor joined #mojo
15:48 iloveyou joined #mojo
15:51 * sri yawns
15:57 mattastrophe joined #mojo
16:02 talexb joined #mojo
16:06 talexb_ joined #mojo
16:09 * sri wonders if terminals will really look like this at some point https://github.com/shockone/black-screen
16:15 jberger what does that have on other terminals?
16:16 jberger I still want a good dropdown terminal on osx personally
16:16 jberger like tilda in linux
16:20 PryMar56 joined #mojo
16:38 PopeFelix joined #mojo
16:38 PopeFelix joined #mojo
16:40 PopeFelix joined #mojo
16:48 PopeFelix joined #mojo
16:51 iloveyou joined #mojo
17:09 Craftsmanship are the beer mugs in the /topic here the current release.
17:22 jberger Craftsmanship: http://mojolicio.us/perldoc/Mojolicious#CODE-NAMES
17:52 iloveyou joined #mojo
18:11 mattastrophe joined #mojo
18:52 Craftsmanship excellent
18:53 iloveyou joined #mojo
18:55 asm35 joined #mojo
19:01 sri so i guess this one did not pass? https://github.com/kraih/mojo/pull/838
19:03 sri oh, there's fatal warnings now, that's a bit of a big red flag for me
19:04 jberger did we ever give a realistic test case? if so what were the performance results?
19:04 jberger test == benchmark
19:05 sri i've done some for myself, and the results were meh
19:05 sri think it was decoding github api json
19:06 jberger I don't think I have an opinion
19:07 jberger can there be a Mojo::JSON::MaybeXS alike for it?
19:07 sri sure
19:07 jberger that would be my vote then
19:07 jberger which I guess is a -1 on the proposal
19:08 sri Mojo::JSON::MaybeXS is a bit different though, in that it makes a HUGE measurable difference
19:11 sri looks like Time::HiRes will be maintained again
19:11 sri maybe that means monotonic clock support on more platforms
19:13 Grinnz the fatal warnings are just an alternate way to make Unicode::UTF8 die on error, instead of the sub {die}, either would work
19:14 Grinnz but anyway i'd be fine with making it as a monkey patch module
19:14 Grinnz it'd probably be harder to monkey patch into morbo/hypnotoad though
19:15 sri same as Mojo::JSON::MaybeXS i imagine
19:15 Grinnz yeah, i did start to have a problem with that too (I load it before the morbo/hypnotoad command now)
19:16 sri morbo shouldn't be hard, but hypnotoad might be a bit tricky
19:16 sri due to the exec behavior
19:17 sri specifically getting past this https://github.com/kraih/mojo/blob/master/lib/Mojo/Server/Hypnotoad.pm#L48-L50
19:17 Grinnz i actually do it by having my own hypnotoad script
19:18 sri yea, that would work
19:19 sri that's the only part that should be problematic, everywhere else in mojolicious preloading the module should be fine
19:22 sri PERL5OPT=-MMojo::JSON::MaybeXS might work too
19:22 chansen ha, was about to say the sam
19:22 sri :)
19:23 sri i actually had to look that up, can never remember the perl env vars
19:23 chansen There is also sitecustomize.pl if perl is build with that option
19:27 Grinnz cool
19:54 iloveyou joined #mojo
19:54 Grinnz https://metacpan.org/pod/Mojolicious::Plugin::UTF8 /me facepalms
19:55 Grinnz (unrelated to current topic, just came up in my search)
20:11 cpan_mojo Test-Mojo-Role-ElementCounter-1.001005 by ZOFFIX https://metacpan.org/release/ZOFFIX/Test-Mojo-Role-ElementCounter-1.001005
20:18 PopeFelix joined #mojo
20:35 Grinnz https://github.com/Grinnz/Mojo-Unicode-UTF8/blob/master/lib/Mojo/Unicode/UTF8.pm i honestly kind of like this implementation better
20:43 chansen Why doesn't Mojo::Util have Mojo::Util::{decode_utf8, encode_utf8}? Considering that it's a web framework and the web is mostly UTF-8.
20:46 sri UTF-8 isn't actually hardcoded in that many places, just a default
20:47 sri doubt it would result in less code or better performance
21:05 Grinnz i think PAUSE is broken
21:11 Grinnz there it goes... i hope
21:14 * Grinnz twiddles thumbs
21:16 cpan_mojo Mojo-Unicode-UTF8-0.001 by DBOOK https://metacpan.org/release/DBOOK/Mojo-Unicode-UTF8-0.001
21:16 Grinnz well that took long enough
21:18 good_news_everyon joined #mojo
21:18 good_news_everyon [mojo] Grinnz deleted unicode_utf8 at 07a4fd1: http://git.io/vZUO9
21:18 good_news_everyon left #mojo
21:29 akhasanov joined #mojo
21:30 Snelius joined #mojo
21:35 cpan_mojo Mojo-JSON-MaybeXS-0.009 by DBOOK https://metacpan.org/release/DBOOK/Mojo-JSON-MaybeXS-0.009
21:48 good_news_everyon joined #mojo
21:48 good_news_everyon [mojo] Grinnz deleted meta-spec-2 at 4cddc83: http://git.io/vZUZX
21:48 good_news_everyon left #mojo
22:18 iloveyou joined #mojo
22:26 meshl joined #mojo
23:07 bpmedley joined #mojo
23:31 cpan_mojo Mojo-Unicode-UTF8-0.002 by DBOOK https://metacpan.org/release/DBOOK/Mojo-Unicode-UTF8-0.002
23:33 PopeFelix joined #mojo
23:59 cpan_mojo XTaTIK-0.002001 by ZOFFIX https://metacpan.org/release/ZOFFIX/XTaTIK-0.002001

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