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

IRC log for #mojo, 2017-03-19

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

All times shown according to UTC.

Time Nick Message
00:58 aborazmeh joined #mojo
01:19 stryx` joined #mojo
03:33 noganex joined #mojo
05:04 dboehmer_ joined #mojo
07:24 dod joined #mojo
07:25 Vandal joined #mojo
09:04 rshadow joined #mojo
09:07 dod joined #mojo
09:11 dod joined #mojo
09:28 dod joined #mojo
09:31 dod1 joined #mojo
11:14 sh14 joined #mojo
11:56 prg joined #mojo
13:33 sh14 joined #mojo
14:08 rshadow joined #mojo
14:20 maschine joined #mojo
14:20 rshadow joined #mojo
14:27 rshadow joined #mojo
14:28 litwol Hello
14:28 litwol I'm following documentation on how to use UserAgent to establish connection to a web page *using socks5 proxy*
14:28 litwol Worked great!
14:29 litwol I am now parsing this page to identify zip file links which i need to download.
14:29 litwol However, i am having difficutly finding examples on how to download and save files using mojo's api.. with proxy support'n'all.
14:33 marty joined #mojo
14:34 litwol "result->content->asset->move_to"
14:34 litwol found.
14:34 litwol ty
14:48 ashimema joined #mojo
15:03 litwol hm
15:04 litwol I'm replacing my Rex script (rexify.org) where i'm using WWW::Mechanize, MIME::Base64, + etc, ... deleting all individual integrations with just Mojo::UserAgent.
15:04 litwol I think Mojo is starting to spoil me ..
15:04 litwol :-p
15:04 litwol ty :)
15:50 dod joined #mojo
16:21 PryMar56 joined #mojo
16:56 lluad joined #mojo
17:35 litwol Hello. When using Mojo::IOLoop for concurrent user agent operatons. Is it possible to limit number of concurrent running events ? run 3 things concurently while maintaining a queue of 100+ items t obe done?
17:42 litwol 2nd example shows limited-parallel loop http://mojolicious.org/perldoc/Mojolicious/Guides/Cookbook#Non-blocking
17:58 asarch joined #mojo
18:13 someguy joined #mojo
18:22 someguy What's the best way to manage secret stuff in my app?
18:22 someguy Like, API tokens and things like that?
18:23 dod joined #mojo
18:24 Grinnz someguy: usually conf files
18:24 Grinnz the Config and JSONConfig plugins can help
18:30 litwol Starting to both like and realize more the power of 'micro framework'.
18:30 litwol Combining mojo with Rex.. huge number of lines reduction from what ihad before, while gaining new features.
18:34 someguy Grinnz: and then I encrypt the things somehow?
18:34 Grinnz no, you just don't send them to users
18:35 Grinnz i mean you can encrypt your conf file if you want, but your app is going to need to be able to decrypt it anyway
18:35 Grinnz better to just make it not readable to anyone that doesnt need to
18:36 Grinnz by permissions
18:46 trone joined #mojo
19:39 asarch joined #mojo
19:43 Lee_ joined #mojo
20:01 lluad joined #mojo
20:11 rshadow joined #mojo
20:14 vicash someguy: don't forget to add your conf file to .gitignore/svn:ignore and don't upload it to a public server.
20:15 vicash someguy: if you encrypt it, that's fine, but for decryption you will have to store the keys somewhere, so it becomes the same problem - key management
20:18 rshadow joined #mojo
20:40 ajmrch joined #mojo
22:10 marcus sri: I don't think I quite understand what this line does https://github.com/kraih/mojo/blob/master/lib/Mojo/Server/Morbo.pm#L39 - I am guessing it is related to https://github.com/kraih/mojo/blob/master/lib/Mojo/Server/Morbo.pm#L81 tho.
22:11 sri we watch the script that was passed to morbo
22:12 sri morbo script/foo
22:12 rshadow joined #mojo
22:24 sri horizon zero dawn is one of the best games i've ever played :o
22:28 sri can't wait for the next, hope they make content dlcs
22:31 * sri loves open world rpg, and enjoyed it even a little more than fallout 4
23:06 stryx` joined #mojo
23:42 irqq_ joined #mojo

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