Camelia, the Perl 6 bug

IRC log for #mojo, 2012-09-20

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

All times shown according to UTC.

Time Nick Message
00:03 biz joined #mojo
00:24 vifo joined #mojo
00:45 vifo joined #mojo
00:48 d4rkie joined #mojo
00:48 d4rkie joined #mojo
00:48 laouji joined #mojo
01:08 d4rkie joined #mojo
01:10 biz joined #mojo
01:14 xaka joined #mojo
01:21 vifo joined #mojo
01:23 sri oh my
01:23 sri websocket.t failing on another platform besides os x http://www.cpantesters.org/cpan/report​/e01490e0-02b3-11e2-a9f4-eaef5f66db50
01:23 sri :o
01:25 Adura Needs imptovement.
01:26 sri rwstauner: is that error consistent with cygwin or also very very rare?
01:26 * sri sets Adura on fire
01:26 Adura I shall cygwin on.
01:26 Adura Making sure everything is the latest with cygwin, though.
01:27 sri 5.10.1 is also interesting, i've only seen that error with 5.16.1 so far
01:27 purl okay, sri.
01:27 Adura Latest is 5.14.2-3 to me.
01:29 nicomen joined #mojo
01:34 nic joined #mojo
01:35 * sri has not logged into his perlmonks account in years, but tries to find his password again now just to ++ davido
01:35 rafl joined #mojo
01:46 biz joined #mojo
01:49 l3l1p joined #mojo
01:57 d4rkie joined #mojo
01:59 vifo joined #mojo
02:04 bizb joined #mojo
02:15 memowe joined #mojo
02:33 mire_ joined #mojo
02:33 davido joined #mojo
02:43 noganex_ joined #mojo
02:44 vifo joined #mojo
02:56 Adura Cygwin's perl 5.14.2-3 didn't fail that test, or any test.
03:05 l3l1p joined #mojo
03:07 mike_ joined #mojo
03:11 vifo joined #mojo
03:43 Foxcool joined #mojo
03:49 vel joined #mojo
03:49 inokenty joined #mojo
03:55 vifo joined #mojo
03:56 rwstauner my cygwin is pretty old
03:57 rwstauner i saw recently that cygwin bumped perl from 5.10 to 5.14
03:57 rwstauner well "Recently" as in this year probably
04:20 dross joined #mojo
04:40 vel joined #mojo
04:40 vifo joined #mojo
05:01 l3l1p joined #mojo
05:05 vifo joined #mojo
05:42 vifo joined #mojo
05:46 vishwanathms joined #mojo
05:46 vishwanathms_ joined #mojo
06:38 vishwanathms joined #mojo
06:38 vishwanathms_ joined #mojo
06:42 Vandal joined #mojo
06:56 memowe O HAI! \o/
07:06 davido joined #mojo
07:09 arpadszasz joined #mojo
07:10 fhelmber_ joined #mojo
07:16 arthas_ joined #mojo
07:37 batman joined #mojo
07:38 pau4o joined #mojo
07:43 spleenjack joined #mojo
07:46 Kwa sri++ # educating me about the existence of Resque
08:06 batman joined #mojo
08:06 Britzel joined #mojo
09:02 andrefs joined #mojo
09:13 AmeliePoulain joined #mojo
09:14 ver joined #mojo
09:15 nic diegok++ for bestowing the perl package unto the world
09:16 nic I've just installed redis and monit, so should be trying it out today  \o/
09:20 nic sri: I'm wondering if there's a way we could flag which releases contain security-related changes
09:21 nic If a release is just improving documentation or making minor optimisations then it's of little interest to people tracking security updates
09:21 nic But recently you strengthened the handling of ->param and documented good vs bad usage
09:22 nic so even the docn would qualify it as a security-related update
09:25 nic I know people can/should read the Changes file, but just pondering if we can cheaply provide something more explicit
09:26 nic Maybe just a wiki page that's purely for listing qualifying releases (and why/where they're important)
09:47 arpadszasz joined #mojo
09:52 jamadam joined #mojo
09:52 jamadam left #mojo
10:04 inokenty joined #mojo
10:45 * sri yawns
10:52 Lucas1 joined #mojo
10:57 dpetrov_ joined #mojo
11:16 fhelmber_ joined #mojo
11:17 marcus spawn more sri's!
11:21 dvinciguerra joined #mojo
11:22 fhelmbe__ joined #mojo
11:26 nour how do i change the default cookie name? i get malicious hacking attempt messages because i'm developing more than one app
11:27 inokenty http://mojolicio.us/perldoc/Mojolicious/Sessions
11:28 vervain http://mojolicio.us/perldoc/Mo​jolicious/Sessions#cookie_name
11:28 vervain Ya... what he said. ;-)
11:28 nour cool--other question is whether mojo has built-in somewhere or a plugin exists to detect browser
11:28 nour i.e. parse the request useragent and boil it down to msie/gecko/webkit etc
11:32 fhelmber_ joined #mojo
12:17 rem_lex joined #mojo
12:21 dpetrov_ nour: HTTP::BrowserDetect
12:21 purl HTTP::BrowserDetect is crapping out with stupid errors
12:21 dpetrov_ would probably do what you want
12:34 nour i remember seeing somewhere a way to tell mojo what module to use as the default json encoder/decoder
12:34 nour anyone know?
12:43 mire_ joined #mojo
12:43 Kwa nour: You'd probably need to override the json handler in Mojolicious::Renderer.
12:46 nic diegok: looks like "cpanm Mojolicious::Plugin::Resque" no worky
12:46 nic it barfs on Test-RedisServer-0.11
12:48 sri diegok: see! told you folks would look for a plugin :D
12:48 nic :)
12:49 nic so it was a trap
12:50 nic diegok: The problem was local :P
12:50 * nic learns not to set PERL_CPANM_HOME
13:02 judofyr joined #mojo
13:04 nic wow, didn't know you could point cpanm at github
13:04 nic i guess that's what tempire was saying about making a tarball available
13:04 judofyr sri: I wish ->route accepted a stash parameter: my $u = $r->route('/users' => 'users'); $u->get->to('#show');
13:05 sri judofyr: wat?
13:05 purl Watt?  Watt?  I can't hear you, there's this buzzing noise where my brain should be.
13:06 sri nic: we use that to make cpanm http://latest.mojolicio.us work
13:06 judofyr sri: the second parameter to ->route is a (partial) stash value which sets controller to 'users'
13:07 sri that always installs github master
13:07 nic ah, cool
13:07 sri judofyr: i don't see the gain
13:08 judofyr sri: I often do my $f = $r->route('/foo') to group things; would be nice to avoid typing ->to('controller#action') everywhere
13:08 judofyr and just ->to('#action') instead
13:08 judofyr not a big thing :)
13:09 sri what's wrong with my $foo = $r->route('/foo')->to('controller#');?
13:09 judofyr what works?
13:09 judofyr that*
13:09 sri of course :)
13:09 judofyr I thought ->to sets it as an endpoint too
13:10 sri no, inheriting arbitrary syash data from parents is a core concept of the router
13:10 sri *stash
13:11 sri something becomes an endpoint automatically by having no children
13:12 sri (bridges being a little special)
13:12 judofyr aaaah
13:12 judofyr TIL
13:16 asarch joined #mojo
13:25 crab that usage is even documented somewhere
13:28 inokenty http://mojolicio.us/perldoc/Mojoli​cious/Guides/Routing#Nested_routes
13:31 vel joined #mojo
13:35 vel joined #mojo
13:57 asarch joined #mojo
14:00 vishwanathms joined #mojo
14:00 vishwanathms_ joined #mojo
14:04 vervain Might be nice to add the to('foo#') 'trick' (i.e. in contrast to ( controller => 'foo' ) )to that stanza.
14:05 Jason_ joined #mojo
14:10 d4rkie joined #mojo
14:15 gryphon joined #mojo
14:15 vel joined #mojo
14:26 Leandr joined #mojo
14:26 Britzel_ joined #mojo
14:37 l3l1p joined #mojo
14:39 knshaum joined #mojo
14:46 tolid_air joined #mojo
14:53 nirus joined #mojo
15:05 labrown joined #mojo
15:07 arpadszasz joined #mojo
15:20 judofyr joined #mojo
15:55 xaka joined #mojo
16:03 pau4o left #mojo
16:14 abra joined #mojo
16:23 diegok nic: sweet!. Tell me if you miss something ;-)
16:25 jzawodn joined #mojo
16:29 nour i need something that hooks in after the controller chain has executed but before rendering
16:29 nour what to use
16:29 nour around_dispatch is too late as it's already rendered by end
16:35 inokenty nour: Some time ago there was a hook called 'before_render'. And then was removed because nobody used it. So it you want to do something before rendering you should make a helper e.g. smart_render which will emit the 'before_render' hook and then render your template (like vti did  https://github.com/vti/bootylicious/blob/mas​ter/lib/Bootylicious/Plugin/BootyHelpers.pm)
16:36 inokenty s/So it/So if/
16:37 inokenty And in your controller you will use $self->smart_render(...) instead of $self->render(...)
16:39 nic hi diegok
16:39 diegok hi :)
16:39 nic Just wondering, is there a manual way to monitor jobs if you don't install resque-server?
16:39 diegok you have all the needed methods on Resque class
16:40 nic awesome
16:40 diegok nic: again, tell me if you need something. I think I've implemented everything that make sense to me from original resque
16:41 diegok nic: you can use the resque instance from the plugin to access all the features you need for inspection
16:41 nic It does look good
16:59 vishwanathms joined #mojo
16:59 vishwanathms_ joined #mojo
16:59 dpetrov_ joined #mojo
17:00 Lucas1 joined #mojo
17:34 andrefs joined #mojo
17:41 asarch joined #mojo
17:55 trone joined #mojo
17:57 vel joined #mojo
18:35 Lucas1 joined #mojo
19:08 batman joined #mojo
19:09 Lucas1 joined #mojo
19:25 Lucas1 joined #mojo
19:28 Lucas1 joined #mojo
19:32 Lucas1 joined #mojo
20:02 Jason__ joined #mojo
20:05 dpetrov_ nour: https://metacpan.org/module/Pla​ck::Middleware::BrowserDetector
20:06 xaka joined #mojo
20:45 marcus sri: Maybe mojo should be a github organization?
20:46 sri marcus: i've thought about that too, but what's the gain?
20:46 marcus sri: it would show up our our profile pages as an organization :)
20:48 marcus and you can use teams to control permissions
20:49 marcus I guess moving the repo would require some cleanup tho
20:49 marcus there's some urls out there..
20:50 marcus maybe best to leave it alone
20:51 * sri shrugs
20:52 marcus also, /mojo/mojo would lead to some new confusion :p
20:52 marcus and https://github.com/mojo is taken
20:52 sri well, it's also rails/rails :)
20:52 sri oh
20:52 marcus mo.jo doesn't resolve tho
20:52 marcus weird
20:53 sri last updated 3 years, prolly dead
20:54 marcus mm
20:58 * sri just grabbed the mojolicious name, just in case
21:01 Lucas1 joined #mojo
21:02 sri marcus: now you can have your organization in the profile too :)
21:02 marcus sweet
21:04 marcus sri: it needs a gravatar too :)
21:04 sri hmmm
21:13 davido joined #mojo
21:26 tempire heroku's new interface is awesome
21:35 lukep joined #mojo
21:35 davido_ joined #mojo
21:40 lukep joined #mojo
21:58 batman left #mojo
22:13 rem_lex|pivo joined #mojo
22:29 good_news_everyone joined #mojo
22:29 good_news_everyone [mojo] kraih pushed 1 new commit to master: http://git.io/IQ7tsA
22:29 good_news_everyone [mojo/master] fixed typo in comment - Sebastian Riedel
22:29 good_news_everyone left #mojo
22:40 Averna joined #mojo
23:10 bc547 joined #mojo
23:21 ilbot2 joined #mojo
23:21 Topic for #mojo is now Mojolicious real-time web framework 3.0 🌈 http://mojolicio.us 🌈 http://irclog.perlgeek.de/mojo/today
23:23 memowe joined #mojo

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