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

IRC log for #mojo, 2017-04-24

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

All times shown according to UTC.

Time Nick Message
00:24 kiwiroy joined #mojo
00:27 cheako What do ppl think for this, https://pastebin.com/th12hkcS   Does the use of an undef 'inner text' generate <tag /> or is there no way to differentiate that from <tag></tag>?
00:32 cheako is the URL escape at line 8 necessary?
01:17 cheako joined #mojo
01:20 cheako joined #mojo
01:21 cheako I'm reading the weblogs so if I'm not on you can leave me a message anyway.
01:30 aborazmeh joined #mojo
01:41 Lee joined #mojo
01:50 cheako joined #mojo
01:53 cheako "%= t body begin" as in https://pastebin.com/th12hkcS crashes with syntax error at template index.html.ep from DATA section line 20, near "body sub "
01:53 cheako Can't redeclare "my" in "my" at template index.html.ep from DATA section line 22, near "{ "
01:54 cheako also I wonder if "%= javascript => ( async => undef ) => " will do what I think it should.
02:52 noganex joined #mojo
03:29 jberger no, because that quotes the word javascript
03:30 jberger you need it to be a function not a string
04:04 dboehmer_ joined #mojo
04:12 inokenty-w joined #mojo
06:30 dod joined #mojo
06:34 dod joined #mojo
06:37 Vandal joined #mojo
07:00 stryx` joined #mojo
07:04 AndrewIsh joined #mojo
07:17 trone joined #mojo
07:48 SwellJoe joined #mojo
07:48 sri cheako: no
07:48 sri to all of it
07:51 good_news_everyon joined #mojo
07:51 good_news_everyon [mojo] kraih tagged v7.31 at 280b9d9: https://git.io/v9kAZ
07:51 good_news_everyon left #mojo
07:51 good_news_everyon joined #mojo
07:51 good_news_everyon [mojo] kraih pushed 1 new commit to master: https://git.io/v9kAG
07:51 good_news_everyon mojo/master 3a22cdb Sebastian Riedel: bump version
07:51 good_news_everyon left #mojo
08:10 kiwiroy joined #mojo
08:22 dexteruk_ joined #mojo
08:26 karjala_ joined #mojo
08:26 osfabibisi joined #mojo
08:28 dexteruk joined #mojo
08:35 dod joined #mojo
08:36 rshadow joined #mojo
08:47 stryx` joined #mojo
09:01 rshadow joined #mojo
11:22 tchaves joined #mojo
11:28 dod joined #mojo
11:32 sri guess i should try Mojo::Server::Morbo::Backend::INotify
11:32 sri s/N/n/
11:32 sri now that it's on cpan
11:33 sri hmm, installation failed
11:34 sri marcus: https://gist.github.com/anonymous/711c262256f9f033086009b76e90ac04
11:34 sri weird one
11:39 nic sri,marcus: It works if you get rid of the 'no plan' option
11:40 nic does it depend on a particular version of Test::More?
11:47 marcus sri/nic: I'll release an updated version it.
11:47 marcus without it
11:49 marcus 0.04 on it's way to cpan.
11:52 dod joined #mojo
11:59 dod joined #mojo
12:19 aborazmeh joined #mojo
12:33 perlpilot joined #mojo
12:38 gizmomathboy joined #mojo
12:39 gryphon joined #mojo
12:47 kes joined #mojo
12:47 kes Hi. How to specify format when generate url_for( 'route_name' )?
12:48 kes I want to get /route/path/xxxx.json
12:48 kes by route name
13:13 Janos joined #mojo
13:24 vicash joined #mojo
13:28 Pyritic joined #mojo
13:32 cheako joined #mojo
13:37 cheako sri: I know there will be some ppl apposed to not using html syntax, but I'm apposed to having devs learn perl and html.
13:38 sri cheako: ?
13:39 odc i agree, assembly + ascii is enough!
13:44 dod joined #mojo
13:46 cheako sri: you said no to all of it, but didn't really say why.
13:47 cheako I got my example to work if I changed "t body begin" to "<body>" and "end" to "</body>"
13:50 sri glad you're learning, i'll just stay out of your way
14:07 jabberwok odc:  ... 00E0  was clearscreen on CHIP-8, who needs the luxury of an actually Assembler?
14:10 meredith joined #mojo
14:11 vicash joined #mojo
14:11 perlpilot joined #mojo
14:11 stryx` joined #mojo
14:11 trone joined #mojo
14:11 noganex joined #mojo
14:11 kaare joined #mojo
14:11 someguy joined #mojo
14:11 castaway joined #mojo
14:11 chandwki joined #mojo
14:11 genio joined #mojo
14:11 ashimema joined #mojo
14:11 new_student joined #mojo
14:11 sawtooth joined #mojo
14:11 jlaffaye joined #mojo
14:11 nicomen joined #mojo
14:11 esh joined #mojo
14:11 pink_mist joined #mojo
14:11 mbudde joined #mojo
14:11 ranguard joined #mojo
14:11 cstamas joined #mojo
14:11 tianon joined #mojo
14:11 iamb joined #mojo
14:11 matt_ joined #mojo
14:11 Jonis joined #mojo
14:11 haarg joined #mojo
14:11 nic joined #mojo
14:11 oalders joined #mojo
14:11 abracadaniel joined #mojo
14:21 bwf joined #mojo
14:47 cheako joined #mojo
14:47 zivester joined #mojo
15:00 mtths joined #mojo
15:06 PryMar56 joined #mojo
15:09 stryx` joined #mojo
15:10 kgoess joined #mojo
15:16 cheako I like https://www.tutorialspoint.com/execute_perl_online.php
15:24 perlpilot joined #mojo
15:33 tchaves joined #mojo
15:37 Pyritic joined #mojo
15:48 vicash joined #mojo
15:59 sh14 joined #mojo
16:02 cheako http://mojolicious.org/perldoc/Mojolicious/Plugin/TagHelpers#javascript   Should have an html5 async example: %= javascript '//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js', ( async => undef )
16:03 cheako <script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
16:07 dotan_convos joined #mojo
16:17 gryphon joined #mojo
16:22 cheako https://pastebin.com/FBCikpfM   Looks like a bug using begin recursively.
16:26 preaction cheako: no. line 5, your "c" isn't a string since you missed a =>
16:27 cheako ohh, thank you.
16:30 yysachinyy joined #mojo
16:32 irqq joined #mojo
16:34 yysachinyy Hi Everyone.
16:34 purl Hi Everyone. is this logically correct to perform render from within a plugin and just call $self->helpername inside controller's method?
16:34 marty joined #mojo
16:36 Grinnz purl: forget Hi Everyone.
16:36 purl Grinnz: I forgot hi everyone
16:38 yysachinyy I am fairly newbie in Mojolicious. But I am loving it. I am looking for some easy mojo project to contribute to start with. Any suggestion is much appricitated.
16:44 disputin joined #mojo
16:54 cheako joined #mojo
17:00 marcus yysachinyy: we're always looking for Convos contributors, fwiw :) http://convos.by/
17:02 SwellJoe joined #mojo
17:05 yysachinyy yes.. I was reading convos code and was feeling bit too much of concepts for me... By the way I am using convos in my localhost for this chat
17:05 yysachinyy it's awesome.
17:06 yysachinyy can you please point to me which area in Convos I can start with?
17:07 yysachinyy i had gone through your convos mojoconf videos in youtube as well :)
17:10 cheako joined #mojo
17:11 mcsnolte joined #mojo
17:19 yysachinyy @marcus joined #convos to taking the topic offline from #mojo
17:42 rshadow joined #mojo
17:43 cheako I've finally wrapped my head around https://github.com/kraih/mojo/blob/master/lib/Mojolicious/Plugin/TagHelpers.pm#L83 and come to the conclusion that only $values[-1] should be applied to radio(s), there shouldn't be an attempt to select more than one even if that was passed to us.  For checkboxs it seems to be common usage.
17:48 rshadow joined #mojo
17:50 miller joined #mojo
17:54 dod joined #mojo
18:01 disputin joined #mojo
18:04 disputin joined #mojo
18:17 stryx` joined #mojo
18:23 irqq joined #mojo
18:28 cheako joined #mojo
18:33 sri yea, convos needs more attention
18:33 sri so much potential
18:46 marcus joined #mojo
18:47 batman joined #mojo
18:55 kiwiroy joined #mojo
19:48 Janos joined #mojo
20:21 disputin joined #mojo
20:23 cheako joined #mojo
20:24 cheako Looking at https://github.com/kraih/mojo/blob/master/t/mojolicious/tag_helper_lite_app.t#L297 I think that should be name="a", foo just makes it match a previous text box.
20:28 cheako never mind, the checkbox extra functionality is tested elsewhere.
20:43 dikim joined #mojo
21:10 cheako I've written tests for the radio buttons, but am stuck getting them to pass.   Seems no mater what I change the results are the same, testing here https://goo.gl/nbiV5X
21:24 disputin joined #mojo
21:40 maschine joined #mojo
21:50 tchaves joined #mojo
21:55 perlpilot joined #mojo
21:56 cheako ohhhmy, I typoed my my.
21:58 jberger time to poll the channel, do I respond to that with (a) my my or (b) oh myyyyyyy </takei>
21:58 jberger personal vote is (b)
22:02 sri can't go wrong with oh myyyyyyy
22:07 jberger sri: how about a major release so we can use U+1F6A1 Aerial Tramway
22:10 sri i have a feeling there will be no major release this year ;p
22:12 jberger awwww
22:13 jberger waiting for something in the next unicode definition ... good idea
22:19 jberger cheako: did you know that you can force-push to your branch to repurpose a PR
22:19 jberger rather than closing and opening?
22:20 jberger then again, in the initial stages of a contribution, maybe just gist-ing a diff would be easier
22:30 Grinnz it may be a good idea in general to discuss/think about patches in your own branches before putting them up for PR
22:31 sri yea, you've closed like what, 3 now?
22:32 sri that's spam every watcher of the repo gets
22:32 sri http://mojolicious.org/perldoc/Mojolicious/Guides/Contributing
22:32 sri worth a look
22:39 cheako This is my first time doing anything for a big project, there is a lot I have to learn.
22:39 sri that's ok
22:40 sri we've all been there
22:58 cheako does ne1 have a hook script to run perltidy?
23:02 fitnerd joined #mojo
23:03 SwellJoe joined #mojo
23:13 jberger closest thing I have handy is https://github.com/jberger/dotfiles/blob/master/vimrc#L107
23:13 jberger actually ...
23:13 purl actually ... is there a way to customize trace output?
23:13 jberger purl forget actually ...
23:13 purl jberger: I forgot actually
23:14 jberger cheako: https://github.com/metacpan/metacpan-web/blob/master/git/hooks/pre-commit
23:16 jberger joined #mojo
23:19 zivester joined #mojo
23:23 cheako jberger: Me think that's dependent on having a module installed.
23:23 jberger it is, but you could dive in from there
23:23 jberger I just knew a project that used something, so I linked it
23:44 marty joined #mojo

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