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

IRC log for #mojo, 2018-01-17

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

All times shown according to UTC.

Time Nick Message
01:07 Sebbe joined #mojo
02:49 poiuytrewq 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
05:04 dboehmer_ joined #mojo
06:14 krebbit joined #mojo
06:45 dod joined #mojo
06:51 Vandal joined #mojo
07:09 inokenty-w joined #mojo
07:13 dod joined #mojo
07:19 anparker joined #mojo
07:23 seba joined #mojo
07:25 McA joined #mojo
07:28 meredith joined #mojo
07:45 seba left #mojo
07:54 karjala_ joined #mojo
08:09 dod joined #mojo
08:12 AndrewIsh joined #mojo
08:19 trone joined #mojo
08:46 zakame joined #mojo
08:51 haarg joined #mojo
09:19 esh joined #mojo
09:36 seba joined #mojo
11:02 tchaves joined #mojo
11:05 mishanti1 https://stix.no/en/stillinger <-- Open position for a Perl-developer / generalist.
11:08 mishanti1 Posting it here since most of what we do these days (excluding legacy-stuff) is based on Mojo.
11:09 sri you can also post it to the mailing list, since it's mojo specific
11:10 mishanti1 That is a good idea. I'll do that.
11:10 pink_mist mishanti1: where it says "XML::*" does that include XML::Simple? >_<
11:12 pink_mist mishanti1: and I assume one needs to move to norway?
11:12 mishanti1 pink_mist: Yeah. Though thankfully new stuff being developed (at least by us) is mostly JSON, and at least I use Mojo for most of the xml-manipulation I need to do.
11:12 pink_mist right
11:12 mishanti1 ^-- the 'yeah' was to the xml-question
11:12 pink_mist yeah, I understood that =)
11:14 mishanti1 The moving bit is definitly preferred. We would like to have our team sit here and work together, but we are not strangers to remote-work. Downside of remote is that it is much, much harder to maintain a proper team-feeling.
11:15 mishanti1 I guess it comes down to the candidate, how we can fit that with deliverables that sometimes does require us to be on-site with customers and a couple of more "business oriented" aspects.
11:16 tyldis mishanti1: Actually the job is perfect for me. And my employer can hire me back. ;)
11:22 mishanti1 It will be very interesting to see what kind of feedback we get. I don't see many Perl- and especially not many mojo-jobs posted.
11:22 mishanti1 But then there are not many perl'ers either, so it does make sense.
11:27 CHYC joined #mojo
11:33 dod joined #mojo
12:21 exp-innit joined #mojo
12:21 exp-innit I'm rendering some json with an arrayref which is pointing to an empty array
12:21 exp-innit my client side receives "", ie an empty string
12:21 exp-innit what i expected was "[]", an empty list
12:22 exp-innit is this something obvious i've done dumb? or something I didn't consider?
12:24 exp-innit it works from the terminal as i'd expect, but not with $self->render(json => $values);  (where $values is initialised as = [];)
12:25 exp-innit ah, no it appears to be a problem in the JS library i'm using, judging by the fact firefox's dev console shows [], sorry to bother you :)
12:26 pink_mist brilliant, JS libraries not supporting JSON properly
12:36 exp-innit pink_mist: yeah it's an autocomplete library and my review is: not great
12:36 exp-innit it presumably parses the array and calls the result function with undefined input
12:36 exp-innit which shockingly, errors
12:36 exp-innit ah well, identified now :)
12:46 simon_ hi.
12:48 simon_ when making my own form validator, sub my_validator ($validation, $name, $value) { ... }, is it necessary to write $validation->output->{$name} = $value even when the validator doesn't modify $value?
12:50 sri http://mojolicious.org/perldoc/Mojolicious/Guides/Rendering#Adding-form-validation-checks
12:51 simon_ okay, thanks.
12:57 dod joined #mojo
13:03 Ya_ALLAH_Ya_Muhmd_ joined #mojo
13:03 Ya_ALLAH_Ya_Muhmd_ left #mojo
13:17 pirateFinn joined #mojo
13:33 sri heh, minion is about to reach 100 stars :) https://github.com/kraih/minion
13:51 marcus now it's 100
13:51 marcus *cough*
13:53 marty joined #mojo
13:54 sri \o/
13:57 maschine joined #mojo
14:05 marcus think I'll complete the main hzd storyline today
14:15 aborazmeh joined #mojo
14:56 gryphon joined #mojo
15:04 ChmEarl joined #mojo
15:26 gizmomathboy joined #mojo
15:44 maschine Finally had a chance to try the Minion::Admin plugin - works great!
15:44 karjala_ joined #mojo
15:44 maschine However, I have a group/under route for '/admin' with it's own auth, but "app->routes->get('/admin/minion')" works whether I'm authorized or not.  How do I make that work in a lite app?
15:48 maschine this is what my group / under looks like http://bit.ly/2Do26FB
15:49 pink_mist only routes defined inside the group will be affected by the under
15:49 pink_mist that's what groups are for
15:49 pink_mist if you define a route somewhere else, the under doesn't matter
15:49 maschine right - so how do I do that with the plugin?
15:50 maschine since it creates its own route
15:51 jberger http://mojolicious.org/perldoc/Mojolicious/Plugin/Minion/Admin#SYNOPSIS
15:51 jberger right in the synopsis
15:51 pink_mist just replace $self with app
15:52 maschine doh - I saw that, but didn't put 2+2 together.
15:52 maschine thanks
16:12 seba joined #mojo
17:01 arcanez joined #mojo
17:17 reetspetit Hi.. I'm doing some real simple stuff but got stuck on how to use a variable in an include like this %= include $contentVar
17:17 reetspetit rather than %= include '_content'
17:17 reetspetit Any ideas on how to do this ?
17:23 Edward joined #mojo
17:33 jberger godsdammit: https://www.reddit.com/r/perl/comments/7r1b33/an_open_letter_to_the_perl_community/
17:33 jberger all the lies from the p6 community coming back
17:34 jberger that article is basically "now that p6 works, its time to kill p5 and port all of CPAN"
17:34 jberger it even tries to change "sister languages" back
17:34 jberger like, they are barely hiding this
17:55 ChmEarl joined #mojo
18:33 trone joined #mojo
18:55 mishanti1 jberger: Agreed. It would be nice if the Perl 6 crowd could focus on marketing and making (yes, in that order) something that could stand on it's own.
18:57 mishanti1 The javascript world / community, with all its flaws, has really embraced one thing: the stuff you make _must_ be marketed.
18:57 mishanti1 Highlighting "business-value" (yes, even to individuals) is key for adoption. Having naming-confusions, squabbles and such is _not_ condusive to progress.
18:59 dod joined #mojo
19:00 mishanti1 As someone who tries to run a business and notably focus on promoting Perl (most everything we produce has a Perl core) I can say that to this day I have not heard _one_ argument for Perl 6 that I can use when sitting down with a customer to explain why we'd do something in a particular fashion.
19:08 karjala_ joined #mojo
19:14 Seth joined #mojo
19:17 keret joined #mojo
19:53 jberger JHFC https://irclog.perlgeek.de/perl6/2018-01-17#i_15701852
19:59 mishanti1 Sad read. :(
20:13 dod joined #mojo
20:17 pink_mist wth is she talking about "stagnation"? perl 5 is developping plenty
20:23 mishanti1 fud.
20:23 mishanti1 What she is spreading that is.
20:26 genio jberger: I really wish I hadn't read that. I'm seething now.
20:26 tyldis I would expect better than this from Liz, but I lack Perl history.
20:29 tyldis I guess there is a bit of history I am missing and where Liz went sour on Perl5.
20:51 jberger the p6 community is too insular, they don't see themselves as being so anti-perl5
20:51 jberger in their minds, clearly everyone wants to move to Perl 6 because its better (TM)
20:51 Grinnz i mean, it's been an echo chamber for years, this is no different
20:51 CandyAngel Well that is why everyone moved to P6, right?
20:51 CandyAngel I mean, not like anything is stopping them.
20:52 maschine CandyAngel: *crickets*
20:52 tyldis The same thing that stops me from moving to anything else: CPAN.
20:52 Grinnz the presumption that everyone that hasn't moved really wants to deep down is the issue
20:53 tyldis I'm a shoddy delevoper, I need a strong ecosystem.
20:53 tyldis P6 is not for me, no matter how cool it is.
20:54 maschine tyldis: me too.  I wouldn't have gone anywhere without the help of CPAN.  I'm not even really a programmer..
21:00 mishanti1 As long as P6 continues to give absolutely zero business sense I can not move, and can not with a clean conscience recommend anyone else doing so either.
21:00 mishanti1 Perl 5 makes plenty business-sense, especially wrt CPAN as tyldis points out.
21:01 Grinnz in my mind it's not even a question. I would similarly not propose moving to node or python at this juncture, but they would make more sense than perl 6
21:01 Grinnz and i'm specifically speaking of my method of employment
21:01 mishanti1 Oh absolutely.
21:01 purl Rather.
21:02 ribasushi the problem is that perl5 no longer makes business sense either, which is what Liz is trying to capitalize on
21:03 ribasushi you all like CPAN, and that's understandable, now go read https://www.nntp.perl.org/group/perl.perl5.porters/2017/12/msg248288.html and tell me you still feel confident about its future
21:03 Grinnz it makes plenty of business sense where I am employed
21:03 ribasushi to TLDR a section: "... I beg to differ. CPAN itself is a dumping ground for code. We cannot - and should not - expect anything written to work ad infinitum. That is not a strong argument...."
21:03 Grinnz liz's proposals directly challenge that, not anything p5p is doing
21:04 Grinnz that email is much more detailed than that, and I agree with it in general
21:04 ribasushi sigh... nevermind.
21:06 mishanti1 p5 also makes plenty business sense for the business I run, and for the customers that we provide services to.
21:10 CHYC joined #mojo
21:13 sri looks like the channel #perl6 has been shrinking a lot
21:33 jabberwok joined #mojo
22:05 markong joined #mojo
22:27 marty_ joined #mojo
23:44 purl joined #mojo
23:55 jacoby joined #mojo

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