Camelia, the Perl 6 bug

IRC log for #mojo, 2011-08-18

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

All times shown according to UTC.

Time Nick Message
00:01 xaka i think there should be an exception if there is no response
00:03 sri xaka: is that not fricking exceptional enough for you?
00:03 sri failing test is pretty damn exceptional in my eyes
00:03 xaka sri: why do you think i've asked you? because i don't know real reason why it's undef
00:04 xaka connection has been closed or something wrong with a web server, or, or, or
00:04 sri dunno what to say… maybe someone else should take over
00:07 sri if you know what's wrong then yes, you should definitely send a patch and make it show an error message!
00:08 perlrocks Twitter: "Imperceptibly into the Mojolicious ... ... 1.80" (ja) --oyomeni_onihime http://twitter.com/oyomeni_oni​hime/status/103981601079300096
00:09 mhi I'll look into it tomorrow.. have to finish this talk for now.
00:12 sri i meant xaka btw.
00:13 mhi (I know :)
00:14 sri ok :)
00:24 xaka oh, there is an "error" property, looks good to me, hope it will show me the real reason
00:33 perlrocks Twitter: "Mojolicious-Plugin-Geo 0.01 by ELBOW - http://t.co/HeSbGqS" --cpan_new http://twitter.com/cpan_new​/status/103987884087984128
00:34 elb0w__ probably should of put some docs with that
00:34 elb0w__ haha
00:37 ispy_ joined #mojo
00:39 Akron joined #mojo
00:45 perlrocks Twitter: "Mojolicious-Plugin-Geo 0.02 by ELBOW - http://t.co/oLviuPi" --cpan_new http://twitter.com/cpan_new​/status/103990787594924033
00:50 Akron I really like the new naming convention. Makes my PubSubHubbub Plugin look more sane.
00:51 elb0w__ How were people naming them before?
00:52 xaka joined #mojo
00:55 Akron ->plugin('ppub_sub_hubbub'); looked really ugly ...
00:56 Akron elb0w_ Did you looked into sharifulin's geolocation plugin? I think it's slightly more general.
00:58 Akron Sorry - elb0w__.
00:59 sri muliple nick disorder
01:02 bzero joined #mojo
01:11 GitHub112 joined #mojo
01:11 GitHub112 [mojo] kraih pushed 1 new commit to master: http://bit.ly/o5PzOk
01:11 GitHub112 [mojo/master] improved Test::Mojo diagnostics slightly - Sebastian Riedel
01:11 GitHub112 left #mojo
01:36 d4rkie joined #mojo
01:58 ispy_ joined #mojo
02:06 ispy_ joined #mojo
02:09 elb0w__ joined #mojo
02:09 elb0w__ Oh didn't see someone had a geo plugin up
02:09 elb0w__ The one I put up is just very simple
02:10 elb0w__ hard coded geo server
02:10 elb0w__ Guess its annoying to have two. Should I remove it?
02:33 ispy_ joined #mojo
02:39 crab joined #mojo
03:18 perlrocks Twitter: "Mojolicious is a Web framework for Perl." (ja) --perlcodesample http://twitter.com/perlcodesam​ple/status/104029488970604544
03:19 perlrocks Twitter: "Mojolicious has been created with an object-oriented. Mojolicious:: Lite as a part of the best get to the surface, rather than object-oriented configuration is a function that can be used raw." (ja) --perlcodesample http://twitter.com/perlcodesam​ple/status/104029736983998464
03:22 perlrocks Twitter: "Prospects of the code has been written in a single object-oriented inheritance is to be Mojolicious very good. # Perl" (ja) --perlcodesample http://twitter.com/perlcodesam​ple/status/104030271472537600
03:23 perlrocks Twitter: "Code is organized around Mojolicious is not difficult to see much I probably would not have been organized. Around here, not the community of Perl, so strong is the part under the influence of the community of Ruby. # Perl" (ja) --perlcodesample http://twitter.com/perlcodesam​ple/status/104030629473169408
03:24 perlrocks Twitter: "Mojolicious:: Lite is a framework that can be used for special functions. Toka post とか app is a function called get, will be imported automatically. Mojolicious:: Lite is made with reference to a sinatra framework for Ruby. # Perl" (ja) --perlcodesample http://twitter.com/perlcodesam​ple/status/104030920373309440
03:25 perlrocks Twitter: "Small sinatora in Ruby, but I think that a large 使I分Ke from a Ruby on Rails framework, it Mojolicious has supported them all. # Perl" (ja) --perlcodesample http://twitter.com/perlcodesam​ple/status/104031216344375296
03:27 perlrocks Twitter: "To tell what sound we do that is prototyping the first Mojolicious:: say, write and crispy file a piece of a Lite, a certain scale (in the sense of yourself What rule of thumb hesitation to go 1000) becomes # perl" (ja) --perlcodesample http://twitter.com/perlcodesam​ple/status/104031523862364161
03:29 perlrocks Twitter: "Mojolicious:: You can migrate the source code to Mojolicious from Lite. Mojolicious:: knowledge learned in the Lite, you can still capitalize on Mojolicious. # Perl" (ja) --perlcodesample http://twitter.com/perlcodesam​ple/status/104032080593301504
03:29 Alias_ joined #mojo
03:30 perlrocks Twitter: "A framework for a smooth transition to the source code easier to maintain for such a large scale prototype and is probably not the first such Mojolicious of Perl." (ja) --perlcodesample http://twitter.com/perlcodesam​ple/status/104032304795623426
03:31 perlrocks Twitter: "This area Mojolicious:: Guide:: The familiar Growing. http://t.co/t4DaNKU # perl" (ja) --perlcodesample http://twitter.com/perlcodesam​ple/status/104032693041381376
03:34 perlrocks Twitter: "Some people may be concerned about the policy of backward compatibility Mojolicious. Even Mojolicious position that maintaining full backward compatibility, also taking a position that does not care about backward compatibility. # Perl" (ja) --perlcodesample http://twitter.com/perlcodesam​ple/status/104033319792033795
03:38 perlrocks Twitter: "So, wants to be fully backward compatible Mojolicious in the first place that should not be conscious. # Perl" (ja) --perlcodesample http://twitter.com/perlcodesam​ple/status/104034310071390208
03:40 perlrocks Twitter: "One of the Web technologies that have been die 移Ri変Watsu terms with the times. To do so, Mojolicious can not afford to lose the backwards compatibility break room has a go at it. Because it is a framework for the Web. # Perl" (ja) --perlcodesample http://twitter.com/perlcodesam​ple/status/104034815485034497
03:41 perlrocks Twitter: "However, that change the function in the direction of eye-opening is possible without the user first. Features that are commonly used in many users, a lot of attention has been paid. That has not been documented, is that I have observations about a year. # Mojolicious # perl" (ja) --perlcodesample http://twitter.com/perlcodesam​ple/status/104035283305107456
03:44 perlrocks Twitter: "Mojolicious at my site, for example:: Lite is a sample of about a year ago, but has written, as it still works. Become obsolete or are not capabilities. If you care not to touch the depths of internal features Mojolicious, can be used fairly stable. # Perl" (ja) --perlcodesample http://twitter.com/perlcodesam​ple/status/104035809291796480
03:46 perlrocks Twitter: "Looking at the trends, such as foreign Mojolicious actually entered the stage and perhaps also be used in companies. This means including the paucity of jobs available in the stage bug is that it has reached. # Perl" (ja) --perlcodesample http://twitter.com/perlcodesam​ple/status/104036327300939778
03:47 xaka twitter has gotten crazy
03:48 perlrocks Twitter: "To use the Mojolicious, no need of waiting a little longer and now we feel. # Perl" (ja) --perlcodesample http://twitter.com/perlcodesam​ple/status/104036824544051200
04:10 xaka sri: had you been spending a lot of unsleepy nights for design and arch of Mojo? API is very clean and easy, so what the secret?
04:17 kaare joined #mojo
04:26 tempire xaka: step 1) create catalyst  2) learn  3) create mojolicious
05:12 marcus actually, step 0) redesign maypole
05:50 koban joined #mojo
05:56 meraxes joined #mojo
06:18 perlrocks Twitter: "Sorry due to lack of knowledge @ masakyst. I sinatra I put in a Ruby on rails. But surely if you rewrite Mojolicious:: Lite -> easier and I think should be considerably more Mojolicious." (ja) --perlcodesample http://twitter.com/perlcodesam​ple/status/104074641131311104
06:36 Foxcool joined #mojo
06:52 sugar joined #mojo
07:03 perlrocks Twitter: "Working with cookies in Mojolicious:: Lite http://t.co/sWpNYpx # perl # mojolicious # mojo" (ru) --xomaa http://twitter.com/xomaa/status/104086094194286592
07:13 judofyr joined #mojo
07:27 nordicdyno joined #mojo
07:30 nordicdy_ joined #mojo
07:31 Firkin joined #mojo
07:33 nordicd__ joined #mojo
07:34 perlite_ joined #mojo
07:44 cosmincx joined #mojo
07:55 nickl joined #mojo
07:56 nickl_ joined #mojo
07:56 nickl joined #mojo
08:06 nordicdyno joined #mojo
08:36 Eugene joined #mojo
08:45 rhaen hep
08:46 judofyr hep hep
08:51 marcus hep hep  hep
08:51 marcus HEP!
08:51 rhaen omg, how old are you?
08:52 rhaen really.
08:52 rhaen :)
08:52 rhaen marcus: hejas - how's life?
08:52 marcus rhaen: I'm 34 :)
08:53 rhaen marcus: ah :) THAT old :)
08:53 marcus rhaen: well, I have a 2.5 year old daughter. It helps.
08:53 rhaen marcus: cool, yep - it keeps you young.
08:54 rhaen did you attend riga?
08:55 marcus rhaen: yes
08:55 rhaen cool :) You had a mojo talk, right?
08:55 marcus rhaen: yepp. I did
08:57 rhaen :) that's wonderful - and with tempires new screencast we are able to take over the world, real sonn
08:57 rhaen soon
08:59 marcus http://www.youtube.com/watch?v=iJPFSNu_QNs
09:02 rhaen haha
09:12 spleenjack joined #mojo
09:23 perlrocks Twitter: "Did I write in the Kolon subtly with templates Mojolicious ...." (ja) --hisaichi5518 http://twitter.com/hisaichi55​18/status/104121234568118272
09:29 marcus ouch
09:29 marcus woot woot in the butt?
10:42 tabbi joined #mojo
10:42 tabbi left #mojo
11:07 fmerges joined #mojo
11:31 cosimo joined #mojo
12:02 sri WEBSOCKETS!
12:02 purl websockets is the replacement for comet
12:11 Foxcool joined #mojo
12:18 rhaen sri: Webrockets?
12:19 rhaen sri: are they webscale?
12:21 Foxcool joined #mojo
12:21 Foxcool_ joined #mojo
12:21 marcus unexpected webrockets from behind.
12:22 Foxcool joined #mojo
12:22 Foxcool_ joined #mojo
12:22 Foxcool joined #mojo
12:26 sri http://www.cpantesters.org/cpan/report​/05b07ff4-c95c-11e0-9bfc-a0430992985c # wonder how that one gets triggered
12:36 cosmincx joined #mojo
12:36 GitHub123 joined #mojo
12:36 GitHub123 [mojo] kraih pushed 1 new commit to master: http://bit.ly/pMBRLE
12:36 GitHub123 [mojo/master] cleanup - Sebastian Riedel
12:36 GitHub123 left #mojo
12:45 elb0w Question, is there any method to store session data on the server and reference it by an id? The client I am using does not use cookies
12:48 SmokeMachine joined #mojo
12:51 mspo put it in a parameter
13:00 elb0w Yeah, I guess ill just use redis
13:01 dekimsey joined #mojo
13:07 elb0w sri: should I remove my geo plugin?
13:07 elb0w I didnt notice the other
13:12 d4rkie joined #mojo
13:19 random joined #mojo
13:21 Foxcool joined #mojo
13:24 Foxcool joined #mojo
13:25 sri elb0w: up to you
13:26 elb0w Eh Ill leave it there for the people who just want to play with it
13:27 elb0w think ill make a google charts plugin next
13:27 elb0w really fun how simple it is to make a plugin
13:31 noganex_ mh.. i've been wondering... what is a plugin? wouldn't it be better to write just a normal module?
13:33 stephan48 write a module containing the functionallity and then write a plugin to glue it to mojo
13:35 Foxcool joined #mojo
13:42 sugar what version of websockets is supported in mojolicous now?
13:47 elb0w they usually are pretty much up to date on the most recent
13:48 sri sugar: ietf-10
13:49 sri noganex_: what stephan48 said
13:50 sri noganex_: and that's only for helper plugins, you will find many more possibilities in the guides
13:51 sri such as route conditions and embedded applications
13:52 sri http://mojolicio.us/perldo​c/Mojolicious/Plugin/Mount # the possibilities are infinite
13:53 sri you can hook into all aspects of mojolicious
13:55 sri literally :) https://github.com/kraih/mojo/blob/master/​lib/Mojolicious/Plugin/RequestTimer.pm#L12
13:57 sri marcus: any plans to change the TT renderer name?
13:57 marcus sri: ash maintains it, and it did change?
13:58 marcus sri: ask even
13:58 sri marcus: nono, i mean Tt to TT
13:58 sugar sri: thx
13:58 marcus sri: I hope so
13:59 sri sugar: link to the spec is now always in Mojo::Transaction::WebSocket btw.
14:02 sugar ok, thanks
14:14 elb0w Sort of bummed bout ssl issue
14:14 elb0w Should I not use hypno?
14:15 cosmincx joined #mojo
14:19 marcus elb0w: don't you have something in front that can handle https?
14:21 marcus elb0w: http://www.f5.com/products/b​ig-ip/ssl-acceleration.html ;)
14:22 marcus elb0w: or just nginx
14:23 elb0w Nope, this isnt really my domain of expertise
14:23 elb0w Havent used nginx, only heard it referred to as a reverse proxy?
14:24 marcus elb0w: it's a lightweight web server
14:25 marcus elb0w: you could easily make it handle the https and set a flag so mojo knows it's secure, and it can http proxy back to hypnotoad
14:25 elb0w Ok cool, when I go live ill do that
14:25 elb0w What is nginx written in C?
14:26 marcus yeah, C
14:26 marcus elb0w: it's made by russians :)
14:27 marcus http://nginx.org/
14:30 elb0w alright awesome ty
14:31 SmokeMachine left #mojo
14:49 d4rkie joined #mojo
14:50 abra joined #mojo
14:59 GitHub23 joined #mojo
14:59 GitHub23 [mojo] kraih pushed 1 new commit to master: http://bit.ly/o1Mn2U
14:59 GitHub23 [mojo/master] cleanup - Sebastian Riedel
14:59 GitHub23 left #mojo
15:04 GitHub170 joined #mojo
15:04 GitHub170 [mojo] kraih pushed 1 new commit to master: http://bit.ly/qyxxg4
15:04 GitHub170 [mojo/master] fixed small test portability problem - Sebastian Riedel
15:04 GitHub170 left #mojo
15:13 perlrocks Twitter: "Just listened to a #mojolicious talk. Not too convincing. I mean, it might be huge and great for #perl standards, but it's Perl-ish, still." --_huydinh http://twitter.com/_huydinh​/status/104209403300954112
15:14 jamesw strange how that happens
15:16 sri :o
15:19 GabrielVieira joined #mojo
15:45 * sri wonders if the guy who recently asked about SPDY support is still here
15:48 perlrocks Twitter: "Locale::Maketext::Extract now parses #Mojolicious i18n strings in TT templates, http://t.co/SS9oz80  /cc @clintongormley #perl" --cstrep http://twitter.com/cstrep/​status/104218057848791041
15:49 xaka joined #mojo
15:50 elb0w what is Perl-ish?
15:50 sri Perl
15:50 elb0w Was he unaware of what language mojo was written in?
15:51 sri i think he just doesn't like perl
15:51 elb0w probably a python dev
15:51 elb0w or ruby
15:51 sri he's polite, so ruby
15:52 elb0w hahah
15:53 elb0w its blown up in the last year
15:53 elb0w whoops
16:00 marcus sri: it's ruby
16:00 marcus { name: 'Dinh', firstname: 'Huy', dob: 459863160, location: 'Berlin, DE', lang: [:de, :en, :fr, :jp, :vi, :javascript, :perl, :ruby] }
16:00 marcus did he go to my talk, or has someone else held one?
16:00 sri :)
16:00 elb0w must of been another
16:00 sri maybe berlin.pm
16:01 marcus https://github.com/clintongormle​y/locale-maketext-lexicon/pull/4
16:01 marcus cosimo++
16:03 ispy_ joined #mojo
16:04 sri wonder if commands should be renamed too
16:04 marcus http://en.wikipedia.org/wiki/SmartOS # sigh
16:05 sri what's better Mojolicious::Command::FastCgi or Mojolicious::Command::fastcgi?
16:05 marcus sri: I like fastcgi better
16:05 sri no wait
16:05 marcus since it's directly matching the actual command I use.
16:06 sri Mojolicious::Command::Fastcgi or Mojolicious::Command::fastcgi
16:06 marcus no time to wait
16:06 marcus sri: same answer
16:06 sri interesting
16:06 elb0w Mojolicious::Command::FastCGI imo
16:07 sri elb0w: i don't see how that would be possible
16:07 elb0w I was just talking about what looks nice
16:07 elb0w haha
16:07 sri elb0w: but feel free to explain
16:07 elb0w Not sure what you are doing so I cannot comment
16:08 sri but you did comment
16:08 elb0w I was a wise ass
16:08 * sri pushes elb0w into the alligator pit
16:08 elb0w I comment much contribute minimal
16:09 xaka can timeout in useragent be the reason of "premature connection close"?
16:09 * marty waves
16:09 elb0w Are you forcing the name convention like you did for plugin?
16:10 sri not much to force
16:10 sri there are like 2 non-core commands on cpan :)
16:11 elb0w why dont you allow them to name it however they want as long as the first letter is uppercase
16:11 elb0w And only force it if its lowercase
16:11 elb0w then you could do AnyTHING
16:11 sri because that doesn't work
16:12 elb0w I dont know enough about the internals
16:13 sri i'm just reviewing the existing commands on cpan to see what we can do
16:13 sri the first is actually already broken and has not been updated since february 2010
16:14 sri yes, we have only 2 up to date commands on cpan
16:15 sri one from alnewkirk and one from und3f
16:15 sri that rules out drastical changes
16:18 random left #mojo
16:21 xaka how can i disable keep-alive for lite app?
16:24 clintongormley joined #mojo
16:25 clintongormley cosimo: you around?
16:25 marcus hey clinton.
16:25 purl i heard clinton was no longer relevant. or a horrible choice
16:25 clintongormley hiya marcus
16:25 marcus ouch, bad factoid :)
16:25 marcus purl: forget clinton
16:25 purl marcus: I forgot clinton
16:25 clintongormley purl: you're an arse
16:25 purl clintongormley: i'm not following you...
16:26 clintongormley :)
16:26 marcus clinton: How did it go with your wallet?
16:26 clintongormley baaah - no luck
16:26 clintongormley had to cancel the holiday
16:26 marcus :(
16:26 marcus so sorry to hear that
16:26 clintongormley yeah well, i shouldn't have drunk so much ;)
16:27 marcus or done what I did, and left the wallet at the hotel :)
16:28 clintongormley indeed
16:28 clintongormley smart
16:28 marcus finally learning from previous mistakes :)
16:29 clintongormley yeah, then you get to a certain age when you forget all those lessons again
16:29 marcus otoh, I left my kindle at the norwegian checkin desk, so I had to go through security twice yesterday on my way home.
16:29 clintongormley heh yeah
16:30 marcus clintongormley: guess cosimo isn't online. I suppose this is about the i18n patch?
16:30 clintongormley yes
16:31 clintongormley i just wondered if it can ever be used filter style, eg [% 'translate me ' | c.l %]
16:31 marcus clintongormley: it's for https://metacpan.org/module​/Mojolicious::Plugin::I18N . I don't think you can use that as a filter
16:31 clintongormley ok cool
16:31 clintongormley that's fine then
16:32 clintongormley just wondered if the patch was complete, or if it needed that added
16:32 clintongormley i'll release a new version
16:32 * sri wonders what it would take for it to work as a filter
16:32 clintongormley sri:  not much
16:32 purl same here, dude
16:32 clintongormley hang on a sec
16:32 sri c.l('lalala') is basically just $c->l('lalala')
16:33 clintongormley dynamic_filters => {
16:33 clintongormley l => sub {
16:33 clintongormley my ( $context, @args ) = @_;
16:33 clintongormley return sub { _( shift @_, @args ) }
16:33 clintongormley },
16:34 sri no pasting please :(
16:34 * sri kills a kitten
16:34 clintongormley :)
16:34 clintongormley it was short :)
16:34 sri so it's something special in TT
16:34 sri guess we won't have that then
16:34 clintongormley yes, you have to specify it as a dynamic filter
16:35 clintongormley btw, rafl  mentioned that there is some warning in L::M::L
16:35 clintongormley i've never seen it
16:35 clintongormley anybody have any idea?
16:37 preflex_ joined #mojo
16:41 xaka sri: when connection timeout happens on client side (default is 15), it still says "premature connection close", would it be possible to detail an error with information that it was closed by timeout and initiated by client side, not server?
16:42 cosimo clintongormley: hei
16:42 xaka i really want to know who closed connection - server or client (timeout)
16:42 clintongormley heya cosimo - thanks for the patch
16:43 clintongormley my question has been answered already
16:43 clintongormley i'll get a new release out, probably tomorrow
16:43 cosimo actually I wondered if the filter version worked or not...
16:43 clintongormley well, you'd have to support the filter in TT specifically - wouldn't just work as a sub
16:44 cosimo maybe it can be done easily
16:44 cosimo i'll try to have a go at it tonight
16:45 clintongormley cosimo: this is how i do it in TT for 'foo' | l  https://gist.github.com/e5c4fe14b969f2141f2b
16:51 tempire ::FastCgi looks better, I think
16:52 tempire though I never use fastcgi, so it won't affect me at all
16:52 tempire plugin Mount => {'*.mojolicio.us/myapp' => '/home/sri/myapp.pl'}; is super neat
16:53 sri tempire: it's Fastcgi though
16:53 clintongormley left #mojo
16:53 sri think i'll lowercase all commands by default
16:54 tempire oh wait
16:54 tempire yeah, that makes sense.
16:54 tempire I wasn't paying attention to the namespace
17:02 cosimo ... and done, https://github.com/cosimo/locale-maketext-lexicon​/commit/5a61a4a9d06637868a42a30ff97b0f4c003a8e9f
17:04 sri shit
17:05 sri one generator command prevents renaming
17:06 sri Mojolicious::Command::Generate::LiteApp
17:06 sri it would become Mojolicious::Command::generate::lite_app
17:08 xaka hmmmm, i dont like it, looks bad, mixing is always bad
17:11 Eugene joined #mojo
17:15 sri marcus, tempire: gonna stick with what we have now, changing it would hurt too much
17:16 marcus sri: agree
17:16 sri not even sure all lowercase looks better
17:17 sri for plugins it was a much bigger deal
17:20 xaka it isn't so easy to make the patch for improved error message when timeout happens on client side, because there is nothing, only "close" flag, hm...
17:21 crab when i have: $pending->get('/(:cert).(:ext)', ext => qr/pdf|jpg/)->to(...)
17:21 crab how come ./app routes prints:
17:21 crab +/(:cert).(:ext)  GET       certext            (?-xism:^/([^\/\.]+)\.([^\/\.]+))
17:21 crab (note that the "pdf|jpg" thing is not shown)
17:21 stephan48 validated later i guess
17:22 sri it wouldn't work in the first place
17:22 stephan48 oh
17:22 stephan48 syntax ok?
17:22 sri but i'm not sure why the regex doesn't contain the alternatives
17:22 crab stephan48: but shortly afterwards i have another route which is printed as:
17:22 crab +/(:noc_id).(:ext)      *         noc_idext          (?-xism:^/((?-xism:[1-9][0-​9]*))\.((?-xism:pdf|jpg)))
17:22 sri ext has no chance
17:23 sri or actually i'm just guessing
17:23 crab how come no chance?
17:23 stephan48 show more code?
17:24 crab i made a throwaway new lite-app where i replaced /welcome with /(:a).(:b) and showing "$a:$b" in the template shows the right values for /xyz.pqr etc.
17:24 sri yea, i'm wrong
17:25 sri wrong mindset… need to get back to command hacking
17:29 crab hmm. very interesting.
17:29 purl very interesting. is probably that a quote?
17:30 crab i guess i can't ->get('/(:cert).(:ext)', ...), i have to ->route('/...', ...)->via('get')
17:30 crab is that expected/good behaviour?
17:30 sri haha, of course
17:30 sri i missed the get bit
17:31 sri get is exactly the same as in lite
17:31 sri with […] for custom regex
17:32 crab ok. silly me.
17:32 crab but by coincidence, this was the only place where i have used get with a placeholder restriction
17:38 GitHub48 joined #mojo
17:38 GitHub48 [mojo] kraih pushed 1 new commit to master: http://bit.ly/pQ6P5x
17:38 GitHub48 [mojo/master] cleanup - Sebastian Riedel
17:38 GitHub48 left #mojo
17:51 crab hm. what was the rationale to change EplRenderer -> EPLRenderer (plus all the other similar names)?
17:51 sri more natural
17:52 sri TtRenderer vs TTRenderer
17:52 sri plugin 'TTRenderer'; is a lot easier to grok than plugin 'tt_renderer';
17:52 sri which matter if we want to encourage users to release more modules
17:53 sri *+s
17:53 crab grok in the sense of figuring out which module that statement will load?
17:54 Eugene joined #mojo
17:54 crab i see. that makes sense.
17:55 crab but it's very strange to read the new names (for me personally, because i spent many years in C++ learning to overcome my tendency to want to keep acronyms like IMAP in uppercase while naming classes. ImapClient rather than IMAPClient, etc.)
17:57 tabbi joined #mojo
17:57 tabbi left #mojo
18:10 GabrielVieira2 joined #mojo
18:12 Firkin left #mojo
18:38 Kulag joined #mojo
18:55 dekimsey joined #mojo
18:58 Drossel joined #mojo
19:14 sri https://github.com/kraih/mojo/pull/202 # if you're submitting a patch, please don't ever leave the description field empty
19:29 Kulag joined #mojo
19:34 sri looks like webos is pretty much dead
19:40 Foxcool joined #mojo
19:44 Drossel joined #mojo
19:44 Foxcool_ joined #mojo
19:44 kmx joined #mojo
19:57 alnewkirk https://github.com/kraih/mojo/pull/202 <- those avatars look like they could be related
20:00 noganex joined #mojo
20:03 marcus sri: le sigh
20:05 Foxcool joined #mojo
20:06 marcus sri: going to germany tomorrow btw :)
20:07 marcus sri: http://www.wiesbaden.de/en/tourism/events/twelve-​fabulous-reasons/rheingau-wine-festival-2011.php
20:08 Foxcool joined #mojo
20:10 tempire marcus: watch out for sri in his biological form
20:10 tempire http://images.wikia.com/tmnt/images/8/8a/Krang.jpg
20:11 sri how did you find out?!
20:12 sri marcus: not the best weather for a wine festival
20:13 marcus sri: supposed to be 23 degrees c on saturday
20:13 marcus sri: 28 on sunday
20:14 sri at least until tomorrow there will be thunderstorms all over germany
20:15 marcus sri: rest of the weekend is supposed to be sunny tho
20:16 marcus anyways, I don't sitting under a roof drinking wine and watching the rain either
20:17 sri sure, but you would still be drinking wine...
20:17 * sri is not a fan
20:19 marcus I like whites
20:19 marcus which makes germany a good place to visit :)
20:28 elb0w have there been any request per second benchmarks on mojo?
20:29 marcus elb0w: yes. please don't make another
20:29 elb0w lol
20:29 elb0w Have results anywhere?
20:31 marcus elb0w: seriously, why do you care? It's not like the dispatcher is the bottleneck of any real world web application anyways.
20:31 marcus please don't bother with the hello world benchmarks
20:31 sri please don't
20:31 alnewkirk lol
20:31 elb0w I want to take stock market data and serve it to some systems using mojo
20:31 sri i would have to punch you on the nose
20:32 marcus elb0w: yes, so your sql server will be the bottle neck
20:32 elb0w redis
20:32 marcus yes, so your redis queries will be the bottle neck
20:32 sri purl: benchmarks?
20:32 purl benchmarks are like college lab reports....often fudged to achieve the desired results
20:33 marcus elb0w: mojolicious ships with a very fast benchmark btw.
20:33 sri purl: http benchmarks?
20:33 purl sri: i don't know
20:33 sri purl: http benchmarks are http://www.mnot.net/blog/201​1/05/18/http_benchmark_rules
20:33 purl OK, sri.
20:33 sri read that before attempting anything!!!1
20:34 marcus also, there's no published mojolicious benchmark that is anywhere close to that, afaik.
20:36 sri proper benchmarking is really fucking hard, only flawed benchmarks are easy
20:42 sri btw. if you're interested in making mojolicious itself faster the best tool would be Devel::NYTProf
20:42 sri but finding low hanging fruits won't be as easy these days
20:44 sri and of course it wouldn't really make much of a difference for actual apps
20:45 sri but i would hug you instead of punching you on the nose! :D
20:59 * tempire hugs a nose
20:59 Kulag joined #mojo
21:17 sri btw. https://github.com/kraih/mojo/blob​/master/examples/microhttpd.pl#L37
21:17 sri this is what you get when you optimize for hello world :D
21:35 perlrocks Twitter: "Mojo:: DOM really useful for testing, even for non Mojolicious apps using Test:: WWW:: Mechanize perl # # mojo" (de) --fwever http://twitter.com/fwever/​status/104305496231657472
22:02 newbie joined #mojo
23:05 elb0w__ joined #mojo
23:05 elb0w___ joined #mojo
23:24 GitHub97 joined #mojo
23:24 GitHub97 [mojo] kraih pushed 1 new commit to master: http://bit.ly/oXdTTD
23:24 GitHub97 [mojo/master] added experimental size method to Mojo::DOM::Collection - Sebastian Riedel
23:24 GitHub97 left #mojo
23:46 SmokeMachine joined #mojo

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