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

IRC log for #mojo, 2016-06-11

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

All times shown according to UTC.

Time Nick Message
02:32 noganex joined #mojo
02:37 cpan_mojo Mojolicious-Plugin-OpenAPI-0.01 by JHTHORSEN https://metacpan.org/release/JHTHORSEN/Mojolicious-Plugin-OpenAPI-0.01
02:38 batman jberger: ^^ you can start playing around if you like :)
02:43 cpan_mojo Mojolicious-Plugin-CGI-0.34 by JHTHORSEN https://metacpan.org/release/JHTHORSEN/Mojolicious-Plugin-CGI-0.34
02:48 mcsnolte joined #mojo
03:13 asarch joined #mojo
05:00 kaare joined #mojo
05:24 jberger batman++
07:15 eseyman joined #mojo
07:15 Vandal joined #mojo
07:29 nic If you're trying out ::Plugin::OpenAPI and reading the POD, in SYNOPSIS::Application: s/register/startup/
08:07 PopeFelix joined #mojo
08:10 dod joined #mojo
08:15 dod joined #mojo
10:05 julf joined #mojo
10:07 julf Hi guys! I'm trying to test my lite app with Test::Mojo. How to set its app attribute correctly?
10:08 julf I mean: my $t = Test::Mojo->new(app => ???)
10:09 sri http://mojolicious.org/perldoc/Mojolicious/Guides/Tutorial#Testing
11:11 sri hmm, looking through some more analytics data
11:11 sri the cookbook is our most popular guide
11:11 sri followed by the tutorial, rendering guide, routing guide, growing guide
11:13 sri controller docs being the most popular module docs
11:13 sri right between rendering and routing guide
11:14 sri next module is Mojo::UserAgent, but it's already below the growing guide
11:17 lluad joined #mojo
11:32 kes joined #mojo
11:33 julf sri: thanks, I'll try that. :)
11:33 kes where I can read how to send content at -c option available for `mojo get ...` command?
11:34 kes The content I want to send is binary and is in file
11:34 kes It seems this command does not support to send content from file, is not?
12:03 julf joined #mojo
13:26 Kripton joined #mojo
13:29 mcsnolte joined #mojo
13:46 jberger kes, I believe that's true
13:50 kes should be handy to have ./app get -v -M POST < file.txt or -F option like curl
13:51 jberger I don't think that the get command was ever intended to replace all the functionality of curl
13:51 jberger but a std for content might be fun to think about
13:52 jberger actually, could you just do something like -c "$(cat filename)" ?
13:52 kes +1
13:53 kes candidate into ./app help get
13:54 kes actually I am looking for it
13:56 kes jberger: thank you
13:56 jberger that is just shell
13:57 jberger I think of that in "blog post" category
14:00 dvinciguerra joined #mojo
14:34 cpan_mojo Mojolicious-Plugin-OpenAPI-0.02 by JHTHORSEN https://metacpan.org/release/JHTHORSEN/Mojolicious-Plugin-OpenAPI-0.02
14:35 batman lot of doc fixes ^^^ (thanks nic)
14:38 batman jberger, sri: could you have a look at the two "TODO" comments here: https://github.com/jhthorsen/mojolicious-plugin-openapi/blob/master/lib/Mojolicious/Plugin/OpenAPI.pm#L74 and see if i'm doing something very weird?
14:38 batman (or anyone else)
15:00 jberger I can take a peek
15:00 jberger I was trying to work through pubsub improvements on Redis2
15:03 jberger batman: I guess I don't know what this is trying to do
15:03 jberger is this for the fail-safe that I asked about
15:03 jberger ?
15:06 sri afraid that plugin doesn't really match my interests
15:07 sri the swagger stuff still bores me ;p
15:10 jberger batman: for what I'm seeing there I wouldn't use a hook at all
15:10 jberger and validate setting error values that would be rendered seems wrong to me too
15:11 jberger I would think that only reply would affect the response
15:12 jberger remember, you were trying to "do less" and be less divergent from the usual mojo workflow
15:41 zivester joined #mojo
15:48 Adura joined #mojo
16:58 dod joined #mojo
17:06 batman sri: hehe, ok :)
17:07 PryMar56 joined #mojo
17:07 batman i'm moving the conversation to #swagger
17:16 dvinciguerra joined #mojo
18:18 kaare joined #mojo
18:26 bpmedley Trelane: May I ask how you implemented your CSRF stuff for JSON?
18:31 kaare joined #mojo
18:42 kaare joined #mojo
19:05 sri hmm, guess it's time again for a wishlist thread on the list
19:06 kaare joined #mojo
19:12 sri https://groups.google.com/d/msg/mojolicious/JLZlJwkm0Ho/mFE8CFIcAAAJ
19:18 mpapec joined #mojo
19:39 sri first post is pretty good
19:40 pink_mist ... native HTTP/2 support :P
19:41 sri -.-
19:56 bpmedley What about supporting something like Django Channel?  Is that similar to what was being discussed a few days ago with respect to websocket multiplexing?  Excuse my ignorance, as I'm not very familiar with Django Channels..
20:05 bpmedley Cursory scanning of other frameworks "what's new" or "what's coming" seem that they are allowing for rapid development of distributed/clustered systems that support a message passing protocol to the frontend.
20:50 sri send it to the thread
20:51 bpmedley Give me a few hours, pls.
21:28 punter joined #mojo
21:46 lluad joined #mojo
22:11 sri maybe not my best idea to post that on a saturday ;p
22:11 sri will be interesting to see if it gets discovered on monday or not though
22:21 mcsnolte joined #mojo
23:13 Adurah joined #mojo

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