Camelia, the Perl 6 bug

IRC log for #mojo, 2010-06-26

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

All times shown according to UTC.

Time Nick Message
00:39 Alias_ joined #mojo
02:30 tempire Excellent, basicauth test is quite useful.
03:01 su-bzero joined #mojo
03:25 janus joined #mojo
04:03 tl joined #mojo
04:11 * tempire is giving up on an auto-dump to xml and going with templates instead.
04:31 * tempire is trying again to automate xml dumping
04:44 zakame sri: how do I get MojoX::Renderer to not do encoding on my custom renderer?
04:45 zakame sri: my writeExcel's output gets encoded->to_string because its not a 'data' handler
04:46 zakame sri: I've worked around by overriding the default 'data' handler with WriteExcel and setting  1 on the stash
04:49 zakame /away/away zzzz
05:08 koban left #mojo
05:22 zakame sri: ah, I just need to set $self->encoding('') in my renderer, is that right?
05:57 GitHub120 joined #mojo
05:57 GitHub120 mojo: master Sebastian Riedel * 2bba1f0 (1 files in 1 dirs): cleanup - http://bit.ly/aMBMGV
05:57 GitHub120 left #mojo
05:59 GitHub148 joined #mojo
05:59 GitHub148 mojo: master Sebastian Riedel * d331e93 (1 files in 1 dirs): cleanup - http://bit.ly/b7PzuW
05:59 GitHub148 left #mojo
05:59 sri tempire: auto xml dumping sucks, don't think it can be done right
06:00 sri zakame: update to github and delete $options->{encoding} in your handler
06:01 ashleydev joined #mojo
06:23 pid joined #mojo
06:41 ask_ joined #mojo
06:48 Su-Shee joined #mojo
06:55 yko joined #mojo
07:25 diegok_ joined #mojo
07:43 chansen joined #mojo
08:07 zakame sri: thanks!  Though in my case, I do $self->encoding('') instead of deleting from the $options hash
08:07 zakame in the handler
08:09 sri zakame: which only works if all your other templates are ascii
08:10 zakame I tried deleting but the renderer still encodes to string
08:12 sri zakame: did you update to latest github version?
08:13 zakame yep
08:14 mvuets joined #mojo
08:14 sri zakame: are you sure? i don't see how it could still work
08:15 zakame yeah I am, just git pulled and reinstalled mojo to be sure
08:17 zakame it appears that deleting in my handler just deletes a copy, MojoX::Renderer still sees the original $options with encoding in it
08:18 zakame or maybe I'm just doing something wrong?
08:18 mvuets left #mojo
08:34 GitHub70 joined #mojo
08:34 GitHub70 mojo: master Sebastian Riedel * 6808ef9 (1 files in 1 dirs): added more renderer tests - http://bit.ly/979zvt
08:35 GitHub70 left #mojo
08:35 sri zakame: works flawless
08:35 chansen joined #mojo
08:40 chansen_ joined #mojo
08:44 zakame sri: yep, just pulled... I did something wrong :)
08:44 sri thats why i asked if you are sure -.-
08:48 zakame I'm not reall sure though, but I appreciate the tests :3
09:07 garfield_ joined #mojo
09:12 garfield joined #mojo
09:25 garfield_ joined #mojo
09:32 garfield joined #mojo
09:34 sri wonder why i don't get more feedback for the documentation
09:34 sri is it so awful that people don't bother? or is it already perfect?
09:35 sri people always ask me to commit early drafts but then i get no feedback :(
09:36 yko :)
09:36 yko they just get what they need and dive inti hacking, forgetting to tell you anything like even 'thx, sri!' :)
09:37 yko I do in that way usually :D
09:37 sri if thats the case then i'm happy :)
09:37 * yko lies.
09:37 sri :(
09:37 yko Nobody just read that :p~~~
09:39 zakame that rendering.pod is timely though, thanks sri !
09:39 yko Btw, im reading your guides when i have time. Hope it makes you little more happy.
09:40 yko but i used to just read sourcecode from those time we had no docs, so now it's too hard to read docs for me :(
09:45 yko From other side, neophytes of our growing sect don't know how it does, when there's no docs, so they can not appreciate your job properly...
09:49 yko Is there any chance, that route regexp in routes can start from anthing except '(?-xism:^' ?
09:53 zakame would that cause the great xism of this sect?
09:56 sri no chance
10:05 garfield_ joined #mojo
10:07 yko mb we can have something like that http://bit.ly/dqQijy in Command/Routes.pm ?
10:10 yko That will remove (?-xism:^...)  from regexp and made it more human readable i think. But i can be wrong :)
10:11 arthas joined #mojo
10:11 sri i want to show whats really going on
10:11 sri feel free to make your own command and release it to cpan ;)
10:12 yko Thanks :)
10:12 yko actually you are right, i think. There should be realistic output by default and possibility to see -h output :)
10:16 yko hmm. didn't know about <%= ... =%>, thanks to guides :)
10:19 Su-Shee left #mojo
10:20 garfield joined #mojo
10:20 sri :)
10:21 yko and reusable template blocks also looks attractive
10:24 yko As i understand, once defined content block would not be overriden by 'content "foo" => "bar"' , is it correct?
10:25 sri yes
10:25 sri that way the first one defined wins, which makes inheritance work
10:25 yko thanks
10:28 sri i wonder if content_for would look better than content
10:29 yko no, it wouldn't
10:29 yko :)
10:29 garfield_ joined #mojo
10:30 GitHub173 joined #mojo
10:30 GitHub173 mojo: master Sebastian Riedel * 9779a0a (2 files in 2 dirs): fixed typo - http://bit.ly/aUGEGN
10:30 GitHub173 left #mojo
10:31 yko :)
10:34 chansen_ joined #mojo
10:36 garfield joined #mojo
10:37 chansen__ joined #mojo
10:52 chansen_ joined #mojo
11:01 GitHub118 joined #mojo
11:01 GitHub118 mojo: master Sebastian Riedel * c5b1c19 (1 files in 1 dirs): guide cleanup - http://bit.ly/aIUaME
11:01 GitHub118 left #mojo
11:01 sri maybe that example is going a bit too far, we'll see
11:03 sri but i guess every user should have at least an idea of whats going on inside their templates
11:03 chansen__ joined #mojo
12:05 Alias_ joined #mojo
12:20 sri damn, the more closely i watch perl6 the more i lose faith :(
12:28 yko sri++
12:28 yko # :(
13:12 GitHub196 joined #mojo
13:12 GitHub196 mojo: master Sebastian Riedel * 875af8a (4 files in 3 dirs): fixed Mojo::IOLoop to not stop unexpectedly - http://bit.ly/9JdY9Z
13:12 GitHub196 left #mojo
13:22 garfield_ joined #mojo
13:26 GitHub33 joined #mojo
13:26 GitHub33 mojo: master Sebastian Riedel * b2eab87 (1 files in 1 dirs): fixed graceful shutdown - http://bit.ly/9WY9Bn
13:26 GitHub33 left #mojo
13:28 spleenjack joined #mojo
13:30 garfield joined #mojo
13:35 garfield_ joined #mojo
13:39 sri zakame: you should include a plugin too ;p
13:42 garfield joined #mojo
14:00 GitHub101 joined #mojo
14:00 GitHub101 mojo: master Sebastian Riedel * 1f3c7ce (1 files in 1 dirs): pod cleanup - http://bit.ly/b5SfzZ
14:00 GitHub101 left #mojo
14:01 garfield_ joined #mojo
14:18 yko sri++ # <%= %> in json_config
14:18 sri :)
14:19 yko sri-- # no chance normal usage of json_config outside Mojolicious :(
14:19 yko hehehe
14:19 sri feel free to make your own version ;p
14:20 yko somewhere in just a command line util:
14:20 yko my $app = App->new; my $cfg = $app->plugin(json_config);
14:20 yko s/json_config/'json_config'/
14:21 garfield joined #mojo
14:28 sri haha
14:30 stephan48 yeah with a mojo app this is still nice but concider a full cat app ;)
14:31 yko I didnt find way how to run json_config without app It uses too much Mojolicious power :)
14:32 stephan48 ;)
14:34 garfield_ joined #mojo
14:36 yko $app->defaults! That what i need, but did not found before
14:36 yko like $app->defaults(layout => 'main');
14:41 garfield joined #mojo
14:44 sri it's new
14:44 sri discovered i need it for the guide :)
15:04 GitHub77 joined #mojo
15:04 GitHub77 mojo: master afresh1 * a156384 (1 files in 1 dirs): use a better "open" so we get the PID we want, not the pid of the shell that is running the daemon.
15:04 GitHub77 mojo: master Sebastian Riedel * e5258b9 (4 files in 3 dirs): cleanup
15:04 GitHub77 mojo: master commits 1f3c7ce...e5258b9 - http://bit.ly/dABTnq
15:04 GitHub77 left #mojo
15:08 garfield_ joined #mojo
15:13 garfield joined #mojo
15:18 garfield joined #mojo
15:44 garfield_ joined #mojo
15:50 garfield joined #mojo
16:08 su-bzero joined #mojo
16:14 esskar_ joined #mojo
16:28 garfield_ joined #mojo
16:51 GitHub174 joined #mojo
16:51 GitHub174 mojo: master Sebastian Riedel * 449f785 (1 files in 1 dirs): cleanup - http://bit.ly/dhPxqh
16:51 GitHub174 left #mojo
17:03 GitHub179 joined #mojo
17:03 GitHub179 mojo: master Sebastian Riedel * 069b0d8 (1 files in 1 dirs): cleanup - http://bit.ly/bwcVNd
17:03 GitHub179 left #mojo
17:15 tempire I've got xml::simple dumping the way I want now.  I'm keeping my fingers crossed, so that I don't have to write view tests for every template
17:16 tempire Although I suppose I'll have to do that eventually anyway
17:17 * tempire is in denial for the sake of simplicity
17:19 tempire routing and rendering guides look fine to me
17:19 tempire easy to read through
17:20 tempire easy to find and pick out what you need and not be bothered by the other stuff
17:20 * tempire applauds
17:20 tempire Although I think I'm a mojolicious fanboy now.
17:21 tempire So my opinion means very little ;)
17:21 sri \o/
17:24 GitHub54 joined #mojo
17:24 GitHub54 mojo: master Sebastian Riedel * ef6efc1 (2 files in 2 dirs): made websocket test more solid
17:24 GitHub54 mojo: master Sebastian Riedel * a71aa34 (1 files in 1 dirs): made websocket test even more solid
17:24 GitHub54 mojo: master commits 069b0d8...a71aa34 - http://bit.ly/9PwVZr
17:24 GitHub54 left #mojo
17:25 sri to me it does :)
17:25 sri wait...that was not the appropriate answer was it? Oo
17:25 zakame sri: oh I will, and tests too (re: plugin)
17:26 zakame .me is sleepy
17:26 * sri cracks the whip
17:30 abqar joined #mojo
17:39 sri the next guide will be really good :)
17:40 sri going through the whole development cycle
17:50 ask joined #mojo
17:56 ask joined #mojo
18:30 yko requesting cookies in guides :)
18:31 GitHub91 joined #mojo
18:31 GitHub91 mojo: master Sebastian Riedel * 3c6e4e8 (9 files in 6 dirs): added finished callback support for HTTP transactions - http://bit.ly/deTDF3
18:31 GitHub91 left #mojo
18:32 sri requesting cookies and milk
18:33 yko hmm
18:33 * yko looking arround for whip
18:33 yko where's that vti when i need him :)
18:33 sri :o
18:34 yko That holidays makes me little crazy, sorry %)
18:34 sri btw. the finished callback can now be used to delay cleanup stuff until after the response has been sent to the user
18:35 yko Hmmm. that sounds really nice
18:36 yko Thank you for advice
18:36 yko But, any chance, that callback wont be called?
18:37 sri it depends on the server binding, with the built in ones i would expect 100% reliability
18:48 GitHub102 joined #mojo
18:48 GitHub102 mojo: master Sebastian Riedel * e8569e1 (2 files in 2 dirs): added test - http://bit.ly/9KPRpt
18:48 GitHub102 left #mojo
19:12 GitHub102 joined #mojo
19:12 GitHub102 mojo: master Sebastian Riedel * e190cea (1 files in 1 dirs): fixed typo - http://bit.ly/aFKP5j
19:12 GitHub102 left #mojo
19:28 esskar__ joined #mojo
20:13 diegok joined #mojo
20:47 esskar__ joined #mojo
20:52 marcus moo
20:53 yko sri, you asked milk?  :)
20:54 sri :)
21:43 bedivere joined #mojo
22:59 ashleydev joined #mojo

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