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

IRC log for #mojo, 2017-05-01

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

All times shown according to UTC.

Time Nick Message
00:04 eseyman joined #mojo
02:02 marty joined #mojo
02:09 Phil21 joined #mojo
02:44 noganex_ joined #mojo
04:01 aborazmeh joined #mojo
04:04 dboehmer joined #mojo
05:24 new_student joined #mojo
08:46 eseyman joined #mojo
09:31 yysachinyy joined #mojo
09:33 Vandal joined #mojo
10:05 rshadow joined #mojo
11:53 eseyman joined #mojo
12:21 trone joined #mojo
12:35 marty joined #mojo
13:18 eseyman joined #mojo
13:21 gryphon joined #mojo
13:31 marty_ joined #mojo
14:05 gizmomathboy joined #mojo
14:17 Armen greetings
14:18 Pyritic joined #mojo
14:50 Pyritic joined #mojo
14:53 castaway joined #mojo
15:04 iamb joined #mojo
15:17 dod joined #mojo
16:13 yysachinyy joined #mojo
16:16 sh14 joined #mojo
16:20 eseyman joined #mojo
17:00 PryMar56 joined #mojo
17:53 kyclark joined #mojo
17:53 kyclark I've upgraded to 7.31 and can't use "bridge": Can't locate object method "bridge" via package "Mojolicious::Routes"
17:55 kyclark I want to check for an access token.  If it's not present or is expired, I need to redirect to an Oauth2 provider using some complicated logic.  If it is present, I want to move along to the requested URL.
17:57 jberger kyclark: what version are you upgrading from?
17:57 jberger also, as I recall, bridge is basically just "under"
17:57 jberger anyway, bridge has been gone for quite a while
17:58 pink_mist kyclark: see https://github.com/kraih/mojo/wiki/Upgrading#other-removals
17:59 jberger pink_mist++ I just got there myself
18:06 BinGOs get-iplayer is now depending on Mojolicious
18:06 BinGOs https://github.com/get-iplayer/get_iplayer/wiki/release300
18:12 jberger neat
18:12 jberger I wonder why they still use LWP?
18:12 jberger BinGOs: are you a part of that project or is that something you just noticed?
18:13 BinGOs I am a consumer
18:15 BinGOs and noticed it in the release docs.
18:25 jberger thats ... quite a script :-P
19:32 stryx` joined #mojo
19:49 Trick14 hello again, am still troubleshooting why the mojo websocket client works as long as the messages aren't too big
19:52 Trick14 one thing i do notice is this server (out of my control) puts (according to firefox developper tools) the rsvbit1 to "" instead of "true" for the too big messages I would call them
20:00 Pyritic joined #mojo
20:16 webart hmm does anyone use Mojolicious db helper plugins in scripts to fiddle with databases instead of sql ?
20:17 webart well together with sql
20:21 dikim joined #mojo
20:22 Grinnz not plugins, but many of us use Mojo::Pg and Mojo::SQLite
20:23 preaction i write Mojolicious::Command modules to do some querying sometimes
20:31 mgrimes joined #mojo
20:32 webart oops wrong name
20:33 webart Mojolicious::Plugin::Database not really sure what that does
20:36 preaction it makes a helper that connects to DBI so that you do it after Hypnotoad forks, preventing problems with some databases that don't like sockets being shared between forked processes
20:43 pink_mist webart: a lot of the database plugins are really sub-par ... you should stick with Mojo::Pg or Mojo::SQLite or Mojo::mysql if you have one of those databases
20:43 pink_mist and something like DBIx::Connector if not
20:43 Grinnz yes, just keep one of those objects around in a helper instead
20:44 Grinnz it will properly handle reconnecting, forking, etc
21:14 webart ok
21:14 webart thanks
21:16 webart I just realized a mojo webrtc application I've been trying to get to work (vroom)  is written using  Mojolicious::Plugin::Database
21:16 webart and wondered what might be the part that causes coredumps :)
21:17 webart https://github.com/dani/vroom olde code I think ... bit rot etc.
21:35 PopeF joined #mojo
22:25 disputin joined #mojo
22:42 Furryfeet joined #mojo
23:37 tchaves joined #mojo
23:40 eday joined #mojo
23:43 eday I'm writing a client app using delay and user agent objects, but I notice if I create multiple user agent objects for the same delay object requests never happen when calling delay->wait. Is there some way to support this, or do you always need to use a single UserAgent object? thanks!
23:45 cng show some code; I had trouble with blocking UA a while back; I didn’t ‘start’ the request/callback properly
23:47 eday sure, let me simplify and paste...
23:59 eday https://gist.github.com/anonymous/dca7cd04b47f769889894aab6ef1dee0   is an example. I realize the get wrapper is not needed and removing it would solve this, but my actual use case involves unrelated modules that issue HTTP requests and I would like to run them all concurrently

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