Camelia, the Perl 6 bug

IRC log for #mojo, 2012-06-18

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

All times shown according to UTC.

Time Nick Message
00:07 marty joined #mojo
00:15 ispy_ joined #mojo
00:51 SmokeMachine joined #mojo
00:56 laouji joined #mojo
01:06 MichaelRpdx joined #mojo
01:10 bird joined #mojo
01:11 scott_ joined #mojo
01:59 rem_lex|pivo joined #mojo
02:02 d4rkie joined #mojo
02:09 noganex joined #mojo
02:13 abhishekisnot joined #mojo
02:15 abhishekisnot joined #mojo
03:08 SmokeMachine joined #mojo
03:16 tetraodontidae joined #mojo
03:17 tetraodontidae joined #mojo
04:45 MichaelRpdx joined #mojo
05:09 fhelmber_ joined #mojo
05:24 lammel2 joined #mojo
05:41 ovnimancer joined #mojo
05:47 Foxcool joined #mojo
05:48 Leandr joined #mojo
06:52 Vandal joined #mojo
07:11 batman joined #mojo
07:39 davido joined #mojo
07:39 davido_ joined #mojo
07:39 davido__ joined #mojo
07:47 espent joined #mojo
07:47 sri \o\
07:47 sri /o/
07:52 cosmincx joined #mojo
08:04 spleenjack joined #mojo
08:15 mire joined #mojo
08:24 niczero joined #mojo
08:28 niczero Is there any indication how long the yapc talks will be avail?
08:29 niczero (Got more I want to watch but I'm not around today)
08:38 sri http://www.youtube.com/watch?v=PFItNoecEfA # i don't think they will ever be removed from youtube
08:52 daxim joined #mojo
08:55 GitHub168 joined #mojo
08:55 GitHub168 [mojo] kraih pushed 1 new commit to master: http://git.io/Dn4iFA
08:55 GitHub168 [mojo/master] mention that sessions are serialized with Mojo::JSON - Sebastian Riedel
08:55 GitHub168 left #mojo
09:00 niczero awesome; thanks for the link, sri
09:10 jventer joined #mojo
09:22 x86 joined #mojo
09:22 x86 is this chan for mojolicious?
09:24 daxim 't is.
09:24 x86 awesomesauce
09:25 daxim it helps to read the /topic
09:25 x86 so I'm kinda new to mojolicious, and doing my first web app with Mojolicious::Lite...
09:25 x86 topic is undef;
09:26 x86 when I pull dynamic content from a DB, and try to stuff it into my template, it escapes the HTML and ends up rendering the raw HTML
09:26 x86 is there a way to disable this behavior?
09:27 x86 http://x86guns.us:3000/custom/ar15/300blk/ <-- for example
09:27 niczero x86: have you read the renering guide?
09:28 niczero ^rendering
09:28 espen joined #mojo
09:28 x86 I have
09:30 x86 http://mojolicio.us/perldoc/​Mojolicious/Guides/Rendering
09:30 x86 I'm putting my HTML-riddled content into a stash() variable
09:31 x86 then just calling render()
09:34 x86 I don't see anything specific about not escaping html in the render()
09:36 x86 <%= Perl expression, replaced with XML escaped result %>
09:36 x86 <%== Perl expression, replaced with result %>
09:36 x86 myah... think that answers me question :)
09:37 x86 don't know why I didn't see that gem before... thanks :)
09:51 sri READ ALL THE THINGS!
09:54 Topic for #mojo is now Mojolicious real-time web framework  👾👾👾 http://mojolicio.us 👾👾👾 http://irclog.perlgeek.de/mojo/today
09:55 Topic for #mojo is now Mojolicious real-time web framework  🌈🌈 http://mojolicio.us 🌈🌈 http://irclog.perlgeek.de/mojo/today
09:56 sri that rainbow looks weird
09:57 sri i don't think double rainbows have ever looked that bad :o
09:57 marcus I kinda agree, back to the alien monsters I suppose
09:58 sri hmm
09:58 Topic for #mojo is now Mojolicious real-time web framework  ♨♨♨ http://mojolicio.us ♨♨♨ http://irclog.perlgeek.de/mojo/today
09:58 marcus HOT SPRINGS!
09:58 sri \o/
09:59 * sri would also have accepted top hats
10:00 marcus only with monocles.
10:01 sri ಠ_ಠ
10:07 xaka joined #mojo
10:26 batman i'm not used to autocomplete on closing brackets, parentheses and such... any suggestions on how to make that work even better?
10:26 batman like can "jump" out of ("foo") to end of line easily?
10:27 batman and also, is there any perl-related plugins i must have?
10:27 Akron joined #mojo
10:30 Akron x86: If you have not full control of your templates (working with a designer or something), but always wanted to render your data unescaped, you can also stuff it into a Mojo::ByteStream object. M::BS is never escaped. A great feature!
10:32 mire joined #mojo
10:41 spleenjack joined #mojo
10:53 * sri wonders if Akron follows the channel via log :)
10:54 sri batman: once you got used to autoclosing you'll really miss it when it's not there
10:58 sri Akron: it's a lot easier to idle with a bouncer like znc
11:01 batman sri: ok... i will try to trust you on that one :)
11:01 batman i tried to install autosemicolon... it worked yesterday, but not today :S
11:04 sri autosemicolon sounds like a bad idea
11:04 sri for (;;) {}
11:11 batman depends on how frequent each occur...
11:11 batman another thing: is there a shortcut to close the console?
11:12 batman like after building a project, i would like to close the console in the bottom
11:27 nferraz joined #mojo
11:28 nferraz Hey, guys
11:28 nferraz I'm using Mojolicious to serve Flash content
11:29 nferraz I noticed that Mojolicious::Types doesn't include swf  => 'application/x-shockwave-flash' header
11:29 nferraz is this by design? Or should it be included?
11:29 sri just add it yourself
11:30 nferraz I did that
11:30 nferraz and I wondered if this should be patched upstream
11:30 sri we shouldn't encourage people to use flash
11:30 nferraz Agreed!
11:30 nferraz but... shouldn't we be agnostic about what people use?
11:31 sri if you want flash you should suffer for it ;p
11:31 nferraz ehhehe
11:31 nferraz true
11:31 edenc not adding explicit support for a given technology looks like a good way to be agnostic about it
11:31 nferraz I'm working with javascript that must deal with Flash... and when I tried to identify the content in a after_static_dispatch hook, it displayed nothing
11:32 nferraz hi edenc :)
11:32 sri i wouldn't want microsoft mime types in there either
11:32 nferraz so... is there a way to plug in new content types, without forking the code?
11:33 sri actually i'm wondering if we should remove the pdf mime type
11:33 nferraz oh
11:33 nferraz I think this should do the trick:   $app->types->type(twt => 'text/tweet');
11:34 sri you're welcome to release a Mojolicious::Plugin::AllTheM​IMETypesYouCouldEverThinkOf to CPAN
11:34 nferraz cool :)
11:35 sri tempire, marcus, crab: remove pdf mime type?
11:35 nferraz I think pdf is a open standard right now, isn't it?
11:36 marcus sri: I'd rather add flash
11:36 nferraz since 2008 - http://www.iso.org/iso/pressrelease?refid=Ref1141
11:36 sri it was only added in february this year, how weird
11:36 marcus sri: removing it seems idealistic rather than pragmatic.
11:36 sri marcus: it's easy enough to have a plugin with more mime types
11:36 marcus sri: it's easier if it just works.
11:37 nferraz I wouldn't remove basic types, like pdf...
11:37 sri we should be idealistic about which web technologies to support
11:37 marcus swf and pdf are both useful for some cases.
11:38 nferraz useful *and* open standards, submitted to iso
11:39 sri pdf maybe, but supporting swf actively means delaying html5
11:43 nferraz I don't think adding a header promotes a format... it only helps when you have to deal with it (in my case, because I'm using Mojolicious to test legacy stuff)
11:46 nferraz besides, I think this line ---> my $type = $self->res->headers->content_type; <--- should simply work as expected
11:51 nferraz well... my problem is solved; just thought it should work as expected since first time
11:51 nferraz thanks for the help!
11:51 nferraz and Mojolicious rocks!!! :)
12:01 sri glad you like it :)
12:02 batman i'm going on and on about st2... let me know when it's too much :P
12:02 batman but... changing tabs with shortcut takes some time in ubuntu, while clicking is instant. anyone else noticed that or is it just in ubuntu?
12:05 sri instant here
12:06 batman osx?
12:09 sri ye
12:13 batman ok
12:18 pau4o joined #mojo
12:22 * sri just discovered command+d
12:22 sri some really cool features in st2
12:34 Debolaz[Lo] joined #mojo
12:57 GitHub37 joined #mojo
12:57 GitHub37 [mojo] kraih pushed 1 new commit to master: http://git.io/kEhJCA
12:57 GitHub37 [mojo/master] documentation tweaks - Sebastian Riedel
12:57 GitHub37 left #mojo
13:02 sri carethistory is also a nice plugin
13:04 whee sri: https://gist.github.com/1839777
13:05 sri wonder if perltidy and jump back to previous position can be combined into a single keybind :)
13:05 sri whee: thanks, already found that
13:05 whee :<
13:09 Psyche^ joined #mojo
13:10 sri i guess for now i keep perltidy on super+alt+up and back to previous position on super+alt+left
13:11 sri hmmm
13:12 sri typing both too quickly makes st2 die :o
13:13 andrefs joined #mojo
13:22 gryphon joined #mojo
13:27 jnap joined #mojo
14:03 Akron joined #mojo
14:04 * Akron follows the chat via log.
14:16 stephan48 hi Akron
14:20 andrefs joined #mojo
14:32 CromeDome joined #mojo
14:38 CromeDome joined #mojo
14:42 d4rkie joined #mojo
14:43 inokenty joined #mojo
14:47 x86 Akron: awesomesauce!
14:47 x86 Akron: thanks for the tip
14:56 abhishekisnot joined #mojo
15:08 abhishekisnot joined #mojo
15:14 ispy_ joined #mojo
15:24 ispyhumanfly joined #mojo
15:24 ryozi joined #mojo
15:27 Leandr joined #mojo
15:38 mateu joined #mojo
16:05 tadamo1 joined #mojo
16:12 tadamo1 left #mojo
16:15 tadamo1 joined #mojo
16:19 tadamo1 left #mojo
16:19 mire joined #mojo
16:37 Mad_Dud joined #mojo
17:05 ispy_ joined #mojo
17:17 spaceships joined #mojo
17:21 andrefs joined #mojo
17:23 Akron Hi stephan48!
17:26 pau4o left #mojo
17:37 bnadland joined #mojo
17:44 davido joined #mojo
17:46 sh4 joined #mojo
17:49 batman joined #mojo
18:14 Foxcool joined #mojo
18:15 jnap joined #mojo
18:16 batman joined #mojo
18:23 batman do you start morbo in a standard shell, while editing in st2, or do you have any cool plugin which allow you to run the server from inside of st2?
18:24 sri standard shell
18:24 batman maybe i could run it from inside repl...
18:24 batman ok
18:25 sri i'm not even using the mojolicious plugin yet, just the tmbundle
18:25 batman ok
18:25 sri please improve the mojolicious plugin :)
18:25 sri https://github.com/SublimeText/Mojolicious
18:26 sri would be nice if someone could port the DATA section support from my tmbundle
18:26 sri https://github.com/kraih/mojo-tmbundle/blob/ma​ster/Syntaxes/Perl%20(Mojolicious).tmLanguage # <- this
18:28 batman it works to well for me to improve it :/
18:28 batman it = mojolicious plugin
18:32 Foxcool joined #mojo
18:38 sri https://github.com/Sublime​Text/Mojolicious/issues/1 # opened an issue, +1 it!
18:39 bird_ joined #mojo
18:40 spaceshi1s joined #mojo
18:41 spaceshi1s joined #mojo
18:50 noganex joined #mojo
19:14 tadamo joined #mojo
19:22 xaka1 joined #mojo
19:26 CromeDome joined #mojo
19:54 batman is there a way to do line completion in st2?
19:56 tadamo1 joined #mojo
20:34 spaceships joined #mojo
20:43 lammel2 joined #mojo
20:55 hipyhop joined #mojo
21:44 andrefs joined #mojo
21:48 lukep joined #mojo
22:15 lammel2 left #mojo
22:18 jnap joined #mojo
22:21 gryphon joined #mojo
22:28 bird joined #mojo
23:34 memowe joined #mojo
23:48 jventer joined #mojo
23:56 mateu left #mojo

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