Camelia, the Perl 6 bug

IRC log for #mojo, 2011-10-21

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

All times shown according to UTC.

Time Nick Message
00:06 ispeak joined #mojo
00:39 crab "furster"?
00:59 xantus[] what did you call me
01:35 Alias_ joined #mojo
01:54 xaka joined #mojo
03:10 noganex joined #mojo
05:11 tempire well, I did it
05:11 tempire finally
05:11 tempire found a picture of crab
05:11 tempire http://i.imgur.com/y1A1t.jpg
05:11 perlrocks Twitter: "I unsuccessfully to being downhearted installations Mojolicious. What do you think the proxy is all bad. Want to demonstrate home early." (ja) --hsksyusk http://twitter.com/hsksyusk​/status/127250733484621824
05:14 MojoGuest920 joined #mojo
05:14 MojoGuest920 From: http://extjstutorial.org/extjs/moj​o-websocket-demo-extjs-irc-client/ (1 hits)
05:21 MojoGuest238 joined #mojo
05:21 MojoGuest238 From: http://extjstutorial.org/extjs/moj​o-websocket-demo-extjs-irc-client/ (2 hits)
05:24 kvorg joined #mojo
05:39 crab tempire: haha
06:07 arpadszasz joined #mojo
06:07 judofyr joined #mojo
06:09 D4RK-PH0ENiX joined #mojo
06:30 MojoGuest357 joined #mojo
06:30 MojoGuest357 From: http://www.google.com/url?sa=t&rct=j&amp​;q=html5%20irc%20client&source=web&c​d=4&sqi=2&ved=0CDUQFjAD&url=http​%3A%2F%2Fdev.xantus.org%2F&ei=dRGhTtbTLe​LliALSx4BM&usg=AFQjCNGw6nZv0wO42uzUnHhWc​D0vcKNULg&sig2=W3MOrNAqOqZGlbRQYP33aw (1 hits)
06:33 MojoGuest251 joined #mojo
06:33 MojoGuest251 From: http://archfinch.com/item/2275e/html5-irc-clie​nt-built-with-mojolicious-extjs-and-websockets (3 hits)
06:34 Foxcool joined #mojo
06:40 bosphoru_ joined #mojo
06:50 preflex joined #mojo
06:53 Vandal joined #mojo
06:53 perlrocks Twitter: "perlcodesample: http://t.co/fhyW8spt Mojolicious I have been recognized in Perl" (ja) --perlironman http://twitter.com/perlironm​an/status/127276405686943745
07:07 batman joined #mojo
07:07 preflex joined #mojo
07:22 batman joined #mojo
07:23 sugar joined #mojo
07:29 koban joined #mojo
07:38 migo joined #mojo
07:41 cosmincx joined #mojo
07:49 dolmen joined #mojo
07:50 Eugene joined #mojo
07:57 cosmincx joined #mojo
08:14 arpadszasz joined #mojo
08:43 perlrocks Twitter: "Mojolicious not install anyway. Including over." (ja) --hsksyusk http://twitter.com/hsksyusk​/status/127303952919310336
08:44 sri crab: "further"
08:52 spleenjack joined #mojo
09:21 cosmincx joined #mojo
09:23 crab oh :-)
09:40 arpadszasz joined #mojo
10:17 mire joined #mojo
10:25 batman joined #mojo
11:15 Shaeto joined #mojo
11:16 dolmen joined #mojo
11:24 perlrocks Twitter: "Mojolicious 2.0, an interesting web framework for Perl http://t.co/QcycK1Nq" (es) --deurbanoa http://twitter.com/deurbano​a/status/127344439743102976
11:24 perlrocks Twitter: "Mojolicious 2.0, an interesting web framework for Perl http://t.co/6VyzUY4m # NEWS # programming" (es) --jdgiraldob http://twitter.com/jdgiraldo​b/status/127344441085263872
11:24 perlrocks Twitter: "Mojolicious 2.0, an interesting web framework for Perl http://t.co/2Ww6o2q8" (es) --carlos_polar http://twitter.com/carlos_pol​ar/status/127344441966084096
11:24 perlrocks Twitter: "Mojolicious 2.0, an interesting web framework for Perl http://t.co/9MbysYWf" (es) --MortifExtol http://twitter.com/MortifExt​ol/status/127344444235186176
11:24 perlrocks Twitter: "Mojolicious 2.0, an interesting web framework for Perl http://t.co/d3o4iUfL" (es) --Talitos http://twitter.com/Talitos​/status/127344444805619713
11:24 perlrocks Twitter: "Mojolicious 2.0, an interesting web framework for Perl http://t.co/iXrz2a5j" (es) --MortifExtol http://twitter.com/MortifExt​ol/status/127344451646533632
11:27 perlrocks Twitter: "Mojolicious 2.0, an interesting web framework for Perl http://t.co/119TEnO0" (es) --KelvinSC http://twitter.com/KelvinSC​/status/127345288766697472
11:42 marcus cosimo: I think you're supposed to use h.l in the tt renderer no c.l .. The other one works by accident because it works in the controller :)
11:45 BinGOs joined #mojo
11:48 sri marcus: wasn't h. supposed to be removed?
11:48 marcus sri: no?
11:48 marcus where, when?
11:48 sri what's the point if it?
11:48 sri s/if/of/
11:49 sri i can only see disadvantages
11:51 geira joined #mojo
11:52 sri afair the only reason h. exists is because it predates helpers in controllers
11:52 rhaen ho.
11:53 rhaen btw - is there a way to detect the count of max_redirects of Mojo::UserAgent?
11:54 sri $tx->previous
11:54 sri and count the parents
11:55 rhaen checking docs
11:56 cosimo marcus: ok
11:57 cosimo marcus: where is this stuff documented btw?
11:58 crab joined #mojo
12:02 * sri still thinks marcus is wrong about using h. instead of c.
12:02 perlrocks Twitter: "Mojolicious 2.0, an interesting web framework for Perl: There are frameworks for Java, PHP, Javascript, Python, Rub ... http://t.co/Bi6esRkb" (es) --gallegofalcon http://twitter.com/gallegofal​con/status/127354139033341952
12:03 sri would be nice to have someone who really cares about TT clean up the renderer
12:03 sri i'm sure there's more cool stuff that could be done
12:04 sri like allowing helpers to be used as filters
12:20 perlrocks Twitter: "Mojolicious 2.0, an interesting web framework for Perl, Java, PHP, Javascript, Python, Ruby. For any modern programming language" (es) --INGBRIANT http://twitter.com/INGBRIAN​T/status/127358675437355008
12:38 dmn001 joined #mojo
12:38 dmn001 hi
12:43 abra joined #mojo
12:48 sugar joined #mojo
12:52 Sjors <perlrocks> Twitter: "Mojolicious 2.0, an interesting web framework for Perl, Java, PHP, Javascript, Python, Ruby. For any modern programming language" (es) --INGBRIANT http://twitter.com/INGBRIAN​T/status/127358675437355008
12:52 Sjors eh?
12:52 Sjors Java, PHP, Javascript, Python, Ruby? what do they have to do with Mojolicious?
12:52 diegok Sjors: I was wondering... I speek spanish..
12:52 diegok Sjors: translation is OK
12:53 diegok Sjors: is some kind of twitter spam
12:53 Sjors ah
12:53 Sjors yeah that makes sense
12:53 diegok :)
12:53 diegok what's nice is that mojolicious is a hot word for stupid spammers
13:08 andrefs joined #mojo
13:11 sri we really need more active windows developers
13:16 Vandal why?
13:17 sri http://groups.google.com/group/mojolicio​us/browse_thread/thread/a063bd934d51c05
13:19 BinGOs I saw that yesterday with v5.14.2 on MSWin32
13:20 sri it seems to happen a lot, but we have nobody to track it down
13:20 Vandal I've got the same tests fails with vojo 2.0
13:20 Vandal *mojo
13:21 Vandal on perl 5.10.1, win 7 64, cygwin
13:22 diegok hm, windows is hard. Let's go to de pub :-p
13:22 sri :)
13:22 sri i suppose most windows developers just accept the fact that they have to force install most modules
13:22 diegok s/\bde\b/the/
13:23 diegok sri: yes, and a lot of modules just doesn't work :(
13:24 BinGOs Well I would investigate, but I've only been using Mojo* stuff for a couple of days and then only the Mojo::IO* stuff.
13:24 diegok I've tried to install an app on a win box some years ago and there were some dists imposible to sort out. I ended using vbox.
13:24 sri BinGOs: i actually think it might be related to the Mojo::IO* layer :)
13:25 sri some socket quirk closing the connection too early or so
13:25 sri or it is the parser bug i fixed yesterday in master
13:25 BinGOs So, Mojo::IOLoop
13:26 BinGOs can a single loop handle multiple client connections and listeners ?
13:26 sri in fact, the out put of "prove -v -l t/mojolicious/upload_lite_app.t" might have some answers
13:26 sri BinGOs: absolutely
13:26 purl Oh my, yes.
13:27 BinGOs I got that impression, but then I doubted myself.
13:27 sri it's designed for thousands
13:27 BinGOs this is good. this is making evil possible.
13:28 sri it's not really considered an end user api though, just a portability layer for our servers and clients
13:28 diegok BinGOs: evil possible in windows, oh my!
13:29 BinGOs I'm writing an Net::IRC type thing using it.
13:29 Vandal sri, http://paste.org.ru/?wo7pgl
13:30 perlrocks Twitter: "2.0.3 Mojolicious http://t.co/a8GRjn7N" (sw) --campuscodi http://twitter.com/campuscod​i/status/127376163537555457
13:30 sri Vandal: thanks, now we know it's not a normal bug
13:30 marcus BinGOs: irccloud competitor? :)
13:30 BinGOs t/mojolicious/upload_lite_app.t just failed the same for 2.03 with (v5.14.2) built for MSWin32-x64-multi-thread
13:31 BinGOs marcus: er. no web stuff. just using the IOLoop
13:31 marcus BinGOs: aha
13:31 marcus BinGOs: bot?
13:31 purl bot is an artificial nonintelligence lesser than purl: like uri or a bottle or bound to #cpan for those that want just the "cpan stuff"
13:32 BinGOs kind of. I have this idea for something called Any::IRC, an abstraction over the various irc frameworks.
13:33 BinGOs Net::IRC has become difficult to require as a prereq, so I was looking for a ready-rolled 'event' type loop.
13:33 preflex joined #mojo
13:36 BinGOs Is there a pastebot here ?
13:36 sri Vandal: could you try "MOJO_EVENTEMITTER_DEBUG=1 MOJO_DAEMON_DEBUG=1 prove -v -l t/mojolicious/upload_lite_app.t"
13:36 marcus BinGOs: nope, don't think there is
13:36 BinGOs that kind of env var syntax won't work with cmd.exe
13:37 sri last windows i knew was xp or so :)
13:38 sri no idea what it can or can't do these days
13:38 Vandal sri, sec, its too big output
13:38 sri the one upload will be huge yea
13:40 Vandal damn how to redirect it to file?
13:40 sri http://www.microsoft.com/resources/​documentation/windows/xp/all/proddo​cs/en-us/redirection.mspx?mfr=true
13:40 sri </GoogleVoodoo>
13:42 BinGOs http://cpanidx.org/heh/fuckity
13:43 sri thanks
13:43 BinGOs sorry for the BinGOs standard output redirection filename
13:44 sri interesting
13:45 BinGOs Windows 2008 R2 x64 btw
13:46 Vandal http://www.2shared.com/document/yzvkcmCa/out.html
13:47 Vandal sorry it takes so long, Ive slow connection
13:48 sri i think i know where things go wrong
13:52 dlg left #mojo
13:53 Vandal where?
13:54 sri a huge request arrives, chunks get parsed, then the parser interrupts because of the max message size limit, the mojolicious dispatcher gets called and a 413 response written… but then somehow another rquest chunks sneaks in resulting in a second dispatch cycle, which then somehow closes the connection
13:55 sri the problem is most likely somewhere in Mojo::Server::Daemon or Mojo::Transaction::HTTP
13:55 sri maybe leftover handling
13:56 sri the extra chunk could be interpreted as a pipelined request with bad timing
13:56 sri just guess atm though
13:56 sri *guessing
13:57 Vandal hm
13:57 sri output of "MOJO_EVENTEMITTER_DEBUG=1 MOJO_USERAGENT_DEBUG=1 prove -v -l t/mojolicious/upload_lite_app.t" could be useful for comparison
13:57 sri then i would know the state of both sides
13:59 Vandal http://www.2shared.com/document/NDkKsPsu/out.html
14:00 sri thanks
14:00 sri comparing the chains of events it doesn't look so good though, they are almost equal
14:00 Vandal my pleasure
14:01 sri ok, my hunch was wrong
14:02 sri now i'm certain it is on a lower layer, the 413 response gets written on the server side but never arrives at the client
14:03 sri hmm
14:03 Shaeto left #mojo
14:04 mattastrophe joined #mojo
14:05 sri i think the server closes the connection, and client discovers it on a write event, which prevents reading
14:10 sri i do have a patch that might help
14:10 sri http://pastie.org/2735530
14:10 sri if someone wants to try it
14:12 koban left #mojo
14:14 sri if i'm right this should result in a more graceful and portable connection shutdown
14:18 Vandal nope
14:18 sri same result?
14:18 Vandal yes
14:18 sri :(
14:20 Vandal I've changed module which in the build not that installed
14:20 Vandal right?
14:21 sri oh, i don't know what you mean :/
14:21 Vandal .cpan
14:21 Vandal .cpan\build
14:22 sri add a warn "FOOBAR!\n"; if you want to be sure it's testing the right one
14:22 MojoGuest234 joined #mojo
14:22 MojoGuest234 From: http://www.google.com/url?sa=D&amp​;q=http://dev.xantus.org&amp;usg=A​FQjCNF_rM6vpg9DT3eh4McOgWqn8mn5Xw (3 hits)
14:23 Vandal yes, it is the right one
14:25 sri ok, i think it might be time for the crowbar
14:25 sri lets remove the fragile test
14:26 Vandal :)
14:27 sri message limits are tested elsewhere too
14:27 purl Sorry, I've never seen limits before.
14:27 sri purl: good for you!
14:27 purl sri: what?
14:28 sri Vandal: just to be sure, you're not having problems with t/mojolicious/lite_app.t?
14:28 Vandal sri, yes
14:29 sri Vandal: that yes means no? :)
14:29 Vandal sri, means no problems
14:29 sri \o/
14:32 Vandal since its only windows issue, there for it is not perl poroblem imho
14:33 kaare joined #mojo
14:34 sri the actual issue should be windows sockets working different from unix sockets
14:38 Vandal it is the first suspect :)
14:40 sri and it has a bloody knife in its hand
14:40 Vandal :)
14:44 crab i hate those bloody knives
14:48 BinGOs fails on the same test (t/mojolicious/upload_lite_app.t) in the same way on Cygwin
14:53 Vandal yes, i'm using cygwin
14:53 Vandal but what the difference?
14:53 purl the difference is irrelevant at the stage where language acquisition is not a conscious decision.
14:54 sri cygwin tends to fail mosre often
14:54 sri *more
14:57 Vandal more than what?
14:57 purl more than is necessary
14:57 sri activeperl
14:57 purl On the day Perl becomes "Active", Satan will be skating to work. or ActiveState's port of perl plus other so-called "goodies" or it looks like Satan is skating to work. or available from activestate or at http://www.activestate.com or not Free Software or Free Software or (qv 'lwall on activeperl') or http://activestate.com/Products/Do​wnload/Register.plex?id=ActivePerl
14:58 Vandal hm
14:58 sri i get mostly success stories from activeperl and fail reports for cygwin and strawberry
15:00 BinGOs which is strange considering that AS and Strawberry are basically the same perl, except compiled with different compilers.
15:01 batman left #mojo
15:06 Vandal I wonder how do the installing mojo on AS
15:07 Vandal I remember Catalyst gives me a lot of head ache
15:10 Vandal *do they
15:16 GitHub166 joined #mojo
15:16 GitHub166 [mojo] kraih pushed 1 new commit to master: http://git.io/KZMqPQ
15:16 GitHub166 [mojo/master] fixed Windows portability issue in upload_lite_app.t - Sebastian Riedel
15:16 GitHub166 left #mojo
15:18 sri ok, should install without problems now
15:19 mattastrophe joined #mojo
15:19 sri gonna push a new release of i get confirmation
15:20 sri *if
15:23 Vandal can I download this files?
15:23 sri from github
15:23 Vandal I don't see how
15:23 Vandal never use github
15:24 Vandal *used
15:24 sri actually, i think if you click on the download button on our website you get github master
15:24 sri http://latest.mojolicio.us should also redirect :)
15:24 Vandal oh you mean whole package?
15:27 perlrocks Twitter: "Mojolicious 2.0, an interesting web framework for Perl http://t.co/Fc9TvjTq" (es) --ProgramarFacil http://twitter.com/ProgramarFa​cil/status/127405685272096769
15:27 MojoGuest751 joined #mojo
15:27 MojoGuest751 From: http://www.google.rs/url?sa=t&amp;rct=j&amp;​q=extjs%20websockets&amp;source=web&amp;cd=8​&amp;sqi=2&amp;ved=0CHAQFjAH&amp;url=http%3A​%2F%2Fdev.xantus.org%2F&amp;ei=h42hTuL4Lc-Yh​QfB1r3ABA&amp;usg=AFQjCNGw6nZv0wO42uzUnHhWcD​0vcKNULg&amp;sig2=UUKVpo7Y7n3tE6LKswlFGg (1 hits)
15:28 Vandal http://pastie.org/2735877
15:28 Vandal it is from kraih-mojo-v2.03-5-g7fd6f62.tar.gz
15:28 sri good :)
15:29 MojoGuest751 test
15:29 MojoGuest830 joined #mojo
15:29 MojoGuest830 From: http://www.google.rs/url?sa=t&amp;rct=j&amp;​q=extjs%20websockets&amp;source=web&amp;cd=8​&amp;sqi=2&amp;ved=0CHAQFjAH&amp;url=http%3A​%2F%2Fdev.xantus.org%2F&amp;ei=h42hTuL4Lc-Yh​QfB1r3ABA&amp;usg=AFQjCNGw6nZv0wO42uzUnHhWcD​0vcKNULg&amp;sig2=UUKVpo7Y7n3tE6LKswlFGg (2 hits)
15:29 MojoGuest830 ok
15:38 perlrocks Twitter: "Mojolicious 2:04 by SRI - http://t.co/HvbmGUiI" (ms) --cpan_new http://twitter.com/cpan_new​/status/127408489889927168
15:39 sri fingers crossed
15:40 sri hope we manage 100% green on cpantesters again
15:43 BinGOs [16:42] <+relay2> PASS CPANPLUS/Mojolicious-2.04.tar.gz MSWin32-x64-multi-thread 6.1 perl-v5.14.2
15:43 sri \o/
15:43 BinGOs Not entirely sure why it put CPANPLUS as the author there. Maybe because I did it from a URL
15:46 xaka joined #mojo
15:46 BinGOs [16:45] <+relay2> PASS SRI/Mojolicious-2.04.tar.gz cygwin-thread-multi-64int 1.7.9(0.23753) perl-v5.14.1
15:47 sri \o/
15:55 glickbot joined #mojo
16:09 mercutioviz joined #mojo
16:14 perlrocks Twitter: "Mojolicious 2.0, an interesting web framework for Perl via @ genbetadev http://t.co/1eqnQXXW" (es) --michaelnavarro5 http://twitter.com/michaelnava​rro5/status/127417529902698497
16:20 metaperl joined #mojo
16:22 mattastrophe joined #mojo
16:22 perlrocks Twitter: "/ Mojolicious reference of jQuery library to load the JavaScript - http://t.co/XfR8p6Rd Introduction to Perl with sample code" (ja) --tantanmeshi http://twitter.com/tantanmes​hi/status/127419512755716096
16:25 GitHub30 joined #mojo
16:25 GitHub30 [mojo] kraih pushed 1 new commit to master: http://git.io/zkNV9g
16:25 GitHub30 [mojo/master] fixed HTTPS proxy bug in Mojo::UserAgent - Sebastian Riedel
16:25 GitHub30 left #mojo
16:29 Foxcool joined #mojo
16:31 perlrocks Twitter: "Mojolicious:: Data and Lite:: Here's a quick chat with jQuery and AJAX Model - http://t.co/24JxwVbI its programmers to Sunday Isuzu filtration" (ja) --tantanmeshi http://twitter.com/tantanmes​hi/status/127421881082052608
16:33 MojoGuest310 joined #mojo
16:33 MojoGuest310 From: http://blog.kraih.com/perl-is-ready-for-html5 (9 hits)
16:37 GitHub93 joined #mojo
16:37 GitHub93 [mojo] kraih pushed 1 new commit to master: http://git.io/Vnmdog
16:37 GitHub93 [mojo/master] more consistent Mojo::IOLoop examples - Sebastian Riedel
16:37 GitHub93 left #mojo
16:38 Foxcool joined #mojo
16:46 rdesfo joined #mojo
17:01 bosphorus joined #mojo
17:02 bosphoru_ joined #mojo
17:18 GitHub56 joined #mojo
17:18 GitHub56 [mojo] kraih pushed 1 new commit to master: http://git.io/wi3PoQ
17:18 GitHub56 [mojo/master] improved start_tls method in Mojo::IOLoop by allowing it to accept more options - Sebastian Riedel
17:18 GitHub56 left #mojo
17:21 sri bet this tls stuff is not very portable
17:22 BinGOs oh incidently, I was cursing a lot because Mojo::IOLoop didn't work at first for me.
17:23 BinGOs lots of swearing and reading source and debugging later it turned out to be a bug in IO::Socket::IP + NetBSD
17:23 BinGOs Leonerd has commited a fix for it.
17:24 sri it's funny how often we've been bitten by 3rd party module bugs, considering our no-deps reputation :)
17:25 sri default unit tests disable all optional features these days
17:26 BinGOs well, I got it to work by 'disabling ipv6', which led me to writing some test cases for IO::Socket::IP and Socket::getaddrinfo()
17:27 * BinGOs breaking perl stuff since 1995
17:27 sri :)
17:30 sri marcus: do you read tech books on your kindle too?
17:32 sri don't think that could work for me
17:32 * sri has just been playing with one of the new ones
17:39 Alias joined #mojo
17:58 dolmen left #mojo
18:04 mattp joined #mojo
18:05 GabrielVieira joined #mojo
18:20 rdesfo left #mojo
18:26 andrefs joined #mojo
18:35 mire joined #mojo
18:41 tempire reading tech books on a reading device doesn't work too well
18:41 tempire there's too much need to cross reference different pages
18:42 * sri nods
18:42 tempire code/graphs/formulas and such
18:42 tempire I tried it on the iPad, ended up just getting the real books
18:42 tempire probably good for reference, though
18:54 chansen joined #mojo
19:00 MojoGuest203 joined #mojo
19:00 MojoGuest203 From: http://www.google.fr/url?sa=t&amp;rct=j&amp;q​=html5%20irc&amp;source=web&amp;cd=5&amp;ved=​0CEwQFjAE&amp;url=http%3A%2F%2Fdev.xantus.org​%2F&amp;ei=IsGhTtu0IMmg4gSdzrCtCA&amp;usg=AFQ​jCNGw6nZv0wO42uzUnHhWcD0vcKNULg&amp;cad=rja (1 hits)
19:11 arpadszasz joined #mojo
19:13 sromanov joined #mojo
19:19 smpb joined #mojo
19:25 GitHub188 joined #mojo
19:25 GitHub188 [mojo] kraih pushed 1 new commit to master: http://git.io/o9boWw
19:25 GitHub188 [mojo/master] more consistent descriptions - Sebastian Riedel
19:25 GitHub188 left #mojo
19:52 GitHub95 joined #mojo
19:52 GitHub95 [mojo] kraih pushed 1 new commit to master: http://git.io/hJoAZg
19:52 GitHub95 [mojo/master] more progress tests - Sebastian Riedel
19:52 GitHub95 left #mojo
19:53 sri 8001 unit tests :)
20:57 grim_fandango joined #mojo
21:00 xantus[] hey BinGOs!
21:01 gabriel joined #mojo
21:19 d4rkie joined #mojo
21:39 perlrocks Twitter: "Mojolicious! Real-time Perl web framework: http://t.co/5l9p7RaB see that such;)" (es) --jmprusi http://twitter.com/jmprusi​/status/127499244943847424
21:55 MojoGuest950 joined #mojo
21:55 MojoGuest950 hmm
21:56 MojoGuest950 websockets can go through proxy?
21:59 batman joined #mojo
23:27 d4rkie joined #mojo

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