Camelia, the Perl 6 bug

IRC log for #mojo, 2013-10-04

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

All times shown according to UTC.

Time Nick Message
00:00 zivester joined #mojo
00:42 shmuel joined #mojo
00:45 dqw7 joined #mojo
00:56 asarch joined #mojo
01:16 zivester joined #mojo
01:27 hesperaux joined #mojo
01:47 zivester joined #mojo
02:01 d4rkie joined #mojo
02:13 zivester joined #mojo
02:18 moltar joined #mojo
02:21 thomason joined #mojo
02:31 zivester joined #mojo
02:51 laouji joined #mojo
02:54 d4rkie joined #mojo
03:13 zivester joined #mojo
03:22 dvinciguerra joined #mojo
03:24 zivester joined #mojo
03:32 zivester_ joined #mojo
03:34 laouji_ joined #mojo
03:35 laouji__ joined #mojo
03:46 zivester_ joined #mojo
04:00 preflex_ joined #mojo
04:03 btyler joined #mojo
04:08 zivester_ joined #mojo
04:37 dqw7 joined #mojo
04:55 jwang joined #mojo
05:19 basic6_ joined #mojo
06:09 Vandal joined #mojo
06:11 highflying joined #mojo
06:22 dpetrov_ joined #mojo
06:29 denisboyun joined #mojo
06:33 denis_boyun_ joined #mojo
06:42 dod joined #mojo
06:45 basiliscos joined #mojo
06:47 mire_ joined #mojo
06:48 denisboyun joined #mojo
07:05 dod joined #mojo
07:06 sri kinda funny how everyone was worried about error messages for validation and now it's no big deal there are none :)
07:33 sri but if the current version works out, it will be rather easy to stabilize the api
07:49 fhelmber_ joined #mojo
08:08 sri batman: i think Mandel needs type information, if not for validation at least to typecast from string to int
08:12 marcus sri: the way you made the api, it seems it's very easy to implement the messages in the templates, which is actually even better - gives the frontenders more control.
08:13 marcus sri: we'll likely implement mojo validation in wirc soon.
08:13 * marcus is in Finland for the weekend.
08:13 sri \o/
08:14 marcus sri: did you try doing ajax validation with the api yet btw? Could be a nice recipe maybe.
08:15 sri nothing special about ajax really, but might be a sensible example for a validation check plugin recipe
08:16 maxhq joined #mojo
08:17 sri my main worry atm is that for some reason the validation class might still need access to the controller
08:17 sri only thing that could really kill the api
08:18 batman sri: how would you add type information? field name => (isa=>Str); ?
08:19 sri batman: something like that
08:19 sri i only care about str and int atm... for type casting
08:20 sri since Mango needs a value to be assigned as int to detect the type
08:20 sri or rather Mango::BSON... just like Mojo::JSON
08:20 batman ok. what is the cool type library these days? Type::Tiny?
08:25 sri i guess
08:26 batman so how would the code look? if($type eq Int) { $value = encode_int32 $value; } ?
08:31 themage joined #mojo
08:41 dqw7 joined #mojo
09:00 sri batman: nope, $value = 0+$value
09:00 sri if Int is a looks_like_number kind of check
09:01 batman ah! right.
09:03 sri which reminds me that i still got no idea what kind of number checks the core validator needs
09:03 crab looks_like_dinosaur
09:03 sri looks_like_crab
09:04 nic looks_like_my_ex-girlfriends_phone_number
09:04 sri looks_silly
09:05 nic looks_like_a_word_upside_dow​n_on_an_Eighties_calculator
09:05 crab what have i done
09:05 sri that one i can +1
09:08 jpn joined #mojo
10:08 dotandimet joined #mojo
10:16 mire__ joined #mojo
10:28 TitanOfOld joined #mojo
10:30 denisboyun joined #mojo
10:31 basiliscos joined #mojo
10:34 denisboyun joined #mojo
10:37 kwa sri: Whatever works. A method like ->looks_hot_from_behind() can be easily replaced with a method such as ->back_beauty().
10:55 * sri wonders if ->regex should be renamed to ->like :)
10:58 sri i suppose that's better since it leaves room for ->unlike
10:58 moritz you don't like unregex? :-)
10:58 * nic likes like
10:59 sri moritz: now that you mention it...
11:02 good_news_everyone joined #mojo
11:02 good_news_everyone [mojo] kraih pushed 1 new commit to master: http://git.io/uY7xpw
11:02 good_news_everyone mojo/master e1bbfd5 Sebastian Riedel: renamed regex check in Mojolicious::Validator to like
11:02 good_news_everyone left #mojo
11:06 kwa I prefer ->regex or ->re :/ ->like to me is SQL '%like%'.
11:06 good_news_everyone joined #mojo
11:06 good_news_everyone [mojo] kraih pushed 1 new commit to master: http://git.io/Hgl_4Q
11:06 good_news_everyone mojo/master ac0112b Sebastian Riedel: more diversity for validation tests
11:06 good_news_everyone left #mojo
11:07 sri kwa: to me it's Test::More-ish
11:07 sri or rather Test::Mojo-ish
11:07 kwa Fair enough :)
11:07 kwa Ah yeah, content_like.
11:07 kwa More consistent then. +1
11:09 * diegok likes like & unlike :-)
11:25 nicomen dislike ;)
11:26 nicomen or ->hate
11:38 crab nicomen: haha (re: dislike)
11:43 dotandimet joined #mojo
11:57 sixBB joined #mojo
12:30 mire__ joined #mojo
12:50 asarch joined #mojo
12:51 marty joined #mojo
12:52 dotandimet joined #mojo
12:54 dotandimet joined #mojo
13:16 hrupp joined #mojo
13:17 denisboyun joined #mojo
13:37 moltar joined #mojo
13:47 btyler joined #mojo
13:52 dod1 joined #mojo
13:52 tianon haters gonna hate
13:53 tianon $v->hate if $v->optional('hater');
13:54 moritz $v->hate if $v->can('hate');
14:02 rem_lex|pivo joined #mojo
14:04 crab $v->can('hate')->(); # everyone's a hater
14:06 sri actually you can't, it uses AUTOLOAD
14:06 Dandre hello,
14:06 crab can't hate? :-(
14:08 tianon heh, nobody is a hater!  \o/
14:09 tianon ALL GLORY TO THE HYPNOTOAD
14:09 Dandre I am reading Mojo::EventEmitter doc and I'd like to include this functionnality in my Application. To register a listener, must I install it with the register function of my Plugin or is there some other way?
14:10 SmokeMachine joined #mojo
14:10 perlite joined #mojo
14:13 bluescreen joined #mojo
14:20 Dandre oups sorry, I am not sure whether this class is useful for me
14:22 dod joined #mojo
14:22 Dandre in fact I have 2 plugins A and B . I want my plugin A to be notified when some action is done in my plugin B (ie if A deletes an object, B must remove all references on that object)
14:30 perlite joined #mojo
14:35 perlite joined #mojo
14:35 moltar joined #mojo
14:36 moltar left #mojo
14:41 gryphon joined #mojo
14:45 dotandimet joined #mojo
14:48 fhelmber_ joined #mojo
14:50 ryozi joined #mojo
14:52 hummeleBop joined #mojo
15:01 sh4 joined #mojo
15:03 sh4 joined #mojo
15:13 dod joined #mojo
15:41 dotandimet joined #mojo
16:12 Liam`` joined #mojo
16:14 basiliscos joined #mojo
16:17 yakudza joined #mojo
16:20 abhishekisnot joined #mojo
16:22 trone joined #mojo
16:23 mire__ joined #mojo
16:24 dod joined #mojo
18:16 dvinciguerra joined #mojo
18:18 d4rkie joined #mojo
18:33 d4rkie joined #mojo
18:55 bluescreen joined #mojo
19:15 good_news_everyone joined #mojo
19:15 good_news_everyone [mojo] kraih tagged v4.44 at 1960f82: http://git.io/kDQZQQ
19:15 good_news_everyone left #mojo
19:43 asarch joined #mojo
20:11 mire__ joined #mojo
21:13 dotandimet joined #mojo
21:26 denisboyun joined #mojo
21:31 jberger_ joined #mojo
21:32 jberger_ Just wanted to pop by and say that work just keeps getting busier and busier, but I am keeping up via the log
21:33 jberger_ sri++ for validation improvements
21:42 perlite joined #mojo
22:06 Gedge joined #mojo
22:09 asarch joined #mojo
22:18 tempire jberger_: welcome to the club
22:24 jberger_ Unngh
23:17 dvinciguerra joined #mojo

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