Camelia, the Perl 6 bug

IRC log for #mojo, 2013-07-19

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

All times shown according to UTC.

Time Nick Message
00:06 jberger__ joined #mojo
00:10 abra joined #mojo
00:41 jberger_ joined #mojo
01:30 d4rkie joined #mojo
01:38 shmuel joined #mojo
03:01 d4rkie joined #mojo
03:07 two_tired joined #mojo
03:08 two_tired Can't locate object method "render_text" via package "Mojolicious::Controller"
03:08 two_tired any ideas?
03:08 two_tired running under Morbo
03:11 asarch joined #mojo
03:11 two_tired has render_text been deprecated?
03:13 two_tired I guess so
03:13 two_tired was this: sub render_text { shift->render(text => @_) }
03:14 jberger__ joined #mojo
03:14 two_tired I'm back in business
03:31 jberger_ joined #mojo
03:38 lukep joined #mojo
04:42 crab two_tired: yes, ->render_blah(...) from 3.x becomes ->render(blah => ...) in 4.x
04:42 crab for text, json, data, etc.
05:15 doby joined #mojo
05:23 mrphilov joined #mojo
05:49 Britzel_ joined #mojo
05:56 Meiermann joined #mojo
05:59 jwang joined #mojo
06:28 yakudza joined #mojo
06:28 Mike-PerlRecruiter_ joined #mojo
06:35 dotandimet joined #mojo
06:42 ver joined #mojo
06:49 dod joined #mojo
06:54 marty joined #mojo
06:57 Vandal joined #mojo
07:10 dod joined #mojo
07:12 dotandimet joined #mojo
07:13 dod joined #mojo
07:22 dod joined #mojo
07:29 logioniz joined #mojo
07:31 trone joined #mojo
07:31 logioniz Hi, i use Mojo::IOLoop->delay. Is there any way to pass parameters between subroutine (callbacks) ?
07:41 logioniz Now i use $self->stash to save params, but it looks like spike-nail
07:44 judofyr joined #mojo
07:54 neonik joined #mojo
07:57 batman logioniz: just pass them along with $delay->begin(0)->(@args);
08:05 rem_lex joined #mojo
08:08 Vandal joined #mojo
08:16 neonik left #mojo
08:21 maxhq joined #mojo
08:25 logioniz thanks, it works.
08:30 batman sweet!
08:42 jzawodn joined #mojo
08:54 prk joined #mojo
08:56 mrphilov joined #mojo
09:06 moltar joined #mojo
09:19 tm joined #mojo
09:19 tm morning
09:20 tm guys, I need help… possibly something trivial but I can't find it in docs
09:21 tm Mojolicious::Plugin::Mongodb - I need to connect to a remote db host that uses authentication but for some reason it doesn't work, I have a simple upsert that works on localhost without auth, doesn't work on remote with auth :-/
09:21 tm let me get the code snippets up
09:27 tm http://pastebin.com/YwJSFkMn is how I use it
09:27 tm any help greatly appreciated
09:32 marty tm:  You may want to consider switching over to mango.    https://github.com/kraih/mango
09:35 tm marty: hmmm looks tasty :) will have a go, nothing to loose and it seems like just what I need - thank you!
10:03 aleksey joined #mojo
10:05 rem_lex|pivo joined #mojo
10:06 cosmincx joined #mojo
10:09 basiliscos joined #mojo
10:27 fhelmber_ joined #mojo
10:43 sri just be aware that mango is still experimental
10:44 basiliscos joined #mojo
11:03 basiliscos joined #mojo
11:12 jpn joined #mojo
11:29 abra joined #mojo
11:43 jberger hmmmm, am I noticing that sri's warnings about mango are getting softer
11:43 jberger :-P
11:43 sri they are
11:43 jberger \o/
11:44 * jberger marks the official driver as experimental :D
11:58 prk joined #mojo
12:14 sri i have no big changes planned for mango anymore, just looking for design mistakes that need fixing now
12:34 jberger__ joined #mojo
12:35 moltar_ joined #mojo
12:45 bowtie_ joined #mojo
12:49 jberger_ joined #mojo
12:55 gryphon joined #mojo
12:59 hrupp_ joined #mojo
13:23 dotandimet joined #mojo
13:32 gryphon_ joined #mojo
13:34 jberger_ joined #mojo
13:36 jberger__ joined #mojo
13:40 nic Upgrading some old code, I had post_form($url, 'UTF-8', $params)
13:40 nic Now that's post($url, form => $params) but I don't know what to do with 'UTF-8'
14:07 bluescreen joined #mojo
14:08 bpmedley_ joined #mojo
15:14 Britzel_ joined #mojo
15:23 asarch joined #mojo
15:25 sh4 joined #mojo
15:27 watchcat joined #mojo
15:35 ryozi joined #mojo
15:41 marvin joined #mojo
15:41 marvin hi guys
15:42 crab and droids?
15:43 marvin could someone point me to the right method in Test Mojo, please? I would like to inercept integer from within the website content and store it in $variable for further processing (calling next tests)
15:44 marvin i have regex for that and i think that i understand how o pass dynamic content from regex to variable
15:44 marvin but i don't know how to pass it from $t->get_ok result
15:45 marvin ... it would be rather $t->post_from_ok
15:45 marvin form*
15:45 crab grovel in $t->tx->res-> to get the value
15:46 marvin okey. thanks.
15:46 crab e.g res->dom->whatever
15:54 marvin damn, it's difficult to debug without print or say..
16:03 bluescreen_ joined #mojo
16:07 moltar joined #mojo
16:12 Britzel joined #mojo
16:14 marvin ah. -v
16:15 marvin thanks for your help crab!
16:22 Adura joined #mojo
16:30 jberger_ joined #mojo
16:36 jberger_ joined #mojo
16:40 sri hmm, seems like nobody uses cpanratings anymore since you can ++ on metacpan
16:43 jberger__ joined #mojo
16:51 crab cpanrantings?
17:16 yakudza joined #mojo
17:30 dod joined #mojo
17:39 bowtie joined #mojo
17:48 bowtie_ joined #mojo
18:00 DaniBunny joined #mojo
18:06 trone joined #mojo
18:12 jberger__ My problem with cpanratings is that you cannot expunge or respond to obsolete comments
18:13 jberger__ See the reviews of m::b
18:14 jberger__ Most of the review are whiney features requests which are looking since added
18:14 jberger__ Long since
18:30 Mike-PerlRecruiter_ joined #mojo
18:31 sri yea, cpanratings is terrible and i wouldn't miss it if it disappeared
18:58 rem_lex| joined #mojo
19:01 asarch joined #mojo
19:03 cooper joined #mojo
19:12 d4rkie joined #mojo
19:41 met joined #mojo
19:48 delias joined #mojo
20:01 marcus___ joined #mojo
20:02 russum joined #mojo
20:05 russum left #mojo
20:28 prk joined #mojo
20:30 Britzel jberger: brief question, please - how is Galileo coming along? Are you still working on it?
20:42 jberger__ Britzel it was on hold while I thought about the design of some new features
20:43 Britzel ah,ok. So I will monitor on githib how it progrsses... thanks
20:43 Britzel github even
20:44 jberger__ That said I'm considering porting away from dbic to a mango dependent one
20:44 Britzel Oh. Ok.
20:45 jberger__ preaction and I are thinking about writing an alien module for mongod
20:50 jberger__ I have a non public project that I'm using to play with design patterns
20:50 Britzel You lost me after "alien module", sorry... :)
20:51 jberger__ Ability to install a mongo daemon from cpan
20:51 Britzel ah, ok...
20:52 jberger__ Galileo's stated goal is to be usable directly from cpan
20:53 Britzel Cool. I was looking at various CMSs written in perl, buzt nothing was really satisfying to me...
20:53 Britzel So I remembered galileo... :)
20:53 jberger__ No root no external non perl deps that cannot be satisfied outside cpan and local lib
20:54 jberger__ Its still rather Spartan
20:54 jberger__ But it does its job
20:54 Britzel ok
20:54 jberger__ Its major lacking feature is file uploads
20:55 jberger__ I recommend linking to pic hosts
20:55 jberger__ Clunky but works
20:55 jberger__ For now
20:56 jberger__ (That's one of the features in design)
20:56 Britzel ok
21:25 rem_lex joined #mojo
21:32 dr joined #mojo
21:33 drift_ joined #mojo
21:46 KindOne joined #mojo
22:16 prk joined #mojo
22:28 DaTa hmm.. render(text => undef) results in 404
22:39 marty I use render(data => '') a lot for ajax requests
22:57 * sri thinks his next project might be a mango based job queue with mojolicious ui
22:58 sri doing some ui design work again could be fun
23:00 sri would also be a pretty nice example app for embedding with model layer
23:32 jberger_ joined #mojo
23:38 * sri likes how kue looks http://learnboost.github.io/kue/
23:40 punter joined #mojo
23:41 punter I need to delete a bunch of files whenever a hypnotoad worker ceases to exist - do I have access to any such hooks?

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