Camelia, the Perl 6 bug

IRC log for #mojo, 2011-10-06

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

All times shown according to UTC.

Time Nick Message
00:24 GitHub92 joined #mojo
00:24 GitHub92 [mojo] kraih pushed 1 new commit to master: http://git.io/x-EOXQ
00:24 GitHub92 [mojo/master] added a few more message size limit tests - Sebastian Riedel
00:24 GitHub92 left #mojo
00:38 rsimoes left #mojo
00:55 MojoGuest331 joined #mojo
00:55 MojoGuest331 From: http://blog.kraih.com/perl-is-ready-for-html5 (1 hits)
00:55 MojoGuest331 left #mojo
01:41 shonorio joined #mojo
01:42 alnewkirk joined #mojo
04:06 sri woot, found a bug that only shows up in 1 of 1000 test runs
04:06 sri turns out it's not really a bug but a flaw in the test
04:09 sri it's a mixture of kernel send buffer size, mojo chunk size and mojo message size limit
04:09 minimalist joined #mojo
04:11 Foxcool joined #mojo
04:14 minimalist joined #mojo
04:15 grim_fandango joined #mojo
04:15 minimalist left #mojo
04:20 GitHub63 joined #mojo
04:20 GitHub63 [mojo] kraih pushed 1 new commit to master: http://git.io/qW4MfA
04:20 GitHub63 [mojo/master] use more realistic values for upload tests - Sebastian Riedel
04:20 GitHub63 left #mojo
04:34 perlrocks Twitter: "perlcodesample: Mojolicious 2.0 is now required to Perl5.10.1 http://t.co/OIbvmoiW" (ja) --perlironman http://twitter.com/perlironm​an/status/121805584948412416
04:49 jwang I just found out Larry Wall's gravatar is Camelia
04:49 jwang thought that was interesting
04:57 GitHub32 joined #mojo
04:57 GitHub32 [mojo] kraih pushed 1 new commit to master: http://git.io/bbP32w
04:57 GitHub32 [mojo/master] improved Mojo::IOWatcher backend detection slightly - Sebastian Riedel
04:57 GitHub32 left #mojo
04:58 sri he has been using camelia on twitter like forever
04:59 tempire freaking steve jobs.
04:59 tempire I can't even think of someone who has been so widely 'loved' without haters.
05:01 tempire I don't have a turtle neck, but I have a black sweater and jeans ready for steve jobs day!
05:07 sri this could be the end of apple
05:11 sri i bet the whole "lets differentiate the different iphone models with software features" was the first real post-steve decision
05:18 marcus they did that before
05:18 marcus multitasking was only available on 3gs or so
05:28 batman joined #mojo
05:45 kmx joined #mojo
05:46 GitHub58 joined #mojo
05:46 GitHub58 [mojo] kraih pushed 1 new commit to master: http://git.io/bunHOw
05:46 GitHub58 [mojo/master] improved Mojo::IOWatcher backend detection again - Sebastian Riedel
05:46 GitHub58 left #mojo
06:01 sromanov joined #mojo
06:15 l3l1p joined #mojo
06:22 koban joined #mojo
06:28 perlrocks Twitter: "@potyl I need soo much less ;-) #mojolicious" --marcusramberg http://twitter.com/marcusramb​erg/status/121834196133093377
06:34 Eugene joined #mojo
06:49 batman joined #mojo
06:51 MojoGuest202 joined #mojo
06:51 MojoGuest202 From: http://www.google.ru/url?sa=t&source=web&amp​;cd=6&ved=0CEkQFjAF&url=http%3A%2F%2Fdev​.xantus.org%2F&rct=j&q=mojolicious%20web​sockets&ei=tk-NTse0NOb04QSehLWvAQ&usg=AF​QjCNGw6nZv0wO42uzUnHhWcD0vcKNULg&cad=rja (1 hits)
07:07 arthas joined #mojo
07:10 MojoGuest21 joined #mojo
07:10 MojoGuest21 From: http://www.google.co.id/url?sa=t&source=​web&cd=10&ved=0CGEQFjAJ&url=http​%3A%2F%2Fdev.xantus.org%2F&rct=j&q=e​xtjs%20demo&ei=EFSNTpu3FY_irAf78v2jAQ&am​p;usg=AFQjCNGw6nZv0wO42uzUnHhWcD0vcKNULg (1 hits)
07:11 osprey joined #mojo
07:11 MojoGuest21 sdfsdsdgsdg.
07:12 tabbi joined #mojo
07:12 tabbi left #mojo
07:14 Vandal joined #mojo
07:14 cosmincx joined #mojo
07:26 sugar joined #mojo
07:42 tempire http://www.youtube.com/watch?v=iJ4T9CQA0UM
08:18 Nafigator joined #mojo
08:23 Nafigator Hi everybody! I installed mojo 1.99 on windows 7 and trying example from Mojolicious Guide (my code is here http://pastie.org/2648321), but i'm resive 324 (net::ERR_EMPTY_RESPONSE) in Chrome and in cmd i see log like: [Thu Oct  6 14:23:15 2011] [debug] Dispatching callback.
08:23 Nafigator [Thu Oct  6 14:23:15 2011] [debug] Template "index.html.ep" not found.
08:23 Nafigator [Thu Oct  6 14:23:15 2011] [debug] Template "index.html.ep" not found.
08:23 Nafigator [Thu Oct  6 14:23:15 2011] [debug] Nothing has been rendered, assuming delayed r
08:23 Nafigator esponse.
08:24 Nafigator can somebody help?
08:26 Nafigator whoid casimo
08:27 Nafigator ooops
08:29 MojoGuest208 joined #mojo
08:29 MojoGuest208 From: http://www.google.co.id/url?sa=t&source=​web&cd=10&ved=0CGEQFjAJ&url=http​%3A%2F%2Fdev.xantus.org%2F&rct=j&q=e​xtjs%20demo&ei=EFSNTpu3FY_irAf78v2jAQ&am​p;usg=AFQjCNGw6nZv0wO42uzUnHhWcD0vcKNULg (2 hits)
08:30 MojoGuest682 joined #mojo
08:30 MojoGuest682 From: http://dev.xantus.org/ (1 hits)
08:30 MojoGuest208 kj
08:31 SuperNafigator joined #mojo
08:31 MojoGuest208 kil
08:33 Nafigat0r joined #mojo
08:35 marcus whoid cosimo indeed
08:53 marcus sri: how did I manage to do this? http://nordaaker.com/docs/skitch/​Server_Error-20111006-105145.jpg :D
08:55 marcus oh, getting some fun warning too - Use of inherited AUTOLOAD for non-method Dimu3::Folder::dumper() is deprecated at script/../lib/Dimu3/Folder.pm
08:55 marcus AUTOLOAD magic \o/
09:04 marcus woot.
09:04 marcus I'm using Mojolicious::Plugin::Authentication
09:05 marcus and it seems to be calling load_user for |every| time I call $self->user \o/
09:05 marcus http://nordaaker.com/docs/skitch/S​ystemUIServer-20111006-110531.jpg # joy
09:12 MojoGuest840 joined #mojo
09:12 MojoGuest840 From: http://www.google.ru/search?q=extjs+and+websoc​ket&ie=utf-8&oe=utf-8&aq=t&rls​=org.mozilla:ru:unofficial&client=firefox (1 hits)
09:21 judofyr joined #mojo
09:52 spleenjack joined #mojo
10:01 preflex_ joined #mojo
11:24 shonorio joined #mojo
11:39 spleenjack joined #mojo
11:53 rhaen joined #mojo
12:12 gbacon joined #mojo
12:32 SSergey joined #mojo
12:33 SSergey Does anyone knew, why on cpan.org old version of Mojoilicous?
12:34 ysyrota joined #mojo
12:40 crab what old version?
12:40 purl it has been said that old version is already tagged
12:44 SSergey Hmm, seems problems on my side, sorry.
12:47 bosphorus joined #mojo
12:57 rhaen np :) s.c.o lags behind a little bit.
12:57 rhaen maybe your index files are old?
12:58 rhaen try "reload index" from your cpan shell to update them manually
12:58 rhaen What I like to do is to follow the github repo from kraih
12:59 rhaen and checkout the latest tag and install it.
12:59 spleenjack joined #mojo
13:01 henq joined #mojo
13:03 crab hello rhaen.
13:03 rhaen hej crab :)
13:03 * rhaen waves
13:03 rhaen How's life in Mojo land?
13:04 judofyr Mojoish
13:04 rhaen awesome :)
13:17 marcus it's mojolicious
13:17 rhaen that's cool.
13:17 rhaen Due to illness I've found some time now.
13:17 marcus I hesitate to cheer over this.
13:17 rhaen Maybe I should work on my first Mojolicious plugin
13:17 marcus :)
13:17 marcus sounds cool.
13:17 purl rumour has it sounds cool. is any of that discussion on a mailing list somewhere
13:18 rhaen hm, just something very simple.
13:18 rhaen I need you to review the stuff when it's done :)
13:18 rhaen just 10 lines or so
13:20 rhaen *ugh* homebrew for macosx is just ....(/&/(&/$/&$/(&%$%§&%*!
13:21 rhaen it's dependency tracking is a horror
13:21 rhaen ah, installing XML::Parser
13:22 rhaen the question would be: Are you willing to install the full CPAN ([y]/n)?
13:29 crab rhaen: cpan should just ask that question at startup and save everyone some time ;-)
13:30 rhaen yup.
13:30 rhaen I think there is a module for that. ACME::CPAN (I think)
13:34 rhaen nah, it isn't that one. Let me search :)
13:42 spleenjack joined #mojo
13:50 driller_work joined #mojo
13:50 driller_work moo all!Q
13:59 andrefs joined #mojo
14:08 crab l!Q
14:13 mattastrophe joined #mojo
14:17 perlrocks Twitter: "I already ver2.0 Mojolicious. I fast" (ja) --nao666hk http://twitter.com/nao666hk​/status/121952162921201664
14:19 koban left #mojo
14:20 KayT3 joined #mojo
14:25 driller_work typo ;-)
14:25 MojoGuest138 joined #mojo
14:37 batman joined #mojo
14:39 metaperl joined #mojo
14:46 MojoGuest449 joined #mojo
14:46 MojoGuest449 From: http://www.google.com/search?client=​ubuntu&channel=fs&q=html5+ir​c+client&ie=utf-8&oe=utf-8 (1 hits)
14:50 metaperl|2 joined #mojo
15:01 zenbitz joined #mojo
15:03 zenbitz can I paste a 1-liner?
15:03 zenbitz trying to figure out how to get the result/html of a POST using mojo eval
15:06 zenbitz oh, I think I am getting somewhere...
15:06 zenbitz got a stacktrace anyway
15:10 spleenjack joined #mojo
15:13 Vandal joined #mojo
15:38 pishposh joined #mojo
15:53 zenbitz hmm... if I do post_form({file_data=>'file_name'', enc_type=>"multi-part/form",submit=>'Upload}
15:54 zenbitz I get 'cannot call method asset on undefined'  from the line $self->req->upload('file_d​ata')->asset->get_chunk()
15:54 zenbitz I am sure this is just a typo or misunderstanding of how to use eval
15:59 Alias joined #mojo
16:03 Alias_ joined #mojo
16:11 kaare joined #mojo
16:35 SmokeMachine joined #mojo
16:38 sri marcus: stop breaking things!
16:41 trone_ joined #mojo
16:45 l3l1p joined #mojo
17:14 noganex_ joined #mojo
17:14 Eugene joined #mojo
17:17 marcus sri: but I'm so good at it!
17:22 sromanov joined #mojo
17:33 batman joined #mojo
18:02 sri marcus: wonder if i should marcus-proof it, considering the "feature" is deprecated
18:03 sri i have a solution to make it give you a nice error message
18:03 sri Carp::croak(qq/Undefined subroutine &${package}::$method called/)
18:03 sri unless Scalar::Util::blessed($self) && $self->isa(__PACKAGE__);
18:04 sri it would be equal to the error you get without AUTOLOAD
18:04 crab that would be good
18:05 Trosha joined #mojo
18:05 sri crab: would it really?
18:05 sri it's 5 more lines of code that need to be maintained, and the deprecation warning ruins testing
18:07 Trosha Hello all, I have a little problem with routes
18:07 Trosha $r->route('/Болезнь/:title', title => qr/\w+/)->to('diseases#info');
18:07 Trosha Give me a 404-th page and in development log:
18:07 Trosha [Thu Oct  6 18:02:38 2011] [debug] Dispatching "Inhealth::Diseases->info".
18:07 Trosha [Thu Oct  6 18:02:38 2011] [error] Compilation error at /usr/share/perl/5.10/utf8_heavy.pl line 198.
18:07 Trosha Compilation failed in require at (eval 256) line 1.
18:07 Trosha But route
18:07 Trosha $r->route('/Болезнь/:title', title => qr/\w+/)->to(cb => sub {
18:07 Trosha my $self = shift;
18:07 Trosha $self->render_text('Hello World!');
18:07 Trosha });
18:07 Trosha Give me a normal result
18:07 Trosha was kicked by sri: Your behavior is not conducive to the desired environment.
18:07 Trosha joined #mojo
18:07 sri please don't ever paste into an irc channel
18:08 Trosha ssory, I had never use irc before
18:09 sri you can use a paste site like gist.github.com
18:09 Trosha http://pastebin.com/i4nyfvqx
18:09 Trosha here is a description of my problem in Mojo, can anyone help please?
18:09 Trosha also, I have been used UTF-8 in urls, so use utf8; in all files
18:10 * marty waves
18:11 Trosha other function of class Inhealth::Diseases and routes which works with it, works fine
18:11 marty Trosha.  If you replace Болезнь with a latin word, does it work?
18:11 Trosha I'll test, but it's strange bacause inline callback is working fine with Russian language
18:12 sri utf8 route should be fine, since the callback route works
18:12 sri it's prolly something we don't see
18:12 marty Ya, it should work. Was just wondering if changing it would point to something else
18:15 sri crab: you would add the AUTOLOAD hack?
18:15 * sri nods at marty
18:15 Trosha eeeem.... strange bug,but when I put up this function at the top of class code, it's work =\
18:16 Trosha in this case it isn't work http://pastebin.com/x8vdzDeN
18:16 GitHub74 joined #mojo
18:16 GitHub74 [mojo] kraih pushed 1 new commit to master: http://git.io/PCXQpw
18:16 GitHub74 [mojo/master] made Mojolicious a little more marcus-proof - Sebastian Riedel
18:16 GitHub74 left #mojo
18:16 sri marcus: there you go :)
18:17 Trosha and this code are working http://pastebin.com/m3UkzZXJ
18:17 trone_ joined #mojo
18:21 marty Trosha:  I see ... in your subs.  Is that just a pastebin artifact?
18:22 Trosha I replace code with ...
18:23 GitHub108 joined #mojo
18:23 GitHub108 [mojo] kraih pushed 1 new commit to master: http://git.io/_FEP6w
18:23 GitHub108 [mojo/master] use more marcus-proof AUTOLOAD pattern everywhere - Sebastian Riedel
18:23 GitHub108 left #mojo
18:25 sri seems like a good idiom for sane AUTOLOAD subclassing
18:26 marty Trosha.  Your error appears to be caused by something else. I would suggest ripping out all subs except for info and then add them back in one at a time.
18:49 sugar joined #mojo
18:53 batman joined #mojo
19:00 GitHub27 joined #mojo
19:00 GitHub27 [mojo] kraih pushed 1 new commit to master: http://git.io/jB7oJw
19:00 GitHub27 [mojo/master] fixed small memory leak in Mojo::DOM - Sebastian Riedel
19:00 GitHub27 left #mojo
19:23 D4RK-PH0ENiX joined #mojo
19:47 andrefs joined #mojo
20:06 metaperl|2 RIP Steve Jobs - http://www.apple.com/
20:13 mattastrophe joined #mojo
20:26 henq joined #mojo
20:42 abra joined #mojo
21:03 mike_ joined #mojo
21:12 batman joined #mojo
21:16 marcus sri++
21:18 smpb joined #mojo
21:19 sri marcus: what's weird is that it seems to be deprecated like forever
21:19 marcus maybe they should remove it some time
21:19 marcus I'm on 5.14 ...
21:20 l3l1p joined #mojo
21:21 sri oh, warning doesn't trigger on 5.12
21:21 sri umm 5.10.1
21:21 sri it triggers since 5.12
21:22 marcus so not forever >(
21:23 sri http://www.perlmonks.org/?node_id=328564
21:23 sri that's from 2004
21:24 sri weird
21:24 sri aaah
21:24 sri it was enabled with use warnings before
21:24 sri and goes back further
21:24 sri 5.8 at least
21:25 xantus[] joined #mojo
21:25 sri perl5.10 -Ilib -e'use Mojo::Base "Mojolicious"; lala()'
21:26 sri i hate warnings you can't disable
21:27 xantus[] mask warnings?
21:27 trone joined #mojo
21:32 sri in fact, i think you always should have to ask for warnings in library code
21:32 sri s/in library code//
22:15 xantus[] would it be hard to implement sendfile?
22:26 MojoGuest597 joined #mojo
22:26 MojoGuest597 From: http://news.ycombinator.com/item?id=1277067 (9 hits)
22:26 metaperl joined #mojo
22:49 sri xantus[]: what would be the point?
22:53 xantus[] do you know the benefits of kernel level copy
22:54 sri of course, but what do you need it for
22:54 xantus[] oh, streaming large files
22:54 sri if youre using mojolicious to serve static files you're doing it wrong
22:55 xantus[] ;)
22:55 xantus[] I'll just use a handoff
22:55 xantus[] I
22:56 sri there are so many things we should optimize first before even thinking about sendfile :)
22:57 xantus[] It was just a cursory question anyway
22:58 xantus[] I have this thing using a fd handoff from mojo to another perl app
22:58 sri reminds me of an unsolved api design problem though
22:58 xantus[] pretty sweet.  Kinda like my hack that ripped a fd from apache, to a perl app
22:58 xantus[] that let us do comet back in 2005
22:58 sri streaming uploads not into files but backend apps
23:00 xantus[] hmm
23:08 osprey left #mojo
23:49 grim_fandango joined #mojo

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