Camelia, the Perl 6 bug

IRC log for #mojo, 2010-12-23

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

All times shown according to UTC.

Time Nick Message
00:25 daviddelikat joined #mojo
00:56 perlrocks Twitter: "perlmojo-mojolicious-cgimod_rewrite http://bit.ly/hk9b4x" (ja) --wPerlnews http://twitter.com/wPerlnew​s/status/17745218237366272
00:56 perlrocks Twitter: "Mojolicious does not provide a way of knowing what is running on the server running. Well, without the need to be shy but working." (ja) --kuusou_kyokusen http://twitter.com/kuusou_kyok​usen/status/17745287518887936
01:00 perlrocks Twitter: "RT! Kuusou_kyokusen: Mojolicious does not provide a way of knowing what is running on the server running. Well, without the need to be shy but working." (ja) --perlism http://twitter.com/perlism​/status/17746221414227968
01:04 perlite joined #mojo
01:09 macroz left #mojo
01:25 marty sri:  I found a typo in the TagHelpers reference guide.  In the stylesheet sections you are missing a quite after foo.css
01:26 marty sri: Also, I noticed that the stylesheet helper is placing the styles in the body of the document.  I thought styles had to be in the head.
01:30 sri marty: that made no sense
01:34 sri why would the stylesheet helper care where it is placed?
01:34 sri why would it matter?
01:35 marty It was my understanding that the body of HTML docs could not contain <style> tags
01:35 sri false
01:36 marty s/quite/quote/     a few lines up.   sorry about that.
01:36 marty spellcheck!!!  arrrrgg
01:38 dvinciguerra left #mojo
01:44 GitHub88 joined #mojo
01:44 GitHub88 mojo: master Sebastian Riedel * e391bef (11 files in 7 dirs): added experimental content_for helper - http://bit.ly/fSHV3u
01:44 GitHub88 left #mojo
01:49 dvinciguerra joined #mojo
01:49 GitHub40 joined #mojo
01:49 GitHub40 mojo: master Sebastian Riedel * b9d564c (1 files in 1 dirs): cleanup - http://bit.ly/gCnz0C
01:49 GitHub40 left #mojo
01:55 sri template inheritance with the content helper might have been a failure, lets see if a simpler content_for helper has more success :)
02:45 MojoGuest356 joined #mojo
02:45 MojoGuest356 From: http://www.google.co.uk/url?sa=t&amp;source=w​eb&amp;cd=17&amp;ved=0CEMQFjAGOAo&amp;url=htt​p%3A%2F%2Fdev.xantus.org%2F&amp;rct=j&amp;q=w​ebsockets%20demo&amp;ei=X7cSTeK4CsPKhAebnpi3D​g&amp;usg=AFQjCNGw6nZv0wO42uzUnHhWcD0vcKNULg (1 hits)
02:45 MojoGuest356 left #mojo
02:45 MojoGuest476 joined #mojo
02:45 MojoGuest476 From: http://www.google.co.uk/url?sa=t&amp;source=w​eb&amp;cd=17&amp;ved=0CEMQFjAGOAo&amp;url=htt​p%3A%2F%2Fdev.xantus.org%2F&amp;rct=j&amp;q=w​ebsockets%20demo&amp;ei=X7cSTeK4CsPKhAebnpi3D​g&amp;usg=AFQjCNGw6nZv0wO42uzUnHhWcD0vcKNULg (2 hits)
02:45 MojoGuest476 hi
02:45 MojoGuest476 anybody there??
02:46 MojoGuest476 left #mojo
02:59 jamesw joined #mojo
03:09 perlrocks Twitter: "Mojolicious response of the filter or make difficult. How soon do 弄Tta renderer." (ja) --kuusou_kyokusen http://twitter.com/kuusou_kyok​usen/status/17778748254330880
03:10 perlrocks Twitter: "RT! Kuusou_kyokusen: Mojolicious of response is difficult or applying a filter. How soon do 弄Tta renderer." (ja) --perlism http://twitter.com/perlism​/status/17778937480351745
03:19 dvinciguerra left #mojo
03:42 perlrocks Twitter: "More Mojolicious WebSocket examples / No time to wait http://bit.ly/fRZ2qw" (ja) --wPerlnews http://twitter.com/wPerlnew​s/status/17786996470587392
03:42 perlrocks Twitter: "Image board (Mojolicious:: Lite) - Getting Started with Perl code samples http://bit.ly/glbbeC" (ja) --wPerlnews http://twitter.com/wPerlnew​s/status/17786999461126146
03:56 perlrocks Twitter: "Mojolicious:: Guides:: Cheatsheet - Mojolicious Japanese translation project documents - livedoor Wiki (Wiki) http://bit.ly/gGWgGF" (ja) --wPerlnews http://twitter.com/wPerlnew​s/status/17790517974667264
04:04 tholen42 joined #mojo
04:06 tholen left #mojo
04:16 avkhozov joined #mojo
05:12 ilbot2 joined #mojo
05:12 Topic for #mojo is now ♥ Join the revolution! ♥ | http://mojolicio.us | http://irclog.perlgeek.de/mojo/today
05:20 yakudzo joined #mojo
05:21 hidek___ joined #mojo
05:22 memememomo_ joined #mojo
06:47 ysyrota joined #mojo
07:21 fhelmberger joined #mojo
07:35 avkhozov joined #mojo
07:50 koban1 joined #mojo
07:52 dotan joined #mojo
07:53 yakudzo left #mojo
08:02 yuki joined #mojo
08:03 yuki left #mojo
08:07 avkhozov left #mojo
08:25 macroz joined #mojo
08:26 zakame left #mojo
08:28 jwang joined #mojo
08:30 jwang just wanted to say I'm impressed with mojo's SEO for "web framework" :)
08:46 crab what do you mean?
09:01 jwang if you type [web framework] into google, mojolicious comes up right after the wikipedia entries
09:01 jwang before any other framework including catalyst, django, symfony, rails,cappuccino, etc.
09:02 crab really? how odd. if i do that, mojo isn't even on the first page of results.
09:03 jwang hmm
09:05 moritz not here
09:05 zipkid i get jwang's result too
09:05 moritz it doesn't appear on the first page, and if I add "perl" to the list of search words, it's below catalyst and a few others
09:05 crab clearly it's a conspiracy by jwang and zipkid.
09:07 moritz and google.
09:07 jwang I think I know what's happening
09:07 jwang google's web history feature is affecting my search results
09:07 jwang once I turn off web history, it doesn't show up on the first page for me anymore
09:08 moritz so google is part of the conspiracy!
09:09 jwang yes, apparently so!
09:09 zipkid s/part of//
09:09 jwang lol, yeah
09:10 jwang does mojo take up less memory than cat?
09:10 jwang is it faster?
09:12 zipkid jwang: a black cat?
09:12 jwang does cat come in colors?
09:13 avkhozov joined #mojo
09:13 avkhozov left #mojo
09:15 crab yes, i have personally seen many differently-coloured cats.
09:17 * zipkid has 3 coloured ones hanging around...
09:17 moritz tricolorecat!
09:18 jwang 32-bit color cat!
09:18 jwang mm, we have 64-bit color cats now too
09:18 zipkid eg. this one has purple... http://twitpic.com/3io10p
09:19 zipkid (not mine)
09:32 und3f is now known as und3f_
09:32 und3f_ is now known as und3f
09:53 * yko_ likes content_for idea
09:54 crab what is the content_for idea?
09:54 yko_ is now known as yko
09:54 yko crab: see latest mojolicious commits
09:56 crab yko: it's just a rename, right?
09:56 crab ah, it appends now. good.
09:56 yko no, 'content' helper still exists. ye
09:57 crab i have my own helper which does exactly this: append to blocks.
09:57 crab very nice.
09:57 arthas joined #mojo
10:06 yko hm. looks like long time ago i proposed patch to make 'content' behavior similar to current content_for.
10:07 yko maybe i was not very convincing or patch was loking ugly or something else
10:15 MojoGuest624 joined #mojo
10:15 MojoGuest624 I CAN HAZ IRC CLIENTZ!
10:16 MojoGuest624 left #mojo
11:03 kvorg1 joined #mojo
11:06 macroz left #mojo
11:08 kvorg left #mojo
11:10 kvorg1 left #mojo
11:20 macroz joined #mojo
11:24 ok22 joined #mojo
12:00 spleenjack joined #mojo
12:28 * sri yawns
12:32 MojoGuest999 joined #mojo
12:32 MojoGuest999 From: http://www.google.co.in/search?q=websocket%​20demo&amp;ie=utf-8&amp;oe=utf-8&amp;aq=t&a​mp;rls=org.mozilla:en-US:official&amp;clien​t=firefox-a&amp;source=hp&amp;channel=np (1 hits)
12:33 MojoGuest999 hello
12:35 * yko waves
12:35 MojoGuest999 left #mojo
12:37 rhaen hm.
12:37 rhaen what's the preferred system to setup a small wiki?
12:37 rhaen (personal usage)
12:38 rhaen ah. nm found it
12:39 dvinciguerra joined #mojo
12:49 sri yko: content_for was proposed multiple times before
13:15 perlrocks Twitter: "Mojolicious - Web framework for Perl http://www.findbestopensour​ce.com/product/mojolicious # FOSS" (no) --bestopensource http://twitter.com/bestopenso​urce/status/17931372639297536
13:45 daviddelikat left #mojo
14:14 fhelmberger left #mojo
14:38 daviddelikat joined #mojo
15:14 perlrocks Twitter: "mojolicious-no-kyodou http://bit.ly/go308E" (ja) --wPerlnews http://twitter.com/wPerlnew​s/status/17961143234465794
15:40 a|newkirk[assoc] joined #mojo
15:42 a|newkirk[assoc] is now known as alnewkirk
16:23 ysyrota left #mojo
16:34 jwang left #mojo
16:39 macroz left #mojo
16:43 dotan left #mojo
16:43 sri think i'm done with the new website :)
16:44 marty Congratulations sri!!
16:44 marty sri++
16:45 sri \o/
16:45 sri wonder when i should launch it
16:45 marty right now of course.  :)
16:47 crab sri: yeah, now!
16:47 sri hmm
16:48 sri guess i could launch in an hour or so :)
16:48 crab maybe i should write a mojo one-liner that will poll the site and notify me when the content changes.
16:48 sri ;p
16:48 marty Whatever works best for your launch plans works well for me.  now, 26th, whenever.  It's all gooooood
16:53 rhaen crab: make sure to post it one the wiki!
16:54 rhaen ;)
16:54 koban1 left #mojo
16:54 crab the other day i had a dream which involved mojo
16:54 rhaen that's a good start!
16:55 crab i dreamed that every time i run "make install", it would install only new files in the distribution and not newer copies of existing files
16:55 crab so i saw all sorts of weird bugs due to older versions of some modules, which sri wasn't able to reproduce
16:56 crab when i woke up, i was actually worried about it for a little while before i realised it was not a realistic problem
16:57 sri lol
16:57 sri totally reasonable nightmare though
16:58 rhaen omg!
16:58 rhaen crab: Everytime mojo has a new release I buy a new macbook
16:58 rhaen no bugs - everything is reproducable.
16:59 sri make sure to put that in the wiki!
16:59 rhaen Fortunatelly the release cycle is a little bit longer now
16:59 crab sri: HTTP DELETE can have an entity-body?
16:59 sri crab: everything can except for HEAD responses
17:00 crab i mean a DELETE request. what would the body *mean*?
17:00 sri i learned not to ask those questions -.-
17:00 crab you even have an example of GET with a request body
17:00 sri just because it's possible doesn't mean it should be done
17:01 sri HTTP is generally a very liberal protocol, thats what makes it so good
17:01 sri in the end it is special cases like HEAD that cause problems
17:02 sri in fact, you could just make up new HTTP methods, like webdav does
17:22 tempire_ joined #mojo
17:23 tempire_ Has anyone come across a standard way to pod method params?
17:24 sri thats something i would be interested in too
17:27 tempire_ I hear mentions of 'extended pod' from time to time, but I've not seen any explanation of it anywhere.
17:32 olo joined #mojo
17:32 olo left #mojo
17:33 macroz joined #mojo
17:37 alnewkirk left #mojo
17:49 rhaen I CAN HAZ WIKIEZ
17:51 GitHub76 joined #mojo
17:51 GitHub76 mojo: master Sebastian Riedel * eb527e6 (94 files in 18 dirs): christmas preparations - http://bit.ly/eCzIlZ
17:51 GitHub76 left #mojo
18:03 fhelmberger joined #mojo
18:04 fhelmberger left #mojo
18:10 perlrocks Twitter: "Here's an early christmas present to the #mojolicious community, the new website is live! :) http://mojolicio.us #perl" --kraih http://twitter.com/kraih/status/18005578634760192
18:11 perlrocks Twitter: "And make sure to check out the #mojolicious documentation browser. ;) http://mojolicio.us/perldoc #perl" --kraih http://twitter.com/kraih/status/18005882189119488
18:43 lee7 joined #mojo
18:45 macroz left #mojo
18:50 arthas left #mojo
18:55 macroz joined #mojo
19:13 perlrocks Twitter: "The new site Mojolicious http://mojolicio.us/! Now, with excellent documentation! 1.0 very soon! http://is.gd/jk0zr # perl # mojolicios # mojo" (ru) --xomaa http://twitter.com/xomaa/status/18021399679471618
19:13 user17 joined #mojo
19:13 user17 hi
19:13 * sri waves
19:14 su-bzero[A] is now known as su-bzero
19:14 su-bzero is now known as su-bzero[A]
19:14 su-bzero[A] is now known as su-bzero
19:14 user17 i've recently (today :P) started using mojolicious, and while i'm literally studying the docs, i fail to find a routine that allows me to define the template and layout searchpath... how do i set the searchpaths?
19:14 user17 hi sri
19:15 sri user17: app->renderer->roo('/some/absolute/path'); afair
19:15 sri *->root
19:15 user17 for layouts and templates, i suppose?
19:15 sri yea
19:16 sri app->home->rel_dir('foo') can be used to generate an absolute path relative to the application home directory
19:16 sri but generally, you wouldn't change paths
19:17 user17 nuts.. i still get a not found error... how would i enable debugging output (kind of like the exception output)? my apache log does contain some stuff from mojolicious, but it's not really helpful
19:17 sri eww
19:17 sri don't develop with apache
19:18 user17 habit :P
19:18 sri development features are all optimized for the built in daemon
19:18 sri its so much more fun
19:19 user17 okay, i've started it with './app.cgi daemon', it listens on :3000, but i still get that darn not found error :(
19:20 sri path changing even has tests, so i know it works
19:22 user17 i do believe you, it's just that it didn't change a thing...
19:23 user17 or i'm having some incredibly stupid error somewhere
19:33 user17 nobody having an idea? :|
19:33 perlrocks Twitter: "RT @ xomaa: New site Mojolicious http://mojolicio.us/! Now, with excellent documentation! 1.0 very soon! http://is.gd/jk0zr # perl # m ..." (ru) --Foxcool_ru http://twitter.com/Foxcool_​ru/status/18026484111253504
19:34 sri user17: customizing mojolicious is usually a bad first step
19:34 sri you are supposed to learn how everything works first
19:34 user17 am i customizing mojolicious?
19:35 sri yes
19:35 user17 but what if i don't want the templates to be accessible over http? :P
19:35 sri the templates and home directory concept are a convention 99.9% of all users keep
19:35 sri wait what?
19:36 sri then you are doing something fundamentally wrong
19:37 sri wait, are you still talking cgi?
19:37 user17 nope
19:37 user17 the resulting app will be used via cgi, though
19:38 user17 not every webhoster allows opening random ports, y'know :P
19:40 spleenjack left #mojo
19:42 user17 so there is no real solution to this "problem"?
19:49 marcus heh
19:50 marcus user17:  I suggest using a lite app and stuffing the templates in the __DATA__ section for now
19:50 marcus then it won't be available over http :p
19:50 user17 i'm already using lite
19:50 user17 that's nuts, really :P
19:50 marcus then just use the templates inline
19:50 marcus user17:  you're already using cgi, that would actually be an optimalization for you :p
19:51 user17 i don't see the optimized part about that, really
19:51 marcus stuffing cgi scripts in your webroot to make them run is the nuts part :p
19:51 marcus user17: avoids another file read to read the template file?
19:51 user17 somewhere it simply should be possible to define the template path
19:53 marcus yes
19:53 marcus it works exactly the way sri told you. I tested it
19:54 marcus I generated a lite app and added app->renderer->root('/tmp');
19:54 marcus and added index.html.ep to /tmp
19:54 marcus and it got rendered
19:55 sri marcus is right too, DATA is a huge optimization for cgi
19:56 sri normally mojolicious would read a template from a file once, and keep the compiled version in memory, but that of course doesn't work for cgi
19:56 marcus sri: that sucks! PLZ TO BE FIXING PERSISTANT CGI!
19:56 marcus ;-)
19:56 sri !
19:57 user17 oooh
19:57 user17 i see now
19:57 user17 i've put the templates in $root/templates/ and layouts in $root/layouts/ ... no wonder it didn't work
19:57 marcus indeed
19:58 sri i really suggest sticking to the documentation for now
19:58 user17 i wonder how the layouts are read then... but i guess i'll find that out somehow
19:58 user17 absolutely, but that's certainly a non-obvious thing tbh :P
19:58 marcus what is?
19:59 user17 the method to change the template search path, that is
19:59 sri intentionally
20:00 sri because normal users just don't do that
20:00 marcus user17: make a wiki page for cgi users?
20:00 user17 marcus: on github?
20:00 marcus user17: yes
20:01 user17 once i'm done with my app, gladly
20:01 marcus cool beans
20:01 user17 i'm nebukadnezzar on github, just fyi
20:01 user17 oh, the layouts directory is indeed at $root/layouts/
20:02 marcus i'm marcusramberg . sri is kraih
20:02 user17 okay, and it looks like i've already "talked" with sri earlier this evening then :-)
20:03 marcus :)
20:03 tempire_ http://latest.mojolicio.us isn't getting the github tarball
20:04 marcus oh noes
20:04 marcus sri, you broke the intarnets
20:04 sri oh noes
20:04 tempire_ ooh, new page.
20:04 sri fixing that too
20:04 sri busy with css fixes atm
20:04 tempire_ what's the direct github tarball link?
20:04 fhelmberger joined #mojo
20:05 sri see github ;p
20:05 sri theres a huge download button
20:05 tempire_ hey
20:05 tempire_ look at that.
20:05 marcus https://github.com/kraih/mojo/tarball/master
20:05 marcus that is what latest used to redirect to
20:06 sri sounds right
20:06 tempire_ I don't think I've ever noticed that download button.
20:06 tempire_ it doesn't blink
20:06 tempire_ it's not even a dancing monkey
20:07 macroz left #mojo
20:17 marcus sri: did you see http://comicsanscriminal.com/?
20:19 sri lol
20:40 macroz joined #mojo
20:50 spleenjack joined #mojo
21:21 GitHub127 joined #mojo
21:21 GitHub127 mojo: master Sebastian Riedel * 8dc3ebf (1 files in 1 dirs): more christmas preparations - http://bit.ly/fcKSof
21:21 GitHub127 left #mojo
21:29 sri ok, download link should work again
21:35 perlrocks Twitter: "And this is how the new #mojolicious website looks in a modern browser you dinosaurs. :) http://twitpic.com/3iukh9/full #perl" --kraih http://twitter.com/kraih/status/18057180573868032
21:40 perlrocks Twitter: "You can actually make the whole #perl documentation look pretty on the #mojolicious website. http://mojolicio.us/perldoc?List/Util" --kraih http://twitter.com/kraih/status/18058487162474496
21:49 GitHub122 joined #mojo
21:49 GitHub122 mojo: master Sebastian Riedel * 455017b (1 files in 1 dirs): ho ho ho - http://bit.ly/gVDoj7
21:49 GitHub122 left #mojo
21:53 yko Which way is the best to test 302 redirection url?
21:53 yko In tests $app->url_for('/') generates relative url. How to pass base in right way?
21:54 yko I found way $url->base($t->tx->req->url); $t->header_is(location => $url->to_abs);
21:54 yko But look sugly
21:58 * sri doesn't follow
21:58 sri oh
21:58 sri not sure that can be done pretty
22:02 daviddelikat left #mojo
22:03 perlrocks Twitter: "new #mojolicious website should include such code: $self->render_text("Can you see this text, dinosaur?") unless $self->is_browser_latest;" --und3f http://twitter.com/und3f/status/18064130686586880
22:16 ok22 left #mojo
22:29 MojoGuest919 joined #mojo
22:30 MojoGuest364 joined #mojo
22:30 MojoGuest364 From: http://www.reddit.com/r/html​5/comments/bt76k/irc_client/ (32 hits)
22:30 MojoGuest364 left #mojo
22:30 MojoGuest919 left #mojo
22:34 daviddelikat joined #mojo
22:45 otaviof left #mojo
23:23 baton8 joined #mojo
23:46 macroz left #mojo
23:48 perlrocks Twitter: "Love keeping #mojolicious apps up to date with "git pull origin master; kill -s USR2 `cat hypnotoad.pid`". :) #perl" --kraih http://twitter.com/kraih/status/18090579070029825
23:58 kvorg joined #mojo

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