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

IRC log for #mojo, 2015-12-05

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

All times shown according to UTC.

Time Nick Message
00:01 voldemortensen joined #mojo
00:29 marty joined #mojo
00:37 asarch joined #mojo
00:44 punter joined #mojo
00:58 PryMar56 joined #mojo
01:00 jontaylor joined #mojo
01:31 jontaylor joined #mojo
03:06 noganex_ joined #mojo
03:51 nnutter joined #mojo
04:27 Zoffix joined #mojo
04:56 nnutter joined #mojo
05:23 nnutter joined #mojo
05:46 tempire_ joined #mojo
05:46 kaare joined #mojo
06:08 nnutter joined #mojo
06:12 tempire_ joined #mojo
06:12 tempire_ whew
06:14 tempire_ joined #mojo
06:14 tempire_ At least not in Florida
06:45 irqq joined #mojo
07:15 trone joined #mojo
07:46 jontaylor joined #mojo
07:53 dod joined #mojo
07:58 dod joined #mojo
08:31 Vandal joined #mojo
09:20 sh4 joined #mojo
09:43 bjakubski joined #mojo
09:52 melo joined #mojo
09:58 pink_mist will the real tempire please stand up?
10:12 HtbaaPi joined #mojo
11:08 harleypig joined #mojo
11:12 sue joined #mojo
11:16 sugar_ joined #mojo
12:02 sue joined #mojo
12:13 punter joined #mojo
13:25 asarch joined #mojo
14:18 McA joined #mojo
14:19 skaji joined #mojo
14:24 sue joined #mojo
14:29 McA joined #mojo
14:48 McA joined #mojo
15:24 melo joined #mojo
16:34 marty joined #mojo
16:53 dod joined #mojo
16:54 PryMar56 joined #mojo
16:58 jberger batman: I see that rather than use a state variable you recommend storing the redis session in the stash? https://metacpan.org/pod/Mojo::Redis2#Mojolicious-app
17:00 jberger I guess that's to simplify multiple subscriptions by the same hypnotoad worker
17:00 jberger ?
17:05 marty joined #mojo
17:15 carneirao joined #mojo
17:22 nnutter joined #mojo
18:13 voldemortensen joined #mojo
18:24 voldemortensen joined #mojo
18:42 voldemortensen joined #mojo
18:48 voldemortensen1 joined #mojo
18:52 voldemortensen joined #mojo
19:04 lluad joined #mojo
20:06 lsm joined #mojo
20:16 jberger sri: feature request for the next breaking release
20:16 jberger inactivity_timeout helper should return the controller not the stream
20:16 jberger imo
20:16 borkur joined #mojo
20:17 jberger I keep doing my $c = shift->render_later->inactivity_timeout(1200) and ending up with a stream in $c
20:17 jberger to which I then change it to my $c = shift->render_later->tap(inactivity_timeout => 1200) and then promptly forget it for the next time
20:24 sri jberger: what return value? http://mojolicio.us/perldoc/Mojolicious/Plugin/DefaultHelpers#inactivity_timeout
21:11 sri this is why i'll always be against hostile forks of mojolicious modules https://github.com/daoswald/JSON-Tiny/pull/1
21:11 sri now the fork gets pull requests and they don't go upstream
21:14 stephan48 is it a copy of Mojo::JSON?
21:14 sri yes
21:15 stephan48 ah mentioned in the POD
21:15 stephan48 i searched the readme and and was a bit puzzled about the missing reference
21:16 stephan48 :/
21:17 sri hostile forks most of the time harm the original project, so i think being more proactive about it might be a good idea
21:18 stephan48 do you mind if ask the bug author about opening another PR against Mojo::JSON?
21:19 sri i'm a little curious what the fork author will do
21:19 stephan48 okey
21:20 stephan48 so lets wait then
21:20 stephan48 also, I read the letsencrypt spec
21:24 stephan48 I think either solutions (plugin and cli) can be easily implemented.. There are two problems throu, out of four authorization methods(proving a specially crafted SNI cert; DNS based auth; "Fetch a File"; Provide a Signature with a previously Issued Certs Key)  only the method i described yesterday(providing a file from the webroot) and possibly on subsequent cert requests the sign-with-a-already-issued-cer
21:24 stephan48 tificates-key would work. additionally the ...
21:24 stephan48 ... webroot file would need to be served either with a special contenttype or with no content-type at all.
21:25 stephan48 no problem for the plugin when it installs a route.. a little more difficult for the cli tool
21:25 stephan48 i should probably stop using the word easily
21:26 stephan48 the whole spec relies heavily on JWT
21:28 batman jberger: not sure If i recommend it. Just my style to make things safer...
21:28 batman Mojo::Redis2 is far from perfect, so you might have to store it in stahs for everything to work :(
21:29 sri batman: you mean expensive
21:29 sri storing the redis instance in the stash means that you have to establish a new tcp connection for every http request
21:30 sri not to mention authenticate and stuff
21:31 sri potentially many many tcp roundtrips that will cost
21:32 batman sri: true indeed :/
21:33 batman sri: the module works in most cases, but some things simply doesn't work with state()
21:34 batman Thinks like pubsub and bloop.
21:34 batman I think I messed up, but haven't been able to fix it, since I'm not a heavy user.
21:40 marty joined #mojo
21:47 sri since hostile forks are starting to cause real trouble, i think we need to be more clear that we don't want them
21:47 sri anyone who starts one might have to leave the community
21:49 sri certain parties are now attacking me because of my apathy in the past which might have been interpreted as consensus
21:49 sri so i'm stating it clearly, no hostile forks!
21:51 pink_mist oh hey, I can finally see the beer mugs in this setup! \o/
21:52 pink_mist (it's slightly cut off though because of monospace font, but I can see what it is finally!)
21:52 sri 🎊🎉🎈
21:53 pink_mist nice .. those look all squished up too :P
21:53 sri for me too
22:02 good_news_everyon joined #mojo
22:02 good_news_everyon [mojo] kraih pushed 1 new commit to master: http://git.io/vRzZ0
22:02 good_news_everyon mojo/master 6a3268c Sebastian Riedel: improve Mojo::JSON performance slightly
22:02 good_news_everyon left #mojo
22:06 good_news_everyon joined #mojo
22:06 good_news_everyon [mojo] kraih pushed 1 new commit to master: http://git.io/vRznz
22:06 good_news_everyon mojo/master bc13366 Sebastian Riedel: this optimization does not work on Perl 5.10 and 5.12
22:06 good_news_everyon left #mojo
22:07 sri ¯\_(ツ)_/¯
22:11 lluad joined #mojo
22:25 lluad joined #mojo
22:30 batman 🍻
22:30 batman 🎉
22:30 batman ❤️
22:37 pink_mist I'm not sure what that last one is, but when I try to paste it to /msg perlbot utf8 <char>, for some reason irssi thinks I pressed enter instead and doesn't send any char =(
22:37 pink_mist oh wait, I see there's a heart on the next line now 0_o
22:37 pink_mist wut
22:37 pink_mist irssi what are you doing?
22:38 Zoffix <perlbot> Zoffix: U+FE0F (ef b8 8f): VARIATION SELECTOR-16 [️]
22:38 Zoffix pink_mist, get a real IRC client :P
23:28 bpmedley joined #mojo
23:37 jberger joined #mojo
23:54 ProphessorX joined #mojo
23:56 asarch joined #mojo
23:58 ProphessorX I have been using a tutorial to build an application and need a command that it came with to register new users but unfortunately, it doesn't include any documentation instructing me on how the command works.  Does anyone have information on how mojolicious commands work that they would be willing to share???

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