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

IRC log for #mojo, 2016-11-30

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

All times shown according to UTC.

Time Nick Message
00:28 Grinnz the DefaultHelpers and such?
00:30 Grinnz does it matter if those plugins are added before startup?
00:41 marty_ joined #mojo
01:03 aborazmeh joined #mojo
01:45 lluad joined #mojo
01:54 Paddi joined #mojo
03:10 geheimnis` joined #mojo
03:14 jberger Oh sorry, i was out
03:14 * jberger looks
03:16 jberger Oh man, that looked really nice
03:22 noganex_ joined #mojo
03:31 stryx` joined #mojo
03:32 jberger Of course my plans were foiled anyway, the config plugin initializes the home attribute too
03:34 jberger Which makes perfect sense once you think about it
03:34 jberger Ok so home can't be deferred at all
03:35 jberger And as you mentioned, the renderer can't be deferred if the plugins are going to be loaded, which is definitely user expectation
03:37 jberger (Sorry I'm thinking "out loud")
03:38 jberger I guess I could still argue for lazily initializing all that stuff if only because it would give you a chance to do it first
03:38 jberger But that's getting a little extreme
03:55 [awal] joined #mojo
05:04 dboehmer_ joined #mojo
05:14 parv joined #mojo
05:15 stryx` joined #mojo
05:48 parv joined #mojo
06:23 inokenty-w joined #mojo
06:37 dod joined #mojo
06:48 parv joined #mojo
06:55 dod joined #mojo
06:57 * parv mutters: dang it. he has been seeing the doughnuts for a while. one of these days, one (or, a few) will be his!
07:02 dod joined #mojo
07:26 Vandal15263 joined #mojo
07:49 mbudde joined #mojo
08:07 parv joined #mojo
08:13 rshadow joined #mojo
08:21 irqq joined #mojo
08:27 Paddi joined #mojo
08:29 Adura joined #mojo
08:30 AndrewIsh joined #mojo
08:35 trone joined #mojo
08:41 sri jberger: i was going to make the same argument
08:42 Adura joined #mojo
08:42 sri but then i wrote a test, and noticed that the path attributes for static and renderer were different
08:42 sri so, renderer got initialized very early, got the default home, and static was initialized very late, and got the changed home
08:43 sri and even to me that was unexpected, so i changed everything back
08:44 tyldis Do kittens die if I mangle my app->moniker?
08:46 tyldis Docs doesn't discurage it, but I didn't really find examples of people doing it. If doing it early in startup() it should be okay, I guess
09:15 sri anyway, release time i guess
09:20 foursixnine joined #mojo
09:21 good_news_everyon joined #mojo
09:21 good_news_everyon [mojo] kraih tagged v7.11 at 72d8727: https://git.io/v1OTg
09:21 good_news_everyon left #mojo
09:23 foursixnine left #mojo
09:23 foursixnine joined #mojo
09:24 good_news_everyon joined #mojo
09:24 good_news_everyon [mojo] kraih pushed 1 new commit to master: https://git.io/v1OT9
09:24 good_news_everyon mojo/master e9deeb1 Sebastian Riedel: bump version
09:24 good_news_everyon left #mojo
09:24 sri foursixnine: o/
09:25 foursixnine sri, \o
09:25 foursixnine Hello everybody, new guy in the hood :)
09:25 sri foursixnine started at SUSE the same day i did
09:25 sri funny thing is he worked with Catalyst before, small world :D
09:26 coolo these bros are so close: >||< ;)
09:27 foursixnine Yeah... funny small world xD...
09:27 foursixnine Now time to use #mojo for more fun
09:37 * sri hates having to open this pull request :S https://github.com/os-autoinst/openQA/pull/1050
09:42 noganex joined #mojo
09:52 osfabibisi joined #mojo
10:02 exp-innit left #mojo
10:22 itaipu joined #mojo
10:35 ribasushi joined #mojo
10:43 irqq joined #mojo
10:52 tchaves joined #mojo
10:56 Paddi joined #mojo
11:10 janl joined #mojo
11:19 necrophcodr joined #mojo
11:19 necrophcodr Hey guys, I was wondering as a nub scrub if there was any way to easily change (or add) static paths and template paths for a Mojolicious::Lite application?
11:19 necrophcodr I haven't dug very deep yet, so if this is not okay to ask, I am sorry
11:20 necrophcodr I want to grow my Mojolicious::Lite application, but not yet to a full blown one, since I'm not quite ready to do that with my current code base
11:21 sri app->renderer->paths
11:21 sri and so on
11:21 necrophcodr sri: thanks a ton! okay, it was a lot easier than i thought then, thank you!
11:37 marty joined #mojo
11:38 marty joined #mojo
11:52 rshadow joined #mojo
11:55 rshadow1 joined #mojo
12:38 jberger foursixnine welcome!
12:47 sri the americans are waking up
12:56 Paddi joined #mojo
12:56 dantti_laptop joined #mojo
13:18 dboehmer joined #mojo
13:20 jberger Metaphorically?
13:43 gizmomathboy joined #mojo
13:49 gryphon joined #mojo
14:01 itaipu joined #mojo
14:02 asarch joined #mojo
14:04 asarch joined #mojo
14:05 Pyritic joined #mojo
14:06 Paddi joined #mojo
14:07 spicyjack no, not metaphorically, sadly
14:08 spicyjack we're actually reverting metaphorically
14:08 spicyjack becoming more troglodyte-like
14:10 spicyjack so the only place _Test::Mojo_ is shown being instantiated without a class is in the tutorial, and in the docs for the new() method in _Test::Mojo_
14:11 spicyjack would it be worth it to submit a patch making the docs more explict on creating _Test::Mojo_ objects without a class?
14:11 spicyjack like in the Synopsis of _Test::Mojo_, and a blurb in the new() method?
14:12 spicyjack I hit this trying to create tests for a demo I wrote in _Mojolicious::Lite_
14:13 spicyjack it wasn't clear how to test _M::L_ apps in the _Test::Mojo_ docs
14:17 asarch joined #mojo
14:24 sri jberger: nope, just happened to look at the world clock
14:26 rshadow joined #mojo
14:32 marty_ joined #mojo
14:34 ramortegui joined #mojo
14:36 marty_ joined #mojo
14:46 rshadow joined #mojo
15:02 jberger spicyjack: certainly if it is documented in the new() method then that's at least covered, but as always we would consider a documentation patch, provided it is concise and helpful
15:04 osfabibisi joined #mojo
15:08 spicyjack jberger: let me see if I can whip up a concise and helpful
15:08 spicyjack it's "shown" in the new() method, but there's no textual documentation as to what's going on when you pass a class to new()
15:09 spicyjack I'm not actually sure where the textual documentation for Test::Mojo->new() describes what happens when you pass the name of a class or an object into it
15:09 jberger whem you pass a class name or object I think the implication is pretty clear
15:11 martin joined #mojo
15:14 jberger sri: that brings up an interesting question
15:15 jberger if you use multiple Lite applications in the same greater application (ie Mojolyst or just application mounting) which does the Mojo::UserAgent::Server singleton app point to?
15:16 sri first
15:17 sri case already exists for mounted apps
15:27 jberger and that makes perfect sense
15:28 jberger is it documented somewhere? if not perhaps adding a note about it someplace would help alleviate the confusion about Test::Mojo->new()
15:38 spicyjack joined #mojo
16:10 Grinnz sri: baby steps... (re openqa pr)
16:23 cpan_mojo Mojo-SQLite-1.002 by DBOOK https://metacpan.org/release/DBOOK/Mojo-SQLite-1.002
16:27 c0xc joined #mojo
16:28 c0xc joined #mojo
16:30 disputin joined #mojo
16:33 dotan_convos joined #mojo
16:58 rshadow joined #mojo
17:01 lluad joined #mojo
17:13 dantti_laptop joined #mojo
17:16 dotan_convos joined #mojo
17:35 rshadow joined #mojo
17:40 Grinnz preaction: what documentation should I link to in order to recommend Mercury as a pubsub alternative to Mojo::SQLite::PubSub? the main documentation, or Mercury::Pattern::PubSub or something?
18:26 dod joined #mojo
18:27 PryMar56 joined #mojo
18:33 sugar joined #mojo
19:02 preaction Grinnz: that is an excellent question. probably the main documentation, so, for the "mercury" command
19:03 preaction if you think that has problems, and it likely does, let me know and i'll try to address them
19:14 marty joined #mojo
19:18 dantti_laptop joined #mojo
19:56 irqq joined #mojo
20:01 itaipu joined #mojo
20:10 dod joined #mojo
20:10 disputin joined #mojo
20:49 jberger sri: any appetite for a -j (json) argument to the eval command?
20:56 sri not really
21:05 irqq_ joined #mojo
21:12 jberger its nice for pipelines
21:54 irqq joined #mojo
21:58 irqq_ joined #mojo
22:01 irqq joined #mojo
22:11 irqq joined #mojo
22:12 irqq_ joined #mojo
22:17 irqq joined #mojo
22:19 irqq__ joined #mojo
22:20 irqq___ joined #mojo
22:22 irqq_ joined #mojo
22:45 PryMar56 joined #mojo
23:24 PopeF joined #mojo

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