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

IRC log for #mojo, 2015-10-21

| 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:06 cpan_mojo Mojolicious-Plugin-TemplateToolkit-0.002 by DBOOK https://metacpan.org/release/DBOOK/Mojolicious-Plugin-TemplateToolkit-0.002
00:33 Grinnz Lee, ^ now supports including data sections (all templates are found by Mojolicious::Renderer now)
00:33 Grinnz feels much cleaner this way IMO
00:34 Grinnz i wish i could get Template Toolkit to tell me "template wasn't found" so i don't have to search for them twice but... meh
00:35 Grinnz technically i could parse the exception object and guess
00:35 Grinnz :/
00:41 jontaylor joined #mojo
00:42 good_news_everyon joined #mojo
00:42 good_news_everyon [mojo] kraih pushed 1 new commit to master: http://git.io/vWtAw
00:42 good_news_everyon mojo/master 6a0abf1 Sebastian Riedel: a few more links
00:42 good_news_everyon left #mojo
01:11 damaya joined #mojo
01:22 damaya joined #mojo
01:31 sri oh, a first sane letsencrypt client https://github.com/diafygi/letsencrypt-nosudo
01:31 sri doesn't look too complicated
01:34 jberger Seems like something we could do
01:34 jberger I can't tonight, but maybe soon
01:36 sri still a few weeks until they launch
01:36 sri nov 16
01:37 pink_mist *the week of nov 16
01:45 damaya joined #mojo
01:49 aborazmeh joined #mojo
02:11 noganex joined #mojo
02:40 inokenty-w joined #mojo
02:45 damaya joined #mojo
03:02 kaare joined #mojo
03:04 davido_ joined #mojo
03:07 nnutter joined #mojo
03:38 jontaylor joined #mojo
03:44 irqq joined #mojo
04:02 damaya joined #mojo
04:24 damaya joined #mojo
04:25 avenj joined #mojo
04:34 cfedde joined #mojo
04:34 dave joined #mojo
05:35 lluad joined #mojo
05:43 lluad joined #mojo
06:09 Lee joined #mojo
06:18 McA joined #mojo
06:40 kivilahtio joined #mojo
06:53 damaya joined #mojo
07:09 Lee joined #mojo
07:10 Lee Grinnz: cool, i'll have another look at doing a PR today for the other plugin
07:22 mattastrophe joined #mojo
07:29 eseyman joined #mojo
07:35 trone joined #mojo
07:44 trone joined #mojo
07:50 yt7fms joined #mojo
07:59 sugar joined #mojo
08:02 sugar_ joined #mojo
08:07 meshl joined #mojo
08:12 trone joined #mojo
08:17 berov joined #mojo
08:18 Vandal joined #mojo
08:29 diegok joined #mojo
08:33 vanHoesel joined #mojo
08:35 vanHoesel1 joined #mojo
08:37 Onigiri joined #mojo
08:41 cpan_mojo Mojolicious-Plugin-NYTProf-0.17 by LEEJO https://metacpan.org/release/LEEJO/Mojolicious-Plugin-NYTProf-0.17
08:42 cpan_mojo Mojolicious-Plugin-OAuth2-Server-0.23 by LEEJO https://metacpan.org/release/LEEJO/Mojolicious-Plugin-OAuth2-Server-0.23
08:45 irqq joined #mojo
09:05 damaya joined #mojo
09:06 jontaylor joined #mojo
09:21 Lee_ joined #mojo
09:33 gaunt joined #mojo
09:36 Lee joined #mojo
10:02 dvinciguerra joined #mojo
10:19 dvinciguerra joined #mojo
10:29 sugar_ joined #mojo
10:41 Zoffix joined #mojo
10:58 neilhwatson joined #mojo
11:03 mattastrophe joined #mojo
11:06 BLOKDAK joined #mojo
11:07 dvinciguerra joined #mojo
11:08 kivilahtio joined #mojo
11:09 asarch joined #mojo
11:40 damaya joined #mojo
11:59 ajr_ joined #mojo
12:29 damaya joined #mojo
12:50 irqq joined #mojo
12:58 hernan605 joined #mojo
13:07 gryphon joined #mojo
13:12 aborazmeh joined #mojo
13:34 bwf joined #mojo
14:00 * jberger yawns
14:04 jberger happy Back to the Future day!
14:05 nic hmmm, what year to you think it is?
14:07 genio I've gotta get back to 1985
14:10 marcusr where is my hoverboard?
14:18 cpan_mojo Mojo-IRC-Server-1.7.3 by SJDY https://metacpan.org/release/SJDY/Mojo-IRC-Server-1.7.3
14:20 PryMar56 joined #mojo
14:20 jberger marcusr: http://gizmodo.com/tony-hawk-helped-build-a-new-hoverboard-the-hendo-2-0-1736575769
14:21 jberger who's president? Donald Trump? The asshole?!
14:23 marcus jberger: yeah, now we just need to cover all urban areas with that magnetic material.
14:23 jberger doesn't have to be magnetic, just metallic
14:24 jberger I'm assuming its superconductor field exclusion
14:25 marcus guess we can have hover cars too if we add metal to the concrete.
14:26 * Grinnz_ is still annoyed at that namespace usage
14:26 jberger Mojo::IRC::Server?
14:26 Grinnz_ it has no docs, not even in chinese
14:27 jberger well, in my experience, running an irc server is a zero configuration piece of cake, who needs docs?!
14:27 jberger :-P
14:27 Grinnz_ hah
14:28 jberger (seriously, I don't think I've ever successfully started an irc server, its config-hell)
14:28 jberger I try every now and again, then I remember why I failed the last time
14:28 Grinnz_ well i'm certainly not volunteering to write a better one.. yet :P
14:29 sri what makes an irc server chinese?
14:30 Grinnz_ philososri
14:37 jberger all possible (and probably racist) joking aside, I think its that it was written by people from china
14:40 Grinnz_ well, there's also, ehh https://metacpan.org/source/SJDY/Mojo-IRC-Server-1.7.3/lib/Mojo/IRC/Server/User.pm#L68
14:40 damaya joined #mojo
14:41 sri oh
14:42 sri also http://cdn4.list25.com/wp-content/uploads/2012/07/Philosoraptor-pirate.png
14:44 jberger the server identifies itself as the Mojo IRC Network, I'm not sure I like that
14:44 * Grinnz_ cares more about the namespace :P
14:45 sri that is not cool
14:45 jberger that's a pity yes, but I care about the implication that we are affiliated with a server that we are in no control of
14:45 Grinnz_ true
14:46 sri entire message translates to "Welcome to the Mojo IRC Network $ident"
14:47 jberger yeah, still not good enough IMO
14:47 mib_are27x joined #mojo
14:47 jberger powered by Mojo is ok
14:47 * jberger files issue
14:47 sri that's worse imo
14:48 sri i expected a translation error
14:48 sri but the name choice seems intentional
14:50 jberger really?
14:50 * Grinnz_ can't make heads or tails of what this issue is about https://translate.googleusercontent.com/translate_c?act=url&depth=1&hl=en&ie=UTF8&prev=_t&rurl=translate.google.com&sl=zh-CN&tl=en&u=https://github.com/sjdy521/Mojo-IRC-Server/issues/1&usg=ALkJrhiUtVcUbLV0TWwVQEnj2GzYJjcO3g
14:50 jberger https://github.com/sjdy521/Mojo-IRC-Server/issues/2
14:50 jberger well I opened it anyway, what would you prefer, no mention of mojo?
14:51 jberger powered by is a fairly well understood concept isn't it?
14:51 sri sure
14:52 jberger I updated my text ... "... powered by Mojo::IRC::Server"
14:52 sri my "worse" comment was about the "good enough"
14:52 sri not the powered by
14:52 jberger ah ok
14:53 sri might want to mention that "we" is members of the core team
14:54 meshl joined #mojo
14:54 jberger updated
14:55 jberger Grinnz_: you are welcome to open your own issue for the namespace, but IMO that ship has sailed in all likelihood
14:56 Grinnz_ yeah
14:56 nicomen if it's a chinese web server, and its docs are in chinese too, wouldn't it be better to call it Chinese-IRC-Server?
14:56 Grinnz_ i'm sure we can come up with something if needed
14:56 damaya joined #mojo
14:56 Grinnz_ nicomen: docs and all IRC communication... you would think
14:57 nicomen oh well
14:57 sri either way, it's not a good use of the namespace
14:58 sri it's reasonable for the core team to disapprove
14:58 jberger the Mojo core team doesn't even control Mojo::IRC, its batman's
14:59 jberger he's the one that has the grounds for complaint
14:59 nicomen https://metacpan.org/pod/distribution/Mojo-Webqq/doc/Webqq.pod ...
15:00 nicomen maybe he thought it was Chinese Perl Archive Network
15:00 sri with Mojo::IRC it's a little different, it has been discussed with the core team at the time, and doesn't discriminate
15:01 sri if you're taking generic namespaces for something that's not generic, then you're at fault imo
15:01 jberger qq is a china specific service though right?
15:02 jberger at least I've only ever seen chinese people using it
15:02 Grinnz_ i've no issue with that one
15:10 * sri opened https://github.com/sjdy521/Mojo-IRC-Server/issues/3
15:15 * sri wonders if there's a way to make this method more elegant https://github.com/kraih/mojo/blob/master/lib/Mojo/Message/Request.pm#L149-L154
15:16 sri there's too many argument variations
15:16 sri ->proxy(Mojo::URL->new(...)), ->proxy('http://127.0.0.1:8081'), ->proxy(0), ->proxy(undef)
15:19 nicomen and ->proxy() also, no?
15:19 sri right
15:21 sri i suppose ideally it would become an attribute accessor
15:21 sri which means the method needs to be two attributes
15:22 sri ->proxy(Mojo::URL->new(...)) and ->with_proxy(1) or so
15:22 sri and some deprecation code in the ->proxy method
15:23 meshl joined #mojo
15:23 sri lets see, similar boolean flag attributes are named like auto_decomress, auto_upgrade and skip_body
15:23 bobkare joined #mojo
15:24 sri or expect_close
15:24 sri for with_* we so far only have ->with_comression, which is a method that starts a handshake
15:25 sri ->use_proxy(1) would be more consistent i guess
15:25 sri ->via_proxy(1)
15:26 nicomen would it be ugly to pass any params to Mojo::URL->new and decide based on that?
15:26 sri ?
15:29 nicomen I was wondering if you would consider it pretty if you passed any parameter to ->proxy() thru to Mojo::URL->new(), and judge wether to set $self->{proxy} or not based on wether a Mojo::URL instance was created or not
15:31 sri there's a difference between 0 and undef
15:31 sri undef means proxy detection is enabled in Mojo::USerAgent, while 0 disables it
15:32 nicomen oh
15:32 sri guess why i want that method cleaned up ;p
15:33 nicomen my other immediate thought was the attribute road
16:00 melo joined #mojo
16:01 cosimo joined #mojo
16:06 sugar_ joined #mojo
16:14 sugar_ joined #mojo
16:18 good_news_everyon joined #mojo
16:18 good_news_everyon [mojo] kraih pushed 1 new commit to master: http://git.io/vWO2c
16:18 good_news_everyon mojo/master 75fe9eb Sebastian Riedel: replace proxy method in Mojo::Message::Request with an attribute
16:18 good_news_everyon left #mojo
16:21 good_news_everyon joined #mojo
16:21 good_news_everyon [mojo] kraih pushed 1 new commit to master: http://git.io/vWOa1
16:21 good_news_everyon mojo/master 5583faf Sebastian Riedel: no need to check via_proxy first
16:21 good_news_everyon left #mojo
16:21 sri cleanest solution i can think of
16:23 CIAvash joined #mojo
16:42 sugar_ joined #mojo
16:48 berov1 joined #mojo
17:03 sugar_ joined #mojo
17:07 sh4 joined #mojo
17:07 damaya joined #mojo
17:23 damaya joined #mojo
17:24 trone joined #mojo
17:27 hernan605 joined #mojo
17:27 stephen joined #mojo
17:30 doby joined #mojo
17:57 berov joined #mojo
18:19 dvinci joined #mojo
18:38 hernan605 joined #mojo
18:47 cpan_mojo Mojo-IRC-Server-Chinese-1.7.4 by SJDY https://metacpan.org/release/SJDY/Mojo-IRC-Server-Chinese-1.7.4
18:50 jberger woah ^^
18:50 sri \o/
18:51 jberger didn't change the server message that I can see, but changing a namespace is harder than changing a message
18:51 good_news_everyon joined #mojo
18:51 good_news_everyon [mojo] kraih pushed 1 new commit to master: http://git.io/vW3RC
18:51 good_news_everyon mojo/master d85a630 Sebastian Riedel: map looks more consistent
18:51 good_news_everyon left #mojo
18:53 jberger sri++ # removing LOC
18:55 cpan_mojo Mojolicious-Plugin-Module-0.04 by BUGOV https://metacpan.org/release/BUGOV/Mojolicious-Plugin-Module-0.04
19:28 huihui joined #mojo
19:35 damaya joined #mojo
19:41 sjdy521 joined #mojo
19:43 good_news_everyon joined #mojo
19:43 good_news_everyon [mojo] kraih pushed 1 new commit to master: http://git.io/vW39e
19:43 good_news_everyon mojo/master 2861e7a Sebastian Riedel: more consistent change description
19:43 good_news_everyon left #mojo
19:50 damaya joined #mojo
20:27 dvinciguerra joined #mojo
20:49 mtj joined #mojo
21:03 ajr_ joined #mojo
21:06 mtj joined #mojo
21:06 dvinciguerra joined #mojo
21:20 badmanners joined #mojo
21:20 badmanners https://metacpan.org/pod/distribution/Mojo-Webqq/doc/Webqq.pod#Mojo::Webqq::Plugin::FuckDaShen
21:21 Grinnz_ o_0
21:25 CandyAngel joined #mojo
21:29 meshl joined #mojo
21:30 jberger it gets funnier once you translate it
21:33 mtj joined #mojo
21:40 melo joined #mojo
21:46 mib_hk4d4i joined #mojo
21:51 dvinciguerra joined #mojo
22:19 disputin joined #mojo
22:32 good_news_everyon joined #mojo
22:32 good_news_everyon [mojo] kraih pushed 1 new commit to master: http://git.io/vWsPb
22:32 good_news_everyon mojo/master c8908dd Sebastian Riedel: let punycode_decode do all the work (closes #856)
22:32 good_news_everyon left #mojo
23:01 dvinciguerra joined #mojo
23:15 D4RK-PH0ENiX joined #mojo
23:34 HtbaaPi joined #mojo
23:36 nicomen joined #mojo
23:57 sri this issue is very frustrating https://github.com/kraih/mojo/issues/856
23:59 sri i cannot say if he's trying to say the change was wrong, or just arguing that it was a bugfix instead of an optimization

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