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

IRC log for #mojo, 2017-09-21

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

All times shown according to UTC.

Time Nick Message
00:56 aborazmeh joined #mojo
01:18 crazynig joined #mojo
01:37 tchaves joined #mojo
01:54 ilbot2 joined #mojo
01:54 Topic for #mojo is now 🍩 nom nom | http://mojolicious.org | http://irclog.mojolicious.org | http://code-of-conduct.mojolicious.org
02:59 noganex joined #mojo
04:04 dboehmer_ joined #mojo
04:13 disputin joined #mojo
05:00 bianca joined #mojo
05:49 dod joined #mojo
06:09 karjala_ joined #mojo
06:11 dod joined #mojo
06:35 coolo sri: https://xkcd.com/1892/ is for you :)
06:44 AndrewIsh joined #mojo
06:51 sri coolo: haha, it's so true
06:52 sri the one good usb-c cable i now have is actually sold as a thunderbolt 3 cable
07:09 sri oh, the good place got a second season, neat
07:09 sri good comedy
07:12 sri coolo: btw. i think you'd like the orville, very TNG with not too over the top humour
07:14 bianca joined #mojo
07:30 inokenty-w joined #mojo
07:44 trone joined #mojo
07:46 mike_scope joined #mojo
07:46 kes joined #mojo
07:47 kes Hi. What does this mean: Access parameter values. If there are multiple values sharing the same name, and you want to access more than just the last one, you can use "every_param". Note that this method will normalize the parameters.
07:48 kes how it will be normalized?
07:48 kes http://mojolicious.org/perldoc/Mojo/Parameters#pairs
08:04 marty joined #mojo
08:06 dod joined #mojo
08:12 Vandal joined #mojo
08:26 kes Why when I add 'param' manually: $c->param( name => 'value' ) I can not check it by validator: $v->optional( 'name' )->like( qr/\d+/ )?
08:33 marcus jberger: I think she might be reading our irc logs https://twitter.com/deborahkagan/status/910675944125472769
08:43 rshadow joined #mojo
09:14 CandyAngel Bada da da da daa.. strawman!
09:20 sri i think this is a reasonable solution for the automatic unlock problem in minion https://github.com/kraih/minion/commit/e47fbe49f5033e6ace897205dffda684bf29cee1
09:21 sri at least it will resolve the problems i have at work with failed jobs keeping locks open
09:22 sri the connection of the words lock and guard are close enough to make semantic sense to me
09:29 rshadow joined #mojo
09:47 marcus TIL let perl_sub_signatures = 1fixes vim syntax highlighting.
09:48 marcus sri: Any ideas on how we can make error reporting for helpers with signatures better? It's pretty much impossible to track down where they were called from now.
09:49 sri i don't really use signatures
09:50 coolo ==
09:50 sri signatures would only really become interesting for me if there was a polyfill module on cpan i could use
09:51 sri since i have to deploy to perl 5.18 for the foreseeable future
09:53 sri marcus: feel free to optimize mojolicious for signatures though
09:53 sri i'll join when i can actually use them
09:56 rshadow joined #mojo
10:05 rshadow joined #mojo
10:26 n16gel joined #mojo
10:46 marcus sri: why do you have to support such an old perl? :-/
10:49 sri enterprise linux of course
10:52 kes interesting module to validate form data
10:52 kes https://metacpan.org/pod/Validate::Tiny
11:00 sri please review the minion change, i want to release it quickly
11:00 * sri pokes jberger, marcus and batman
11:09 sri and Grinnz i guess
11:10 marcus I did not have relations with that code base.
11:10 marcus ;)
11:11 tchaves joined #mojo
11:12 marcus the guard change lgtm tho
11:19 bianca joined #mojo
11:23 trone joined #mojo
11:47 sri monkey patched it into work code for testing and so far it looks pretty good
11:47 sri i guess the only concern now might be the name
11:47 sri but i can't really think of anything better
11:47 rshadow joined #mojo
12:04 ChmEarl joined #mojo
12:05 dod joined #mojo
12:06 dod joined #mojo
12:40 jberger I liked the orville too
12:40 jberger marcus: :o
12:42 jberger sri: looks fine IMO
12:42 jberger its a new primitive so its isn't too risky anyway
12:42 sri it's funny how problems start popping up when you're about to go on vacation...
12:43 jberger always
12:44 marcus jberger: we're not alone in the #hashtag struggle https://twitter.com/Lol2Linda/status/907012099997564928
12:44 jberger https://wompwompwomp.com/
13:04 ashimema joined #mojo
13:13 yoshi joined #mojo
13:15 gizmomathboy joined #mojo
13:18 sri jberger: btw. i'm not too worried about risk, mostly style
13:18 sri (not actually worried... just would be nice to see people agree)
13:24 maschine joined #mojo
13:40 trone joined #mojo
13:54 sri jberger: watching the orville actually made me realize how much i'm craving more utopian scifi
13:54 sri reality got dystopian enough...
14:10 chandwki joined #mojo
14:35 zivester joined #mojo
14:56 itaipu joined #mojo
15:05 jberger heh, yeah, that's true
15:13 gryphon joined #mojo
15:33 sh14 joined #mojo
15:40 PopeFelix joined #mojo
16:04 trone joined #mojo
16:27 PopeFelix Is it accurate to say that if I want my application to render JSON on error, I need to create a template for that JSON?
16:28 Grinnz https://metacpan.org/pod/Mojolicious::Guides::Rendering#Rendering-exception-and-not_found-pages
16:28 Grinnz third example
16:29 PopeFelix the "before_render" hook?
16:30 DerAlex joined #mojo
16:31 PopeFelix And can I do that on a per-controller basis? Because it looks like I need to define that in the app, and I really don't want to go and fix *all* of the controllers that were written without knowledge of this hook.
16:34 Grinnz no, hooks are global
16:34 Grinnz you could have a condition inside the hook though
16:36 simcop2387 Is it possible to override the DNS resolver that Mojo::UserAgent uses?
16:37 Grinnz not really, that's handled by Mojo::IOLoop::Client
16:37 PopeFelix Thanks, Grinnz. Given that the construction for this particular thing is Plugin + Controller, I'll do it in the Plugin. Which is "spooky action at a distance", but such are the ways of Mojo.
16:39 simcop2387 trying to decide the sanest way to make a proxy that fixes the xml from an rss feed.  was gonna just hack up /etc/hosts to point things around on my server.
16:39 Grinnz I mean it's just getaddrinfo, so it would be affected by /etc/hosts
16:40 simcop2387 the "proxy" though, I don't want affected by it, just the rss updater.
16:46 DerAlex My first bigger web project will be online soon and I'm working on a eCommerce software entirely written with Mojolicious - this framework is so refreshing.
16:48 ChmEarl joined #mojo
16:55 simcop2387 i've decided on a weird solution because i don't want to write a thing to fix the xml in php (what the rss reader is in)
16:58 rshadow joined #mojo
16:59 dod joined #mojo
17:01 dod joined #mojo
17:13 gryphon joined #mojo
17:14 simcop2387 i guess i can just run it elsewhere so that it's not affected.
17:15 preaction joined #mojo
17:46 itaipu joined #mojo
18:03 karjala_ joined #mojo
18:13 disputin joined #mojo
18:36 disputin joined #mojo
19:09 Pyritic joined #mojo
19:27 bianca joined #mojo
19:32 perlpilot joined #mojo
21:22 Grinnz irccloud has formatting now but only on mobile ?
21:57 n16gel joined #mojo
22:48 sri new minion with the guard method is released
22:49 gryphon joined #mojo
23:10 fwrk joined #mojo
23:58 disputin1 joined #mojo

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