Camelia, the Perl 6 bug

IRC log for #mojo, 2010-08-07

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

All times shown according to UTC.

Time Nick Message
00:00 garu sri: oh, and yes! he's using windows
00:03 sri ok, thats the IO::Poll problem
00:03 sri IO::Poll which we previously used in Mojo::Server::CGI doesn't work on windows
00:03 sri fixed on github
00:04 garu cool, thanks. I'll add it to the message and have him test it (or really *really* make sure he's using the github version)
00:05 sri (or more correct, IO::Poll doesn't work for handles used in windows cgi imeplementations, because it does work for sockets and in turn the daemon)
00:06 sri caused much trouble in the past and was rather hard to track down
00:11 garu so we got rid of it? what's being used now?
00:13 * garu stops being lazy and looks at the code
00:16 xantus_ it was only 7 lines, but I just contributed to couchdb :P
00:16 Alias_ joined #mojo
00:17 xantus_ wouldn't it be nice to have a perl view server for couchdb?
00:18 xantus_ http://wiki.apache.org/couchdb/View_server
00:18 xantus_ nice
00:18 xantus_ http://search.cpan.org/~hdp/CouchDB-V​iew-0.003/lib/CouchDB/View/Server.pm
00:25 garu xantus_: it keeps getting harder and harder to query for something on cpan and getting no results ;)
00:25 xantus_ :(
00:27 garu xantus_: why the sad face? isn't this supposed to be a good thing?
00:29 xantus_ maybe I misunderstood you
00:29 xantus_ you're not getting results when you query cpan?
00:33 diegok joined #mojo
00:39 garu just me doing a crappy joke, mate - nevermind :)
00:45 stephen joined #mojo
02:27 MojoGuest56 joined #mojo
02:28 MojoGuest56 hi
02:28 MojoGuest56 hello
02:28 MojoGuest929 joined #mojo
02:32 sri garu: cgi binding now uses only blocking stuff
02:55 janus joined #mojo
03:40 Alias_ joined #mojo
04:04 tl joined #mojo
04:08 ashleydev joined #mojo
04:14 GitHub94 joined #mojo
04:14 GitHub94 mojo: master Sebastian Riedel * dd81ab9 (28 files in 11 dirs): made client and daemon about 20% faster and opened the door for countless micro optimizations - http://bit.ly/auh6ta
04:14 GitHub94 left #mojo
04:16 sri basically all parsers are now limited to 1 or 2 files, states can't be changed from the outside anymore
04:18 sri it's all very very flat, parsers can be optimized without worrying too much about side effects
04:19 sri this is a result of the client features i removed recently, everything can be much simpler now
04:24 sri really nice having server and client share the same code, no matter which one gets more love, both benefit :)
04:27 GitHub28 joined #mojo
04:28 GitHub28 mojo: master Sebastian Riedel * d6e3c00 (1 files in 1 dirs): fixed typo - http://bit.ly/cqqfAw
04:28 GitHub28 left #mojo
04:57 yakudzo joined #mojo
05:13 garu sri++
06:07 alex joined #mojo
06:13 yko joined #mojo
06:22 Foxcool joined #mojo
06:52 GitHub146 joined #mojo
06:52 GitHub146 mojo: master Sebastian Riedel * e20318e (1 files in 1 dirs): cleanup - http://bit.ly/9Jeg6w
06:52 GitHub146 left #mojo
06:54 sri the whole state callback mess was one of the last few things that were still bugging me :)
06:55 sri every individual piece should really be as minimalistic as possible
06:56 alex joined #mojo
07:00 xantus__ sweet
07:30 GitHub91 joined #mojo
07:30 GitHub91 mojo: master Sebastian Riedel * 6f31898 (4 files in 3 dirs): remove unnecessary headers - http://bit.ly/9DRkBU
07:30 GitHub91 left #mojo
07:47 sri hmm, i think we shouldn't be storing headers in parsed form
07:48 sri how often do you really manipulate headers?
07:48 sri parsing on demand would be a huge performance gain
08:03 sri btw. memowe? your time is almost up :(
08:17 MojoGuest637 joined #mojo
08:38 perlrocks Twitter: "RT @kraih http://try.rakudo.org/shell is powered by #mojolicious, who would have thought. :) #perl&status_id=20399940365" --sopan_shewale http://twitter.com/sopan_s​hewale/status/20538215831
08:53 xantus__ joined #mojo
09:16 yko hmm. why in startup script we have use lib "$FindBin::Bin/../lib" and use lib "$FindBin::Bin/../../lib"? Isn't first enough?
09:43 diegok joined #mojo
10:43 diegok joined #mojo
11:27 crab sri: i can attest to parsing headers on demand being a real speedup
11:27 crab yko: yes, afaict
11:48 mvuets joined #mojo
12:58 chansen joined #mojo
13:03 plenum joined #mojo
14:01 chansen joined #mojo
14:22 ashleydev joined #mojo
14:37 yko joined #mojo
15:23 diegok joined #mojo
15:25 GitHub33 joined #mojo
15:25 GitHub33 mojo: master Sebastian Riedel * 8d712af (4 files in 2 dirs): don't sort headers - http://bit.ly/aeDrKe
15:25 GitHub33 left #mojo
15:28 sri thats about 1% better performance :)
15:34 crab sri: so is there anything that you want help with, anything i can contribute?
15:35 sri crab: many things, what would you like to do? :)
15:35 crab i'm using mojo in a project and i like it so far, so i'd like to help. i don't know the code yet, but i'm willing to dig.
15:37 sri from documentation to optimization, there's tons of work
15:38 crab just toss some ideas around my way, and i'll do what i can.
15:40 sri feature wise i'm quite happy right now, the focus is on polishing
15:40 crab makes sense.
15:41 crab i'm happy to work on documentation, for example, if you suggest some area to start on. (i know you're already doing $something, so i don't want to get in the way.)
15:41 sri sure, there's small stuff like more css3 selectors for Mojo::DOM, but those can be added slowly over time when the need comes up
15:41 sri i would love more micro tutorials for different modules
15:42 sri and more extensive synopsis examples
15:42 sri like Mojo::IOLoop, Mojo::Template
15:42 sri basically more verbose reference documentation
15:43 crab fine.
15:44 crab (yes, i've sometimes wished the documentation said more about what arguments $method takes, and how it behaves in corner cases.)
15:44 sri yea, i often add more examples below the method descriptions
15:44 sri could use many more of those
15:46 sri some profiling and fixing of the small mistakes i made would also be nice :)
15:49 sri it's actually quite fun, we've reached the point where even the smallest optimization results in at least 5 req/s more
15:54 sri many low hanging fruits especially in Mojo::Headers
15:54 sri lazy parser and less accessors could be a really substantial boost
16:06 MojoGuest559 joined #mojo
17:01 diegok_ joined #mojo
17:18 marcus sri: I like it when you talk dirty
17:18 marcus :p
17:18 sri :o
17:19 marcus HARDER, BETTER, FASTER, STRONGER # http://www.youtube.com/watch?v=bl6RJyZdBSU
17:19 diegok joined #mojo
17:21 * marcus is going to try to watch Haven tonight
17:24 marcus or maybe I should watch "The 41 Year Old Virgin Who Knocked Up Sarah Marshall and Felt Superbad About It 2010 DVDRip" instead
17:26 diegok joined #mojo
17:31 diegok joined #mojo
17:37 diegok joined #mojo
17:42 ashleydev joined #mojo
17:50 * sri might finish the 3rd season of regenesis
17:56 marcus still good?
18:06 sri it's ok, bit slow at times
18:35 yko joined #mojo
18:39 DaTa sri: http://search.cpan.org/~jgoff/parrot-0.0.8.1/ that's an unauthorized release :)
18:43 ashleydev joined #mojo
18:46 tempire joined #mojo
18:47 perlrocks Twitter: "#mojolicious client and daemon got about 20% faster since yesterday, and there are still many low hanging fruits. :) #perl" --kraih http://twitter.com/kraih/status/20571366354
18:50 perlrocks Twitter: "#mojolicious client and daemon got about 20% faster since yesterday, and there are still many low hanging fruits. :) #perl (via @kraih)" --vtivti http://twitter.com/vtivti/status/20571555655
18:51 perlrocks Twitter: "RT @kraih: #mojolicious client and daemon got about 20% faster since yesterday, and there are still many low hanging fruits. :) #perl" --tempiretech http://twitter.com/tempiretech/status/20571587125
18:54 vti sri: bot is really fast
18:54 sri yea :)
18:55 vti i wonder if he knows what i am going to send before i hit the button :)
18:57 perlrocks Twitter: "RT @vtivti: #mojolicious client and daemon got about 20% faster since yesterday, and there are still many low hanging fruits. :) #perl ( ..." --dmitry_rpm http://twitter.com/dmitry_rpm/status/20571900138
18:58 diegok joined #mojo
18:59 perlrocks Twitter: "#mojolicious client and daemon got about 20% faster since yesterday, and there are still many low hanging fruits. :) #perl (via @kraih)" --dmitry_rpm http://twitter.com/dmitry_rpm/status/20571984589
18:59 Htbaa joined #mojo
19:00 sri raw http performance is rather unimportant in the real world (as long as you are reasonably good already), but i guess optimizations make people feel good :)
19:01 sri now i just need to get people to profile and optimize the parsers for me ;p
19:05 chansen That depends on the app, doesn't it?
19:07 chansen CLIENT -> HTTP  (LB) -> HTTP -> APP -> HTTP -> (LB) -> HTTP -> CLIENT
19:11 diegok joined #mojo
19:11 sri chansen: of course
19:14 chansen .. and in the ajax days, It matters IMO
19:15 sri it's almost the websocket days :)
19:15 chansen why process HTTP twice (TE, continuation-lines, etc)?
19:16 chansen when we have FastCGI and other good binary protocols?
19:16 sri makes me feel good
19:16 chansen heh
19:17 chansen I thought you where in the optimization business ;P
19:17 sri naah, i was never good at that
19:18 * sri enjoys api design
19:18 diegok joined #mojo
19:19 chansen =)
19:36 diegok joined #mojo
19:49 diegok joined #mojo
19:50 ashleydev joined #mojo
19:58 diegok joined #mojo
20:07 xantus__ hi hi
20:12 * sri waves
20:14 diegok joined #mojo
20:20 marcus ho ho
20:25 diegok joined #mojo
20:25 marcus http://dictionary.reference.com/wor​doftheday/archive/2010/08/07.html@
20:25 marcus oops, stray @
20:42 sri :D
20:42 diegok joined #mojo
20:43 perlrocks Twitter: "@marcusramberg just told me that the word of the day is #mojo, yay! :) http://bit.ly/ahe15M #perl" --kraih http://twitter.com/kraih/status/20577017761
20:51 marcus when you tweet like that, twitter parses it as a reply
20:51 marcus and only people who follow me see it.
20:53 sri Oo
20:53 sri ok, new try
20:54 diegok joined #mojo
20:54 perlrocks Twitter: "Yay, @marcusramberg just told me that the word of the day is #mojo! :) http://bit.ly/ahe15M #perl" --kraih http://twitter.com/kraih/status/20577554355
21:02 sri hmm, most tweets in #mojo are about tiger woods
21:02 sri oO
21:05 diegok joined #mojo
21:12 diegok joined #mojo
21:21 diegok joined #mojo
21:27 awnstudio joined #mojo
21:36 diegok joined #mojo
21:37 sri really liking leverage
21:37 sri just the "geek" is annoying
21:40 tempire #mojo is pretty a pretty common slang word, it's understandable.
21:41 diegok joined #mojo
21:44 ashleydev joined #mojo
21:50 diegok joined #mojo
21:57 diegok joined #mojo
22:05 MojoGuest914 joined #mojo
22:06 diegok joined #mojo
22:11 tempire Are cookies automatically stored in a Mojo::CookieJar object for all Mojo::Client requests?
22:11 sri yes
22:15 diegok joined #mojo
22:22 diegok joined #mojo
22:22 chansen joined #mojo
22:35 diegok joined #mojo
22:44 diegok joined #mojo
22:47 sri marcus: regenesis is really a science soap opera :)
22:51 diegok joined #mojo
23:00 diegok joined #mojo
23:07 diegok joined #mojo
23:16 diegok joined #mojo
23:20 diegok joined #mojo
23:25 diegok joined #mojo
23:32 diegok joined #mojo
23:39 diegok joined #mojo
23:39 was kicked by xantus: fix your internet
23:48 diegok joined #mojo
23:50 xantus__ nm, I'll just /ignore
23:52 diegok joined #mojo
23:59 diegok joined #mojo

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