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

IRC log for #mojo, 2016-09-04

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

All times shown according to UTC.

Time Nick Message
00:00 sri reset is very crude and effective
00:00 sri maybe a timing thing
00:01 sri maybe a destructor triggered by the reset performs an operation on the DBI connection
00:01 sri and it only happens when the parent at that very moment performed a query
00:03 jberger does the destructor unlisten?
00:04 jberger also there are several messages coming in quick succession
00:07 jberger anyway, there is too much debugging to do on this still, don't let it hold up a Mojo::Pg release
00:07 * sri puts Mojo::Pg releases on hold ;p
00:08 jberger :o
00:08 sri gotta conserve those precious version numbers
00:08 jberger I only say because you were asking if there were more feature requests while you were at it, and I'm recinding my answer to "no" :-P
00:10 sri oh, this is intriguing https://www.kickstarter.com/projects/thewolfe/the-wolfe-supercharge-your-laptop/
00:13 jberger is that basically that same box that we were discussing before?
00:13 sri it is
00:14 sri just cheaper and no need to hack it together yourself
00:14 jberger does it do thunderbolt2?
00:14 jberger or only 3?
00:14 sri they do both, you decide which you want
00:15 jberger yeah, I just found it
00:15 sri $399 including a lower end gpu is not too bad
00:19 jberger $399 is sold out
00:20 jberger +$50 now
01:04 itaipu joined #mojo
01:29 disputin joined #mojo
02:35 noganex_ joined #mojo
02:50 zivester joined #mojo
04:41 kaare joined #mojo
05:31 kaare joined #mojo
05:35 polettix joined #mojo
06:01 dave joined #mojo
06:12 sri Grinnz: yesterday i played healer for a bit and got a card once for 74% of team damage healed, which was like 18k health or so :)
06:22 dod joined #mojo
06:27 dod joined #mojo
06:33 punter joined #mojo
06:35 polettix joined #mojo
06:45 laidback_01 joined #mojo
07:23 Vandal joined #mojo
07:44 anton joined #mojo
08:13 dod joined #mojo
08:21 irqq_ joined #mojo
09:41 cuechan joined #mojo
10:41 disputin joined #mojo
11:05 Adura joined #mojo
11:25 dod joined #mojo
12:30 Lee joined #mojo
12:39 dod joined #mojo
12:46 cafe joined #mojo
12:54 Lee joined #mojo
13:10 Lee joined #mojo
13:23 ashimema joined #mojo
13:30 zivester joined #mojo
13:42 kaare joined #mojo
13:59 jberger batman: is cpan_mojo dead?
13:59 jberger no announcement of your OpenAPI 1.0 :(
14:02 pink_mist that hasn't been announced by GumbyPAN over in freenode #perl either, so I don't expect it's a cpan_mojo problem
14:03 release_bot joined #mojo
14:04 cpan_mojo joined #mojo
14:04 cpan_mojo Mojolicious-Plugin-OpenAPI-1.00 by JHTHORSEN https://metacpan.org/release/JHTHORSEN/Mojolicious-Plugin-OpenAPI-1.00
14:05 pink_mist there we go
14:05 batman jberger: not sure why it sometimes dies :/
14:05 batman really weird
14:05 pink_mist ... humm, wonder why it hasn't been announced by GumbyPAN then
14:06 batman or.. it doesn't really die. cpan_mojo just stops doing anything
14:07 jberger anyway, congrats on 1.0!
14:07 * jberger looks forward to converting to it from swagger
14:07 batman thanks :)
14:08 batman hope i don't have to release 2.0 any time soon, hehe ;)
14:09 batman j/k
14:50 Akron joined #mojo
14:52 Lee joined #mojo
15:16 dod joined #mojo
15:46 kaare joined #mojo
15:48 cuechan joined #mojo
16:40 Topic for #mojo is now 🍩 nom nom | http://mojolicious.org | http://irclog.mojolicious.org | http://code-of-conduct.mojolicious.org
16:40 sri think it might be time for me to give up overwatch
16:40 sri just tanked my rating unrecoverably bad
16:44 sri my profile looks pretty funny
16:44 sri https://www.overbuff.com/players/pc/kraih-2445?mode=competitive
16:45 sri so, i'm roadhog 2079 of 81000, but was able to tank my rating that bad by queueing solo
16:49 sri the system is just ridicuous, i dropped from 2000 to 1500, and the whole time i was playing matches with team average ratings of like 1400
16:49 sri so, a win got me like 4 points, and a loss costs 40
16:56 jberger wow, that some bad stakes
16:57 sri yea, and i'm only in the middle of the rating pool
16:58 sri at the top i would understand that, but it seems in an effort to decrease wait times for matches, they just fill teams with incredibly low averages
17:00 jberger unrelatedly, nodejs is really low-level isn't it :s
17:01 jberger I'm trying to do a quick port of this, mostly for fun
17:01 jberger https://github.com/mozilla/togetherjs/blob/master/hub/server.js
17:01 jberger and honestly so much of the code is just setting up things that mojo just does for you
17:02 sri it is
17:03 jberger I guess it is probably apples to oranges though
17:03 jberger node is really more list psgi IIUC
17:04 jberger err, plack
17:04 jberger or something
17:08 Akron Porting parts of togetherjs is a cool project!
17:09 jberger it seems that (if I'm reading this correctly) you only need to port the server
17:09 jberger which looks (as I go along, not really grokking yet) that it is just a relay
17:10 Akron Is togetherjs (or reimplementations) in wide use?
17:11 jberger no idea
17:11 jberger I just try to keep my eye open for realtime collaboration apps that I might be able to quick port
17:11 jberger I tried to port stuff around ot.js a while back
17:11 jberger and it just was a mess and I eventually gave up
17:12 jberger so now I'm focusing on things that put most of the load on WebRTC
17:12 jberger meaning that the servers are likely to be small
17:13 Akron Yes - I think togetherjs was also just meant as a demo for webrtc. Similar to hello (or what is it called?).
17:15 jberger no idea
17:18 Sebbe "mojo generate app" is a wonderful thing. :) Really helped me set up my first personal non-lite app nicely.
17:34 spicyjack joined #mojo
17:46 jberger so here they return unless message.utf8data parses as json: https://github.com/mozilla/togetherjs/blob/master/hub/server.js#L282-L287
17:46 jberger and yet here they respond with binary data on binary frame type: https://github.com/mozilla/togetherjs/blob/master/hub/server.js#L309-L313
17:47 jberger where this is the event structure for the nodejs websocket library: https://github.com/theturtle32/WebSocket-Node/blob/master/docs/WebSocketConnection.md#message
17:47 jberger is that not broken?
17:50 jberger hmmm lots of issues open since 2014, maybe this thing is abandoned?
17:53 jberger yeah, that json body is really necessary to the usage, I'm guessing they copied a generic "this is an echo server" which included binary handling and just cargo culted it
17:53 jberger and I'm getting less and less excited about this ...
17:59 Riviera joined #mojo
18:16 Akron Oh. :-/
18:21 jberger I love how they intermix the words bytes and chars too, that's handy
18:27 kes joined #mojo
18:28 lluad joined #mojo
18:57 Akron joined #mojo
19:20 q_gone joined #mojo
19:24 PryMar56 joined #mojo
19:52 derhorst joined #mojo
19:54 jberger hmmm I had it work once
19:54 jberger now I suffer this: https://github.com/mozilla/togetherjs/issues/1021
19:54 jberger sigh
19:54 jberger there's a nice afternoon
19:55 jberger I guess it was interesting to see
19:55 jberger and they basically just cross connections as I would have done with any single-process chat app
19:56 jberger anyway
19:56 jberger this is where I got
19:56 jberger https://gist.github.com/jberger/1f975e36e10231357a4fb8792f19e2ba
19:57 jberger all the stuff remaining in @@ server.js is what I hadn't ported yet
19:57 jberger but that should have been enough for it to work
20:05 itaipu joined #mojo
20:32 polettix joined #mojo
20:53 cpan_mojo Mojolicious-Plugin-DbicSchemaViewer-0.0102 by CSSON https://metacpan.org/release/CSSON/Mojolicious-Plugin-DbicSchemaViewer-0.0102
21:04 bit_shifter jberger: Setting the mojo UA's max_connections to 0 solved the issue of the program hanging for 20 seconds for me.  I'm finally able to get back to this since asking on Friday.  Is this the recommended way of solving it?
21:04 bit_shifter (for a non-blocking get request)
21:06 disputin joined #mojo
21:27 sri bit_shifter: i think most of us just use an ioloop delay
21:28 sri which has a ->wait method that does not depend on ioloop state for stopping
21:28 sri http://mojolicious.org/perldoc/Mojo/IOLoop#delay
21:29 sri it's also in the Mojo::UserAgent synopsis
21:32 bit_shifter sri: I took a look at that and played with it a bit.  I was a little confused about it though.  I'll do some more reading.  Thanks for the tip.
21:34 sri it's just a flow control library
21:34 sri or flow control feature in this context i guess
21:35 sri it does look a bit like magic at first, but the way it works is very simple
21:39 bit_shifter I watched tempire's non-blocking with mojolicious talk and got the main concept, I think, but I wasn't sure quite how to implement my logic in a delay.  I'll play with it.
21:47 itaipu joined #mojo
21:49 mishanti2 The training that tempire hosted during mojoconf2014 was very well thought out and executed. Definitly worth the money.
21:55 bit_shifter mishanti2: That would be helpful, for sure.
22:31 Vitrifur joined #mojo

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