Camelia, the Perl 6 bug

IRC log for #mojo, 2013-03-08

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

All times shown according to UTC.

Time Nick Message
00:09 egopro joined #mojo
00:11 Averna joined #mojo
00:20 egopro joined #mojo
00:21 MeierM joined #mojo
00:34 shmuel joined #mojo
00:45 mattastrophe joined #mojo
00:52 Akron joined #mojo
01:10 jamesw joined #mojo
01:16 hlin joined #mojo
01:21 ka2u joined #mojo
01:56 d4rkie joined #mojo
02:11 good_news_everyone joined #mojo
02:11 good_news_everyone [mojo] kraih pushed 1 new commit to master: http://git.io/4d_Mmg
02:11 good_news_everyone mojo/master 4c97438 Sebastian Riedel: documentation tweaks
02:11 good_news_everyone left #mojo
02:23 egopro joined #mojo
03:19 GabrielVieira joined #mojo
03:47 nour joined #mojo
04:12 nour joined #mojo
04:31 mattp joined #mojo
04:54 preflex_ joined #mojo
05:18 davido joined #mojo
05:20 ka2u joined #mojo
05:31 nour joined #mojo
05:51 sh4 joined #mojo
05:57 arpadszasz joined #mojo
06:01 davido joined #mojo
06:18 Vandal joined #mojo
06:50 inokenty joined #mojo
06:53 basiliscos joined #mojo
07:00 baton8 joined #mojo
07:00 hrupp joined #mojo
07:02 nour joined #mojo
07:05 Mike-PerlRecruiter_ joined #mojo
07:07 nour_ joined #mojo
07:16 dpetrov_ joined #mojo
07:21 wk joined #mojo
07:23 jzawodn joined #mojo
07:26 fhelmber_ joined #mojo
07:46 KindOne joined #mojo
07:54 mattastrophe joined #mojo
08:18 suy joined #mojo
08:24 ashishm joined #mojo
08:37 daxim joined #mojo
08:39 lukep joined #mojo
09:07 ka2u joined #mojo
09:12 hrupp joined #mojo
09:15 jpn joined #mojo
09:21 Vandal joined #mojo
09:42 lukep joined #mojo
09:46 phips_ left #mojo
09:47 judofyr joined #mojo
09:56 nelio joined #mojo
09:57 miket joined #mojo
09:58 jpn joined #mojo
10:02 dvinciguerra joined #mojo
10:05 miket hi folks, I'm looking at form validation options, e.g. https://github.com/kraih/m​ojo/wiki/Validator-Custom
10:06 judofyr miket: we've been using Input::Validator which works decently enough
10:06 KindTwo joined #mojo
10:09 miket judofyr: ah yes - Mojolicious::Plugin::Validator ?
10:09 judofyr miket: https://metacpan.org/module/Input::Validator doesn't really have anything to do with Mojo :)
10:13 miket Is there a trick to get the form repopulated with the post data if validation fails?
10:13 judofyr miket: <input value="[% h.param('foo') | html %]">
10:13 judofyr miket: or, that would be <input value="<%= param('foo') %>"> if you're using Epl
10:16 miket judofyr: thanks yes, that's the kind of thing - bit more complex if editing a record from db, but I guess that's just some extra logic
10:18 judofyr miket: yeah, Mojo doesn't give you anything for free here (because it needs to be integrated with the ORM)
10:21 jpn joined #mojo
10:21 miket judofyr: ok thanks, I'm coming from CGI::Application::Plugin::ValidateRM where it does the form filling automatically
10:21 judofyr miket: there might be a plugin that does it for you; not sure
10:23 miket jodofyr: yes I was wondering that - grab html after rendering, and populate the form values...  might be nice
10:32 jpn joined #mojo
10:44 sh4|2 joined #mojo
10:58 rhaen joined #mojo
10:58 mire joined #mojo
11:01 mugenken joined #mojo
11:02 rhaen hep
11:03 judofyr hep hep
11:06 tagg joined #mojo
11:41 egopro joined #mojo
12:06 yakudza joined #mojo
13:08 mire joined #mojo
13:10 jberger you might generate the form in a template rendered partial, them put it into a DOM object and walk that to fill it from the db
13:14 heytrav joined #mojo
13:31 asarch joined #mojo
13:39 bpmedley miket: What you want is the stash to be populated from the params?
13:41 miket bpmedley: yes that kinda thing - what I'm used to is CGI::Application::Plugin::ValidateRM which I think uses HTML::FillInForm in the background, repopulates the HTML value="xxx" bits on the fly
13:42 bpmedley miket: So, you want the template to be auto-populated, as well?
13:43 miket but... actually I'm wondering if jquery is a better way, just ajax post the form and return any validation errors as json, and never need to resend the form
13:44 bpmedley miket: Have you seen this?  http://www.malsup.com/jquery/form/
13:48 miket cool, that looks like the stuff - thanks!
13:58 egopro joined #mojo
14:03 sri does anyone understand this issue? https://github.com/kraih/mojo/issues/465
14:04 * suy doesn't
14:08 sri ok, closing
14:12 gryphon joined #mojo
14:16 daxim why don't you ask for clarification first?  schmorp-style antagonising is the new netiquette, or what?
14:17 sri daxim: that's offensive, please be nice around here
14:17 daxim make me.
14:18 suy daxim: is not a big deal, isn't it? If he clarifies, the issue can be reopened.
14:20 sri if you insist
14:20 daxim was kicked by sri: be nice or don't be here
14:24 sri of course i will reopen the issue if he clarifies it
14:25 avkhozov joined #mojo
14:29 arthas joined #mojo
14:34 marty That issue report was a mess, even if you allow for a language barrier.  I've always viewed a closed ticket as "you need to supply clear information to convince me to look into it" and I see nothing wrong with that.
14:38 mugenken_ joined #mojo
14:41 btyler joined #mojo
14:42 suy Some people might expect a comment saying "more info is needed" first, because they might understand "closed" as something aggressive. But I perfectly understand closing it beforehand, since otherwise the issue can remain open for a long time, which is annoying.
14:43 GabrielVieira joined #mojo
14:44 mattastrophe joined #mojo
14:52 GabrielVieira2 joined #mojo
14:55 arpadszasz joined #mojo
15:13 arpadszasz joined #mojo
15:34 bluescreen joined #mojo
15:40 kongelaks sri: regarding the Mojo::Path issue... it looks to me like bokutin does not like the fact that Mojo::Path->leading_slash has side effects that cause Mojo::URL's to_string to not be consistent with Mojo::URL->path's to_string
15:41 sri kongelaks: you're welcome to comment on the issue
15:41 kongelaks don't care enough to
15:42 sri no point speculating here
15:42 kongelaks i can see what his code is demonstrating
15:43 sri as long as he doesn't say what he meant, you're just speculating
15:44 kongelaks true, but the small example seems hard to misconstrue
15:44 sri you seem to be the only one who gets it then, please be constructive and answer him
15:46 sri and this people is why i usually just ignore incomprehensible questions
15:46 kongelaks heh
15:53 basiliscos joined #mojo
15:58 GabrielVieira joined #mojo
16:12 rihegher joined #mojo
16:15 sri kongelaks: hope you realize that the next time you ask a question there will prolly be a few people who "don't care enough" anymore to answer you
16:15 kongelaks sri: i'm writing my comment right now, bro
16:15 kongelaks done
16:24 sh4|2 joined #mojo
16:26 btyler joined #mojo
16:38 marty kongelaks++
16:41 marty When I read the issue the first time I had no idea what bokutin was talking about.  But now I kind of get it.   Not sure what (if any) ramifications there are.
16:52 mattastrophe joined #mojo
16:53 good_news_everyone joined #mojo
16:53 good_news_everyone [mojo] kraih pushed 1 new commit to master: http://git.io/oF67Jg
16:53 good_news_everyone mojo/master 1fa3ebf Sebastian Riedel: mention which methods normalize the path
16:53 good_news_everyone left #mojo
16:54 sri marty: you mean that's all he wanted?
16:58 marty sri:  I'm not sure since he never actually specified what he was looking for exactly.  But I think documenting the behavior cannot hurt.
17:02 good_news_everyone joined #mojo
17:02 good_news_everyone [mojo] kraih pushed 1 new commit to master: http://git.io/NeSyTA
17:02 good_news_everyone mojo/master dcfc6fe Sebastian Riedel: documentation tweaks
17:02 good_news_everyone left #mojo
17:09 avkhozov joined #mojo
17:12 wk joined #mojo
17:16 mattastrophe joined #mojo
17:23 xaka joined #mojo
17:38 asarch joined #mojo
17:38 d4rkie joined #mojo
17:42 mattastrophe joined #mojo
17:54 labrown joined #mojo
17:57 rihegher left #mojo
18:12 sh4|2 joined #mojo
18:30 good_news_everyone joined #mojo
18:30 good_news_everyone [mojo] kraih pushed 1 new commit to master: http://git.io/Ypq_RQ
18:30 good_news_everyone mojo/master 478ec43 Sebastian Riedel: mention which methods in Mojo::Parameters normalize
18:30 good_news_everyone left #mojo
18:55 berov joined #mojo
18:58 tempire btw
18:58 tempire I love the idea of a tiny queue based on mango
19:00 GabrielVieira joined #mojo
19:05 Mike-PerlRecruiter_ joined #mojo
19:25 dpetrov_ joined #mojo
19:33 dvinciguerra joined #mojo
19:34 btyler gs
19:45 BeDa joined #mojo
19:49 mire joined #mojo
20:04 btyler joined #mojo
20:26 suy joined #mojo
20:47 basic6 joined #mojo
20:48 mattastrophe joined #mojo
21:16 xaka joined #mojo
21:31 basiliscos joined #mojo
21:46 btyler joined #mojo
21:47 marcus hmpf
21:54 HtbaaPi_ joined #mojo
21:59 basiliscos joined #mojo
22:02 KindOne joined #mojo
22:17 tempire harumph
22:33 bluescreen_ joined #mojo
22:38 mattastrophe joined #mojo
22:39 moltar joined #mojo
22:56 berov left #mojo
22:57 Meiermann joined #mojo
23:02 sri argh
23:09 ka2u joined #mojo
23:18 rem_lex|pivo joined #mojo

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