Camelia, the Perl 6 bug

IRC log for #mojo, 2010-08-12

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

All times shown according to UTC.

Time Nick Message
00:12 Alias joined #mojo
00:21 alex joined #mojo
00:35 perlrocks Twitter: "RT @vtivti MojoX::Validator documentation is done. Hitting #CPAN soon. #Perl #Mojolicious" --zakame http://twitter.com/zakame/status/20930326742
01:17 ashleydev joined #mojo
01:20 ashleydev joined #mojo
01:22 cognominal joined #mojo
01:32 y0j joined #mojo
01:55 sri xantus: sup?
02:12 sri xantus: for write drain control is very easy, third argument is a callback that runs once everything has been written $loop->write($id, $chunk, sub {...})
02:12 sri for reading i'm thinking about $loop->pause($id) and $loop->resume($id)
02:12 sri that should give us total control for throtteling
02:13 sri *-e
02:33 ashleydev joined #mojo
02:35 MojoGuest209 joined #mojo
02:35 MojoGuest209 foo
02:35 MojoGuest209 bar
02:50 alnewkirk joined #mojo
02:52 crab barf
02:54 janus joined #mojo
03:17 sri :o
03:58 ask joined #mojo
04:04 tl joined #mojo
04:31 yakudzo joined #mojo
04:33 ask joined #mojo
04:35 xantus__ sri: hi
04:37 * sri waves
04:38 xantus__ ah, the passed write cb I wasn't aware of
04:38 sri vti: you now have commit rights on the mojolicious repo :)
04:38 xantus__ I was having issues with my code eariler, it turned out to be a combo of using timers and client
04:39 sri vti: that means you can't ever complain again! :D
04:40 sri xantus: possibly in different ioloops?
04:40 vti sri: oO
04:40 xantus__ I set the ioloop on the client to the ioloop singleton
04:41 sri vti: after all you are a core developer
04:42 sri xantus: well, if it's a bug you know the drill :)
04:43 sri vti: gonna open up the development process a bit, now that the basic design stands
04:46 tempire congratulations, vti
04:46 tempire there should be a cake
04:47 sri all glory to the hypno-vti!
04:48 tempire http://www.g2go.ru/en/menu​/fourchette/cond/287.html
04:49 sri vti: you also have co-maint for all mojo modules on cpan
04:50 vti wtf, that's too much of responsibility :D
04:50 sri *drool*
04:52 sri gonna add more core developers over time now
04:53 sri (with full permissions)
04:54 vti how are going to control "let's put everything into the core"? we can do like voting thing where people can vote for features?
04:55 sri for catalyst i used a 3 core developer vote rule
04:56 sri didn't work so well in the end though
04:56 sri i would like to keep a veto right for now
04:57 sri but in general votes should be fine
04:59 sri vti: got a better suggestion?
05:02 vti i have no idea, anyway you will want to clean it up :D
05:02 sri of course ;p
05:07 sri stuff like form validation is something i'm a little worried about, since there is no best practice yet, could be harmful to add it to the core too early
05:08 vti agree
05:09 koban joined #mojo
05:10 sri i guess vote for new core developers would be appropriate too
05:12 xantus__ sri: yep, I will try to repro in a test case
05:12 xantus__ and and work up a fix
05:13 sri yay
05:28 zloyrusskiy joined #mojo
05:43 crab everything in core!
05:49 yko joined #mojo
05:53 crab lib/yko.pm
05:53 yko O_O
05:54 yko grats to vti!
05:57 vti sri: i guess you're simply tired of a bad english bug reports ;p
05:57 vti -a
05:59 * sri nods
06:00 chilts left #mojo
06:02 mvuets joined #mojo
06:16 korshak joined #mojo
06:35 sri oh cool, rakudo is in homebrew
06:57 ysyrota joined #mojo
06:59 baton8 joined #mojo
07:03 MojoGuest335 joined #mojo
07:10 sri vti: your first commit better be awesome ;p
07:12 yko ye, i already told him that it should come with russian-utf8 comment and ascii-art animated balalayka and bear :D
07:15 sri :D
07:32 arthas joined #mojo
07:32 MojoGuest153 joined #mojo
07:32 MojoGuest153 left #mojo
07:33 MojoGuest76 joined #mojo
07:33 MojoGuest341 joined #mojo
07:34 MojoGuest111 joined #mojo
07:36 MojoGuest651 joined #mojo
07:46 marcus sri: you got mail.
07:46 sri marcus: lies
07:48 marcus i haz no bounce
07:58 ask joined #mojo
08:13 doubi joined #mojo
08:25 dynax60 joined #mojo
08:25 dynax60 hello
08:25 * sri waves
08:25 dynax60 guys, how to make json-request on remote server? have you some sample?
08:26 sri json-request?
08:27 dynax60 http://gist.github.com/520567
08:27 dynax60 is it right?
08:27 sri only if you want to send json in a urlencoded POST request
08:28 dynax60 on remote server side I must get it by:
08:28 dynax60 my $request = $self->req->json || return $self->render_json( { 'status' => 'Request error' } );
08:28 sri then it's wrong
08:29 dynax60 Sebastian, could you give an example of client-side?
08:29 Alias_ joined #mojo
08:29 sri $client->post("http://80.76.224.24:3000/arping", {'Content-Type' => 'application/json'}, $json);
08:29 dynax60 Thanks!! :)
08:31 dynax60 Odd number of elements in anonymous hash at C:/strawberry/perl/site/lib/Mojo/Client.pm line 150.
08:33 sri no idea, works here
08:33 sri perl -MMojo::Client -e 'Mojo::Client->new->post("http://80.76.224.24:3000/arping", {"Content-Type" => "application/json"}, $json);'
08:34 dynax60 and as a result I will have smth in $self->req->json on server side, right?
08:34 sri are you still using post_from instead of post?
08:35 sri thats where the error is coming from
08:35 dynax60 omg. arghh..
08:35 dynax60 thanks again.
08:35 sri post_form is really just for urlencoded and multipart/form-data
08:36 sri as in submitted html forms
08:36 vti ye, when he asked me this question he needed urlencoded data, and now just post body, ай-яй-яй
08:37 sri ah
08:40 dynax60 vti: sorry :)
08:57 sri almost everything ported to the new ->write code, just some websocket quirks left :)
08:57 sri had some interesting timing issues
09:01 sri is 4mb still the ideal send/receive buffer size these days?
09:06 su-bzero joined #mojo
09:17 vti maybe there is a way how to get it from Config.pm?
09:18 sri it's supposed to be available via getsockopt
09:18 sri but it seems not to work
09:23 marcus hurgh
09:25 marcus sri: do you see something obviously wrong with http://paste.scsys.co.uk/47996 ?
09:25 marcus the callback is never triggered, even tho I call process.
09:25 sri yes, first arg is the client instance
09:25 marcus first arg to queue
09:25 marcus ?
09:25 sri to the callback
09:25 crab in the callback
09:25 marcus ah
09:26 marcus but the warn never happens
09:26 sri queue does nothing without ->process
09:26 marcus I call process later
09:26 janus pagesize, bufsiz, adaptive scaling... my usual keywords in queue size context
09:27 sri don't see anything obvious then
09:28 sri if you're on latest github you can do MOJO_CLIENT_DEBUG=1 to see if anything goes over the wire
09:29 marcus thanks
09:29 marcus am writing a live test now. Useless to debug this through catalyst
09:37 marcus sri: the only thing I see is "NEW CONNECTION (http:ws.dev-guide1.startsiden.no:80)
09:38 sri that means it at least starts
09:38 sri does it block after that?
09:40 sri points at some kind of connection error if you're not async
09:41 sri best to try what you want with a oneliner first maybe? :)
09:41 sri perl -Mojo
09:42 sri Couldn't open page "http://ws.dev-guide1.startsiden.no". (Connect timeout.)
09:43 sri thats what i get for that address
09:43 sri mojo get http://ws.dev-guide1.startsiden.no
09:43 sri the simplest of all tests
09:43 marcus sure, it's firewalled
09:43 marcus sri: I'm async tho
09:44 sri oh
09:44 sri then you better know what you're doing
09:44 sri how is that supposed to work inside catalyst?
09:44 marcus uhm, I set up three requests, then wait for them to finish?
09:44 sri thats sync
09:44 marcus aha
09:44 marcus ok
09:44 sri async means you hook into another ioloop
09:45 sri like daemon and client sharing everything
09:45 marcus yupp
09:45 marcus now I get unrecognized api key. much better :)
09:45 marcus thanks :)
09:45 sri :)
09:45 sri internally the client is always async
09:50 marcus cool beans
09:50 marcus client works now
09:51 sri \o/
09:55 sri http://www.youtube.com/watch?v=flpD27M3oEE # some motivational music
10:02 koban joined #mojo
10:08 marcus sri: motivational for what? :)
10:09 sri destroying the workd of course!
10:09 sri *world
10:11 koban joined #mojo
10:12 janus been there, done that... and it's the most exhausting activity one can engage in, outside of soccer.
10:12 janus *scnr*
10:12 sri :)
10:15 marcus sri: I thought we were taking over the world, not destroying it :-/
10:16 yko marcus: see romantic apocalypse
10:17 yko http://www.romanticallyapocalyptic.com/home
10:17 yko argh. When there will be new episode!
10:18 yko No new true blood series! Californication season hasn't begun yet, House MD too
10:18 yko How can i work?
10:19 crab wtf
10:20 sri seriously
10:20 marcus yko: there was a new true blood on monday?
10:20 yko Oh. There's True Blood 3x08 but still no russian translation :(
10:21 marcus hah
10:21 marcus yko: learn english!
10:21 * yko is lazy one, do you remember?
10:21 marcus yko: you watch it dubbed to russian?
10:21 marcus that's so stupid
10:21 yko #uck off :D
10:22 marcus you lose so much with crappy russian voice acting.
10:22 marcus I've seen simpsons in russian, it was hilarious, and not in a good way.
10:22 yko Sure i watch it in russian translation, im watching some serials for fun and relaxing, not for learn something
10:22 yko You better see ALF in ukrainian translation
10:23 sri :o
10:23 marcus this is the reason russians suck so much at english
10:23 yko or Pirates of the Caribbean in ukrainian translation. there's so much fun!
10:23 marcus I'm glad I live in a country which is so small we can only afford subtitles.
10:23 yko Haha :D
10:23 * sri is never going back to german translations...
10:24 yko Te best movie i've watched in english was Six string samurai
10:24 marcus no talking?
10:24 marcus :p
10:24 yko ye :D
10:25 yko well, you know... sometimes good translation makes tv or book even better then original
10:25 sri never
10:26 yko sri, alf much better in professional ukrainian translation. ICTV still rotating it (4th or 5th time) :D
10:26 yko that's old one, i know, but...
10:26 sri i hear americans need translations for british tv shows?
10:26 yakudzo marcus, after WW2 main foreign language in schools was German. Thats why many russians don't know english at all
10:26 yko And if translators are good enough, they adopt moovie to local reality. That can be really fun
10:27 janus sri: even bavarians get subtitles... :>
10:27 sri xD
10:27 marcus yakudzo: I know many russians who had english in school, and still forgot everything 5 years later.
10:27 marcus yakudzo: because they never practice it, or watch english shows
10:27 yko yakudzo : i've didn't studiet deutch in school for 5 years. and then i changed my school and didn't studied english for ~10 years
10:28 sri best thing you can do to learn english is to watch tv series
10:28 yko professor on exam told me 'Yaroslav... only because you are good friend of my son.... don't tell anybody'
10:28 marcus that's why I have my daughter on a strict diet of english and russian children's shows.
10:28 dotan joined #mojo
10:28 yakudzo marcus, because education in russian schools sucks !
10:29 marcus yakudzo: that, and because you dub all the television to russian.
10:29 crab wow, this romantically apocalyptic thing is mindlessly insane.
10:29 yko hah, i had russian language lessons in school only first 4 years :D
10:29 yko crab, ye
10:29 sri BLASTWAVE!
10:30 crab one of these days i'm going to have to find out what futurama is too
10:30 sri yko: you are the sniper?
10:30 yko Actually, i don't know any language good enough :(
10:30 sri crab: you have to be kidding right? :O
10:30 crab no...
10:30 marcus shit
10:31 sri wow
10:31 sri blasphemy
10:31 crab i know it involves someone named bender.
10:31 yko sri: about translations. I'm not really sure, but i think that russian translators make Zelazny books so good for russian-speaking people
10:31 yko sri: i think yes :)
10:33 yakudzo marcus, with internet everyone have choise to watch movies in whatever language they want. But russian people are fucking lazy to watch on english. they have very bad base english in schools so its difficult to start watching on english.
10:33 yakudzo btw
10:33 * yakudzo watching futurama in english
10:34 marcus yakudzo: I thought most people bought movies on DVD at the market :p
10:35 marcus or divx
10:35 yakudzo marcus, no not in Russia (((:
10:35 yko marcus: bought? people?
10:36 marcus I'm not talking about originals here...
10:36 crab ok. now i know what futurama is. i wonder if i can find some bootleg recordings or something.
10:36 sri http://www.youtube.com/watch?v=t6FUR_nhGX8 # russian futurama
10:37 marcus yakudzo: I've been to the electromarket in st. petersburg.. Junona
10:38 sri you've been trololorolled!
10:38 marcus I've not. Didn't click
10:39 marcus Listening to OO-De-Lally from Robin Hood
10:40 marcus yakudzo: http://www.spb-unona.ru/
10:41 yakudzo marcus, ?
10:41 yko that http://www.youtube.com/watch?v=dtIDYlQirSs#t=5m30s is soviet futurama
10:42 marcus yakudzo: ?
10:42 marcus :p
10:44 mvuets joined #mojo
10:47 sri btw. do we have any english voice actors here by any chance?
10:48 sri i'm preparing some screencasts, but doubt people would enjoy my voice
10:49 yko they will :D
10:49 * marcus gets the popcorn
10:49 sri naah, native english speakers are very picky about that
10:49 yko sri, can you make screencast in growling?
10:50 marcus sri: I agree
10:50 yko i think it will solve voice problems :D
10:50 yakudzo true russian riddims http://www.youtube.com/watch?v=NdTMa1r_RR4
10:50 yakudzo ((%
10:50 marcus need to get someone with a posh english accent ;)
10:50 marcus sri: or maybe you could volunteer xantus__ to do it.
10:50 sri xantus__: you'll do it :D
10:51 sri marcus: good idea
10:58 Htbaa joined #mojo
11:10 MojoGuest431 joined #mojo
11:12 marcus sri: or maybe Alias, if you think aussie is acceptable ;-)
11:12 sri unacceptable!
11:13 MojoGuest365 joined #mojo
11:13 MojoGuest597 joined #mojo
11:15 Htbaa joined #mojo
11:23 fish_ joined #mojo
11:23 fish_ hi
11:23 * sri waves
12:07 vti kill russian, save internet
12:08 vti sri: do you want screencast in british, american, australian or canadian english?
12:12 sri american
12:12 sri they are the only ones that can't stand foreign languages and dialects
12:14 vti because they are the best
12:15 vti sri: how about screencast in german with subtitles? ;p
12:16 sri lol
12:18 vti sri: i'd like to improve my german with some IT words, i always switch to english when i talk about computers =/
12:19 vti so record it!
12:53 DaTa there are german it words?
13:14 doubi joined #mojo
13:29 MojoGuest726 joined #mojo
13:29 MojoGuest711 joined #mojo
13:42 yko That online irc demo should send message to #mojo what link brings to us that user. Referrer header i mean :)
13:44 sri good idea
13:44 * sri pokes xantus
14:29 koban left #mojo
14:43 ashleydev joined #mojo
14:45 tempire left #mojo
14:47 tempire joined #mojo
15:07 esskar joined #mojo
15:07 esskar moin
15:08 esskar does EP support including other template files?
15:09 yko you mean %== unclude 'some/template'; ?
15:10 yko http://github.com/kraih/mojo/blob/m​aster/lib/Mojolicious/Guides/Render​ing.pod#Including_Partial_Templates
15:12 yko Github's pod renderer doesn't build table of contents. it's not very usable to make links :(
15:15 esskar_ joined #mojo
15:15 MojoGuest872 joined #mojo
15:21 sri yea, that pod renderer needs some fixing
15:23 go|dfish joined #mojo
15:24 yko esskar, have you seen my link?
15:28 ask joined #mojo
16:02 ashleydev joined #mojo
16:21 MojoGuest464 joined #mojo
16:30 ashleydev xantus: \0
16:32 esskar yko: yes, thank you
16:59 ask joined #mojo
17:10 marcus unclude would be awesome
17:11 lbr all we get is unclued
17:12 marcus and unglued
17:19 crab unclued
17:34 marcus /win 48
17:57 mvuets joined #mojo
17:58 ask joined #mojo
18:09 doubi joined #mojo
18:11 xantus_ great idea
18:22 ashleydev_ joined #mojo
18:27 MojoGuest586 joined #mojo
18:29 MojoGuest633 joined #mojo
18:29 MojoGuest791 joined #mojo
18:31 MojoGuest78 joined #mojo
18:32 MojoGuest260 joined #mojo
18:32 MojoGuest260 (From: http://www.reddit.com/domain/dev.xantus.org)
18:32 xantus_ \o/
18:35 dotan yko++ && xantus_+++
19:01 MojoGuest201 joined #mojo
19:03 MojoGuest235 joined #mojo
19:06 MojoGuest235 From: http://www.reddit.com/domain/dev.xantus.org ( hits)
19:09 MojoGuest671 joined #mojo
19:09 MojoGuest671 From: http://www.reddit.com/domain/dev.xantus.org (1 hits)
19:09 xantus_ \o/
19:10 xantus_ I snake that into the buffer when they join (and only once)
19:11 xantus_ here come someone
19:11 MojoGuest799 joined #mojo
19:11 MojoGuest799 From: http://www.reddit.com/domain/dev.xantus.org (2 hits)
19:13 xantus_ hm, 1 more patch
19:14 MojoGuest274 joined #mojo
19:14 MojoGuest274 From: http://www.boards.ie/vbullet​in/showthread.php?p=67389942 (1 hits)
19:14 marcus nice
19:14 xantus_ \o/
19:15 marcus MojoGuest274: welcome to the party
19:15 xantus_ They don't see the msg :)
19:15 xantus_ thats me
19:15 marcus clever :)
19:16 MojoGuest442 joined #mojo
19:16 MojoGuest442 From: http://irclog.perlgeek.de/mojo/2010-07-27 (1 hits)
19:17 MojoGuest438 joined #mojo
19:17 MojoGuest438 From: http://blog.kraih.com/ (1 hits)
19:18 MojoGuest3 joined #mojo
19:18 MojoGuest3 From: http://www.google.com/url?sa=D&amp​;q=http://dev.xantus.org/&usg=​AFQjCNGH55p8BdfXGwghZYML7MheNxPx1Q (1 hits)
19:18 MojoGuest250 joined #mojo
19:18 MojoGuest250 From: http://www.networkedblogs.com/33Knp (1 hits)
19:19 MojoGuest133 joined #mojo
19:19 MojoGuest133 From: http://www.laura18k.com/?tag=html5 (1 hits)
19:19 MojoGuest614 joined #mojo
19:19 MojoGuest614 From: http://www.reddit.com/r/html​5/comments/bt76k/irc_client/ (1 hits)
19:19 xantus_ its on a lot of sites
19:23 xantus_ I should have put analytics on it
19:30 mvuets joined #mojo
19:40 spleenjack joined #mojo
19:44 xantus_ http://www.funnyordie.com/videos/74/the-landlord​-from-will-ferrell-and-adam-ghost-panther-mckay
19:48 marcus xantus_: are you ready to do voice acting for sri's screencasts? :)
19:54 xantus_ lol
19:57 xantus_ http://science.slashdot.org/story/10/08/11/221​230/Scientists-Develop-Brain-Microchip-Bridge
19:57 xantus_ I want a brain interface so I don't have to use a keyboard and mouse
20:13 * xantus_ is listening to castlevania music again
20:14 * marcus is watching ep2 of 'the deep'
20:15 xantus_ how is that
20:16 marcus seems ok.
20:17 marcus sri: first episode of rubicon was kind of boring btw.
20:19 xantus_ wow, the sound on the droid x via headphone is awesome
20:19 tempire I want a droid
20:19 marcus I want a pony
20:20 tempire pony x
20:27 xantus_ I want a robot pony
20:49 ashleydev joined #mojo
21:01 yko xxx pony? *hic*
21:02 yko monthly kiev.pm meeting was good... *hic*
21:19 sekimura joined #mojo
21:25 doubi joined #mojo
21:39 perlrocks joined #mojo
22:00 ltriant joined #mojo
22:24 pid joined #mojo
22:29 Kai_ joined #mojo
22:29 Kai_ Is mojolicious nonblocking?
23:21 [2]awnstudio joined #mojo
23:36 doubi joined #mojo
23:41 ashleydev joined #mojo
23:43 ashleydev_ joined #mojo
23:44 ashleydev_ joined #mojo

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