Camelia, the Perl 6 bug

IRC log for #mojo, 2011-10-23

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

All times shown according to UTC.

Time Nick Message
00:00 metaperl joined #mojo
00:01 mattastrophe joined #mojo
00:32 GitHub162 joined #mojo
00:32 GitHub162 [mojo] kraih pushed 1 new commit to master: http://git.io/gogDQA
00:32 GitHub162 [mojo/master] fixed a few boolean tests - Sebastian Riedel
00:32 GitHub162 left #mojo
00:40 perlrocks Twitter: "Mojolicious 2:07 by SRI - http://t.co/UgSSslKp" (ms) --cpan_new http://twitter.com/cpan_new​/status/127907092903375004
01:26 GitHub119 joined #mojo
01:26 GitHub119 [mojo] kraih pushed 1 new commit to master: http://git.io/vKVIxg
01:26 GitHub119 [mojo/master] fixed a few more small test bugs - Sebastian Riedel
01:26 GitHub119 left #mojo
01:29 sri phew, hope i'm done now
01:31 perlrocks Twitter: "Mojolicious 2:08 by SRI - http://t.co/XcWu9Uwm" (ms) --cpan_new http://twitter.com/cpan_new​/status/127920063578771457
01:50 GitHub73 joined #mojo
01:50 GitHub73 [mojo] kraih pushed 1 new commit to master: http://git.io/zRJRfA
01:50 GitHub73 [mojo/master] fixed small environment cleanup bug in Mojo::IOLoop::Server - Sebastian Riedel
01:50 GitHub73 left #mojo
02:11 GitHub14 joined #mojo
02:11 GitHub14 [mojo] kraih pushed 1 new commit to master: http://git.io/XG5zhw
02:11 GitHub14 [mojo/master] test environment cleanup - Sebastian Riedel
02:11 GitHub14 left #mojo
02:14 perlrocks joined #mojo
02:27 GitHub9 joined #mojo
02:27 GitHub9 [mojo] kraih pushed 1 new commit to master: http://git.io/gmeS6Q
02:27 GitHub9 [mojo/master] made ioloop.t a little more resilient - Sebastian Riedel
02:27 GitHub9 left #mojo
03:01 GitHub5 joined #mojo
03:01 GitHub5 [mojo] kraih pushed 1 new commit to master: http://git.io/a4RX2Q
03:01 GitHub5 [mojo/master] added a few Mojo::Path examples - Sebastian Riedel
03:01 GitHub5 left #mojo
03:10 noganex joined #mojo
03:11 mattastrophe joined #mojo
04:51 perlrocks Twitter: "Blog written by # mojolicious # perl / "to detect broken links within the site once the" mojo-checkbot "β version is now - jamadam weblog2" http://t.co/f1zFozm7" (ja) --jamadam http://twitter.com/jamadam​/status/127970372548182016
06:15 kaare joined #mojo
06:51 Vandal joined #mojo
07:40 batman joined #mojo
08:02 preflex_ joined #mojo
08:04 abra joined #mojo
08:43 memowe joined #mojo
09:19 sugar joined #mojo
09:26 mattastrophe joined #mojo
10:22 tempire every time I try to think of a simple way to explain flash, I end up having to explain a lot of intermediate steps
10:22 tempire which leads me to wonder whether flash is even worth mentioning.
10:23 tempire the concept itself doesn't account for flaky connections
10:24 tempire seems better to stick with session data if something really needs to be displayed to the user.
10:24 tempire and if it doesn't *need* to be displayed, then why bother?
10:24 tempire all that to say, I think I'm going to leave explanation of flash out of the mojocasts
10:38 batman left #mojo
11:13 sri tempire: sounds sensible
11:20 sri in fact, i've also removed flash from the lite tutorial
11:31 perlrocks Twitter: "Don't worry about the #mojolicious mini-releases i've been uploading, it's just small test improvements. ;) http://t.co/6cdVZ8yM #perl" --kraih http://twitter.com/kraih/status/128071011097772033
11:58 MojoGuest96 joined #mojo
12:30 mire_ joined #mojo
12:54 perlrocks Twitter: "Encode problem of Mojolicious, you feel something confusing." (ja) --shiba_yu36 http://twitter.com/shiba_yu3​6/status/128091907598458880
12:57 marcus We use flash for message passing, it mostly works well
12:58 marcus nice, https://github.com/jamadam/mojo-checkbot
12:58 marcus at least I think it's nice… (ja)
13:06 mire joined #mojo
13:13 sri the custom command is not so nice
13:13 sri should have subclassed Mojolicious::Commands and used his own command namespace
13:57 gabriel joined #mojo
14:01 batman joined #mojo
14:17 perlrocks Twitter: "Mojolicious-Plugin-CSRFProtect 0.04 by KOORCHIK - http://t.co/5r7MJNhP" --cpan_new http://twitter.com/cpan_new​/status/128112863305928705
14:29 gabiruh joined #mojo
15:02 MojoGuest67 joined #mojo
15:02 MojoGuest67 From: http://www.google.ru/url?sa=t&rct=j&​q=extjs%20websockets&source=web&cd=5​&ved=0CEkQFjAE&url=http%3A%2F%2Fdev.​xantus.org%2F&ei=cyykTqmmEIiC4gScgt3pBA&​amp;usg=AFQjCNGw6nZv0wO42uzUnHhWcD0vcKNULg&a​mp;sig2=MLlRc6K8T1rmu0GHyzGC4A&cad=rja (1 hits)
15:29 Hondo joined #mojo
15:39 sugar joined #mojo
15:41 mspo joined #mojo
15:42 mspo how do I get a url_for that's fully qualified?
15:58 mspo <%= (url_for "foo")->to_abs
16:01 andrefs joined #mojo
16:08 sherr joined #mojo
16:10 mattastrophe joined #mojo
16:11 perlrocks Twitter: "Mojolicious 2.0, an interesting web framework for Perl via @ genbetadev http://t.co/biqslskA" (es) --Ortiz152 http://twitter.com/Ortiz152​/status/128141549317013504
16:14 perlrocks Twitter: "And now I'm reading up on Mojolicious. Perl is cool again? It's very Sinatra like. http://t.co/ULTzYexY" --kilo_keith http://twitter.com/kilo_keit​h/status/128142210507083777
16:32 tempire marcus: can you specify what you mean by message passing (with flash)
17:21 kaare joined #mojo
17:46 Hondo $self->res->code(301); $self->rendered; $self->redirect_to($to);
17:46 Hondo im doing that for a 301 redirect, is the "$self->rendered" step necessary?
17:49 Hondo did some tests, doesnt seem to be necessary
18:00 noganex_ joined #mojo
18:03 perlrocks Twitter: "Mojolicious 2.0, an interesting web framework for Perl http://t.co/fmLwvmkX" (es) --Endika_Iglesias http://twitter.com/Endika_Igle​sias/status/128169618589237249
18:13 marcus tempire: like $self->flash(message => 'Form submitted'); and <div class="infomessage"><%=$self->flash('message') %></div>
18:23 sri i think tempire was hoping for a new use case
18:25 MojoGuest74 joined #mojo
18:25 MojoGuest74 From: http://www.google.pl/url?sa=t&amp;rct=j&amp​;q=html5%20irc&amp;source=web&amp;cd=4&amp;​ved=0CDcQFjAD&amp;url=http%3A%2F%2Fdev.xant​us.org%2F&amp;ei=vVukTrbFNpCSOrb--ZgC&amp;u​sg=AFQjCNGw6nZv0wO42uzUnHhWcD0vcKNULg&amp;s​ig2=RqaVDOguhL4HH2_oRuEKVg&amp;cad=rja (1 hits)
18:26 abra joined #mojo
18:30 Eugene joined #mojo
18:33 sri btw
18:33 sri http://mojolicio.us/perldoc/Mojo/Path#contains
18:33 sri any thoughts about the semantics of that method?
18:35 sri i expect it to be mainly used for events
18:35 sri so stuff that happens outside of routes
18:45 tempire marcus: that usage is strange to me.  why would you redirect after the form submission?  why not display the 'form submitted' message in the response to the submitted request?
18:45 sri reload
18:45 sri users refresh often
18:46 sri also it's more RESTful
18:46 sri since you're presenting the user with a new REST endpoint
18:46 sri *-with
18:47 tempire that's understandable.  the usage of flash, though, doesn't comply with the rest argument.
18:48 tempire ->contains seems fine to me.  seems as simple as it can be.
18:48 sri <red text>Entry created.</red text>
18:48 sri that kind of feedback for the user is the most common use of the flash
18:48 tempire understood, I was thinking that the message is gone when you reload.
18:49 sri it will be
18:49 tempire but I guess if you reload, it's not necessary anymore.
18:49 sri yes, it's only temporary, so the user knows what just happened
19:02 lammel2 joined #mojo
19:03 Eugene joined #mojo
19:09 sromanov joined #mojo
19:10 sri are there any other "complicated" methods that need more examples?
19:15 GitHub171 joined #mojo
19:15 GitHub171 [mojo] kraih pushed 1 new commit to master: http://git.io/1OE28g
19:15 GitHub171 [mojo/master] more examples - Sebastian Riedel
19:15 GitHub171 left #mojo
19:30 sri hmm, we could also make Mojolicious itself emit mode specific events like "development_mode"
19:31 kaare joined #mojo
19:31 sri plugins could hook into specific modes that way
19:33 sri then again, maybe we should just wait and see how people adopt what we have so far
20:04 Eugene joined #mojo
20:10 perlrocks Twitter: "Interesting. On metacpan.org, Dancer has 34 ++, Mojolicious has 32 and Catalyst has only 22." --OvidPerl http://twitter.com/OvidPerl​/status/128201729274679297
20:14 mspo left #mojo
20:30 abra joined #mojo
20:46 MojoGuest798 joined #mojo
20:46 MojoGuest798 From: http://www.google.com/url?sa=t&amp;rct=j&amp;​q=html5%20irc%20client&amp;source=web&amp;cd=​4&amp;ved=0CDUQFjAD&amp;url=http%3A%2F%2Fdev.​xantus.org%2F&amp;ei=33ykTv7UMY_pgQfDtrTDBQ&a​mp;usg=AFQjCNGw6nZv0wO42uzUnHhWcD0vcKNULg (1 hits)
20:46 MojoGuest798 hfh
20:46 MojoGuest798 g
20:46 MojoGuest798 f
20:46 MojoGuest798 gfg
20:46 MojoGuest798 èpensios
20:46 MojoGuest798 spenis
20:46 MojoGuest798 penis
20:46 MojoGuest798 penis
20:46 MojoGuest798 sex
20:46 MojoGuest798 viagra
20:46 MojoGuest798 why you dont ban me?
20:47 MojoGuest798 FUCKING IDOS
20:47 MojoGuest798 IDIOTS
20:47 MojoGuest798 SUCK MY BIG PENIS
20:50 MojoGuest544 joined #mojo
20:50 MojoGuest544 From: http://news.ycombinator.com/item?id=1277067 (46 hits)
20:52 marcus heh
20:53 * marcus is watching super 8
20:55 driller_work joined #mojo
20:56 driller_work hi \o
21:01 abra joined #mojo
21:02 driller_work could someone briefly explain to me how to "preload" templates? I don't quite get how to connect it. I am trying to load a "dynamic" template from the database, so if you navigate to /pages/something it loads the "something" template with data from the database, but as I understood it the templates needs to exist and the app needs to be restarted in order for it to see the template?
21:04 perlite_ joined #mojo
21:09 tempire f'ing idos!
21:12 tempire http://memegenerator.net/cache/ins​tances/400x/10/10598/10852717.jpg
21:14 tempire driller_work: you can generate templates using <%% %>
21:17 tempire https://github.com/kraih/mojo/bl​ob/master/t/mojo/template.t#L83
21:29 sri driller_work: http://mojolicio.us/perldoc/Mojolicious/Guides/R​endering#Rendering_inline_templates_28_inline_29
21:31 D4RK-PH0ENiX joined #mojo
21:31 driller_work muchos gracias :)
22:03 sri marcus: not a bad movie
22:38 mspo joined #mojo
22:39 mspo can I have a layouts/ directory in a Lite app?
22:49 MojoGuest770 joined #mojo
22:49 MojoGuest770 From: http://www.google.co.jp/url?sa=t&amp;rct=j&amp;q=w​ebsocket%20irc&amp;source=web&amp;cd=5&amp;ved=0CD​gQFjAE&amp;url=http%3A%2F%2Fdev.xantus.org%2F&amp;​ei=35mkTr_ZGorGmAXe_4WrBQ&amp;usg=AFQjCNGw6nZv0wO4​2uzUnHhWcD0vcKNULg&amp;sig2=ABzax4PO5boua1NmGYLfIQ (1 hits)
22:53 tempire oh hey look at that
22:53 tempire inline templates
22:53 tempire neat
22:53 MojoGuest806 joined #mojo
22:53 MojoGuest806 From: http://www.google.co.jp/url?sa=t&amp;rct=j&amp;q=w​ebsocket%20irc&amp;source=web&amp;cd=5&amp;ved=0CD​gQFjAE&amp;url=http%3A%2F%2Fdev.xantus.org%2F&amp;​ei=35mkTr_ZGorGmAXe_4WrBQ&amp;usg=AFQjCNGw6nZv0wO4​2uzUnHhWcD0vcKNULg&amp;sig2=ABzax4PO5boua1NmGYLfIQ (2 hits)
22:59 Alias_ left #mojo
23:39 smpb joined #mojo
23:40 MojoGuest770 /test
23:41 MojoGuest139 joined #mojo
23:41 MojoGuest139 From: http://www.google.co.jp/url?sa=t&amp;rct=j&amp;q=w​ebsocket%20irc&amp;source=web&amp;cd=5&amp;ved=0CD​gQFjAE&amp;url=http%3A%2F%2Fdev.xantus.org%2F&amp;​ei=35mkTr_ZGorGmAXe_4WrBQ&amp;usg=AFQjCNGw6nZv0wO4​2uzUnHhWcD0vcKNULg&amp;sig2=ABzax4PO5boua1NmGYLfIQ (3 hits)
23:41 MojoGuest139 left #mojo
23:42 MojoGuest409 joined #mojo
23:42 MojoGuest409 From: http://www.google.co.jp/url?sa=t&amp;rct=j&amp;q=w​ebsocket%20irc&amp;source=web&amp;cd=5&amp;ved=0CD​gQFjAE&amp;url=http%3A%2F%2Fdev.xantus.org%2F&amp;​ei=35mkTr_ZGorGmAXe_4WrBQ&amp;usg=AFQjCNGw6nZv0wO4​2uzUnHhWcD0vcKNULg&amp;sig2=ABzax4PO5boua1NmGYLfIQ (4 hits)
23:51 xaka joined #mojo

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