Camelia, the Perl 6 bug

IRC log for #mojo, 2010-08-26

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

All times shown according to UTC.

Time Nick Message
01:24 awnstudio left #mojo
01:59 awnstudio joined #mojo
02:35 janus left #mojo
03:04 MojoGuest784 joined #mojo
03:04 MojoGuest784 From: http://news.ycombinator.com/item?id=1277067 (38 hits)
03:04 MojoGuest784 left #mojo
03:07 janus joined #mojo
03:07 yakudzo joined #mojo
03:28 polvo joined #mojo
03:35 y0j left #mojo
03:37 y0j joined #mojo
03:37 ltriant left #mojo
03:38 ltriant joined #mojo
04:03 tholen42 joined #mojo
04:05 tl left #mojo
04:51 und3f[A] is now known as und3f
05:07 awnstudio left #mojo
05:09 koban joined #mojo
05:13 y0j left #mojo
05:20 y0j joined #mojo
05:28 y0j left #mojo
05:42 yko joined #mojo
05:44 ltriant left #mojo
05:44 y0j joined #mojo
05:49 ltriant joined #mojo
06:03 y0j left #mojo
06:11 ysyrota joined #mojo
06:23 arthas joined #mojo
06:46 und3f is now known as und3f[A]
06:48 skaurus left #mojo
07:33 ltriant left #mojo
08:04 y0j joined #mojo
08:17 und3f[A] is now known as und3f
08:29 marcus sri: mojolicious help generate <- not very friendly
08:29 marcus should probably give the same output as generate help
09:16 koban left #mojo
09:50 koban joined #mojo
09:52 omega joined #mojo
10:12 yko left #mojo
10:30 yko joined #mojo
10:41 Htbaa joined #mojo
11:03 yko left #mojo
11:03 yko joined #mojo
11:06 pkkm joined #mojo
11:11 yakudzo left #mojo
11:22 dotan joined #mojo
11:22 sri marcus: umm, there is no mojolicious generate help
11:26 marcus sri: the same as mojolicious generate then
11:26 marcus which is what mojolicious generate help returns :p
11:27 sri that wouldn't be very consistent
11:27 marcus make it say 'see mojolicious generate for options' then
11:27 marcus the way it is now is very user hostile
11:27 sri that is a possibility
11:30 sri marcus: btw. any progress with gzip support?
11:30 marcus sri: no, I fell asleep when putting my daughter to bed yesterday
11:30 marcus at 20:00
11:30 sri you're getting old
11:31 marcus slept until morning
11:31 * yko envies
11:32 yko :D
11:32 yko #mojo op must envy someone?
11:33 yko hm. or another #mojo op
11:34 yko uff.. thank you. That burden of responsibility...
11:34 sri http://korshak.name/ra/ooX.jpg
11:35 yko ye...
11:37 Akron joined #mojo
11:40 yko Why don't we have qw/debug error fatal info/ shortcuts in controller? :(
11:40 sri too many methods
11:40 yko or at least 'log'...
12:16 MojoGuest259 joined #mojo
12:16 MojoGuest259 From: http://www.google.com.br/url?sa=t&amp;source=we​b&amp;cd=2&amp;ved=0CB4QFjAB&amp;url=http%3A%2F​%2Fdev.xantus.org%2F&amp;rct=j&amp;q=websockets​%20demo&amp;ei=IVt2TN2tBYP78AaL8qXCBw&amp;usg=A​FQjCNGw6nZv0wO42uzUnHhWcD0vcKNULg&amp;cad=rja (1 hits)
12:17 MojoGuest259 /name
12:19 yko MojoGuest259: you mean /nick ?
12:23 MojoGuest259 dunno never used irc =D
12:23 MojoGuest259 just got here by the mojo websocket demo
12:23 MojoGuest259 really cool
12:24 yko ye :)
12:24 MojoGuest259 is now known as WEBSOCKET
12:24 yko haha
12:25 GianlucaCasati joined #mojo
12:25 GianlucaCasati hi all
12:25 * yko waves.
12:26 GianlucaCasati i just tryed to install Mojolicious-0.999929 on a strawberry Perl, but, i had 2 test failed
12:26 GianlucaCasati where , how can i report them ...or anyone is interested which test failed?
12:27 WEBSOCKET left #mojo
12:27 GianlucaCasati it was in t\mojolicious\lite_app.t
12:27 yko Which ones?
12:28 GianlucaCasati ok 81 - right content
12:28 GianlucaCasati -- More  -- #   Failed test 'right status'
12:28 GianlucaCasati #   at t\mojolicious\lite_app.t line 696.
12:28 GianlucaCasati #          got: undef
12:28 sri GianlucaCasati: already fixed on github
12:28 GianlucaCasati #     expected: '413'
12:28 GianlucaCasati #   Failed test 'right content'
12:28 GianlucaCasati #   at t\mojolicious\lite_app.t line 697.
12:28 GianlucaCasati #          got: ''
12:28 GianlucaCasati #     expected: 'called, '
12:28 GianlucaCasati was kicked by sri: GianlucaCasati
12:28 yko a good way to report bugs is mojolicious google group at http://groups.google.com/group/mojolicious
12:29 yko ouch
12:29 yko sri: youre fast
12:30 sri not fast enough :/
12:30 GianlucaCasati joined #mojo
12:30 yko we'll never know. maybe GianlucaCasati had another 100 lines in buffer :D
12:30 sri GianlucaCasati: use pastie next time please
12:30 yko GianlucaCasati: it's not polite to just paste 3+ lines of code in channel
12:30 GianlucaCasati sorry ,i had to paste in another way
12:31 sri GianlucaCasati: bug is already fixed on github
12:31 yko gist.github.com or any other you like :)
12:32 yko oh! true.blood.s03e10.ru ...
12:32 GianlucaCasati http://pastie.org/1117777
12:33 GianlucaCasati http://pastie.org/1117779
12:33 sri http://github.com/kraih/mojo/commit/c3​61b6f40ccbfee4caaaf40a28ab12406e4b85ce # that was the fix
12:33 GianlucaCasati ok , i just wanted to contribute, i don't use Mojo yet, still waiting for a 1.0 version
12:34 sri we are cleaning up the design for 1.0 right now :)
12:34 GianlucaCasati cool
12:35 GianlucaCasati i think i'm going to use Mojo in my Perl project, it is really at the beginning and now i'm using Tk as a GUI, but I would like to use Mojo instead
12:56 GianlucaCasati left #mojo
13:02 und3f is now known as und3f[A]
13:11 go|dfish left #mojo
13:13 pkkm What is Mojo?
13:14 sri the best thing since sliced bread
13:16 marcus What is sliced bread?
13:16 marcus Is this jeopardy?
13:16 sri who is marcus?
13:17 sri marcus: btw. http://nodeknockout.posterous.com/countd​own-to-knockout-post-11-deploying-to-jo # joyents new node.js based smart platform
13:17 MojoGuest278 joined #mojo
13:17 MojoGuest278 From: http://www.google.co.in/search?hl=en&amp;clie​nt=firefox-a&amp;hs=s0v&amp;rls=org.mozilla%3​Aen-US%3Aofficial&amp;q=websocket+demo&amp;aq​=f&amp;aqi=g1&amp;aql=&amp;oq=&amp;gs_rfai= (1 hits)
13:17 sri they are going heroku
13:17 pkkm left #mojo
13:17 MojoGuest278 hi
13:17 * sri waves
13:17 marcus oh hai
13:18 MojoGuest278 hello
13:18 sri interesting they managed to get http://no.de
13:19 DaTa CSU has has managed to get ju.de :)
13:20 sri Oo
13:24 DaTa oh, doesn't work anymore
13:29 MojoGuest278 why?
13:29 MojoGuest278 left #mojo
14:47 yko left #mojo
14:49 yko joined #mojo
14:52 Htbaa left #mojo
15:00 Htbaa joined #mojo
15:05 koban left #mojo
15:06 yko left #mojo
15:07 yko joined #mojo
15:10 y0j left #mojo
15:18 chansen_ left #mojo
15:25 y0j joined #mojo
15:32 y0j left #mojo
15:35 y0j joined #mojo
16:01 yko left #mojo
16:05 sri interesting, hypnotoad is 20% faster than daemon_prefork, not sure why though Oo
16:13 sri had no idea the dynamic worker pool code was that expensive
16:14 sri the more cores you have the more you gain with hypnotoad
16:28 janus ALL CORES TO THE HYPNOTOAD!
16:29 sri \o/
16:31 Akron left #mojo
16:39 dotan left #mojo
16:46 cristi8 left #mojo
16:55 yko joined #mojo
17:04 sri http://www.xtranormal.com/watch/6995033/ # lol
17:07 zecrazytux hmm, I can't find any redirect method in the guides, is there one ?
17:08 sri it's in the tutorial
17:08 sri $self->redirect_to
17:09 zecrazytux ops :p
17:09 zecrazytux thanks :)
17:17 crab what are pause/resume for?
17:32 sri to delay a response
17:34 go|dfish joined #mojo
17:35 sri $self->write and $self->write_chunk use it for example
17:40 sri these days you don't use them much directly
17:46 vti where is that super server?!
17:46 vti !!
17:55 yko gg
17:55 yko http://korshak.name/ra/whatdydo.jpg
18:13 polvo i have a newbie question. O:) which part of data should be processed by a controller and which by a template engine?
18:14 polvo e.g. i need to reload a form with some data. the data might be either in a DB or be in a GET/POST request. so, where should it be checked which data is more recent and therefore should be displayed?
18:23 yko in controller
18:24 yko sub index { my $c = shift; my $username = $c->param('username') || get_from_db('username') }
18:24 yko then stash username and use it in template
18:26 sri you don't process data in the template, you just display it
18:28 polvo got it
18:29 polvo yko, i could do the same thing in TT, that's what i meant
18:32 vti polvo: btw, automatic field fillin is already done via TagHelpers plugin
18:33 polvo TT or Mojo plugin?
18:33 vti you can use helpers to build form elements in tt too
18:34 vti h.input(name => 'foo')
18:34 vti and when there is a GET/POS foo field it will be filled it
18:34 vti POST
18:38 crab can i override the built-in TagHelpers?
18:39 vti cawhy? you can create your own tags
18:39 * vti is a mr. typo
18:40 crab i know i can.
18:40 crab but if i do $app->renderer->add_helper(input => ...), will it do the right thing?
18:41 sri it will
18:41 crab great.
18:49 awnstudio joined #mojo
18:51 marcus christian social union?
18:52 sri one of the biggest political parties in germany
18:52 marcus not nazis?
18:53 sri not at all
18:54 marcus was just wondering why they would register ju.de
18:55 sri jude law fans?
18:55 marcus maybe they like the book - http://duckduckgo.com/Jude_(novel)
18:56 marcus I've switched from google to duckduckgo in chrome now
18:56 marcus it's powered by perl!
18:56 marcus prrrl
18:56 vti perl? is it still alive?
18:57 marcus I love that I can do nerdy stuff like !gmaps beer palace
18:57 marcus or !define wanker
19:01 marcus http://duckduckgo.com/?q=regexp+/(.*)\s(.*)/+ddg+gadfg too nerdy :)
19:07 arthas left #mojo
19:12 nuclon joined #mojo
19:13 marcus oops, sukria unfollowed me today. Maybe he just found out I'm an op in here.
19:14 vti marcus: :D
19:15 marcus Tempted to tweet "Got unfollowed by @sukria today. I knew my #mojolicious affiliation would come back to haunt me."
19:18 sri lol
19:19 marcus I'll du it for the lulz.
19:19 perlrocks Twitter: "Got unfollowed by @sukria today. I knew my #mojolicious affiliation would come back to haunt me." --marcusramberg http://twitter.com/marcusr​amberg/status/22202806293
19:19 MojoGuest762 joined #mojo
19:20 MojoGuest762 left #mojo
19:22 perlrocks Twitter: "Got unfollowed by @sukria today. I knew my #mojolicious affiliation would come back to haunt me. (via @marcusramberg)" --vtivti http://twitter.com/vtivti/status/22203019517
19:24 perlrocks Twitter: "viva la revolucion! ♥ RT @marcusramberg: Got unfollowed by @sukria today. I knew my #mojolicious affiliation would come back to haunt me." --kraih http://twitter.com/kraih/status/22203093475
19:24 vti marketing is tough
19:27 sri it's an art
19:28 marcus Life is hard / and so am I / better give me something / So I don't die
19:28 * marcus is encoding Klub.Mikki.Mausa.Letnie.kanikuly for the iPad
19:32 marcus yay, thanks for the retweets. Seems I got @meraxes as a replacement for sukria
19:33 nuclon marcus: I have "Mickey Mouse Clubhouse" in Ukrainian. wanna some? :)
19:34 sri Oo
19:34 marcus nuclon: My daughter only understands russian :)
19:39 nuclon marcus: how old is she?
19:40 marcus nuclon: 18 months :p
19:41 MojoGuest783 joined #mojo
19:41 MojoGuest783 left #mojo
19:46 vti every child in the world should know russian at the age of 18 months :D
19:47 xantus_ or english
19:51 sri i thought chinese was the next big language? thats what firefly taught us!
19:56 nuclon optimist learns English, pessimist learns Chinese. Realist learns how to use a gun..
20:02 sri i heard in norway they learn moose hunting in preschool
20:06 xantus_ Moose.pm should be hunted and shot
20:09 vti !tweet Moose is not modern perl at all!
20:09 perlrocks vti: http://twitter.com/perlrocks/status/22205815257
20:10 sri ohoh, the secret moose police might hunt you down now :o
20:12 vti your twitter bot! ;p
20:12 xantus_ ;)
20:12 sri :O
20:13 * sri grabs the emergency bag and runs to leave the country
20:13 vti where? :)
20:13 sri *crickets*
20:26 xantus_ sri: I notied you're using a DEBUG constant
20:27 xantus_ warn "foo" if DEBUG;
20:27 xantus_ wouldn't it be better to use DEBUG && warn "foo";
20:28 xantus_ for compile time constant exclusion
20:28 xantus_ or does perl not care either day
20:28 xantus_ s/day/way/
20:28 sri i think both get optimized away
20:32 sri perl -MO=Deparse -e 'use constant DEBUG => 0; print "FOO!" if DEBUG; print "BAR!"'
20:32 sri yes it does
20:41 und3f[A] is now known as und3f
20:49 perlrocks Twitter: "@ @ Sukria marcusramberg mojolicious # я тоже и не жалею:)" (sw) --sharifulin http://twitter.com/sharifulin/status/22208168148
20:50 sri hmm, actually i might be able to get rid of pause/resume entirely
20:51 nuclon left #mojo
20:52 sri async would just work
21:04 perlrocks Twitter: "@sharifulin No, I think he unfollowed you because you always tweet in cyrillic :-D #mojolicious" --marcusramberg http://twitter.com/marcusr​amberg/status/22209125339
21:29 perlrocks Twitter: "@SteveDrake Seemed mojolicious to me.  I mean, Ryan Seacrest was there.  BTW, How's your Pepsi refresh project going...can I help?" --jgibbard http://twitter.com/jgibbard/status/22210774614
21:34 marcus oh noes. social media retard talking about something being mojolicious
21:34 sri grrrr
21:35 sri GIT TO DA CHOPPA!
21:38 ash_ joined #mojo
21:39 ash_ is there a way to get to the session id with mojo?
21:39 sri what session id?
21:40 sri by default there is none
21:40 perlrocks Twitter: "jgibbard: @SteveDrake Seemed mojolicious to me.  I mean, Ryan Seacrest was there.  BTW, How's your Pepsi refresh p... http://bit.ly/cVV2jY" --jgfirehose http://twitter.com/jgfirehose/status/22211463449
21:40 sri oh cmon...
21:41 ash_ hmm, i wonder what the best way of coming up with a guid for each session is... i was just hoping it already did that :P
21:41 sri none needed for sessions
21:42 ash_ yes, well, i have a need for a guid for each session for another piece of software
21:42 sri generally sha1(username + time + rand) is quite good
21:43 ash_ ya, i was about to do that for now
21:46 yko left #mojo
21:47 perlite left #mojo
21:47 xantus_ sri: nice, I did not know you could run deparse that way
21:47 perlite joined #mojo
21:52 sri it's damn useful
21:53 sri down to one test fail with my no pause/resume branch :)
21:55 sri async just works, quite fun
21:56 sri basically trading $tx->pause/resume for $tx->start (which can be automatically called almost always)
22:09 ltriant joined #mojo
22:40 Htbaa left #mojo
23:01 fod joined #mojo
23:12 su-bzero_ joined #mojo
23:16 su-bzero left #mojo
23:27 sri yay all tests pass, good bye pause/resume :D
23:44 sri http://mongrel2.org/ci/72dae993fc # /dev/null is better than MongoDB!!! LOL!
23:48 ash_ left #mojo
23:49 ash_ joined #mojo
23:50 [1]awnstudio joined #mojo
23:54 awnstudio left #mojo
23:54 [1]awnstudio is now known as awnstudio

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