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

IRC log for #mojo, 2015-11-27

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

All times shown according to UTC.

Time Nick Message
00:04 n16gel joined #mojo
00:10 asarch joined #mojo
00:36 woz joined #mojo
00:40 asarch Can you initiate session using LWP as the client? If yes, how?
00:44 woz joined #mojo
00:46 woz joined #mojo
00:59 woz joined #mojo
01:09 Zoffix joined #mojo
01:39 sri Zoffix: yea, stop with the complaining, you know how it works! ;p
01:39 Zoffix :P
01:52 disputin joined #mojo
02:07 Adurah joined #mojo
02:21 kaare joined #mojo
02:24 woz joined #mojo
02:41 asarch So, if you really want that your application was RESTful at 100%, wouldn't be more logic to store the model in a MongoDB cluster and then you just replied a simple query operation in the request?
02:41 asarch I think there is a conspiration in the REST/MongoDB use
03:00 disputin joined #mojo
03:13 woz joined #mojo
03:15 noganex_ joined #mojo
04:01 jberger asarch: why are you so set on using lwp?
04:02 jberger <3 Mojo::UserAgent
04:02 asarch I've been reading that REST is the future, so I could have a RESTful server and use a Gtk2-based client
04:02 jberger And yes you can make a thin db app like that
04:03 asarch And I was wondering about the login operation
04:03 jberger Gtk2?
04:03 Grinnz asarch, i think you are confusing a lot of concepts...
04:03 jberger What does that have to do with lwp?
04:03 asarch That's the way Perl interacts with Internet, right?
04:04 jberger But this is mojo
04:04 asarch The Gtk2-based application could be a GUI application
04:04 jberger Mojo > lwp
04:05 asarch Of course! Mojo actually would be the server part
04:05 jberger Mojo can be the client too
04:05 asarch The Gtk2-based application the client
04:05 Grinnz there are at least 3 HTTP clients i would use before LWP if i could help it
04:05 jberger Again, look at Mojo::UserAgent
04:05 asarch Ok
04:05 sri REST is the present
04:06 asarch What are those three clients?
04:06 jberger sri: I was also going to say that, but I had to finish the LWP is the past thing first
04:06 jberger :p
04:06 sri haha
04:06 sri gotta make a checklist
04:08 voldemortensen joined #mojo
04:09 jberger Do we have ioloop bindings for any of the ui loops?
04:10 Grinnz there's a Mojo::Reactor::Glib but i can't vouch for its usability
04:15 woz joined #mojo
04:23 woz_ joined #mojo
04:34 good_news_everyon joined #mojo
04:34 good_news_everyon [mojo] kraih pushed 1 new commit to master: http://git.io/vB2hZ
04:34 good_news_everyon mojo/master 893d669 Sebastian Riedel: also include =head4 in the table of contents
04:34 good_news_everyon left #mojo
04:35 woz joined #mojo
05:46 woz joined #mojo
06:01 woz joined #mojo
06:04 good_news_everyon joined #mojo
06:04 good_news_everyon [mojo] kraih pushed 1 new commit to master: http://git.io/vBaqd
06:04 good_news_everyon mojo/master 2531199 Sebastian Riedel: better documentation browser tests
06:04 good_news_everyon left #mojo
06:58 n16gel joined #mojo
07:09 dod joined #mojo
07:13 dod joined #mojo
07:14 sri jberger: latest framework benchmakr results look very good for mojolicious https://www.techempower.com/blog/2015/11/23/framework-benchmarks-round-11/
07:14 dod joined #mojo
07:15 sri fastest perl framework in all cases it looks like
07:17 sri jberger++
07:31 kes joined #mojo
07:33 melo1 joined #mojo
07:49 woz joined #mojo
07:57 Vandal joined #mojo
08:05 Vandal joined #mojo
08:06 n16gel joined #mojo
08:10 woz joined #mojo
08:15 meshl joined #mojo
08:25 trone joined #mojo
08:34 AndrewIsh joined #mojo
08:35 sue joined #mojo
08:37 woz joined #mojo
08:38 eseyman joined #mojo
08:43 osfabibisi joined #mojo
08:56 sri latency numbers look great for hypnotoad too
08:56 sri <3 the mojo+pg stack
09:07 berov joined #mojo
09:11 woz joined #mojo
09:18 woz joined #mojo
09:21 trone joined #mojo
09:25 noganex joined #mojo
10:04 sri looks like chrome just added support for this https://tools.ietf.org/html/draft-west-cookie-prefixes-04
10:27 Averna joined #mojo
10:27 sue joined #mojo
10:30 Averna joined #mojo
10:45 Averna joined #mojo
10:51 cpan_mojo Mojolicious-Plugin-CGI-0.25 by JHTHORSEN https://metacpan.org/release/JHTHORSEN/Mojolicious-Plugin-CGI-0.25
10:52 cpan_mojo Toadfarm-0.70 by JHTHORSEN https://metacpan.org/release/JHTHORSEN/Toadfarm-0.70
10:55 kyshtynbai joined #mojo
11:14 batman jberger++ # nice work
11:14 cpan_mojo JSON-Validator-0.62 by JHTHORSEN https://metacpan.org/release/JHTHORSEN/JSON-Validator-0.62
11:27 sugar joined #mojo
11:34 Zoffix Hm. mojolicious is just 3% as fast as the fastest framework on that list? That's dismal
11:35 sri hand optimized assembler is a lot faster than perl
11:37 melo joined #mojo
11:37 sri the fastest app https://github.com/TechEmpower/FrameworkBenchmarks/blob/master/frameworks/C%2B%2B/ULib/src/rfortune.usp
11:39 Zoffix oh lol
11:41 sri if you wanted to complain, you could about the fact that python is sometimes faster than perl
11:41 woz joined #mojo
11:41 sri with the Meinheld server
11:41 sri which i think might be cheating pretty heavily
11:44 sri oh, TIL about http://developer.cybozu.co.jp/archives/kazuho/2009/08/picoev-a-tiny-e.html
12:01 kwa interesting - https://github.com/kazuho/picoev
12:05 woz joined #mojo
12:19 woz joined #mojo
12:22 woz_ joined #mojo
12:22 jontaylor joined #mojo
12:26 kaare joined #mojo
12:28 asarch joined #mojo
12:38 ivan_ joined #mojo
12:40 n16gel joined #mojo
12:40 neilhwatson joined #mojo
12:41 woz joined #mojo
13:04 woz joined #mojo
13:06 AndrewIsh joined #mojo
13:15 woz joined #mojo
13:21 ajr_ joined #mojo
13:44 woz joined #mojo
13:47 woz joined #mojo
13:51 meshl joined #mojo
13:51 ashimema anyone here using Mojolicious::Plugin::CHI and able speak out for or against it?
13:52 ashimema Currently I'm using mojo::cache scoped to a controller.. now wanting to update the cache from another controller so looking at my options for widening the scope.
13:52 ashimema thought it might be worth looking into the alternative caching mechanisms :)
13:53 nic new CHI is great; plugin looks reasonable
13:53 ashimema :)
13:54 ashimema I'm thinking chi with memcached::fast for the back end..
13:56 da5id joined #mojo
13:57 nicomen chi++ plugin is mostly for convenience
13:57 nicomen chi++ – plugin is mostly for convenience
13:59 woz joined #mojo
14:02 ashimema indeed.. looks like a nice convenience.. especially as I was about to impliment it in a very simlar way..
14:19 sri as expected, the scripting languages in the benchmark that are higher up than perl mostly cheat with special servers written in highly optimized c
14:19 sri with the exception of lua, which is just crazy fast
14:20 sri and i'm not sure how php gets those numbers
14:25 nic Every XS file I ever looked at was just 1's and 0's, so making Hypnotoad_XS can't be that hard to do
14:25 sugar joined #mojo
14:30 ashimema lol
14:33 woz joined #mojo
14:36 dod joined #mojo
14:39 inokenty joined #mojo
14:40 inokenty joined #mojo
14:46 jberger sri: my implementation pins it's dependencies with carton
14:46 jberger I wonder if newer mojo is even faster?
14:46 sri it is
14:47 jberger I should bump the deps and submit it for the next round
14:47 sri last few releases i've made the router a lot faster
14:52 sri anyone understand this? https://github.com/kraih/mojo/issues/878
14:55 gryphon joined #mojo
14:56 nic ah, he's misunderstanding 'export'
14:56 nic It only affects its own shell and subshells, not the parent shell
14:56 nic So he's actually proving that everything is correct, apart from his expectation
14:57 jberger nic++ I was just going to guess that
14:59 sri nic++
15:00 * nic just commented
15:30 meshl joined #mojo
15:30 nic just did a complete example and fwiw, couldn't reproduce his revised report
15:31 nic I got 'development' as expected
15:37 sri i've only tested the "MOJO_MODE=test hypnotoad script/my_app" case to make sure there's nothing obvious broken
15:37 sri but yea, not our problem :)
15:44 CHYC Perhaps suggest he runs ". ./init"?
15:55 woz joined #mojo
15:58 kivilahtio_ joined #mojo
15:59 n16gel joined #mojo
15:59 voldemortensen joined #mojo
16:09 woz joined #mojo
16:17 sugar joined #mojo
16:31 hernan605 joined #mojo
16:34 woz joined #mojo
16:36 lluad joined #mojo
16:36 disputin joined #mojo
16:38 mtths joined #mojo
16:40 melo joined #mojo
16:50 stephen joined #mojo
16:51 akhasanov joined #mojo
16:54 woz joined #mojo
16:59 osfabibisi joined #mojo
17:00 osfabibisi joined #mojo
17:01 good_news_everyon joined #mojo
17:01 good_news_everyon [mojo] kraih pushed 1 new commit to master: http://git.io/vBrNT
17:01 good_news_everyon mojo/master 350c563 Sebastian Riedel: improve Hypnotoad to report problems that have occured during the creation of listen sockets
17:01 good_news_everyon left #mojo
17:01 sri please test, this might cause terrible side effects
17:03 sri it should make the case where you try to start two hypnotoads on the same port give you an error message
17:04 nic ooh, that sounds good
17:04 trone do you know www.binary.com use mojolicious under the hood to provide financial api?
17:05 sri nope
17:05 nic That might finally explain http://irclog.perlgeek.de/mojo/2015-11-18#i_11558358
17:06 trone -> https://jobs.perl.org/job/19908
17:08 sh4 joined #mojo
17:08 sri sounds interesting, putting "event loop" right at the beginning of the title
17:09 dod joined #mojo
17:11 sri there's like 50 people in their gitter channel Oo
17:12 sri not that i know what that means :)
17:16 woz_ joined #mojo
17:16 trone 2:-)
17:16 PryMar56 joined #mojo
17:32 woz joined #mojo
17:53 woz joined #mojo
17:58 woz joined #mojo
18:07 trone joined #mojo
18:09 woz joined #mojo
18:25 woz joined #mojo
18:33 disputin joined #mojo
18:33 woz joined #mojo
18:35 woz joined #mojo
18:40 cpan_mojo Mojolicious-Plugin-Bootstrap3-3.3600 by JHTHORSEN https://metacpan.org/release/JHTHORSEN/Mojolicious-Plugin-Bootstrap3-3.3600
18:46 sugar joined #mojo
19:04 osfabibisi joined #mojo
19:17 sue joined #mojo
19:21 disputin joined #mojo
19:21 voldemortensen joined #mojo
19:30 disputin joined #mojo
19:37 disputin joined #mojo
19:56 asm35 joined #mojo
19:56 asm35 left #mojo
20:25 cpan_mojo WWW-KrispyKreme-HotLight-1.1 by CURTIS https://metacpan.org/release/CURTIS/WWW-KrispyKreme-HotLight-1.1
21:02 jabberwok joined #mojo
21:05 jabberwok left #mojo
21:14 jberger Wow, I would definitely have applied for that job if I'd seen it
21:14 jberger Though I'm happy where I am now
21:15 preaction but it's part time
21:16 jberger Oh
21:16 jberger Well that's going to be harder to fill then
21:39 n16gel joined #mojo
23:25 punter joined #mojo
23:48 meshl joined #mojo
23:52 voldemortensen joined #mojo

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