Camelia, the Perl 6 bug

IRC log for #mojo, 2013-09-26

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

All times shown according to UTC.

Time Nick Message
00:01 SmokeMachine joined #mojo
00:08 howitdo joined #mojo
00:16 howitdo joined #mojo
00:20 dvinciguerra joined #mojo
01:03 hrupp joined #mojo
01:05 laouji joined #mojo
01:16 SmokeMac_ joined #mojo
01:30 duncanthrax2 joined #mojo
01:58 d4rkie joined #mojo
01:58 d4rkie joined #mojo
01:59 hpekdemir joined #mojo
01:59 hpekdemir hi. how do I use the Mojolicious::Plugin::OAuth2 module in a mojo full app? the example in the doc is for a lite app.
01:59 hpekdemir and I can't figure out how to load the module or use it.
02:02 hpekdemir oh hi mst
02:03 hpekdemir ok guys. I never asked the question above. just ignore it.
02:31 TheCrimsonRadish__ joined #mojo
02:36 TitanOfOld joined #mojo
02:45 gryphon joined #mojo
02:52 btyler joined #mojo
03:12 preflex_ joined #mojo
04:33 dqw6 joined #mojo
05:11 basic6_ joined #mojo
05:56 dotandimet joined #mojo
06:15 dotandimet joined #mojo
06:37 Vandal joined #mojo
06:41 laouji is it possible to embed psgi apps using Mojo::Server::PSGI->load_app ?
06:41 laouji I want to run three interrelated apps from one script and map the urls using Plack::App::URLMap
06:49 dod joined #mojo
06:53 avkhozov joined #mojo
07:01 dotandimet joined #mojo
07:01 dod joined #mojo
07:04 kwa Mornin'
07:25 fhelmber_ joined #mojo
07:29 dod joined #mojo
07:44 dod joined #mojo
07:45 basiliscos joined #mojo
07:48 dod joined #mojo
07:57 themage joined #mojo
07:57 crab good morning.
08:00 mire joined #mojo
08:03 trone joined #mojo
08:04 gtodd joined #mojo
08:34 and joined #mojo
08:46 avkhozov joined #mojo
09:16 mire joined #mojo
09:50 punter joined #mojo
09:51 mire_ joined #mojo
09:59 dotandimet joined #mojo
10:02 dqw6 joined #mojo
10:39 rem_lex| joined #mojo
10:54 Vandal joined #mojo
10:58 dotandimet joined #mojo
11:21 rem_lex|pivo joined #mojo
11:23 ver joined #mojo
11:26 Vandal joined #mojo
11:33 batman jberger: i'm going to fork your repo now to a new namespace. it's a bit difficult to do coop, when you're not around :(
11:34 batman hope we can steal ideas from each other later on
11:34 batman or even better: merge :)
11:34 bowtie_ joined #mojo
11:39 craigwood joined #mojo
12:17 rem_lex joined #mojo
12:20 craigwood joined #mojo
12:42 dod joined #mojo
12:48 dod joined #mojo
13:11 craigwood joined #mojo
13:29 kwa joined #mojo
13:31 moltar joined #mojo
13:34 mire_ joined #mojo
13:48 sh4 joined #mojo
13:55 bluescreen joined #mojo
14:15 btyler joined #mojo
14:17 sh3 joined #mojo
14:27 ryozi joined #mojo
14:34 dqw6 joined #mojo
15:08 gryphon joined #mojo
15:34 gryphon joined #mojo
15:42 dod joined #mojo
16:00 abhishekisnot joined #mojo
16:02 fhelmbe__ joined #mojo
16:07 asarch joined #mojo
16:14 d4rkie joined #mojo
16:31 TheCrimsonRadish__ joined #mojo
16:52 dqw6 joined #mojo
16:58 cfedde joined #mojo
17:05 cfedde How do I get the value of the 'type=' attribute out of the 'command' tag in this XML frag? https://gist.github.com/cfedde/6717131
17:11 rem_lex|pivo joined #mojo
17:12 Dandre hello,
17:13 Dandre I am trying to write a test for my app. I know how to send a get request and test the result.
17:14 Dandre What I want is to retreive a json field value to put in another test
17:14 Dandre How can I do this?
17:21 tholen42 joined #mojo
17:22 go|dfish cfedde: ->at('command')->attr('type')
17:25 batman Dandre: $t->get_ok(...); diag $t->tx->res->json->{foo};
17:26 Dandre ok thanks!
17:26 batman Dandre: $t->tx holds the transaction object of the last request. like $tx = Mojo::UserAgent->new->get(...);
17:27 cfedde go|dfish:DB<10> x $r->at('command')->attr('type') gives me an error: Subroutine type redefined at (eval 423)[/opt/bcv/lib/perl5/site_​perl/5.16.1/Mojo/Base.pm:91] line 2.
17:28 cfedde is this an oddness in the debugger?
17:30 fhelmber_ joined #mojo
17:30 cfedde apparently not.
18:22 basiliscos joined #mojo
18:27 dvinciguerra joined #mojo
18:35 cfedde Here is a regresson test case for this problem.  Can someone tell me what I'm doing wrong? https://gist.github.com/cfedde/6718581
18:57 craigwood left #mojo
18:58 w3ace joined #mojo
19:15 batman jberger: this is what i got now: https://github.com/jhthorsen/mandel
19:17 espent joined #mojo
19:20 cfedde <derp>My problem went away by updating Mojolicious.</derp>
19:22 sri was about to say ->attr in Mojo::DOM is brand new
19:24 cfedde and very nice it is, too.
19:28 robinsmidsrod joined #mojo
19:28 bnft` joined #mojo
19:33 mire_ joined #mojo
19:34 bnft` joined #mojo
19:49 Adura I forget the website that rotates other websites in an iframe.
19:57 marty Bender: trust sri
19:57 Bender marty, I already trust sri
20:04 Lathan joined #mojo
20:05 batman jberger: i'm really not sure about autosave...
20:06 batman it's cool, but it ignores error handling and might result in save when you don't want...
20:19 tempire perlr has been collecting entries since april
20:19 tempire scroll for all the perl blogs!
20:28 Lathan Greetings. Any suggestions on how to debug $self->render('path/to/template') not finding the template file?
20:44 marty Lathan:  Have you looked at your log file?
20:44 Lathan yes
20:44 Lathan it just says rendering inline template
20:45 Lathan I'm adding smart comments into Mojolicious::Renderer to debug, atm
20:51 marty To debug I would reduce the test to a simple app with a single route and single template.  Make sure you are running in development mode using morbo and monitor the log file.
20:59 btyler joined #mojo
21:00 rem_lex| joined #mojo
21:03 sri oh, the new limechat for ios7 is nice
21:20 spacechicken joined #mojo
21:31 chansen sri: I haven't dared to upgrade iphone or ipad yet, should I?
21:34 lukep joined #mojo
21:45 Lathan left #mojo
22:05 sri chansen: i'd say yes
22:06 Adura It makes it waterproof, supposedly.
22:09 cfedde is there a way to pretty print the results of ->to_xml?
22:44 jamesw joined #mojo
22:48 btyler joined #mojo
23:02 Gedge_ joined #mojo
23:05 sri kwa: confgurability is not a goal for the validator, making it pluggable is, nothing is keeoing you from making a plugin that adds configuration
23:06 sri in fact, i'd say not having configuration is a goal as well
23:18 jberger batman, looking
23:19 jberger sorry I've been inundated lately
23:19 batman jberger: it's pretty much useless at this time :/
23:19 batman i've made too many changes
23:20 jberger hehe
23:20 jberger and yeah, Types is maybe a bad name, but Document isn't right either
23:20 batman why not?
23:20 jberger because the document is the underlying data
23:20 jberger the Type is the mapping
23:21 batman i've moved most of the mapping over to ::Description
23:21 batman wasn't sure what to call it :/
23:23 batman i've updated the README:https://github.com/jhthorsen/mandel
23:25 batman forgot to add has_many/has_one doc
23:29 jberger batman, I just sent you a link to my use case
23:29 jberger as I said before, its semi-private
23:30 jberger but for now, you can look at it to see how I'm using things
23:36 batman jberger: i need to get some sleep now
23:36 batman 1:30am :/
23:36 batman but any comments on https://github.com/jhthorsen/mandel are more than welcome
23:36 jberger indeed, I'll need plenty tonight too
23:36 jberger I'm reading it now
23:37 batman ...except: "it's not blocking" ;)
23:37 batman sweet
23:37 batman haven't gotten to unittesting yet.
23:37 batman just finished getting it the way i wanted...
23:37 batman (at least for now)
23:37 batman need to get feedback before settling on anything
23:43 dqw6 joined #mojo
23:58 abhishekisnot1 joined #mojo

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