Camelia, the Perl 6 bug

IRC log for #mojo, 2010-11-03

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

All times shown according to UTC.

Time Nick Message
00:08 Alias joined #mojo
02:46 perlrocks Twitter: "RT @kraih: Most of #mojolicious is actually 20% faster after the last patch, but who cares about unrealistic micro benchmarks anyway. ;) ..." --tempiretech http://twitter.com/tempiretech/status/29533536360
03:08 alnewkirk joined #mojo
03:11 perlrocks Twitter: "RT @ xomaa: Mojolicious:: Lite 'll start! / Mojolicious / allframeworks.ru - Blog about modern web development and tools http://vk.c ..." (ru) --everbslab http://twitter.com/everbslab/status/29535415215
03:11 trcjr joined #mojo
04:04 tholen42 joined #mojo
04:06 tl left #mojo
04:10 trcjr left #mojo
04:38 achromic left #mojo
05:26 perlrocks Twitter: "Mojolicious (PSGI) Starman deploy the app - Getting Started with Perl code samples http://htn.to/RUMqZS" (ja) --__gfx__ http://twitter.com/__gfx__/status/29544141650
05:26 achromic joined #mojo
05:27 perlrocks Twitter: "[Mojolicious] / Mojolicious (PSGI) Starman deploy the app - Getting Started with Perl code samples http://htn.to/hETQvh" (ja) --shiba_yu36 http://twitter.com/shiba_yu36/status/29544196239
05:30 perlrocks Twitter: "RT! __gfx__: Mojolicious (PSGI) Starman deploy the app - Getting Started with Perl code samples http://htn.to/RUMqZS" (ja) --perlism http://twitter.com/perlism/status/29544347251
05:30 perlrocks Twitter: "RT! Shiba_yu36: [mojolicious] / Mojolicious (PSGI) Starman deploy the app - Getting Started with Perl code samples http://htn.to/hETQvh" (ja) --perlism http://twitter.com/perlism/status/29544349070
05:42 und3f[A] is now known as und3f
06:05 sri moin
06:10 GitHub115 joined #mojo
06:10 GitHub115 mojo: master Sebastian Riedel * 3248721 (1 files in 1 dirs): cleanup - http://bit.ly/aNM8uB
06:10 GitHub115 left #mojo
06:19 ysyrota joined #mojo
06:29 ltriant left #mojo
06:30 GitHub32 joined #mojo
06:30 GitHub32 mojo: master Sebastian Riedel * d05a79a (1 files in 1 dirs): cleanup - http://bit.ly/cVSAYb
06:30 GitHub32 left #mojo
06:38 crab hi.
06:40 und3f is now known as und3f[A]
06:53 GitHub84 joined #mojo
06:53 GitHub84 mojo: master Sebastian Riedel * 5506907 (1 files in 1 dirs): fixed typo - http://bit.ly/aIDIsA
06:53 GitHub84 left #mojo
07:27 perlrocks Twitter: "[Kwmr reader] Mojolicious (PSGI) Starman deploy the app - Getting Started with Perl code samples http://bit.ly/drphnI" (ja) --kwmr_reader http://twitter.com/kwmr_reader/status/29549914074
07:27 perlrocks Twitter: "RT @ kwmr_reader: [kwmr reader] Mojolicious (PSGI) Starman deploy the app - Getting Started with Perl code samples http://bit.ly/drphnI" (ja) --AE_PerlIsm http://twitter.com/AE_PerlIsm/status/29549914591
07:28 perlrocks Twitter: "defined() bugs are still my nemesis in #perl, wish i could make #mojolicious depend on 5.10 for the // operator." --kraih http://twitter.com/kraih/status/29549947519
07:30 perlrocks Twitter: "RT! Kwmr_reader: [kwmr reader] Mojolicious (PSGI) Starman deploy the app - Getting Started with Perl code samples http://bit.ly/drphnI" (ja) --perlism http://twitter.com/perlism/status/29550043233
07:35 tholen42 left #mojo
07:36 sri gonna make a new release later today
07:36 sri so get testing!
07:42 perlrocks Twitter: "Looks like we are 100% green again on cpantesters, yay! http://bit.ly/ayWtGC #perl #mojolicious" --kraih http://twitter.com/kraih/status/29550591444
07:42 marcus SUPERGREEN
07:47 perlrocks Twitter: "How to include the application Mojolicious git repository http://dlvr.it/7xfHg" (ja) --hiraba_reader http://twitter.com/hiraba_​reader/status/29550814681
07:49 sri SUPERGREEN!
08:13 koban joined #mojo
08:40 spleenjack joined #mojo
08:42 tholen42 joined #mojo
08:47 GitHub24 joined #mojo
08:47 GitHub24 mojo: master Sebastian Riedel * 2f439f1 (1 files in 1 dirs): cleanup - http://bit.ly/cnG4lE
08:47 GitHub24 left #mojo
09:02 omega left #mojo
09:31 MojoGuest279 joined #mojo
09:31 MojoGuest279 left #mojo
09:49 Rhaen hello world
10:01 perlrocks Twitter: "[git][submodules][mojolicious] / How to include Mojolicious in your app's git repository / No time to wait http://htn.to/kUucRC" --kshimo69 http://twitter.com/kshimo69/status/29557115137
10:06 * sri waves
10:39 kvorg joined #mojo
10:41 marcus left #mojo
10:47 omega joined #mojo
10:57 su-bzero left #mojo
11:11 kvorg left #mojo
11:14 koban left #mojo
11:23 kvorg joined #mojo
11:32 kvorg left #mojo
12:14 daviddelikat left #mojo
12:20 dotan joined #mojo
12:23 dm_ joined #mojo
12:46 forwardever joined #mojo
12:52 daviddelikat joined #mojo
12:57 yko joined #mojo
13:11 koban joined #mojo
13:17 * sri yawns
13:30 stephan49 can i use the attr functions provided by mojo::base in my own package? or what would you recommend instead
13:31 sri sure
13:31 sri use what you like
13:32 stephan49 sri: ich fragte eher weil ich wissen wollte ob das ggf schwachsinn is oder nett :)
13:33 sri english!
13:33 stephan49 ;(
13:33 stephan49 nvm
13:34 sri trying to avoid german here since it locks people out
13:34 stephan49 :(
13:35 stephan49 i asked because i wanted to know if its maybe bullshit to use it ;)
13:35 stephan49 outside of a mojo app
13:38 sri it is not ;p
13:42 stephan49 :)
13:50 vel joined #mojo
13:56 perlrocks Twitter: "#Mojolicious::Lite POD viewer http://bit.ly/9avIic #Perl" --vtivti http://twitter.com/vtivti/status/29573361012
14:18 fhelmber_ joined #mojo
14:27 xantus morning
14:27 xantus running tests
14:27 xantus lib/Mojo/Content.pm L90  $chunk coudld be undef, got a warning from t/mojolicious/longpolling_lite_app.t
14:28 xantus everything else is green!
14:31 GitHub87 joined #mojo
14:31 GitHub87 mojo: master Sebastian Riedel * 42db2af (5 files in 5 dirs): made automatic file storage upgrade smarter - http://bit.ly/cxMHtP
14:31 GitHub87 left #mojo
14:31 sri xantus: thanks, fixed too
14:37 xantus awesome
14:38 xantus tests are all good now
15:02 xantus wtf is with that header from reddit.com
15:02 xantus Server: '; DROP TABLE servertypes; --
15:02 xantus lol
15:07 sri it's rather old
15:07 sri i suspected some kind of joke
15:07 sri never found an explanation though
15:12 xantus ah
15:12 dotan xantus: http://en.reddit.com/r/programming/comments/c0m9v​/reddits_server_http_header_field_is_drop_table/
15:13 xantus I was just there :)
15:13 dotan :)
15:32 dm_ left #mojo
15:48 sri damn
15:49 sri i can make everything about 25% faster
15:49 sri but i need to break some stuff
15:56 sri the problem is use overload
15:56 sri just done a first profiling
15:57 sri a big offender is Mojo::Headers as expected, a lot can be done there
15:57 sri but use overload is close behind
15:57 sri i'll have to get rid of some
15:58 sri gonna start with the undocumented ones
16:00 draven joined #mojo
16:00 draven is now known as marcus
16:02 sri damn overload
16:02 sri this is huge
16:02 sri daemon also jumps another 100 req/s
16:04 perlrocks Twitter: "Joining @MarieForleo tonight at 8pm for a mojolicious 'Business Butterfly Effect' webinar:HOT STUFF! It's happening here http://ow.ly/33POb" --DecadenceDesign http://twitter.com/Decadenc​eDesign/status/29584470082
16:04 sri Oo
16:05 marcus hmm?
16:05 marcus what about overload?
16:06 sri it makes everything 25% slower atm
16:07 marcus neat
16:07 marcus another reason to hate perl overloading
16:07 perlrocks Twitter: "RT @DecadenceDesign: Joining @MarieForleo tonight at 8pm for a mojolicious 'Business Butterfly Effect' webinar:HOT STUFF! It's happening ..." --CreativeSacred http://twitter.com/Creativ​eSacred/status/29584682779
16:07 sri lots of unintended stringification i guess
16:07 sri gonna ban it from mojolicious
16:07 marcus hmm
16:07 marcus I bet a lot of people are doin"$url"
16:07 marcus or $url.""
16:08 marcus will break shit
16:08 sri maybe
16:09 sri but damn...25%!
16:09 marcus yeah, th's not nothing
16:09 marcus fixing those unintended stringifications would help tho?
16:10 sri wouldn't even know where to start
16:10 sri it is mostly return values
16:10 sri good luck following those
16:10 marcus hunting wabbits
16:11 sri stuff like $some_url->authority('lalala') and ...
16:11 sri returns the url instance and stringifies to check for truth
16:12 koban left #mojo
16:14 perlrocks Twitter: "I could make #mojolicious 25% faster overall by removing all overload use for object stringification, worth it? #perl" --kraih http://twitter.com/kraih/status/29585275513
16:14 forwardever sri: not sure whether I understand everything of your current discussion, in objectdb there was lot of magic behaviour going on, most of it could be solved by introducing "use overload 'bool' => sub { shift; }, fallback => 1;" so when checked for truth, there was no stringification
16:15 forwardever just ignore it if it doesn't make sense :)
16:16 sri bool overload might actually work
16:16 sri lets see
16:16 forwardever there is a section in perldocs, let me see
16:17 perlrocks Twitter: "RT @kraih: I could make #mojolicious 25% faster overall by removing all overload use for object stringification, worth it? #perl" --kovnsk http://twitter.com/kovnsk/status/29585521849
16:18 ysyrota left #mojo
16:22 sri almost equal :)
16:22 sri forwardever++
16:24 forwardever :) however, have to agree with marcus that overloading brings more trouble than it helps (lots of magic that is hard to debug is going on), perldocs even says: This document is confusing.  There are grammos and misleading language used in places.  It would seem a total rewrite is needed (http://perldoc.perl.org/overload.html)
16:25 fhelmber_ left #mojo
16:27 fhelmber_ joined #mojo
16:30 tab joined #mojo
16:35 tab hi, i´m here with a question about ep templates.
16:35 tab i have an html layout with two columns where the main column is filled with <%== content %>
16:35 tab the sidebar also has to be filled with something dynamic.
16:35 tab is the a simple way to declare a part of my index.html.ep file as the part meant to be the sidebars content?
16:36 tab one ugly way would be to set a stash value in the index.html.ep like $self->stash("sb", "my sidebar content") and load this in the layout template.
16:36 tab but what if i want more than only one line of text but a bunch of html created on the fly?
16:36 garu you mean blocks?
16:37 Akron joined #mojo
16:37 garu <% my $block = begin %>
16:37 garu ...
16:37 garu <% end %>
16:37 tab oh nice
16:37 garu tab: ^^
16:38 tab tab wonders why he didn´t find it himself :-/
16:38 tab thanks for your help
16:38 tab i knew i´ve seen this some time ago, but couldn´t find it
16:38 garu then just call it, like <%= $block->('param1', 42, 'etc') %>
16:39 garu it's documented in Mojo::Template
16:39 garu (just so you know :)
16:43 tab now i get an error in this line: <% my $block = begin %>
16:43 tab Can't call method "begin" without a package or object reference at template line 5
16:43 tab what am i doing wrong?
16:49 sri tab: which version?
16:51 tab Mojolicious is v0.999929
16:52 sri tab: too old
16:52 tab okay, i´ll upgrade
16:53 GabrielVieira joined #mojo
16:57 tab left #mojo
17:13 polvo ... is constant worth using?
17:38 dotan left #mojo
17:41 GitHub19 joined #mojo
17:41 GitHub19 mojo: master Sebastian Riedel * 0ad35ea (17 files in 4 dirs): fixed overload stringification and improved overall performance by about 25% - http://bit.ly/bNQO1Y
17:41 GitHub19 left #mojo
17:42 sri removing overload completely would still be faster though
17:43 sri for now i've left the commonly used ones in place
17:52 marcus nice
17:52 marcus I think the bool override is a good compromise
17:52 sri i'm not happy, but i guess most users will be
17:53 sri at 700 req/s it's still a difference of 20 req/s
17:57 marcus I think url stringification is a useful developer convenience
17:57 vel left #mojo
17:57 marcus you always tell me those are more important than performance anyways :)
17:57 sri :)
17:59 Akron This bool override ... fighting magic with more magic. ;)
17:59 marcus fight fire with fire!
18:00 Akron Give the voodoo doll a voodoo doll!
18:02 marcus if you are going to implement overriding, do it right
18:06 spleenjack left #mojo
18:07 GitHub160 joined #mojo
18:07 GitHub160 mojo: master Sebastian Riedel * 00e23f4 (3 files in 2 dirs): cleanup and another 2% performance improvement - http://bit.ly/aRlRWO
18:07 GitHub160 left #mojo
18:10 sri still lots of low hanging fruits according to nytprof
18:11 sri especially the header related stuff
18:24 GitHub80 joined #mojo
18:24 GitHub80 mojo: master Sebastian Riedel * 42e3d04 (3 files in 2 dirs): fixed start line/header buffering and improved performance by 8% - http://bit.ly/bYgq6V
18:24 GitHub80 left #mojo
18:24 sri this one is very noticeable on the server side :)
18:25 sri 80 req/s here
18:26 tab joined #mojo
18:29 sri nytprof++
18:31 sri Mojo::Transaction::HTTP::keep_alive really needs to be tuned somehow
18:39 GitHub53 joined #mojo
18:39 GitHub53 mojo: master Sebastian Riedel * bb2d4a9 (1 files in 1 dirs): cleanup and another 3% performance improvement - http://bit.ly/b8igNH
18:39 GitHub53 left #mojo
18:39 sri this quickly adds up :)
18:47 tab left #mojo
19:03 sri i want to make a release, get testing :)
19:05 und3f[A] is now known as und3f
19:05 sri in some cases the performance improvements should be closer to 100% than the 50% mentioned in Changes :)
19:06 sri hypnotoad is about 70% faster :D
19:07 sri i'm back to serious stuff now though, if one of you wants to continue nytprof makes it trivial to track down bottlenecks
19:08 spleenjack joined #mojo
19:08 sri especially Mojo::Headers could use a smart rewrite
19:13 perlrocks Twitter: "Added a few more performance improvements to #mojolicious, overall gain should be between 50 and 100%. #perl" --kraih http://twitter.com/kraih/status/29598080348
19:18 perlrocks Twitter: "Another low hanging fruit is Mojo::Headers, it could use a smart rewrite, volunteers? :) http://bit.ly/apgBNU #perl #mojolicious" --kraih http://twitter.com/kraih/status/29598422766
19:21 su-bzero joined #mojo
19:26 fhelmber_ left #mojo
19:32 fhelmber_ joined #mojo
19:38 perlrocks Twitter: "Mojolicious meets Xslate - Islands in the byte stream http://dlvr.it/7zJbp" (ja) --RtestR http://twitter.com/RtestR/status/29599715548
19:40 Akron left #mojo
19:43 tab joined #mojo
20:07 Akron joined #mojo
20:14 tab left #mojo
20:15 Akron left #mojo
20:15 GitHub179 joined #mojo
20:15 GitHub179 mojo: master Sebastian Riedel * c3688d4 (1 files in 1 dirs): cleanup - http://bit.ly/aQJGBo
20:15 GitHub179 left #mojo
20:15 sri release time
20:20 perlrocks Twitter: "Mojolicious meets Xslate - Islands in the byte stream http://dlvr.it/7zNmF" (ja) --hiraba_reader http://twitter.com/hiraba_​reader/status/29602661785
20:28 perlrocks Twitter: "http://bit.ly/aISc4I Mojolicious meets Xslate - Islands in the byte stream Re: Mojolicious:: Lite with, Text:: XSlate is less able to use a slow, MojoX:: Ren .." (ja) --recenturl http://twitter.com/recenturl/status/29603223531
20:36 perlrocks Twitter: "Released #mojolicious 0.999935 with quite a few performance improvements and bugfixes, enjoy! :) #perl" --kraih http://twitter.com/kraih/status/29603846300
21:07 ltriant joined #mojo
21:11 GitHub45 joined #mojo
21:11 GitHub45 mojo: master Sebastian Riedel * a21fe0a (3 files in 3 dirs): fixed connection reset handling in Mojo::IOLoop - http://bit.ly/be1nlg
21:11 GitHub45 left #mojo
21:12 sri for those annoyed by the connection reset error messages in the log :)
21:19 garu sri: 0.999936 coming up? :)
21:19 sri not today :)
21:29 yko left #mojo
21:29 spleenjack left #mojo
21:38 vel joined #mojo
21:40 fhelmber_ left #mojo
21:42 vel left #mojo
21:45 daviddelikat left #mojo
21:52 perlite_ joined #mojo
21:56 perlite left #mojo
22:13 GitHub157 joined #mojo
22:13 GitHub157 mojo: master Sebastian Riedel * d849637 (1 files in 1 dirs): cleanup - http://bit.ly/9i8ucl
22:13 GitHub157 left #mojo
22:37 daviddelikat joined #mojo
22:56 forwardever cpanm https://github.com/kraih/mojo/tarball/master no longer works on my computer, have there been any changes on github?
23:03 trcjr joined #mojo
23:28 forwardever left #mojo
23:45 baton8 left #mojo

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