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

IRC log for #mojo, 2018-01-06

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

All times shown according to UTC.

Time Nick Message
00:09 stephan48 joined #mojo
00:19 ghenry joined #mojo
01:34 marty joined #mojo
02:09 FROGGS_ joined #mojo
02:25 stokachu joined #mojo
02:26 stokachu joined #mojo
02:57 ilbot2 joined #mojo
02:57 Topic for #mojo is now 🍩 nom nom | http://mojolicious.org | http://irclog.mojolicious.org | http://code-of-conduct.mojolicious.org
03:32 ghenry joined #mojo
05:04 dboehmer joined #mojo
05:38 mib_4lmk3a joined #mojo
05:55 sh14 joined #mojo
07:26 Vandal joined #mojo
08:48 dod joined #mojo
08:56 dod joined #mojo
09:27 trone joined #mojo
09:45 jamesaxl joined #mojo
09:50 geospeck joined #mojo
10:44 geospeck joined #mojo
11:03 kes joined #mojo
11:25 geospeck joined #mojo
11:26 geospeck joined #mojo
11:26 djk joined #mojo
11:27 geospeck joined #mojo
11:28 geospeck joined #mojo
11:29 geospeck joined #mojo
12:12 inokenty joined #mojo
12:12 inokenty left #mojo
13:15 inokenty joined #mojo
13:32 noganex_ joined #mojo
13:36 mishanti1 What would be the "correct" way for a mojolicious plugin to make available a new layout? ie add a layout to the applications list of already available layouts.
13:37 sri http://mojolicious.org/perldoc/Mojolicious/Guides/Rendering#Bundling-assets-with-plugins
13:38 mishanti1 sri: Thanks a bunch! :) That was the page I remeber having seen but now didn't find.
13:44 mishanti1 That worked like a charm.
13:45 ChmEarl joined #mojo
14:02 Zaphod joined #mojo
14:03 Zaphod Hi all, I'm new to Mojo and have a question about scope. Suppose I have a logger role in my application code that uses Log::Any. In an http request I instantiate an object that composes in the logger role, which instantiates a Log::Any logger instance.
14:04 Zaphod Is that logger instance completely isolated from an instance in any other http request's process? (As I plan to stash data in the logger $context hash)
14:06 Zaphod Also, if so, what is the simplest way to prove this in a test. I.e. to run a preforking server and make multiple requests and verify that the logger stash is not shared among requests?
14:29 djk joined #mojo
15:02 geospeck joined #mojo
15:36 purplecoffee joined #mojo
16:14 purpleco_ joined #mojo
16:17 sh14 joined #mojo
17:07 jamesaxl joined #mojo
17:37 sri usb-c for charging cables was a great idea... https://twitter.com/_MG_/status/949684949614907395
17:38 sri surprised it took this long for people to actually exploit it
17:40 pink_mist well, I'd expect black hat hackers have already been doing it for a while; they tend not to want to draw attention to the issue though
17:43 sri i guess it was already pretty common with bigger usb devices
17:46 hesco1 How confident can I be that Mojolicious::Plugins::CGI is going to bring the legacy cgi scripts under the mojo router without introducing new unexpected problems?  Has it been widely used?  What is its track record?  Anyone here actually use it for production services?  Or am I proceeding here on rumpr and inuendo?  I have sorted out how to get my legacy CGI::Session to work so that my login page can now hand
17:46 hesco1 off to the authenticated and authorized routes.  I was able to visit each and every page, but have not used any of the forms.  I do not have a regression suite to fall back on to validate this, and am building one as I refactor.  If I put this thing which appears to be working out into the real world, would it blow up on me?
17:53 mohawk hesco1, are you asking people here whether to expect unexpected problems?
17:53 mohawk maybe i'm confused :-)
17:54 mohawk hesco1, i would suggest (based on my recent experience with graphql->perl) that trying to mingle writing tests with changing code causes problems
17:54 mohawk you're wisest going with the full tests first, *then* make code changes
17:55 * sri always expects unexpected problems
18:00 mohawk "To expect the unexpected shows a thoroughly modern intellect." - Oscar Wilde
18:11 pink_mist nobody expects the spanish problem
18:14 stephan48 joined #mojo
18:16 marty joined #mojo
18:19 stephanj joined #mojo
18:21 marty joined #mojo
18:25 dod joined #mojo
18:45 purplecoffee joined #mojo
19:16 marty_ joined #mojo
19:33 marty joined #mojo
19:36 marty joined #mojo
19:39 karjala_ joined #mojo
21:17 marty joined #mojo
22:01 disputin joined #mojo
22:12 S joined #mojo
23:19 marty joined #mojo
23:34 marty joined #mojo
23:36 marty joined #mojo
23:43 djk joined #mojo
23:52 stephan48 joined #mojo

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