Camelia, the Perl 6 bug

IRC log for #mojo, 2011-08-05

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

All times shown according to UTC.

Time Nick Message
00:00 perlrocks Twitter: "Dojo + # + # # mojolicious psgi pancakes + # + # # + fastcgi lighttpd FTW!" (sk) --angeloselvini http://twitter.com/angeloselv​ini/status/99268538958749696
00:40 xaka left #mojo
00:51 perlrocks Twitter: "having fun porting a CGI::Application to Mojolicious" --jasoncrowther http://twitter.com/jasoncrowt​her/status/99281278909681664
00:52 xaka joined #mojo
00:55 SmokeMachine joined #mojo
00:58 Alias__ joined #mojo
01:20 preflex_ is now known as preflex
01:22 Kulag left #mojo
01:22 Kulag joined #mojo
01:28 Kulag left #mojo
01:32 Kulag joined #mojo
01:38 SmokeMachine left #mojo
01:51 mateu left #mojo
02:03 Kulag left #mojo
02:03 Kulag joined #mojo
02:18 Kulag left #mojo
02:24 Kulag joined #mojo
02:31 tempire finally
02:31 tempire finished the first cut of mojocast #2
02:31 Alias__ left #mojo
02:37 ispy_ joined #mojo
02:38 mateu joined #mojo
02:58 ashleydev left #mojo
02:58 ashleydev joined #mojo
02:59 crab what's it about?
02:59 purl it's always about the BOOBIES
03:01 crab i think there are enough videos about boobies
03:17 tempire placeholders, http methods, and formats
03:25 GitHub182 joined #mojo
03:25 GitHub182 [mojo] kraih pushed 1 new commit to master: http://bit.ly/oCxBzv
03:25 GitHub182 [mojo/master] improved Mojo::IOWatcher to use higher resolution timers - Sebastian Riedel
03:25 GitHub182 left #mojo
03:28 sri DaTa" yes, newline is added by perltidy, which i use all the time ;)
03:30 sri batman" i like to use indented perl lines for conditions
03:31 sri s/"/:/
03:31 crab i think of high resolution timers as small analog clocks with arms and legs, muttering to themselves "must... keep... time"
03:31 sri MUST… KEEP… TIME!
03:32 batman sri: like "% if($foo) {" instead of "<% if($foo) { %>" ?
03:32 sri ye
03:32 batman i agree :)
03:33 sri i've tried a lot to make perl in templates look good
03:33 sri indented % followed by code was the clear winner
03:33 sri using it whenever i can now
03:35 sri https://github.com/kraih/mojo/blob​/master/lib/Mojolicious/templates/​exception.development.html.ep#L132
03:35 sri using it for all built in templates too
03:35 batman yeah... i guess there will be no end if you start "fixing" perl code in templates and still have full perl code support
03:41 GitHub124 joined #mojo
03:41 GitHub124 [mojo] kraih pushed 1 new commit to master: http://bit.ly/o3QJGr
03:41 GitHub124 [mojo/master] improved trigger.t slightly - Sebastian Riedel
03:41 GitHub124 left #mojo
03:43 sri hmm, hires timers cut down test time significantly
03:44 sri guess that means i need to make a release today
03:46 crab i don't see that big a difference
03:47 GitHub181 joined #mojo
03:47 GitHub181 [mojo] kraih pushed 1 new commit to master: http://bit.ly/pkT75I
03:47 GitHub181 [mojo/master] release preparation - Sebastian Riedel
03:47 GitHub181 left #mojo
03:48 sri crab: use HARNESS_OPTIONS=j5
03:48 sri dropped from 23s to 15s
03:49 crab i do use that
03:50 crab and while i'm not sure of the exact difference, it's no more than a few seconds
03:50 sri 8 seconds here
03:59 bokutin joined #mojo
04:01 xaka actually hi res timer didn't solve that problem, but upgrade :) but looks like moving to hi res was a right decision
04:02 perlrocks Twitter: "Mojolicious 1.71 by SRI - http://metacpan.org/release/SRI/Mojolicious-1.71/" (ms) --cpan_new http://twitter.com/cpan_ne​w/status/99329469336141824
04:16 mattastrophe left #mojo
04:26 kaare joined #mojo
04:31 sri it also cuts down test runs without j5 by 8 seconds
05:00 mattastrophe joined #mojo
05:21 * sri yawns
05:43 sri tempire: why don't we talk in public about the next mojocast? :)
05:52 xantus[] first rule of mojocast
05:56 * tempire abides by the first rule
06:13 koban joined #mojo
06:40 AmeliePoulain joined #mojo
07:00 sri hmm, maybe promise would have been a better name for trigger
07:04 sri yea, i think promise makes more sense
07:05 judofyr joined #mojo
07:05 arthas joined #mojo
07:12 sri renaming Mojo::IOLoop::Trigger to Mojo::IOLoop::Promise could make the concept easier to grok
07:16 sri or make it even harder...
07:16 sri hmm
07:16 judofyr sri: dude, are you in here *always*?
07:16 sri where else would i be? :o
07:17 sri not much else to do for me before the robot revolution
07:18 sri YOU'RE ALL DOOOOMED!
07:19 sri except for you purl
07:19 * sri hugs purl
07:19 purl sri: bathe first
07:23 marcus sri aka red robot
07:37 xaka left #mojo
07:47 cosmincx joined #mojo
08:03 ajgb joined #mojo
08:04 trone I have a route that dispatch from /service/download/:file where :file is file.ext I know that if I don't do anything mojolicious strip the extension, but if I put format => 0 route option it don't seem get the controller. Someone knows?
08:06 trone The code & log: http://pastebin.com/Y0rMuJq0
08:07 sri trone: working as intended, i'm sure the documentation explains it
08:08 trone Without format => 0 it work as should: http://pastebin.com/ucmgVYLi
08:08 sri then don't use format => 0 :)
08:09 trone sri: mmm. I dont understand exactly what happen with format => 0. the dispatcher don't strip the format, but don't understand what happen.
08:10 sri http://mojolicio.us/perldoc/Moj​olicious/Guides/Routing#Formats
08:11 sri and it of course does explain it
08:12 trone sri: the right_way™ is (re)join $filename + format in controller?
08:15 stephan48 overcomplicated?
08:17 trone In my mind (of course) I have match the complete filename: I need that it+extension go in the param or I need join extension in the controller. stephan48 I don't know if there are other way...
08:18 stephan48 maybe try ".file"?
08:19 trone stephan48: ouh, relaxed placeholder? Yes. it seem what I look for.
08:19 trone stephan48: thanks.
08:23 nickl joined #mojo
08:28 sromanov joined #mojo
08:33 mattastrophe left #mojo
08:33 mattastrophe joined #mojo
08:57 spleenjack joined #mojo
09:05 GitHub157 joined #mojo
09:05 GitHub157 [mojo] kraih pushed 1 new commit to master: http://bit.ly/pTeg3B
09:05 GitHub157 [mojo/master] fixed small alternative placeholder value bug in routes - Sebastian Riedel
09:05 GitHub157 left #mojo
09:17 judofyr sri: what's the correct way to vendor libraries in a Mojolicious-project? like, I have vendor/parallol and vendor/solarbeam (or something similar) and want both their lib-directory in search path of the main app.
09:24 mattastrophe left #mojo
09:37 Hussain joined #mojo
09:42 mattastrophe joined #mojo
09:45 judofyr left #mojo
09:46 judofyr joined #mojo
09:51 bosphorus joined #mojo
09:51 sromanov left #mojo
10:15 sri judofyr: plain old use lib
10:29 Foxcool joined #mojo
10:32 judofyr sri: good, good
10:40 * sri just found the hackers soundtrack in a box the closet :o
10:41 sri those were some fine songs
10:42 mhi sri: +1
10:42 purl 1
10:45 Hussain left #mojo
11:23 ispy_ left #mojo
11:32 perlrocks Twitter: "It is baz @ hwatattama Nakutsu Mojolicious is, mistakes are unaware of the package name from Perl. Treated as a proper name from the package names package write. This is (not just Perl) is not only taking care yourself." (ja) --perlcodesample http://twitter.com/perlcodesa​mple/status/99442633579048960
11:33 * marcus feels crippled since sounddrop stopped working.
11:39 bokutin left #mojo
11:40 Foxcool left #mojo
11:52 ispy_ joined #mojo
11:53 ispy_ left #mojo
11:55 ispy_ joined #mojo
12:29 tabbi joined #mojo
12:29 tabbi left #mojo
12:40 bosphorus left #mojo
12:47 ysyrota joined #mojo
12:59 perlrocks Twitter: "Mojo:: What is the value of entering the Mojolicious Yappari UserAgent." (ja) --syohex http://twitter.com/syohex/status/99464606296186880
13:26 SmokeMachine joined #mojo
13:28 abra joined #mojo
13:54 ph1g joined #mojo
13:59 cosmincx left #mojo
14:07 AmeliePoulain left #mojo
14:34 ilbot2 joined #mojo
14:34 Topic for #mojo is now join the revolution ♥ http://mojolicio.ushttp://irclog.perlgeek.de/mojo/today
14:44 batman left #mojo
14:45 amoore joined #mojo
14:46 koban left #mojo
14:50 cosimo joined #mojo
18:17 ilbot2 joined #mojo
18:17 Topic for #mojo is now join the revolution ♥ http://mojolicio.ushttp://irclog.perlgeek.de/mojo/today
18:27 sri xaka: actually… 20 * 0.25 is very suspicious
18:27 sri because 5s is the default keep alive timeout of the server
18:28 sri so it might not be a bug but a feature
18:28 xaka :)
18:28 xaka but i need one_tick for tests
18:28 xaka to be sure that recurring and so on are running many times
18:29 sri there are very little guarantees
18:30 sri even if you give one_tick a number, that's only a suggestion
18:32 GitHub41 joined #mojo
18:32 GitHub41 [mojo] kraih pushed 1 new commit to master: http://bit.ly/pReZ6W
18:32 GitHub41 [mojo/master] fixed small bug in Mojo::IOWatcher - Sebastian Riedel
18:32 GitHub41 left #mojo
18:34 jwang joined #mojo
18:37 sri simple solution for your specific problem would be to disable keep alive
18:45 sri there might be something else though
18:45 sri timeout management could be a little more defensive
18:56 sri yea, this specific case can be avoided by moving the timeout code in one_tick after the iowatcher call… but that causes new side effects
18:56 sri which makes a few tests in ioloop_tls.t fail
19:05 GitHub192 joined #mojo
19:05 GitHub192 [mojo] kraih pushed 1 new commit to master: http://bit.ly/rjQpms
19:05 GitHub192 [mojo/master] fixed a small bug in Mojo::IOLoop::Client - Sebastian Riedel
19:05 GitHub192 left #mojo
19:06 sri so… timing can be improved… but someone (not me) would have to invest some serious time profiling the hell out of ioloop
19:15 perlrocks Twitter: "Mojo / IOLoop / EventEmitter in # mojolicious - awesome!!!" (ru) --korjavin http://twitter.com/korjavi​n/status/99559227412054016
19:21 sri also wondering if 5 seconds might be a bit short for a default keep alive timeout
19:25 gabiruh joined #mojo
19:25 abra joined #mojo
19:25 sri interesting, nginx defaults to 75 seconds
19:28 amoore joined #mojo
19:31 GitHub15 joined #mojo
19:31 GitHub15 [mojo] kraih pushed 1 new commit to master: http://bit.ly/ri9euv
19:31 GitHub15 [mojo/master] changed default keep alive timeout in Mojo::Server::Daemon from 5 to 15 seconds - Sebastian Riedel
19:31 GitHub15 left #mojo
19:34 GitHub147 joined #mojo
19:34 GitHub147 [mojo] kraih pushed 1 new commit to master: http://bit.ly/qekDNz
19:34 GitHub147 [mojo/master] documentation fix - Sebastian Riedel
19:34 GitHub147 left #mojo
19:47 sri 15 seconds should be a well balanced default
19:58 sri not entirely sure yet though
19:58 tempire whoa
19:58 tempire alphas is shaping up to be pretty awesome
19:58 tempire go go syfy
20:01 sri indeed
20:01 sri who would have thought syfy could produce something worth watching
20:08 perlrocks Twitter: "Mojolicious 1.72 by SRI - http://metacpan.org/release/SRI/Mojolicious-1.72/" (ms) --cpan_new http://twitter.com/cpan_ne​w/status/99572617379450881
20:10 SmokeMachine_ joined #mojo
21:12 arthas joined #mojo
23:03 arthas joined #mojo
23:39 xantus[] odd, my routes don't work after updating mojo
23:47 shonorio joined #mojo

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