Camelia, the Perl 6 bug

IRC log for #mojo, 2010-11-13

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

All times shown according to UTC.

Time Nick Message
00:15 ash_ joined #mojo
01:06 daviddelikat1 joined #mojo
01:10 daviddelikat left #mojo
01:17 daviddelikat joined #mojo
01:21 daviddelikat1 left #mojo
02:03 jamesw joined #mojo
02:38 daviddelikat1 joined #mojo
02:42 Alias left #mojo
02:42 daviddelikat left #mojo
02:56 ash_ left #mojo
03:52 s0va joined #mojo
03:58 MojoGuest902 left #mojo
03:58 GabrielVieira2 left #mojo
04:03 tl joined #mojo
04:05 tholen42 left #mojo
07:22 und3f[A] is now known as und3f
07:28 hkclark joined #mojo
08:14 koban joined #mojo
09:17 gabb moin
10:34 spleenjack joined #mojo
10:35 marcus moin
10:38 omega hola
10:38 omega senoritas
11:02 und3f sri, got problem with latest mojo in fastcgi mode under nginx - web pages that setup cookies returns not fully to user (some first bytes are cut out)
11:20 und3f sri, sorry, not mojo problem. I've had $seld->redirect_to( 'route' )->render_text(...)
11:20 und3f And that render_text breaks everything
12:16 alexdrunk joined #mojo
12:18 memememomo_ is now known as memememomo
12:19 alexdrunk left #mojo
12:31 und3f sri, how to abort request of Mojo::Client?
12:40 und3f sri, also if request where interrupted by keep_alive_timeout in Transaction we got success status...
12:59 und3f sri, please check perl -Mojo -e 'g("46.42.61.83")'  it tooks arond 20 seconds to tell that it couldn't connect! Also the whole Mojo::IOLoop is BLOCKED during that request
13:08 su-bzero BLOCKED!
13:20 kvorg left #mojo
13:22 tholen joined #mojo
13:33 tholen left #mojo
13:33 tholen joined #mojo
13:48 GitHub173 joined #mojo
13:48 GitHub173 mojo: master Sebastian Riedel * 076eebc (1 files in 1 dirs): small fix for IO::Socket::IP limitation - http://bit.ly/b3gKXF
13:48 GitHub173 left #mojo
13:48 sri und3f: not fixable
13:48 sri IO::Socket::IP does not yet support Blocking => 0
13:48 sri so it connects blocking
13:48 und3f sri, but it blocks more than for 3 seconds
13:48 sri so?
13:48 und3f sri, and in ioloop default connection_timeout - 3 seconds
13:49 sri what did i just say?
13:49 und3f That you will leave mojo with a bug?
13:49 und3f :P
13:49 sri you have to report that against IO::Socket::P
13:49 sri *IP
13:49 sri it is not our bug
13:49 sri i can't do anything
13:50 tholen left #mojo
13:51 und3f sri, but doesn't IO::Socket has timeouts for connection?
13:51 sri feel free to give me a workaround
13:51 und3f i even don't have IO::Socket::IP installed
13:51 sri then it should work for you again now
13:52 tholen joined #mojo
13:53 und3f sri, so "connect_timeout" of Mojo::IOLoop is just a fraud?
13:53 sri WTF?
13:53 sri are you listening?
13:53 und3f i am just trying to build something with mojo
13:53 und3f ...
13:54 memememomo is now known as memememomo_
13:54 sri just listen to what i say
13:54 und3f O.O
13:54 sri timeout depends on the underlying socket module to support Blocking => 0
13:55 sri i've just made it work for ipv4
13:55 sri for ipv6 it is unfixable
13:55 sri because IO::Socket::IP does not support it
13:56 und3f ipv6 is not a problem, i'll check it now
13:56 sri it is a huge problem
13:57 und3f sri, thanks, it works now :)
13:57 und3f when you suppose to release it on cpan?
13:58 sri next release will take time
13:58 sri if you want to help you can report a bug against IO::Socket::IP
13:59 sri we need the Blocking arg mentioned in its TODO section
13:59 und3f i don't know details, just can send bug report with your text
14:03 tholen left #mojo
14:37 gabb Mother of God:
14:37 gabb http://www.wimp.com/mphplane/
14:44 sri gabb: i'll take one
14:58 GitHub111 joined #mojo
14:58 GitHub111 mojo: master Sebastian Riedel * b0d50df (1 files in 1 dirs): updated changes - http://bit.ly/dCxXTi
14:58 GitHub111 left #mojo
15:05 perlrocks joined #mojo
15:05 perlrocks Twitter: "Due to lack of non-blocking connect support i have to suggest not using IO::Socket::IP with #mojolicious for now. :( #perl #ipv6" --kraih http://twitter.com/kraih/status/3463505885790210
15:08 koban left #mojo
15:13 kvorg joined #mojo
15:26 und3f is now known as und3f[A]
15:32 sri ok, i don't know how to solve this
15:32 sri could remove ipv6 support
15:33 sri considering that teh latest IO::Socket::IP doesn't even install
15:36 perlrocks Twitter: "Tempted to remove #ipv6 support from #mojolicious for now. #perl" --kraih http://twitter.com/kraih/status/3470899437109248
15:42 ash_ joined #mojo
15:59 perlrocks Twitter: "#IPv6 repost Tempted to remove #ipv6 support from #mojolicious for now. #perl: Tempted to remove #ipv6 support f... http://bit.ly/cGtxaN" --IP_v6 http://twitter.com/IP_v6/status/3477031866073089
16:01 perlrocks Twitter: "RT @ memememomo: Mojolicious, Text:: Xslate, Test:: mysqld, DBIx:: Skinny bamboo because it satisfied with the development and more" (ja) --__gfx__ http://twitter.com/__gfx__/status/3477629801857024
16:10 perlrocks Twitter: "[Sample] [server] [server] [Perl] [article] [javascript] [web] [websocket] [Reference] [naoya] / Mojolicious:: Lite to make chat with at WebSocket - naoy ... http:// htn.to/9gFpMg" (ja) --masayoshi_main http://twitter.com/masayoshi_​main/status/3479890485583872
16:15 perlrocks Twitter: "RT! Masayoshi_main: [Sample] [server] [server] [Perl] [article] [javascript] [web] [websocket] [Reference] [naoya] / Mojolicious:: Lite to create a chat by using WebSocket - nao. .." (ja) --perlism http://twitter.com/perlism/status/3480973928828928
16:30 GitHub107 joined #mojo
16:30 GitHub107 mojo: master Sebastian Riedel * d98fdef (1 files in 1 dirs): cleanup - http://bit.ly/aNIzvf
16:30 GitHub107 left #mojo
17:21 su-bzero_ joined #mojo
17:25 su-bzero left #mojo
18:13 Akron joined #mojo
18:43 ash__ joined #mojo
18:48 ash_ left #mojo
18:48 ash__ is now known as ash_
19:12 spleenjack left #mojo
19:19 sri this sucks, i'll have to build my own inet_pton
19:19 sri and get rid of IO::Socket::IP
19:24 Akron Is IPV6 support that important for Mojolicious V1?
19:25 sri chansen: don't you think it was a little too early to lobby for IO::Socket::IP to be added to perl core?
19:25 sri just noticed it does not at all do non blocking
19:26 sri Akron: i don't know, is it?
19:27 Akron I don't think so. I was asking for your milestone plan regarding V1.
19:27 DaTa left #mojo
19:27 sri i thought we had good ipv6 support
19:27 DaTa joined #mojo
19:27 sri now the optional prereq turns out to be broken
19:27 DaTa oops
19:29 Akron sri: So, I think it's better to kill the prereqs and wait for better support after V1. IPV6 is so elementary, it has to be solved beside Mojo.
19:30 sri well, it will not be solved in perl itself
19:30 Akron But in IO::Socket::IP?
19:30 sri the author just says "non blocking in hard"
19:31 sri i'm loosing faith
19:31 Akron Hm ... :(
19:31 Akron Oh - damn - supermarkets are closing! See you later!
19:32 Akron left #mojo
19:36 sri taking ipv6 out of the mojolicious 1.0 roadmap might be a sensible solution
19:36 sri it is not supportable atm
19:38 sri it can still be done with use Net::INET6Glue::INET_is_INET6 or so i guess
19:47 perlrocks Twitter: "#ipv6 support will be removed from the #mojolicious 1.0 roadmap, it is simply not supportable in #perl at the moment." --kraih http://twitter.com/kraih/status/3534338322862080
19:52 snearch joined #mojo
19:52 sri resolver support and stuff will stay, just all IO::Socket::IP usage will be gone
20:04 perlrocks Twitter: "#IPv6 repost #ipv6 support will be removed from the #mojolicious 1.0 roadmap, it is simply not supportable in #p... http://bit.ly/b1tt98" --IP_v6 http://twitter.com/IP_v6/status/3538618186469376
20:08 GitHub178 joined #mojo
20:08 GitHub178 mojo: master Sebastian Riedel * 47116a7 (31 files in 8 dirs): removed IPv6 support until Perl itself gets better support for it - http://bit.ly/aFWh7F
20:08 GitHub178 left #mojo
20:13 perlrocks Twitter: "Until #perl gets real #ipv6 support i suggest using workarounds like Net::INET6Glue. ;) #mojolicious" --kraih http://twitter.com/kraih/status/3540889846681600
20:14 sri can't blame me for not trying hard enough
20:18 sri i think all needed to bring ipv6 back would be a portable inet_pton and some more verbose socket initialization code
20:18 sri resolver is there
20:18 sri (in case someone really cares about ipv6)
20:24 spleenjack joined #mojo
20:44 spleenjack left #mojo
20:59 chansen sri: which module doesn't install?
20:59 sri chansen: IO::Socket::IP
20:59 sri test fails
20:59 chansen which os?
21:01 sri http://pastie.org/1295749
21:03 ash_ is that the same as IO::Socket::INET6 ?
21:03 sri no
21:03 sri i've given up on IO::Socket::INET6
21:04 chansen sri: I can reproduce it on darwin using 5.10.1
21:04 sri wonder why it's still 100% green on cpantesters
21:06 chansen mm strange, do you have a IPv6 LAN?
21:06 sri quite sure my access point is v4 only
21:06 chansen ok
21:08 chansen even worse, it's not reproducible every time
21:08 sri eww
21:08 chansen run prove, it will occasionally succeed
21:10 sri tried 20 times all fail
21:14 chansen I got 6 success and 2 fails
21:14 chansen http://nopaste.snit.ch/25571
21:14 sri weird
21:15 chansen same test that is failing? t/06local-cross-v6.t test 11?
21:16 chansen I guess it's timing issue
21:17 sri yes 11
21:18 sri oh, now i had one pass
21:20 alnewkirk joined #mojo
21:21 chansen adding a ->flush and a sleep(0.5) fixes it for me: http://nopaste.snit.ch/25572
21:33 MojoGuest922 joined #mojo
21:33 MojoGuest922 From: http://news.ycombinator.com/item?id=1277067 (42 hits)
21:33 MojoGuest922 left #mojo
21:36 kvorg left #mojo
21:42 Akron joined #mojo
21:44 kvorg joined #mojo
21:56 MojoGuest614 joined #mojo
21:56 MojoGuest614 From: http://news.ycombinator.com/item?id=1277067 (43 hits)
21:57 MojoGuest614 left #mojo
21:57 MojoGuest135 joined #mojo
21:57 MojoGuest135 From: http://news.ycombinator.com/item?id=1277067 (44 hits)
21:57 MojoGuest135 left #mojo
21:57 MojoGuest983 joined #mojo
21:57 MojoGuest983 From: http://news.ycombinator.com/item?id=1277067 (45 hits)
21:58 MojoGuest983 left #mojo
21:58 MojoGuest769 joined #mojo
21:58 MojoGuest769 From: http://news.ycombinator.com/item?id=1277067 (46 hits)
21:58 MojoGuest769 left #mojo
22:33 sri chansen: works
22:34 chansen good, I have reported it to LeoNerd
22:35 perlrocks Twitter: "RT @kraih: #ipv6 support will be removed from the #mojolicious 1.0 roadmap, it is simply not supportable in #perl at the moment." --yunh http://twitter.com/yunh/status/3576703221760000
22:37 chansen in #ioasync [22:26]  <LeoNerd> Have come up with a way to make IO::Socket::IP handle  Blocking => 0
22:38 chansen sri: ^^
22:38 sri ye, talked with him :)
22:38 chansen cool =)
22:39 sri i was hoping for a drop in replacement for IO::Socket::INET, but can work with what he has come up with
23:00 und3f[A] is now known as und3f
23:02 Alias joined #mojo
23:06 snearch left #mojo
23:23 und3f is now known as und3f[A]
23:30 perlrocks Twitter: "#IPv6 repost RT @kraih: #ipv6 support will be removed from the #mojolicious 1.0 roadmap, it is simply not suppor... http://bit.ly/b2E3km" --IP_v6 http://twitter.com/IP_v6/status/3590613144444928
23:32 GitHub12 joined #mojo
23:32 GitHub12 mojo: master sshaw * 92859d2 (2 files in 2 dirs): javascript helper creates correct javascript tag, stylesheet helper comments out CDATA
23:33 GitHub12 mojo: master sshaw * 2dd3fb6 (2 files in 2 dirs): Added newlines to CDATA blocks
23:33 GitHub12 mojo: master Sebastian Riedel * d89a97f (3 files in 3 dirs): cleanup
23:33 GitHub12 mojo: master Sebastian Riedel * 6f3a558 (1 files in 1 dirs): cleanup
23:33 GitHub12 mojo: master commits 47116a7...6f3a558 - http://bit.ly/b4OBE2
23:33 GitHub12 left #mojo
23:43 GitHub156 joined #mojo
23:43 GitHub156 mojo: master Sebastian Riedel * ba07d57 (1 files in 1 dirs): cleanup - http://bit.ly/deNDdQ
23:43 GitHub156 left #mojo

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